/*! Massarrah — generated 2026-05-31 */
/* DO NOT EDIT — edit src/css/* and rebuild via `npm run build`. */

/* ─── 01-fonts.css ─── */
/* ============================================================
   FONT FACES — self-hosted (CSP font-src 'self')
   ============================================================ */
@font-face { font-display: swap;     font-family: 'Lato';                font-style: normal; font-weight: 300;     src: url('/fonts/Lato-Light.woff2')              format('woff2'); }
@font-face { font-display: swap;     font-family: 'Lato';                font-style: normal; font-weight: 400;     src: url('/fonts/Lato-Regular.woff2')            format('woff2'); }
@font-face { font-display: swap;     font-family: 'Lato';                font-style: normal; font-weight: 700;     src: url('/fonts/Lato-Bold.woff2')               format('woff2'); }
@font-face { font-display: swap;     font-family: 'Cinzel';              font-style: normal; font-weight: 400 900; src: url('/fonts/Cinzel.woff2')                  format('woff2'); }
@font-face { font-display: optional; font-family: 'Noto Sans Cuneiform'; font-style: normal; font-weight: 400;     src: url('/fonts/NotoSansCuneiform-Regular.woff2') format('woff2'); }

/* ─── 02-tokens.css ─── */
/* ============================================================
   DESIGN TOKENS
   Single source of truth for colour, type, motion.
   See DESIGN.md for the rules they encode.
   ============================================================ */
:root {
  /* Colour */
  --deep-night:        #0D1B2A;
  --abyss:             #060D14;
  --midnight:          #1A1A2E;
  --deep-ishtar-blue:  #1A3A5C;
  --ishtar-blue:       #1F618D;
  --royal-gold:        #DC9750;
  --royal-gold-dark:   #C4843E;
  --light-gold:        #F0C987;
  --amber:             #FFC107;
  --golden-glow:       #FFD700;
  --clay:              #D4A574;
  --wet-clay:          #8D6E63;
  --dark-ember:        #302A28;
  --reed-green:        #52614A;
  --carnelian:         #922C40;
  --white:             #FFFFFF;
  --white-85:          rgba(255, 255, 255, 0.85);
  --white-70:          rgba(255, 255, 255, 0.70);
  --white-50:          rgba(255, 255, 255, 0.50);

  /* Type stacks */
  --font-display:      'Cinzel', 'Trajan Pro', serif;
  --font-body:         'Lato', system-ui, -apple-system, sans-serif;
  --font-cuneiform:    'Noto Sans Cuneiform', serif;

  /* Leading & tracking */
  --leading-tight:     1.05;
  --leading-snug:      1.2;
  --leading-normal:    1.4;
  --leading-relaxed:   1.5;
  --track-tight:       -0.02em;
  --track-normal:      0;
  --track-loose:       0.06em;
  --track-wordmark:    0.04em;

  /* Radii */
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-pill:       999px;

  /* Easing & motion */
  --ease-out-quart:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-quint:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Container max-widths */
  --container-narrow:  760px;
  --container-default: 1200px;
  --container-wide:    1280px;
  --container-hero:    1400px;
}

/* ─── 03-base.css ─── */
/* ============================================================
   BASE / RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Prevent layout shift from scrollbar on long pages */
  scrollbar-gutter: stable;
}
body {
  background: var(--deep-night);
  color: var(--white-85);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Modern safe-area handling for mobile browsers with notches */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Stacking: content above ambient layer */
header.masthead, main, section, footer.foot, .wedge-rule { position: relative; z-index: 1; }

/* Skip-link for keyboard users (hidden until focused) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  padding: 12px 24px;
  background: var(--royal-gold);
  color: var(--deep-night);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 200ms ease;
}
.skip-link:focus-visible { top: 0; outline: none; }

/* ─── 04-ambient.css ─── */
/* ============================================================
   AMBIENT CUNEIFORM FIELD
   Three drifting parallax layers behind every page.
   ============================================================ */
.ambient {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --ambient-opacity: 1;
}
.ambient-layer {
  position: absolute;
  font-family: var(--font-cuneiform);
  color: var(--royal-gold);
  white-space: nowrap;
  user-select: none;
  line-height: 1.4;
  will-change: transform;
}
.ambient-far {
  top: -20%; left: -10%; width: 180%;
  font-size: clamp(20px, 2vw, 28px);
  opacity: calc(0.06 * var(--ambient-opacity));
  letter-spacing: 0.4em;
  transform: rotate(-12deg);
  animation: driftSlow 320s linear infinite;
}
.ambient-mid {
  top: -10%; left: -20%; width: 200%;
  font-size: clamp(36px, 4.5vw, 56px);
  opacity: calc(0.035 * var(--ambient-opacity));
  letter-spacing: 0.6em;
  transform: rotate(8deg);
  animation: driftReverse 240s linear infinite;
}
.ambient-near {
  top: 20%; left: -30%; width: 240%;
  font-size: clamp(80px, 9vw, 140px);
  opacity: calc(0.022 * var(--ambient-opacity));
  letter-spacing: 0.8em;
  transform: rotate(-3deg);
  animation: ambientFloat 180s linear infinite;
}
@keyframes driftSlow      { from { transform: translateX(0)    rotate(-12deg); } to { transform: translateX(-25%) rotate(-12deg); } }
@keyframes driftReverse   { from { transform: translateX(-25%) rotate(8deg);   } to { transform: translateX(0%)   rotate(8deg);   } }
@keyframes ambientFloat   { from { transform: translateX(0)    rotate(-3deg);  } to { transform: translateX(-30%) rotate(-3deg);  } }

/* On very small screens dial the ambient field down — too much movement competes
   with the foreground content and burns battery on lower-power devices. */
@media (max-width: 640px) {
  .ambient { --ambient-opacity: 0.6; }
}

/* ─── 05-masthead.css ─── */
/* ============================================================
   MASTHEAD
   Fixed top; on the landing page wordmark+CTA fade in after the
   hero. On content pages they're persistent from the start.
   ============================================================ */
header.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2vw, 22px) clamp(18px, 4vw, 48px);
  padding-top: max(clamp(14px, 2vw, 22px), env(safe-area-inset-top));
  pointer-events: none;
}
.masthead .wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1;
  /* Touch-target floor — wordmark IS the home link */
  min-height: 44px;
  padding: 8px 4px;
  margin: -8px -4px;
  /* gold gradient clipped to the letterforms */
  background: linear-gradient(135deg, var(--royal-gold) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 600ms ease;
}
.masthead .wordmark::after {
  content: "";
  display: block;
  width: clamp(24px, 3vw, 32px);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--royal-gold) 0%, rgba(220, 151, 80, 0) 100%);
}
.masthead .wordmark.revealed,
.masthead .wordmark.persistent  { opacity: 1; }

.masthead .right {
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 600ms ease;
}
.masthead .right.revealed,
.masthead .right.persistent { opacity: 1; }

.masthead .nav-cta {
  padding: clamp(7px, 1vw, 9px) clamp(12px, 1.8vw, 18px);
  border-radius: var(--radius-pill);
  background: var(--royal-gold);
  color: var(--deep-night);
  font-weight: 700;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 120ms ease, transform 120ms ease;
  min-height: 36px;
  display: inline-flex; align-items: center;
}
.masthead .nav-cta:hover {
  background: var(--royal-gold-dark);
  transform: translateY(-1px);
}
.masthead .nav-link {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-70);
  transition: color 150ms ease;
}
.masthead .nav-link:hover { color: var(--royal-gold); }

/* Scrolled-state — small dark hairline under the bar once the user scrolls.
   Useful on content pages where the masthead persists from the start. */
header.masthead.scrolled::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 151, 80, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

/* ─── 06-wedge-rule.css ─── */
/* ============================================================
   WEDGE-RULE DIVIDER
   Cuneiform glyphs centred between two gold hairlines.
   ============================================================ */
.wedge-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--royal-gold);
  font-family: var(--font-cuneiform);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1;
  padding: clamp(36px, 6vw, 56px) clamp(12px, 4vw, 24px);
  opacity: 0.55;
  text-align: center;
  letter-spacing: 0.05em;
}
.wedge-rule::before, .wedge-rule::after {
  content: ""; height: 1px; flex: 0 1 110px;
  background: linear-gradient(90deg, transparent 0%, var(--royal-gold) 50%, transparent 100%);
  opacity: 0.5;
}

/* Star-in-circle ornament — used inside kickers */
.ornament {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border: 1.5px solid var(--royal-gold);
  border-radius: 50%;
  color: var(--light-gold);
  font-size: 12px; line-height: 1;
}
.ornament::before { content: "\2605"; }

/* ─── 07-content-page.css ─── */
/* ============================================================
   CONTENT PAGE LAYOUT
   Shared by: privacy, terms, support, sign, tablet, achievement,
   article, fact, timeline, fallback.
   ============================================================ */
main.page {
  min-height: 100vh;
  padding-top: 80px;
}
.page-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 80px) clamp(16px, 5vw, 24px) clamp(80px, 14vh, 120px);
}
.page-wide { max-width: 1080px; }

.page-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--royal-gold);
  margin: 0 0 22px;
  text-align: center;
}

.page-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: var(--leading-tight);
  letter-spacing: var(--track-tight);
  color: var(--white);
  text-align: center;
  text-wrap: balance;
}
.page-title em { font-style: normal; color: var(--royal-gold); }

.page-subtitle {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.05em;
  color: var(--light-gold);
  text-align: center;
}

.page-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white-50);
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 56px;
}

.page-lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--white-85);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
  margin: 0 auto 48px;
  text-align: center;
  text-wrap: pretty;
}

/* Long-form body typography */
.page-body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 16px);
  color: var(--white-85);
  line-height: 1.7;
}
.page-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: var(--track-tight);
  color: var(--white);
  margin: 56px 0 18px;
  line-height: 1.25;
  text-wrap: balance;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h2 .num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--royal-gold);
  margin-right: 14px;
  vertical-align: 0.18em;
  text-transform: uppercase;
}
.page-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--white);
  margin: 32px 0 12px;
  letter-spacing: var(--track-tight);
}
.page-body p { margin: 0 0 16px; color: var(--white-85); max-width: 65ch; }
.page-body p + p { margin-top: 0; }
.page-body strong { color: var(--white); font-weight: 700; }
.page-body em { color: var(--light-gold); font-style: italic; }
.page-body ul, .page-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--white-85);
  max-width: 65ch;
}
.page-body ul li, .page-body ol li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.page-body ul li::marker { color: var(--royal-gold); }
.page-body ol li::marker { color: var(--royal-gold); font-family: var(--font-display); }
.page-body ul.plain {
  list-style: none;
  padding-left: 0;
}
.page-body a {
  color: var(--royal-gold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(220, 151, 80, 0.45);
  transition: color 150ms ease, border-color 150ms ease;
}
.page-body a:hover {
  color: var(--light-gold);
  border-bottom-color: var(--light-gold);
}
.page-body blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--royal-gold);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--light-gold);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.55;
}
.page-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--light-gold);
  background: rgba(220, 151, 80, 0.08);
  border: 1px solid rgba(220, 151, 80, 0.18);
  border-radius: 4px;
  padding: 1px 6px;
}
.page-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 151, 80, 0.30), transparent);
  margin: 48px 0;
}

/* "Plate header" — kicker + title + subtitle stack */
.plate-header {
  text-align: center;
  margin-bottom: 64px;
}

/* Compact content hero (tablet/sign/achievement detail) */
.detail-hero {
  text-align: center;
  margin-bottom: 56px;
}
.detail-hero .glyph {
  font-family: var(--font-cuneiform);
  color: var(--royal-gold);
  font-size: clamp(80px, 14vw, 160px);
  line-height: 1;
  text-shadow:
    0 0 60px rgba(255, 215, 0, 0.20),
    0 2px 0 rgba(255, 215, 0, 0.04);
  margin: 0 0 28px;
}

/* Pills + badges */
.pill-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 24px 0;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(220, 151, 80, 0.08);
  border: 1px solid rgba(220, 151, 80, 0.30);
  color: var(--royal-gold);
}
.pill--blue     { background: rgba(31, 97, 141, 0.14); border-color: rgba(31, 97, 141, 0.40); color: #6FB0DC; }
.pill--neutral  { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.10); color: var(--white-70); }
.pill--lapis    { background: rgba(38, 97, 156, 0.18); border-color: rgba(58, 123, 213, 0.45); color: #8FB6E0; }
.pill--bronze   { background: rgba(205, 127, 50, 0.14); border-color: rgba(205, 127, 50, 0.45); color: #E6A570; }
.pill--clay     { background: rgba(212, 165, 116, 0.12); border-color: rgba(212, 165, 116, 0.42); color: #E6C8A2; }
.pill--obsidian { background: rgba(74, 45, 122, 0.22); border-color: rgba(107, 63, 160, 0.50); color: #C0A0E8; }
.pill--gold     { background: rgba(220, 151, 80, 0.18); border-color: rgba(220, 151, 80, 0.55); color: var(--light-gold); }
.pill .label    { font-weight: 700; color: var(--white-50); margin-right: 4px; }

/* Fact card — for inline highlighted info on detail pages */
.fact-card {
  background:
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(220, 151, 80, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13, 27, 42, 0.6) 0%, rgba(13, 27, 42, 0.95) 100%);
  border: 1px solid rgba(220, 151, 80, 0.18);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 4vw, 32px);
  margin: 24px 0;
}
.fact-card .label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--royal-gold);
  margin-bottom: 12px;
}
.fact-card .body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white-85);
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

/* Glyph row — example words / related signs */
.glyph-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin: 16px 0;
}
.glyph-chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(220, 151, 80, 0.06);
  border: 1px solid rgba(220, 151, 80, 0.22);
  color: var(--light-gold);
  font-family: var(--font-body);
  font-size: 14px;
}

/* ─── 08-buttons.css ─── */
/* ============================================================
   CTA PILLS — used on every page (CTAs, content pages, landing)
   ============================================================ */
.cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: 40px 0 16px;
}
.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--royal-gold);
  color: var(--deep-night);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 120ms ease, transform 120ms ease, box-shadow 200ms ease;
  min-height: 48px;
  /* Touch-target floor for mobile */
}
.cta-pill:hover, .cta-pill:focus-visible {
  background: var(--royal-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(220, 151, 80, 0.35);
}
.cta-pill svg { width: 18px; height: 18px; fill: currentColor; }
.cta-pill.outline {
  background: transparent;
  color: var(--royal-gold);
  box-shadow: inset 0 0 0 2px var(--royal-gold);
}
.cta-pill.outline:hover, .cta-pill.outline:focus-visible {
  background: rgba(220, 151, 80, 0.08);
  box-shadow: inset 0 0 0 2px var(--royal-gold);
}
.cta-deep {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--royal-gold), var(--light-gold));
  color: var(--deep-night);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 120ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 24px -8px rgba(220, 151, 80, 0.4);
  min-height: 48px;
}
.cta-deep:hover, .cta-deep:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(220, 151, 80, 0.55);
}
.cta-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white-50);
  text-align: center;
  margin: 20px 0 0;
  letter-spacing: 0.04em;
}

/* ─── 09-footer.css ─── */
/* ============================================================
   FOOTER
   ============================================================ */
footer.foot {
  background: var(--abyss);
  border-top: 1px solid rgba(220, 151, 80, 0.12);
  position: relative;
  padding: 0;
}

/* Decorative cuneiform strip — full-bleed, sits at the top of the footer */
.foot-strip {
  background: linear-gradient(90deg, transparent 0%, rgba(220, 151, 80, 0.045) 50%, transparent 100%);
  border-bottom: 1px solid rgba(220, 151, 80, 0.10);
  padding: clamp(14px, 2vw, 22px) clamp(16px, 4vw, 24px);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(220, 151, 80, 0.28);
  font-family: var(--font-cuneiform);
  font-size: clamp(13px, 1.6vw, 18px);
  letter-spacing: 0.4em;
  line-height: 1;
  user-select: none;
}
.foot-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 40px);
}
.foot-grid {
  display: grid;
  /* Brand absorbs leftover space; Legal + Connect hug their content on the right */
  grid-template-columns: 1fr auto auto;
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: 48px;
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 80px);
}
@media (max-width: 880px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 48px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-strip { font-size: 15px; letter-spacing: 0.3em; padding: 18px 16px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
}

.foot-brand .mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 26px;
  /* gold gradient clipped to letterforms — same treatment as masthead */
  background: linear-gradient(135deg, var(--royal-gold) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.foot-brand .mark::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--royal-gold) 0%, rgba(220, 151, 80, 0) 100%);
}
.foot-brand .sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 15px);
  color: var(--white-70);
  line-height: 1.6;
  max-width: 32ch;
  display: block;
}
.foot-col h4 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--royal-gold);
  line-height: 1;
  padding-bottom: 12px;
  position: relative;
}
.foot-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--royal-gold);
}
.foot-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.foot-col a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white-70);
  transition: color 150ms ease;
  min-height: 32px;
}
.foot-col a:hover, .foot-col a:focus-visible { color: var(--royal-gold); }
.foot-col a svg {
  width: 16px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}
.foot-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(220, 151, 80, 0.10);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
@media (max-width: 640px) {
  .foot-bar { grid-template-columns: 1fr; text-align: center; gap: 14px; }
}
.foot-copy {
  font-size: 12px; color: var(--white-50);
  letter-spacing: 0.06em;
}
.foot-trio {
  font-family: var(--font-cuneiform);
  font-size: 18px;
  color: var(--royal-gold);
  opacity: 0.55;
  letter-spacing: 0.4em;
  line-height: 1;
  text-align: center;
}
.foot-cookie {
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: 0.06em;
  background: none; border: none;
  cursor: pointer;
  padding: 4px 8px;
  text-align: right;
  transition: color 150ms ease;
  font-family: var(--font-body);
  min-height: 32px;
}
.foot-cookie:hover, .foot-cookie:focus-visible { color: var(--royal-gold); }
@media (max-width: 640px) { .foot-cookie { text-align: center; } }

/* ─── 10-cookie-banner.css ─── */
/* ============================================================
   COOKIE BANNER (controlled by /js/analytics.js)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: rgba(6, 13, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(220, 151, 80, 0.20);
  padding-bottom: env(safe-area-inset-bottom);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--container-default);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner-inner p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner-inner p a {
  color: var(--royal-gold);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-buttons button {
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  min-height: 44px;
  transition: all 200ms ease;
  font-family: var(--font-body);
}
#cookie-decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.60);
}
#cookie-decline:hover, #cookie-decline:focus-visible {
  border-color: rgba(255, 255, 255, 0.30);
  color: rgba(255, 255, 255, 0.90);
}
#cookie-accept {
  background: var(--royal-gold);
  border: none;
  color: var(--deep-night);
}
#cookie-accept:hover, #cookie-accept:focus-visible { background: var(--royal-gold-dark); }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-buttons { justify-content: stretch; }
  .cookie-buttons button { flex: 1; }
}

/* ─── 99-a11y.css ─── */
/* ============================================================
   ACCESSIBILITY — focus, motion, contrast
   ============================================================ */

/* Reduce-motion: kill all anim/transition, but keep content visible */
@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;
  }
  .ambient-layer { animation: none !important; }
}

/* Keyboard focus rings — applied site-wide */
:focus-visible {
  outline: 2px solid var(--royal-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* High-contrast preference (Windows / forced-colors) */
@media (forced-colors: active) {
  .cta-pill, .cta-deep, .nav-cta {
    border: 1px solid CanvasText;
    forced-color-adjust: none;
  }
  :focus-visible { outline: 2px solid Highlight; outline-offset: 3px; }
}

