/* ============================================================
   THE MISPILLION GROUP - Main Stylesheet
   Mobile-first. IBM Plex Serif + IBM Plex Sans.
   Palette: Navy #1a2744 | Orange #c0622a | Off-white #f5f3ee
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a2744;
  --navy-deep:   #111c33;
  --navy-mid:    #243254;
  --orange:      #c0622a;
  --orange-lt:   #d97a44;
  --off-white:   #f5f3ee;
  --warm-gray:   #e8e4dc;
  --mid-gray:    #6b7280;
  --charcoal:    #2d3748;
  --white:       #ffffff;

  --serif:  'IBM Plex Serif', Georgia, serif;
  --sans:   'IBM Plex Sans', system-ui, sans-serif;
  --mono:   'IBM Plex Mono', monospace;

  --max-w: 1100px;
  --gutter: 1.25rem;
  --radius: 3px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Navigation ── */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--orange);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}

.nav-logo span {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.65rem;
  color: var(--orange-lt);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--orange-lt) !important; text-decoration: none !important; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--navy-deep);
  padding: 1rem var(--gutter) 1.5rem;
}

.nav-mobile.open { display: block; }

.nav-mobile ul { list-style: none; }

.nav-mobile ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }

.nav-mobile ul a {
  display: block;
  padding: 0.7rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-mobile .nav-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nav-mobile { display: none !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-lt);
  border-color: var(--orange-lt);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  text-decoration: none;
}

/* ── Index Ticker (Hero Signature Element) ── */
.index-ticker {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem var(--gutter);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.ticker-inner::-webkit-scrollbar { display: none; }

.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--orange-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-value {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

.ticker-desc {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

.ticker-divider {
  width: 1px;
  height: 1rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem var(--gutter) 3rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 0.85rem;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1.1rem;
  max-width: 780px;
}

.hero-subhead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-fine {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2rem;
  font-style: italic;
}

/* ── Section shells ── */
.section {
  padding: 3.5rem var(--gutter);
}

.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-dark { background: var(--navy-deep); color: var(--white); }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-navy .section-title,
.section-dark .section-title { color: var(--white); }

.section-intro {
  font-size: 1rem;
  color: var(--mid-gray);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.section-navy .section-intro { color: rgba(255,255,255,0.7); }

/* ── Product cards ── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-left: 3px solid var(--orange);
  transition: box-shadow 0.15s;
}

.product-card:hover { box-shadow: 0 4px 16px rgba(26,39,68,0.1); }

.product-card-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.product-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ── Indices teaser ── */
.indices-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 600px) {
  .indices-row { grid-template-columns: repeat(3, 1fr); }
}

.index-card {
  padding: 1.25rem;
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  background: #fff;
}

.index-abbrev {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--orange);
  display: block;
  margin-bottom: 0.3rem;
}

.index-name {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 0.4rem;
}

.index-desc {
  font-size: 0.8rem;
  color: var(--mid-gray);
  line-height: 1.55;
}

/* ── Callout box ── */
.callout {
  border-left: 3px solid var(--orange);
  background: var(--white);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout-navy {
  border-left-color: var(--orange);
  background: rgba(255,255,255,0.05);
}

.callout-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.callout-navy .callout-title { color: var(--white); }

.callout p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

.callout-navy p { color: rgba(255,255,255,0.75); }

/* ── Pricing tables ── */
.pricing-section {
  margin-bottom: 2.5rem;
}

.pricing-section h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--warm-gray);
}

.price-tag {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  margin: 0.5rem 0 0.75rem;
}

.pricing-section p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.pricing-section ul {
  margin: 0.5rem 0 0.75rem 1.1rem;
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

.price-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--mid-gray);
  margin-top: 0.35rem;
}

.bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
  overflow-x: auto;
  display: block;
}

.bulk-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.bulk-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--warm-gray);
  color: var(--charcoal);
  white-space: nowrap;
}

.bulk-table tr:nth-child(even) td { background: rgba(26,39,68,0.03); }

/* ── Which report selector ── */
.selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 600px) {
  .selector-grid { grid-template-columns: 1fr 1fr; }
}

.selector-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: 1rem;
}

.selector-arrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-family: var(--mono);
}

.selector-q {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

.selector-q strong {
  display: block;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* ── Methodology blocks ── */
.method-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 700px) {
  .method-steps { grid-template-columns: repeat(3, 1fr); }
}

.method-step {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  border-top: 3px solid var(--orange);
}

.method-step-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.method-step h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.method-step p {
  font-size: 0.83rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ── Sample tiles ── */
.sample-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 600px) {
  .sample-tiles { grid-template-columns: repeat(3, 1fr); }
}

.sample-tile {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--orange);
}

.sample-tile-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.sample-tile h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.sample-tile p {
  font-size: 0.83rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ── Bio section ── */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .bio-layout { grid-template-columns: 1fr 2fr; }
}

.bio-sidebar {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.bio-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.bio-nickname {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--orange-lt);
  margin-bottom: 1rem;
}

.bio-facts {
  list-style: none;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.85rem;
}

.bio-facts li::before {
  content: '•  ';
  color: var(--orange-lt);
  font-family: var(--mono);
}

.bio-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.25rem 0 0.4rem;
}

.bio-body h3:first-child { margin-top: 0; }

.bio-body p {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.72;
  margin-bottom: 0.6rem;
}

/* ── Contact form ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 560px;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-field select,
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--off-white);
  border: 1.5px solid var(--warm-gray);
  border-radius: var(--radius);
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field .opt-label {
  font-weight: 400;
  color: var(--mid-gray);
  font-style: italic;
}

.form-confirm {
  display: none;
  background: rgba(192,98,42,0.08);
  border-left: 3px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.form-confirm.visible { display: block; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem var(--gutter) 1.75rem;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.3rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-col-title {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* ── Federal page specifics ── */
.federal-range {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.federal-range::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
}

.federal-range-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 0.5rem;
}

.federal-range-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.federal-range p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── Page hero variants ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem var(--gutter) 2rem;
  border-bottom: 3px solid var(--orange);
}

.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.6rem;
  max-width: 680px;
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.65;
}

/* ── Riverbend scenario block ── */
.scenario-block {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--orange);
}

.scenario-block h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.scenario-block p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

/* ── Responsive helpers ── */
@media (max-width: 599px) {
  .hide-mobile { display: none; }
  .section { padding: 2.5rem var(--gutter); }
  .hero { padding: 2.5rem var(--gutter) 2rem; }
}

@media (min-width: 768px) {
  .section { padding: 4rem var(--gutter); }
}

/* ── Focus / accessibility ── */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ── Practice Areas Dropdown ── */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}

.nav-dropdown-btn:hover { color: var(--white); }

.nav-dropdown-caret {
  font-size: 0.65rem;
  transition: transform 0.15s;
}

.nav-dropdown-btn[aria-expanded="true"] .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  background: var(--navy-deep, #0f1a30);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  min-width: 210px;
  list-style: none;
  padding: 0.4rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
}

.nav-dropdown.open { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

.nav-dropdown li a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
