/* ============================================================
   Ashutosh Pandey — "notes from the field"
   Shared design system. Linked by every page.
   Edit a token or component here once; it applies site-wide.
   ============================================================ */

:root {
  --paper: #f6f1e8;          /* warm cream paper */
  --paper-deep: #ede6d6;     /* slightly darker for subtle backgrounds */
  --ink: #1f1c18;            /* near-black, warm */
  --ink-soft: #3a3530;
  --ink-muted: #6b645b;
  --rule: #c9bfae;           /* subtle dividers */
  --accent: #8a6d3b;         /* muted ochre — single restrained accent */
  --accent-soft: #b89968;
  --link: #5b4a2f;           /* link color — dark ochre */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0.01em; }

/* ============ MASTHEAD ============ */
.masthead { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.masthead-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 48px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 40px;
}
.masthead-name {
  font-family: 'EB Garamond', serif; font-size: 21px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--ink); text-decoration: none;
}
.masthead-name em { font-style: italic; font-weight: 400; color: var(--ink-muted); margin-left: 2px; }
.masthead-nav { display: flex; gap: 36px; }
.masthead-nav a {
  font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-soft); text-decoration: none; text-transform: lowercase;
  font-weight: 400; transition: color 0.2s; position: relative;
}
.masthead-nav a:hover { color: var(--accent); }
.masthead-nav a.active { color: var(--ink); font-weight: 500; }
.masthead-nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: 1180px; margin: 0 auto; padding: 28px 48px 0;
  font-family: 'Inter', sans-serif; font-size: 12px; color: var(--ink-muted); letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.2s; }
.breadcrumb a:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }
.breadcrumb .sep { margin: 0 10px; color: var(--rule); }

/* ============ PAGE LAYOUT ============
   Default: two-column with a 280px sidebar (about, case studies).
   .page.flow   -> single, narrower column (home, case-study index).
   .page.tight  -> reduced top padding for pages that have a breadcrumb. */
.page {
  max-width: 1180px; margin: 0 auto; padding: 80px 48px 120px;
  display: grid; grid-template-columns: 1fr 280px; gap: 100px;
}
.page.flow { max-width: 1080px; display: block; }
.page.tight { padding-top: 48px; }
.main { max-width: 680px; }

/* ============ PAGE HEADER ============ */
.section-label {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.page-title {
  font-family: 'EB Garamond', serif; font-size: 48px; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 18px;
}
.page-title.xl { font-size: 52px; line-height: 1.08; }
.page-title em { font-style: italic; color: var(--accent); }

.page-deck {
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 22px;
  line-height: 1.5; color: var(--ink-soft); margin-bottom: 36px; font-weight: 400;
}
.page-subtitle {
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 22px;
  line-height: 1.5; color: var(--ink-soft); margin-bottom: 16px; max-width: 720px; font-weight: 400;
}
.intro-prose { font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 680px; margin-bottom: 56px; }
.intro-prose p { margin-bottom: 16px; }
.intro-prose p:last-child { margin-bottom: 0; }

/* ============ META BAR ============ */
.meta-bar {
  display: flex; gap: 40px; padding: 18px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 48px; flex-wrap: wrap;
}
.meta-bar-item { display: flex; flex-direction: column; gap: 4px; }
.meta-bar-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted);
}
.meta-bar-value { font-family: 'EB Garamond', serif; font-size: 16px; color: var(--ink); font-style: italic; }

/* ============ PROSE ============ */
.prose p { font-size: 19px; line-height: 1.72; color: var(--ink); margin-bottom: 22px; }
.prose p.lead { font-size: 22px; line-height: 1.55; color: var(--ink); font-style: italic; margin-bottom: 32px; font-weight: 400; }
.prose .lead::first-letter {
  font-family: 'EB Garamond', serif; font-size: 64px; font-weight: 500; float: left;
  line-height: 0.9; margin: 8px 10px -4px 0; color: var(--accent); font-style: normal;
}
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }
.prose a {
  color: var(--link); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: var(--accent-soft);
}
.prose a:hover { text-decoration-color: var(--accent); }
.prose h2 {
  font-family: 'EB Garamond', serif; font-size: 30px; font-weight: 500; line-height: 1.2;
  color: var(--ink); margin: 60px 0 18px; letter-spacing: -0.01em;
}
.prose h2 em { font-style: italic; color: var(--accent); }
.prose h2::before { content: ''; display: block; width: 48px; height: 1px; background: var(--accent); margin-bottom: 28px; }
.prose h3 {
  font-family: 'EB Garamond', serif; font-size: 22px; font-weight: 500;
  line-height: 1.3; color: var(--ink); margin: 40px 0 14px; font-style: italic;
}
.prose code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; background: var(--paper-deep); padding: 1px 6px; border-radius: 2px;
}

/* ============ PHASE BLOCKS ============ */
.phase { margin: 28px 0; padding: 24px 0 24px 28px; border-left: 2px solid var(--accent-soft); }
.phase-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.phase-title {
  font-family: 'EB Garamond', serif; font-size: 22px; font-weight: 500; color: var(--ink);
  margin-bottom: 10px; line-height: 1.3; font-style: italic;
}
.phase p { font-size: 18px; margin-bottom: 12px; }
.phase p:last-child { margin-bottom: 0; }

/* ============ PULL QUOTE ============ */
.pullquote {
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 24px; line-height: 1.45;
  color: var(--ink); border-left: 2px solid var(--accent); padding: 8px 0 8px 28px; margin: 36px 0; font-weight: 400;
}
.pullquote-attr {
  display: block; margin-top: 14px; font-family: 'Inter', sans-serif; font-style: normal;
  font-size: 12px; letter-spacing: 0.1em; color: var(--ink-muted); text-transform: uppercase;
}

/* ============ HIGHLIGHT BOX ============ */
.highlight-box { background: var(--paper-deep); border: 1px solid var(--rule); padding: 32px 36px; margin: 32px 0; }
.highlight-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.highlight-list { list-style: none; }
.highlight-list li {
  font-family: 'EB Garamond', serif; font-size: 17px; line-height: 1.6; color: var(--ink);
  padding: 9px 0; border-bottom: 1px dotted var(--rule); display: grid; grid-template-columns: 180px 1fr; gap: 20px;
}
.highlight-list li:last-child { border-bottom: none; }
.highlight-list li strong {
  font-weight: 500; color: var(--ink); font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px;
}

/* ============ OUTCOME METRICS ============ */
.outcomes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.outcome { padding: 24px 20px; border-right: 1px solid var(--rule); text-align: center; }
.outcome:last-child { border-right: none; }
.outcome-value { font-family: 'EB Garamond', serif; font-size: 36px; font-weight: 500; color: var(--ink); line-height: 1.05; margin-bottom: 6px; }
.outcome-value em { font-style: italic; color: var(--accent); }
.outcome-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); line-height: 1.4;
}

/* ============ LESSONS LIST ============ */
.lessons { margin: 28px 0; counter-reset: lesson; }
.lesson { padding: 22px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 50px 1fr; gap: 20px; align-items: start; }
.lesson:last-child { border-bottom: 1px solid var(--rule); }
.lesson-num { font-family: 'EB Garamond', serif; font-size: 20px; font-style: italic; color: var(--accent); counter-increment: lesson; }
.lesson-num::before { content: counter(lesson, decimal-leading-zero); }
.lesson-text { font-family: 'EB Garamond', serif; font-size: 18px; line-height: 1.55; color: var(--ink); }
.lesson-text strong { font-weight: 600; font-style: italic; color: var(--ink); }

/* ============ BELIEFS LIST ============ */
.beliefs { margin: 36px 0; counter-reset: belief; }
.belief { padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; }
.belief:last-child { border-bottom: 1px solid var(--rule); }
.belief-num { font-family: 'EB Garamond', serif; font-size: 22px; font-style: italic; color: var(--accent); counter-increment: belief; }
.belief-num::before { content: counter(belief, decimal-leading-zero); }
.belief-text { font-family: 'EB Garamond', serif; font-size: 19px; line-height: 1.55; color: var(--ink); font-style: italic; }
.belief-text em { font-style: normal; }

/* ============ ANNOTATION ============ */
.annotation {
  font-size: 15px; line-height: 1.6; color: var(--ink-muted); font-style: italic;
  margin: 28px 0; padding-left: 20px; border-left: 1px solid var(--rule);
}

/* ============ SIDEBAR ============ */
.sidebar { font-family: 'Inter', sans-serif; font-size: 14px; }
.sidebar-block { margin-bottom: 48px; }
.sidebar-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  font-family: 'EB Garamond', serif; font-size: 15px; color: var(--ink-soft);
  padding: 8px 0; line-height: 1.5; border-bottom: 1px dotted var(--rule);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li strong { font-weight: 500; color: var(--ink); }
.sidebar-list li em { font-style: italic; font-size: 13px; color: var(--ink-muted); display: block; margin-top: 2px; }
/* compact variant used by case-study sidebars where strong is a small-caps label */
.sidebar-list.labelled li strong {
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; display: block; margin-bottom: 3px;
}

/* ============ CHRONOLOGY (about) ============ */
.chrono-entry { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.chrono-entry:last-child { border-bottom: none; }
.chrono-dates {
  font-family: 'Inter', sans-serif; font-size: 11px; font-variant-numeric: tabular-nums;
  color: var(--ink-muted); letter-spacing: 0.05em; margin-bottom: 4px;
}
.chrono-role { font-family: 'EB Garamond', serif; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.chrono-org { font-family: 'EB Garamond', serif; font-size: 14px; font-style: italic; color: var(--ink-muted); line-height: 1.3; }

/* ============ CONNECT LIST (about) ============ */
.connect-list { list-style: none; }
.connect-list li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.connect-list li:last-child { border-bottom: none; }
.connect-list a {
  font-family: 'EB Garamond', serif; font-size: 15px; color: var(--link); text-decoration: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.connect-list .label {
  font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 500;
}
.connect-list .value { color: var(--link); text-align: right; word-break: break-word; }
.connect-list a:hover .value { color: var(--accent); }

/* ============ OTHER CASE STUDIES (sidebar) ============ */
.other-cases-block { border-top: 2px solid var(--accent); padding-top: 20px; }
.other-case { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.other-case:last-child { border-bottom: none; }
.other-case a { text-decoration: none; color: var(--ink); transition: color 0.2s; }
.other-case a:hover .other-case-title { color: var(--accent); }
.other-case-num { font-family: 'EB Garamond', serif; font-style: italic; font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.other-case-title { font-family: 'EB Garamond', serif; font-size: 15px; line-height: 1.4; color: var(--ink); transition: color 0.2s; }

/* ============ CASE STUDY INDEX CARDS ============ */
.cases { margin-top: 16px; }
.case { display: grid; grid-template-columns: 110px 1fr; gap: 36px; padding: 56px 0; border-top: 1px solid var(--rule); align-items: start; }
.case:last-of-type { border-bottom: 1px solid var(--rule); }
.case-number { font-family: 'EB Garamond', serif; font-size: 64px; font-style: italic; color: var(--accent); line-height: 1; font-weight: 500; }
.case-meta-tag {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-muted); margin-top: 18px; line-height: 1.5;
}
.case-body { max-width: 720px; }
.case-title { font-family: 'EB Garamond', serif; font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.case-title em { font-style: italic; color: var(--accent); }
.case-title a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.case-title a:hover { border-bottom-color: var(--accent); }
.case-client { font-family: 'EB Garamond', serif; font-style: italic; font-size: 17px; color: var(--ink-muted); margin-bottom: 22px; }
.case-summary { font-size: 18px; line-height: 1.7; color: var(--ink); margin-bottom: 26px; }
.case-metrics { display: flex; gap: 48px; margin: 28px 0 30px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.case-metric { display: flex; flex-direction: column; gap: 4px; }
.case-metric-value { font-family: 'EB Garamond', serif; font-size: 26px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.case-metric-value em { font-style: italic; color: var(--accent); }
.case-metric-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }
.read-link {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--accent-soft); padding-bottom: 4px; transition: all 0.2s;
}
.read-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.read-link::after { content: ' →'; }
.case-placeholder { opacity: 0.65; }
.case-placeholder .case-title { color: var(--ink-muted); }
.case-placeholder .case-summary { color: var(--ink-muted); font-style: italic; }
.case-placeholder-note {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); padding: 4px 12px; border: 1px solid var(--accent-soft);
  display: inline-block; margin-bottom: 18px;
}

/* ============ CLOSING NOTE ============ */
.closing-note { margin-top: 80px; padding: 36px 0 0; max-width: 680px; }
.closing-note p { font-family: 'EB Garamond', serif; font-style: italic; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.closing-note a { color: var(--link); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
.closing-note a:hover { text-decoration-color: var(--accent); }

/* ============ PAGE NAV (prev / next) ============ */
.page-nav { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.page-nav-link {
  font-family: 'EB Garamond', serif; font-size: 17px; font-style: italic; color: var(--link);
  text-decoration: none; border-bottom: 1px solid var(--accent-soft); padding-bottom: 3px; transition: all 0.2s;
}
.page-nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.page-nav-prev::before { content: '← '; }
.page-nav-next::after { content: ' →'; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--rule); padding: 32px 0; margin-top: 80px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 48px; display: flex;
  justify-content: space-between; align-items: baseline; font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; flex-wrap: wrap; gap: 16px;
}
.footer-inner .mono { letter-spacing: 0.1em; }

/* ============ SOLUTIONS DROPDOWN ============ */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > button {
  font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft);
  background: none; border: none; cursor: pointer; padding: 0; text-transform: lowercase; font-weight: 400;
  transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; line-height: inherit;
}
.nav-item-dropdown > button:hover { color: var(--accent); }
.nav-item-dropdown > button.active { color: var(--ink); font-weight: 500; }
.dropdown-chevron {
  width: 9px; height: 9px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease; opacity: 0.7;
}
.nav-item-dropdown.open .dropdown-chevron,
.nav-item-dropdown:hover .dropdown-chevron { transform: rotate(225deg) translateY(-1px) translateX(-1px); }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 360px; background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 12px 32px -10px rgba(31, 28, 24, 0.18), 0 4px 12px -4px rgba(31, 28, 24, 0.08);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 50;
}
.dropdown-panel::before {
  content: ''; position: absolute; top: -7px; right: 24px; width: 12px; height: 12px;
  background: var(--paper); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); transform: rotate(45deg);
}
.nav-item-dropdown.open .dropdown-panel,
.nav-item-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item-dropdown::after { content: ''; position: absolute; top: 100%; right: 0; width: 100%; height: 14px; }
.dropdown-panel .dropdown-item,
.dropdown-panel .dropdown-item-name,
.dropdown-panel .dropdown-item-tagline { text-transform: none !important; }
.dropdown-item { display: block; padding: 16px 20px; text-decoration: none; border-radius: 0; transition: background 0.15s; border-bottom: 1px solid var(--rule); }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--paper-deep); }
.dropdown-item-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.dropdown-item-name { font-family: 'EB Garamond', serif; font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.dropdown-item-name em { font-style: italic; }
.dropdown-external { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--accent); opacity: 0.75; flex-shrink: 0; margin-top: 4px; }
.dropdown-item:hover .dropdown-external { opacity: 1; }
.dropdown-item-tagline { font-family: 'EB Garamond', serif; font-style: italic; font-size: 14px; color: var(--ink-muted); line-height: 1.4; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .masthead-inner { padding: 0 24px; flex-wrap: wrap; gap: 16px; }
  .masthead-nav { gap: 20px; flex-wrap: wrap; }
  .breadcrumb { padding: 20px 24px 0; }

  .page { padding: 48px 24px 80px; grid-template-columns: 1fr; gap: 56px; }
  .page.tight { padding-top: 32px; }

  .page-title { font-size: 32px; }
  .page-title.xl { font-size: 36px; }
  .page-deck { font-size: 18px; }
  .page-subtitle { font-size: 18px; }

  .prose p { font-size: 17px; }
  .prose p.lead { font-size: 19px; }

  .meta-bar { gap: 24px; }
  .highlight-list li { grid-template-columns: 1fr; gap: 4px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome { border-right: none; border-bottom: 1px solid var(--rule); }
  .outcome:last-child { border-bottom: none; }

  .belief { grid-template-columns: 40px 1fr; gap: 16px; }
  .belief-text { font-size: 17px; }

  .case { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .case-number { font-size: 48px; }
  .case-meta-tag { margin-top: 0; }
  .case-title { font-size: 26px; }
  .case-summary { font-size: 16px; }
  .case-metrics { flex-direction: column; gap: 18px; }
  .case-metric-value { font-size: 22px; }

  .footer-inner { padding: 0 24px; }
  html { font-size: 16px; }

  /* Dropdown becomes an inline collapsible (no floating overlay) */
  .nav-item-dropdown { width: 100%; }
  .nav-item-dropdown > button { font-size: 13px; }
  .dropdown-panel {
    position: static; opacity: 0; visibility: hidden; max-height: 0; overflow: hidden;
    transform: none; box-shadow: none; border: none; padding: 0; margin-top: 0; width: 100%;
    min-width: 0; background: transparent;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s, margin-top 0.2s ease;
  }
  .nav-item-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; max-height: 600px; margin-top: 10px; border-top: 1px solid var(--rule); }
  .nav-item-dropdown:hover .dropdown-panel { opacity: 0; visibility: hidden; max-height: 0; margin-top: 0; }
  .nav-item-dropdown.open:hover .dropdown-panel { opacity: 1; visibility: visible; max-height: 600px; margin-top: 10px; }
  .dropdown-panel::before { display: none; }
  .nav-item-dropdown::after { display: none; }
  .dropdown-item { padding: 12px 0; }
  .dropdown-item:hover { background: transparent; }
}
