/* ==========================================================================
   The Design Gorilla — styles
   Brand: black, gold #ECC077, white · Bebas Neue / Playfair Display Italic / Inter
   ========================================================================== */

/* Self-hosted fonts (no requests to Google) */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --faint: rgba(244, 241, 234, 0.12);
  --gold: #ecc077;
  --gold-deep: #c99a4b;

  --f-display: "Bebas Neue", "bebas_neue_regularregular", Impact, sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1760px;
  /* side padding: normal gutter on small screens, grows on wide screens to keep content in a centred column */
  --gutter: max(clamp(16px, 4vw, 56px), calc((100vw - var(--maxw)) / 2));
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* very large / high-res monitors: scale everything up a touch */
@media (min-width: 2400px) { html { font-size: 112.5%; } :root { --maxw: 1960px; } }
@media (min-width: 3400px) { html { font-size: 125%; } :root { --maxw: 2200px; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

/* Film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold); }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Text-reveal helpers (set up by JS) */
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.split .char { display: inline-block; will-change: transform; }
.split .space { display: inline-block; width: 0.28em; }

/* ------------------------------------------------------------------ Buttons */
/* Flat brand-gold pill · white shimmer sweep · hover: ink flood from the cursor, rolling label, arrow swap */
.btn {
  --h: 58px;
  --x: 50%; --y: 50%;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px;
  background: var(--gold); color: var(--bg);
  font-weight: 600; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:hover { box-shadow: 0 14px 36px -14px rgba(255, 255, 255, 0.35); }
/* White shimmer */
.btn::after {
  content: ""; position: absolute; z-index: 1; top: -30%; bottom: -30%; left: 0; width: 42%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0) 75%, transparent 100%);
  transform: translateX(-180%) skewX(-20deg);
  animation: btn-shine 3.6s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes btn-shine {
  0%, 50% { transform: translateX(-180%) skewX(-20deg); }
  80%, 100% { transform: translateX(340%) skewX(-20deg); }
}
.btn::before { content: none; }

/* White wipe (element added by JS): sweeps in from the left, exits to the right */
.btn__fill {
  position: absolute; z-index: 0; inset: 0;
  background: #fff;
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.btn:hover .btn__fill { transform: scaleX(1); transform-origin: left center; }
/* Rolling label */
.btn__label { position: relative; z-index: 2; display: block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.btn__label > span { display: block; transition: transform 0.6s var(--ease); }
.btn__label > span + span { position: absolute; inset: 0; transform: translateY(110%); }
.btn:hover .btn__label > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__label > span + span { transform: translateY(0); }

/* Arrow shoots out, new one slides in */
.btn__arrow { position: relative; z-index: 2; display: block; overflow: hidden; width: 1.1em; height: 1.3em; line-height: 1.3; font-style: normal; }
.btn__arrow > span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.55s var(--ease); }
.btn__arrow > span + span { transform: translateX(-160%); }
.btn:hover .btn__arrow > span:first-child { transform: translateX(160%); }
.btn:hover .btn__arrow > span + span { transform: translateX(0); transition-delay: 0.08s; }

.btn--small { --h: 44px; padding: 0 20px; font-size: 0.9rem; }
/* Touch screens: no sticky hover state after a tap */
@media (hover: none) {
  .btn:hover { box-shadow: none; }
  .btn:hover .btn__fill { transform: scaleX(0); }
  .btn:hover .btn__label > span:first-child, .btn:hover .btn__arrow > span:first-child { transform: none; }
  .btn:hover .btn__label > span + span { transform: translateY(110%); }
  .btn:hover .btn__arrow > span + span { transform: translateX(-160%); }
}
/* ------------------------------------------------------------------ Loader */
.loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--bg);
}
.loader__logo { width: clamp(90px, 14vw, 140px); overflow: visible; }
.loader__ring { stroke-dasharray: 320; stroke-dashoffset: 320; }
.loader__face { opacity: 0; transform-origin: 50% 55%; }
.loader__count {
  font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.2em; color: var(--muted);
}

/* ------------------------------------------------------------------ Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: transform 0.5s var(--ease), background 0.4s, padding 0.4s var(--ease);
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--faint);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 1.45rem; letter-spacing: 0.04em; color: var(--gold);
}
.nav__brand img { width: 40px; height: 40px; transition: transform 0.6s var(--ease); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav__links { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 0.95rem; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); position: relative; z-index: 2;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bg);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 32px;
  background: var(--bg-2);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-size: clamp(3.4rem, 16vw, 6rem); line-height: 1;
  padding: 8px 0; border-bottom: 1px solid var(--faint);
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu nav a small { font-family: var(--f-body); font-size: 0.8rem; color: var(--gold); }
.menu nav a:hover { color: var(--gold); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(1) { transition-delay: 0.2s; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.28s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.36s; }
.menu__foot { display: grid; gap: 12px; color: var(--muted); word-break: break-word; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 120px var(--gutter) 90px;
  overflow: hidden;
}
/* Studio artboard — the logo gets drawn here */
.studio {
  position: absolute; right: var(--gutter); top: 50%;
  width: min(40vw, 620px, 60svh);
  translate: 0 -46%;
  perspective: 1200px;
  z-index: 1;
}
.studio__board {
  position: relative;
  background: linear-gradient(180deg, #181818, #121212);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.studio__bar {
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 12px 0 14px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  font-size: 0.75rem; color: var(--muted);
}
.studio__dots { display: flex; gap: 6px; }
.studio__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c2c; }
.studio__dots i:first-child { background: #ff5f57; } .studio__dots i:nth-child(2) { background: #febc2e; } .studio__dots i:last-child { background: #28c840; }
.studio__file { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio__file b { margin-left: 8px; font-weight: 500; color: var(--gold); }
.studio__replay {
  width: 28px; height: 28px; border-radius: 8px; font-size: 1rem; line-height: 1;
  color: var(--muted); border: 1px solid rgba(244, 241, 234, 0.1);
  transition: color 0.3s, border-color 0.3s, transform 0.6s var(--ease);
}
.studio__replay:hover { color: var(--gold); border-color: var(--gold); transform: rotate(-180deg); }
.studio__canvas { position: relative; padding: 18px 0 0 18px; background: #101010; }
.studio__ruler { position: absolute; background-color: #161616; }
.studio__ruler--x {
  top: 0; left: 18px; right: 0; height: 18px; border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  background-image: repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.25) 0 1px, transparent 1px 10%), repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.12) 0 1px, transparent 1px 2%);
  background-size: 100% 9px, 100% 4px; background-position: bottom; background-repeat: no-repeat;
}
.studio__ruler--y {
  top: 18px; left: 0; bottom: 0; width: 18px; border-right: 1px solid rgba(244, 241, 234, 0.08);
  background-image: repeating-linear-gradient(180deg, rgba(244, 241, 234, 0.25) 0 1px, transparent 1px 10%), repeating-linear-gradient(180deg, rgba(244, 241, 234, 0.12) 0 1px, transparent 1px 2%);
  background-size: 9px 100%, 4px 100%; background-position: right; background-repeat: no-repeat;
}
.studio__svg { display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.studio__logo { transform-origin: 50.5px 50px; transform-box: view-box; }
.studio__pen { pointer-events: none; }
.studio__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid rgba(244, 241, 234, 0.08);
  font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.studio__swatches { display: flex; gap: 8px; }
.studio__swatches i {
  width: 18px; height: 18px; border-radius: 5px; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.studio__swatches i.is-active { transform: translateY(-3px) scale(1.15); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); }

.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
  color: var(--ink);
  background: rgba(24, 24, 24, 0.82);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  will-change: transform;
}
.chip i { font-style: normal; color: var(--gold); }
.chip b { font-weight: 600; }
.chip--tool { top: 13%; left: -14%; }
.chip--font { top: -4%; right: 8%; }
.chip--font i { font-family: var(--f-display); font-size: 1rem; }
.chip--size { bottom: 12%; right: -7%; background: #4fc3f7; color: #06202b; border-color: transparent; font-variant-numeric: tabular-nums; }
.chip--layer { bottom: -4%; left: 6%; }

.hero__glow {
  position: absolute; right: 8%; top: 50%;
  width: min(60vw, 720px); aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(236, 192, 119, 0.16), transparent 62%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateY(-50%) scale(1.12); opacity: 0.7; } }

.hero__content { position: relative; z-index: 2; max-width: 52%; pointer-events: none; }
@media (max-width: 860px) { .hero__content { max-width: none; } }
.hero__content a { pointer-events: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(4.2rem, 10vw, 11rem);
  line-height: 0.84; letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__title .line:last-child { color: var(--gold); }
.hero__rotator {
  margin: 26px 0 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.35em;
  font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em;
}
.rotator { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-right: 0.1em; }
.rotator__word {
  display: inline-block;
  font-family: var(--f-serif); font-style: italic; color: var(--gold);
}
.hero__tag { margin: 14px 0 0; color: var(--muted); max-width: 34ch; }
.hero__tag em { color: var(--ink); }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--faint); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--gold); animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

/* ------------------------------------------------------------------ Type tool */
/* Services typed into an Illustrator-style point-text frame */
.typeset {
  --sel: #4fc3f7;
  display: grid; place-items: center;
  padding: clamp(60px, 9vw, 130px) var(--gutter) clamp(20px, 4vw, 60px);
  overflow: hidden;
}
.typeset__stage { position: relative; display: grid; justify-items: center; }
.typeset__frame {
  position: relative;
  min-width: 1.2em; min-height: 1em;
  padding: 0.06em 0.12em 0.02em;
  font-size: clamp(4.2rem, 13vw, 12rem); line-height: 1;
  outline: 1px solid var(--sel);
  transition: outline-color 0.3s;
}
.typeset__frame.is-off { outline-color: transparent; }
.typeset__frame.is-off .typeset__handle, .typeset__frame.is-off .typeset__port, .typeset__frame.is-off .typeset__baseline { opacity: 0; }
.typeset__handle {
  position: absolute; width: 9px; height: 9px; margin: -5px 0 0 -5px;
  background: var(--bg); border: 1px solid var(--sel);
  transition: opacity 0.3s;
}
.typeset__port {                         /* in/out ports on a text frame */
  position: absolute; top: 50%; width: 11px; height: 11px; margin-top: -6px;
  background: var(--bg); border: 1px solid var(--sel); transition: opacity 0.3s;
}
.typeset__port--in { left: -6px; }
.typeset__port--out { right: -6px; }
.typeset__port--out::after { content: ""; position: absolute; inset: 3px; background: var(--sel); }
.typeset__baseline {
  position: absolute; left: 0.12em; right: 0.12em; bottom: 0.17em; height: 1px; background: var(--sel); opacity: 0.8;
  transition: opacity 0.3s;
}
.typeset__baseline::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sel); }
.typeset__line { display: inline-flex; align-items: stretch; white-space: pre; }
.typeset__text {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--ink);
  background: linear-gradient(var(--sel), var(--sel)) no-repeat right / 0% 100%;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.typeset__text.is-serif { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: -0.03em; color: var(--gold); font-size: 0.86em; align-self: center; }
.typeset__text.is-selected { background-size: 100% 100%; color: #fff; }
.typeset__caret { width: 3px; margin-left: 4px; background: var(--ink); align-self: stretch; margin-block: 0.12em; animation: caret 1s steps(1) infinite; }
.typeset__text.is-selected + .typeset__caret { opacity: 0; }
@keyframes caret { 50% { opacity: 0; } }

.typeset__cursor { position: absolute; left: -46px; top: 50%; width: 22px; height: 30px; margin-top: -15px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.typeset__cursor.is-click { animation: click 0.35s var(--ease); }
@keyframes click { 40% { transform: scale(0.75); } }

.typeset__tool { position: relative; justify-self: start; margin: 0 0 18px -8px; }
.typeset__tool i { font-family: var(--f-serif); font-weight: 600; }
.typeset__panel { position: relative; justify-self: end; margin: 18px -8px 0 0; font-variant-numeric: tabular-nums; }
.typeset .chip { position: relative; }
@media (max-width: 600px) {
  .typeset__cursor { left: -30px; width: 16px; }
  .typeset__tool, .typeset__panel { justify-self: center; margin-inline: 0; }
}
/* ------------------------------------------------------------------ Statement */
.statement { padding: clamp(80px, 14vw, 200px) var(--gutter); }
.statement__text {
  margin: 0 auto; max-width: 1200px;
  font-size: clamp(1.8rem, 4.4vw, 4.2rem);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.035em;
}
.statement__text .word { opacity: 0.14; transition: opacity 0.2s; }
.statement__text em { letter-spacing: -0.01em; }

/* ------------------------------------------------------------------ Section heads */
.section-head {
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 8px 24px;
  margin-bottom: clamp(36px, 6vw, 72px);
  padding-bottom: 24px; border-bottom: 1px solid var(--faint);
}
.section-head__num small { font-size: 0.7em; color: var(--muted); letter-spacing: 0.05em; }
.section-head__num {
  font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.1em;
  align-self: start; padding-top: 1em;
}
.section-head__title {
  margin: 0; overflow: hidden;
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.6rem, 11vw, 10rem); line-height: 0.85;
}
.section-head__note { grid-column: 2; margin: 0; color: var(--muted); max-width: 40ch; }

/* Living gorilla that sits on divider lines */
.section-head { position: relative; }
.section-head__mascot {
  position: absolute; right: 0; bottom: -38px;
  width: 76px; height: 76px; padding: 5px;
  background: var(--bg); border-radius: 50%;
}
[data-mascot] { display: block; cursor: pointer; }
.mascot { display: block; width: 100%; height: 100%; overflow: visible; }
/* ------------------------------------------------------------------ Work */
.work, .services, .contact { padding: clamp(60px, 10vw, 140px) var(--gutter); }

.work__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.card--wide { grid-column: span 2; }
.card__btn { display: block; width: 100%; text-align: left; }
.card__media {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  clip-path: inset(0 0 0 0 round var(--radius));
}
.card--wide .card__media { aspect-ratio: 16 / 8.2; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.1s var(--ease), filter 0.6s;
}
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  opacity: 0; transition: opacity 0.5s;
}
.card__btn:hover .card__media img, .card__btn:focus-visible .card__media img { transform: scale(1.04) !important; }
.card__btn:hover .card__media::after { opacity: 1; }
.card__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 4px 0;
}
.card__meta strong { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.card__meta em { font-family: var(--f-body); font-style: normal; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.card__meta strong { position: relative; }
.card__meta strong::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card__btn:hover .card__meta strong::after { transform: scaleX(1); }

/* Illustrator-style arranging: selection box, handles, link chip, cursor, smart guides */
.work { overflow-x: clip; }
.work__grid { position: relative; }
.card { position: relative; will-change: transform; }
.card__frame { position: relative; display: block; }
.sel {
  position: absolute; inset: -1px; pointer-events: none;
  border: 1px solid #4fc3f7; border-radius: calc(var(--radius) + 1px);
  opacity: 0; transition: opacity 0.2s;
}
.sel i { position: absolute; width: 9px; height: 9px; margin: -5px 0 0 -5px; background: #fff; border: 1px solid #4fc3f7; }
.sel i:nth-child(1) { left: 0; top: 0; }    .sel i:nth-child(2) { left: 50%; top: 0; }   .sel i:nth-child(3) { left: 100%; top: 0; }
.sel i:nth-child(4) { left: 0; top: 50%; }  .sel i:nth-child(5) { left: 100%; top: 50%; }
.sel i:nth-child(6) { left: 0; top: 100%; } .sel i:nth-child(7) { left: 50%; top: 100%; } .sel i:nth-child(8) { left: 100%; top: 100%; }
.sel__chip {
  position: absolute; left: 10px; top: 10px;
  padding: 5px 9px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600; color: #06202b; background: #4fc3f7;
  max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.card.is-selected .sel, .card__btn:hover .sel, .card__btn:focus-visible .sel { opacity: 1; }
.card__btn:hover .sel__chip, .card__btn:focus-visible .sel__chip { opacity: 1; transform: none; }
.card.is-selected .card__media { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }

/* The "Gorilla" collaborator cursor — styled so it's clearly not the visitor's own mouse */
.ai-cursor { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; opacity: 0; }
.ai-cursor svg {
  position: relative; width: 28px; height: 34px;
  filter: drop-shadow(0 0 10px rgba(236, 192, 119, 0.55)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.15s;
}
.ai-cursor.is-dragging svg { transform: scale(0.88); }
.ai-ripple {
  position: absolute; left: -14px; top: -14px; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0;
}
.ai-name {
  position: absolute; left: 24px; top: 26px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 5px; border-radius: 999px 999px 999px 4px;
  background: var(--gold); color: var(--bg);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  width: max-content;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.7);
}
.ai-name img { flex: none; width: 18px; height: 18px; padding: 1px; border-radius: 50%; background: var(--bg); }
.ai-tip {
  position: absolute; left: 24px; top: 56px; white-space: nowrap; width: max-content;
  padding: 4px 9px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(20, 20, 20, 0.92); color: var(--gold); border: 1px solid rgba(236, 192, 119, 0.4);
  opacity: 0; transform: translateY(-4px); transition: opacity 0.15s, transform 0.2s;
}
.ai-cursor.is-dragging .ai-tip { opacity: 1; transform: none; }
.ai-guide { position: absolute; z-index: 25; pointer-events: none; background: #ff4fd8; opacity: 0; }
.ai-guide--h { left: -2vw; right: -2vw; height: 1px; }
.ai-guide--v { top: -40px; bottom: -40px; width: 1px; }
/* ------------------------------------------------------------------ Services */
/* Colour-swatch chips; flip on hover (or tap) to reveal the description */
.swatches {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px);
}
.swatch { perspective: 1400px; }
.swatch__card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 5 / 7.4; text-align: left;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}
/* hover is detected on the stable outer slot, not the rotating card, so the flip can't flicker */
@media (hover: hover) { .swatch:hover .swatch__card, .swatch__card:focus-visible { transform: rotateY(180deg); } }
@media (hover: none) { .swatch__card.is-flipped { transform: rotateY(180deg); } }
.swatch__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #f4f1ea; color: #0b0b0b;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.swatch__chip {
  position: relative; flex: 1 1 auto;
  background: var(--sw); color: var(--ink);
  display: flex; align-items: flex-end; padding: 18px;
}
.swatch__chip { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

/* looping icon animations */
.swatch__icon * { transform-box: fill-box; }
/* pen tool: nib taps the anchor point, the bezier handle swings */
.swatch__icon .i-nib { animation: tap 2.4s ease-in-out infinite; }
.swatch__icon .i-anchor { fill: currentColor; transform-origin: 50% 50%; animation: anchor 2.4s ease-in-out infinite; }
.swatch__icon .i-handle { transform-origin: 50% 50%; animation: swing 2.4s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translateY(-3px); } 18%, 26% { transform: translateY(4px); } 40% { transform: translateY(-3px); } }
@keyframes anchor { 0%, 16%, 40%, 100% { transform: scale(1); } 22% { transform: scale(1.5); } }
@keyframes swing { 0%, 22% { transform: rotate(0deg); } 50% { transform: rotate(-22deg); } 75% { transform: rotate(14deg); } 100% { transform: rotate(0deg); } }
.swatch__icon .i-card { transform-origin: 15% 95%; animation: fan 3s ease-in-out infinite; }
.swatch__icon .i-card--1 { --r: -4deg; }
.swatch__icon .i-card--2 { --r: 14deg; animation-delay: 0.05s; }
.swatch__icon .i-card--3 { --r: 32deg; animation-delay: 0.1s; }
@keyframes fan { 0%, 15%, 100% { transform: rotate(0deg); } 45%, 75% { transform: rotate(var(--r)); } }
.swatch__icon .i-heart { transform-origin: 50% 50%; fill: currentColor; animation: beat 1.3s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(0.95); } 45% { transform: scale(1.2); } }
.swatch__icon .i-paper { animation: feed 2.6s ease-in-out infinite; }
@keyframes feed { 0%, 10% { transform: translateY(-12px); opacity: 0; } 25% { opacity: 1; } 60%, 85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }
.swatch__icon .i-led { fill: currentColor; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.swatch__icon .i-scroll { animation: feed 2.4s ease-in-out infinite; }
.swatch__icon { width: clamp(52px, 5vw, 72px); height: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.swatch__info { display: grid; gap: 2px; padding: 16px 18px 18px; }
.swatch__info strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.swatch__info small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: #555; font-variant-numeric: tabular-nums; }
.swatch__face--back {
  transform: rotateY(180deg);
  background: var(--sw); color: var(--ink);
  padding: clamp(18px, 2vw, 26px); gap: 10px; justify-content: flex-end;
}
.swatch__face--back small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: auto; }
.swatch__face--back strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 0.95; text-transform: uppercase; }
.swatch__face--back span { font-size: 0.95rem; line-height: 1.5; }
.swatch__face--back span em { color: inherit; }
.swatch__face--back em { font-family: var(--f-body); font-style: normal; font-size: 0.8rem; font-weight: 600; opacity: 0.7; }
@media (max-width: 1024px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .swatch__card { aspect-ratio: 5 / 6.4; } }

/* ------------------------------------------------------------------ Contact */
.contact {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start;
}
.contact__title {
  margin: 14px 0 34px;
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(4rem, 10vw, 9.5rem); line-height: 0.86;
}
.contact__title em { text-transform: none; font-size: 0.92em; }
.contact__email {
  display: inline-block;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px; word-break: break-word;
}
.contact__email:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--faint); border-radius: 999px; font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.socials a:hover { border-color: var(--gold); background: var(--gold); color: var(--bg); }

/* "New Project" document dialog */
.doc {
  --ui: #1c1c1c; --ui-2: #232323; --ui-line: rgba(244, 241, 234, 0.1); --focus: #4fc3f7;
  background: var(--ui); border: 1px solid var(--ui-line); border-radius: 14px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.doc__bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  height: 42px; padding: 0 14px; background: #262626; border-bottom: 1px solid var(--ui-line);
  font-size: 0.8rem; color: var(--muted);
}
.doc__dots { display: flex; gap: 6px; }
.doc__dots i { width: 11px; height: 11px; border-radius: 50%; }
.doc__dots i:nth-child(1) { background: #ff5f57; } .doc__dots i:nth-child(2) { background: #febc2e; } .doc__dots i:nth-child(3) { background: #28c840; }
.doc__title { text-align: center; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc__kbd { font-size: 0.7rem; padding: 2px 6px; border: 1px solid var(--ui-line); border-radius: 4px; }
.doc__body { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 22px; }
.doc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.doc__presets { border: 0; margin: 0; padding: 0; min-width: 0; }
.doc__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: #141414; border: 1px solid var(--ui-line); border-radius: 10px; }
.doc__tab { position: relative; flex: 1 1 auto; }
.doc__tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.doc__tab span {
  display: block; text-align: center; padding: 9px 12px; border-radius: 7px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.doc__tab:hover span { color: var(--ink); }
.doc__tab input:checked + span { background: var(--gold); color: var(--bg); }
.doc__tab input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.doc__main { display: grid; grid-template-columns: 1fr 170px; gap: 22px; align-items: start; }
.doc__fields { display: grid; gap: 14px; min-width: 0; }
.doc__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc input:not([type="radio"]):not([type="range"]):not([type="hidden"]), .doc textarea {
  width: 100%; padding: 11px 12px;
  background: #121212; color: var(--ink);
  border: 1px solid var(--ui-line); border-radius: 8px;
  font: inherit; font-size: 0.95rem;
  caret-color: var(--gold);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.doc textarea { resize: vertical; min-height: 110px; }
.doc input::placeholder, .doc textarea::placeholder { color: rgba(244, 241, 234, 0.28); }
.doc input:focus, .doc textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.18); }
.doc__err { display: block; min-height: 0; margin-top: 6px; font-size: 0.78rem; color: #ff9a7f; line-height: 1.35; }
.doc__err:empty { display: none; }
.doc .is-invalid { border-color: #ff7a59 !important; box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.18) !important; }
.doc__budget { font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--gold); font-variant-numeric: tabular-nums; }
.doc__slider {
  --fill: 13%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; margin: 8px 0 4px;
  background: linear-gradient(90deg, var(--gold) var(--fill), #333 var(--fill));
  cursor: pointer;
}
.doc__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.doc__slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 0; }
.doc__slider:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.doc__preview { display: grid; gap: 8px; }
.doc__canvas {
  aspect-ratio: 1; display: grid; place-items: center; padding: 14px;
  background: #1a1a1a repeating-conic-gradient(#202020 0% 25%, #1a1a1a 0% 50%) 0 0 / 14px 14px;
  border: 1px solid var(--ui-line); border-radius: 8px;
}
.doc__artboard {
  position: relative; width: 100%; height: 100%;
  background: #0b0b0b; outline: 1px solid #4fc3f7;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.9);
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
}
/* selection handles on the artboard corners */
.doc__artboard::before, .doc__artboard::after {
  content: ""; position: absolute; z-index: 2; width: 6px; height: 6px; background: #fff; border: 1px solid #4fc3f7;
}
.doc__artboard::before { left: -4px; top: -4px; }
.doc__artboard::after { right: -4px; bottom: -4px; }
/* mini mock-ups, one per preset */
.ab { position: absolute; inset: 0; padding: 12%; display: none; opacity: 0; }
.doc__artboard[data-kind="logo"] .ab--logo, .doc__artboard[data-kind="brand"] .ab--brand,
.doc__artboard[data-kind="social"] .ab--social, .doc__artboard[data-kind="print"] .ab--print,
.doc__artboard[data-kind="web"] .ab--web, .doc__artboard[data-kind="other"] .ab--other { display: grid; animation: ab-in 0.5s var(--ease) forwards; }
@keyframes ab-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
.ab i { display: block; font-style: normal; }
.ab--logo { place-items: center; }
.ab--logo img { width: 72%; height: auto; }
.ab--brand { grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: center; gap: 6% 10%; padding: 10% 12%; }
.ab--brand img { width: 34px; height: auto; }
.ab--brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--gold); justify-self: end; }
.ab__chips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ab__chips i { height: 12px; border-radius: 2px; }
.ab__chips i:nth-child(1) { background: #ECC077; } .ab__chips i:nth-child(2) { background: #C9923F; }
.ab__chips i:nth-child(3) { background: #F3E2BC; } .ab__chips i:nth-child(4) { background: #666; }
.ab--social { grid-template-rows: 1fr auto auto; gap: 7%; padding: 9%; }
.ab__img { border-radius: 4px; background: linear-gradient(135deg, #ECC077, #8a5a1c); }
.ab__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; }
.ab__avatar { width: 12px; height: 12px; border-radius: 50%; background: #f4f1ea; }
.ab__line { height: 5px; border-radius: 3px; background: rgba(244, 241, 234, 0.35); }
.ab__line--short { width: 55%; }
.ab__heart { color: #ff6b6b; font-size: 0.8rem; line-height: 1; }
.ab--print { align-content: start; gap: 6px; padding: 12% 12%; }
.ab__head { height: 16px; width: 90%; background: var(--gold); border-radius: 2px; }
.ab__head--2 { width: 65%; margin-bottom: 8px; }
.ab--print img { position: absolute; right: 10%; bottom: 8%; width: 24px; height: auto; }
.ab--other { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 7%; padding: 11%; }
.ab__tile { position: relative; display: grid !important; place-items: center; border-radius: 3px; background: #1c1c1c; overflow: hidden; }
.ab__tile img { width: 60%; height: auto; }
.ab__tile--chips { grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 22% 14%; place-items: stretch; }
.ab__tile--chips b { border-radius: 1px; background: #ECC077; } .ab__tile--chips b:nth-child(2) { background: #fff; } .ab__tile--chips b:nth-child(3) { background: #666; }
.ab__tile--post { background: linear-gradient(135deg, #ECC077, #8a5a1c); }
.ab__tile--doc { align-content: start; gap: 3px; padding: 16% 14%; place-items: stretch; background: #f4f1ea; }
.ab__tile--doc b { height: 5px; border-radius: 1px; background: #ECC077; } .ab__tile--doc b + b { width: 60%; }
.ab--web { grid-template-rows: auto 1fr auto; gap: 6px; padding: 0 0 9%; }
.ab__bar { display: flex; gap: 3px; padding: 5px 6px; background: #1c1c1c; }
.ab__bar i { width: 5px; height: 5px; border-radius: 50%; background: #555; }
.ab__hero { margin: 0 9%; border-radius: 3px; background: linear-gradient(135deg, #ECC077, #8a5a1c); }
.ab__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0 9%; }
.ab__cols i { height: 12px; border-radius: 2px; background: rgba(244, 241, 234, 0.25); }
.doc__size { font-size: 0.75rem; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.doc__foot {
  position: relative;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px clamp(18px, 2.4vw, 28px); background: #181818; border-top: 1px solid var(--ui-line);
}
.doc__progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.doc__progress span { display: block; width: 0; height: 100%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.form__status { margin: 0 auto 0 0; font-size: 0.85rem; color: var(--muted); flex: 1 1 180px; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-error { color: #ff9a7f; }
.doc__reset { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ui-line); color: var(--muted); font-weight: 600; transition: color 0.2s, border-color 0.2s; }
.doc__reset:hover { color: var(--ink); border-color: var(--muted); }
.doc .btn { --h: 48px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
@media (max-width: 600px) {
  .doc__main { grid-template-columns: 1fr; }
  .doc__preview { grid-template-columns: 90px 1fr; align-items: center; }
  .doc__preview .doc__label { display: none; }
  .doc__size { text-align: left; }
  .doc__row--split { grid-template-columns: 1fr; }
  .doc__kbd { display: none; }
  .doc__foot .btn { flex: 1 1 auto; justify-content: center; }
}

/* ------------------------------------------------------------------ Footer */
.footer {
  --mx: 50%; --my: 30%;
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(40px, 6vw, 90px);
  padding: 0 var(--gutter) 28px;
  background: #0e0e0e;
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
}
/* Artboard grid, faded towards the edges */
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
/* Gold spotlight that follows the cursor */
.footer__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(236, 192, 119, 0.13), transparent 60%);
  transition: opacity 0.4s;
}

.footer__draw { position: relative; height: 110px; display: flex; align-items: center; }
.footer__line {
  position: absolute; left: 0; right: 74px; top: 50%; height: 1px;
  background: linear-gradient(90deg, rgba(236, 192, 119, 0.15), var(--gold));
  transform-origin: left;
}
.footer__nib { position: absolute; top: calc(50% - 1px); left: 0; width: 18px; height: 27px; margin-left: -9px; pointer-events: none; }
.footer__mark { position: absolute; right: 0; top: 50%; width: 64px; height: 64px; margin-top: -32px; }

.footer__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 7vw, 100px);
}
.footer__eyebrow {
  margin: 0 0 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

/* Giant rolling links */
.footer__links { display: grid; }
.footer__links a {
  position: relative;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 24px);
  padding: clamp(6px, 1vw, 12px) 0;
  border-bottom: 1px solid var(--faint);
}
.footer__links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.7s var(--ease);
}
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__links small { font-size: 0.8rem; color: var(--gold); font-variant-numeric: tabular-nums; align-self: flex-start; margin-top: 1.2em; }
.roll {
  /* both words share one grid cell so the box fits the wider (italic) one; clip only top/bottom */
  position: relative; display: grid; justify-items: start; padding-right: 0.12em;
  clip-path: inset(0 -0.5em 0 -0.2em);
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 8.5rem); line-height: 0.95; height: 0.95em;
}
.roll > span { grid-area: 1 / 1; display: block; transition: transform 0.7s var(--ease); }
.roll > span + span { transform: translateY(100%); }
.roll em { font-size: 0.9em; text-transform: none; letter-spacing: -0.01em; }
.footer__links a:hover .roll > span:first-child { transform: translateY(-100%); }
.footer__links a:hover .roll > span + span { transform: translateY(0); }
.footer__links i {
  margin-left: auto; font-style: normal; font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--muted);
  transition: transform 0.7s var(--ease), color 0.4s;
}
.footer__links a:hover i { transform: rotate(45deg); color: var(--gold); }

/* Info cards */
.footer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fcard {
  position: relative; overflow: hidden;
  padding: 22px;
  background: rgba(24, 24, 24, 0.7);
  border: 1px solid var(--faint);
  border-radius: 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.fcard:hover { border-color: rgba(236, 192, 119, 0.4); transform: translateY(-4px); }
.fcard--email, .fcard--social { grid-column: span 2; }
.fcard__email {
  display: inline-block; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; word-break: break-word;
  background: linear-gradient(90deg, var(--gold), var(--gold)) no-repeat 0 100% / 0% 1px;
  transition: background-size 0.6s var(--ease), color 0.3s;
  padding-bottom: 2px;
}
.fcard__email:hover { background-size: 100% 1px; color: var(--gold); }
.fcard__copy {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--faint); background: rgba(11, 11, 11, 0.6);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.fcard__copy span { transition: transform 0.4s var(--ease); }
.fcard__copy:hover span { transform: rotate(45deg); }
.fcard__copy:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.fcard__time { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.fcard__time span { font-family: var(--f-display); font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.fcard__time small { font-size: 0.8rem; color: var(--gold); font-weight: 600; }
.fcard__note { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
/* live open / closed status */
.fcard__status { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.fcard__status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff6b5b; box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.18); }
.fcard__status[data-open="true"] i { background: #5ee08f; box-shadow: 0 0 0 0 rgba(94, 224, 143, 0.6); animation: pulse 2s infinite; }
.fcard__status[data-open="true"] { color: #8ef0b0; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(94, 224, 143, 0); } }
.fcard--clock { grid-column: span 2; }
.fcard__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fcard__tiles a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--faint);
  font-weight: 600;
  transition: color 0.5s var(--ease), border-color 0.4s;
}
.fcard__tiles a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path 0.6s var(--ease);
}
.fcard__tiles a:hover { color: var(--bg); border-color: var(--gold); }
.fcard__tiles a:hover::before { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
/* social icons */
.ico { width: 18px; height: 18px; flex: none; }
.fcard__tiles a b { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.fcard__tiles .ico { width: 22px; height: 22px; transition: transform 0.5s var(--ease); }
.fcard__tiles a:hover .ico { transform: scale(1.15) rotate(-8deg); }
.fcard__tiles a span { transition: transform 0.5s var(--ease); }
.fcard__tiles a:hover span { transform: rotate(45deg); }

/* Bottom bar */
.footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--faint);
  font-size: 0.85rem; color: var(--muted);
}
.footer__tag em { color: var(--ink); }
.footer__bar { padding-right: 84px; }
/* Back to top — a Bezier anchor; the artboard outline draws as you scroll */
.totop {
  position: fixed; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); z-index: 95;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop svg {
  width: 58px; height: 58px; overflow: visible;
  background: rgba(20, 20, 20, 0.82); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8);
}
.totop__track { fill: none; stroke: rgba(244, 241, 234, 0.12); stroke-width: 1; }
.totop__progress { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 100; stroke-dashoffset: 100; }
.totop__corners rect { fill: var(--bg); stroke: #4fc3f7; stroke-width: 0.8; }
.totop__rocket { transform-box: fill-box; transform-origin: 50% 60%; transition: transform 0.4s var(--ease); }
.r-flame { transform-box: fill-box; transform-origin: 50% 0; animation: flicker 0.18s ease-in-out infinite alternate; }
.r-flame--in { animation-duration: 0.12s; }
@keyframes flicker { from { transform: scaleY(0.75) scaleX(0.9); } to { transform: scaleY(1.15) scaleX(1.05); } }
.totop:hover .totop__rocket { animation: rumble 0.12s linear infinite; }
.totop:hover .r-flame { animation-duration: 0.08s; transform: scaleY(1.5); }
@keyframes rumble { 0% { transform: translate(0.4px, 0); } 50% { transform: translate(-0.4px, 0.3px); } 100% { transform: translate(0.3px, -0.3px); } }

/* Rocket launched on click (created by JS, fixed to the viewport) */
.rocket-flight { position: fixed; z-index: 96; width: 58px; pointer-events: none; }
.rocket-flight svg { width: 58px; height: 58px; overflow: visible; display: block; }
.rocket-flight__trail {
  position: absolute; left: 50%; top: 46px; width: 6px; height: 160px; margin-left: -3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, rgba(255, 190, 90, 0.9), rgba(236, 192, 119, 0.35) 40%, transparent);
  transform-origin: top; filter: blur(1px);
}.totop__readout {
  padding: 7px 12px; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  color: var(--ink); background: #4fc3f7; color: #06202b;
  opacity: 0; transform: translateX(10px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  white-space: nowrap;
}
.totop:hover .totop__readout, .totop.is-going .totop__readout { opacity: 1; transform: none; }
@media (hover: none) { .totop__readout { display: none; } }@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 140;
  display: grid; grid-template-columns: 70px 1fr 70px; align-items: center;
  padding: 70px 16px 24px;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; gap: 16px; justify-items: center; min-width: 0; }
.lightbox__figure img {
  max-height: calc(100svh - 170px); width: auto; max-width: 100%;
  border-radius: var(--radius); object-fit: contain;
}
.lightbox figcaption { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; justify-content: center; }
.lightbox figcaption strong { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; letter-spacing: 0.02em; }
.lightbox figcaption em { font-family: var(--f-body); font-style: normal; color: var(--muted); }
.lightbox__count { color: var(--gold); font-size: 0.85rem; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--faint); font-size: 1.8rem; line-height: 1;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.lightbox__close:hover { transform: rotate(90deg); background: var(--gold); color: var(--bg); }
.lightbox__nav {
  width: 54px; height: 54px; border-radius: 50%; justify-self: center;
  border: 1px solid var(--faint); font-size: 1.3rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox__nav:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1024px) {
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
  .studio { position: relative; right: auto; top: auto; translate: none; width: min(100%, 440px); margin: 0 auto; }
  .chip { font-size: 0.7rem; padding: 7px 11px; }
  .chip--tool { left: -2%; top: 16%; }
  .chip--size { right: -2%; }
  .chip--font, .chip--layer { display: none; }
  .hero__glow { right: 50%; top: 30%; transform: translate(50%, -50%); animation: none; width: 110vw; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__draw { height: 84px; }
  .footer__mark { width: 48px; height: 48px; margin-top: -24px; }
  .footer__line { right: 58px; }
  .work__grid { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .work__grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card__media, .card__media { aspect-ratio: 4 / 3; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__num { padding-top: 0; }
  .section-head__note { grid-column: 1; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding-inline: 12px; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; grid-column: 1; }
  .lightbox__nav--next { grid-row: 2; grid-column: 2; }
  .nav__brand span { font-size: 1.25rem; }
  .footer__tag { display: none; }
  .fcard__copy { position: static; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body::after { display: none; }
  .statement__text .word { opacity: 1; }
  .card__media img { transform: none; }
}

/* ------------------------------------------------------------------ Privacy line, policy link, cookie notice */
.doc__privacy { margin: -6px 0 0; font-size: 0.8rem; color: var(--muted); }
.doc__privacy a, .footer__policy { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(236, 192, 119, 0.5); text-underline-offset: 3px; }
.doc__privacy a:hover, .footer__policy:hover { color: var(--gold); }

/* Cookie notice: an actual (animated) cookie with a speech bubble */
.cookie {
  position: fixed; left: clamp(10px, 2.4vw, 32px); bottom: clamp(10px, 2.4vw, 28px); z-index: 97;
  display: flex; align-items: flex-end; gap: 12px;
  max-width: min(520px, calc(100vw - 96px));
  pointer-events: none;
}
.cookie > * { pointer-events: auto; }
.cookie__biscuit { position: relative; flex: none; width: 78px; height: 78px; transform-origin: 50% 50%; }
.cookie__biscuit svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); }
/* resting state is its normal place; every animation starts from there, so nothing jumps */
.cookie:not(.is-on) .cookie__biscuit { opacity: 0; }
.cookie.is-on .cookie__biscuit { animation: cookie-roll 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.15) both, cookie-wobble 2.6s ease-in-out 1s infinite; }
@keyframes cookie-roll { from { transform: translateX(-160%) rotate(-400deg); } to { transform: translateX(0) rotate(0deg); } }
@keyframes cookie-wobble { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-9deg) translateY(-3px); } 55% { transform: rotate(6deg); } }
.cookie .bite { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cookie.is-eaten .bite--1 { transform: scale(1); transition-delay: 0.08s; }
.cookie.is-eaten .bite--2 { transform: scale(1); transition-delay: 0.42s; }
/* two chomps (a bite lands on each), then it shrinks away */
.cookie.is-eaten .cookie__biscuit { animation: cookie-munch 0.34s ease-in-out 2, cookie-gone 0.45s cubic-bezier(0.5, 0, 0.75, 0) 0.72s forwards; }
@keyframes cookie-munch { 0%, 100% { transform: scale(1) rotate(0deg); } 45% { transform: scale(0.9, 0.94) rotate(-5deg); } 75% { transform: scale(1.03) rotate(2deg); } }
@keyframes cookie-gone { 0% { transform: scale(1) rotate(0deg); opacity: 1; } 100% { transform: scale(0.3) rotate(25deg); opacity: 0; } }
.crumb { position: absolute; top: 20%; right: 10%; width: 7px; height: 6px; border-radius: 40%; background: #D6A35B; opacity: 0; }
.crumb:nth-of-type(2) { width: 5px; height: 5px; background: #4A2A14; }
.crumb:nth-of-type(3) { width: 6px; height: 4px; }
.crumb:nth-of-type(4) { width: 4px; height: 4px; background: #B8803A; }
.cookie.is-eaten .crumb { animation: crumb 0.9s cubic-bezier(0.3, 0, 0.7, 1) forwards; }
.cookie.is-eaten .crumb:nth-of-type(2) { animation-delay: 0.12s; --dx: -18px; }
.cookie.is-eaten .crumb:nth-of-type(3) { animation-delay: 0.3s; --dx: 22px; }
.cookie.is-eaten .crumb:nth-of-type(4) { animation-delay: 0.42s; --dx: -6px; }
@keyframes crumb { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx, 12px), 90px) rotate(200deg); } }
.cookie.is-rejected .cookie__biscuit { animation: cookie-no 0.45s ease-in-out, cookie-away 0.7s cubic-bezier(0.5, 0, 0.9, 0.4) 0.45s forwards; }
@keyframes cookie-no { 0%, 100% { transform: rotate(0deg); } 20%, 60% { transform: rotate(-14deg); } 40%, 80% { transform: rotate(14deg); } }
@keyframes cookie-away { 0% { transform: translateX(0) rotate(0deg); opacity: 1; } 100% { transform: translateX(-180%) rotate(-420deg); opacity: 0; } }

.cookie__bubble {
  position: relative;
  display: grid; gap: 10px;
  padding: 14px 14px 12px 16px;
  background: rgba(24, 24, 24, 0.95); border: 1px solid var(--faint); border-radius: 16px 16px 16px 4px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  font-size: 0.85rem; color: var(--muted);
  opacity: 0; transform: translateY(10px) scale(0.92); transform-origin: bottom left;
  transition: opacity 0.35s var(--ease) 0.55s, transform 0.5s var(--ease) 0.55s;
}
.cookie__bubble::before {        /* speech-bubble tail pointing at the cookie */
  content: ""; position: absolute; left: -7px; bottom: 16px; width: 12px; height: 12px;
  background: inherit; border-left: 1px solid var(--faint); border-bottom: 1px solid var(--faint);
  transform: rotate(45deg); border-radius: 0 0 0 3px;
}
.cookie.is-on .cookie__bubble { opacity: 1; transform: none; }
.cookie.is-eaten .cookie__bubble, .cookie.is-rejected .cookie__bubble { opacity: 0; transform: translateY(8px) scale(0.95); transition-delay: 0s; }
.cookie p { margin: 0; }
.cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie a:hover { color: var(--gold); }
.cookie__text { display: none; }
.cookie[data-mode="info"] .cookie__text--info, .cookie[data-mode="ga"] .cookie__text--ga { display: inline; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie__btn { height: 34px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 700; font-size: 0.85rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cookie__btn:hover { background: #fff; }
.cookie__btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--faint); }
.cookie__btn--ghost:hover { background: transparent; border-color: var(--ink); }
.cookie[data-mode="info"] [data-cookie="grant"], .cookie[data-mode="info"] [data-cookie="deny"],
.cookie[data-mode="ga"] [data-cookie="ok"] { display: none; }
@media (max-width: 600px) {
  .cookie { flex-direction: column; align-items: flex-start; max-width: calc(100vw - 90px); }
  .cookie__biscuit { width: 58px; height: 58px; margin-left: 8px; }
  .cookie__bubble { border-radius: 4px 16px 16px 16px; }
  .cookie__bubble::before { left: 26px; bottom: auto; top: -7px; transform: rotate(135deg); }
}

/* ------------------------------------------------------------------ FAQ */
.faq { padding: clamp(60px, 10vw, 140px) var(--gutter) 0; }
/* two independent columns: opening an answer only pushes down its own column */
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(14px, 2vw, 24px); align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 900px) {
  .faq__list { display: flex; flex-direction: column; }
  .faq__col { display: contents; }   /* merge back into one list, in the original order */
}
.faq__item { border: 1px solid var(--faint); border-radius: 16px; background: var(--bg-2); overflow: hidden; transition: border-color 0.3s; }
.faq__item[open] { border-color: rgba(236, 192, 119, 0.45); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
  cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--gold); }
.faq__item summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--faint); transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.faq__item summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq__item[open] summary i { transform: rotate(180deg); background: var(--gold); border-color: var(--gold); color: var(--bg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 26px); color: rgba(244, 241, 234, 0.78); max-width: 72ch; }
.faq__a p { margin: 0; }
.faq__a em { color: var(--gold); }

/* footer policy links */
.footer__legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }
button.footer__policy { font-size: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(236, 192, 119, 0.5); text-underline-offset: 3px; }
.policy__settings { margin-top: 40px; }

/* ------------------------------------------------------------------ Privacy & cookies page */
.page-policy .nav { position: sticky; }
.policy__back { font-weight: 500; }
.policy__back:hover { color: var(--gold); }
.policy { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 100px) 16px 100px; }
.policy__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: 0.9; text-transform: uppercase; }
.policy__updated { margin: 14px 0 40px; color: var(--muted); font-size: 0.9rem; }
.policy__body h2 { margin: 42px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; color: var(--gold); scroll-margin-top: 90px; }
.policy__body p { margin: 0 0 14px; color: rgba(244, 241, 234, 0.82); }
.policy__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
