/* DTBeamedit concept. Night studio: near-black, warm cream type, glove orange, film grain. */
@font-face { font-family: "Syne"; src: url(fonts/syne.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* --paper = page background, --ink = text (names kept from the light version) */
  --paper: #0E0C0B;
  --paper-2: #171412;
  --ink: #F2EDE6;
  --ink-2: #B4ACA2;
  --deep: #060505;        /* always-dark blocks */
  --light: #F3F0EA;       /* always-light text on dark blocks */
  --orange: #FF5B1F;      /* his gloves */
  --orange-ink: #FF7A45;  /* orange for small text on dark */
  --line: rgba(242, 237, 230, .14);
  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(18px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(40px, 6.4vw, 92px); }
p { margin: 0; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.kicker { font: 600 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }

/* Buttons */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid var(--bg); transition: transform .3s var(--ease), background .2s, color .2s; position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: "→"; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost::after { content: "↓"; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--xl { min-height: 72px; padding: 0 40px; font-size: 20px; --bg: var(--orange); --fg: var(--deep); }
.iconbtn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 18px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.iconbtn:hover { background: var(--ink); color: var(--paper); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.top.is-solid { background: rgba(14, 12, 11, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { font: 800 22px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.brand span { font-weight: 500; letter-spacing: .12em; font-size: .62em; margin-left: 4px; vertical-align: .2em; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 8px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__book { --bg: #fff; --fg: var(--deep); }
.top.is-solid .top__book { --bg: var(--ink); --fg: var(--paper); }
@media (max-width: 860px) { .top__nav { display: none; } .top__book { margin-left: auto; } .top { gap: 10px; } }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: #2a2724; }
.hero__media, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { display: contents; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-on { opacity: 1; }
.hero__media { transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .05) 30%, rgba(10, 9, 8, .25) 55%, rgba(10, 9, 8, .86) 100%); }
.hero__copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 7vh, 72px); max-width: 1100px; }
.hero__kicker { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 91, 31, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 91, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0); } }
.hero__title { font-size: clamp(54px, min(10vw, 15.5vh), 176px); line-height: .86; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__title .w { display: inline-block; transform: translateY(40%) skewY(4deg); animation: riseT .9s var(--ease) forwards; } /* visible from the first paint: only moves */
@keyframes riseT { to { transform: none; } }
.hero__title .w:nth-child(2) { animation-delay: .12s; }
.hero__title .w:nth-child(3) { animation-delay: .24s; }
.w--o { color: var(--orange); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__rule { display: block; position: relative; height: 3px; width: min(560px, 70%); margin: 26px 0 22px; }
.hero__rule::before { content: ""; position: absolute; inset: 0; background: #fff; clip-path: inset(0 100% 0 0); animation: wipe 1.2s .55s cubic-bezier(.6,0,.3,1) forwards; }
.hero__rule::after { content: ""; position: absolute; left: 0; top: 50%; width: 46px; height: 52px; margin: -26px 0 0 -23px; background: url(media/trimmer.png) center / contain no-repeat; transform: rotate(118deg); opacity: 0; animation: ride 1.2s .55s cubic-bezier(.6,0,.3,1) forwards; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes ride { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes draw { to { transform: scaleX(1); } }
.hero__lede { max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__cta .btn:first-child { --bg: var(--orange); --fg: var(--deep); }
.hero__proof { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.hero__proof b { color: #fff; }
.hero__pause { position: absolute; right: var(--pad); bottom: clamp(28px, 7vh, 72px); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .25); cursor: pointer; }
.hero__pause i { display: block; width: 12px; height: 14px; margin: auto; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero__pause[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 16px; }
@media (max-width: 760px) {
  .hero__copy { bottom: 92px; }
  .hero__lede { font-size: 16px; max-width: 24em; }
  .hero__pause { top: 76px; bottom: auto; }
  .hero__cta .btn--ghost { display: none; }
}

/* Ticker */
.ticker { background: var(--orange); color: var(--deep); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker__track span { font: 800 clamp(24px, 3vw, 38px)/1 var(--display); text-transform: uppercase; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: ""; width: 40px; height: 3px; background: var(--deep); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.line, .work, .reels, .prices, .studio { padding: clamp(80px, 12vw, 160px) 0; }
.line { padding-top: clamp(80px, 8vw, 110px); }
.line__grid, .work__grid { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.line__copy p:not(.kicker), .work__copy p:not(.kicker) { max-width: 30em; margin-top: 22px; color: var(--ink-2); font-size: 18px; }
@media (max-width: 860px) { .line__grid, .work__grid { grid-template-columns: 1fr; } }

/* The line: scrubber */
.line__steps { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); }
.line__steps li { flex: 1; padding: 14px 0 0; font-weight: 600; color: var(--ink-2); position: relative; transition: color .3s; }
.line__steps li::before { content: ""; position: absolute; left: 0; right: 8px; top: -2px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.line__steps li.is-on { color: var(--ink); }
.line__steps li.is-on::before { transform: scaleX(1); }
.line__stage { width: 100%; max-width: min(460px, calc((100vh - 300px) * .5625)); justify-self: center; }
.line__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(18, 17, 16, .45); }
.line__poster, .line__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__label { position: absolute; left: 16px; top: 16px; background: var(--ink); color: var(--paper); font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; }
.line__track { position: relative; display: block; height: 64px; margin-top: 18px; }
.line__track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: grab; z-index: 2; touch-action: pan-y; }
.line__track input:active { cursor: grabbing; }
.line__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.line__fill { position: absolute; left: 0; top: calc(50% - 2px); height: 4px; width: calc(var(--p, 0) * 100%); background: var(--orange); border-radius: 2px; }
.line__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 64px; border: 0; background: url(media/trimmer.png) center / contain no-repeat; transform: rotate(-28deg); }
.line__track input::-moz-range-thumb { width: 56px; height: 64px; border: 0; background: url(media/trimmer.png) center / contain no-repeat; transform: rotate(-28deg); }
.line__track input:focus-visible { outline: none; }
.line__track:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px; }

/* The work: deck */
.deck { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: min(460px, calc((100vh - 220px) * .8)); justify-self: center; touch-action: pan-y; outline-offset: 10px; border-radius: 22px; }
.deck__card { position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden; background: var(--paper-2); box-shadow: 0 24px 50px -28px rgba(18, 17, 16, .5); transform-origin: 50% 110%; transition: transform .55s var(--ease), opacity .4s; will-change: transform; user-select: none; -webkit-user-select: none; cursor: grab; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck__card.is-drag { transition: none; cursor: grabbing; }
.deck__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.deck__count { font: 800 22px/1 var(--display); min-width: 90px; text-align: center; font-variant-numeric: tabular-nums; }

/* Reels */
.reels { background: var(--deep); color: var(--light); }
.reels .kicker { color: var(--orange); }
.reels__head { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 32px; margin-bottom: 48px; }
.reels__head .kicker { width: 100%; margin: 0; }
.reels__head .link { margin-left: auto; }
.reels__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reels__row[data-cols="3"] { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.reel__box { display: block; }
.reel__ig { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: rgba(18, 17, 16, .78); color: #fff; font: 600 13px/1 var(--body); padding: 8px 11px; border-radius: 999px; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.reel__box:hover .reel__ig, .reel__box:focus-visible .reel__ig { opacity: 1; transform: none; }
@media (hover: none) { .reel__ig { opacity: 1; transform: none; } }
.reel { margin: 0; }
.reel__box { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #222; }
.reel__box img, .reel__box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { margin-top: 12px; font-size: 15px; color: rgba(243, 240, 234, .78); }
@media (max-width: 860px) { .reels__row { grid-template-columns: repeat(4, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--pad) * -1); scrollbar-width: none; } .reel { scroll-snap-align: start; } }

/* Prices */
.prices__head { margin-bottom: 52px; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.menu__item { display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.menu__top { display: flex; align-items: baseline; gap: 18px; }
.menu__top h3 { font-size: clamp(30px, 4.2vw, 58px); }
.menu__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-8px); min-width: 30px; }
.menu__price { font: 800 clamp(30px, 4.2vw, 58px)/1 var(--display); }
.menu__note { grid-column: 1; color: var(--ink-2); max-width: 40em; }
.menu__note span { font-weight: 700; color: var(--ink); margin-right: 8px; }
.menu__item .btn { grid-column: 2; grid-row: 1 / span 2; }
.prices__src { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .menu__item { grid-template-columns: 1fr; } .menu__item .btn { grid-column: 1; grid-row: auto; justify-self: start; } }

/* Studio page */
.studio { background: var(--paper-2); padding-top: clamp(40px, 6vw, 80px); }
.studio__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.studio__photo { margin: 0; border-radius: 22px; overflow: hidden; }
.studio__photo img { width: 100%; height: auto; }
.studio__h { font-size: 15px; font-family: var(--body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; }
.studio__h + .open { margin-top: 10px; }
.studio__info .studio__h:not(:first-child) { margin-top: 34px; margin-bottom: 12px; }
.open { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 18px; font-weight: 700; padding: 10px 16px; border-radius: 999px; background: var(--paper); }
.open__dot { width: 10px; height: 10px; border-radius: 50%; background: #8a847c; }
.open.is-open .open__dot { background: #1e9a4a; box-shadow: 0 0 0 4px rgba(30, 154, 74, .18); }
.hours { margin: 0 0 22px; }
.hours div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); max-width: 380px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--ink); font-weight: 700; }
.hours .is-today dt::after { content: " · today"; color: var(--orange-ink); }
address { font-style: normal; font-size: 18px; }
.studio__note { margin-top: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .studio__grid { grid-template-columns: 1fr; } }
.about { padding: clamp(80px, 11vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.about__me { margin: 0; border-radius: 22px; overflow: hidden; }
.about__me img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__me--2 { transform: translateY(60px); }
.about__copy p:not(.kicker) { margin: 22px 0; color: var(--ink-2); font-size: 18px; max-width: 26em; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr 1fr; } .about__copy { grid-column: 1 / -1; grid-row: 1; } .about__me--2 { transform: translateY(30px); } }
.rating { background: var(--deep); color: var(--light); padding: clamp(80px, 11vw, 150px) 0; }
.rating .kicker { color: var(--orange); }
.rating__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.rating__big { font: 800 clamp(110px, 16vw, 240px)/.8 var(--display); color: var(--orange); letter-spacing: -.05em; }
.rating__h { font-size: clamp(24px, 2.6vw, 36px); margin-top: 20px; max-width: 14em; line-height: 1.1; }
.rating__pt { font-family: var(--body); font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bars li { display: grid; grid-template-columns: 70px 1fr 34px; gap: 16px; align-items: center; font-weight: 600; }
.bars__track { height: 12px; border-radius: 6px; background: rgba(243, 240, 234, .14); overflow: hidden; }
.bars__track i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .rating__grid { grid-template-columns: 1fr; } }

/* Final */
.final { padding: clamp(90px, 13vw, 180px) 0; background: var(--orange); color: var(--deep); text-align: left; }
.final__title { font-size: clamp(64px, 13vw, 220px); line-height: .84; letter-spacing: -.045em; margin-bottom: 44px; }
.final__title span { color: #fff; }
.final__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.final__meta { font-weight: 700; font-size: 17px; }
.final .btn--xl { --bg: var(--deep); --fg: var(--light); }

/* Page heads (inner pages) */
.phead { padding: clamp(130px, 16vw, 210px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.phead__title { font-size: clamp(56px, 10vw, 160px); line-height: .86; letter-spacing: -.04em; }
.phead__title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.phead__title .ln > span { display: block; transform: translateY(105%); animation: lnUp .85s cubic-bezier(.2,.8,.2,1) forwards; }
.phead__title .ln:nth-child(2) > span { animation-delay: .09s; }
.phead__title .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes lnUp { to { transform: none; } }
html.arriving .phead__title .ln > span, html.arriving .hero__title .w { animation-delay: .35s; }
html.arriving .phead__title .ln:nth-child(2) > span { animation-delay: .44s; }
html.arriving .phead__title .ln:nth-child(3) > span { animation-delay: .53s; }
.phead__lede { max-width: 32em; margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.phead::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: draw 1.2s .3s var(--ease) forwards; }

.phead::before { content: ""; position: absolute; z-index: 2; left: var(--pad); bottom: -25px; width: 44px; height: 50px; background: url(media/trimmer.png) center / contain no-repeat; transform: rotate(118deg); opacity: 0; animation: ride3 1.2s .3s var(--ease) forwards; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
@keyframes ride3 { 0% { left: var(--pad); opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - var(--pad) - 30px); opacity: 0; } }

/* Home teaser cards */
.teaser { padding: 0 0 clamp(80px, 12vw, 160px); }
.teaser__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.tcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: 22px; overflow: hidden; text-decoration: none; padding: clamp(24px, 3vw, 40px); transition: transform .4s var(--ease); }
.tcard:hover { transform: translateY(-4px); }
.tcard--price { background: var(--orange); color: var(--deep); }
.tcard--price .kicker { color: var(--deep) !important; }
.tcard--price .kicker { color: var(--orange); }
.tcard__big { font: 800 clamp(56px, 6vw, 92px)/.95 var(--display); letter-spacing: -.03em; }
.tcard__big small { font: 600 18px/1 var(--body); letter-spacing: 0; color: rgba(6, 5, 5, .72); }
.tcard__go { margin-top: 18px; font-weight: 700; }
.tcard--studio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tcard--studio:hover img { transform: scale(1.04); }
.tcard__over { position: relative; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.tcard--studio::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78)); }
.tcard__over { z-index: 2; }
.tcard__over .kicker { color: #fff; margin-bottom: 6px; }
.tcard__over b { font: 800 clamp(26px, 3vw, 40px)/1 var(--display); }
@media (max-width: 860px) { .teaser__grid { grid-template-columns: 1fr; } .tcard { min-height: 300px; } }
.line__more, .work__all { margin-top: 26px; display: inline-flex; }

/* Line page: scroll film */
.film { height: 320vh; position: relative; }
.film__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(260px, calc((100vh - 140px) * .5625)) minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(28px, 6vw, 96px); padding: 90px var(--pad) 40px; }
.film__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(18, 17, 16, .45); }
.film__poster, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__poster { transition: opacity .3s; }
.film__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.film__bar i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.film__chapters { list-style: none; margin: 0; padding: 0; display: grid; }
.film__chapters li { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.film__chapters li.is-on { opacity: 1; transform: none; }
.film__n { font: 800 18px/1 var(--display); color: var(--orange-ink); }
.film__chapters h2 { margin: 12px 0 18px; }
.film__chapters p { font-size: 19px; color: var(--ink-2); max-width: 22em; }
@media (max-width: 760px) {
  .film { height: 300vh; }
  .film__pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 70px var(--pad) 96px; gap: 16px; justify-items: center; }
  .film__frame { height: 100%; max-height: calc(100svh - 330px); width: auto; }
  .film__chapters { width: 100%; }
  .film__chapters h2 { font-size: 34px; margin: 8px 0 8px; }
  .film__chapters p { font-size: 16px; }
}
.line--alt { background: var(--paper-2); }

/* Work page: gallery */
.gallery { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 130px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 15px/1 var(--body); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .2s, color .2s; }
.chip__n { font-size: 12px; opacity: .7; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid__item[hidden] { display: none; }
.grid__item.is-pop { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.grid__btn { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; aspect-ratio: 4 / 5; }
.grid__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.grid__btn:hover img { transform: scale(1.05); }
.grid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; color: #fff; font: 600 14px/1.35 var(--body); background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; }
.grid__btn:hover .grid__cap, .grid__btn:focus-visible .grid__cap { opacity: 1; }
.grid__empty { padding: 40px 0; color: var(--ink-2); }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .grid__cap { display: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(560px, 92vw); width: 100%; overflow: visible; color: #fff; }
.lightbox::backdrop { background: rgba(10, 9, 8, .92); }
.lightbox img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 18px; touch-action: pan-y; }
.lightbox__cap { margin-top: 14px; font-size: 16px; text-align: center; }
.lightbox__ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.iconbtn--light { border-color: #fff; color: #fff; }
.iconbtn--light:hover { background: #fff; color: var(--deep); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); font: 400 30px/1 var(--body); cursor: pointer; }
.lightbox__book { display: flex; width: max-content; margin: 18px auto 0; --bg: var(--orange); --fg: var(--deep); }
.lightbox, .lightbox * { cursor: auto; }
.lightbox button, .lightbox a { cursor: pointer; }
.work--deck { background: var(--paper-2); }

/* Prices page */
.pick { padding: clamp(40px, 6vw, 72px) 0 0; }
.pick__box { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.pick__q { font-size: clamp(30px, 4vw, 56px); grid-column: 1 / -1; }
.pick__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pick__opt { min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 16px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.pick__opt[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--deep); }
.pick__card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; justify-content: flex-end; }
.pick__card[hidden] { display: none; }
.pick__name { font-weight: 700; color: var(--ink-2); }
.pick__price { font: 800 clamp(44px, 5vw, 72px)/1 var(--display); }
.pick__price small { font: 600 17px/1 var(--body); color: var(--ink-2); }
.pick__card .btn { --bg: var(--orange); --fg: var(--deep); }
@media (max-width: 760px) { .pick__box { grid-template-columns: 1fr; } .pick__card { justify-content: flex-start; } }
.services { padding: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 120px); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { border: 2px solid var(--ink); border-radius: 26px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.svc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc__top h2 { font-size: clamp(32px, 3.6vw, 52px); }
.svc__price { font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); color: var(--orange-ink); }
.svc__time { font-weight: 700; }
.svc__lede { color: var(--ink-2); }
.svc__inc { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 10px; }
.svc__inc li { display: flex; gap: 12px; align-items: center; }
.svc__inc li::before { content: ""; width: 18px; height: 2px; background: var(--orange); flex: none; }
.svc .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .services__grid { grid-template-columns: 1fr; } }
.steps { background: var(--paper-2); padding: clamp(80px, 11vw, 150px) 0; }
.steps__list { list-style: none; margin: 46px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps__list li { border-top: 2px solid var(--ink); padding-top: 22px; }
.steps__list span { font: 800 20px/1 var(--display); color: var(--orange-ink); }
.steps__list h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 12px 0 10px; }
.steps__list p { color: var(--ink-2); }
@media (max-width: 760px) { .steps__list { grid-template-columns: 1fr; } }

/* Phone menu */
.menubtn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; position: relative; }
.top.is-solid .menubtn { background: var(--ink); }
.menubtn i, .menubtn i::before, .menubtn i::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--deep); transition: transform .3s var(--ease), top .3s; }
.top.is-solid .menubtn i, .top.is-solid .menubtn i::before, .top.is-solid .menubtn i::after { background: var(--paper); }
.menubtn i { top: 22px; }
.menubtn i::before, .menubtn i::after { content: ""; left: 0; }
.menubtn i::before { top: -6px; }
.menubtn i::after { top: 6px; }
.menubtn[aria-expanded="true"] i { background: transparent !important; }
.menubtn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menubtn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 96px var(--pad) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a { font: 800 clamp(40px, 11vw, 64px)/1.08 var(--display); letter-spacing: -.02em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.menu-panel nav a:nth-child(2) { animation-delay: .04s; } .menu-panel nav a:nth-child(3) { animation-delay: .08s; } .menu-panel nav a:nth-child(4) { animation-delay: .12s; } .menu-panel nav a:nth-child(5) { animation-delay: .16s; }
.menu-panel nav a[aria-current="page"] { color: var(--orange-ink); }
.menu-panel .btn { --bg: var(--orange); --fg: var(--deep); align-self: flex-start; }
.menu-panel__meta { color: var(--ink-2); }
.menu-open { overflow: hidden; }
.top.is-menu { background: var(--paper); color: var(--ink); box-shadow: none; }
.top.is-menu .menubtn { background: var(--ink); }
.top.is-menu .menubtn i::before, .top.is-menu .menubtn i::after { background: var(--paper); }
.top.is-menu .top__book { display: none; }
@media (max-width: 860px) { .menubtn { display: block; } }
.top__nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Page loader: a clipper pass sweeps the screen between pages */
.loader { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.loader__panel, html.arriving::before { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(243,240,234,0) 0 7px, rgba(243,240,234,.06) 7px 8px), linear-gradient(90deg, #040303, #0f0d0c 70%, #2a1a12); }
.loader__panel { display: grid; place-content: center; justify-items: center; gap: 14px; clip-path: inset(0 100% 0 0); }
.loader__mark { font: 800 clamp(44px, 8vw, 96px)/1 var(--display); color: var(--light); letter-spacing: -.02em; opacity: 0; }
.loader__mark b { font-weight: 500; font-size: .3em; letter-spacing: .2em; margin-left: .3em; vertical-align: .9em; color: var(--orange); }
.loader__name { font: 700 13px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: rgba(243,240,234,.7); opacity: 0; }
.loader__trim, html.arriving::after { position: absolute; top: 50%; left: 0; height: min(18vh, 130px); width: auto; transform: translate(-50%, -50%) rotate(118deg); opacity: 0; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.loader.is-in { pointer-events: auto; }
.loader.is-in .loader__panel { animation: ldIn .4s cubic-bezier(.7,0,.25,1) forwards; }
.loader.is-in .loader__trim { animation: ldTrim .4s cubic-bezier(.7,0,.25,1) forwards; }
.loader.is-in .loader__mark, .loader.is-in .loader__name { animation: ldText .25s .2s ease-out forwards; }
@keyframes ldIn { to { clip-path: inset(0 0 0 0); } }
@keyframes ldTrim { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes ldText { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.arriving::before { content: ""; position: fixed; z-index: 400; pointer-events: none; animation: ldSafe .3s 2.5s forwards; }
html.arriving::after { content: ""; position: fixed; z-index: 401; aspect-ratio: 253 / 291; background: url(media/trimmer-lg.webp) center / contain no-repeat; }
html.arrived::before { animation: ldOut .5s cubic-bezier(.7,0,.25,1) forwards; }
html.arrived::after { animation: ldTrim .5s cubic-bezier(.7,0,.25,1) forwards; }
@keyframes ldOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes ldSafe { to { opacity: 0; } }

/* Scroll progress lineup */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; }
.progress.is-on { opacity: 1; }
.progress__bar { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.progress__trim { position: absolute; left: 0; top: 0; width: 22px; height: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

/* Headings: a cut line drawn under each one, trimmer riding it */
.js .reveal h2, .js h2.reveal { position: relative; }
.js .reveal h2::after, .js h2.reveal::after { content: ""; display: block; width: 96px; height: 4px; margin-top: 22px; border-radius: 2px; background: var(--orange); clip-path: inset(0 100% 0 0); transition: clip-path .9s .45s cubic-bezier(.6,0,.3,1); }
.js .reveal h2::before, .js h2.reveal::before { content: ""; position: absolute; left: 0; bottom: -24px; width: 34px; height: 40px; background: url(media/trimmer.png) center / contain no-repeat; transform: rotate(118deg); opacity: 0; }
.js .reveal.is-in h2::after, .js h2.reveal.is-in::after { clip-path: inset(0 0 0 0); }
.js .reveal.is-in h2::before, .js h2.reveal.is-in::before { animation: ride2 .9s .45s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes ride2 { 0% { left: -10px; opacity: 1; } 85% { opacity: 1; } 100% { left: 90px; opacity: 0; } }
.js .reveal.is-in h2, .js h2.reveal.is-in { clip-path: inset(-20% -10% -40% -10%) !important; }
.final__title::after, .final__title::before, .pick__q::after, .pick__q::before, .studio__h::after, .studio__h::before, .rating__h::after, .rating__h::before, .film__chapters h2::after, .film__chapters h2::before { content: none !important; }

/* Photos come in with a clipper pass: top to bottom wipe */
.js .reveal img, .js .reveal video, .js .grid__item img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.6,0,.2,1) .1s; }
.js .reveal.is-in img, .js .reveal.is-in video, .js .grid__item.is-in img { clip-path: inset(0 0 0 0); }
.js .grid__item:nth-child(3n+2) img { transition-delay: .2s; }
.js .grid__item:nth-child(3n) img { transition-delay: .3s; }
.js .reveal .fx__trim, .js .reveal .credit img { clip-path: none; }

/* Footer */
.foot { background: var(--deep); color: rgba(243, 240, 234, .82); padding: 56px 0 120px; font-size: 15px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: start; }
.foot__nav a { padding: 3px 0; }
.brand--foot { color: var(--light); margin-bottom: 10px; }
.foot__nav { display: flex; flex-direction: column; gap: 10px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--light); text-decoration: underline; }
.credit { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 1px solid rgba(243, 240, 234, .25); padding: 8px 14px 8px 8px; border-radius: 999px; color: var(--light); }
.credit img { border-radius: 50%; }
.foot__note { margin-top: 36px; font-size: 13px; color: rgba(243, 240, 234, .62); }
@media (min-width: 861px) { .foot { padding-bottom: 56px; } }

/* Phone book bar */
.bookbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; transform: translateY(140%); transition: transform .45s var(--ease); }
.bookbar .btn { width: 100%; --bg: var(--orange); --fg: var(--deep); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.bookbar.is-on { transform: none; }
@media (min-width: 861px) { .bookbar { display: none; } }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js h2.reveal, .js .reveal h2 { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease) .1s; }
.js .reveal.is-in h2, .js h2.reveal.is-in { clip-path: inset(0 0 -10% 0); }

/* Trimmer cursor (fine pointers only) */
.cursor { display: none; position: fixed; left: 0; top: 0; z-index: 200; width: 54px; height: auto; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.has-cursor .cursor { display: block; }
.has-cursor .cursor.is-on { opacity: 1; }
.cursor.is-buzz { animation: buzz .08s linear infinite; }
@keyframes buzz { 50% { translate: 1px -1px; } }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input, .has-cursor [data-card] { cursor: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__media, .hero__title .w, .hero__rule { animation: none; opacity: 1; transform: none; }
  .ticker__track, .dot { animation: none; }
  .js .reveal, .js .reveal h2, .js h2.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .phead__title .ln > span, .phead::after, .menu-panel nav a { animation: none; opacity: 1; transform: none; }
  .hero__rule::before { animation: none; clip-path: none; }
  .hero__rule::after, .phead::before { display: none; }
  .js .reveal h2::before, .js h2.reveal::before { display: none; }
  .js .reveal h2::after, .js h2.reveal::after { clip-path: none; transition: none; }
  .js .reveal img, .js .reveal video, .js .grid__item img { clip-path: none; transition: none; }
  .film__chapters li { transition: none; }
  .bars__track i { transition: none; }
  .cursor.is-buzz { animation: none; }
  .deck__card { transition: opacity .2s; }
}

/* Film grain over everything (static, cheap) */
html.loaded body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; background: url(media/grain.webp); opacity: .06; animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ===== Round 5: big upgrade ===== */
/* Hero: dim full-screen clip behind a 3D ring of his reels */
.hero--ring { background: var(--deep); }
.hero--ring .hero__media { filter: brightness(.34) saturate(.85) contrast(1.05); }
.hero--ring .hero__shade { background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 91, 31, .16), transparent 70%), linear-gradient(180deg, rgba(6,5,5,.6) 0%, rgba(6,5,5,0) 25%, rgba(6,5,5,.15) 55%, rgba(6,5,5,.92) 100%); }
.hero__giant { position: absolute; left: 0; top: 40%; transform: translateY(-50%); margin: 0; display: flex; white-space: nowrap; font: 800 clamp(120px, 22vw, 360px)/.8 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 237, 230, .22); pointer-events: none; animation: giant 40s linear infinite; }
.hero__giant::before { content: "DTBEAMEDIT · HAIRLINE SPECIALIST · DTBEAMEDIT · HAIRLINE SPECIALIST · "; white-space: pre; } /* text in CSS: decorative, and not counted as the main paint */
@keyframes giant { to { transform: translate(-50%, -50%); } }
.ring-stage { position: absolute; inset: 0 0 auto; height: 70%; display: grid; place-items: center; perspective: 1500px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { --w: clamp(150px, 14vw, 230px); position: relative; width: var(--w); aspect-ratio: 9 / 16; transform-style: preserve-3d; will-change: transform; margin-top: 5vh; }
.ring__item { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #1c1916; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); outline: 1px solid rgba(255, 255, 255, .08); }
.ring__item img, .ring__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring__item video { opacity: 0; transition: opacity .4s; }
.ring__item video.is-on { opacity: 1; }
.ring__item::after { content: ""; position: absolute; inset: 0; background: #060505; opacity: var(--dim, .5); pointer-events: none; }
.ring__item.is-front { outline: 2px solid var(--orange); }
.ring__cap { position: absolute; z-index: 3; left: 50%; text-decoration: none; padding: 8px 0; top: calc(4vh + 39% + var(--capoff, 0px)); transform: translateX(-50%); margin: 0; font: 600 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 237, 230, .85); text-align: center; width: min(90vw, 420px); }
.ring__cap:hover { color: var(--orange); }
.hero--ring .hero__copy { bottom: clamp(24px, 5vh, 56px); max-width: none; }
.hero--ring .hero__title { font-size: clamp(46px, min(7.6vw, 11vh), 128px); }
.hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.hero--ring .hero__cta { margin-top: 0; }
.hero--ring .hero__rule { margin: 18px 0 16px; }
@media (min-width: 761px) { .hero--ring .hero__pause { top: 92px; bottom: auto; } }
@media (max-width: 760px) {
  .ring { --w: 36vw; margin-top: 0; }
  .ring-stage { height: 64%; }
  .ring__cap { font-size: 11px; }
  .hero__giant { top: 32%; }
  .hero--ring .hero__copy { bottom: 88px; }
  .hero--ring .hero__lede { display: none; }
  .hero--ring .hero__rule { margin: 12px 0; }
}

/* Giant outline words that drift as you scroll */
.line, .styles { overflow: hidden; }
.ghost { position: absolute; top: 6%; left: 0; margin: 0; white-space: nowrap; font: 800 clamp(120px, 20vw, 320px)/.8 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 237, 230, .1); pointer-events: none; will-change: transform; }
.line .wrap { position: relative; }

/* Chair rail: drag sideways through the cuts */
.rail { padding: clamp(80px, 11vw, 150px) 0; }
.rail__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.rail__track { display: flex; gap: 18px; overflow-x: auto; padding: 10px var(--pad) 30px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; perspective: 1200px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail__card { flex: none; position: relative; width: clamp(240px, 24vw, 360px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--paper-2); transform-style: preserve-3d; transition: transform .5s var(--ease); text-decoration: none; }
.rail__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.rail__card:hover img { transform: scale(1.06); }
.rail__n { position: absolute; z-index: 2; top: 12px; left: 16px; font: 800 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); letter-spacing: -.04em; }
.rail__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; font: 600 15px/1.35 var(--body); color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)); }
@media (max-width: 760px) { .rail__card { width: 68vw; } .rail__n { font-size: 48px; } }

/* Styles list with a photo that follows the cursor */
.styles { padding: 0 0 clamp(80px, 11vw, 150px); position: relative; }
.styles h2 { margin-bottom: 30px; }
.styles__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.styles__row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.styles__name { font: 800 clamp(48px, 8vw, 128px)/.9 var(--display); letter-spacing: -.03em; transition: color .3s, transform .5s var(--ease); }
.styles__row:hover .styles__name, .styles__row:focus-visible .styles__name { color: var(--orange); transform: translateX(18px); }
.styles__count { font-weight: 700; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.styles__go { font: 800 34px/1 var(--display); transition: transform .4s var(--ease); }
.styles__row:hover .styles__go { transform: translateX(8px) rotate(-45deg); }
.styles__strip { display: flex; gap: 8px; flex: none; }
.styles__strip img { flex: none; }
.styles__count { white-space: nowrap; }
.styles__strip img { width: 74px; height: 92px; object-fit: cover; border-radius: 10px; opacity: 0; transform: translateY(10px) rotate(-3deg); transition: opacity .35s, transform .5s var(--ease); }
.styles__strip img:nth-child(2) { transition-delay: .05s; } .styles__strip img:nth-child(3) { transition-delay: .1s; }
.styles__row:hover .styles__strip img, .styles__row:focus-visible .styles__strip img { opacity: 1; transform: none; }
@media (hover: none), (max-width: 760px) { .styles__strip img { opacity: 1; transform: none; width: 44px; height: 56px; } .styles__strip img:nth-child(n+2) { display: none; } .styles__row { grid-template-columns: 1fr auto auto; gap: 12px; } .styles__go { display: none; } .styles__name { font-size: clamp(30px, 9.5vw, 44px); } .styles__count { font-size: 12px; } }

/* Magnetic buttons */
.btn.is-mag { transition: transform .25s var(--ease), background .2s, color .2s; }

/* Intro loader (first visit in a session) */
.intro { display: none; }
html.is-intro .intro, html.is-intro-out .intro { display: grid; position: fixed; inset: 0; z-index: 500; place-items: center; background: var(--deep); animation: ldSafe .4s 4s forwards; }
.intro__word { position: relative; white-space: nowrap; font: 800 clamp(36px, 9.4vw, 150px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 237, 230, .35); }
.intro__fill { position: absolute; inset: 0; white-space: nowrap; color: var(--light); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); }
.intro__fill b { color: var(--orange); font-weight: 800; }
.intro__trim { position: absolute; left: 0; top: 50%; height: .9em; width: auto; transform: translate(-50%, -50%) rotate(118deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.intro__count { position: absolute; right: var(--pad); bottom: 28px; font: 800 clamp(40px, 7vw, 96px)/1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; }
.intro__meta { position: absolute; left: var(--pad); bottom: 34px; font: 600 13px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
html.is-intro-out .intro { animation: introOut .7s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }

/* Page transition: rows of clipper passes */
.loader__panel { display: none; }
.bands { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(6, 1fr); }
.bands i, html.arriving .abands i { display: block; background: repeating-linear-gradient(90deg, rgba(243,240,234,0) 0 7px, rgba(243,240,234,.05) 7px 8px), #0b0a09; transform: scaleX(0); transform-origin: left; border-bottom: 1px solid rgba(255, 91, 31, .35); }
.loader.is-in .bands i { animation: bandIn .42s cubic-bezier(.7, 0, .25, 1) forwards; }
.bands i:nth-child(2) { animation-delay: .03s !important; } .bands i:nth-child(3) { animation-delay: .06s !important; } .bands i:nth-child(4) { animation-delay: .09s !important; } .bands i:nth-child(5) { animation-delay: .12s !important; } .bands i:nth-child(6) { animation-delay: .15s !important; }
@keyframes bandIn { to { transform: scaleX(1); } }
.loader__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; }
.loader.is-in .loader__mark, .loader.is-in .loader__name { animation: ldText .25s .3s ease-out forwards; }
.abands { display: none; }
html.arriving .abands { display: grid; position: fixed; inset: 0; z-index: 400; grid-template-rows: repeat(6, 1fr); pointer-events: none; animation: ldSafe .3s 2.5s forwards; }
html.arriving .abands i { transform: none; transform-origin: right; }
html.arrived .abands i { animation: bandOut .5s cubic-bezier(.7, 0, .25, 1) forwards; }
html.arrived .abands i:nth-child(2) { animation-delay: .03s; } html.arrived .abands i:nth-child(3) { animation-delay: .06s; } html.arrived .abands i:nth-child(4) { animation-delay: .09s; } html.arrived .abands i:nth-child(5) { animation-delay: .12s; } html.arrived .abands i:nth-child(6) { animation-delay: .15s; }
@keyframes bandOut { to { transform: scaleX(0); } }
html.arriving::before { content: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__giant { animation: none; }
  html.is-intro .intro { display: none; }
}

/* Wider screens: ring on the right, words on the left, so they never overlap at any height */
@media (min-width: 1000px) {
  .ring-stage { inset: 0 0 0 46%; height: 100%; }
  .ring { --w: clamp(150px, min(13vw, 25vh), 230px); margin-top: -6vh; }
  .hero--ring .hero__copy { right: 50%; }
  .hero--ring .hero__title { font-size: clamp(46px, min(6.4vw, 10.5vh), 112px); }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .ring__cap { left: 73%; }
  .hero__giant { top: 46%; }
}
