/* American Equatorial Company — site styles */
:root {
  --bg: #ECE6DA;
  --ink: #161410;
  --body: #3B362E;
  --muted: #5E574C;
  --red: #7E2418;
  --hair: rgba(22, 20, 16, 0.2);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* Stone texture */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair);
}
.brand {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 0;
}
.nav { display: flex; flex-wrap: wrap; gap: 36px; font-size: 14px; }
.nav a { padding: 12px 0; transition: color 200ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }

/* Hero */
.hero { padding: 14vh 0 10vh; }
.eyebrow {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 10.4vw, 170px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.display .line { display: block; animation: wipe 1200ms var(--ease) both; }
.display .line:nth-child(1) { animation-delay: 150ms; }
.display .line:nth-child(2) { animation-delay: 330ms; }
.display .line:nth-child(3) { animation-delay: 510ms; }
.display .it {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86em;
  letter-spacing: -0.03em;
}

/* Motion */
@keyframes wipe {
  from { clip-path: inset(0 0 100% 0); transform: translateY(0.18em); }
  to { clip-path: inset(0 0 -10% 0); transform: none; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.fade { animation: fade 900ms var(--ease) both; }
.d1 { animation-delay: 650ms; }
.d2 { animation-delay: 900ms; }
@supports (animation-timeline: view()) {
  .reveal {
    animation: fade linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

/* Facts strip */
.facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); }
.facts > div { flex: 1 1 220px; padding: 20px 24px; border-right: 1px solid var(--hair); }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: 0; }
.label { margin: 0; font-size: 13px; color: var(--muted); }
.value { margin: 2px 0 0; }

/* Sections */
.section { padding: 0 0 160px; }
.section-lg { padding: 200px 0 160px; }
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > .side {
  flex: 0 1 200px;
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.split > .main { flex: 999 1 640px; min-width: 0; }
.statement {
  margin: 0 0 40px;
  max-width: 980px;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.link-under {
  display: inline-block;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--ink);
  transition: color 200ms ease, border-color 200ms ease;
}
.link-under:hover { color: var(--red); border-color: var(--red); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
}
.section-head .side {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.nav-link { padding: 12px 0; font-size: 15px; transition: color 200ms ease; }
.nav-link:hover { color: var(--red); }

/* Practice index rows */
.rows { border-bottom: 1px solid var(--ink); }
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--ink);
  transition: padding-left 400ms var(--ease), color 300ms ease;
}
.row:hover { padding-left: 28px; color: var(--red); }
.row .num { flex: 0 0 72px; font-family: var(--serif); font-size: 15px; color: var(--red); }
.row .name {
  flex: 1 1 420px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.row .who { flex: 0 1 300px; font-size: 15px; color: var(--muted); }
.row .arrow {
  flex: 0 0 24px;
  font-size: 22px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 300ms ease, transform 400ms var(--ease);
}
.row:hover .arrow { opacity: 1; transform: none; }

/* Email */
.mail {
  font-family: var(--display);
  font-size: clamp(28px, 5.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  padding-bottom: 6px;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 500ms var(--ease);
}
.mail:hover { background-size: 100% 2px; }

/* Company */
.lead {
  margin: 56px 0 0 auto;
  max-width: 620px;
  font-size: 21px;
  line-height: 1.55;
}
.tenets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--ink);
}
.tenet { padding: 32px 32px 40px 0; border-right: 1px solid var(--hair); }
.tenet:last-child { border-right: 0; }
.tenet .num { margin: 0 0 64px; font-family: var(--serif); font-size: 15px; color: var(--red); }
.tenet h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.tenet p { margin: 0; max-width: 420px; color: var(--body); line-height: 1.7; }
.cta .cta-text {
  max-width: 680px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: 0;
}
.workflow { margin: 0 0 22px; max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--body); }
.note { margin: 56px 0 0; max-width: 640px; font-size: 18px; line-height: 1.65; color: var(--body); }
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 40px 0 160px;
  border-top: 1px solid var(--ink);
}
.cta p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 50px);
  letter-spacing: -0.015em;
}

/* Practice selector */
.practice { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); }
.tabs {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 48px;
}
.tab {
  display: flex;
  align-items: baseline;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: padding-left 400ms var(--ease), color 300ms ease;
}
.tab:hover { padding-left: 16px; color: var(--red); }
.tab[aria-selected="true"] { color: var(--red); }
.tab-group {
  margin: 36px 0 0;
  padding: 0 0 10px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
.tab-group:first-child { margin-top: 24px; }
.tab .num { flex: 0 0 40px; font-family: var(--serif); font-size: 15px; color: var(--red); }
.tab .name { font-family: var(--display); font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.panel {
  flex: 1 1 480px;
  min-width: 0;
  padding: 40px 0 0 48px;
  border-left: 1px solid var(--ink);
}
.panel.swap { animation: fade 500ms var(--ease) both; }
.panel .big-num {
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: 120px;
  line-height: 0.8;
  color: var(--red);
}
.panel h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.panel .pitch { margin: 0 0 48px; max-width: 580px; font-size: 18px; line-height: 1.65; }
.panel .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.panel .meta > div { flex: 1 1 200px; }
.panel .scope { margin: 0; line-height: 1.75; white-space: pre-line; }

/* Sectors */
.sector {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 64px;
  padding: 48px 0 52px;
  border-top: 1px solid var(--ink);
}
.sector:last-child { border-bottom: 1px solid var(--ink); }
.sector .num { flex: 0 1 200px; margin: 6px 0 0; font-family: var(--serif); font-size: 15px; color: var(--red); }
.sector .body { flex: 999 1 640px; min-width: 0; }
.sector h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.sector .body > p { margin: 0 0 20px; max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--body); }
.sector .related { font-size: 15px !important; color: var(--ink) !important; }
.sector .related .label { display: inline; margin-right: 12px; }
.sector .related a { border-bottom: 1px solid var(--hair); transition: color 200ms ease, border-color 200ms ease; }
.sector .related a:hover { color: var(--red); border-color: var(--red); }

/* Sector grid on Home */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--hair);
}
.sector-grid a {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 24px 30px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  transition: background-color 300ms ease, color 300ms ease;
}
.sector-grid a:hover { background: rgba(126, 36, 24, 0.06); color: var(--red); }
.sector-grid .num { font-family: var(--serif); font-size: 14px; color: var(--red); }
.sector-grid .name { font-family: var(--display); font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }

/* Notes */
.notes-list { border-top: 1px solid var(--ink); }
.note-entry {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 6px 64px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left 400ms var(--ease), color 300ms ease;
}
.note-entry:hover { padding-left: 16px; color: var(--red); }
.note-date { grid-row: span 2; font-family: var(--serif); font-size: 14px; color: var(--muted); padding-top: 8px; }
.note-title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.note-summary { color: var(--body); max-width: 680px; }
.notes-empty { margin: 0; padding: 32px 0 40px; max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--body); }
.link-inline { border-bottom: 1px solid var(--ink); transition: color 200ms ease, border-color 200ms ease; }
.link-inline:hover { color: var(--red); border-color: var(--red); }
.note { padding: 12vh 0 80px; max-width: 760px; }
.note-h1 { margin: 0 0 24px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.note-dek { margin: 0 0 56px; font-size: 21px; line-height: 1.55; color: var(--body); }
.note-body p { font-size: 18px; line-height: 1.75; margin: 0 0 22px; }
.note-body h2 { margin: 48px 0 16px; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -0.01em; }
.note-sign { margin-top: 40px !important; font-family: var(--serif); font-style: italic; color: var(--muted); }
@media (max-width: 760px) { .note-entry { grid-template-columns: 1fr; } .note-date { grid-row: auto; padding-top: 0; } }

/* Services index */
.index-intro { margin: 0 0 56px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--body); }
.svc-group { margin: 0 0 64px; }
.svc-group h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.01em;
}
.svc { margin: 0; border-bottom: 1px solid var(--hair); }
.svc > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
}
.svc dt { flex: 0 1 300px; font-weight: 500; }
.svc dd { flex: 1 1 420px; margin: 0; color: var(--body); }
.row-more .name { font-family: var(--serif); font-style: italic; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer .copy {
  flex: 0 1 280px;
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer .legal { flex: 999 1 520px; margin: 0; max-width: 640px; }

/* Small screens */
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .nav { gap: 24px; }
  .section-lg { padding: 120px 0 100px; }
  .section, .cta { padding-bottom: 100px; }
  .facts > div { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .tenet { border-right: 0; border-bottom: 1px solid var(--hair); padding-right: 0; }
  .tabs { padding-right: 0; }
  .panel { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .panel .big-num { font-size: 88px; }
  .row:hover { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .display .line, .fade, .reveal, .panel.swap { animation: none !important; }
  .row, .tab, .mail { transition: none; }
}

/* ===== Punch pass ===== */
body { overflow-x: hidden; }

/* Section labels: large red numerals */
.split > .side,
.section-head .side {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.eyebrow {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.005em;
}

/* Home hero fills the first screen, facts strip sits at the fold */
.hero-home {
  min-height: calc(100vh - 210px);
  display: flex;
  align-items: flex-end;
  padding: 10vh 0 56px;
}
.hero-home .display { font-size: clamp(56px, 11.5vw, 188px); line-height: 0.9; }
.facts .value { font-family: var(--display); font-size: 19px; line-height: 1.3; }
.hero-home + .facts > div { flex: 1 1 180px; }
.hero-home + .facts > div:nth-child(2) { flex: 1.6 1 260px; }

/* Full-bleed dark bands */
.band-dark,
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(48px, calc((100vw - 1360px) / 2 + 48px));
  padding-right: max(48px, calc((100vw - 1360px) / 2 + 48px));
  background: var(--ink);
  color: #E9E2D4;
}
.band-dark { padding-top: 140px; padding-bottom: 150px; margin-top: 140px; margin-bottom: 160px; }
.band-dark .side { color: #D9735F; }
.band-dark .statement { color: #F1EBDF; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.28; }
.band-dark .link-under { border-color: #E9E2D4; }
.band-dark .link-under:hover { color: #D9735F; border-color: #D9735F; }
.band-close { margin-bottom: 0; }
.band-close .mail { color: #F1EBDF; background-image: linear-gradient(#D9735F, #D9735F); }

/* Footer: dark on every page */
.site-footer { border-top: 1px solid rgba(233, 226, 212, 0.14); padding-top: 36px; padding-bottom: 48px; color: #A79F92; }
.band-close + .site-footer, main + .site-footer { margin-top: 0; }
.site-footer .copy { color: #E9E2D4; }

/* Oversized pull line */
.pull { padding: 40px 0 160px; }
.pull p {
  margin: 0;
  max-width: 1200px;
  font-family: var(--display);
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.pull em { font-family: var(--serif); font-style: italic; color: var(--red); font-size: 0.9em; }

/* Practice rows: a touch more weight */
.row { padding: 30px 0; }
.row .name { font-size: clamp(28px, 3.3vw, 50px); }

@media (max-width: 760px) {
  .band-dark, .site-footer { padding-left: 22px; padding-right: 22px; }
  .band-dark { padding-top: 90px; padding-bottom: 100px; margin-top: 80px; margin-bottom: 100px; }
  .hero-home { min-height: auto; padding-top: 12vh; }
  .pull { padding-bottom: 100px; }
}

/* Company principles: 2 x 2 */
.tenets { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); }
.tenet { padding: 36px 48px 48px 0; border-bottom: 1px solid var(--hair); }
.tenet:nth-child(2n) { border-right: 0; padding-left: 48px; padding-right: 0; }
@media (max-width: 960px) { .tenet:nth-child(2n) { padding-left: 0; } }

/* ===== Top-tier polish ===== */
:root { --bg: #F4F2ED; --card: #ECE8E0; --radius: 18px; }
body { background: var(--bg); }

/* Pinned, translucent header with one clear call to action */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -48px;
  padding: 18px 48px;
  background: rgba(244, 242, 237, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav { align-items: center; }
.nav a:last-child {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: background-color 200ms ease;
}
.nav a:last-child:hover, .nav a:last-child[aria-current="page"] { background: var(--red); color: #fff; }

/* Home hero tightened above the panel */
.hero-home { min-height: 0; display: block; padding: 12vh 0 48px; }

/* Equator panel */
.horizon {
  position: relative;
  height: clamp(280px, 38vw, 520px);
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 120%, #2A2420 0%, #151311 55%, #0E0D0B 100%);
  margin-bottom: 56px;
}
.horizon-grid, .horizon-meridians { position: absolute; inset: -20% -10%; }
.horizon-grid {
  background-image: repeating-linear-gradient(0deg, rgba(233,226,212,0.09) 0 1px, transparent 1px 64px);
  animation: aecDrift 40s linear infinite;
}
.horizon-meridians {
  background-image: repeating-linear-gradient(90deg, rgba(233,226,212,0.07) 0 1px, transparent 1px 96px);
  animation: aecSlide 60s linear infinite;
}
.horizon-equator {
  position: absolute; left: 0; right: 0; top: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D9735F 18%, #F08A73 50%, #D9735F 82%, transparent);
  box-shadow: 0 0 18px 2px rgba(217, 115, 95, 0.55);
}
.horizon-label, .horizon-mark {
  position: absolute; font-family: var(--serif); font-size: 14px; letter-spacing: 0.08em; color: rgba(233,226,212,0.75);
}
.horizon-label { left: 28px; top: calc(54% - 30px); }
.horizon-mark { right: 28px; bottom: 24px; text-transform: uppercase; font-size: 12px; letter-spacing: 0.18em; }
@keyframes aecDrift { from { transform: translateY(0); } to { transform: translateY(64px); } }
@keyframes aecSlide { from { transform: translateX(0); } to { transform: translateX(-96px); } }

/* Facts strip as a contained card */
.facts { border: 0; background: var(--card); border-radius: var(--radius); padding: 4px 28px; }
.facts > div:first-child { padding-left: 0; }

/* Dark bands become rounded panels inside the grid */
.band-dark {
  width: auto;
  margin-left: 0;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 5vw, 72px);
  border-radius: calc(var(--radius) + 6px);
  margin-top: 120px;
  margin-bottom: 140px;
}
.band-close { margin-bottom: 120px; }

/* Sector tiles as cards */
.sector-grid { border: 0; gap: 12px; }
.sector-grid a { border: 0; background: var(--card); border-radius: var(--radius); min-height: 150px; }
.sector-grid a:hover { background: var(--ink); color: var(--bg); }
.sector-grid a:hover .num { color: #D9735F; }

/* Practice selector panel and index as cards */
.panel { background: var(--card); border-left: 0; border-radius: var(--radius); padding: 44px 44px 48px; margin: 24px 0 0 0; }
.practice { border-top: 0; gap: 0 32px; }
.tabs { padding-right: 0; }

/* Footer: rounded top corners */
.site-footer { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }

@media (max-width: 760px) {
  .site-header { margin: 0 -22px; padding: 14px 22px; }
  .nav { gap: 14px; font-size: 13px; }
  .facts { padding: 4px 20px; }
  .panel { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { .horizon-grid, .horizon-meridians { animation: none; } }
.panel { align-self: flex-start; position: sticky; top: 96px; }
@media (max-width: 960px) { .panel { position: static; } }

/* ===== Clean-up pass ===== */
.split > .side { white-space: nowrap; }
.menu-btn { display: none; }
.lang { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.lang:hover { color: var(--red); }
@media (max-width: 760px) {
  .site-header { flex-wrap: nowrap; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    border: 1px solid var(--ink); border-radius: 999px; background: transparent;
    font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 22px 22px; background: var(--bg); border-bottom: 1px solid var(--hair);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 17px; }
  .nav a:last-child { margin-top: 16px; text-align: center; border-bottom: 0; }
  .split > .side { white-space: normal; }
}

/* Footer legal link */
.site-footer .legal a { color: #E9E2D4; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; margin-left: 4px; white-space: nowrap; }
.site-footer .legal a:hover { color: #D9735F; }

/* Legal page: fixed label column so long labels wrap instead of shifting the text */
.split.legal-sec > .side { flex: 0 0 240px; white-space: normal; }
@media (max-width: 760px) { .split.legal-sec > .side { flex-basis: 100%; } }
