/* Nile Fresh Produce — site styles
   Palette: see rebuild/brand-palette.css. Fonts: Bricolage Grotesque (headings), Hind (text). */

:root {
  --nf-nile: #0072BC;
  --nf-nile-deep: #005A96;
  --nf-indigo: #2B3190;
  --nf-indigo-deep: #1F246E;
  --nf-maize: #E8A317;
  --nf-maize-deep: #CF8F0C;
  --nf-field: #3F6B1E;
  --nf-tomato: #C8341E;
  --nf-paper: #F5F7FA;
  --nf-mist: #E3E9F1;
  --nf-slate: #58607A;
  --nf-ink: #151A33;
  --nf-white: #FFFFFF;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Hind", "Segoe UI", system-ui, sans-serif;

  --max: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nf-white);
  color: var(--nf-ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nf-nile-deep); text-underline-offset: 3px; }
a:hover { color: var(--nf-indigo); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--nf-indigo); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.prose { display: grid; gap: 1.1em; max-width: 66ch; }
.prose.lead p:first-child { font-size: 1.2rem; color: var(--nf-ink); }
.muted { color: var(--nf-slate); }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nf-nile); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--nf-maize); color: var(--nf-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--nf-nile); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.paper { background: var(--nf-paper); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head p { color: var(--nf-slate); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--body); padding: 14px 22px 12px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--nf-maize); color: var(--nf-ink); }
.btn-gold:hover { background: var(--nf-maize-deep); color: var(--nf-ink); }
.btn-blue { background: var(--nf-nile); color: #fff; }
.btn-blue:hover { background: var(--nf-nile-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--nf-indigo); }
.btn-outline { background: transparent; color: var(--nf-indigo); border-color: var(--nf-indigo); }
.btn-outline:hover { background: var(--nf-indigo); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "→"; transition: transform .15s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--nf-mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nf-indigo); }
.brand img { height: 54px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand span small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nf-slate); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a.link, .nav button.link { font: 600 0.95rem var(--body); color: var(--nf-indigo); text-decoration: none; padding: 10px 12px 8px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a.link:hover, .nav button.link:hover { background: var(--nf-paper); color: var(--nf-nile-deep); }
.nav a.link[aria-current="page"], .nav .has-sub.current > button.link { color: var(--nf-nile); box-shadow: inset 0 -3px 0 var(--nf-nile); border-radius: 8px 8px 0 0; }
.has-sub { position: relative; }
.has-sub button.link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--nf-mist); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(21,26,51,.35); display: none; }
.has-sub.open .submenu { display: block; }
@media (hover: hover) and (min-width: 1001px) { .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; } }
.submenu a { display: block; padding: 9px 12px 7px; border-radius: 8px; color: var(--nf-ink); text-decoration: none; font-weight: 500; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--nf-paper); color: var(--nf-nile-deep); }
.nav .btn { margin-left: 10px; padding: 12px 18px 10px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--nf-mist); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--nf-indigo); padding: 0; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header { backdrop-filter: none; background: #fff; }
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; display: none; border-top: 1px solid var(--nf-mist); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.link, .nav button.link { width: 100%; font-size: 1.15rem; padding: 14px 6px 12px; border-bottom: 1px solid var(--nf-mist); border-radius: 0; justify-content: space-between; }
  .nav a.link[aria-current="page"], .nav .has-sub.current > button.link { box-shadow: inset 3px 0 0 var(--nf-nile); padding-left: 14px; border-radius: 0; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand span { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--nf-indigo-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(31,36,110,.94) 0%, rgba(31,36,110,.82) 42%, rgba(31,36,110,.25) 100%); }
.hero .wrap { padding-block: clamp(72px, 12vw, 150px) clamp(64px, 9vw, 120px); display: grid; gap: 22px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--nf-maize); }
.hero p { max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #E4E6F6; }
.hero .eyebrow { color: #A9D4F5; }
.hero .btns { margin-top: 8px; }
.arc { position: absolute; right: -140px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; border: 46px solid var(--nf-nile); opacity: .5; z-index: -1; pointer-events: none; }
.arc::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 24px solid var(--nf-nile); opacity: .7; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--nf-indigo-deep); isolation: isolate; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,36,110,.55), rgba(21,26,51,.85)); }
.page-hero .wrap { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 64px); display: grid; gap: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.page-hero p { color: #E4E6F6; max-width: 60ch; font-size: 1.15rem; }
.crumbs { font-size: 0.9rem; color: #C9CCEE; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #fff; }

/* ---------- Stats band ---------- */
.stats { background: var(--nf-indigo); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: clamp(28px, 4vw, 44px) 20px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 6px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--nf-maize); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.5em; font-weight: 700; margin-left: 4px; color: #fff; letter-spacing: 0; }
.stat span { color: #D9DCF3; font-size: 0.98rem; line-height: 1.4; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .inset { position: absolute; width: 46%; right: -18px; bottom: -28px; border: 6px solid #fff; border-radius: 12px; aspect-ratio: 1; box-shadow: 0 20px 40px -20px rgba(21,26,51,.5); }
.split .prose { gap: 1em; }
.split .btns { margin-top: 10px; }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--nf-ink); color: #fff; text-decoration: none; display: grid; min-height: 300px; isolation: isolate; }
.product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,26,51,0) 35%, rgba(21,26,51,.88) 100%); }
.product:hover img { transform: scale(1.05); }
.product div { align-self: end; padding: 22px; display: grid; gap: 4px; }
.product h3 { color: #fff; font-size: 1.55rem; }
.product span { color: #E4E6F6; font-size: 0.95rem; }
.product .arrow { color: var(--nf-maize); font-weight: 600; margin-top: 6px; display: inline-flex; gap: 6px; }
.product:hover { color: #fff; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--nf-mist); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.pillar .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--nf-paper); color: var(--nf-nile); display: grid; place-items: center; }
.pillar .icon svg { width: 26px; height: 26px; }
.pillar p { color: var(--nf-slate); }

/* ---------- Partner band ---------- */
.band { background: var(--nf-paper); border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.band img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- CTA ---------- */
.cta { background: var(--nf-indigo); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta .wrap { padding-block: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: #D9DCF3; margin-top: 10px; max-width: 52ch; }
.cta .arc { right: -200px; bottom: -380px; opacity: .35; }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.facts { background: var(--nf-paper); border-radius: var(--radius); padding: 26px; display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.facts h3 { font-size: 1.05rem; margin-bottom: 8px; }
.fact { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--nf-mist); }
.fact:first-of-type { border-top: 0; padding-top: 0; }
.fact b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: var(--nf-indigo); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--nf-slate); font-size: 0.95rem; line-height: 1.4; }
.facts .btn { margin-top: 16px; justify-content: center; }
.detail figure { margin: 32px 0 0; }
.detail figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
figcaption { font-size: 0.9rem; color: var(--nf-slate); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 0.85rem; font-weight: 600; color: var(--nf-field); background: #E7F0DF; border-radius: 999px; padding: 4px 12px 2px; }
.more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.more .product { min-height: 180px; }
.more .product h3 { font-size: 1.15rem; }
.more .product div { padding: 16px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--nf-mist); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; align-content: start; }
.person img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; border: 4px solid var(--nf-paper); }
.person h3 { font-size: 1.15rem; }
.person .role { color: var(--nf-nile-deep); font-weight: 600; font-size: 0.92rem; }
.person p { color: var(--nf-slate); font-size: 0.97rem; line-height: 1.55; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv div { border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.mv div:first-child { background: var(--nf-indigo); color: #fff; }
.mv div:first-child h3 { color: var(--nf-maize); }
.mv div:last-child { background: var(--nf-nile); color: #fff; }
.mv div:last-child h3 { color: #fff; }
.mv p { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.25; }

/* ---------- Steps (partnership) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.flow li { counter-increment: step; background: #fff; border: 1px solid var(--nf-mist); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.flow li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--nf-maize); color: var(--nf-ink); font-family: var(--display); font-weight: 800; display: grid; place-items: center; }
.flow p { color: var(--nf-slate); font-size: 0.97rem; }
.package { display: flex; flex-wrap: wrap; gap: 10px; }
.package span { background: #fff; border: 1px solid var(--nf-mist); border-radius: 999px; padding: 8px 16px 6px; font-weight: 600; color: var(--nf-indigo); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 22px; }
.contact-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-item .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--nf-paper); color: var(--nf-nile); display: grid; place-items: center; }
.contact-item .icon svg { width: 24px; height: 24px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 1.05rem; }
.form { background: var(--nf-paper); border-radius: 18px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--nf-ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px 10px; border: 1.5px solid #C9D2DF; border-radius: 10px; background: #fff; color: var(--nf-ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nf-nile); box-shadow: 0 0 0 3px rgba(0,114,188,.18); }
.field .error { color: var(--nf-tomato); font-size: 0.88rem; font-weight: 500; }
.field.invalid input, .field.invalid textarea { border-color: var(--nf-tomato); }
.form-note { font-size: 0.9rem; color: var(--nf-slate); }
.form-status { font-weight: 600; color: var(--nf-field); }
.map { margin-top: clamp(40px, 6vw, 64px); border-radius: 18px; overflow: hidden; border: 1px solid var(--nf-mist); aspect-ratio: 21/8; background: var(--nf-paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nf-ink); color: #C3C8DA; font-size: 0.97rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .logo-tile { background: #fff; border-radius: 12px; padding: 10px; width: 108px; }
.foot-brand p { max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--body); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E9ECF5; text-decoration: none; }
.site-footer a:hover { color: var(--nf-maize); text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: #9AA1BA; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .split, .detail, .contact, .band { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .split-media .inset { right: 12px; bottom: -22px; width: 40%; }
  .pillars, .mv { grid-template-columns: minmax(0, 1fr); }
  .facts { position: static; }
  .map { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .products, .more, .flow, .form .row { grid-template-columns: minmax(0, 1fr); }
  .stats .wrap { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat + .stat { border-top: 1px solid rgba(255,255,255,.14); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .product { min-height: 240px; }
  .more .product { min-height: 150px; }
  .arc { width: 420px; height: 420px; right: -180px; bottom: -220px; border-width: 34px; }
}
.band.white { background: #fff; }

/* ---------- Dark mode (brand guide "After dark" palette) ----------
   Follows the visitor's device setting. Indigo bands, the hero, stats, CTA and
   footer keep their fixed brand colours; only light surfaces and text swap. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --dk-night: #0E1226;
    --dk-surface: #181D38;
    --dk-surface-low: #12172E;
    --dk-line: #2A3054;
    --dk-moon: #E9ECF5;
    --dk-dusk: #A3AAC2;
    --dk-nile: #4FA8E8;
    --dk-indigo: #8F96E8;
    --dk-field: #8CBF5A;
    --dk-error: #F6B3A8;
  }
  body { background: var(--dk-night); color: var(--dk-moon); }
  a { color: var(--dk-nile); }
  a:hover { color: var(--dk-moon); }
  h1, h2, h3, h4 { color: var(--dk-indigo); }
  .prose.lead p:first-child, .field label { color: var(--dk-moon); }
  .muted, .section-head p, .pillar p, .person p, .flow p, .fact span, figcaption, .form-note { color: var(--dk-dusk); }
  .eyebrow { color: var(--dk-nile); }
  :focus-visible { outline-color: var(--dk-nile); }

  .btn-blue { background: var(--dk-nile); color: var(--dk-night); }
  .btn-blue:hover { background: var(--dk-moon); color: var(--dk-night); }
  .btn-outline { color: var(--dk-moon); border-color: var(--dk-indigo); }
  .btn-outline:hover { background: var(--dk-indigo); color: var(--dk-night); }

  .site-header { background: rgba(14,18,38,.94); border-bottom-color: var(--dk-line); }
  .brand { color: var(--dk-moon); }
  .brand img { background: #fff; border-radius: 10px; padding: 4px 6px; }
  .brand span small { color: var(--dk-dusk); }
  .nav a.link, .nav button.link { color: var(--dk-moon); }
  .nav a.link:hover, .nav button.link:hover { background: var(--dk-surface); color: var(--dk-moon); }
  .nav a.link[aria-current="page"], .nav .has-sub.current > button.link { color: var(--dk-nile); box-shadow: inset 0 -3px 0 var(--dk-nile); }
  .submenu { background: var(--dk-surface); border-color: var(--dk-line); }
  .submenu a { color: var(--dk-moon); }
  .submenu a:hover, .submenu a[aria-current="page"] { background: var(--dk-night); color: var(--dk-nile); }
  .menu-toggle { border-color: var(--dk-line); color: var(--dk-moon); }

  .section.paper { background: var(--dk-surface-low); }
  .pillar, .person, .flow li, .package span, .band.white { background: var(--dk-surface); border-color: var(--dk-line); }
  .band { background: var(--dk-surface); }
  .package span { color: var(--dk-moon); }
  .pillar .icon, .contact-item .icon { background: var(--dk-night); color: var(--dk-nile); }
  .person img { border-color: var(--dk-line); }
  .person .role { color: var(--dk-nile); }
  .split-media .inset { border-color: var(--dk-night); }
  .facts { background: var(--dk-surface); }
  .fact { border-top-color: var(--dk-line); }
  .fact b { color: var(--dk-moon); }
  .chip { color: var(--dk-field); background: #22381A; }

  .form { background: var(--dk-surface); }
  .field input, .field select, .field textarea { background: var(--dk-night); color: var(--dk-moon); border-color: #3A4170; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dk-nile); box-shadow: 0 0 0 3px rgba(79,168,232,.25); }
  .field .error { color: var(--dk-error); }
  .field.invalid input, .field.invalid textarea { border-color: var(--dk-error); }
  .form-status { color: var(--dk-field); }
  .map { border-color: var(--dk-line); background: var(--dk-surface); }
}
@media (prefers-color-scheme: dark) and (max-width: 1000px) {
  .site-header { background: var(--dk-night); }
  .nav { background: var(--dk-night); border-top-color: var(--dk-line); }
  .nav a.link, .nav button.link { border-bottom-color: var(--dk-line); }
  .nav a.link[aria-current="page"], .nav .has-sub.current > button.link { box-shadow: inset 3px 0 0 var(--dk-nile); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
