:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --accent: #ff4400;
  --green: #00ff6a;
  --cream: #fff7f5;
  --pad: clamp(16px, 3vw, 40px);
  --font: "Inter Tight", Inter, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 18px; line-height: 1.3; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* ---------- Fixed UI ---------- */
.ui { position: fixed; left: 0; right: 0; z-index: 50; padding: 20px var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 12px; mix-blend-mode: difference; color: #fff; pointer-events: none; }
.ui a, .ui button { pointer-events: auto; }
.ui--top { top: 0; align-items: start; }
.ui--bottom { bottom: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .03em; }
.ui__col { display: flex; flex-direction: column; gap: 2px; }
.ui__col strong { font-weight: 600; }
.ui__col span { opacity: .75; }
.ui__col--right { flex-direction: row; gap: 10px; justify-self: end; align-items: center; }
.ui__col--right div { display: flex; flex-direction: column; }
.ui__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #888, #333); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.brand__mark { width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.ui__row { display: flex; align-items: center; gap: 20px; }
.ui__social { justify-self: end; }
.play { font-size: 10px; }
.ticker { width: 110px; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-block; animation: ticker 12s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.progress { position: fixed; left: var(--pad); top: 50%; z-index: 50; display: flex; align-items: center; gap: 8px; font-size: 10px; mix-blend-mode: difference; }
.progress__line { width: 18px; height: 1px; background: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 100px; }
.hero__title { font-size: clamp(44px, 9vw, 150px); font-weight: 600; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; margin-left: 8vw; }
.line { display: block; overflow: hidden; }
.line > span { display: inline-block; }
.line--indent { padding-left: 1.2em; }
.line--indent-sm { padding-left: .2em; }
.hero__intro { max-width: 280px; margin: 5vh 0 0 calc(8vw + 1.2em); font-size: 16px; }
.hero__media { position: absolute; right: var(--pad); bottom: 90px; width: min(34vw, 460px); aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; }
.media__tag { position: absolute; left: 12px; bottom: 10px; font-size: 11px; text-transform: uppercase; }

/* Placeholder art (gradient blobs) */
.blobart { position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 35%, #ff5fa2 0 18%, transparent 19%),
  radial-gradient(circle at 70% 30%, #26e8d0 0 16%, transparent 17%),
  radial-gradient(circle at 55% 70%, #ffd23f 0 14%, transparent 15%),
  radial-gradient(circle at 20% 80%, #7b5cff 0 12%, transparent 13%),
  linear-gradient(135deg, #f7e9df, #e9c6b5); }
.blobart--big { filter: blur(40px) saturate(1.3); transform: scale(1.3); }

/* ---------- Craft ---------- */
.craft { position: relative; height: 170dvh; }
.craft__sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: grid; place-items: center; }
.craft__bg { position: absolute; inset: 0; }
.craft__tint { position: absolute; inset: 0; background: var(--green); mix-blend-mode: multiply; opacity: 0; }
.craft__title { position: relative; color: #000; text-align: center; font-size: clamp(40px, 6.5vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.craft__title span { display: block; }
.craft__aside { position: absolute; left: var(--pad); bottom: 110px; max-width: 360px; color: #000; font-size: 16px; opacity: 0; }
.craft__lead { font-weight: 600; margin-bottom: 8px; }

/* ---------- Process ---------- */
.process { position: relative; height: 100dvh; background: var(--accent); color: #000; overflow: hidden; }
.process__inner { height: 100%; display: grid; grid-template-columns: 160px 280px 1fr; gap: 40px; align-items: center; padding: 0 var(--pad) 0 calc(var(--pad) + 80px); }
.process__steps li { font-size: 13px; text-transform: uppercase; margin-bottom: 26px; opacity: .35; transition: opacity .3s; }
.process__steps li.is-active { opacity: 1; }
.process__texts { position: relative; height: 140px; }
.process__texts p { position: absolute; inset: 0; font-size: 15px; opacity: 0; transform: translateY(10px); transition: .4s; }
.process__texts p.is-active { opacity: 1; transform: none; }
.process__wheel { position: relative; height: 100%; perspective: 900px; }
.process__wheel span { position: absolute; left: 20%; top: 50%; font-size: clamp(36px, 5vw, 70px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; transform-origin: 0 50%; will-change: transform, opacity, filter; }

/* ---------- Works ---------- */
.works { position: relative; height: 100dvh; background: var(--cream); color: #000; overflow: hidden; }
.works__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.is-scrolling .works__track { pointer-events: none; }
.work { width: 100vw; height: 100%; display: grid; grid-template-columns: 1fr 1.2fr 220px; align-items: center; gap: 40px; padding: 0 var(--pad) 0 calc(var(--pad) + 60px); }
.work__title { font-size: clamp(34px, 4.5vw, 72px); font-weight: 600; line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.work__img { display: block; aspect-ratio: 4/5; max-height: 70vh; border-radius: 12px; overflow: hidden; }
.work__visual { width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work__img:hover .work__visual { transform: scale(1.05); }
.work__meta p { font-size: 15px; opacity: .6; }
.work__meta .work__name { font-size: 20px; font-weight: 600; opacity: 1; margin-bottom: 8px; }
.work__link { display: inline-flex; gap: 8px; margin-top: 24px; font-weight: 500; border-bottom: 1px solid; }
.work__link span { transition: transform .3s; }
.work__link:hover span { transform: translateX(6px); }

/* ---------- Lab ---------- */
.lab { position: relative; min-height: 170dvh; background: var(--cream); color: #000; padding: 20vh var(--pad) 20vh; }
.lab__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 10vh; }
.lab__title { font-size: clamp(40px, 6.5vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.lab__title span { display: block; }
.lab__head p { max-width: 320px; font-size: 16px; }
.lab__card { position: relative; display: block; width: min(70vw, 900px); margin: 0 auto; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #111; }
.lab__card canvas { width: 100%; height: 100%; display: block; }
.lab__label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 13px; }

/* ---------- Contact ---------- */
.contact { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: 96px var(--pad) 160px; overflow: hidden; }
.ask { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 100%; }
.ask__hint { font-size: clamp(18px, 2vw, 26px); font-weight: 500; color: rgba(255,255,255,.55); min-height: 1.3em; }
.caret { display: inline-block; width: .06em; height: .9em; margin-left: .08em; transform: translateY(.12em); border-radius: 9px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask__title { font-size: clamp(56px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; min-height: 1em; max-width: 90vw; }
.ask__title .w { display: inline-block; white-space: nowrap; }
.ask__title .ch { display: inline-block; white-space: pre; will-change: filter, transform; }
@media (min-width: 700px) { .ask__title { white-space: nowrap; max-width: none; font-size: min(96px, 5.6vw); } }   /* one line on desktop */
.ask__answer { max-width: 560px; font-size: 18px; color: rgba(255,255,255,.8); min-height: 1.3em; }
.ask__help { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .35; }
.ask__input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.ask.is-typing .ask__title::after { content: ""; display: inline-block; width: .05em; height: .8em; margin-left: .06em; background: #fff; animation: blink 1s steps(1) infinite; }

/* ---------- Grain ---------- */
/* high-contrast speckle: noise → greyscale → contrast boost (slope/intercept) */
.grain { position: fixed; inset: -40px; z-index: 50; pointer-events: none; opacity: .11; background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-0.8'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  contain: strict; }
/* still on purpose: an animated full-screen grain made the browser redraw the whole page
   several times a second, which was the main source of stutter while scrolling */

/* ---------- Custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input { cursor: none; }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), margin .35s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.cursor__label { font-size: 12px; font-weight: 600; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 95; background: var(--accent); color: #000; display: grid; place-items: center; font-size: clamp(32px, 5vw, 72px); font-weight: 600; letter-spacing: -.03em; transform: translateY(100%); pointer-events: none; }

/* ---------- Text roll on links ---------- */
.roll { display: inline-flex; flex-direction: column; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: bottom; }
.roll > span { transition: transform .5s cubic-bezier(.7,0,.2,1); }
a:hover .roll > span { transform: translateY(-100%); }

/* ---------- Equalizer ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq i { width: 2px; height: 2px; background: currentColor; }
body.is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; } .eq i:nth-child(3) { animation-delay: -.6s !important; } .eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0% { height: 2px; } 100% { height: 10px; } }


/* ---------- Project thumb hover ---------- */
.work__img { position: relative; transform: scale(var(--s, 1)); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
.work__img:hover { --s: 1.012; box-shadow: rgba(0,0,0,.7) 0 32px 80px; }
.work__img:hover .work__visual { transform: scale(1.06); }
.work__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); opacity: 0; transition: opacity .5s; }
.work__over { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.work__over > * { opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s cubic-bezier(.2,.7,.2,1); }
.work__over-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.work__over-title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.work__over-arrow { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.work__over-arrow svg { transform: rotate(-45deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.work__img:hover .work__shade { opacity: 1; }
.work__img:hover .work__over > * { opacity: 1; transform: none; }
.work__img:hover .work__over-cat { transition-delay: 50ms; }
.work__img:hover .work__over-title { transition-delay: .14s; }
.work__img:hover .work__over-arrow { transition-delay: .24s; }
.work__img:hover .work__over-arrow svg { transition-delay: .28s; transform: rotate(0deg); }

/* ---------- Side progress reveal ---------- */
.progress { opacity: 0; transition: opacity .4s; }
.progress.is-visible { opacity: 1; }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .ui--top .ui__col:not(.ui__col--right) { display: none; }
  .ui { grid-template-columns: 1fr auto; }
  .ui--bottom .ui__social, .ticker, .progress { display: none; }
  .hero__title { margin-left: 0; }
  .hero__intro { margin-left: 0; }
  .hero__media { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 40px; }
  .process__inner { grid-template-columns: 1fr; padding: 100px var(--pad); align-content: center; gap: 20px; }
  .process__wheel { height: 40vh; }
  .work { grid-template-columns: 1fr; align-content: center; gap: 16px; padding: 90px var(--pad); }
  .work__img { max-height: 45vh; aspect-ratio: 4/3; }
  .lab__card { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* =========================================================
   PROJECT PAGE
   ========================================================= */
.page-project { --muted: #888; --radius: clamp(10px, 1.44vw, 20px); }
.pr { padding: 160px 0 128px; }
.pr__wrap { width: 1120px; max-width: 100%; margin: 0 auto; padding: 0 16px; }

.back { display: inline-flex; align-items: center; margin-bottom: 24px; padding: 8px 14px; border-radius: 30px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s; }
.back:hover { background: rgba(255,255,255,.12); }

.pr__hero { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: #141414; }
.pr__hero-media { position: absolute; inset: -6% 0; }

.pr__intro { margin-top: 48px; display: flex; flex-direction: column; gap: 24px; }
.pr__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.pr__id { grid-column: span 4; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.pr__title { font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.pr__meta { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: -18px; }
.pr__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -18px; }
.pr__chips:first-of-type { margin-top: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); font-size: 10px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.chip__icon { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #666, #333); }
.pr__lead { grid-column: span 4; font-size: 18px; line-height: 1.6; white-space: pre-line; }
.pr__links { display: flex; justify-content: flex-end; gap: 20px; }
.pr__ext { display: inline-flex; gap: 6px; font-size: 15px; opacity: .8; transition: opacity .3s; }
.pr__ext:hover { opacity: 1; }
.pr__ext span { transition: transform .3s; }
.pr__ext:hover span { transform: translate(2px, -2px); }

.pr__sections { margin-top: 64px; display: flex; flex-direction: column; gap: 72px; }
.case { display: flex; flex-direction: column; gap: 40px; }
.case__head { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; padding: 32px 0; }
.case__name { grid-column: span 3; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.case__text { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.case__hook { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.case__body { font-size: 18px; line-height: 1.6; color: var(--muted); white-space: pre-line; }
.case__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: #141414; }
.shot--full { grid-column: span 2; }
.shot__media { position: absolute; inset: 0; }

.next { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 160px; text-align: center; }
.next__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.next__title { font-size: clamp(48px, 8vw, 120px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.next__card { position: relative; width: min(520px, 100%); aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.next__visual { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.next:hover .next__visual { transform: scale(1.06); }

@media (max-width: 800px) {
  .pr { padding-top: 110px; }
  .pr__grid, .case__head { grid-template-columns: 1fr; }
  .pr__id, .pr__lead, .case__name, .case__text { grid-column: auto; }
  .pr__title { font-size: 36px; }
  .case__hook { font-size: 24px; }
  .pr__links { justify-content: flex-start; }
}

/* hero "video" placeholder: slow moving gradient (swap for a real <video>) */
.pr__hero-media.is-video { background-size: 160% 160% !important; animation: heroPan 10s ease-in-out infinite alternate; }
@keyframes heroPan { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.case__gallery:empty { display: none; }

/* =========================================================
   ASK BAR (local answer engine)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100dvh; padding: 96px var(--pad) 96px; }
.contact .ask { flex: 1; width: 100%; max-width: 1120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 40px 0 60px; }
.ask__zero { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.contact .ask__title { font-size: clamp(2.6rem, 6.4vw, 6.8rem); line-height: 1.08; }

/* dock */
.dock { position: sticky; bottom: 88px; z-index: 5; width: min(560px, 100%); padding: 10px; border-radius: 22px; background: rgba(28,28,28,.72); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.dock__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 10px; mask-image: linear-gradient(to right, #000 85%, transparent); }
.dock__chips::-webkit-scrollbar { display: none; }
.chipq { flex: none; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); font-size: 12px; color: rgba(255,255,255,.7); white-space: nowrap; transition: background .25s, color .25s; }
.chipq:hover { background: rgba(255,255,255,.12); color: #fff; }
.dock__row { display: flex; align-items: center; gap: 8px; padding: 6px 4px 2px 14px; }
.dock__row input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 15px; }
.dock__row input::placeholder { color: rgba(255,255,255,.4); }
.dock__send { width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fff; color: #000; display: grid; place-items: center; transition: transform .25s; }
.dock__send:hover { transform: scale(1.06); }

/* answer */
.ans { width: 100%; display: grid; gap: 28px 48px; align-items: center; }
.ans--split { grid-template-columns: 1fr minmax(260px, 420px); }
.ans__main { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.ans:not(.ans--split) .ans__main { margin: 0 auto; text-align: center; align-items: center; }
.ans__q { font-size: 15px; color: rgba(255,255,255,.45); }
.ans__head { font-size: clamp(36px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.ans__text { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.78); }
.w { display: inline-block; }
.ans__cta { display: inline-flex; gap: 8px; align-self: flex-start; padding: 12px 18px; border-radius: 14px; background: #fff; color: #000; font-size: 14px; font-weight: 600; }
.ans:not(.ans--split) .ans__cta { align-self: center; }
.ans__cta span { transition: transform .3s; }
.ans__cta:hover span { transform: translateX(4px); }
.ans__reset { grid-column: 1 / -1; justify-self: center; font-size: 12px; color: rgba(255,255,255,.45); padding: 6px 10px; }
.ans__reset:hover { color: #fff; }
.ans--loading { justify-items: center; }
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); animation: dot 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .18s; } .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* shared card bits */
.acard, .mtile, .rcard { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #141414; }
.acard__media, .mtile__media, .rcard__media { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.acard:hover [class$="__media"], .mtile:hover [class$="__media"], .rcard:hover [class$="__media"] { transform: scale(1.06); }
.acard__meta, .mtile__meta, .rcard__meta { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.acard__meta em, .mtile__meta em, .rcard__meta em { font-style: normal; font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.acard::after, .mtile::after, .rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%); pointer-events: none; }
.acard__meta, .mtile__meta, .rcard__meta { z-index: 1; }

/* text_image */
.acard { aspect-ratio: 4/5; }

/* masonry_grid */
.ans__masonry { grid-column: 1 / -1; columns: 3 220px; column-gap: 12px; }
.mtile { aspect-ratio: 1/1; margin-bottom: 12px; break-inside: avoid; }
.mtile--tall { aspect-ratio: 3/4; }

/* carousels */
.ans__rail { grid-column: 1 / -1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.ans__rail::-webkit-scrollbar { display: none; }
.rcard { flex: none; width: min(300px, 70vw); aspect-ratio: 4/5; scroll-snap-align: start; }
.ans__rail--patch { align-items: flex-end; }
.ptile { flex: none; position: relative; display: flex; align-items: flex-end; padding: 12px; border-radius: 16px; font-size: 13px; font-weight: 600; scroll-snap-align: start; }
.ptile span { position: relative; }
.ptile--a { width: 220px; height: 280px; }
.ptile--b { width: 160px; height: 200px; }
.ptile--c { width: 260px; height: 180px; }

@media (max-width: 800px) {
  .ans--split { grid-template-columns: 1fr; }
  .dock { bottom: 76px; }
}
.ans--split .ans__main { text-align: left; align-items: flex-start; }

/* =========================================================
   CASE STUDY CONTENT (real copy)
   ========================================================= */
.page-project { --tier: #7aa7ff; }
.page-project[data-tier="independent-product"] { --tier: #3ddc97; }
.page-project[data-tier="selected-experiment"] { --tier: #ffb35c; }
.page-project[data-tier="earlier-work"] { --tier: #9a9a9a; }

.pr__tier { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--tier); display: flex; align-items: center; gap: 8px; }
.pr__tier::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pr__id { gap: 24px; }
.pr__metalist { display: grid; gap: 10px; width: 100%; margin-top: -4px; }
.pr__metalist div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 13px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.pr__metalist dt { color: var(--muted); }
.pr__metalist dd { color: #ddd; }
.pr__chips { margin-top: 0; }
.pr__right { grid-column: span 4; display: flex; flex-direction: column; gap: 28px; }
.pr__headline { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.pr__right .pr__lead { grid-column: auto; color: rgba(255,255,255,.75); }

/* placeholder note on every visual */
.pr__hero .vis__note { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.vis__note { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.82); max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.vis__note span { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.14); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.shot::after, .pr__hero::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.18); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.shot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); pointer-events: none; }

/* rich text */
.case__hook { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.rt { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.rt__ul, .rt__ol { display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
.rt__ul li { position: relative; padding-left: 22px; }
.rt__ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1px; background: var(--tier); }
.rt__ol { counter-reset: n; list-style: none; }
.rt__ol li { counter-increment: n; position: relative; padding-left: 34px; }
.rt__ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-size: 12px; color: var(--tier); font-weight: 600; }
.rt__ol strong, .rules strong { color: #fff; font-weight: 500; }
.rt__pull { color: #fff; font-size: 22px; line-height: 1.35; letter-spacing: -.01em; padding-left: 18px; border-left: 2px solid var(--tier); }
.rt__q { color: #fff; font-size: 24px; line-height: 1.3; font-style: italic; letter-spacing: -.01em; }

.case__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 20px; }

/* stats strip */
.case--stats { padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); gap: 0; }
.stats { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 16px 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
/* Scale strip: short phrases rather than figures (the scale of a product, not metrics). Tiles with the
   label on top, the starting point muted and the arrow in the tier colour; an accent line grows on reveal. */
.stats--text { gap: 12px; }
.stats--text .stat { position: relative; overflow: hidden; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding: 22px 22px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: border-color .4s, background .4s; }
.stats--text .stat:hover { border-color: rgba(255,255,255,.18); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); }
.stats--text .stat::after { content: ""; position: absolute; left: 22px; bottom: 0; height: 2px; width: calc(100% - 44px); background: linear-gradient(90deg, var(--tier), transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.stats--text .stat.is-in::after { transform: scaleX(1); }
.stats--text .stat strong { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.025em; line-height: 1.15; }
@media (max-width: 1100px) { .stats--text { grid-template-columns: repeat(2, 1fr); } }
.stats--text .stat span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stat__from { font-style: normal; font-weight: 500; color: var(--muted); }
.stat__arrow { font-style: normal; color: var(--tier); margin: 0 .08em; }
.stats__cap { margin-top: 20px; font-size: 13px; color: var(--muted); font-style: italic; }

/* flow chain */
.case--flow { gap: 0; }
.flow { display: flex; list-style: none; gap: 0; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.flow li { flex: 1 0 140px; position: relative; padding: 18px 24px 18px 16px; font-size: 16px; font-weight: 500; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-left: 0; }
.flow li:first-child { border-left: 1px solid rgba(255,255,255,.08); border-radius: 12px 0 0 12px; }
.flow li:last-child { border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--tier) 18%, transparent); }
.flow li span { display: block; font-size: 11px; color: var(--tier); margin-bottom: 6px; font-weight: 600; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 13px; color: var(--muted); background: var(--bg); padding: 2px 0; }

/* rules */
.rules { list-style: none; counter-reset: r; display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.rules li { counter-increment: r; position: relative; padding: 20px 20px 20px 64px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.rules li::before { content: counter(r); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--tier); color: #000; }
.rules p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 6px; }

/* sub-story (Bernie) */
.case--sub { padding: 72px 0 8px; border-top: 1px solid rgba(255,255,255,.1); gap: 8px; }
.sub__name { font-size: clamp(56px, 9vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.sub__title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; max-width: 720px; color: rgba(255,255,255,.8); margin-top: 16px; }

/* reflection block */
.case--reflect .case__head { padding: 40px; border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }

@media (max-width: 800px) {
  .pr__right { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* phones: one tile per row, label and value side by side */
  .stats--text { grid-template-columns: 1fr; gap: 8px; }
  .stats--text .stat { flex-direction: row-reverse; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 18px 18px; }
  .stats--text .stat::after { left: 18px; width: calc(100% - 36px); }
  .stats--text .stat strong { font-size: 22px; flex: 0 0 auto; }
  .stats--text .stat span { flex: 1 1 auto; }
  .case--reflect .case__head { padding: 24px; }
  .rules li { padding-left: 56px; }
}

/* =========================================================
   HOME — real content
   ========================================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.18); transition: background .3s, border-color .3s; }
.btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.btn--light { background: #fff; color: #000; border-color: #fff; }
.btn--light:hover { background: #e9e9e9; }
.btn span { transition: transform .3s; }
.btn:hover span { transform: translateX(4px); }

.hero__intro { max-width: 420px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 0 calc(8vw + 1.2em); }
.blobart--work { background:
  radial-gradient(circle at 25% 30%, hsl(215 70% 55%) 0 16%, transparent 17%),
  radial-gradient(circle at 70% 35%, hsl(0 0% 80%) 0 14%, transparent 15%),
  radial-gradient(circle at 50% 75%, hsl(340 45% 55%) 0 15%, transparent 16%),
  radial-gradient(circle at 85% 80%, hsl(150 60% 45%) 0 8%, transparent 9%),
  linear-gradient(135deg, #1b1d22, #0f1013); }
.hero__media .vis__note { max-width: 90%; }

/* work cards */
.works__eyebrow { position: absolute; top: 96px; left: calc(var(--pad) + 60px); z-index: 2; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.works__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f5bd9; transition: background .4s; }
.works.is-indie .works__eyebrow::before { background: #1f9d64; }
.work__head { display: flex; flex-direction: column; gap: 20px; }
.work__index { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; }
.work__title { text-transform: none; font-size: clamp(30px, 3.6vw, 58px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.work__desc { font-size: 15px !important; opacity: .75 !important; margin-bottom: 12px; line-height: 1.45; }
.work__cat { font-size: 12px !important; text-transform: uppercase; letter-spacing: .04em; }
.work__meta .work__name { font-size: 20px; }
/* Outpost: independent product — different editorial treatment, not smaller */
.work--indie { background: #0f1a14; color: #eaf5ee; }
.work--indie .work__index { color: #3ddc97; opacity: 1; }
.work--indie .work__img { border-radius: 200px 200px 16px 16px; }

/* selected experiments — quieter card */
.lab { min-height: auto; padding-bottom: 12vh; }
.lab__head { margin-bottom: 6vh; }
.xp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; width: min(1000px, 100%); aspect-ratio: auto; background: #f1ebe8; color: #111; border: 1px solid rgba(0,0,0,.06); }
.xp__text { display: flex; flex-direction: column; gap: 12px; padding: 36px; }
.xp__tier { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #b36b16; }
.xp__name { font-size: 28px; letter-spacing: -.02em; }
.xp__title { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.xp__desc { font-size: 15px; line-height: 1.5; opacity: .7; }
.xp__tags { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .5; }
.xp__link { margin-top: auto; font-weight: 600; font-size: 14px; }
.xp__link span { display: inline-block; transition: transform .3s; }
.xp:hover .xp__link span { transform: translateX(5px); }
.xp__screen { position: relative; min-height: 300px; background: linear-gradient(160deg, #2a2420, #15110e); }
.xp__screen::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(255,255,255,.2); border-radius: 10px; }

/* earlier work */
.earlier { width: min(1000px, 100%); margin: 16vh auto 0; }
.earlier__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.earlier__title { font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -.035em; }
.earlier__head p { font-size: 15px; opacity: .6; max-width: 320px; }
.earlier__list { list-style: none; border-top: 1px solid rgba(0,0,0,.12); }
.erow { display: grid; grid-template-columns: 110px 1fr 1.4fr 24px; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid rgba(0,0,0,.12); font-size: 15px; transition: padding .35s, background .35s; }
a.erow:hover { padding-left: 14px; padding-right: 14px; background: rgba(0,0,0,.035); }
.erow__year { font-size: 12px; opacity: .5; font-variant-numeric: tabular-nums; }
.erow__name { font-weight: 600; }
.erow__title { opacity: .65; }
.erow__arrow { justify-self: end; transition: transform .3s; }
a.erow:hover .erow__arrow { transform: translateX(4px); }
.erow--short { display: block; padding: 0; }
.erow--short summary { display: grid; grid-template-columns: 110px 1fr 1.4fr 24px; gap: 20px; align-items: center; padding: 20px 4px; cursor: pointer; list-style: none; }
.erow--short summary::-webkit-details-marker { display: none; }
.erow--short[open] .erow__arrow { transform: rotate(45deg); }
.erow__more { padding: 0 4px 20px calc(110px + 20px); font-size: 15px; line-height: 1.55; opacity: .7; max-width: 760px; }
.earlier__preview { position: fixed; left: 0; top: 0; z-index: 40; width: 220px; height: 150px; border-radius: 12px; pointer-events: none; opacity: 0; transform: scale(.85); }

/* about (short) */
.about { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding: 20vh var(--pad); max-width: 1240px; margin: 0 auto; }
.about__portrait { position: sticky; top: 120px; aspect-ratio: 4/5; border-radius: 20px; background: linear-gradient(160deg, #2b2b2e, #141416); overflow: hidden; }
.about__portrait::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; }
.about__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.about__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; }
.about__lead { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.about__text > p:not(.about__lead):not(.about__eyebrow) { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.7); }
.timeline { list-style: none; width: 100%; margin: 16px 0 12px; border-top: 1px solid rgba(255,255,255,.1); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; column-gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.timeline span { grid-row: span 2; font-size: 12px; opacity: .5; padding-top: 3px; font-variant-numeric: tabular-nums; }
.timeline strong { font-size: 16px; font-weight: 600; }
.timeline p { font-size: 14px; opacity: .6; line-height: 1.5; margin-top: 2px; }

@media (max-width: 800px) {
  .hero__ctas { margin-left: 0; }
  .works__eyebrow { top: 80px; left: var(--pad); }
  .xp { grid-template-columns: 1fr; }
  .xp__screen { min-height: 200px; }
  .erow, .erow--short summary { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .erow__year { grid-column: 1; }
  .erow__name { grid-column: 1; }
  .erow__title { grid-column: 1; }
  .erow__arrow { grid-row: 1 / span 3; grid-column: 2; }
  .erow__more { padding-left: 4px; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { position: relative; top: 0; max-width: 360px; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.page-about { --tier: #7aa7ff; }
.ab__grid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.ab__side .about__portrait { top: 120px; }
.ab__main { display: flex; flex-direction: column; gap: 28px; }
.ab__title { font-size: clamp(34px, 4.2vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.ab__rt { color: rgba(255,255,255,.72); }
.ab__link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .3s; }
.ab__link:hover { border-color: #fff; }
.ab__eyebrow { margin: 24px 0 -16px; }
.ab__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 800px) { .ab__grid { grid-template-columns: 1fr; } }

/* hero: longer real headline */
.hero__title { font-size: clamp(34px, 6.4vw, 118px); }
.hero__title .line > span { white-space: nowrap; }
.hero { justify-content: flex-end; padding-bottom: 110px; }
@media (max-width: 1100px) {
  .hero__media { position: relative; right: auto; bottom: auto; width: min(100%, 520px); margin: 40px 0 0 auto; }
}
.hero__ctas { width: fit-content; }

/* =========================================================
   WORK PAGE — sticky filters + 2-col masonry
   ========================================================= */
.wk { width: 90%; max-width: 1240px; margin: 0 auto; padding: 160px 0 128px; }
.wk__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(40px, 4vw, 80px); align-items: start; }
.wk__side { position: sticky; top: 160px; }
.wk__title { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.wk__intro { margin-top: 16px; font-size: 18px; line-height: 28px; letter-spacing: -.01em; color: var(--muted); }
.wk__filters { margin-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wk__filters button { font-size: 18px; font-weight: 500; color: var(--muted); transition: color .3s; display: inline-flex; gap: 6px; align-items: baseline; }
.wk__filters button:hover { color: #fff; }
.wk__filters button.is-active { color: #fff; font-weight: 600; }
.wk__filters sup { font-size: 11px; opacity: .6; }
.wk__masonry { display: flex; gap: 16px; align-items: flex-start; }
.wk__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }

/* thumb: clean visual (tilt + zoom + glow in the project's hue), editorial caption below it */
.thumb { --ease: cubic-bezier(.23,1,.32,1); --glow: hsl(var(--hue, 220) var(--sat, 70%) 55% / .38); position: relative; display: block; perspective: 1200px; transition: opacity .5s var(--ease); }
.thumb__frame { --rx: 0deg; --ry: 0deg; --s: 1; position: relative; display: block; width: 100%; overflow: hidden; border-radius: 14px; background: #141414;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s)); transition: transform .6s var(--ease); }
/* the glow is its own static layer behind the frame: hover only fades its opacity,
   so the blurred shadow is painted once instead of on every tilt frame */
.thumb__glow { position: absolute; left: 0; right: 0; top: 0; border-radius: 14px; box-shadow: 0 40px 90px -30px var(--glow), 0 20px 50px -20px rgba(0,0,0,.8); opacity: 0; transition: opacity .7s var(--ease); will-change: opacity; pointer-events: none; }
.thumb:hover .thumb__glow, .thumb:focus-visible .thumb__glow { opacity: 1; }
.thumb__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; z-index: 1; }
.thumb__media { position: absolute; inset: 0; transition: transform .9s var(--ease); }
/* caption: index · title · year on one baseline, accroche + tags hung under the title */
.thumb__cap { position: relative; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; column-gap: 6px; row-gap: 8px; align-items: baseline; margin-top: 18px; padding-top: 16px; color: #fff; }
.thumb__cap::before, .thumb__cap::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.thumb__cap::before { background: rgba(255,255,255,.12); }
.thumb__cap::after { background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.thumb__idx { font-size: 12px; color: rgba(255,255,255,.38); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.thumb__title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: clamp(19px, 1.55vw, 24px); font-weight: 500; line-height: 1.15; letter-spacing: -.022em; transition: transform .6s var(--ease); }
.thumb__arrow { flex: none; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.thumb__year { font-size: 13px; color: rgba(255,255,255,.38); font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb__line { grid-column: 2 / -1; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.55); max-width: 44ch; text-wrap: pretty; }
.thumb__cat { grid-column: 2 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.3); }
.thumb:hover .thumb__frame, .thumb:focus-visible .thumb__frame { --s: 1.012; }
.thumb:hover .thumb__media { transform: scale(1.06); }
.thumb:hover .thumb__cap::after, .thumb:focus-visible .thumb__cap::after { transform: scaleX(1); }
.thumb:hover .thumb__arrow, .thumb:focus-visible .thumb__arrow { opacity: 1; transform: none; }
/* focus: while one card is hovered, the others step back (classes set in work.js; opacity only, compositor-friendly) */
.wk__masonry.is-focus .thumb:not(.is-hot) { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .thumb, .thumb__glow, .thumb__cap::after, .thumb__arrow, .thumb__media { transition: none; } }

/* still in production (isSoon): the card is shown, it does not open */
.is-soon { cursor: default; }
.soon-badge { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; background: rgba(255,255,255,.9); color: #111; }
.thumb.is-soon .thumb__arrow, .thumb.is-soon .thumb__cap::after { display: none; }
.thumb.is-soon:hover .thumb__frame { --s: 1; }
.thumb.is-soon .thumb__glow { display: none; }
.thumb.is-soon:hover .thumb__media { transform: none; }
.xp.is-soon .xp__link { opacity: .5; }
.xp.is-soon:hover .xp__link span { transform: none; }
.ab__indie .is-soon .soon-badge { position: static; align-self: center; }

@media (max-width: 900px) {
  .wk { width: auto; padding: 120px var(--pad) 120px; }
  .wk__grid { grid-template-columns: 1fr; }
  .wk__side { position: relative; top: 0; }
  .wk__filters { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; }
  .wk__filters button { font-size: 15px; }
}
@media (max-width: 700px) { .wk__masonry .wk__col:last-child { display: none; } }

/* end of home work track: link to the Work page */
.works__all { flex: none; width: 40vw; min-width: 280px; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 var(--pad); border-left: 1px solid rgba(0,0,0,.1); }
.works__all-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; }
.works__all-title { font-size: clamp(40px, 6vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.works__all-title span { display: inline-block; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.works__all:hover .works__all-title span { transform: translateX(12px); }

/* =========================================================
   v3 — TODO flags, Accor landing stories
   ========================================================= */
.rt__todo { padding: 14px 16px; border-radius: 12px; border: 1px dashed #e8b54a; background: rgba(232,181,74,.08); color: #f0cf8a; font-size: 15px; line-height: 1.5; }
.rt__todo span { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e8b54a; }
.pr__tier a { color: inherit; border-bottom: 1px solid currentColor; }

.stories { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.stories--single { grid-template-columns: 1fr; }
.story { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #121212; border: 1px solid rgba(255,255,255,.08); transition: border-color .4s; }
.story:hover { border-color: rgba(255,255,255,.25); }
.story__media { display: block; aspect-ratio: 16/10; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story:hover .story__media { transform: scale(1.04); }
.story__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; position: relative; background: #121212; }
.story__label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--tier); }
.story__name { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.story__title { font-size: 18px; font-weight: 500; line-height: 1.3; }
.story__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.story__link { margin-top: 6px; font-size: 14px; font-weight: 600; }
.story__link span { display: inline-block; transition: transform .3s; }
.story:hover .story__link span { transform: translateX(5px); }
@media (max-width: 800px) { .stories { grid-template-columns: 1fr; } }
.page-project[data-tier="past-work"] { --tier: #9a9a9a; }

/* =========================================================
   v3 HOME
   ========================================================= */
.hero { justify-content: center; padding-top: 130px; }
.hero__meta { margin: 0 0 20px 8vw; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__title { font-size: clamp(44px, 8.4vw, 148px); }
.hero__statement { max-width: 620px; margin: 5vh 0 0 calc(8vw + 1.2em); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.hero__intro { max-width: 520px; margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.65); }
.hero__statement + .hero__intro { margin-left: calc(8vw + 1.2em); }
.hero__ctas { align-items: center; gap: 20px; }
.hero__links { display: flex; gap: 18px; font-size: 14px; }
.hero__links a { opacity: .7; border-bottom: 1px solid rgba(255,255,255,.25); transition: opacity .3s; }
.hero__links a:hover { opacity: 1; }
.hero__skills { max-width: 560px; margin: 32px 0 0 calc(8vw + 1.2em); font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); }
.hero__media { width: min(26vw, 380px); }

.works__eyebrow::before { background: #2f5bd9; }

/* independent product: its own section, own treatment */
.indie { padding: 18vh var(--pad) 10vh; background: var(--cream); color: #0f1a14; }
.indie__card { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 70vh; max-width: 1240px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #0f1a14; color: #eaf5ee; }
.indie__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.indie__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #3ddc97; display: flex; align-items: center; gap: 8px; }
.indie__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.indie__name { font-size: 18px; font-weight: 600; opacity: .7; }
.indie__title { font-size: clamp(34px, 4vw, 60px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.indie__desc { font-size: 17px; line-height: 1.6; color: rgba(234,245,238,.72); max-width: 520px; }
.indie__link { font-weight: 600; font-size: 14px; margin-top: 8px; }
.indie__link span { display: inline-block; transition: transform .3s; }
.indie__card:hover .indie__link span { transform: translateX(5px); }
.indie__visual { position: relative; background: radial-gradient(circle at 35% 40%, hsl(150 60% 40%), transparent 50%), radial-gradient(circle at 70% 70%, hsl(190 60% 35%), transparent 45%), #0b140f; }
.indie__visual::after { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(255,255,255,.2); border-radius: 18px; }

/* selected experiment: small */
.lab { padding: 6vh var(--pad) 14vh; }
.lab__label { max-width: 1240px; margin: 0 auto 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .55; }
.xp--small { width: min(820px, 100%); margin: 0 auto 0 max(0px, calc((100% - 1240px) / 2)); grid-template-columns: 1.3fr 1fr; }
.xp--small .xp__text { padding: 24px 28px; gap: 8px; }
.xp--small .xp__name { font-size: 20px; }
.xp--small .xp__title { font-size: 18px; }
.xp--small .xp__screen { min-height: 200px; }

/* about short: no timeline */
.about { padding: 16vh var(--pad); }
.about__text > p:not(.about__lead):not(.about__eyebrow) { max-width: 620px; }

/* selected past work: name + dates only */
.past { max-width: 1240px; margin: 0 auto; padding: 4vh var(--pad) 14vh; }
.past__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .55; font-weight: 500; margin-bottom: 16px; }
.past .earlier__list { border-top-color: rgba(255,255,255,.12); }
.erow--plain { grid-template-columns: 1fr auto 24px; border-bottom-color: rgba(255,255,255,.12); font-size: clamp(18px, 2vw, 26px); letter-spacing: -.01em; }
.erow--plain .erow__name { font-weight: 500; }
.erow--plain .erow__year { font-size: 14px; }
a.erow--plain:hover { background: rgba(255,255,255,.04); }

@media (max-width: 800px) {
  .hero__meta, .hero__statement, .hero__skills, .hero__statement + .hero__intro { margin-left: 0; }
  .indie__card { grid-template-columns: 1fr; }
  .indie__visual { min-height: 260px; }
  .xp--small { grid-template-columns: 1fr; margin: 0; }
  .erow--plain { grid-template-columns: 1fr auto 20px; }
}
.ab__indie { list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
.ab__indie a { display: grid; grid-template-columns: 110px 1fr 20px; column-gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); align-items: baseline; }
.ab__indie strong { font-size: 16px; }
.ab__indie span { font-size: 14px; opacity: .6; }
.ab__indie em { font-style: normal; transition: transform .3s; }
.ab__indie a:hover em { transform: translateX(4px); }
/* work page: one block per tier */
.wk__masonry { display: flex; flex-direction: column; gap: 56px; }
.wk__group { display: flex; flex-direction: column; gap: 16px; }
.wk__gtitle { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.wk__cols { display: flex; gap: clamp(16px, 1.6vw, 24px); align-items: flex-start; }
@media (max-width: 700px) { .wk__cols .wk__col:last-child { display: none; } }

/* =========================================================
   HERO — rotating word + synced media (auto, at top of page)
   ========================================================= */
.hero__rot { color: rgba(255,255,255,.42); }
.rot { position: relative; display: inline-grid; overflow: hidden; vertical-align: top; }
.rot__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); }
.rot__word.is-on { transform: none; }
.hm__layer { position: absolute; inset: 0; display: block; clip-path: inset(0% 50%); }
.hm__layer.is-on { clip-path: inset(0% 0%); }
.hm__cap { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.75); }
.hm__cap strong { font-size: 15px; color: #fff; font-weight: 600; }
.hero__media .vis__note { font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .rot__word { transition: none; } }
/* beats `.line > span { display: inline-block }` so the words stack in one cell */
.hero__title .line > .rot { display: inline-grid; }

/* =========================================================
   FIX — work grid width + readable, clickable header links
   ========================================================= */
/* groups must fill the column (the old masonry rule left align-items: flex-start) */
.wk__masonry { align-items: stretch; width: 100%; }
.wk__group, .wk__cols { width: 100%; }

/* header / footer: bigger text and real hit areas */
.ui { font-size: 14px; }
.ui--top { padding-top: 18px; }
.brand { font-size: 16px; }
.brand__mark { width: 32px; height: 32px; font-size: 15px; }
.ui__col { gap: 4px; }
.ui__col:not(.ui__col--right) > span { display: flex; gap: 4px; margin-left: -10px; }
.ui__col:not(.ui__col--right) > span a { padding: 6px 10px; border-radius: 8px; opacity: .8; transition: opacity .25s, background .25s; }
.ui__col:not(.ui__col--right) > span a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.ui__col strong { font-size: 13px; opacity: .6; font-weight: 500; }
.ui--bottom { font-size: 12px; }
.ui__social { gap: 6px; }
.ui__social a, .ui__cta { padding: 8px 10px; border-radius: 8px; transition: background .25s; }
.ui__cta { transition: background .25s, opacity .35s, visibility .35s; }
.ui__cta.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ui__social a:hover, .ui__cta:hover { background: rgba(255,255,255,.1); }

/* mobile: keep the navigation, drop the "Based in Paris" block instead */
@media (max-width: 800px) {
  .ui--top { grid-template-columns: auto 1fr; gap: 12px; }
  .ui--top .ui__col:not(.ui__col--right) { display: flex; justify-self: end; }
  .ui--top .ui__col:not(.ui__col--right) strong { display: none; }
  .ui--top .ui__col--right { display: none; }
  .brand { font-size: 0; gap: 0; }            /* logo mark only, frees room for the links */
  .brand__mark { font-size: 15px; }
}
.brand { justify-self: start; width: fit-content; } /* hit area = logo only */


/* =========================================================
   HERO — composition aligned on the reference
   (1440×900: title ~7.7vw / lh .845 · text column at ~13vw ·
    media ~33vw wide on the right, level with the lower title)
   ========================================================= */
.hero { display: flex; align-items: center; justify-content: center; min-height: 100dvh; padding: 110px 0 90px; }   /* the hero is a column (base rule): justify-content centres it vertically on tall screens */
.hero__inner { position: relative; z-index: 2; width: 100%; padding-left: 12.9vw; }
.hero .hero__meta { margin: 0 0 22px; font-size: 13px; }
.hero .hero__title { margin: 0; font-size: 7.7vw; line-height: .845; letter-spacing: -.035em; text-transform: uppercase; }
.hero .line--indent { padding-left: .39em; }       /* 2nd line pushed right */
.hero .line--out { margin-left: -.65em; }          /* rotating word pulled left, as on the reference */
.hero .hero__rot { color: rgba(255,255,255,.42); }
.hero__body { margin-top: 5vh; max-width: 420px; }
.hero .hero__statement { margin: 0; max-width: none; font-size: 20px; line-height: 26px; font-weight: 400; letter-spacing: -.01em; color: #f0f0f0; }
.hero .hero__intro { margin: 12px 0 0; max-width: none; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.55); }
.hero .hero__ctas { margin: 24px 0 0; }
.hero .hero__media { position: absolute; right: 4.2vw; top: 56.5%; bottom: auto; width: 33vw; aspect-ratio: 475 / 324; border-radius: 0; margin: 0; z-index: 1; }

@media (max-width: 1100px) {
  .hero__inner { padding-left: var(--pad); }
  .hero .hero__title { font-size: 10vw; }
  .hero .hero__media { position: relative; right: auto; top: auto; width: calc(100% - 2 * var(--pad)); max-width: 560px; margin: 40px var(--pad) 0 auto; }
  .hero { flex-direction: column; align-items: stretch; justify-content: center; }
}
@media (max-width: 600px) {
  .hero .line--out { margin-left: 0; }
  .hero .line--indent { padding-left: .2em; }
}

/* skills line now lives in the About block */
.about__skills { font-size: 13px !important; line-height: 1.7; color: rgba(255,255,255,.45) !important; }

/* =========================================================
   HEADER — larger, higher-contrast navigation
   ========================================================= */
.ui--top { padding: 16px var(--pad); align-items: center; }
.brand { font-size: 18px; gap: 12px; }
.brand__mark { width: 38px; height: 38px; font-size: 17px; }
.ui--top .ui__col:not(.ui__col--right) { align-items: center; gap: 2px; }
.ui--top .ui__col:not(.ui__col--right) strong { display: none; }   /* the label added noise, the links are enough */
.ui--top .ui__col:not(.ui__col--right) > span { margin-left: 0; gap: 6px; }
.ui--top .ui__col:not(.ui__col--right) > span a { font-size: 17px; font-weight: 500; padding: 10px 16px; opacity: 1; border-radius: 12px; }
.ui--top .ui__col:not(.ui__col--right) > span a:hover { background: rgba(255,255,255,.12); }
.ui--top .ui__col--right { font-size: 15px; gap: 12px; }
.ui--top .ui__col--right strong { font-size: 15px; opacity: 1; }
.ui--top .ui__col--right span:not(.ui__avatar) { opacity: .75; }
.ui__avatar { width: 36px; height: 36px; }
.ui--bottom { font-size: 13px; }
@media (max-width: 800px) {
  .ui--top .ui__col:not(.ui__col--right) > span a { font-size: 15px; padding: 10px 12px; }
}
/* the old `.ui__col span { opacity: .75 }` stacked on the roll spans → links looked grey */
.ui--top .ui__col:not(.ui__col--right) span { opacity: 1; }
/* closed layers: fully closed, no 1px sliver in the middle of the hero media */
.hm__layer { clip-path: inset(0% 50.5%); }
.hm__layer.is-on { clip-path: inset(0% 0%); }

/* =========================================================
   Real media set in the back office (replaces placeholders)
   ========================================================= */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.has-media > .vis__note, .has-media .vis__note { display: none; }
.shot.has-media::after, .pr__hero.has-media::after, .about__portrait.has-media::after,
.xp__screen.has-media::after, .indie__visual.has-media::after { display: none; }
/* containers that are static by default need a positioning context for .media-img;
   the others (.thumb__media, .next__visual, ask cards) are already absolutely positioned */
.work__visual, .story__media { position: relative; overflow: hidden; }
.thumb__media, .next__visual, .acard__media, .mtile__media, .rcard__media { overflow: hidden; }
.hm__layer .media-img { z-index: 0; }
.hm__cap { z-index: 2; }
.flow__txt { font-style: normal; }
/* the rotating word is pulled left only on wide screens; below that it would leave the viewport */
@media (max-width: 1100px) { .hero .line--out { margin-left: 0; } }

/* =========================================================
   WORK CARDS on wide screens: the image column hugs the image,
   so the meta stays next to it and extra width goes before the image
   ========================================================= */
@media (min-width: 801px) {
  .work { grid-template-columns: minmax(0, 1fr) auto minmax(220px, 280px); }
  .work__img { height: min(70vh, 900px); width: auto; max-height: none; aspect-ratio: 4 / 5; }
  .work__visual { height: 100%; }
}

/* WORK CARDS — the image is bounded by width as well as height, so the title always keeps room */
@media (min-width: 1200px) {
  .work__img { height: min(70vh, 900px, 38vw); }
  /* the title column stops growing once the title is at its max size: past that,
     extra width goes to the outer margins instead of opening a gap before the image */
  .work { grid-template-columns: minmax(0, 760px) auto minmax(220px, 280px); justify-content: center; column-gap: clamp(40px, 4vw, 80px); }
}
/* medium screens (tablets, small laptops): 2 columns — title above meta on the left, image on the right */
@media (min-width: 801px) and (max-width: 1199px) {
  .work {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas: "head img" "meta img";
    align-content: center; column-gap: 40px; row-gap: 28px;
  }
  .work__head { grid-area: head; align-self: end; }
  .work__meta { grid-area: meta; align-self: start; max-width: 420px; }
  .work__img { grid-area: img; height: min(64vh, 50vw, 760px); }
  .work__title { font-size: clamp(28px, 3.6vw, 42px); }
}

/* =========================================================
   TOOL CHIPS (logo + name), next to the tags on project pages
   ========================================================= */
.pr__tools { display: contents; }
.chip--tool { gap: 7px; padding: 5px 11px 5px 8px; color: #e9e9ee; text-transform: none; letter-spacing: 0; font-size: 12px; background: rgba(255,255,255,.07); }
.tool__icon { width: 14px; height: 14px; flex: none; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.tool__img { width: 16px; height: 16px; flex: none; object-fit: contain; border-radius: 3px; }
.tool__initials { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 5px; background: rgba(255,255,255,.14); font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.chip--tool .tool__icon + .tool__icon, .chip--tool .tool__img + .tool__img { margin-left: -2px; }

/* EN / FR switch (header, next to the nav links) */
.lang-switch { display: inline-flex; gap: 2px; margin-left: 10px; padding: 3px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); pointer-events: auto; }
.lang-switch button { padding: 5px 8px; border-radius: 7px; font-size: 12px; font-weight: 600; letter-spacing: .04em; opacity: .55; transition: opacity .2s, background .2s; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; background: rgba(255,255,255,.14); }
.ui--top .ui__col:not(.ui__col--right) { flex-direction: row; align-items: center; }

/* =========================================================
   BEFORE / AFTER module (variant A)
   ========================================================= */
.cmp { display: grid; grid-template-columns: minmax(0, 5fr) 48px minmax(0, 7fr); align-items: center; row-gap: 20px; }
.cmp__side { margin: 0; min-width: 0; }
.cmp__side--before { opacity: .7; transition: opacity .4s; }
.cmp__side--before:hover { opacity: 1; }
.cmp__stage { position: relative; background: #18181c; border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); }
.cmp__frame { position: relative; line-height: 0; }
.cmp__img { display: block; width: 100%; height: auto; border-radius: 8px; }
.cmp__ph { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(160deg, #2a2a31, #141417); }
.cmp__arrow { text-align: center; font-size: 22px; color: var(--muted); }
.cmp__cap { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cmp__tag { flex: none; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #c9c9d1; }
.cmp__side--after .cmp__tag { border-color: var(--tier); color: var(--tier); }
.cmp__mk { position: absolute; z-index: 2; width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  background: var(--tier); color: #0b1426; font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 4px rgba(0,0,0,.28); transition: transform .2s; }
.cmp__mk.is-on { transform: translate(-50%, -50%) scale(1.3); }
/* one equal column per marker, read left to right like the numbers on the image */
.cmp__legend { grid-column: 1 / -1; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 12px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.cmp__legend:empty { display: none; }
.cmp__legend li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px 10px 8px; border-radius: 10px; font-size: 14px; line-height: 1.5; color: #d6d6de; transition: background .2s; }
.cmp__legend li .cmp__num { margin-top: 1px; }
.cmp__legend li.is-on { background: rgba(255,255,255,.06); }
.cmp__num { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tier); color: #0b1426; font-size: 11px; font-weight: 700; }
@media (max-width: 800px) {
  .cmp { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .cmp__arrow { transform: rotate(90deg); }
  .cmp__side--before { opacity: 1; }
  .cmp__legend { grid-auto-flow: row; }
}

/* =========================================================
   IMAGE FIT — auto (natural, never cropped) / contain / cover
   ========================================================= */
.fit-img { display: block; width: 100%; }
.fit-img--auto { height: auto; }
.fit-img--contain, .fit-img--cover { position: absolute; inset: 0; height: 100%; }
.fit-img--contain { object-fit: contain; }
.fit-img--cover { object-fit: cover; }
.shot--auto { aspect-ratio: auto; }
.shot--auto .shot__media { position: relative; inset: auto; line-height: 0; }
.shot.has-media .shot__media { background: #141416 !important; }
.shot--contain .fit-img--contain { inset: clamp(8px, 1.5vw, 18px); width: auto; height: auto; max-width: calc(100% - 2 * clamp(8px, 1.5vw, 18px)); max-height: calc(100% - 2 * clamp(8px, 1.5vw, 18px)); margin: auto; }
.shot.has-media::before { display: none; }
/* project hero */
.pr__hero--auto { aspect-ratio: auto; }
.pr__hero--auto .pr__hero-media { position: relative; inset: auto; line-height: 0; }
.pr__hero.has-media .pr__hero-media { background: #141416 !important; }

/* ---------- Music popover (footer player, YouTube embed) ---------- */
.ui--bottom .ticker { pointer-events: auto; cursor: pointer; }
.player { position: fixed; left: var(--pad); bottom: 64px; z-index: 60; width: min(440px, calc(100vw - 2 * var(--pad))); padding: 12px; border-radius: 20px; background: rgba(24,24,24,.86); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 24px 70px rgba(0,0,0,.5); font-size: 13px; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom left; transition: opacity .3s, transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s .4s; }
.player.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.player__head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.player__close { font-size: 18px; line-height: 1; padding: 0 2px; color: rgba(255,255,255,.7); }
/* cover = the YouTube player itself (must stay visible, min 200×200): a 200px square window on the centred 16:9 frame */
.player__top { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; padding-bottom: 12px; }
.player__screen { position: relative; width: 200px; height: 200px; border-radius: 12px; overflow: hidden; background: #111; }
.player__frame { position: absolute; top: 0; left: 50%; width: 356px; height: 200px; transform: translateX(-50%); }
.player__frame iframe, .player__frame #ytPlayer { display: block; width: 100%; height: 100%; border: 0; }
.player__art { position: absolute; inset: 0; z-index: 1; }
.player__art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.player.has-video .player__art { display: none; }
.player__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.player__now { display: flex; flex-direction: column; min-width: 0; }
.player__now strong, .player__now em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__now strong { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.player__now em { font-style: normal; color: rgba(255,255,255,.55); }
.player__bar { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.player__dur { text-align: right; }
.player input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); accent-color: #fff; cursor: pointer; }
.player input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.player input[type=range]::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: #fff; }
.player__controls { display: flex; align-items: center; gap: 4px; margin-left: -6px; }
.player__controls button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: rgba(255,255,255,.8); }
.player__controls button:hover { background: rgba(255,255,255,.08); color: #fff; }
.player__controls .player__toggle { width: 40px; height: 40px; background: #fff; color: #000; font-size: 12px; }
.player__controls .player__toggle:hover { background: #fff; color: #000; transform: scale(1.05); }
.player__vol { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .8; }
.player__list { list-style: none; border-top: 1px solid rgba(255,255,255,.08); padding-top: 6px; }
.player__list li button { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; text-align: left; padding: 6px; border-radius: 10px; }
.player__list li button:hover { background: rgba(255,255,255,.06); }
.player__cover { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.08); }
.player__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__meta { display: flex; flex-direction: column; min-width: 0; }
.player__meta strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__meta em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.55); }
.player__list .eq { opacity: 0; color: var(--green); }
.player__list [aria-current] strong { color: var(--green); }
.player__list [aria-current] .eq { opacity: 1; }
.player__list .eq i { animation: none !important; }
.player.is-playing .player__list [aria-current] .eq i { animation: eq .9s ease-in-out infinite alternate !important; }
@media (max-width: 800px) { .player { bottom: 56px; } }
@media (max-height: 760px) { .player__list li button { padding: 4px 6px; } }
@media (max-width: 480px) { .player__top { grid-template-columns: 1fr; } .player__screen { width: 100%; } .player__frame { width: max(356px, 100%); } }

/* ---------- Moves (case study): the whole product in three steps, each a crop of an existing screen ---------- */
.case--moves { gap: 28px; }
.mv { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 36px; width: 100%; max-width: 1000px; margin: 0 auto; }
.mv__step { position: relative; display: flex; flex-direction: column; gap: 18px; }
/* the arrow linking one crop to the next, centred in the gap */
.mv__frame { position: relative; }
.mv__step:not(:last-child) .mv__frame::after { content: "→"; position: absolute; top: calc(50% - 14px); right: -32px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; color: var(--tier); background: color-mix(in srgb, var(--tier) 14%, #151515); border: 1px solid color-mix(in srgb, var(--tier) 35%, transparent); z-index: 1; }
.mv__crop { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: hsl(var(--h) 25% 14%); }
.mv__crop img, .mv__crop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.mv__step:hover .mv__crop img, .mv__step:hover .mv__crop video { transform: scale(calc(var(--z, 1) * 1.04)); }
.mv__txt { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 6px; align-items: baseline; }
.mv__n { font-size: 12px; font-weight: 600; color: var(--tier); }
.mv__title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.mv__text { grid-column: 2; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 800px) {
  .mv { grid-template-columns: 1fr; gap: 40px; }
  .mv__step:not(:last-child) .mv__frame::after { content: "↓"; top: auto; bottom: -14px; right: auto; left: calc(50% - 14px); }
  .mv__step:not(:last-child) .mv__txt { padding-top: 10px; }
}

/* ---------- Feature rows (case study): text + checks | screen on a tinted panel that comes alive on hover ---------- */
/* compact header, same left edge as the cards (no numbered column) */
.case--features { gap: 20px; }
.feats__head { width: 100%; max-width: 1000px; margin: 0 auto; }
.feats__head .case__eyebrow { margin-bottom: 8px; }
.feats__title { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 1000px; margin: 0 auto; }
.feat { display: grid; grid-template-rows: auto 1fr; min-height: 0; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.feat__text { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.6vw, 32px); }
.feat__title { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.feat__points { display: flex; flex-direction: column; gap: 10px; }
.feat__points li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.7); }
.feat__points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: hsl(var(--h) 80% 72%); }
.feat__panel { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 240px; padding: clamp(20px, 2.6vw, 34px); background: hsl(var(--h) 14% 10%); }
.feat--wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.feat--wide .feat__panel { min-height: 300px; }
/* three backgrounds, same family of hues (--h = project hue) */
.feat__glow { position: absolute; inset: -25%; opacity: 0; transform: scale(1.12); transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); animation: feat-drift 9s ease-in-out infinite alternate paused; }
.feat--0 .feat__glow { background: radial-gradient(60% 65% at 20% 25%, hsl(calc(var(--h) - 20) 85% 62% / .85), transparent 72%), radial-gradient(55% 60% at 85% 80%, hsl(calc(var(--h) + 15) 80% 52% / .9), transparent 72%), hsl(var(--h) 45% 22%); }
.feat--1 .feat__glow { background: radial-gradient(60% 65% at 80% 20%, hsl(calc(var(--h) + 30) 75% 64% / .85), transparent 72%), radial-gradient(55% 60% at 15% 85%, hsl(calc(var(--h) - 5) 85% 55% / .9), transparent 72%), hsl(calc(var(--h) + 12) 42% 21%); }
.feat--2 .feat__glow { background: radial-gradient(70% 55% at 50% 105%, hsl(calc(var(--h) + 50) 70% 58% / .85), transparent 72%), radial-gradient(55% 60% at 10% 12%, hsl(var(--h) 85% 64% / .75), transparent 72%), hsl(calc(var(--h) - 12) 42% 21%); }
@keyframes feat-drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.05); } }
.feat__screen { position: relative; z-index: 1; width: 100%; border-radius: 12px; overflow: hidden; background: #161616; box-shadow: 0 18px 40px rgba(0,0,0,.35); transition: transform .9s cubic-bezier(.2,.7,.2,1), box-shadow .9s, filter .9s; }
.feat__screen .media-img { position: static; width: 100%; height: auto; object-fit: contain; }
.feat:hover .feat__glow, .feat.is-live .feat__glow { opacity: 1; transform: none; animation-play-state: running; }
.feat:hover .feat__screen, .feat.is-live .feat__screen { transform: translateY(-8px) scale(1.015); box-shadow: 0 34px 70px rgba(0,0,0,.45); }
/* empty screen: a quiet UI skeleton until the real screenshot is added */
.feat__ph { display: block; aspect-ratio: 16 / 10; padding: 7% 6%; background: linear-gradient(180deg, #1f1f1f, #191919); }
.feat__ph i { display: block; height: 9%; margin-bottom: 5%; border-radius: 6px; background: rgba(255,255,255,.06); }
.feat__ph i:nth-child(1) { width: 38%; background: rgba(255,255,255,.1); }
.feat__ph i:nth-child(2) { width: 100%; height: 42%; }
.feat__ph i:nth-child(3) { width: 72%; }
@media (max-width: 800px) {
  .feats { grid-template-columns: 1fr; }
  .feat--wide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .feat__points li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .feat__glow { animation: none; } .feat__screen { transition: none; } }
/* real screenshot: shown as exported (own rounded corners / transparent shapes), soft shadow that follows its shape */
.feat__screen.has-media { overflow: visible; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); }
.feat:hover .feat__screen.has-media, .feat.is-live .feat__screen.has-media { box-shadow: none; filter: drop-shadow(0 28px 44px rgba(0,0,0,.45)); }

/* ---------- Research threads (case study): problem → recommendation → what we did ---------- */
.thr { --acc: hsl(var(--h) 85% 68%); width: 100%; max-width: 960px; margin: 0 auto; }
.thr__map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.thr__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.thr__lines path { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; transition: stroke .3s, opacity .3s; }
.thr.is-hover .thr__lines path { opacity: .2; }
.thr.is-hover .thr__lines path.is-on { opacity: 1; stroke: var(--acc); stroke-width: 1.5; }
.thr__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.thr__col--fix { justify-content: space-around; }
.thr__head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.thr__head i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; border: 1px solid rgba(255,255,255,.25); letter-spacing: 0; }
.thr__card { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); transition: opacity .3s, border-color .3s; }
.thr__card b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.thr__card span { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.55); }
.thr.is-hover .thr__card { opacity: .3; }
.thr.is-hover .thr__card.is-on { opacity: 1; border-color: hsl(var(--h) 85% 68% / .45); }
/* what we did: the status says how far it went */
.thr__tag { align-self: flex-start; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 99px; margin-bottom: 3px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.7); }
.thr__tag--counter, .thr__tag--redesign { background: hsl(var(--h) 85% 68% / .16); color: var(--acc); }
.thr__tag--explicit { background: hsl(40 90% 60% / .14); color: hsl(40 90% 70%); }
.thr__tag--proposal { background: none; border: 1px dashed rgba(255,255,255,.3); color: rgba(255,255,255,.65); }
@media (max-width: 800px) {
  .thr__map { grid-template-columns: 1fr; gap: 18px; }
  .thr__lines { display: none; }
}


/* ---------- Decision: starting point → what research showed → what was chosen ---------- */
.dec { --acc: hsl(var(--h) 85% 72%); width: 100%; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; }
.dec__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 28px); border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.dec__card--chosen { background: hsl(var(--h) 40% 50% / .1); border-color: hsl(var(--h) 85% 72% / .4); }
.dec__tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dec__card--chosen .dec__tag { color: var(--acc); }
.dec__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.dec__body { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.62); }
.dec__arrow { position: relative; align-self: center; height: 1px; margin: 0 8px; background: rgba(255,255,255,.22); }
.dec__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 1px solid rgba(255,255,255,.4); border-right: 1px solid rgba(255,255,255,.4); transform: rotate(45deg); }
@media (max-width: 800px) {
  .dec { grid-template-columns: 1fr; }
  .dec__arrow { justify-self: center; width: 1px; height: 28px; margin: 6px 0; }
  .dec__arrow::after { right: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
}

/* ---------- Principle: research finding → design principle → what it changed ---------- */
.prn { --acc: hsl(var(--h) 85% 72%); width: 100%; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.prn__tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.prn__tag--acc { color: var(--acc); }
.prn__quote { position: relative; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; padding-left: 22px; border-left: 2px solid var(--acc); text-wrap: balance; }
.prn__card { padding: clamp(22px, 2.6vw, 32px); border-radius: 20px; background: hsl(var(--h) 40% 50% / .1); border: 1px solid hsl(var(--h) 85% 72% / .35); }
.prn__title { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.prn__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prn__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.72); }
.prn__list li::before { content: "→"; position: absolute; left: 0; color: var(--acc); }
@media (max-width: 800px) { .prn { grid-template-columns: 1fr; } }

/* ---------- Two sides: one object, two audiences ---------- */
.spl { --acc: hsl(var(--h) 85% 68%); width: 100%; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); align-items: stretch; }
.spl__side { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.spl__tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--acc); }
.spl__title { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.spl__qs { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.spl__qs li { padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.06); font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.85); align-self: flex-start; }
.spl__media { margin-top: auto; padding-top: 10px; display: flex; justify-content: center; filter: drop-shadow(0 20px 36px rgba(0,0,0,.4)); }
.spl__media .media-img { position: static; width: min(100%, 290px); height: auto; }
.spl__side + .spl__mid + .spl__side .spl__qs li { align-self: flex-end; border-radius: 12px 12px 4px 12px; }
.spl__flow { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.spl__sub { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.spl__src { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spl__src li { padding: 14px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.85); text-align: center; }
.spl__result { position: relative; margin-top: 30px; padding: 18px 20px; border-radius: 14px; background: hsl(var(--h) 60% 50% / .14); border: 1px solid hsl(var(--h) 85% 68% / .45); font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.01em; text-align: center; color: #fff; }
.spl__result::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: -22px; height: 14px; border: 1px solid hsl(var(--h) 85% 68% / .5); border-top: 0; border-radius: 0 0 10px 10px; }
.spl__result::after { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 9px; background: hsl(var(--h) 85% 68% / .5); }
.spl__mid { position: relative; display: grid; place-items: center; }
.spl__mid::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--h) 85% 68% / .6), transparent); }
.spl__mid span { position: relative; padding: 8px 12px; border-radius: 99px; background: #141416; border: 1px solid hsl(var(--h) 85% 68% / .45); font-size: 12px; line-height: 1.25; text-align: center; color: var(--acc); }
@media (max-width: 800px) {
  .spl { grid-template-columns: 1fr; }
  .spl__mid { padding: 14px 0; }
  .spl__mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: hsl(var(--h) 85% 68% / .5); }
}

/* ---------- Options: paths explored and their limit, then the chosen one ---------- */
.opt { --acc: hsl(var(--h) 85% 70%); width: 100%; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.opt__list { list-style: none; border-top: 1px solid rgba(255,255,255,.08); }
.opt__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.opt__name { font-size: 17px; color: rgba(255,255,255,.55); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.opt__limit { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); white-space: nowrap; }
.opt__chosen { padding: clamp(22px, 2.6vw, 32px); border-radius: 20px; background: hsl(var(--h) 45% 50% / .12); border: 1px solid hsl(var(--h) 85% 70% / .4); }
.opt__tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--acc); margin-bottom: 8px; }
.opt__chosen h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.opt__body { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .opt__row { grid-template-columns: 1fr; gap: 6px; } .opt__limit { justify-self: start; white-space: normal; } }

/* ---------- Board: the product as a board game, one square per screen ---------- */
.brd { --acc: hsl(var(--h) 90% 62%); width: 100%; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.brd__track { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.brd__sq { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); cursor: pointer; transition: background .35s, border-color .35s, transform .35s; outline: none; }
.brd__sq:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
.brd__sq.is-on { background: hsl(var(--h) 60% 50% / .14); border-color: hsl(var(--h) 90% 62% / .55); transform: translateY(-2px); }
.brd__sq:focus-visible { box-shadow: 0 0 0 2px var(--acc); }
.brd__n { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); transition: background .35s, color .35s, border-color .35s; }
.brd__sq.is-on .brd__n { background: var(--acc); border-color: var(--acc); color: #0a0a0a; }
.brd__sq b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brd__txt { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.6); }
.brd__stage { position: relative; min-height: 560px; border-radius: 20px; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, hsl(var(--h) 45% 88%), hsl(var(--h) 30% 80%)); }
.brd__screen { position: absolute; left: 50%; top: 50%; width: min(250px, 56%); transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 30px 50px rgba(60,30,10,.28)); }
.brd__screen.is-on { opacity: 1; transform: translate(-50%, -50%); }
.brd__screen .media-img { position: static; width: 100%; height: auto; }
@media (max-width: 800px) {
  .brd { grid-template-columns: 1fr; }
  .brd__stage { order: -1; min-height: 480px; }
}
.opt__tag--muted { color: var(--muted); margin-bottom: -4px; }

/* ---------- Walkthrough (case study): a product video cut into chapters ----------
   Desktop: chapters on the left, the video on a tinted stage on the right; the list follows the video.
   Small screens: the video first, the chapters become a swipeable row of cards under it. */
.case--wt { gap: 28px; }
.wt__head { display: flex; flex-direction: column; max-width: 720px; }
.wt__head .case__eyebrow { margin-bottom: 8px; }
.wt__intro { margin-top: 14px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.6); text-wrap: pretty; }
.wt { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }

/* chapter list */
.wt__list { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 14px; align-self: center; }
.wt__chap { position: relative; padding: 14px 16px 14px 18px; border-radius: 14px; transition: background .5s cubic-bezier(.2,.7,.2,1); }
.wt__chap::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.08); opacity: 0; transition: opacity .4s; }
.wt__chap::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: hsl(var(--h) 90% 74%); transform: scaleY(var(--p, 0)); transform-origin: top; opacity: 0; transition: opacity .4s; }
.wt__chap.is-on { background: rgba(255,255,255,.05); }
.wt__chap.is-on::before, .wt__chap.is-on::after { opacity: 1; }
.wt__hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.wt__hit:focus-visible { outline: 2px solid hsl(var(--h) 90% 74%); outline-offset: 2px; }
.wt__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; }
.wt__num { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.35); transition: color .4s; }
.wt__name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: rgba(255,255,255,.5); transition: color .4s; }
.wt__at { font-size: 11px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.3); }
.wt__chap.is-past .wt__num { color: hsl(var(--h) 70% 70% / .7); }
.wt__chap.is-on .wt__num { color: hsl(var(--h) 90% 76%); }
.wt__chap.is-on .wt__name { color: #fff; font-weight: 600; }
@media (hover: hover) { .wt__chap:not(.is-on):hover .wt__name { color: rgba(255,255,255,.85); } .wt__chap:not(.is-on):hover { background: rgba(255,255,255,.025); } }
/* only the current chapter opens (height animates through the grid row) */
.wt__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.wt__more-in { min-height: 0; overflow: hidden; padding-left: 36px; opacity: 0; transition: opacity .4s; }
.wt__chap.is-on .wt__more { grid-template-rows: 1fr; }
.wt__chap.is-on .wt__more-in { opacity: 1; transition: opacity .5s .15s; }
.wt__text { padding-top: 10px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.66); text-wrap: pretty; }
.wt__points { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; }
.wt__points li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.85); }
.wt__points li::before { content: ""; position: absolute; left: 1px; top: .68em; width: 8px; height: 1.5px; border-radius: 1px; background: hsl(var(--h) 90% 74%); }

/* stage: the video on a tinted, softly lit panel */
.wt__stage { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(20px, 2.8vw, 36px); background: hsl(var(--h) 18% 9%); overflow: hidden; isolation: isolate; }
.wt__glow { position: absolute; inset: -20%; z-index: -1; opacity: .55; transition: opacity 1.2s; background:
  radial-gradient(55% 50% at 22% 18%, hsl(calc(var(--h) + 30) 80% 60% / .55), transparent 70%),
  radial-gradient(50% 55% at 85% 88%, hsl(var(--h) 85% 52% / .6), transparent 70%); animation: feat-drift 12s ease-in-out infinite alternate paused; }
.wt.is-playing .wt__glow { opacity: .9; animation-play-state: running; }
.wt__screen { position: relative; border-radius: 12px; overflow: hidden; line-height: 0; background: #ecebf7; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.65), 0 12px 24px -12px rgba(0,0,0,.4); transform: translateZ(0); }
.wt__video { display: block; width: 100%; height: auto; aspect-ratio: 1368 / 1090; object-fit: contain; cursor: pointer; }
.wt__screen .feat__ph { aspect-ratio: 5 / 4; line-height: normal; }
/* chapter caption on the video: only in full screen, where the list is not visible */
.wt__cap { display: none; position: absolute; left: 16px; bottom: 16px; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 30px; line-height: 1.2; font-size: 14px; font-weight: 500; color: #fff; background: rgba(12,12,20,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wt__cap-num { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 20px; background: hsl(var(--h) 90% 74%); color: #0b1020; }

/* controls: play, one segment per chapter, time, full screen */
.wt__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; }
.wt__play { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.wt__play:hover { transform: scale(1.08); }
.wt__play svg { width: 14px; height: 14px; fill: currentColor; grid-area: 1 / 1; }
.wt__ic-pause, .wt.is-playing .wt__ic-play { display: none; }
.wt.is-playing .wt__ic-pause { display: block; }
.wt__track { display: flex; gap: 4px; }
.wt__seg { position: relative; flex: 1 1 0; min-width: 6px; height: 22px; display: flex; align-items: center; }
.wt__seg i { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.16); transition: height .25s cubic-bezier(.2,.7,.2,1); }
.wt__seg i::after { content: ""; position: absolute; inset: 0; background: hsl(var(--h) 90% 80%); transform: scaleX(var(--p, 0)); transform-origin: left; }
.wt__seg:hover i, .wt__seg:focus-visible i { height: 7px; }
.wt__seg:focus-visible { outline: none; }
.wt__seg::before { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 12px; font-weight: 500; color: #fff; background: rgba(20,20,28,.92); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s; }
.wt__seg:first-child::before { left: 0; transform: translate(0, 4px); }
.wt__seg:last-child::before { left: auto; right: 0; transform: translate(0, 4px); }
.wt__seg:hover::before, .wt__seg:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
.wt__seg:first-child:hover::before, .wt__seg:last-child:hover::before, .wt__seg:first-child:focus-visible::before, .wt__seg:last-child:focus-visible::before { transform: none; }
.wt__time { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.6); }
.wt__full { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.7); transition: background .3s, color .3s; }
.wt__full:hover { background: rgba(255,255,255,.1); color: #fff; }
.wt__full svg { width: 15px; height: 15px; }
.wt button:focus-visible { outline: 2px solid hsl(var(--h) 90% 74%); outline-offset: 2px; }

/* full screen: the stage alone, the video as large as the screen allows */
.wt__stage:fullscreen { padding: 4vh 4vw; background: #07080c; }
.wt__stage:fullscreen .wt__screen { width: min(100%, calc((100vh - 8vh - 54px) * 1368 / 1090)); margin: 0 auto; }
.wt__stage:fullscreen .wt__bar { width: min(100%, calc((100vh - 8vh - 54px) * 1368 / 1090)); margin: 0 auto; }
.wt__stage:fullscreen .wt__cap { display: flex; }
/* the custom cursor lives outside the full-screen layer: give the system cursor back */
.wt__stage:fullscreen, .wt__stage:fullscreen * { cursor: auto; }
.wt__stage:fullscreen button, .wt__stage:fullscreen video { cursor: pointer; }

/* edit mode: every chapter open, clicks edit the text instead of jumping the video */
.is-editing .wt__hit { pointer-events: none; }
.is-editing .wt__more { grid-template-rows: 1fr; }
.is-editing .wt__more-in { opacity: 1; }

@media (max-width: 900px) {
  .wt { grid-template-columns: minmax(0, 1fr); }
  .wt__stage { order: -1; padding: 16px 14px 10px; gap: 12px; }
  .wt__bar { gap: 10px; }
  .wt__full { display: none; }
  /* chapters: a swipeable row of cards, every card open */
  .wt__list { flex-direction: row; gap: 10px; padding: 14px 14px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .wt__list::-webkit-scrollbar { display: none; }
  .wt__chap { flex: 0 0 min(82%, 340px); scroll-snap-align: start; padding: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); transition: background .4s, border-color .4s, opacity .4s; opacity: .55; }
  .wt__chap.is-on { opacity: 1; background: rgba(255,255,255,.06); border-color: hsl(var(--h) 80% 70% / .35); }
  .wt__chap::before, .wt__chap::after { display: none; }
  .wt__more { grid-template-rows: 1fr; }
  .wt__more-in { opacity: 1; padding-left: 0; }
  .wt__name { color: rgba(255,255,255,.85); }
  .wt__text { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .wt__glow { animation: none; }
  .wt__more, .wt__more-in, .wt__chap { transition: none; }
}

/* =========================================================
   BRAND — SVG logo replaces the "T" mark + wordmark
   ========================================================= */
.brand__logo { display: block; height: 64px; width: auto; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }   /* the sticker art is already tilted */
.brand:hover .brand__logo { transform: rotate(3deg) scale(1.06); }
@media (max-width: 800px) { .brand__logo { height: 46px; } }
@media (max-width: 420px) {
  .brand__logo { height: 35px; }
  .ui--top .ui__col:not(.ui__col--right) > span { gap: 2px; }
  .ui--top .ui__col:not(.ui__col--right) > span a { padding: 8px 7px; font-size: 15px; }
}

/* =========================================================
   HERO — dosed like the reference (1440×900: title 7.7vw / lh .845,
   one 20px lead, media 33vw level with the last title line)
   ========================================================= */
.hero { padding: max(130px, 15vh) 0 110px; }   /* airier title is taller: start a bit higher so the lead clears the footer bar */
.hero .hero__meta { display: none; }               /* Paris / Accor / Chanel / Dior already said in the title and intro */
.hero .hero__rot { color: #fff; }
.hero .hero__title { line-height: .98; letter-spacing: -.01em; }   /* the old -.035em / .845 made letters and lines touch */
.hero__body { position: relative; margin-top: 55px; max-width: 34ch; font-size: 20px; }
.hero .hero__statement { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: .01em; color: #f0f0f0; }
.hero .hero__intro { margin-top: 14px; font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: .01em; color: #f0f0f0; }
/* left: 4.2vw right margin, measured from the text column (12.9vw) · top: one title line above the body */
.hero .hero__media { position: absolute; left: 49.9vw; right: auto; top: calc(-55px - 7.55vw); width: 33vw; border-radius: 16px; overflow: hidden; }

/* tablet / small laptop: same composition as desktop, scaled (title 10vw / lh .845 there) */
@media (max-width: 1100px) {
  .hero__body { max-width: none; padding-right: var(--pad); }
  .hero .hero__statement, .hero .hero__intro { max-width: min(34ch, 52vw); }
  .hero .hero__media { position: absolute; left: auto; right: var(--pad); top: calc(-55px - 9.8vw); width: 34vw; max-width: none; margin: 0; }
}
/* phone: title fills the width (one idea per line), small media tucked right of "Designer" */
@media (max-width: 600px) {
  .hero { padding: max(140px, 24vh) 0 100px; }
  .hero .hero__title { font-size: 12.6vw; line-height: 1; }
  .hero .line--indent, .hero .line--out { padding-left: 0; margin-left: 0; }
  .hero__body { margin-top: 44px; padding-right: var(--pad); }
  .hero .hero__statement, .hero .hero__intro { max-width: none; font-size: 20px; line-height: 26px; }
  .hero .hero__intro { margin-top: 16px; }
  /* top: back up the body gap + the last title line (13vw × .95), then centre the 11vw-high media in it */
  .hero .hero__media { position: absolute; top: calc(-44px - 11.8vw); right: var(--pad); left: auto; width: 25vw; height: 11vw; max-width: none; aspect-ratio: auto; margin: 0; border-radius: 8px; }
  .hero .hero__media .hm__cap, .hero .hero__media .vis__note { display: none; }
}

/* music player (play · equalizer · now playing) is a desktop-only touch */
@media (max-width: 800px) {
  .ui--bottom .play, .ui--bottom .eq, .ui--bottom .ticker { display: none; }
}

/* EN / FR now lives in the footer bar, right after "PARIS, 6:05 PM": plain text like the bar, current language lit */
.ui--bottom .lang-switch { gap: 0; margin: 0; padding: 0; border: 0; border-radius: 0; }
.ui--bottom .lang-switch button { padding: 6px 2px; border-radius: 0; font: inherit; letter-spacing: inherit; text-transform: uppercase; opacity: .4; background: none; }
.ui--bottom .lang-switch button + button::before { content: "/"; display: inline-block; margin-right: 4px; opacity: .6; }
.ui--bottom .lang-switch button[aria-pressed="true"] { opacity: 1; background: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ui--bottom .lang-switch button:hover { opacity: 1; }

/* hero media layers are opaque, so a slide that is still loading never lets the previous one show through */
.hm__layer.has-media { background: #141414; }

/* Phone walkthrough, inside a regular section (s.walk with phone: true):
   the video is cropped to the phone, which stands whole on the lit panel beside the chapters */
.wt--phone .wt__list { padding: clamp(14px, 2vw, 28px); }
.wt--phone .wt__stage { align-items: center; padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.8vw, 36px) clamp(18px, 2.2vw, 28px); }
.wt--phone .wt__screen { width: min(100%, 320px); border-radius: 10.1% / 4.6%; background: #e9eef3;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -24px rgba(0,0,0,.7), 0 14px 28px -14px rgba(0,0,0,.5); }
.wt--phone .wt__video { aspect-ratio: 456 / 992; }
.wt--phone .wt__bar { width: min(100%, 320px); }
.wt--phone .wt__stage:fullscreen .wt__screen, .wt--phone .wt__stage:fullscreen .wt__bar { width: min(100%, calc((100vh - 8vh - 54px) * 456 / 992)); }
@media (max-width: 900px) {
  .wt--phone .wt__screen, .wt--phone .wt__bar { width: min(100%, 260px); }
}
