/* Cee Curates. Rebrand 2026.
   Palette: cobalt, ink, bone, vermilion, butter.
   Motion rules: transform and opacity only, custom easing, reduced motion respected. */

:root {
  --cobalt: #1c2cf2;
  --ink: #0e0d13;
  --bone: #f3eee3;
  --vermilion: #ff4a1c;
  --butter: #ffd540;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --pad: clamp(18px, 3.4vw, 52px);
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", "Helvetica Neue", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.reduce { scroll-behavior: auto; }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain over everything. Static, so it costs nothing while scrolling. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 120;
  background: var(--butter); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transform: translateY(-200%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.burst { width: 0.62em; height: 0.62em; flex: none; }

@keyframes spin { to { rotate: 360deg; } }

/* Shared display voice */
.hero__title, .ctext h2, .statement__line, .wall__head h2, .contact__title,
.footer__mark, .tape, .nav__brand, .loader__mark, .menu__links a {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.86;
}

/* Line masks: text rises out of a clipped line */
.mask { display: block; overflow: hidden; padding: 0.12em 0 0.04em; margin: -0.12em 0 -0.04em; }
.mask > span { display: block; }

/* Reveal on enter. Uses the translate property so it never fights JS transforms. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 700ms var(--ease-out), translate 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.js [data-reveal-group] .mask > span {
  transform: translateY(108%);
  transition: transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal-group].in .mask > span { transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: scale 160ms var(--ease-out), background-color 200ms ease;
}
.btn svg { width: 18px; height: 18px; transition: translate 240ms var(--ease-out); }
.btn:active { scale: 0.97; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--bone);
  display: grid; place-content: center; gap: 18px;
  clip-path: inset(0 0 0 0);
  transition: clip-path 800ms var(--ease-in-out);
}
html:not(.js) .loader, .skip-loader .loader { display: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__mark { font-size: clamp(3rem, 11vw, 8.5rem); display: flex; align-items: center; gap: 0.06em; }
.loader__mark .burst { color: var(--butter); animation: spin 2.4s linear infinite; }
.loader__row {
  display: flex; justify-content: space-between; gap: 40px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.loader__count { font-variant-numeric: tabular-nums; color: var(--butter); }

/* Nav */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 24px);
  white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 20px;
  background: rgba(14, 13, 19, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 999px;
  color: var(--bone);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  transition: transform 420ms var(--ease-out);
}
.nav.is-hidden { transform: translate(-50%, -160%); }
.nav__brand { font-size: 21px; display: inline-flex; align-items: center; gap: 0.08em; margin-right: 14px; line-height: 1; padding: 6px 0; }
.nav__brand .burst { color: var(--butter); animation: spin 14s linear infinite; }
.nav__links { display: flex; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1;
  transition: background-color 180ms ease, scale 160ms var(--ease-out);
}
.nav__links a:active { scale: 0.97; }
.nav__cta {
  margin-left: 6px; padding: 11px 18px; border-radius: 999px;
  background: var(--butter); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1;
  transition: scale 160ms var(--ease-out), background-color 200ms ease;
}
.nav__cta:active { scale: 0.97; }
.nav__toggle {
  display: none; padding: 11px 18px; border-radius: 999px;
  background: var(--bone); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1;
  transition: scale 160ms var(--ease-out);
}
.nav__toggle:active { scale: 0.97; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cobalt); color: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  transition: clip-path 300ms var(--ease-drawer);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); transition-duration: 520ms; }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(3.4rem, 17vw, 7rem);
  opacity: 0; translate: 0 28px;
  transition: opacity 200ms ease, translate 200ms ease;
}
.menu__links a span { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; font-stretch: 100%; color: var(--butter); }
.menu.is-open .menu__links a {
  opacity: 1; translate: 0 0;
  transition: opacity 500ms var(--ease-out), translate 600ms var(--ease-out);
}
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 170ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 220ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 270ms; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; }
.menu__foot a { padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(243, 238, 227, 0.5); font-weight: 600; }
.menu__foot a:first-child { background: var(--butter); color: var(--ink); border-color: var(--butter); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--cobalt);
  padding: 96px var(--pad) var(--pad);
  display: flex; flex-direction: column;
  overflow: clip;
}
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero__title {
  position: relative; z-index: 1;
  margin-top: auto;
  padding-top: clamp(28px, 5svh, 70px);
  font-size: clamp(3.4rem, min(14.4vw, 24.5svh), 19rem);
}
.hero__title .mask { will-change: transform; }
.mask--boss em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: none; letter-spacing: -0.035em;
  color: var(--butter);
  display: inline-block; padding-right: 0.08em;
}
.hero__foot {
  position: relative; z-index: 1;
  display: flex; justify-content: center;
  margin-top: clamp(18px, 2.6vw, 36px);
}
.hero__lede { max-width: 38ch; font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.35; font-weight: 500; text-align: center; text-wrap: balance; }

/* Fan of work, sitting in front of the headline */
.fan {
  --fw: clamp(150px, 17vw, 330px);
  --fan-step: 0.32;
  position: absolute; z-index: 2;
  right: calc(var(--pad) + var(--fw) * 0.82);
  bottom: clamp(120px, 23svh, 270px);
  width: var(--fw); aspect-ratio: 5 / 4;
  pointer-events: none;
}
.fcard {
  position: absolute; inset: 0;
  border-radius: clamp(10px, 1vw, 16px);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 34px 60px -22px rgba(3, 6, 70, 0.7), 0 2px 0 rgba(255, 255, 255, 0.14) inset;
  transform-origin: 50% 100%;
  will-change: transform;
}
.fcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fcard--contain img { object-fit: contain; }
.fcard--bone { background: var(--bone); }
.fcard--bone img { padding: 6% 4% 14%; }
.fcard--monarch { background: linear-gradient(90deg, #c5112f, #d2a75c); }
.fcard__tag {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-mono); font-size: clamp(9px, 0.72vw, 11px); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--bone);
  padding: 6px 9px; border-radius: 999px; line-height: 1;
  white-space: nowrap;
}
/* The deck is a carousel on every screen: drag it, flick it, or swipe the
   trackpad sideways. Vertical drags still scroll the page. */
.fan__hint { display: none; }
.motion .fan { pointer-events: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.motion .fan.is-dragging { cursor: grabbing; }
.motion .fan::before { content: ""; position: absolute; inset: -12% -32%; }
.motion .fcard img { -webkit-user-drag: none; pointer-events: none; }
.motion .fan__hint {
  display: flex; align-items: center; gap: 10px;
  position: absolute; left: 50%; top: calc(100% + 46px); translate: -50% 0;
  margin: 0; z-index: 200; pointer-events: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone); opacity: 0.85; white-space: nowrap;
}
.fan__arrow { display: inline-block; font-size: 1.15em; animation: fan-point 1.6s var(--ease-out) infinite; }
.fan__arrow--l { --dir: -1; }
.fan__arrow--r { --dir: 1; }
@keyframes fan-point { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(calc(var(--dir) * 5px)); } }
.fcard:nth-child(1) { z-index: 1; }
.fcard:nth-child(2) { z-index: 2; }
.fcard:nth-child(3) { z-index: 5; }
.fcard:nth-child(4) { z-index: 3; }
.fcard:nth-child(5) { z-index: 1; }

/* Hero intro states */
.js .hero .mask > span { transform: translateY(108%); }
.js .hero__meta, .js .hero__foot { opacity: 0; translate: 0 16px; }
.js .fan { opacity: 0; }
.is-ready .hero .mask > span {
  transform: none;
  transition: transform 1100ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 95ms + 80ms);
}
.is-ready .hero__meta, .is-ready .hero__foot {
  opacity: 1; translate: 0 0;
  transition: opacity 800ms var(--ease-out) 520ms, translate 900ms var(--ease-out) 520ms;
}
.is-ready .fan { opacity: 1; transition: opacity 500ms ease 250ms; }

/* Tapes */
.tapes {
  position: relative; z-index: 3;
  height: clamp(120px, 15vw, 230px);
  background: linear-gradient(var(--cobalt) 50%, var(--ink) 50%);
  overflow-x: clip;
}
.tape {
  position: absolute; left: -6vw; top: 50%; width: 112vw;
  overflow: hidden;
  padding: 0.3em 0 0.26em;
  font-size: clamp(1.6rem, 4.3vw, 4.1rem);
  line-height: 1; white-space: nowrap;
  color: var(--ink);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.55);
}
.tape--a { background: var(--butter); transform: translateY(-50%) rotate(-3.2deg); }
.tape--b { background: var(--vermilion); transform: translateY(-50%) rotate(2.6deg); }
.tape__track { display: flex; width: max-content; will-change: transform; }
.tape__track span { display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em; }
.tape svg { width: 0.6em; height: 0.6em; flex: none; }

/* Collection: base layout (no motion, no JS) */
.collection { position: relative; background: var(--ink); }
.collection__stage { padding: clamp(60px, 9vw, 120px) var(--pad); display: grid; gap: 40px; }
.counter, .rail { display: none; }
.ctexts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 24px; }
.ctext h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.ctext p { margin: 0.5em 0 1.1em; font-size: 1.1rem; opacity: 0.82; }
.wheel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wcard {
  position: relative; display: block;
  aspect-ratio: 4 / 3;
  border-radius: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
  background: #1a1922;
  box-shadow: 0 44px 80px -34px rgba(0, 0, 0, 0.8);
}
.wcard--butter { background: var(--butter); }
.wcard--cobalt { background: var(--cobalt); }
.wcard img { transition: scale 700ms var(--ease-out); }
.wcard__fill { width: 100%; height: 100%; object-fit: cover; }
.wcard__float { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(14, 13, 19, 0.35)); }
.wcard__float--wide { inset: 1%; width: 98%; height: 98%; }
.wcard__float--zoom { transform: scale(1.62); }
.wcard__tag {
  position: absolute; left: clamp(12px, 1.4vw, 20px); bottom: clamp(12px, 1.4vw, 20px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--bone);
  padding: 9px 13px; border-radius: 999px;
}

/* Collection: pinned wheel */
.motion .collection { height: calc(100svh + 2 * 95svh); }
.motion .collection__stage { position: sticky; top: 0; height: 100svh; padding: 0; display: block; overflow: clip; }
.motion .collection__copy {
  position: absolute; z-index: 2;
  left: var(--pad); top: 50%; transform: translateY(-50%);
  width: min(38vw, 560px);
}
.motion .counter {
  display: flex; align-items: baseline; gap: 0.5em;
  margin: 18px 0 8px;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em;
}
.counter__window { display: inline-block; height: 1.3em; line-height: 1.3; overflow: hidden; color: var(--butter); }
.counter__strip { display: flex; flex-direction: column; transition: transform 650ms var(--ease-in-out); }
.counter__strip i { font-style: normal; height: 1.3em; }
.counter__of { opacity: 0.55; }
.motion .ctexts { display: block; position: relative; margin: 0; height: clamp(300px, 31vw, 470px); }
.motion .ctext {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(22px); filter: blur(6px);
  visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, filter 200ms ease, visibility 0s linear 200ms;
}
.motion .ctext.is-active {
  opacity: 1; transform: none; filter: blur(0);
  visibility: visible; pointer-events: auto;
  transition: opacity 520ms var(--ease-out) 90ms, transform 640ms var(--ease-out) 90ms, filter 520ms var(--ease-out) 90ms, visibility 0s;
}
.motion .ctext h2 { font-size: clamp(3.2rem, 8.4vw, 9.4rem); }
.motion .ctext p { font-size: clamp(1.05rem, 1.5vw, 1.4rem); max-width: 24ch; margin: 0.7em 0 1.3em; }
.motion .rail { display: flex; gap: 6px; margin-top: 8px; }
.rail i { width: 38px; height: 3px; border-radius: 3px; background: rgba(243, 238, 227, 0.2); transition: background-color 300ms ease; }
.rail i.is-active { background: var(--butter); }
.motion .wheel { display: block; position: absolute; inset: 0; }
.motion .wcard {
  position: absolute; left: 0; top: 0;
  width: clamp(260px, 50vw, 780px);
  transform-origin: 0 0;
  will-change: transform, opacity;
}

/* Statement */
.statement {
  position: relative;
  background: var(--bone); color: var(--ink);
  padding: clamp(90px, 15vw, 210px) 0 clamp(60px, 9vw, 130px);
  overflow: clip;
}
.statement__lines { position: relative; }
.statement__line {
  font-size: clamp(2rem, 8.5vw, 11.5rem);
  text-align: center; white-space: nowrap;
  will-change: transform;
}
.statement__line--alt { color: var(--vermilion); }
.statement__row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(60px, 9vw, 130px) var(--pad) 0;
  max-width: 1300px; margin: 0 auto;
}
.quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em;
  padding-top: 20px; border-top: 2px solid var(--ink);
  max-width: 17ch;
}

/* Wall: base layout */
.wall { position: relative; background: var(--bone); color: var(--ink); padding: 40px 0 90px; }
.wall__head { padding: 0 var(--pad); margin-bottom: clamp(20px, 4svh, 44px); display: flex; align-items: baseline; gap: clamp(14px, 3vw, 40px); flex-wrap: wrap; }
.wall__head h2 { font-size: clamp(2.3rem, 6.2vw, 6.4rem); }
.wall__track {
  display: flex; gap: clamp(18px, 3vw, 50px);
  padding: 10px var(--pad) 30px;
  overflow-x: auto;
}
.tile { --h: clamp(230px, 52svh, 560px); flex: none; display: block; }
.tile__card {
  height: var(--h); aspect-ratio: var(--ar);
  border-radius: clamp(12px, 1.3vw, 20px);
  overflow: hidden;
  background: #ddd5c4;
  box-shadow: 0 34px 50px -30px rgba(14, 13, 19, 0.5);
  will-change: transform;
}
.tile__card--ink { background: var(--ink); }
.tile__card--cobalt { background: var(--cobalt); }
.tile__card img, .tile__card video { width: 100%; height: 100%; object-fit: cover; }
.tile__card--pad img { object-fit: contain; padding: 7%; }
.tile__cap {
  width: 0; min-width: 100%;
  display: grid; grid-template-columns: 1fr; row-gap: 2px;
  margin-top: 16px; font-size: 15px; line-height: 1.3;
}
.tile__cap strong { font-weight: 700; }
.tile__cap em { opacity: 0.62; font-size: 14px; }

/* Wall: pinned horizontal coverflow */
.motion .wall { padding: 0; }
.motion .wall__stage {
  position: sticky; top: 0; height: 100svh; overflow: clip;
  display: flex; flex-direction: column; justify-content: center;
}
.motion .wall__track { overflow: visible; width: max-content; padding: 10px 14vw 0 var(--pad); will-change: transform; }

/* About */
.about {
  background: var(--cobalt); color: var(--bone);
  padding: clamp(90px, 14vw, 200px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
  overflow: clip;
}
.about__portrait { position: sticky; top: 110px; width: min(100%, 420px); justify-self: center; }
.portrait { position: relative; will-change: transform; }
.portrait__block {
  position: absolute; inset: 0;
  background: var(--butter); border-radius: 18px;
  transform: rotate(-7deg) translate(-16px, 12px);
  will-change: transform;
}
.portrait img {
  position: relative; width: 100%; height: auto;
  aspect-ratio: 900 / 1480; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 40px 70px -30px rgba(3, 6, 70, 0.8);
}
.portrait__cap {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 26px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.about__title {
  margin: 16px 0 0.7em;
  font-weight: 600; font-stretch: 88%;
  font-size: clamp(1.9rem, 4.3vw, 4.4rem);
  line-height: 1.03; letter-spacing: -0.025em;
}
.about__title em, .about__open {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--butter);
}
.about__body { font-size: clamp(1.1rem, 1.75vw, 1.65rem); line-height: 1.42; max-width: 33em; }
.motion .about__body .w { opacity: 0.2; transition: opacity 220ms linear; }
.about__open { margin-top: 1.3em; font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.15; max-width: 24ch; }

/* Contact */
.contact {
  position: relative;
  background: var(--vermilion); color: var(--ink);
  padding: clamp(90px, 13vw, 190px) var(--pad) clamp(50px, 7vw, 100px);
  overflow: clip;
}
.contact > * { position: relative; z-index: 2; }
.contact__title { font-size: clamp(3.4rem, 15.2vw, 19rem); margin: 0.12em 0 0.22em; }
.contact__title .mask { padding-bottom: 0.26em; margin-bottom: -0.26em; }
.contact__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: none; letter-spacing: -0.04em;
  display: inline-block; padding-right: 0.06em;
}
.contact__row { display: flex; align-items: center; gap: clamp(22px, 5vw, 80px); flex-wrap: wrap; }
.contact__lede { font-size: clamp(1.2rem, 2.1vw, 2rem); line-height: 1.18; font-weight: 600; max-width: 21ch; }
.orb {
  width: clamp(128px, 15vw, 208px); aspect-ratio: 1; flex: none;
  border-radius: 50%;
  background: var(--ink); color: var(--bone);
  display: grid; place-content: center; justify-items: center; gap: 8px;
  font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1;
  will-change: transform;
}
.orb svg { width: 1.5em; height: 1.5em; color: var(--butter); transition: translate 260ms var(--ease-out); }
.orb:active { scale: 0.97; }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: clamp(40px, 6vw, 90px); }
.contact__links a {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.25rem);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 6px;
}
.contact__links img { width: 36px; height: 36px; border-radius: 50%; }

/* Footer */
.footer { background: var(--ink); color: var(--bone); padding: clamp(30px, 5vw, 70px) var(--pad) calc(26px + env(safe-area-inset-bottom)); overflow: clip; }
.footer__mark {
  font-size: 20.4vw; line-height: 0.82;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0.06em 0 0.07em;
  white-space: nowrap;
}
.footer__mark span { display: inline-block; }
.footer__mark .burst { color: var(--butter); margin: 0 0.02em; animation: spin 16s linear infinite; }
.js .footer__mark span, .js .footer__mark .burst {
  translate: 0 105%;
  transition: translate 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.js .footer.in .footer__mark span, .js .footer.in .footer__mark .burst { translate: 0 0; }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px;
  margin-top: clamp(18px, 3vw, 40px); padding-top: 20px;
  border-top: 1px solid rgba(243, 238, 227, 0.18);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__motto { color: var(--butter); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal button {
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color 180ms ease, scale 160ms var(--ease-out);
}
.footer__legal button:active { scale: 0.97; }

/* Terms and privacy sheets. Modals stay centered, so they scale from the middle. */
.sheet {
  border: 0; margin: auto;
  width: min(460px, calc(100vw - 32px));
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background: var(--bone); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  opacity: 0; scale: 0.96;
  transition: opacity 160ms ease, scale 160ms ease, overlay 160ms allow-discrete, display 160ms allow-discrete;
}
.sheet[open] {
  opacity: 1; scale: 1;
  transition: opacity 240ms var(--ease-out), scale 240ms var(--ease-out), overlay 240ms allow-discrete, display 240ms allow-discrete;
}
@starting-style { .sheet[open] { opacity: 0; scale: 0.96; } }
.sheet::backdrop {
  background-color: rgba(14, 13, 19, 0);
  transition: background-color 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.sheet[open]::backdrop { background-color: rgba(14, 13, 19, 0.66); }
@starting-style { .sheet[open]::backdrop { background-color: rgba(14, 13, 19, 0); } }
.sheet h2 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.9;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  margin: 10px 0 18px;
}
.sheet p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.45; margin-top: 0.7em; }
.sheet__close { margin-top: 26px; background: var(--ink); color: var(--bone); }
.footer__top { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.footer__top svg { width: 16px; height: 16px; transition: translate 240ms var(--ease-out); }

/* Cursor label */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; will-change: transform; }
.cursor span {
  position: absolute; left: -46px; top: -46px;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--butter); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; scale: 0.4;
  transition: opacity 180ms ease, scale 180ms ease;
}
.cursor.is-on span { opacity: 1; scale: 1; transition: opacity 260ms var(--ease-out), scale 320ms var(--ease-out); }

/* Hover, only where hover is real */
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { background-color: rgba(243, 238, 227, 0.12); }
  .nav__cta:hover { background-color: var(--bone); }
  .btn:hover { background-color: var(--butter); }
  .sheet__close:hover { background-color: var(--cobalt); }
  .footer__legal button:hover { color: var(--butter); }
  .btn:hover svg, .orb:hover svg { translate: 3px -3px; }
  .wcard:hover img { scale: 1.04; }
  .footer__top:hover svg { translate: 0 -3px; }
}

/* Small screens */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; padding-left: 18px; width: auto; max-width: none; }
  .nav.is-hidden { transform: translateY(-160%); }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .hero { padding-top: 92px; }
  .hero__title { margin-top: 26px; padding-top: 0; font-size: clamp(3.2rem, 16.6vw, 8rem); }
  .fan {
    --fw: clamp(180px, 52vw, 280px);
    --fan-step: 0.2;
    position: relative; right: auto; bottom: auto;
    margin: clamp(46px, 13vw, 80px) auto clamp(30px, 9vw, 60px);
  }

  /* Room under the deck for the swipe hint, so it never meets the lede. */
  .motion .fan { margin-bottom: clamp(78px, 21vw, 104px); }
  .motion .fan__hint { top: calc(100% + 40px); font-size: 11px; }
  .hero__foot { margin-top: auto; }

  .motion .collection__copy { top: 92px; left: var(--pad); right: var(--pad); width: auto; transform: none; }
  .motion .ctexts { height: 230px; }
  .motion .ctext h2 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .motion .counter { margin: 12px 0 6px; }
  .motion .wcard { width: min(82vw, 440px); }
  .wheel { grid-template-columns: 1fr; }

  .statement__row { grid-template-columns: 1fr; }

  /* Wall on phones: a vertical stack. Each project is a dark panel that pins
     under the nav; the next one slides over it and the one beneath sinks. */
  .wall, .motion .wall { padding: 64px 0 72px; height: auto !important; }
  .wall__stage, .motion .wall__stage { position: static; height: auto; overflow: visible; display: block; }
  .wall__track, .motion .wall__track {
    width: auto; flex-direction: column; gap: 0;
    padding: 0 var(--pad); overflow: visible;
    transform: none !important; will-change: auto;
  }
  .tile {
    position: relative;
    width: min(100%, 600px); align-self: center;
    margin-bottom: 7svh;
    padding: 8px 8px 14px;
    border-radius: 20px;
    background: var(--ink); color: var(--bone);
    box-shadow: 0 22px 40px -24px rgba(14, 13, 19, 0.55);
    transform-origin: 50% 0;
  }
  .tile:last-child { margin-bottom: 0; }
  .motion .tile { position: sticky; top: calc(78px + var(--i, 0) * 12px); }
  .tile::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: var(--ink); opacity: var(--dim, 0); pointer-events: none;
  }
  .tile__card { height: auto; width: 100%; border-radius: 13px; box-shadow: none; transform: none !important; will-change: auto; }
  .tile__cap { margin-top: 12px; padding: 0 6px; }
  .tile__cap em { opacity: 0.6; }

  .about { grid-template-columns: 1fr; }
  .about__portrait { position: relative; top: auto; width: min(74%, 320px); justify-self: start; margin-left: 30px; }

  .contact__links { flex-direction: column; align-items: flex-start; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__mark { font-size: 18.6vw; }
}

/* Reduced motion: keep fades, drop movement */
.reduce [data-reveal] { translate: none; }
.reduce .mask > span, .reduce .footer__mark span, .reduce .footer__mark .burst { transform: none !important; translate: none !important; }
.reduce .burst { animation: none !important; }
.reduce .hero__meta, .reduce .hero__foot { translate: none; }
.reduce .fcard:nth-child(1) { transform: translate(calc(var(--fw) * var(--fan-step) * -2), calc(var(--fw) * 0.14)) rotate(-10deg); }
.reduce .fcard:nth-child(2) { transform: translate(calc(var(--fw) * var(--fan-step) * -1), calc(var(--fw) * 0.035)) rotate(-5deg); }
.reduce .fcard:nth-child(4) { transform: translate(calc(var(--fw) * var(--fan-step)), calc(var(--fw) * 0.035)) rotate(5deg); }
.reduce .fcard:nth-child(5) { transform: translate(calc(var(--fw) * var(--fan-step) * 2), calc(var(--fw) * 0.14)) rotate(10deg); }
