/* ==========================================================================
   SFFRNGWTHN
   Stone, ink, one drop of blood.
   ========================================================================== */

:root {
  --stone: #9a9ea2;
  --stone-hi: #c4c8cb;
  --stone-lo: #8a8e92;
  --ink: #121214;
  --night: #0b0b0c;
  --night-2: #131315;
  --bone: #e8e5de;
  --blood: #a40c1f;
  --blood-hi: #d3162e;
  --line: rgba(18, 18, 20, .2);
  --line-d: rgba(232, 229, 222, .14);

  --display: 'Anton', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(16px, 4vw, 56px);
  --hdr: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

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

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.intro body { overflow: hidden; touch-action: none; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
::selection { background: var(--blood); color: var(--bone); }
:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.1em; }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -120px;
  z-index: 90;
  pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-60px, 40px); }
  33% { transform: translate(50px, -70px); }
  50% { transform: translate(-90px, -20px); }
  67% { transform: translate(80px, 60px); }
  83% { transform: translate(-30px, 90px); }
  100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-cursor] { cursor: none; }
html.has-cursor input { cursor: text; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: opacity .2s; }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid #fff; border-radius: 50%;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s;
}
.cursor__label { font-family: var(--display); font-size: 15px; letter-spacing: .1em; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: #fff; }
.cursor.is-big .cursor__label { opacity: 1; transition-delay: .1s; }
.cursor.is-big .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor.is-big.is-down .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hdr);
  padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; gap: 32px;
  color: var(--ink);
  transition: transform .7s var(--ease), color .35s;
}
.hdr.on-dark { color: var(--bone); }
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(154, 158, 162, .74);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s, background-color .35s;
}
.hdr.show-logo::before { opacity: 1; }
.hdr.on-dark::before { background: rgba(11, 11, 12, .64); }
.hdr.menu-open::before { opacity: 0; }
.hdr.is-hidden { transform: translateY(-110%); }
html.intro .hdr { transform: translateY(-110%); }

.hdr__logo {
  font-family: var(--display); font-size: 22px; letter-spacing: .08em; text-decoration: none;
  margin-right: auto;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s, transform .6s var(--ease);
}
.hdr.show-logo .hdr__logo, html:not(.js) .hdr__logo { opacity: 1; transform: none; }

.hdr__nav { display: flex; gap: 26px; font-family: var(--display); font-size: 16px; letter-spacing: .1em; }
.hdr__nav a { position: relative; text-decoration: none; display: inline-flex; justify-content: center; padding: 6px 0; }
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__nav a.is-active { color: var(--blood); }
.hdr.on-dark .hdr__nav a.is-active { color: var(--blood-hi); }
.nv { display: inline-block; overflow: hidden; vertical-align: top; max-width: .72em; transition: max-width .4s var(--ease), opacity .25s; }
.hdr__nav a:hover .nv, .hdr__nav a:focus-visible .nv { max-width: 0; opacity: 0; }

.hdr__cta {
  font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-decoration: none;
  border: 1px solid currentColor; border-radius: 999px; padding: 7px 18px 6px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.hdr__cta:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.hdr.on-dark .hdr__cta:hover { background: var(--bone); color: var(--night); border-color: var(--bone); }

.hdr__menu { display: none; font-family: var(--display); font-size: 16px; letter-spacing: .12em; padding: 10px 0 10px 16px; }
.hdr__menu-close { display: none; }
.menu-open .hdr__menu-open { display: none; }
.menu-open .hdr__menu-close { display: inline; }

.hdr__progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--blood); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

@media (max-width: 760px) {
  :root { --hdr: 56px; }
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: block; margin-left: auto; }
  .hdr__logo { font-size: 20px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--night); color: var(--bone);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s 0s; }
html.menu-open body { overflow: hidden; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { display: block; overflow: hidden; text-decoration: none; font-family: var(--display); font-size: clamp(56px, 18vw, 120px); line-height: .98; letter-spacing: .01em; }
.menu__nav a span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
html.menu-open .menu__nav a span { transform: none; }
html.menu-open .menu__nav a:nth-child(1) span { transition-delay: .25s; }
html.menu-open .menu__nav a:nth-child(2) span { transition-delay: .31s; }
html.menu-open .menu__nav a:nth-child(3) span { transition-delay: .37s; }
html.menu-open .menu__nav a:nth-child(4) span { transition-delay: .43s; }
.menu__nav a:active { color: var(--blood-hi); }
.menu__foot { margin-top: auto; display: grid; gap: 6px; opacity: .7; }
.menu__foot a { text-decoration: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 50% 16%, rgba(198, 202, 205, .9) 0%, rgba(198, 202, 205, 0) 70%),
    var(--stone);
}
.hero__stage { position: absolute; inset: 0; perspective: 1600px; will-change: transform, opacity; }
.hero__tilt { position: absolute; inset: 0; will-change: transform; }

.wbox {
  --ww: min(94vw, calc((100vh - 150px) * 1.3717));
  position: absolute;
  width: var(--ww);
  aspect-ratio: 1229 / 896;
  left: calc(50% - var(--ww) / 2);
  top: calc(47% - var(--ww) * .3646);
  container-type: inline-size;
}
@supports (height: 100svh) {
  .wbox { --ww: min(94vw, calc((100svh - 150px) * 1.3717)); }
}
@media (max-aspect-ratio: 4/5) {
  .wbox { --ww: 150vw; top: calc(49% - var(--ww) * .3646); }
}
@media (max-height: 540px) and (orientation: landscape) {
  .wbox { --ww: calc((540px - 110px) * 1.3717); }
}

.hero__img {
  width: 100%; height: 100%;
  object-fit: contain;
  user-select: none; -webkit-user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
  mask-composite: intersect;
}

.hero__night { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
html.intro .hero__night { opacity: 1; }

.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.wbox--front { pointer-events: none; }

/* The name. Vowels are present in the markup and collapsed by default:
   SUFFERING WITHIN -> SFFRNG WTHN */
.name {
  position: absolute; left: 0; right: 0; top: 7.2%;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(16px, 2.6vw, 46px);
  font-size: 3.5cqi;
  line-height: 1.14;
  letter-spacing: .14em;
  color: var(--ink);
  transition: color .9s var(--ease-io);
}
.name__line { display: block; white-space: nowrap; padding-left: .14em; }
.name .c { display: inline-block; vertical-align: top; }
.name .v { max-width: 0; opacity: 0; overflow: hidden; }

html.intro .name { color: #d6d8da; }
html.intro.dawn .name { color: var(--ink); }
html.intro .name .v { max-width: none; opacity: 1; }
html.intro .name .c { opacity: 0; transform: translateY(.4em); filter: blur(5px); }
html.intro .name.is-in .c {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s;
  transition-delay: calc(var(--i, 0) * 42ms + .1s);
}
html.intro .name.is-in .v.gone { opacity: 0; transition: opacity .12s, max-width .6s var(--ease-io); }

.hero__meta {
  position: absolute; left: var(--pad); right: var(--pad);
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  transition: opacity .9s .15s, transform 1s .15s var(--ease);
}
html.intro .hero__meta { opacity: 0; transform: translateY(14px); }
.hero__meta-r { justify-self: end; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-r:hover { color: var(--blood); }
.scrl { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.scrl i { display: block; width: 1px; height: 46px; background: currentColor; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: 50% 0; }
  45% { transform: scaleY(1); transform-origin: 50% 0; }
  55% { transform: scaleY(1); transform-origin: 50% 100%; }
  100% { transform: scaleY(0); transform-origin: 50% 100%; }
}

.hero__skip {
  position: absolute; left: 0; right: 0; bottom: calc(28px + env(safe-area-inset-bottom));
  text-align: center; color: rgba(232, 229, 222, .45);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
html.intro .hero__skip { opacity: 1; transition-delay: .9s; }
html.intro.dawn .hero__skip { opacity: 0; transition-delay: 0s; }

@media (max-width: 760px) {
  .hero__meta { grid-template-columns: 1fr auto; }
  .hero__meta .scrl { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--bone);
  padding: clamp(14px, 2vw, 24px) 0;
  border-block: 1px solid var(--line-d);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set {
  display: flex; align-items: center; flex-shrink: 0;
  font-family: var(--display); font-size: clamp(44px, 8.4vw, 132px); line-height: 1.02;
  letter-spacing: .01em; white-space: nowrap;
}
.marquee__set > span { padding: 0 .28em; }
.marquee .o { color: transparent; -webkit-text-stroke: 1px var(--bone); }
.marquee .star { width: .36em; height: .36em; color: var(--blood-hi); flex-shrink: 0; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec { position: relative; padding: clamp(80px, 11vw, 170px) var(--pad) clamp(64px, 8vw, 120px); }

.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: clamp(24px, 5vw, 72px);
}
.sec-head__aside { text-align: right; padding-bottom: .6em; }

.giant {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(84px, 20vw, 340px);
  line-height: .8;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

/* Split-letter reveal */
[data-split] { overflow: hidden; padding-top: .06em; margin-top: -.06em; }
.ch { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.is-in .ch { transform: none; }

/* Generic reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal], html:not(.js) .ch { opacity: 1; transform: none; }

/* ==========================================================================
   PIECES
   ========================================================================== */
.piece {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 36px);
  align-items: center;
  padding-block: clamp(24px, 4.5vw, 80px);
  overflow: hidden;
  overflow: clip;
}
.piece + .piece { border-top: 1px solid var(--line); }
.piece__stage { grid-column: 1 / span 7; }
.piece__side { grid-column: 9 / span 4; display: grid; gap: clamp(32px, 4vw, 56px); }
.piece--flip .piece__stage { grid-column: 6 / span 7; grid-row: 1; }
.piece--flip .piece__side { grid-column: 1 / span 4; grid-row: 1; }

@media (max-width: 900px) {
  .piece { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .piece__stage, .piece__side, .piece--flip .piece__stage, .piece--flip .piece__side { grid-column: 1; grid-row: auto; }
  .piece__side { gap: 36px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .piece__side { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Stage: product cut-out floating in front of a giant outline number */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(100%, 86vh);
  margin-inline: auto;
  container-type: inline-size;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stage[data-reveal] { transform: none; }
.stage__num {
  position: absolute; inset: 0;
  display: grid; place-items: start center;
  font-family: var(--display); font-size: 48vw; font-size: 84cqi; line-height: .86; letter-spacing: -.02em;
  color: rgba(18, 18, 20, .07); -webkit-text-stroke: 1.5px rgba(18, 18, 20, .3);
  pointer-events: none;
  transition: opacity 1.4s var(--ease), letter-spacing 1.6s var(--ease);
}
.stage:not(.is-in) .stage__num { opacity: 0; letter-spacing: .12em; }
.stage__float { position: absolute; inset: 13% 7% 9%; animation: float 7s ease-in-out infinite; }
.stage:not(.is-in) .stage__float { opacity: 0; transform: translateY(10%) scale(.92); }
.stage.is-in .stage__float { transition: opacity 1.1s .15s var(--ease), transform 1.4s .15s var(--ease); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.4%; } }
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.stage.is-dragging .stage__tilt, .stage.is-hovering .stage__tilt { transition: transform .18s linear; }
.stage__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: perspective(1400px) rotateY(calc(var(--dir, 1) * 22deg)) scale(.92);
  transition: opacity .6s var(--ease), transform 1s var(--ease);
  pointer-events: none;
  -webkit-user-drag: none;
}
.stage__img.is-active { opacity: 1; transform: none; }
.stage__img.is-out { opacity: 0; transform: perspective(1400px) rotateY(calc(var(--dir, 1) * -22deg)) scale(.92); }
.stage__shadow {
  position: absolute; left: 24%; right: 24%; bottom: 4%; height: 7%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  animation: shadow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.84); opacity: .7; } }

.stage__ctrl {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.stage__count b { font-weight: 700; }
.stage__dots { display: flex; gap: 2px; }
.stage__dots button { width: 30px; height: 30px; display: grid; place-items: center; }
.stage__dots button::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background-color .3s, transform .4s var(--ease);
}
.stage__dots button.is-active::before { background: var(--ink); transform: scale(1.35); }
.stage__hint { opacity: .55; }
.stage__ctrl { white-space: nowrap; }
.hint-m { display: none; }
@media (hover: none), (max-width: 760px) { .hint-d { display: none; } .hint-m { display: inline; } }

.stamp {
  position: absolute; top: 9%; right: 3%;
  font-family: var(--display); font-size: clamp(30px, 9cqi, 84px); line-height: 1; letter-spacing: .08em;
  color: var(--blood);
  border: .07em solid currentColor;
  padding: .08em .3em .02em;
  opacity: 0;
  transform: rotate(-11deg) scale(1.7);
  pointer-events: none;
}
.stage.is-in .stamp { opacity: .9; transform: rotate(-11deg) scale(1); transition: transform .5s cubic-bezier(.4, 1.9, .5, .85) .9s, opacity .15s .9s; }

/* Info */
.info__no { opacity: .7; }
.info__title {
  margin: .25em 0 .35em;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(52px, 6.4vw, 108px);
  line-height: .88;
  letter-spacing: .005em;
}
.piece--flip .info__title { font-size: clamp(46px, 5.2vw, 92px); }
.info__lead { font-size: 12.5px; letter-spacing: .08em; line-height: 1.6; margin-bottom: 22px; max-width: 40ch; }

.specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 12px 0 11px; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 10.5px; letter-spacing: .18em; opacity: .6; padding-top: 1px; }
.specs dd { margin: 0; font-size: 12.5px; letter-spacing: .07em; line-height: 1.65; }
.specs .sold { color: var(--blood); font-weight: 700; }

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 18px 22px 17px;
  border: 1px solid var(--ink);
  font-family: var(--display); font-size: 21px; letter-spacing: .1em; text-decoration: none;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--stone); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }

/* Film tile */
.film { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--night); color: var(--bone); }
.film[data-reveal] { opacity: 1; transform: none; clip-path: inset(14% 14% 14% 14%); transition: clip-path 1.4s var(--ease); }
.film[data-reveal].is-in { clip-path: inset(0 0 0 0); }
.film video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--ease); }
.film.is-in video, .fig.is-in .film video { transform: none; }
.film__tag { position: absolute; left: 12px; top: 10px; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--blood-hi); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.film__snd {
  position: absolute; right: 10px; bottom: 10px;
  padding: 7px 12px 6px; border-radius: 999px;
  background: rgba(11, 11, 12, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-d);
  transition: background-color .3s, color .3s;
}
.film__snd[aria-pressed="true"] { background: var(--blood); border-color: var(--blood); }
.film__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(232, 229, 222, .92); color: var(--night);
  display: none; place-items: center;
}
.film.needs-play .film__play { display: grid; }

/* ==========================================================================
   CAD
   ========================================================================== */
.cad {
  background-color: var(--night);
  color: var(--bone);
  background-image:
    linear-gradient(rgba(232, 229, 222, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 229, 222, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}
.cad .sec-head { border-color: var(--line-d); }
.cad__xy { opacity: .55; font-variant-numeric: tabular-nums; }

.cad__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.fig { margin: 0; }
.fig--a { grid-column: 1 / span 6; }
.fig--b { grid-column: 7 / span 6; margin-top: clamp(40px, 12vw, 200px); }
.fig figcaption { display: flex; justify-content: space-between; padding-top: 12px; opacity: .7; }

.fig__frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #1a1a1c; }
.fig__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.fig.is-in .fig__frame img { transform: none; }
.fig--a .fig__frame:hover img { transform: scale(1.04); }
.fig__frame.film { clip-path: none; }
.tick { position: absolute; width: 16px; height: 16px; border: 0 solid var(--bone); pointer-events: none; mix-blend-mode: difference; }
.tick.tl { left: 10px; top: 10px; border-left-width: 1px; border-top-width: 1px; }
.tick.tr { right: 10px; top: 10px; border-right-width: 1px; border-top-width: 1px; }
.tick.bl { left: 10px; bottom: 10px; border-left-width: 1px; border-bottom-width: 1px; }
.tick.br { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }

.cad__block {
  grid-column: 1 / span 6;
  margin-top: clamp(-160px, -8vw, -40px);
  padding-top: clamp(32px, 4vw, 56px);
}
.cad__block > .label { opacity: .7; }
.cad__title {
  margin: .25em 0 .5em;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(54px, 7.4vw, 124px); line-height: .88;
}
.specs--dark { border-color: var(--line-d); max-width: 520px; }
.specs--dark > div { border-color: var(--line-d); }

@media (max-width: 760px) {
  .fig--a, .fig--b, .cad__block { grid-column: 1 / -1; margin-top: 0; }
  .cad__block { padding-top: 24px; }
}

/* ==========================================================================
   SIGNUP
   ========================================================================== */
.signup {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(198, 202, 205, .55), rgba(198, 202, 205, 0) 70%),
    var(--stone);
}
.signup__title { font-size: clamp(80px, 21vw, 360px); white-space: nowrap; display: inline-block; }
.signup__title .vw { display: inline-block; }
.signup__title .v { display: inline-block; vertical-align: top; overflow: hidden; max-width: 0; opacity: 0; transition: max-width .7s var(--ease), opacity .5s; }
@media (hover: hover) {
  .signup__title:hover .v { max-width: .6em; opacity: 1; }
}
.signup__sub { margin-top: 18px; opacity: .75; }

.signup__form {
  position: relative;
  display: flex; align-items: stretch;
  max-width: 760px; margin: clamp(36px, 5vw, 64px) auto 0;
  border-bottom: 2px solid var(--ink);
  text-align: left;
}
.signup__form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; border-radius: 0; outline: 0;
  font-family: var(--display); font-size: clamp(24px, 3.6vw, 44px); letter-spacing: .05em;
  color: var(--ink);
  padding: 14px 2px 10px;
  -webkit-appearance: none; appearance: none;
}
.signup__form input::placeholder { color: rgba(18, 18, 20, .42); }
.signup__form:focus-within { border-color: var(--blood); }
.signup__form button {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: clamp(24px, 3.6vw, 44px); letter-spacing: .06em;
  padding: 14px 2px 10px 20px;
  transition: color .3s;
}
.signup__form button:hover { color: var(--blood); }
.signup__form button .arr { width: .7em; height: .7em; transition: transform .5s var(--ease); }
.signup__form button:hover .arr { transform: translate(3px, -3px); }
.signup__form.is-busy button { opacity: .4; pointer-events: none; }
.signup__msg { min-height: 1.6em; margin-top: 18px; }
.signup__msg.is-ok { color: var(--ink); font-weight: 700; }
.signup__msg.is-err { color: var(--blood); font-weight: 700; }
.signup__msg a { color: var(--ink); }
.signup__msg a:hover { color: var(--blood); }

/* ==========================================================================
   FOOTER / CONTACT
   ========================================================================== */
.foot {
  background: var(--night); color: var(--bone);
  padding: clamp(72px, 10vw, 140px) var(--pad) calc(22px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px;
  border-top: 1px solid var(--line-d); padding-top: 22px;
}
.foot__col .label { opacity: .55; margin-bottom: 10px; }
.foot__name, .foot__link {
  font-family: var(--display); font-size: clamp(28px, 2.9vw, 50px); line-height: 1.05; letter-spacing: .03em;
  text-decoration: none; overflow-wrap: anywhere;
}
.foot__link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
}
.foot__link:hover { background-size: 100% 2px; color: var(--blood-hi); }
.foot__mark {
  margin: clamp(56px, 9vw, 140px) 0 0;
  font-family: var(--display);
  font-size: 18.2vw;
  line-height: .78;
  letter-spacing: -.005em;
  white-space: nowrap;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  color: var(--bone);
  user-select: none;
}
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; opacity: .55; }
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: var(--blood-hi); opacity: 1; }
@media (max-width: 760px) {
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(204, 208, 211, .9), rgba(204, 208, 211, 0) 75%),
    var(--stone);
  color: var(--ink);
  overflow: hidden;
}
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lbIn .5s var(--ease); }
.lb::backdrop { background: rgba(11, 11, 12, .6); }
@keyframes lbIn { from { opacity: 0; transform: scale(1.03); } }
.lb__top, .lb__nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) 14px;
}
.lb__nav { padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom)); }
.lb__top button, .lb__nav button { padding: 10px 0; }
.lb__top button:hover, .lb__nav button:hover { color: var(--blood); }
.lb__cap { text-align: center; opacity: .7; }
.lb__body { position: relative; min-height: 0; touch-action: pan-y pinch-zoom; }
.lb__img { position: absolute; inset: 0 var(--pad); width: calc(100% - var(--pad) * 2); height: 100%; max-width: none; object-fit: contain; transition: opacity .3s; }
.lb__img.is-loading { opacity: 0; }
html.lb-open body { overflow: hidden; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .grain, .scrl i, .stage__float, .stage__shadow, .rec { animation: none; }
  [data-reveal], .ch { transition: none !important; opacity: 1 !important; transform: none !important; }
  .film[data-reveal] { clip-path: none; }
  .film video, .fig__frame img { transform: none; transition: none; }
  .stage:not(.is-in) .stage__num, .stage:not(.is-in) .stage__float { opacity: 1; transform: none; letter-spacing: -.02em; }
  .stamp { opacity: .9; transform: rotate(-11deg); }
}
