/* ═══════════════════════════════════════════════
   Destination Hudson Valley — Base System
   Dark Monument · tokens · reset · type · layout
═══════════════════════════════════════════════ */

:root {
  /* ── Core palette ── */
  --ink: #01040C;
  --ink-soft: #0a0e18;
  --charcoal: #283038;
  --gray: #8E979F;
  --gray-soft: #78818a;
  --porcelain: #E8E4DF;
  --westar: #DDD8D0;
  --hazelnut: #CDA98A;
  --hazelnut-glow: rgba(205, 169, 138, 0.18);

  /* ── Dark Monument — 6-level luminance stack ── */
  --lum-0: #000206;   /* deepest void — page bg */
  --lum-1: #050810;   /* barely there */
  --lum-2: #090d16;   /* section bg */
  --lum-3: #0e121c;   /* elevated section */
  --lum-4: #141822;   /* card surface */
  --lum-5: #1a1f2a;   /* card hover / active */

  /* ── Borders — opacity-driven from porcelain ── */
  --edge-1: rgba(232, 228, 223, 0.04);
  --edge-2: rgba(232, 228, 223, 0.07);
  --edge-3: rgba(232, 228, 223, 0.12);

  /* ── Hazelnut atmospherics ── */
  --hz-glow: rgba(205, 169, 138, 0.05);
  --hz-border: rgba(205, 169, 138, 0.10);
  --hz-border-hot: rgba(205, 169, 138, 0.25);
  --hz-dim: rgba(205, 169, 138, 0.03);

  /* Legacy aliases — for page.css compatibility */
  --divider-dark: var(--edge-3);
  --divider-light: rgba(1, 4, 12, 0.12);
  --card: var(--lum-4);

  /* ── Type ── */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* ── Layout ── */
  --max: 1200px;
  --narrow: 780px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  background: var(--lum-0);
  color: var(--porcelain);
  overflow-x: hidden;
  min-height: 100dvh; min-height: 100vh;
  touch-action: manipulation;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ── Film grain — amplified for Dark Monument ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* ── Typography scale ─────────────────────── */
.serif { font-family: var(--serif); font-weight: 400; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--porcelain);
  font-size: clamp(2.5rem, 7vw, 6rem);
}
.display em { font-style: italic; color: var(--hazelnut); font-weight: 400; }

/* Monument — Bugatti-scale display for hero + stat moments */
.monument {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--hazelnut);
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--porcelain);
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.headline em { font-style: italic; color: var(--hazelnut); }

.lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 52ch;
  line-height: 1.65;
  font-weight: 300;
}
.lead em { font-style: italic; color: var(--porcelain); }

p { max-width: 62ch; color: var(--gray); font-size: 0.95rem; }
p + p { margin-top: 1.2rem; }
p em { font-style: italic; color: var(--porcelain); }
p strong { color: var(--porcelain); font-weight: 500; }

.label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hazelnut);
}

/* ── Layout ────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

section {
  padding: 8rem 0;
  position: relative;
  scroll-margin-top: 6rem;
}
@media (max-width: 720px) { section { padding: 5rem 0; } }

/* ── Section surfaces (luminance stacking) ── */
.lum-1 { background: var(--lum-1); }
.lum-2 { background: var(--lum-2); border-top: 1px solid var(--edge-1); border-bottom: 1px solid var(--edge-1); }
.lum-3 { background: var(--lum-3); border-top: 1px solid var(--edge-2); border-bottom: 1px solid var(--edge-2); }

/* Legacy — remap light/westar to luminance levels */
.light { background: var(--lum-2); border-top: 1px solid var(--edge-1); border-bottom: 1px solid var(--edge-1); }
.light .display, .light .headline, .light .lead { color: var(--porcelain); }
.light .display em, .light .headline em { color: var(--hazelnut); }
.light p { color: var(--gray); }
.light p em { color: var(--porcelain); }
.light .label { color: var(--hazelnut); }

.westar { background: var(--lum-3); border-top: 1px solid var(--edge-2); border-bottom: 1px solid var(--edge-2); }
.westar .display, .westar .headline, .westar .lead { color: var(--porcelain); }
.westar .display em, .westar .headline em { color: var(--hazelnut); }
.westar p { color: var(--gray); }
.westar .label { color: var(--hazelnut); }

/* ── Nav — universal: MENU left, logo center, shop right ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0, 2, 6, 0.88);
  backdrop-filter: saturate(120%) blur(16px);
  -webkit-backdrop-filter: saturate(120%) blur(16px);
  border-bottom-color: var(--edge-1);
}

.nav-logo {
  grid-column: 2;
  justify-self: center;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg {
  height: clamp(34px, 3.2vw, 46px);
  width: auto;
  display: block;
}
/* Team lockup is a two-line stacked-horizontal — needs a touch more height */
.nav-logo--team img, .nav-logo--team svg {
  height: clamp(44px, 4vw, 58px);
}

/* Menu trigger (hamburger + "Menu" label) — left */
.nav-menu-trigger {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: none;
  border: none;
  color: var(--porcelain);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-menu-trigger:hover,
.nav-menu-trigger:focus-visible { color: var(--hazelnut); }
.nav-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 26px;
  height: 16px;
  gap: 6px;
}
.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease;
}
.nav-menu-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: inherit;
}

/* Shop label — right (mirrors .nav-menu-label for editorial symmetry with the menu trigger) */
.nav-shop {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--porcelain);
  opacity: 0.88;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.nav-shop:hover,
.nav-shop:focus-visible { color: var(--hazelnut); opacity: 1; }
.nav-shop-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: inherit;
}

/* Legacy inline nav-links + mobile toggle — replaced by side drawer */
.nav-links,
.nav .nav-toggle:not(.nav-menu-trigger) { display: none !important; }

/* ── Side drawer — opens via nav-menu-trigger ── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.drawer[hidden] { display: none; }
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 2, 6, 0.72);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.drawer.is-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(440px, 92vw);
  background: var(--lum-1);
  border-right: 1px solid var(--edge-3);
  padding: 6rem 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.32, 0.08, 0.24, 1);
  box-shadow: 30px 0 80px -20px rgba(0,0,0,0.6);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--edge-3);
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.65rem 1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.drawer-close:hover,
.drawer-close:focus-visible {
  background: var(--hazelnut);
  color: var(--ink);
  border-color: var(--hazelnut);
}
.drawer-nav { display: flex; flex-direction: column; margin-top: 1rem; }
.drawer-item {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--porcelain);
  padding: 0.95rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--edge-2);
  letter-spacing: -0.005em;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.drawer-item:hover,
.drawer-item:focus-visible { color: var(--hazelnut); padding-left: 0.4rem; }
.drawer-item--accent {
  color: var(--hazelnut);
  font-style: italic;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(205,169,138,0.25);
  border-bottom: 1px solid rgba(205,169,138,0.25);
}
.drawer-item--accent:hover { color: var(--porcelain); }
.drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--edge-2);
}
.drawer-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 32ch;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .drawer-scrim, .drawer-panel { transition: none !important; }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-soft);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--hazelnut);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--hazelnut); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--hazelnut); }
.nav-links a.active::after { width: 100%; }

/* ── Nav dropdown (Services) ─────────────── */
.nav-links .has-dropdown { position: relative; }
.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--edge-2);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links .dropdown li { display: block; }
.nav-links .dropdown a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--porcelain);
  white-space: nowrap;
  border-bottom: 1px solid var(--edge-1);
  transition: color 0.3s ease;
}
.nav-links .dropdown li:last-child a { border-bottom: 0; }
.nav-links .dropdown a:hover { color: var(--hazelnut); }
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a .soon {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gray-soft);
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .nav-links .dropdown {
    position: static; transform: none; background: transparent;
    backdrop-filter: none; border: 0; padding: 0; opacity: 1;
    pointer-events: auto; min-width: 0; margin-top: 0.5rem;
  }
  .nav-links .dropdown a {
    border-bottom: 0; padding: 0.5rem 0; font-size: 0.72rem;
    color: var(--gray); text-align: center;
  }
  .nav-links .dropdown a:hover { background: transparent; }
}

/* ── Structure section (home) ──────────── */
.structure-parent {
  text-align: center; margin: 5rem 0 4rem; position: relative;
  padding: 4rem 0;
  border-top: 1px solid var(--edge-1); border-bottom: 1px solid var(--edge-1);
}
.structure-parent::before {
  content: ''; position: absolute; top: -4rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 3.5rem; background: linear-gradient(to bottom, transparent, var(--hazelnut));
}
.structure-parent::after {
  content: ''; position: absolute; bottom: -4rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 3.5rem; background: linear-gradient(to bottom, var(--hazelnut), transparent);
}
.structure-parent .parent-label {
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--hazelnut); margin-bottom: 1rem;
}
.structure-parent h3 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; font-style: italic; letter-spacing: -0.02em; color: var(--porcelain);
}
.structure-parent p { max-width: 44ch; margin: 1.25rem auto 0; color: var(--gray); font-size: 0.92rem; }

/* Structure children — side-by-side on desktop, stack on mobile */
.structure-children {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 900px) { .structure-children { grid-template-columns: 1fr; } }
.structure-child {
  background: var(--lum-4); padding: 3rem;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start;
  grid-template-rows: auto 1fr auto;
  border-left: 2px solid var(--hz-border);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.structure-child:hover { background: var(--lum-5); border-left-color: var(--hz-border-hot); }
.child-num { font-family: var(--serif); font-size: 3rem; color: var(--hazelnut); opacity: 0.2; line-height: 1; letter-spacing: -0.03em; }
.child-label { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hazelnut); margin-bottom: 0.75rem; display: block; }
.structure-child h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.75rem; }
.structure-child h3 em { font-style: italic; color: var(--hazelnut); }
.structure-child p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; max-width: none; }
.structure-child ul { list-style: none; padding: 0; margin: 0; }
.structure-child li { font-size: 0.8rem; color: var(--gray-soft); padding: 0.3rem 0 0.3rem 1rem; position: relative; }
.structure-child li::before { content: '—'; position: absolute; left: 0; color: var(--hazelnut); opacity: 0.4; }
.structure-child li .soon-tag {
  display: inline-block; margin-left: 0.5rem;
  font-size: 0.5rem; letter-spacing: 0.2em; color: var(--gray-soft); text-transform: uppercase;
}
.child-link {
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hazelnut);
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: end; white-space: nowrap;
}
.child-link .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.structure-child:hover .child-link .arrow { transform: translateX(6px); }

@media (max-width: 720px) {
  .structure-child { grid-template-columns: 1fr; gap: 1rem; padding: 2rem; }
  .child-num { display: none; }
  .child-link { grid-column: 1; }
}

/* ── Hamburger toggle ──────────────────────── */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: var(--porcelain);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--lum-0);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1rem; color: var(--porcelain); }
}

/* ── Button ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 2.2rem;
  border: 1px solid var(--hazelnut);
  color: var(--porcelain);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  background: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hazelnut);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.btn span, .btn .arrow { position: relative; z-index: 1; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--hazelnut);
  color: var(--ink);
  border-color: var(--hazelnut);
}
.btn-solid::before { background: var(--porcelain); }
/* Text stays ink at every state — legibility on both hazelnut and porcelain fill */
.btn-solid,
.btn-solid:hover,
.btn-solid:focus,
.btn-solid:focus-visible,
.btn-solid:active { color: var(--ink); }

/* ── Section eyebrow ──────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--hazelnut);
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 2.5rem; height: 1px;
  background: var(--hazelnut); opacity: 0.3;
}
/* Left-only variant (used in editorial flow sections) */
.eyebrow--left::after { display: none; }
.eyebrow--left { gap: 1rem; }
.eyebrow--left::before { width: 2rem; }
/* Stacked variant — hairline centered below the label (hero overlines) */
.eyebrow--stack {
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.eyebrow--stack::before { display: none; }
.eyebrow--stack::after {
  width: 40px;
  opacity: 1;
}
/* Legacy eyebrow with span child */
.eyebrow span {
  font-size: inherit; font-weight: inherit; letter-spacing: inherit;
  text-transform: inherit; color: inherit;
}

/* ── Footer ───────────────────────────────── */
.site-footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--edge-1);
  background: var(--lum-0);
  color: var(--gray);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--edge-1);
}
@media (max-width: 960px) { .site-footer .container { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 640px) { .site-footer .container { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h5,
.site-footer .footer-heading {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 500; color: var(--hazelnut); margin-bottom: 1.25rem; opacity: 0.6;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; font-size: 0.85rem; }
.site-footer li a { color: var(--gray-soft); transition: color 0.3s ease; }
.site-footer li a:hover { color: var(--hazelnut); }
.site-footer .footer-brand { max-width: 32ch; font-size: 0.85rem; line-height: 1.7; color: var(--gray-soft); }
.site-footer .footer-brand img,
.site-footer .footer-brand svg { height: 44px; width: auto; margin-bottom: 1.5rem; display: block; }
/* DHV × CCL lockup is wider — give it a bit more height for legibility on RE-page footers */
.site-footer .footer-brand-logo--lockup { height: 32px !important; }
.site-footer .footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem) 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gray-soft);
}
.site-footer .footer-legal a {
  color: var(--gray-soft); text-decoration: underline; text-underline-offset: 2px;
}
.site-footer .footer-legal a:hover { color: var(--hazelnut); }

/* ── Skip link (a11y) ─────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--hazelnut); color: var(--ink); padding: 0.75rem 1.5rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Focus styles (a11y) ─────────────────── */
:focus-visible {
  outline: 2px solid var(--hazelnut);
  outline-offset: 3px;
}
/* Suppress on mouse click, show on keyboard */
:focus:not(:focus-visible) { outline: none; }

/* ── Reduced motion — global safeguard ────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Utilities ────────────────────────────── */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
