/* ==========================================================================
   Crown Creatives: shared styles (every page)
   Tokens, reset, type, buttons, header, full-screen menu, reveals, FAQ,
   enquiry form, footer. Page-specific sections live in their own file.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0c0c0e;
  --ink-2: #17171b;
  --paper: #faf8f4;                  /* main background: warm off-white */
  --paper-2: #f1ede5;                /* alternate section */
  --tint: #fdf0e7;                   /* soft peach feature sections */
  --ink-soft: #5a5955;               /* secondary text on paper (7:1) */
  --gold: #ff7a2f;                   /* the ONE accent (orange): fills, lines, text on dark */
  --gold-text: #c2410c;              /* orange for text on light backgrounds (5.3:1) */
  --rule: rgba(12, 12, 14, .14);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Archivo", system-ui, sans-serif;   /* headlines */
  --hand: "Caveat", "Comic Sans MS", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-pop: cubic-bezier(.3, 1.3, .5, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;                  /* clip, not hidden: keeps position: sticky working */
  font: 400 17px/1.65 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 12px 16px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.label {
  display: inline-block;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.h-xl { font-size: clamp(38px, 6vw, 96px); }
.h-lg { font-size: clamp(32px, 4.4vw, 70px); }
.h-col { font-size: clamp(30px, 3.5vw, 56px); }
.h-md { font-size: clamp(28px, 3.2vw, 46px); }
h2 + .lede, h2 + p { margin-top: 26px; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; max-width: 58ch; }
.hand { font-family: var(--hand); font-weight: 600; letter-spacing: 0; }
.gold { color: var(--gold-text); }

.section { position: relative; padding: clamp(84px, 13vh, 150px) 0; }
.is-paper-2 { background: var(--paper-2); }
.is-tint { background: var(--tint); }
/* Black sections: the light/black rhythm down the page. Re-maps the ink tokens so every
   component inside (text, rules, icons, links) flips without its own dark rules. */
.is-ink {
  --ink: #f3f1ec; --ink-soft: rgba(243, 241, 236, .68); --rule: rgba(243, 241, 236, .16);
  --gold-text: #ff8a45;
  background: #0c0c0e; color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease-out);
}
.btn::before {                        /* deeper-gold wipe on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #ffa266; transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn .arr { transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--tint); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }

/* ==========================================================================
   HEADER
   Transparent over the dark hero (light text); a paper bar once scrolled.
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: var(--ink);
  transition: transform .5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 60px)); }
/* At the top the bar is invisible; once scrolled the inner row becomes a floating glass capsule. */
.site-header__inner {
  position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h);
  border-radius: 999px;
  transition: height .5s var(--ease-out), margin-top .5s var(--ease-out), padding .5s var(--ease-out), background .4s, box-shadow .4s, max-width .5s var(--ease-out);
}
.site-header.is-solid .site-header__inner {
  height: 62px; margin-top: 10px; padding: 0 10px 0 22px; max-width: calc(var(--max) - 2 * var(--gutter) + 32px);
  background: rgba(250, 248, 244, .92);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(12, 12, 14, .08), 0 18px 40px -22px rgba(12, 12, 14, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}
@media (max-width: 1400px) { .site-header.is-solid .site-header__inner { width: calc(100% - 2 * clamp(8px, 2vw, 24px)); } }
/* reading progress: a hairline of orange along the capsule's base */
.site-header__progress {
  position: absolute; left: 50%; top: calc(10px + 62px - 2px); height: 2px; width: min(calc(var(--max) - 2 * var(--gutter)), calc(100% - 2 * clamp(8px, 2vw, 24px)) - 60px);
  translate: -50% 0; border-radius: 2px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(90deg, var(--gold) calc(var(--read, 0) * 100%), transparent 0);
}
.site-header.is-solid .site-header__progress { opacity: 1; }
.menu-open .site-header .site-header__progress { opacity: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
/* the dot orbits the ring twice on load and settles in the gap; one more lap on hover.
   The ring's centre is (24, 24) in the 48-unit viewBox. Waits for the homepage intro to finish. */
.brand__mark circle { transform-box: view-box; transform-origin: 24px 24px; animation: orbit 2.4s cubic-bezier(.45, .05, .2, 1) .3s both; }
.intro .brand__mark circle { animation: none; }
.brand:hover .brand__mark circle { animation: orbit-lap .9s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes orbit { from { transform: rotate(-720deg); } to { transform: rotate(0deg); } }
@keyframes orbit-lap { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }
.brand__word { font-size: 17px; font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.brand__word span { font-weight: 400; margin-left: .22em; }

/* main links: a soft pill slides to whichever link you point at; the current page gets an orange dot */
.nav-main { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-main > a, .nav-item > a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-main a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold);
}
.nav-main__pill {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 38px; width: 0; translate: 0 -50%;
  border-radius: 999px; background: rgba(12, 12, 14, .065); opacity: 0;
  transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s;
}
.nav-main.has-pill .nav-main__pill { opacity: 1; }
.no-js .nav-main > a:hover, .no-js .nav-item > a:hover { background: rgba(12, 12, 14, .065); }
.nav-caret { width: 10px; height: 6px; opacity: .55; transition: transform .35s var(--ease-out); }
.nav-item { position: relative; }
.nav-item--drop:hover .nav-caret, .nav-item--drop:focus-within .nav-caret { transform: rotate(180deg); }

/* Services dropdown: three groups of services and a link to the hub */
.nav-drop {
  position: absolute; top: 100%; left: 50%; padding-top: 18px; width: min(860px, 92vw);
  translate: -38% 0; visibility: hidden; opacity: 0; transform: translateY(8px) scale(.985); transform-origin: 38% 0;
  transition: opacity .25s, transform .4s var(--ease-out), visibility 0s .4s;
}
.nav-item--drop:hover .nav-drop, .nav-item--drop:focus-within .nav-drop {
  visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .45s var(--ease-out), visibility 0s;
}
.nav-drop__panel {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .95fr); gap: 8px 22px;
  padding: 24px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 12, 14, .07), 0 40px 80px -30px rgba(12, 12, 14, .35), 0 12px 24px -16px rgba(12, 12, 14, .2);
}
.nav-drop__head { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 10px 10px; }
.nav-drop ul { list-style: none; display: grid; gap: 2px; }
.nav-drop li a { display: grid; gap: 2px; padding: 9px 10px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.nav-drop li a b { font-size: 15px; font-weight: 600; transition: color .2s; }
.nav-drop li a small { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.nav-drop li a:hover, .nav-drop li a:focus-visible { background: var(--paper); }
.nav-drop li a:hover b { color: var(--gold-text); }
.nav-drop__cta {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 20px; border-radius: 16px; min-height: 100%; text-decoration: none; overflow: hidden;
  background: var(--ink); color: #fff;
}
.nav-drop__cta::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .12); border-right-color: transparent; transform: rotate(-30deg); transition: transform .8s var(--ease-out); }
.nav-drop__cta::after { content: ""; position: absolute; right: 26px; top: 46px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); transition: transform .8s var(--ease-out); }
.nav-drop__cta:hover::before { transform: rotate(150deg); }
.nav-drop__cta span { font: 700 20px/1.05 var(--display); letter-spacing: -.03em; }
.nav-drop__cta small { font-size: 13px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.nav-drop__cta i { font-style: normal; color: var(--gold); font-size: 20px; transition: transform .4s var(--ease-out); }
.nav-drop__cta:hover i { transform: translateX(6px); }

.site-header .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.site-header .btn .arr { transition: transform .4s var(--ease-out); }
.site-header .btn:hover .arr { transform: translateX(4px) rotate(-45deg); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .3s, background .3s;
}
.menu-btn:hover { background: rgba(12, 12, 14, .05); box-shadow: inset 0 0 0 1px rgba(12, 12, 14, .3); }
.menu-btn__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 9px; width: 12px; height: 1.6px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out), width .45s var(--ease-out);
}
.menu-btn__icon::before { top: 11.5px; }
.menu-btn__icon::after { top: 16.5px; width: 8px; }
.menu-btn:hover .menu-btn__icon::after { width: 12px; }
.menu-open .menu-btn__icon { background: var(--gold); }
.menu-open .menu-btn__icon::before { top: 14px; transform: rotate(45deg); }
.menu-open .menu-btn__icon::after { top: 14px; width: 12px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-main { display: none; }
}
@media (max-width: 520px) {
  .site-header .btn { display: none; }
  .site-header.is-solid .site-header__inner { padding: 0 6px 0 16px; height: 56px; }
  .site-header__progress { top: calc(10px + 56px - 2px); }
  .brand__word { font-size: 15px; }
}
@media (max-width: 380px) {
  .site-header__inner { gap: 12px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__word { font-size: 14px; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0; box-shadow: none; }
}

/* ---------- Full-screen menu ----------
   Without JS it opens with :target (the Menu link points to #menu). */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: none;
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--header-h) + 4vh) 0 48px;
}
.menu:target, .menu.is-open { display: block; }
.js .menu.is-open { animation: menu-reveal .75s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes menu-reveal { from { clip-path: circle(0 at var(--mx, 95%) var(--my, 40px)); } to { clip-path: circle(150% at var(--mx, 95%) var(--my, 40px)); } }
.menu-open .site-header .site-header__inner { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav-main, .menu-open .site-header .btn { opacity: 0; pointer-events: none; }
.menu-open { overflow: hidden; }
.menu__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px clamp(32px, 6vw, 96px); }
.menu__grid > * { min-width: 0; }
.menu__main { list-style: none; border-top: 1px solid var(--rule); }
.menu__main li { border-bottom: 1px solid var(--rule); }
.menu__main a {
  display: flex; align-items: baseline; gap: 20px;
  padding: clamp(10px, 1.8vh, 18px) 0;
  font-family: var(--display); font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1;
  text-decoration: none;
  transition: color .3s, transform .5s var(--ease-out);
}
.menu__main a small { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-soft); min-width: 2.4em; transition: color .3s; }
.menu__main a::after { content: "→"; margin-left: auto; align-self: center; font-size: .6em; color: var(--gold); opacity: 0; transform: translateX(-24px); transition: opacity .3s, transform .5s var(--ease-out); }
.menu__main a:hover { color: var(--gold-text); transform: translateX(10px); }
.menu__main a:hover small { color: var(--gold-text); }
.menu__main a:hover::after { opacity: 1; transform: translateX(-10px); }
.menu__main a[aria-current="page"] small::before { content: "●"; margin-right: 6px; color: var(--gold); }
.menu__side h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-stretch: 100%; }
.menu__side ul { list-style: none; display: grid; gap: 8px; margin-bottom: 34px; }
.menu__side a { text-decoration: none; font-size: 17px; }
.menu__side a:hover { color: var(--gold-text); }
.menu__contact a { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.js .menu.is-open .menu__main li { animation: menu-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
@keyframes menu-in { from { opacity: 0; transform: translateY(30px); } }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(32px, 6vh, 64px); padding-top: 18px; background: linear-gradient(var(--rule), var(--rule)) content-box 0 0 / 100% 1px no-repeat; padding-block-start: 0; }
.menu__foot > span { padding-top: 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.menu__foot time { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .menu__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   REVEALS (hidden only when JS runs, so no-JS shows everything)
   ========================================================================== */
.js [data-in] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-in].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {                 /* drawn underline on hover/open */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease-out);
}
.faq summary:hover::after, .faq details[open] summary::after { transform: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: currentColor; transition: transform .4s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 0 28px; max-width: 70ch; color: var(--ink-soft); }
.faq__a p:last-child { margin: 0; }
.faq__a a { color: var(--gold-text); font-weight: 600; }

/* ==========================================================================
   ENQUIRY FORM: a project spec sheet
   ========================================================================== */
.sheet {
  position: relative;
  background: #fbfaf7;
  border: 1.5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--gold);
}
.sheet__head {
  display: grid; grid-template-columns: 1fr auto auto; border-bottom: 1.5px solid var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.sheet__head > * { padding: 12px 18px; }
.sheet__head > * + * { border-left: 1.5px solid var(--ink); }
.sheet__head b { display: block; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 700; margin-top: 2px; }
.sheet__body { padding: clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.sheet__body > * { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  display: block; margin-bottom: 8px; padding: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.field label span, .field legend span { color: var(--ink-soft); font-weight: 500; letter-spacing: .06em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0;
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  font-size: 18px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-text); box-shadow: 0 2px 0 var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #8b8983; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230c0c0e' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 26px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: background .25s, color .25s, transform .3s var(--ease-pop);
}
.chip input:checked + span { background: var(--gold); border-color: var(--gold-text); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.chip input:active + span { transform: scale(.95); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sheet__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px clamp(22px, 3.4vw, 44px); border-top: 1.5px solid var(--ink);
}
.sheet__foot p { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 46ch; }
.sheet__foot a { color: var(--gold-text); }
@media (max-width: 640px) {
  .sheet { box-shadow: 8px 8px 0 var(--gold); }
  .sheet__body { grid-template-columns: 1fr; }
  .sheet__head { grid-template-columns: 1fr 1fr; }
  .sheet__head > :first-child { grid-column: 1 / -1; border-bottom: 1.5px solid var(--ink); }
  .sheet__head > :nth-child(2) { border-left: 0; }
}

/* ==========================================================================
   FOOTER: giant wordmark whose letters fold up when scrolled into view
   ========================================================================== */
.site-footer { position: relative; overflow: clip; background: #0c0c0e; color: var(--ink); padding-top: clamp(84px, 12vh, 140px); }
.site-footer a { text-decoration: none; }
.footer__top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding-bottom: clamp(44px, 7vh, 70px); border-bottom: 1px solid var(--rule);
}
.footer__tag { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-size: clamp(30px, 4.2vw, 64px); max-width: 16ch; }
.footer__tag em { font-style: normal; color: var(--gold-text); }
.footer__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 60px);
  padding: clamp(44px, 7vh, 72px) 0;
}
.footer__cols h2 {
  margin: 0 0 16px; font-size: 12px; font-weight: 600; font-stretch: 100%; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.footer__cols ul { list-style: none; display: grid; gap: 9px; }
.footer__cols a { color: var(--ink); transition: color .25s; }
.footer__cols a:hover { color: var(--gold-text); }
.footer__cols p { margin: 0 0 8px; }
.footer__areas { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer__word {
  display: flex; justify-content: space-between;
  margin: 0; padding: 0 var(--gutter);
  font-family: var(--display); font-size: clamp(18px, 6.5vw, 132px); font-weight: 800; letter-spacing: -.04em; line-height: .8;
  color: var(--ink); user-select: none;
  perspective: 900px;
}
.footer__word span { display: inline-block; transform-origin: 50% 100%; }
.footer__word .gap { width: .22em; }
.footer__word .g { color: var(--gold); }
.js .footer__word span { transform: rotateX(-96deg); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .5s; transition-delay: calc(var(--i) * 45ms); }
.js .site-footer.is-in .footer__word span { transform: none; opacity: 1; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding: 28px 0 32px; margin-top: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--ink-soft);
}
.footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: var(--gold-text); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   REDUCED MOTION: show every end state, no movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-in] { opacity: 1; transform: none; }
  .js .footer__word span { transform: none; opacity: 1; }
}
