/* the hidden attribute always wins over component display rules (tabs, panels, filters, chips) */
[hidden]:not([hidden=until-found i]) { display: none !important; }

/* =====================================================================
   EDUARDO GUEDES STUDIO
   Identity: an editor's desk — print registration marks meet the
   motion designer's timeline. Ink & paper only; the colour is movement.
   Type: Archivo (one variable family, condensed 62% for display,
   expanded 125% for marks), Bodoni Moda italic for the human voice,
   Martian Mono for the machine voice (labels, timecodes).
   ===================================================================== */
:root {
  --ink: #0c0c0b;
  --ink-2: #151514;
  --ink-3: #232321;
  --paper: #e7e6e1;
  --paper-2: #d7d6cf;
  --grey: #8d8c86;
  --grey-2: #5f5e59;
  --hair-d: rgba(231, 230, 225, .16);
  --hair-l: rgba(12, 12, 11, .18);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 2.6vw, 44px);
  --hd-h: 72px;
  --tl-h: 40px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; font-family: var(--f-mono); font-size: 11px; }
.skip:focus { top: 12px; }

/* ---------- type voices ---------- */
.mono { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; font-variation-settings: "wdth" 100; }
.disp { font-family: var(--f-sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.wide { font-family: var(--f-sans); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.disp em, .wide em, h1 em, h2 em, h3 em, .it {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: -.02em;
}
.nw { white-space: nowrap; }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; letter-spacing: -.005em; }
.ink { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); color: var(--ink); }

/* text links with an animated underline that draws left→right, leaves right */
.link { position: relative; display: inline-flex; align-items: center; gap: .55em; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 0; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link i { font-style: normal; display: inline-block; transition: transform .5s var(--ease-out); }
.link:hover i { transform: translate(3px, -3px); }

/* print crop marks */
.crop { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: 14px; height: 1px; top: 0; }
.crop::after { width: 1px; height: 14px; left: 0; }
.crop--tl { left: -20px; top: -20px; } .crop--tl::before { left: 6px; } .crop--tl::after { top: 6px; }
.crop--tr { right: -20px; top: -20px; transform: scaleX(-1); } .crop--tr::before { left: 6px; } .crop--tr::after { top: 6px; }
.crop--bl { left: -20px; bottom: -20px; transform: scaleY(-1); } .crop--bl::before { left: 6px; } .crop--bl::after { top: 6px; }
.crop--br { right: -20px; bottom: -20px; transform: scale(-1); } .crop--br::before { left: 6px; } .crop--br::after { top: 6px; }

/* keyframe diamond */
.kf { display: inline-block; width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid currentColor; background: transparent; flex: none; }
.kf--fill { background: currentColor; }

/* =====================================================================
   Loader & curtain
   ===================================================================== */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.loader__in { display: grid; justify-items: center; gap: 22px; }
.loader__mark { width: 76px; height: 76px; }
.loader__tc { font-size: 11px; }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--hair-d); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.no-loader .loader { display: none; }

.curtain { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--paper); display: grid; place-items: center; clip-path: inset(100% 0 0 0); pointer-events: none; }
.curtain.is-on { clip-path: inset(0 0 0 0); }
.curtain__label { font-size: clamp(48px, 10vw, 160px); }
.curtain__tc { position: absolute; left: var(--gutter); bottom: 24px; }

/* =====================================================================
   Header
   ===================================================================== */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hd-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gutter); color: #e7e6e1; mix-blend-mode: difference; pointer-events: none;
}
.hd > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-family: var(--f-sans); font-stretch: 125%; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.brand__studio { font-family: var(--f-serif); font-style: italic; font-size: 16px; margin-left: -2px; }
.hd__nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.hd__nav a { position: relative; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 0; }
.hd__nav a::before { content: attr(data-n); position: absolute; top: -2px; right: -16px; font-size: 8px; opacity: .55; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.hd__nav a:hover::after, .hd__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hd__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.lang { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; padding: 6px 2px; display: inline-flex; gap: 6px; }
.lang b { font-weight: 400; opacity: .4; transition: opacity .3s; }
.lang b.is-on { opacity: 1; }
.lang:hover b { opacity: 1; }
.hd__cta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid currentColor; border-radius: 0; position: relative; overflow: hidden; }
.hd__cta span, .hd__cta i { position: relative; z-index: 1; font-style: normal; transition: color .4s; }
.hd__cta::before { content: ""; position: absolute; inset: 0; background: currentColor; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.hd__cta:hover::before { transform: translateY(0); }
.hd__cta:hover span, .hd__cta:hover i { color: #000; }
.hd__menu { display: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 0; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper); padding: calc(var(--hd-h) + 20px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu ol { display: grid; gap: 4px; }
.menu a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(54px, 17vw, 120px); }
.menu a span.mono { font-size: 10px; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; }

/* =====================================================================
   Timeline navigation (desktop)
   ===================================================================== */
.tl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--tl-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 0 var(--gutter); color: #e7e6e1; mix-blend-mode: difference;
}
.tl__tc { font-variant-numeric: tabular-nums; min-width: 11ch; }
.tl__track { position: relative; height: 100%; }
.tl__rail { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(231, 230, 225, .3); }
.tl__ticks { position: absolute; left: 0; right: 0; top: calc(50% + 4px); height: 4px; background-image: linear-gradient(90deg, rgba(231, 230, 225, .35) 1px, transparent 1px); background-size: calc(100% / 60) 100%; }
.tl__fill { position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: #e7e6e1; }
.tl__head { position: absolute; top: 9px; bottom: 9px; width: 1px; left: 0; background: #e7e6e1; }
.tl__head::before { content: ""; position: absolute; top: -5px; left: -4px; border: 4.5px solid transparent; border-top: 6px solid #e7e6e1; }
.tl__key { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; display: grid; place-items: center; }
.tl__key i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid #e7e6e1; background: #0c0c0b; transition: background .3s, transform .4s var(--ease-out); }
.tl__key.is-past i { background: #e7e6e1; }
.tl__key span { position: absolute; bottom: 24px; left: 50%; transform: translate(-50%, 6px); white-space: nowrap; opacity: 0; transition: opacity .35s, transform .5s var(--ease-out); pointer-events: none; }
.tl__key:hover i, .tl__key:focus-visible i { transform: rotate(45deg) scale(1.4); }
.tl__key:hover span, .tl__key:focus-visible span, .tl__key.is-current span { opacity: 1; transform: translate(-50%, 0); }
.tl__total { opacity: .5; font-variant-numeric: tabular-nums; }

/* =====================================================================
   Cursor
   ===================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; display: none; mix-blend-mode: difference; color: #e7e6e1; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #e7e6e1; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out); }
.cursor__label { position: absolute; left: 14px; top: 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .45s var(--ease-out); }
.cursor.is-link .cursor__dot { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cursor.is-label .cursor__dot { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%); left: 0; top: 0; color: #0c0c0b; mix-blend-mode: normal; z-index: 1; }
.cursor.is-hidden { opacity: 0; }

/* =====================================================================
   Section headers
   ===================================================================== */
.sec { position: relative; padding: clamp(96px, 14vw, 200px) var(--gutter); }
.sec-hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); align-items: end; margin-bottom: clamp(56px, 8vw, 120px); }
.sec-hd__idx { grid-column: 1 / span 12; margin-bottom: 26px; display: flex; gap: 14px; align-items: center; }
.sec-hd__idx::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .25; }
.sec-hd__title { grid-column: 1 / span 8; font-size: clamp(64px, 11.5vw, 210px); }
.sec-hd__title em { font-size: 1.04em; }
.sec-hd__lead { grid-column: 9 / span 4; max-width: 34ch; padding-bottom: .6em; }
.sec-hd__count { position: absolute; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__label { position: absolute; left: var(--gutter); top: calc(var(--hd-h) + 18px); display: flex; gap: 12px; align-items: center; color: var(--grey); z-index: 4; }
.hero__label .kf { color: var(--paper); }
.hero__photo { position: absolute; right: 9vw; top: 14vh; width: min(31vw, 54vh); aspect-ratio: 3 / 4; color: var(--grey-2); z-index: 1; }
/* the portrait is cut out (alpha mask built from the photo) and lit from behind,
   so it stands in the page instead of sitting in a box */
.cut { -webkit-mask: url("../img/eduardo-mask.png") center / 100% 100% no-repeat; mask: url("../img/eduardo-mask.png") center / 100% 100% no-repeat; }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: fill; filter: contrast(1.06); will-change: transform; transform-origin: 50% 35%; }
.hero__glow { position: absolute; left: -45%; right: -45%; top: -18%; height: 105%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(231, 230, 225, .17), rgba(231, 230, 225, .06) 55%, transparent 100%); }
.hero__comp { position: absolute; left: 0; right: 0; top: -26px; display: flex; justify-content: space-between; color: var(--grey); }
.hero__ruler { position: absolute; left: 0; right: 0; bottom: -30px; height: 14px; color: var(--grey); }
.hero__ruler::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background-image: linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 8.333% 100%; opacity: .6; }
.hero__ruler .kf { position: absolute; top: 7px; width: 6px; height: 6px; color: var(--paper); }
.hero__title {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 21vh;
  color: #e7e6e1; mix-blend-mode: difference; pointer-events: none;
  font-size: clamp(64px, 13.2vw, 260px);
}
.hl { display: block; overflow: hidden; padding: .02em .08em .1em 0; margin-bottom: -.12em; }
.hl > span, .hl > em { display: inline-block; }
.hl--2 { padding-left: 29vw; display: flex; align-items: baseline; gap: .12em; }
.hl__that { font-size: .16em; letter-spacing: .04em; transform: translateY(-1.6em); }
.hl--2 em { font-size: 1.16em; line-height: .8; padding-right: .06em; }
.hl--3 { text-align: right; }
.hero__path { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--paper); overflow: visible; }
.hero__path .p-curve { fill: none; stroke: currentColor; stroke-width: 1; opacity: .55; }
.hero__path .p-handle { stroke: currentColor; stroke-width: 1; opacity: .35; }
.hero__path .p-hdot { fill: var(--ink); stroke: currentColor; }
.hero__path .p-kf { fill: var(--ink); stroke: currentColor; }
.hero__path .p-obj { fill: currentColor; }
.hero__intro { position: absolute; left: var(--gutter); bottom: calc(var(--tl-h) + 7vh); max-width: 29ch; z-index: 4; color: var(--paper); }
.hero__status { position: absolute; right: var(--gutter); bottom: calc(var(--tl-h) + 7vh); text-align: right; z-index: 4; display: grid; gap: 6px; justify-items: end; color: var(--grey); }
.hero__status b { font-weight: 400; color: var(--paper); display: inline-flex; align-items: center; gap: 10px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--paper); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero__cue { position: absolute; left: 50%; bottom: calc(var(--tl-h) + 14px); transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: 10px; color: var(--grey); }
.hero__cue i { width: 1px; height: 44px; background: var(--hair-d); position: relative; overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--paper); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero__cue:hover { color: var(--paper); }

/* =====================================================================
   WORK
   ===================================================================== */
.work { background: var(--paper); color: var(--ink); }
.work .sec-hd__count { right: var(--gutter); top: clamp(96px, 14vw, 200px); }
.proj { position: relative; }
.proj + .proj { margin-top: clamp(120px, 16vw, 240px); }

/* 01 — film strip feature */
.proj__media { position: relative; display: block; aspect-ratio: 16 / 9; max-height: 86vh; width: 100%; overflow: hidden; background: var(--ink); color: var(--paper); }
.proj__frames { position: absolute; inset: 0; }
.proj__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease), transform 1.6s var(--ease-out); }
.proj__frames img.is-on { opacity: 1; transform: scale(1); }
.proj__hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; z-index: 2; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.proj__scrub { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 22px; z-index: 2; display: grid; grid-auto-flow: column; gap: 6px; align-items: end; }
.proj__scrub span { height: 2px; background: rgba(231, 230, 225, .3); transition: background .3s, height .3s; }
.proj__scrub span.is-on { background: var(--paper); height: 4px; }
/* title card sits on the bottom edge, partly cropped by the frame — like an opening credit */
.proj__big { position: absolute; left: 18px; bottom: -.16em; z-index: 2; font-size: clamp(80px, 17vw, 330px); color: #e7e6e1; mix-blend-mode: difference; pointer-events: none; letter-spacing: .01em; line-height: .8; }
.proj__big--long { font-size: clamp(44px, 10vw, 200px); white-space: nowrap; }
.proj__meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px var(--gutter); padding-top: 28px; border-top: 1px solid var(--hair-l); margin-top: 22px; align-items: start; }
.proj__no { grid-column: span 1; }
.proj__title { grid-column: span 4; font-size: clamp(40px, 5.6vw, 96px); }
.proj__title em { font-size: 1.05em; }
.proj__desc { grid-column: span 4; max-width: 40ch; }
.proj__side { grid-column: span 3; display: grid; gap: 14px; justify-items: start; }
.proj__tags { display: grid; gap: 4px; color: var(--grey-2); }
.proj__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* 02 — lab: text left, live stage right */
.proj--lab { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.proj--lab .proj__text { grid-column: 1 / span 4; display: grid; gap: 22px; align-content: start; }
.proj--lab .proj__title { font-size: clamp(56px, 7.4vw, 130px); grid-column: auto; }
.proj--lab .proj__text p { max-width: 36ch; }
.proj--lab .proj__stage { grid-column: 6 / span 7; position: relative; aspect-ratio: 4 / 3; background: var(--ink); color: var(--paper); }
.proj__stage canvas { width: 100%; height: 100%; touch-action: none; }
.proj__hint { position: absolute; left: 16px; bottom: 14px; color: var(--grey); pointer-events: none; }
.proj__stamp { position: absolute; right: 16px; top: 14px; color: var(--grey); }

/* 03 — open slot */
.slot { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; padding: clamp(40px, 6vw, 90px) clamp(24px, 4vw, 64px); border: 1px dashed var(--grey); color: var(--ink); overflow: hidden; }
.slot__label { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--grey-2); }
.slot__title { grid-column: 1 / span 8; font-size: clamp(56px, 9vw, 170px); }
.slot__desc { grid-column: 9 / span 4; display: grid; gap: 18px; justify-items: start; }
.slot__fill { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); z-index: -1; }
.slot { z-index: 0; transition: color .6s var(--ease); }
.slot:hover { color: var(--paper); }
.slot:hover .slot__fill { transform: scaleY(1); }
.slot:hover .slot__label { color: var(--grey); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.svc { background: var(--ink); color: var(--paper); }
.svc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.svc__list { grid-column: 1 / span 6; border-top: 1px solid var(--hair-d); }
.svc__item { border-bottom: 1px solid var(--hair-d); }
.svc__head { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 26px 0 22px; text-align: left; color: var(--grey-2); transition: color .5s; }
.svc__name { font-size: clamp(44px, 5.4vw, 96px); }
.svc__plus { width: 14px; height: 14px; position: relative; align-self: center; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; background: currentColor; left: 0; right: 0; top: 50%; height: 1px; transition: transform .5s var(--ease-out); }
.svc__plus::after { transform: rotate(90deg); }
.svc__item.is-active .svc__head, .svc__head:hover { color: var(--paper); }
.svc__item.is-active .svc__plus::after { transform: rotate(0); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc__body > div { overflow: hidden; padding-left: 64px; }
.svc__item.is-active .svc__body { grid-template-rows: 1fr; }
.svc__body p { max-width: 44ch; color: var(--paper); }
.svc__tags { margin: 14px 0 30px; color: var(--grey); }
.svc__aside { grid-column: 8 / span 5; position: sticky; top: calc(var(--hd-h) + 40px); }
.mon { position: relative; border: 1px solid var(--hair-d); background: var(--ink-2); }
.mon__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--hair-d); color: var(--grey); }
.mon__bar b { font-weight: 400; color: var(--paper); }
.mon__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mon__tl { position: relative; height: 34px; border-top: 1px solid var(--hair-d); }
.mon__tl::before { content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 6px; background-image: linear-gradient(90deg, var(--hair-d) 1px, transparent 1px); background-size: 5% 100%; }
.mon__tl i { position: absolute; top: 6px; bottom: 6px; width: 1px; background: var(--paper); left: 14px; animation: head 6s linear infinite; }
@keyframes head { to { left: calc(100% - 14px); } }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); display: grid; place-items: center; }
.scene.is-on { opacity: 1; }
.scene svg { width: 86%; height: 86%; overflow: visible; }
.scene .w { fill: none; stroke: var(--paper); stroke-width: 1; }
.scene .g { fill: none; stroke: var(--hair-d); stroke-width: 1; }
.scene .f { fill: var(--paper); }
/* scene 1 — layout assembling */
.scene--web .w { stroke-dasharray: 900; stroke-dashoffset: 900; }
.scene--web.is-on .w { animation: draw 4.8s var(--ease) infinite; }
.scene--web.is-on .w:nth-child(2) { animation-delay: .15s; } .scene--web.is-on .w:nth-child(3) { animation-delay: .3s; }
.scene--web.is-on .w:nth-child(4) { animation-delay: .45s; } .scene--web.is-on .w:nth-child(5) { animation-delay: .6s; }
.scene--web.is-on .w:nth-child(6) { animation-delay: .75s; } .scene--web.is-on .w:nth-child(7) { animation-delay: .9s; }
.scene--web.is-on .w:nth-child(8) { animation-delay: 1.05s; } .scene--web.is-on .w:nth-child(9) { animation-delay: 1.2s; }
@keyframes draw { 0% { stroke-dashoffset: 900; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
.scene--web .t { font-family: var(--f-sans); font-stretch: 62%; font-weight: 800; font-size: 46px; fill: var(--paper); opacity: 0; }
.scene--web.is-on .t { animation: fadeLoop 4.8s var(--ease) infinite 1.1s; }
@keyframes fadeLoop { 0%, 10% { opacity: 0; } 35%, 75% { opacity: 1; } 95%, 100% { opacity: 0; } }
/* scene 2 — code */
.mon__code { margin: 0; width: 86%; font-family: var(--f-mono); font-size: clamp(10px, .95vw, 13px); line-height: 1.9; color: var(--grey); white-space: pre; text-transform: none; }
.mon__code .k { color: var(--paper); }
.mon__code .s { color: #b9b8b2; font-style: italic; }
.mon__code .caret { display: inline-block; width: .6em; height: 1.1em; background: var(--paper); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* scene 3 — graph editor */
.scene--motion .ease-sq { position: absolute; left: 12%; bottom: 13%; width: 18px; height: 18px; background: var(--paper); }
.scene--motion.is-on .ease-sq { animation: easeX 2.4s cubic-bezier(.375, 0, .625, 1) infinite alternate; }
@keyframes easeX { to { left: calc(88% - 18px); } }
/* scene 4 — moodboard */
.board { position: relative; width: 82%; height: 78%; }
.board > * { position: absolute; opacity: 0; transform: translate(var(--dx, 0), var(--dy, 30px)) rotate(var(--r, 0deg)); }
.scene--dir.is-on .board > * { animation: snap 5s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
@keyframes snap { 0% { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 30px)) rotate(var(--r, 0deg)); } 18%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.board .ph { background: radial-gradient(circle at 30% 30%, #9a9993 0 1px, transparent 1.5px) 0 0 / 5px 5px, linear-gradient(160deg, #3a3a37, #151514); border: 1px solid var(--hair-d); }
.board .aa { font-family: var(--f-serif); font-style: italic; font-size: clamp(40px, 5vw, 76px); line-height: 1; color: var(--paper); }
.board .sw { display: flex; gap: 6px; }
.board .sw i { width: 22px; height: 22px; border: 1px solid var(--hair-d); }

/* =====================================================================
   REEL
   ===================================================================== */
.reel { color: var(--paper); }
.reel__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.reel__hd .sec-hd__idx { grid-column: 1 / -1; margin-bottom: 0; }
.reel__title { grid-column: 1 / span 7; font-size: clamp(72px, 13vw, 240px); }
.reel__year { grid-column: 8 / span 2; font-size: clamp(40px, 5vw, 90px); color: var(--grey-2); }
.reel__lead { grid-column: 10 / span 3; max-width: 26ch; color: var(--grey); padding-bottom: .6em; }
.reel__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; overflow: hidden; color: var(--paper); }
.reel__poster, .reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__poster { filter: grayscale(1) contrast(1.05) brightness(.62); transform: scale(1.08); }
.reel__video { opacity: 0; transition: opacity .8s; background: #000; }
.reel.is-playing .reel__video { opacity: 1; }
.reel__hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; z-index: 2; color: var(--paper); }
.reel__play { position: absolute; left: 50%; top: 50%; width: clamp(120px, 12vw, 180px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; color: var(--paper); border-radius: 50%; }
.reel__play svg { width: 100%; height: 100%; }
.reel__ring { animation: spin 18s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.reel__ring text { font-family: var(--f-mono); font-size: 7.4px; letter-spacing: 2.2px; text-transform: uppercase; fill: currentColor; }
.reel__tri { fill: currentColor; transition: transform .5s var(--ease-out); transform-origin: 50% 50%; }
.reel__play:hover .reel__tri { transform: scale(1.18); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__soon { position: absolute; left: 50%; bottom: 14%; transform: translate(-50%, 10px); z-index: 3; text-align: center; display: grid; gap: 6px; opacity: 0; transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none; }
.reel__soon b { font-weight: 400; color: var(--paper); }
.reel__soon span { color: #c9c8c2; text-transform: none; letter-spacing: 0; font-family: var(--f-sans); font-size: 14px; }
.reel.show-soon .reel__soon { opacity: 1; transform: translate(-50%, 0); }
.reel__ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; padding: 14px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); opacity: 0; transition: opacity .4s; }
.reel.is-playing .reel__ctrl, .reel.is-paused .reel__ctrl { opacity: 1; }
.reel__bar { height: 2px; background: rgba(231, 230, 225, .3); position: relative; cursor: pointer; }
.reel__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--paper); }
.reel__btn { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--paper); color: var(--ink); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.about__photo { grid-column: 1 / span 5; position: relative; color: var(--grey); }
.about__frame { position: relative; }
.about__frame { overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.about__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--grey-2); }
.about__text { grid-column: 7 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 8px; }
.about__text > * { grid-column: 1 / -1; }
.about__text .sec-hd__idx { margin-bottom: 0; }
.about__title { font-size: clamp(60px, 8.4vw, 156px); }
.about__title em { font-size: 1.06em; }
.about__p2 { max-width: 46ch; color: var(--grey-2); }
.pr { border-top: 1px solid var(--hair-l); }
.pr li { display: grid; grid-template-columns: 44px 1fr 1.4fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hair-l); }
.pr .wide { font-size: 15px; }
.pr p { color: var(--grey-2); }
.process { margin-top: clamp(96px, 12vw, 180px); }
.process__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.process__wrap { position: relative; padding-top: 34px; }
.process__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.process__line { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink); transform-origin: left; }
.process__steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.process__steps .kf { position: absolute; top: -34px; left: 0; background: var(--paper); }
.process__steps .kf--fill { background: var(--ink); }
.row__copy { margin: 12px 0 4px 60px; color: var(--grey); }
.row__copy:hover { color: var(--paper); }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { background: var(--paper); box-shadow: 0 0 0 1px rgba(12, 12, 11, .3); }
.process__n { color: var(--grey-2); }
.process__t { font-size: clamp(30px, 3vw, 52px); }
.process__d { color: var(--grey-2); max-width: 22ch; font-size: 15px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.ct { background: var(--ink); color: var(--paper); }
.ct__title { font-size: clamp(64px, 11vw, 210px); margin-bottom: clamp(36px, 4vw, 60px); }
.ct__title > span { display: block; }
.ct__l1 { color: var(--grey-2); }
.ct__l2 em { font-size: 1.05em; }
.ct__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.ct__lead { grid-column: 1 / span 4; max-width: 32ch; color: var(--grey); }
.ct__rows { grid-column: 6 / span 7; border-top: 1px solid var(--hair-d); }
.row { position: relative; display: grid; grid-template-columns: 44px 44px 1fr auto 28px; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hair-d); overflow: hidden; isolation: isolate; transition: color .5s var(--ease), padding .6s var(--ease-out); }
.row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.row:hover, .row:focus-visible { color: var(--ink); padding-left: 18px; padding-right: 18px; }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); }
.row__name { font-size: clamp(34px, 3.8vw, 64px); }
.row__handle { color: var(--grey); transition: color .5s; }
.row:hover .row__handle { color: var(--grey-2); }
.row__arrow { font-size: 22px; transition: transform .6s var(--ease-out); }
.row:hover .row__arrow { transform: rotate(45deg); }
.row__copy { position: relative; z-index: 2; }
.ct__note { grid-column: 1 / span 4; margin-top: 28px; color: var(--grey-2); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ft { background: var(--ink); color: var(--paper); padding: 40px var(--gutter) calc(var(--tl-h) + 18px); border-top: 1px solid var(--hair-d); overflow: hidden; }
.ft__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); color: var(--grey); }
.ft__top ul { display: grid; gap: 4px; }
.ft__top a:hover { color: var(--paper); }
.ft__time b { font-weight: 400; color: var(--paper); font-variant-numeric: tabular-nums; }
.ft__word { width: max-content; margin: 40px 0 14px; font-family: var(--f-sans); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: .8; letter-spacing: -.02em; white-space: nowrap; font-size: 10vw; }
.ft__bot { display: flex; justify-content: space-between; gap: 16px; color: var(--grey-2); flex-wrap: wrap; }
.ft__totop { justify-self: end; }

/* =====================================================================
   CASE PAGE
   ===================================================================== */
.case-hero { position: relative; padding: calc(var(--hd-h) + 9vh) var(--gutter) 0; background: var(--ink); color: var(--paper); }
.case-back { position: absolute; left: var(--gutter); top: calc(var(--hd-h) + 14px); color: var(--grey); }
.case-title { font-size: clamp(96px, 23vw, 440px); letter-spacing: .01em; line-height: .8; }
.case-title--long { font-size: clamp(56px, 17vw, 330px); }
.case-sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(32px, 4.4vw, 78px); margin: -.1em 0 0 .08em; color: var(--paper); }
.case-meta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px var(--gutter); margin: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--hair-d); }
.case-meta dt { color: var(--grey-2); margin-bottom: 8px; }
.case-meta dd { margin: 0; font-size: 15px; }
.case-cover { position: relative; margin: 0 calc(var(--gutter) * -1); aspect-ratio: 16 / 9; max-height: 92vh; width: calc(100% + var(--gutter) * 2); overflow: hidden; }
.case-cover img { width: 100%; height: 115%; object-fit: cover; }
.case-launch { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 2; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index: -1; }
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn--line { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn--line::before { background: currentColor; }
.btn--line:hover { color: var(--ink); }
.case-body { background: var(--paper); color: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gutter); }
.cs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.cs + .cs { margin-top: clamp(80px, 10vw, 150px); }
.cs__label { grid-column: 1 / span 3; display: flex; gap: 12px; align-items: baseline; color: var(--grey-2); }
.cs__text { grid-column: 5 / span 7; }
.cs__text p + p { margin-top: 1em; }
.cs__quote { grid-column: 1 / -1; font-size: clamp(54px, 8.6vw, 160px); }
.cs__quote em { font-size: 1.04em; }
.cs__fig { grid-column: 1 / -1; }
.cs__fig--l { grid-column: 1 / span 7; }
.cs__fig--r { grid-column: 6 / span 7; }
.cs__fig--half { grid-column: span 6; }
.fig { position: relative; }
.fig__img { overflow: hidden; background: var(--ink); }
.fig__img img { width: 100%; height: auto; }
.fig figcaption { display: flex; gap: 14px; margin-top: 12px; color: var(--grey-2); text-transform: none; letter-spacing: 0; font-family: var(--f-sans); font-size: 14px; }
.fig figcaption .mono { flex: none; }
.steps { grid-column: 1 / -1; display: grid; gap: clamp(64px, 8vw, 120px); }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.step__no { grid-column: 1 / span 1; color: var(--grey-2); }
.step__txt { grid-column: 2 / span 4; display: grid; gap: 14px; }
.step__txt h3 { font-size: clamp(34px, 3.6vw, 64px); }
.step__txt p { color: var(--grey-2); max-width: 40ch; }
.step__fig { grid-column: 7 / span 6; }
.step--flip .step__txt { grid-column: 8 / span 5; order: 2; }
.step--flip .step__fig { grid-column: 1 / span 6; order: 1; }
.step--flip .step__no { order: 0; grid-column: 7 / span 1; }
.step--text .step__txt { grid-column: 2 / span 6; }
.tech { grid-column: 5 / span 8; display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { padding: 8px 12px; border: 1px solid var(--hair-l); }
.case-credit { grid-column: 5 / span 7; color: var(--grey-2); font-size: 14px; }
.next { display: block; background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 150px) var(--gutter); position: relative; overflow: hidden; }
.next__label { color: var(--grey); margin-bottom: 24px; display: flex; justify-content: space-between; }
.next__title { font-size: clamp(64px, 12vw, 230px); transition: transform 1s var(--ease-out); }
.next__title em { font-size: 1.04em; }
.next:hover .next__title { transform: translateX(2vw); }

/* =====================================================================
   LAB PAGE
   ===================================================================== */
.lab { position: relative; min-height: 100svh; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(300px, 30%) 1fr; }
.lab__panel { position: relative; z-index: 2; padding: calc(var(--hd-h) + 40px) var(--gutter) calc(var(--tl-h) + 32px); display: flex; flex-direction: column; gap: 26px; border-right: 1px solid var(--hair-d); }
.lab__title { font-size: clamp(64px, 7vw, 120px); }
.lab__desc { color: #c9c8c2; }
.lab__meta { color: var(--grey); }
.lab__reset { align-self: flex-start; }
.lab .link { align-self: flex-start; }
.lab__how { color: var(--grey); font-size: 14px; }
.ctl { display: grid; gap: 10px; }
.ctl label, .ctl .mono { color: var(--grey); }
.ctl input[type="text"] { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair-d); color: var(--paper); font-family: var(--f-sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 34px; padding: 4px 0; outline: none; }
.ctl input[type="text"]:focus { border-color: var(--paper); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border: 1px solid var(--hair-d); color: var(--grey); transition: color .3s, border-color .3s, background .3s; }
.seg button:hover { color: var(--paper); border-color: var(--paper); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
input[type="range"] { width: 100%; accent-color: #e7e6e1; }
.lab__stage { position: relative; }
.lab__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }

/* =====================================================================
   404
   ===================================================================== */
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 24px; padding: var(--gutter); }
.nf__title { font-size: clamp(80px, 16vw, 280px); }
.nf__tc { color: var(--grey); }

/* =====================================================================
   Reveal helpers (initial states set in JS so no-JS visitors see everything)
   ===================================================================== */
.ln-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.split-ch { display: inline-block; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .hd__nav { display: none; }
  .hd { grid-template-columns: 1fr auto; }
  .hd__menu { display: inline-block; }
  .hd__cta { display: none; }
  .proj__title { grid-column: span 5; }
  .proj__desc { grid-column: span 6; }
  .proj__side { grid-column: 2 / span 11; }
}
@media (max-width: 760px) {
  :root { --hd-h: 60px; --tl-h: 0px; }
  .tl { display: none; }
  .sec-hd__title, .sec-hd__lead { grid-column: 1 / -1; }
  .sec-hd__lead { margin-top: 22px; }
  .sec-hd__count { display: none; }

  .hero { height: auto; min-height: 100svh; padding: calc(var(--hd-h) + 46px) var(--gutter) 40px; display: flex; flex-direction: column; }
  .hero__label { position: static; margin-bottom: 18px; font-size: 9.5px; }
  .hero__photo { position: relative; right: auto; top: auto; width: min(100%, calc(58svh * .75)); margin: 0 auto; aspect-ratio: 3 / 4; }
  .crop { display: none; }
  .hero__title { position: relative; left: auto; right: auto; top: auto; margin-top: -19vw; font-size: 21vw; }
  .hl--2 { padding-left: 9vw; }
  .hero__path { display: none; }
  .hero__intro, .hero__status { position: static; margin-top: 26px; }
  .hero__status { justify-items: start; text-align: left; margin-top: 18px; }
  .hero__cue { display: none; }

  .proj__media { aspect-ratio: 4 / 5; }
  .proj__big { font-size: 25vw; bottom: 18%; }
  .proj__big--long { font-size: 13vw; }
  .proj__meta > * { grid-column: 1 / -1 !important; }
  .proj--lab { grid-template-columns: 1fr; }
  .proj--lab .proj__text, .proj--lab .proj__stage { grid-column: 1 / -1; }
  .slot { grid-template-columns: 1fr; }
  .slot__title, .slot__desc { grid-column: 1 / -1; }

  .hd { gap: 12px; }
  .hd .lang { display: none; }
  .menu .lang { display: inline-flex; }
  .brand { gap: 8px; min-width: 0; }
  .brand__mark { height: 30px; }
  .brand__name { font-size: 11px; white-space: nowrap; }
  .brand__studio { font-size: 13px; }
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc__grid > * { min-width: 0; }
  .svc__list { grid-column: 1; }
  .svc__name { font-size: 11.5vw; }
  .svc__aside { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--hd-h) + 6px); z-index: 2; }
  .mon__screen { aspect-ratio: 16 / 9; }
  .svc__head { grid-template-columns: 36px 1fr auto; }
  .svc__body > div { padding-left: 48px; }

  .reel__title, .reel__year, .reel__lead { grid-column: 1 / -1; }
  .reel__hd { grid-template-columns: 1fr; }
  .reel__frame { aspect-ratio: 4 / 5; }
  .reel__play { width: 120px; }

  .about__photo, .about__text { grid-column: 1 / -1; }
  .pr li { grid-template-columns: 34px 1fr; }
  .pr li p { grid-column: 2; }
  .process__wrap { padding-top: 0; padding-left: 30px; }
  .process__steps { grid-template-columns: 1fr; gap: 28px; }
  .process__line { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .process__steps .kf { left: -30px; top: 8px; }
  .row__copy { margin-left: 46px; }

  .ct__lead, .ct__rows, .ct__note { grid-column: 1 / -1; }
  .row { grid-template-columns: 26px 34px 1fr 24px; gap: 4px 12px; }
  .row__handle { grid-column: 3; grid-row: 2; }
  .row__arrow { grid-column: 4; grid-row: 1 / span 2; }
  .row > .mono[data-no], .row__ico { grid-row: 1 / span 2; }
  .ft__top { grid-template-columns: 1fr 1fr; }

  .case-meta { grid-template-columns: 1fr 1fr; }
  .cs__label, .cs__text, .cs__fig--l, .cs__fig--r, .cs__fig--half, .tech, .case-credit { grid-column: 1 / -1; }
  .step, .step--flip { grid-template-columns: 1fr; }
  .step > *, .step--flip > * { grid-column: 1 / -1 !important; order: initial !important; }
  .case-launch { position: static; margin: 18px 0 0; }

  .lab { grid-template-columns: 1fr; grid-template-rows: 62svh auto; }
  .lab__stage { grid-row: 1; }
  .lab__panel { grid-row: 2; padding-top: 32px; border-right: 0; border-top: 1px solid var(--hair-d); }
}

@media (prefers-reduced-motion: reduce) {
  .eg *, .row__ico svg, .row__ico *, .tool__logo, .tool__echo, .tool__svg { animation: none !important; transition: none !important; }
  .pulse::after, .hero__cue i::after, .reel__ring, .mon__tl i, .mon__code .caret { animation: none !important; }
  .scene--web .w { stroke-dashoffset: 0 !important; animation: none !important; }
  .scene--web .t, .board > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scene--motion .ease-sq { animation: none !important; }
}

/* =====================================================================
   v2 — EG MARK
   A G drawn as a 270° motion path; its top terminal runs flat (the E top
   bar), its crossbar is the E middle bar and starts on a keyframe.
   Hover: the path re-draws and the keyframe is nudged along the bar.
   ===================================================================== */
.eg { overflow: visible; color: currentColor; }
.eg path { fill: none; stroke: currentColor; stroke-width: 2.6; }
.eg .eg-kf { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: 50% 50%; }
.eg .eg-arc { stroke-dasharray: 1; stroke-dashoffset: 0; }
.eg .eg-top, .eg .eg-bar { transform-box: fill-box; transform-origin: 0 50%; }
.brand:hover .eg .eg-arc, .brand:focus-visible .eg .eg-arc { animation: egDraw 1.1s var(--ease) both; }
.brand:hover .eg .eg-top, .brand:focus-visible .eg .eg-top { animation: egBar .9s var(--ease) both .55s; }
.brand:hover .eg .eg-bar, .brand:focus-visible .eg .eg-bar { animation: egBar .9s var(--ease) both .2s; }
.brand:hover .eg .eg-kf, .brand:focus-visible .eg .eg-kf { animation: egKey 1.1s var(--ease-out) both; }
@keyframes egDraw { 0% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: -1; } 46% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes egBar { 0% { transform: scaleX(1); } 40% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes egKey { 0% { transform: none; } 35% { transform: translateX(8px) rotate(90deg); } 100% { transform: rotate(180deg); } }
.loader .eg .eg-arc { animation: egLoad 1.4s var(--ease) both; }
.loader .eg .eg-top, .loader .eg .eg-bar { animation: egGrow .8s var(--ease-out) both .7s; }
.loader .eg .eg-kf { animation: egPop .6s var(--ease-out) both .5s; }
@keyframes egLoad { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes egGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes egPop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }

/* =====================================================================
   v2 — WORK: category index + chapters
   ===================================================================== */
.cats { border-top: 1px solid var(--ink); margin-bottom: clamp(96px, 12vw, 180px); }
.cat {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 56px 40px; align-items: center; gap: 0 var(--gutter);
  padding: clamp(20px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--hair-l); isolation: isolate; overflow: hidden;
  transition: color .6s var(--ease), padding .7s var(--ease-out);
}
.cat::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: -1; }
.cat:hover, .cat:focus-visible { color: var(--paper); padding-left: 22px; padding-right: 22px; }
.cat:hover::before, .cat:focus-visible::before { transform: scaleY(1); }
.cat__l { font-size: clamp(36px, 3.4vw, 60px); color: var(--grey); transition: color .5s; }
.cat:hover .cat__l { color: var(--paper); }
.cat__name { font-size: clamp(38px, 5.6vw, 104px); }
.cat__name em { font-size: 1.02em; }
.cat__list { color: var(--grey-2); text-align: right; transition: color .5s; }
.cat:hover .cat__list { color: var(--grey); }
.cat__n { color: var(--grey-2); }
.cat__arrow { font-size: 26px; justify-self: end; transition: transform .7s var(--ease-out); }
.cat:hover .cat__arrow { transform: translateY(6px); }

.chap { position: relative; }
.chap__hd {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); align-items: end;
  padding-top: 26px; border-top: 1px solid currentColor; margin-bottom: clamp(56px, 7vw, 110px);
}
.chap__l { position: absolute; right: -.04em; top: -.02em; font-size: clamp(160px, 26vw, 460px); line-height: .76; color: transparent; -webkit-text-stroke: 1px var(--hair-l); pointer-events: none; z-index: 0; }
.motion .chap__l { -webkit-text-stroke-color: var(--hair-d); }
.chap__idx { grid-column: 1 / -1; margin-bottom: 22px; color: var(--grey-2); position: relative; }
.chap__title { grid-column: 1 / span 8; font-size: clamp(54px, 8.4vw, 156px); position: relative; }
.chap__title em { font-size: 1.04em; }
.chap__lead { grid-column: 9 / span 4; max-width: 34ch; padding-bottom: .5em; color: var(--grey-2); position: relative; }
.motion .chap__lead, .motion .chap__idx { color: var(--grey); }

/* project titles carry their own typefaces (see project-fonts.css) */
.proj__title .pt-name, .proj__title .pt-sub { display: block; }

/* =====================================================================
   v2 — MOTION chapter (ink): the showreel leads, the study follows
   ===================================================================== */
.motion { background: var(--ink); color: var(--paper); }
.motion .reel + .proj { margin-top: clamp(120px, 14vw, 220px); }
.motion .reel__hd .sec-hd__idx { color: var(--grey); }
.motion .proj--lab .proj__tags { color: var(--grey); }
.motion .proj--lab .proj__stage { background: var(--ink-2); outline: 1px solid var(--hair-d); }
.motion .proj--lab .proj__text p { color: #c9c8c2; }

/* =====================================================================
   v2 — TOOLKIT
   ===================================================================== */
.tools { margin-top: clamp(120px, 14vw, 220px); }
.tools__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); align-items: end; margin-bottom: clamp(44px, 5vw, 80px); }
.tools__hd .sec-hd__idx { grid-column: 1 / -1; }
.tools__title { grid-column: 1 / span 7; font-size: clamp(56px, 8.4vw, 156px); }
.tools__title em { font-size: 1.04em; }
.tools__lead { grid-column: 9 / span 4; max-width: 34ch; color: var(--grey); padding-bottom: .5em; }
.tools__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tool { perspective: 900px; }
.tool__card {
  --mx: 50%; --my: 40%; --glow: 231, 230, 225;
  position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 28px;
  padding: clamp(22px, 2.2vw, 34px); border: 1px solid var(--hair-d); background: var(--ink-2);
  transform-style: preserve-3d; will-change: transform; color: var(--grey);
  transition: border-color .6s var(--ease), background .6s var(--ease);
}
.tool--claude .tool__card { --glow: 217, 119, 87; }
.tool--ae .tool__card, .tool--pr .tool__card { --glow: 153, 153, 255; }
.tool__card:hover, .tool__card.is-active { border-color: rgba(var(--glow), .45); background: #121211; }
.tool__light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--glow), .16), transparent 60%); }
.tool__card:hover .tool__light, .tool__card.is-active .tool__light { opacity: 1; }
.tool__stage { position: relative; height: clamp(150px, 15vw, 220px); display: grid; place-items: center; transform: translateZ(40px); transform-style: preserve-3d; }
.tool__logo, .tool__echo { position: absolute; width: clamp(84px, 8vw, 116px); aspect-ratio: 1; will-change: transform; }
.tool__svg { width: 100%; height: 100%; overflow: visible; }
.tool__logo { z-index: 2; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); transition: filter .6s var(--ease); }
.tool__card:hover .tool__logo, .tool__card.is-active .tool__logo { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(var(--glow), .28)); }
.tool__echo { z-index: 1; opacity: 0; pointer-events: none; }
.tool__info { position: relative; display: grid; gap: 12px; align-content: end; transform: translateZ(20px); }
.tool__no { color: var(--grey-2); }
.tool__name { font-family: var(--f-sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .9; font-size: clamp(34px, 3.2vw, 56px); color: var(--paper); }
.tool__name em { font-size: .62em; color: var(--grey); }
.tool__desc { color: #c9c8c2; max-width: 34ch; font-size: 15px; }
.tool__role { color: var(--grey-2); }
.tool__card .crop { color: rgba(var(--glow), .7); opacity: 0; transition: opacity .5s var(--ease); }
.tool__card:hover .crop, .tool__card.is-active .crop { opacity: 1; }

/* personalities — each answers the pointer the way the tool works */
/* Claude: the spark turns an eighth and its rays breathe */
.tool--claude .tool__logo .tool__svg { transition: transform 1.2s cubic-bezier(.34, 1.56, .64, 1); }
.tool--claude .tool__card:hover .tool__logo .tool__svg, .tool--claude .tool__card.is-active .tool__logo .tool__svg { transform: rotate(45deg) scale(1.08); }
.tool--claude .tool__card:hover .tool__echo, .tool--claude .tool__card.is-active .tool__echo { animation: breathe 2.6s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .28; transform: scale(1.32) rotate(22deg); filter: blur(6px); } }
/* After Effects: an echo trail — the logo leaves keyframed ghosts along its path */
.tool--ae .tool__card:hover .tool__echo, .tool--ae .tool__card.is-active .tool__echo { animation: echo 1.6s var(--ease-out) both; }
@keyframes echo { 0% { opacity: 0; transform: none; } 30% { opacity: .5; transform: translate(-22px, 10px) rotate(-6deg); } 100% { opacity: 0; transform: translate(-44px, 20px) rotate(-12deg); } }
.tool--ae .tool__logo .tool__svg { transition: transform .9s var(--ease-out); }
.tool--ae .tool__card:hover .tool__logo .tool__svg, .tool--ae .tool__card.is-active .tool__logo .tool__svg { transform: translate(6px, -6px) rotate(3deg); }
/* Premiere Pro: a razor cut — the logo splits on a playhead and snaps back together */
.tool--pr .tool__echo { opacity: 1; clip-path: inset(50% 0 0 0); }
.tool--pr .tool__logo { clip-path: inset(0 0 50% 0); }
.tool--pr .tool__card:hover .tool__logo .tool__svg, .tool--pr .tool__card.is-active .tool__logo .tool__svg { animation: cutTop 1.1s var(--ease-out) both; }
.tool--pr .tool__card:hover .tool__echo .tool__svg, .tool--pr .tool__card.is-active .tool__echo .tool__svg { animation: cutBot 1.1s var(--ease-out) both; }
@keyframes cutTop { 0% { transform: none; } 35% { transform: translateX(-9px); } 100% { transform: none; } }
@keyframes cutBot { 0% { transform: none; } 35% { transform: translateX(9px); } 100% { transform: none; } }
.tool--pr .tool__stage::after { content: ""; position: absolute; top: 12%; bottom: 12%; left: 0; width: 1px; background: rgba(153, 153, 255, .8); opacity: 0; }
.tool--pr .tool__card:hover .tool__stage::after, .tool--pr .tool__card.is-active .tool__stage::after { animation: playhead 1.1s var(--ease) both; }
@keyframes playhead { 0% { left: 8%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 92%; opacity: 0; } }

/* =====================================================================
   v2 — CONTACT: icons with their own small gestures
   ===================================================================== */
.row__ico { width: 26px; height: 26px; display: grid; place-items: center; color: var(--grey); transition: color .5s var(--ease); }
.row__ico svg { width: 22px; height: 22px; overflow: visible; transition: transform .7s var(--ease-out); }
.row__ico .i-fill { fill: currentColor; }
.row__ico .i-line { fill: none; stroke: currentColor; stroke-width: 1.5; }
.row:hover .row__ico, .row:focus-visible .row__ico { color: var(--ink); }
.row__name em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; font-size: .62em; letter-spacing: -.01em; color: var(--grey); transition: color .5s; }
.row:hover .row__name em { color: var(--grey-2); }
/* e-mail: the flap lifts */
.row--mail .i-flap { transform-box: fill-box; transform-origin: 50% 0; transition: transform .6s var(--ease-out); }
.row--mail:hover .i-flap, .row--mail:focus-visible .i-flap { transform: scaleY(-1); }
.row--mail:hover svg { transform: translateY(-2px); }
/* whatsapp: the bubble answers with a small wobble */
.row--whatsapp:hover svg, .row--whatsapp:focus-visible svg { animation: wobble .8s var(--ease-out); }
@keyframes wobble { 0% { transform: none; } 30% { transform: rotate(-14deg) scale(1.08); } 60% { transform: rotate(8deg); } 100% { transform: none; } }
/* x: a quarter-turn snap */
.row--x:hover svg, .row--x:focus-visible svg { transform: rotate(90deg); }
/* instagram: the lens focuses */
.row--instagram:hover svg, .row--instagram:focus-visible svg { animation: lens .9s var(--ease-out) both; }
@keyframes lens { 0% { transform: none; } 40% { transform: scale(.82); } 100% { transform: scale(1.06); } }

/* =====================================================================
   v2 — responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .cat { grid-template-columns: 48px minmax(0, 1fr) 40px; }
  .cat__list, .cat__n { display: none; }
  .tools__grid { grid-template-columns: 1fr 1fr; }
  .tools__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cat { grid-template-columns: 34px minmax(0, 1fr) 24px; padding: 18px 0; }
  .cat__name { font-size: 9.6vw; }
  .chap__title { font-size: 12.5vw; }
  .chap__title em, .cat__name em { font-size: 1em; }
  .proj--noctis .proj__big { font-size: 17vw; bottom: 16%; }
  .cat__arrow { font-size: 20px; }
  .chap__title, .chap__lead, .tools__title, .tools__lead { grid-column: 1 / -1; }
  .chap__lead, .tools__lead { margin-top: 18px; }
  .chap__l { font-size: 44vw; }
  .tools__grid { grid-template-columns: 1fr; }
  .tools__grid > :last-child { grid-column: auto; }
  .tool__stage { height: 150px; }
  .proj--noctis .pt-name { font-size: 15vw; }
  .proj--noctis .pt-sub { font-size: 7.4vw; }
  .proj--lc .pt-name { font-size: 9vw; }
  .proj--lc .proj__big { font-size: 10vw; line-height: 1; white-space: normal; max-width: 6.5em; bottom: 16%; }
  .about__frame { aspect-ratio: 4 / 5; }
}
.row__handle { text-transform: none; letter-spacing: .02em; }

/* =====================================================================
   v3 — VIDEO PIECE (Motion chapter): plays muted while on screen,
   click = play/pause, sound on demand
   ===================================================================== */
.vid { position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: 86vh; overflow: hidden; background: #000; color: var(--paper); }
.vid__poster, .vid__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__video { opacity: 0; transition: opacity .8s var(--ease); }
.vid.is-playing .vid__video, .vid.is-paused .vid__video { opacity: 1; }
.vid .proj__hud { mix-blend-mode: difference; color: #e7e6e1; text-shadow: none; }
.vid__tc { font-variant-numeric: tabular-nums; }
.vid__bar { position: absolute; left: 18px; right: 18px; bottom: 58px; height: 2px; background: rgba(231, 230, 225, .28); z-index: 2; mix-blend-mode: difference; }
.vid__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: #e7e6e1; }
.vid__ctrl { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; display: flex; gap: 8px; }
.vid__btn { padding: 9px 12px; background: rgba(12, 12, 11, .55); color: var(--paper); border: 1px solid var(--hair-d); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s var(--ease), color .4s var(--ease); }
.vid__btn:hover, .vid__btn:focus-visible { background: var(--paper); color: var(--ink); }
.vid__btn[data-vid-full] { margin-left: auto; }
.vid.is-sound [data-vid-sound] { background: var(--paper); color: var(--ink); }

/* title in the ad's own voice — a light, tightly set grotesk */
.proj--fabio .proj__title { display: grid; gap: .5em; justify-items: start; }
.proj--fabio .pt-name { font-family: "DM Sans", "Google Sans", "Helvetica Neue", Arial, sans-serif; font-weight: 300; text-transform: none; letter-spacing: -.035em; line-height: 1; font-size: clamp(34px, 3.8vw, 66px); }
.proj--fabio .pt-sub { font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif; font-weight: 400; letter-spacing: -.01em; font-size: clamp(15px, 1.2vw, 19px); color: #d8455a; }
.motion .proj--fabio .proj__meta { border-top-color: var(--hair-d); }
.motion .proj--fabio .proj__tags { color: var(--grey); }
.motion .proj--fabio .proj__desc { color: #c9c8c2; }
.motion .proj + .proj { margin-top: clamp(120px, 14vw, 220px); }

@media (max-width: 760px) {
  .vid { aspect-ratio: 16 / 9; }
  .vid__bar { bottom: 52px; left: 12px; right: 12px; }
  .vid__ctrl { left: 12px; right: 12px; bottom: 10px; }
  .vid__btn { padding: 8px 9px; font-size: 9.5px; }
  .proj--fabio .pt-name { font-size: 10vw; }
}
.vid.is-loading [data-vid-play] { opacity: .5; }
.vid.is-loading::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 30%; background: var(--paper); z-index: 4; animation: vidLoad 1.1s var(--ease) infinite; }
@keyframes vidLoad { from { left: -30%; } to { left: 100%; } }

/* =====================================================================
   v4 — SHOWCASES (web projects + motion), editorial grid layout
   ===================================================================== */
:root { --accent: #f2541b; }
.anchor { position: absolute; top: 0; }
.show { position: relative; padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(80px, 10vw, 150px); }
.show--web { background: var(--paper); color: var(--ink); }
.show--motion { background: var(--ink); color: var(--paper); }
.show__hd { margin-bottom: clamp(28px, 3.4vw, 52px); }
.show__idx { display: flex; align-items: center; gap: .55em; margin-bottom: clamp(18px, 2vw, 30px); letter-spacing: .08em; }
.show__idx b { color: var(--accent); font-weight: 500; }
.show__idx::after { content: ""; flex: 1; height: 1px; margin-left: 1.2em; background: currentColor; opacity: .55; }
.show__idx--kf { position: relative; padding-right: 14px; }
.show__idx--kf::before { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; background: var(--accent); transform: translateY(-50%) rotate(45deg); }
.show__title {
  font-family: var(--f-sans); font-stretch: 100%; font-weight: 800; text-transform: none;
  font-size: clamp(40px, 5.4vw, 96px); line-height: .98; letter-spacing: -.045em; max-width: 19ch;
}

/* ---------- web grid ---------- */
.show__grid { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 40px) clamp(12px, 1.2vw, 20px); }
.wcard--wide { grid-column: span 13; }
.wcard--narrow { grid-column: span 7; }
.wcard--half-l { grid-column: span 11; }
.wcard--half-r { grid-column: span 9; }
.wcard__link { display: block; }
.wcard__media { position: relative; overflow: hidden; background: var(--ink); }
.wcard--wide .wcard__media, .wcard--narrow .wcard__media { height: clamp(220px, 27vw, 560px); }
.wcard--half-l .wcard__media, .wcard--half-r .wcard__media { height: clamp(190px, 22vw, 460px); }
.wcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.wcard__media img.is-on { opacity: 1; transform: scale(1); }
.wcard__link:hover .wcard__media img.is-on, .wcard__link:focus-visible .wcard__media img.is-on { transform: scale(1.025); }
.wcard__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 12px; }
.wcard__name { margin: 0; line-height: 1.1; }
.show .wcard__name .pt-name, .show .mrow__name .pt-name { display: block; font-size: clamp(19px, 1.55vw, 27px) !important; line-height: 1.12 !important; }
/* names keep each project's own typeface (project-fonts.css); only the size is set here */
.wcard__tags { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--grey-2); }
.wcard__arrow { flex: none; width: 30px; height: 14px; margin-bottom: 4px; color: currentColor; transition: transform .6s var(--ease-out); }
.wcard__arrow svg, .mrow__go svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; }
.wcard__link:hover .wcard__arrow, .wcard__link:focus-visible .wcard__arrow { transform: translateX(6px); }

/* ---------- motion: player ---------- */
.player { position: relative; color: var(--paper); }
.player__screen { position: relative; aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; overflow: hidden; background: #000; cursor: pointer; }
.player__poster, .player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__video { opacity: 0; transition: opacity .6s var(--ease); }
.player.is-started .player__video { opacity: 1; }
.player__big {
  position: absolute; left: 50%; top: 50%; width: clamp(56px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%, -50%); background: rgba(12, 12, 11, .82); color: var(--paper);
  transition: transform .6s var(--ease-out), opacity .4s var(--ease), background .4s var(--ease);
}
.player__big svg { width: 34%; height: 34%; fill: currentColor; margin-left: 6%; }
.player__screen:hover .player__big { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
.player__cap { position: absolute; left: clamp(14px, 1.6vw, 26px); bottom: clamp(12px, 1.6vw, 24px); font-weight: 600; font-size: clamp(13px, 1.05vw, 16px); text-shadow: 0 1px 12px rgba(0, 0, 0, .55); transition: opacity .5s var(--ease); pointer-events: none; }
.player.is-playing .player__cap { opacity: 0; }
.player.is-loading .player__screen::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 30%; background: var(--accent); animation: vidLoad 1.1s var(--ease) infinite; }
.player__bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(10px, 1.4vw, 22px); padding: 14px 2px; border-bottom: 1px solid var(--hair-d); }
.player__btn { width: 32px; height: 32px; display: grid; place-items: center; color: var(--paper); transition: color .3s var(--ease); }
.player__btn:hover, .player__btn:focus-visible { color: var(--accent); }
.player__btn svg { width: 16px; height: 16px; fill: currentColor; overflow: visible; }
.player__btn svg .s { fill: none; stroke: currentColor; stroke-width: 1.4; }
.player__btn .i-pause, .player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__btn .i-off, .player.is-muted .player__btn .i-on { display: none; }
.player.is-muted .player__btn .i-off { display: block; }
.player__time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__track { position: relative; height: 22px; cursor: pointer; touch-action: none; }
.player__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(231, 230, 225, .35); }
.player__fill { position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: var(--paper); }
.player__knob { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease-out); }
.player__track:hover .player__knob, .player__track:focus-visible .player__knob { transform: scale(1.5); background: var(--accent); }

/* ---------- motion: project row ---------- */
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 340px); gap: 0 clamp(16px, 2vw, 32px); margin-top: clamp(16px, 1.8vw, 26px); align-items: stretch; }
.mrow__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mrow__thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.mrow__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .4s var(--ease); }
.mrow__thumb:hover img, .mrow__thumb:focus-visible img { transform: scale(1.06); }
.mrow__thumbs:hover .mrow__thumb:not(:hover) img { opacity: .55; }
.mrow__info { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-left: clamp(16px, 1.8vw, 28px); border-left: 1px solid var(--hair-d); }
.mrow__name { margin: 0; }
.mrow__name .pt-name { font-family: var(--f-sans) !important; font-weight: 700 !important; letter-spacing: -.02em !important; color: var(--paper); }
.mrow__info p { color: var(--grey); font-size: 14px; line-height: 1.5; max-width: 30ch; padding-right: 36px; }
.mrow__go { position: absolute; right: 0; bottom: 4px; width: 30px; height: 14px; color: var(--paper); transition: transform .6s var(--ease-out), color .3s; }
.mrow__go:hover, .mrow__go:focus-visible { transform: translateX(6px); color: var(--accent); }

@media (max-width: 900px) {
  .wcard--wide, .wcard--narrow, .wcard--half-l, .wcard--half-r { grid-column: 1 / -1; }
  .wcard--wide .wcard__media, .wcard--narrow .wcard__media, .wcard--half-l .wcard__media, .wcard--half-r .wcard__media { height: auto; aspect-ratio: 16 / 10; }
  .mrow { grid-template-columns: 1fr; gap: 18px; }
  .mrow__info { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair-d); padding-top: 16px; }
}
@media (max-width: 760px) {
  .show__title { font-size: 11.5vw; }
  .player__screen { aspect-ratio: 16 / 9; }
  .player__bar { gap: 8px; }
  .player__time { font-size: 9.5px; }
  .player__big { width: 64px; }
  .mrow__thumbs { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .wcard__media img, .player__big, .mrow__thumb img { transition: none !important; }
}
/* About portrait: background removed — the figure stands on the page like the hero portrait */
.about__frame { background: transparent; overflow: visible; }
.about__frame img { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 40px rgba(12, 12, 11, .18)); }

/* =====================================================================
   v5 — PRICING
   ===================================================================== */
.price { background: var(--paper); color: var(--ink); padding-top: clamp(64px, 8vw, 120px); }
.price__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); gap: 24px var(--gutter); align-items: end; }
.price__lead { color: var(--grey-2); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; padding-bottom: .4em; }

.price__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.ptabs { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--hair-l); border-radius: 999px; background: rgba(255, 255, 255, .35); max-width: 100%; }
.ptabs__ink { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease-out), width .6s var(--ease-out); }
.ptabs__tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--grey-2); white-space: nowrap; transition: color .45s var(--ease); }
.ptabs__tab .mono { font-size: 9.5px; color: var(--accent); }
.ptabs__tab[aria-selected="true"] { color: var(--paper); }
.ptabs__tab:hover:not([aria-selected="true"]) { color: var(--ink); }
.ptabs__tab:focus-visible { outline-offset: 2px; }
.pcur { display: inline-flex; border: 1px solid var(--hair-l); border-radius: 999px; padding: 3px; }
.pcur button { padding: 9px 14px; border-radius: 999px; color: var(--grey-2); transition: background .4s var(--ease), color .4s var(--ease); }
.pcur button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pcur button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.price__rate { color: var(--grey-2); text-transform: none; letter-spacing: .01em; margin: -2px 0 14px; }

.ppanel { margin-top: clamp(22px, 2.4vw, 36px); }
.ppanel--cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); align-items: stretch; }

/* cards */
.pcard {
  position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 38px);
  background: #efeee9; border: 1px solid var(--hair-l); border-radius: 18px;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(12, 12, 11, .35); border-color: rgba(12, 12, 11, .32); }
.pcard.is-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-10px); box-shadow: 0 40px 70px -36px rgba(12, 12, 11, .55); }
.pcard.is-featured:hover { transform: translateY(-16px); }
.pcard__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.pcard__name { margin: 0; font-size: clamp(18px, 1.35vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.pcard__badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.pcard__price { display: grid; gap: 4px; margin: clamp(22px, 2.2vw, 34px) 0 14px; }
.pcard__from { color: var(--grey-2); font-size: 9.5px; }
.pcard.is-featured .pcard__from { color: var(--grey); }
.pcard__price .pcard__amt { font-size: clamp(44px, 4.2vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.pcard__desc { color: var(--grey-2); font-size: 15px; line-height: 1.5; min-height: 4.5em; }
.pcard.is-featured .pcard__desc { color: #c9c8c2; }
.pcard__inc { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--hair-l); color: var(--grey-2); }
.pcard.is-featured .pcard__inc { border-color: var(--hair-d); color: var(--grey); }
.pcard__list { display: grid; gap: 10px; margin-bottom: 28px; }
.pcard__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.pc-check { width: 12px; height: 12px; margin-top: .3em; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.pcard__cta {
  margin-top: auto; display: inline-flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%;
  padding: 16px 20px; border-radius: 999px; border: 1px solid currentColor; font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.pcard__cta::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index: -1; }
.pcard__cta:hover, .pcard__cta:focus-visible { color: var(--paper); }
.pcard__cta:hover::before, .pcard__cta:focus-visible::before { transform: translateY(0); }
.pcard__cta.is-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.pcard__cta.is-solid::before { background: var(--paper); }
.pcard__cta.is-solid:hover, .pcard__cta.is-solid:focus-visible { color: var(--ink); }
.pc-arrow { width: 26px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .5s var(--ease-out); }
.pcard__cta:hover .pc-arrow { transform: translateX(4px); }

/* bundle */
.pbundle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: 22px; overflow: hidden; background: var(--ink); color: var(--paper); box-shadow: 0 50px 90px -50px rgba(12, 12, 11, .6); }
.pbundle__main { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 56px); gap: 14px; }
.pbundle__main::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 84, 27, .28), transparent); pointer-events: none; }
.pbundle__name { margin: 8px 0 0; font-size: clamp(30px, 3.2vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.pbundle__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.6vw, 26px); color: #e9a383; }
.pbundle__desc { color: #c9c8c2; max-width: 46ch; font-size: 15px; line-height: 1.55; }
.pbundle__price { margin: 10px 0 0; }
.pbundle__compare { width: 100%; max-width: 440px; display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--hair-d); border-bottom: 1px solid var(--hair-d); font-size: 13.5px; }
.pbundle__compare p { display: flex; justify-content: space-between; gap: 16px; color: var(--grey); }
.pbundle__compare s { color: var(--grey); text-decoration-color: rgba(231, 230, 225, .5); }
.pbundle__compare b { color: var(--paper); font-weight: 600; }
.pbundle__compare .pbundle__save { justify-content: flex-start; gap: 8px; color: #e9a383; }
.pbundle__compare .pbundle__save b { color: #e9a383; }
.pbundle__note { color: var(--grey); font-size: 13px; max-width: 46ch; }
.pbundle__main .pcard__cta { width: auto; min-width: min(100%, 320px); margin-top: 8px; position: relative; z-index: 1; }
.pbundle__side { display: grid; gap: 0; background: var(--ink-2); border-left: 1px solid var(--hair-d); }
.pbundle__group { padding: clamp(22px, 2.4vw, 36px) clamp(24px, 3vw, 48px); }
.pbundle__group + .pbundle__group { border-top: 1px solid var(--hair-d); }
.pbundle__gt { display: flex; gap: 12px; margin-bottom: 14px; color: var(--grey); }
.pbundle__gt span { color: var(--accent); }
.pbundle__group .pcard__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin: 0; }
.pbundle__group .pcard__list li { font-size: 14px; color: #dcdbd5; }
.pbundle__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pbundle__chips li { padding: 7px 12px; border: 1px solid var(--hair-d); border-radius: 999px; font-size: 13px; color: #dcdbd5; }

/* custom quote + note */
.pcustom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 72px); padding: clamp(24px, 3vw, 44px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair-l); }
.pcustom__title { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.pcustom p { color: var(--grey-2); max-width: 60ch; }
.pcustom .pcard__cta { width: auto; min-width: 280px; }
.price__note { margin-top: 18px; color: var(--grey-2); font-size: 13px; max-width: 80ch; }

/* contact: chosen plan */
.ct__side { grid-column: 6 / span 7; }
.ct__side .ct__rows { grid-column: auto; }
.ct__pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding: 12px 14px 12px 18px; border: 1px solid var(--accent); border-radius: 999px; }
.ct__pick .mono { color: var(--accent); }
.ct__pick b { font-weight: 600; flex: 1; min-width: 0; }
.ct__pick button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair-d); font-size: 14px; line-height: 1; }
.ct__pick button:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 1100px) {
  .ppanel--cards { grid-template-columns: 1fr 1fr; }
  .ppanel--cards .pcard:last-child { grid-column: 1 / -1; }
  .pcard.is-featured { transform: none; }
  .pbundle { grid-template-columns: 1fr; }
  .pbundle__side { border-left: 0; border-top: 1px solid var(--hair-d); }
  .ptabs { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  .price__top { grid-template-columns: 1fr; }
  .price__bar { flex-direction: column; align-items: stretch; }
  .ptabs { display: grid; grid-template-columns: 1fr; border-radius: 18px; }
  .ptabs__ink { display: none; }
  .ptabs__tab { justify-content: flex-start; white-space: normal; border-radius: 14px; padding: 14px 16px; min-height: 48px; }
  .ptabs__tab[aria-selected="true"] { background: var(--ink); }
  .pcur { align-self: flex-start; }
  .pcur button { padding: 11px 16px; }
  .ppanel--cards { grid-template-columns: 1fr; }
  .ppanel--cards .pcard:last-child { grid-column: auto; }
  .pcard__desc { min-height: 0; }
  .pbundle__group .pcard__list { grid-template-columns: 1fr; }
  .pcustom { grid-template-columns: 1fr; }
  .pcustom .pcard__cta { min-width: 0; width: 100%; }
  .pcard__cta { min-height: 52px; }
  .ct__side { grid-column: 1 / -1; }
  .ct__pick { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .ptabs__ink, .pcard__cta::before { transition: none !important; }
  .pcard:hover, .pcard.is-featured:hover { transform: none; }
}
.wcard--half-l .wcard__media img { object-position: 50% 0; }
.show--motion .show__title { max-width: none; }
.player__screen::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(transparent, rgba(12, 12, 11, .62)); z-index: 1; pointer-events: none; transition: opacity .5s var(--ease); }
.player.is-playing .player__screen::before { opacity: 0; }
.player__cap { z-index: 2; }
.player__big { z-index: 2; }
/* selected tab paints itself (no dependency on a measured indicator) */
.ptabs__ink { display: none; }
.ptabs__tab { transition: color .45s var(--ease), background .45s var(--ease); }
.ptabs__tab[aria-selected="true"] { background: var(--ink); }
.about__frame { clip-path: inset(-30% -30% 0 -30%); }
.about__frame img { transform: none !important; }
/* About portrait: the cut-out melts into the page — soft fades on the edges where the photo was cropped (base and sides) */
.about__frame { clip-path: none; }
.about__frame img {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.6) 76%, transparent 97%), linear-gradient(to right, transparent 0, #000 9%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.6) 76%, transparent 97%), linear-gradient(to right, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-composite: intersect;
  filter: none;
}

/* =====================================================================
   v6 — PRICING: regional tables, scope lines, premium tier, notes
   ===================================================================== */
.price__rate { margin: 2px 0 12px; font-size: 13px; color: var(--grey-2); letter-spacing: 0; text-transform: none; }
.pcard__scope { margin: -8px 0 22px; padding: 12px 14px; border-radius: 12px; background: rgba(12, 12, 11, .045); font-size: 12.5px; line-height: 1.5; color: var(--grey-2); }
.pcard.is-featured .pcard__scope { background: rgba(231, 230, 225, .07); color: var(--grey); }
/* premium: a tailored commission, not a bigger basic plan */
.pcard.is-premium { background: linear-gradient(180deg, #f3f2ee, #e9e8e2); border-color: rgba(12, 12, 11, .28); }
.pcard.is-premium::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.pcard__tier { display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ink); font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.pcard.is-premium .pcard__name { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 1.7vw, 28px); letter-spacing: -.02em; }
.pcard__price .pcard__amt { display: inline-block; min-height: 1em; }
.pbundle__compare .is-total { padding-top: 8px; border-top: 1px dashed var(--hair-d); }
.pbundle__compare .is-total + .is-total { padding-top: 0; border-top: 0; }
.price__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gutter); margin-top: 18px; }
.price__notes p { color: var(--grey-2); font-size: 13px; line-height: 1.55; max-width: 62ch; }
@media (max-width: 760px) {
  .price__notes { grid-template-columns: 1fr; }
  .pcard__scope { margin-top: -4px; }
}
.pcard__amt.is-swap { animation: priceSwap .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes priceSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pcard__amt.is-swap { animation: none; } }

/* =====================================================================
   v8 — studio logo (raster, transparent): the G with its orbit and keyframe
   ===================================================================== */
.brand__logo { width: auto; height: 34px; object-fit: contain; transform-origin: 50% 55%; transition: transform .9s var(--ease-out); }
.brand:hover .brand__logo, .brand:focus-visible .brand__logo { transform: rotate(-8deg) scale(1.06); }
.loader__logo { width: auto; height: 84px; object-fit: contain; animation: logoIn 1.2s var(--ease-out) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .brand__logo { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .brand__logo, .loader__logo { transition: none; animation: none; } }

/* =====================================================================
   v9 — web grid in rows: two features on top (wide + narrow), then a row of three
   ===================================================================== */
.show__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.show__grid .wcard--wide { grid-column: span 8; }
.show__grid .wcard--narrow { grid-column: span 4; }
.show__grid .wcard--third { grid-column: span 4; }
.show__grid .wcard--third .wcard__media { height: clamp(200px, 19vw, 400px); }
.show__grid .wcard--third.proj--zefir .wcard__media img { object-position: 50% 0; }
@media (max-width: 1100px) {
  .show__grid .wcard--wide, .show__grid .wcard--narrow { grid-column: 1 / -1; }
  .show__grid .wcard--third { grid-column: span 6; }
  .show__grid .wcard--third:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .show__grid .wcard--third, .show__grid .wcard--third:last-child { grid-column: 1 / -1; }
  .show__grid .wcard--third .wcard__media { height: auto; aspect-ratio: 16 / 10; }
}

/* =====================================================================
   v10 — clean-up: availability pill, hero intro voice, plain nav, quiet progress bar
   ===================================================================== */
/* availability: a clear pill at the top right of the hero, out of the reading line */
.hero__status {
  position: absolute; top: calc(var(--hd-h) + 10px); right: var(--gutter); bottom: auto; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 999px;
  background: rgba(231, 230, 225, .08); border: 1px solid rgba(231, 230, 225, .22); color: var(--paper);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.hero__status:hover, .hero__status:focus-visible { background: rgba(231, 230, 225, .16); border-color: rgba(231, 230, 225, .45); }
.hero__status .pulse { background: #4ade80; }
.hero__status .pulse::after { border-color: #4ade80; }

/* intro: the studio's serif voice, with a soft highlight on what matters */
.hero__intro {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(19px, 1.65vw, 27px); line-height: 1.32; max-width: 26ch; color: #d9d8d2;
}
.hero__intro mark {
  color: var(--paper); background: linear-gradient(transparent 62%, rgba(242, 84, 27, .38) 62%, rgba(242, 84, 27, .38) 92%, transparent 92%);
  padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* top navigation: labels only */
.hd__nav a::before { content: none; display: none; }

/* bottom timeline → a single quiet progress line (no labels, no timecodes, no markers) */
.tl { height: 2px; padding: 0; display: block; mix-blend-mode: difference; pointer-events: none; }
.tl .tl__tc, .tl .tl__total, .tl .tl__ticks, .tl .tl__head, .tl .tl__key { display: none !important; }
.tl .tl__track { position: absolute; inset: 0; height: 2px; }
.tl .tl__rail { top: 0; height: 2px; background: rgba(231, 230, 225, .12); }
.tl .tl__fill { top: 0; height: 2px; background: #e7e6e1; }
:root { --tl-h: 0px; }

@media (max-width: 760px) {
  .hero__status { position: static; order: -1; align-self: flex-start; margin: 0 0 16px; padding: 8px 14px 8px 12px; }
  .hero__intro { margin-top: 22px; font-size: 20px; }
  /* the signature curve also runs on phones, across the photo and the title */
  .hero__path { display: block; }
}

/* =====================================================================
   v11 — footer signature: the studio lockup replaces the giant wordmark
   ===================================================================== */
.ft__logo {
  --fl: clamp(20px, 4.6vw, 84px);              /* one size drives the whole lockup */
  display: flex; align-items: center; justify-content: center; gap: calc(var(--fl) * .9);
  margin: clamp(48px, 7vw, 110px) auto clamp(36px, 5vw, 80px); color: var(--paper);
}
.fl__mark { height: calc(var(--fl) * 4.3); width: auto; overflow: visible; flex: none; }
.fl__bowl, .fl__bar, .fl__dot, .fl__run { fill: currentColor; }
.fl__line { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; }
.fl__key { fill: var(--ink); stroke: currentColor; stroke-width: 4.5; }
.fl__run { opacity: 0; }
.fl__rule { width: 1px; align-self: stretch; margin: calc(var(--fl) * .2) 0; background: rgba(231, 230, 225, .55); transform-origin: 50% 50%; }
.fl__type { display: grid; line-height: .9; }
.fl__ln { display: block; overflow: hidden; padding-bottom: .04em; }
.fl__ln > span { display: block; }
.fl__ln:not(.fl__ln--studio) { font-family: var(--f-sans); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .005em; font-size: var(--fl); }
.fl__ln--studio { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: calc(var(--fl) * 1.32); line-height: 1.05; margin-top: .02em; padding-right: .1em; }
@media (max-width: 760px) {
  .ft__logo { --fl: clamp(18px, 6.4vw, 30px); gap: calc(var(--fl) * .7); }
}

/* =====================================================================
   v12 — refinement pass: focus, project index, motion library
   ===================================================================== */
/* a focus ring you can actually see on both ink and paper */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wcard__link:focus-visible { outline-offset: 6px; }

/* project index: the same W./B./T. numbering the studio uses everywhere */
.wcard__no { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .12em; color: var(--grey-2); transition: color .4s var(--ease); }
.wcard__link:hover .wcard__no, .wcard__link:focus-visible .wcard__no { color: var(--accent); }

/* featured motion piece: facts line, scene timecodes, no-scenes layout, external link */
.mrow__facts { margin: 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); max-width: none !important; padding: 0 !important; }
.mrow__facts i { font-style: normal; opacity: .5; }
.mrow__thumb .mrow__at { position: absolute; left: 8px; bottom: 6px; font-size: 9.5px; letter-spacing: .08em; color: var(--paper); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); opacity: .85; }
.mrow--solo { grid-template-columns: minmax(0, 1fr); }
.mrow--solo .mrow__info { border-left: 0; padding-left: 0; }
.mrow--solo .mrow__info p:not(.mrow__facts) { max-width: 56ch; }
.mrow__link { align-self: flex-start; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); border-bottom: 1px solid var(--hair-d); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.mrow__link:hover, .mrow__link:focus-visible { color: var(--accent); border-color: var(--accent); }

/* any aspect ratio keeps its proportions; vertical pieces stay a sensible height */
.player { --ratio: 16 / 9; }
.player__screen { aspect-ratio: var(--ratio); }
.player.is-tall .player__screen { width: auto; height: min(82svh, 860px); margin: 0 auto; }
.player.is-tall .player__poster, .player.is-tall .player__video { object-fit: contain; }

/* the rest of the library: rows of three, same rhythm as the web grid */
.mlib { margin-top: clamp(40px, 5vw, 72px); }
.mlib__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.mlib__filters button { min-height: 36px; padding: 0 14px; border: 1px solid var(--hair-d); border-radius: 999px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); transition: color .3s, border-color .3s, background .3s; }
.mlib__filters button:hover { color: var(--paper); border-color: rgba(231, 230, 225, .5); }
.mlib__filters button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.mlib__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.mcard[hidden] { display: none; }
.mcard__btn { display: block; width: 100%; text-align: left; color: var(--paper); }
.mcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .5s var(--ease); }
.mcard__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(12, 12, 11, .55); transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity .4s var(--ease), transform .6s var(--ease-out), background .3s; }
.mcard__play svg { width: 16px; height: 16px; fill: var(--paper); margin-left: 2px; }
.mcard__btn:hover .mcard__media img, .mcard__btn:focus-visible .mcard__media img { transform: scale(1.04); }
.mcard__btn:hover .mcard__play, .mcard__btn:focus-visible .mcard__play { opacity: 1; transform: translate(-50%, -50%) scale(1); background: var(--accent); }
.mcard.is-current .mcard__media img { opacity: .45; }
.mcard.is-current .mcard__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mcard__meta { display: grid; gap: 4px; padding-top: 12px; }
.mcard__no { font-size: 10px; letter-spacing: .12em; color: var(--grey-2); }
.mcard__name { font-family: var(--f-sans); font-weight: 700; font-size: clamp(17px, 1.3vw, 22px); letter-spacing: -.01em; }
.mcard__facts { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); }
@media (hover: none) { .mcard__play { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 1100px) { .mlib__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .mlib__grid { grid-template-columns: 1fr; }
  .player.is-tall .player__screen { height: min(72svh, 640px); }
  .player__btn { min-width: 40px; min-height: 40px; }
}

/* =====================================================================
   v13 — refactor: headline, featured grid, motion gallery, resilience
   ===================================================================== */
/* headline: "Websites / with presence. / Ideas in motion." */
.hl--2 { padding-left: 15vw; }
.hl--2 em { font-size: 1.02em; }
.hl--2 { padding-bottom: .2em; margin-bottom: -.22em; } /* room for the cedilla in "presença" */
.hl--3 { text-align: right; padding-right: .04em; }
.hl__sub { display: inline-block; font-size: .34em; line-height: 1; letter-spacing: -.01em; padding-top: .35em; }
.hl__sub em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.18em; letter-spacing: -.02em; text-transform: none; }
@media (max-width: 760px) {
  .hl--2 { padding-left: 4vw; }
  .hl--2 em { font-size: .86em; }
  .hl__sub { font-size: .4em; }
}

/* web grid: three featured cards (Zefir, Dobra, Low Cortisol), then Noctis, then a row of three */
.show__hd { position: relative; }
.show__jump { position: absolute; right: 0; bottom: .4em; display: inline-flex; gap: .6em; align-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; transition: opacity .3s, transform .5s var(--ease-out); }
.show__jump:hover, .show__jump:focus-visible { opacity: 1; transform: translateY(3px); }
.show__grid .wcard--feat-a { grid-column: span 7; }
.show__grid .wcard--feat-b { grid-column: span 5; }
.show__grid .wcard--feat-a .wcard__media, .show__grid .wcard--feat-b .wcard__media { height: clamp(260px, 31vw, 620px); }
.show__grid .wcard--wide .wcard__media, .show__grid .wcard--narrow .wcard__media { height: clamp(220px, 23vw, 470px); }
.show__grid .wcard--third .wcard__media { height: clamp(190px, 16.5vw, 340px); }
.show__grid .wcard--feat-a.proj--zefir .wcard__media img { object-position: 50% 12%; }
.show .wcard--feat .wcard__name .pt-name { font-size: clamp(22px, 2vw, 34px) !important; }
.show .wcard--feat .wcard__no i { font-style: normal; opacity: .5; }
.show .wcard--feat .wcard__no span { color: var(--accent); }
.show--web { padding-bottom: clamp(56px, 6vw, 96px); }
.show--motion { padding-top: clamp(56px, 6vw, 96px); }
@media (max-width: 1100px) {
  .show__grid .wcard--feat-a, .show__grid .wcard--feat-b { grid-column: span 6; }
  .show__grid .wcard--feat-a .wcard__media, .show__grid .wcard--feat-b .wcard__media { height: clamp(240px, 40vw, 460px); }
}
@media (max-width: 760px) {
  .show__jump { position: static; margin-top: 14px; }
  .show__grid .wcard--feat-a, .show__grid .wcard--feat-b { grid-column: 1 / -1; }
  .show__grid .wcard--feat-a .wcard__media, .show__grid .wcard--feat-b .wcard__media,
  .show__grid .wcard--wide .wcard__media, .show__grid .wcard--narrow .wcard__media { height: auto; aspect-ratio: 16 / 10; }
}

/* motion gallery: posters, format, live preview on hover (only where a preview file exists) */
.mlib__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.mlib__title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); }
.mcard__media { aspect-ratio: 16 / 9; }
.mcard__media.is-tall { aspect-ratio: 16 / 9; background: #111; }
.mcard__media.is-tall img, .mcard__media.is-tall video { object-fit: contain; }
.mcard__prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.mcard.is-previewing .mcard__prev { opacity: 1; }
.mcard.is-previewing .mcard__play { opacity: 0; }
.mcard__badge { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(12, 12, 11, .62); color: var(--paper); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mcard__dur { left: auto; right: 10px; }
.mrow__facts b { font-weight: 500; color: var(--grey); }
@media (prefers-reduced-motion: reduce) { .mcard__prev { display: none; } }

/* resilience: if the animation libraries never load, nothing stays hidden */
html.no-anim .loader, html.no-anim .curtain { display: none !important; }
html.no-anim .hd, html.no-anim .tl, html.no-anim [data-reveal], html.no-anim .hero__img,
html.no-anim .hero__label, html.no-anim .hero__intro, html.no-anim .hero__status, html.no-anim .hero__cue, html.no-anim .hl > * { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }

/* cases: one structure for every project */
.case-meta { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: clamp(18px, 2vw, 28px) 0 clamp(28px, 3vw, 44px); }
.case-actions .case-launch { position: static; }
.case-hero .case-title .pt-name { font-size: 1em; line-height: inherit; display: inline-block; }
.case--zefir .case-title, .case--velora .case-title { font-size: clamp(64px, 15vw, 300px); }
.case--velora .case-title .pt-name { letter-spacing: .14em; }
.case--pingo .case-title, .case--acervo .case-title { font-size: clamp(72px, 17vw, 330px); }
.case--dobra .case-title .pt-wordmark { display: block; height: .62em; width: calc(.62em * 264 / 72); }
.next__title .pt-name { font-size: 1em !important; line-height: inherit; }
.next__title.proj--dobra .pt-name { text-transform: none; }

/* pricing: the decision first, the fine print one tap away */
.pcard__more { margin-top: 10px; }
.pcard__more summary, .price__terms summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; padding: 8px 0; min-height: 36px; transition: opacity .3s; }
.pcard__more summary::-webkit-details-marker, .price__terms summary::-webkit-details-marker { display: none; }
.pcard__more summary::after, .price__terms summary::after { content: "+"; font-size: 14px; line-height: 1; transition: transform .3s var(--ease); }
.pcard__more[open] summary::after, .price__terms[open] summary::after { transform: rotate(45deg); }
.pcard__more summary:hover, .price__terms summary:hover, .pcard__more summary:focus-visible, .price__terms summary:focus-visible { opacity: 1; }
.pcard__more .pcard__list { margin-top: 6px; }
.pcard__more .pcard__scope { margin-top: 10px; }
.price__terms p { margin-top: 6px; }
@media (max-width: 760px) {
  .case--zefir .case-title, .case--velora .case-title, .case--pingo .case-title { font-size: 14.5vw; }
  .case--acervo .case-title { font-size: 19vw; }
  .case-actions .btn { flex: 1 1 auto; justify-content: space-between; }
}
/* services on phones: "Desenvolvimento" must fit the row */
@media (max-width: 760px) {
  .svc__head { grid-template-columns: 30px minmax(0, 1fr) 14px; }
  .svc__name { font-size: 10vw; min-width: 0; overflow-wrap: anywhere; }
}
/* about sits closer to pricing: the title and the cut-out photo start higher */
.sec.about { padding-top: clamp(40px, 5vw, 88px); }

/* motion gallery: shorts keep their vertical shape, in their own row */
.mlib__shorts { margin-top: clamp(36px, 4vw, 60px); }
.mlib__shorts > .mlib__title { margin-bottom: 16px; }
.mlib__grid--shorts { grid-template-columns: repeat(auto-fill, minmax(180px, 240px)); }
.mlib__grid--shorts .mcard__media, .mlib__grid--shorts .mcard__media.is-tall { aspect-ratio: 9 / 16; }
.mlib__grid--shorts .mcard__media img, .mlib__grid--shorts .mcard__media video { object-fit: cover; }
/* a short in the main player: a phone-shaped frame, centred, the bar under it */
.player.is-tall .player__screen { width: auto; aspect-ratio: 9 / 16; height: min(78svh, 820px); margin: 0 auto; }
.player.is-tall .player__bar { max-width: min(100%, 720px); margin-inline: auto; }
@media (max-width: 760px) {
  .mlib__grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player.is-tall .player__screen { height: auto; width: min(100%, 360px); }
}
/* four horizontal films: two by two instead of three plus an orphan */
@media (min-width: 761px) {
  .mlib__grid:not(.mlib__grid--shorts):has(> .mcard:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* =====================================================================
   v15 — motion cards share the web grid; films open in a viewer over the page
   ===================================================================== */
button.wcard__link { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.show--motion .show__grid { margin-top: 0; }
.show__grid .wcard--half { grid-column: span 6; }
.show__grid .wcard--half .wcard__media { height: clamp(220px, 23vw, 470px); }
.mgrid .wcard__media { aspect-ratio: auto; }
.mgrid .mcard.is-tall .wcard__media { background: #000; }
.mgrid .mcard.is-tall .wcard__media img, .mgrid .mcard.is-tall .mcard__prev { object-fit: contain; }
.mgrid .mcard__play { opacity: 1; transform: translate(-50%, -50%) scale(.9); background: rgba(12, 12, 11, .5); }
.mgrid .wcard__link:hover .mcard__play, .mgrid .wcard__link:focus-visible .mcard__play { transform: translate(-50%, -50%) scale(1); background: var(--accent); }
.mgrid .mcard.is-previewing .mcard__play { opacity: 0; }
.mgrid .wcard__tags { text-transform: none; }
.show--motion .wcard__name .pt-name { color: var(--paper); }
@media (max-width: 760px) { .show__grid .wcard--half { grid-column: 1 / -1; } .show__grid .wcard--half .wcard__media { height: auto; aspect-ratio: 16 / 10; } }

/* the viewer */
html.has-viewer, html.has-viewer body { overflow: hidden; }
dialog.mview { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0a0a09; color: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
dialog.mview::backdrop { background: rgba(0, 0, 0, .7); }
.mview, .mview * { cursor: auto !important; }
.mview button, .mview a, .mview [role="slider"], .mview .player__screen { cursor: pointer !important; }
.mview__in { width: min(1180px, calc(100% - var(--gutter) * 2)); margin: 0 auto; padding: 18px 0 40px; display: grid; gap: 18px; }
.mview__bar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .12em; color: var(--grey-2); }
.mview__count b { color: var(--paper); font-weight: 500; }
.mview__close { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid var(--hair-d); border-radius: 999px; color: var(--paper); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.mview__close i { font-style: normal; font-size: 18px; line-height: 1; }
.mview__close:hover, .mview__close:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.mview .player { width: 100%; max-width: min(100%, calc(70svh * 16 / 9)); margin: 0 auto; }
.mview .player__screen { aspect-ratio: 16 / 9; width: 100%; height: auto; max-height: none; margin: 0; }
.mview .player.is-tall { max-width: min(100%, calc(72svh * 9 / 16), 420px); }
.mview .player.is-tall .player__screen { aspect-ratio: 9 / 16; width: 100%; height: auto; }
.mview .player.is-tall .player__poster, .mview .player.is-tall .player__video { object-fit: cover; }
.mview__info, .mview__nav { width: 100%; max-width: 860px; margin: 0 auto; }
.mview__info { display: grid; gap: 10px; }
.mview__nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--hair-d); }
.mshow__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid var(--hair-d); border-radius: 999px; color: var(--paper); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s; }
.mshow__btn svg { width: 22px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.mshow__btn:hover, .mshow__btn:focus-visible { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.mshow__title { margin: 0; }
.mshow__title .pt-name { font-family: var(--f-sans); font-weight: 700; font-size: clamp(22px, 2.2vw, 36px); letter-spacing: -.02em; line-height: 1.05; color: var(--paper); }
.mshow__facts { margin: 0; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }
.mshow__facts i { font-style: normal; opacity: .5; }
.mshow__facts b { font-weight: 500; color: var(--grey); }
.mshow__desc { margin: 2px 0 0; color: var(--grey); font-size: 15px; line-height: 1.55; max-width: 64ch; }
@media (max-width: 900px) {
  .show__grid .wcard--third .wcard__media, .show__grid .wcard--half .wcard__media { height: auto; aspect-ratio: 16 / 10; }
}

/* motion grid with a reels short: lead film (8 cols) + the short standing two rows tall (4 cols),
   two films under the lead, the rest in rows below. The short fills its card, no letterbox. */
.mgrid .mcard.is-tall .wcard__media { background: none; }
.mgrid .mcard.is-tall .wcard__media img, .mgrid .mcard.is-tall .mcard__prev { object-fit: cover; object-position: 50% 50%; }
.mgrid .wcard--lead { grid-column: 1 / span 8; }
.mgrid .wcard--reel { grid-column: 9 / span 4; grid-row: span 2; display: flex; }
.mgrid .wcard--quarter { grid-column: span 4; }
.mgrid .wcard--lead .wcard__media, .mgrid .wcard--quarter .wcard__media { height: auto; aspect-ratio: 16 / 9; }
.mgrid .wcard--reel .wcard__link { display: flex; flex-direction: column; width: 100%; }
.mgrid .wcard--reel .wcard__media { flex: 1 1 auto; height: auto; min-height: 0; }
.mgrid .wcard--full .wcard__media { height: clamp(220px, 26vw, 520px); }
@media (max-width: 900px) {
  .mgrid .wcard--lead, .mgrid .wcard--quarter { grid-column: 1 / -1; }
  /* on phones and small tablets the short keeps its 9:16 shape, centred */
  .mgrid .wcard--reel { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(100%, 340px); }
  .mgrid .wcard--reel .wcard__media { flex: none; aspect-ratio: 9 / 16; }
  .mgrid .wcard--full .wcard__media { height: auto; aspect-ratio: 16 / 9; }
}
.mgrid .wcard--lead .wcard__media { aspect-ratio: auto; height: auto; min-height: 0; }
@media (min-width: 901px) { .mgrid .wcard--lead .wcard__media { aspect-ratio: 16 / 9; } .mgrid .wcard--lead .wcard__media[style*="height"] { aspect-ratio: auto; } }

/* =====================================================================
   v16 — audit: legible small text without leaving the palette
   ===================================================================== */
/* on ink surfaces the secondary grey steps up one shade (3.0:1 -> 5.6:1) */
.hero, .show--motion, .svc, .tools, .ct, .ft, dialog.mview, .case-hero, .next, .page-case main { --grey-2: #8f8e88; }
/* on paper surfaces the orange deepens to a burnt tone that reads at small sizes (2.8:1 -> 4.6:1),
   and white text on orange buttons passes too (3.5:1 -> 5.7:1) */
.show--web, .price, .about { --accent: #b3400f; }
.price .ptabs__tab[aria-selected="true"] .mono, .price .pcard--featured .mono, .price .is-dark .mono { color: #f2541b; }

/* hero: one clear next step, without turning the hero into a template */
.hero__actions { position: absolute; right: var(--gutter); bottom: calc(var(--tl-h) + 7vh); z-index: 4; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero__actions .btn { padding: 16px 20px; }
.hero__actions .btn--line { color: var(--paper); }
.hero__actions .btn--line::before { background: var(--paper); }
.hero__actions .btn--line:hover { color: var(--ink); }
html.no-anim .hero__actions { opacity: 1 !important; transform: none !important; }
@media (max-width: 1100px) { .hero__actions { flex-direction: column; align-items: flex-end; } }
@media (max-width: 760px) {
  .hero__actions { position: static; flex-direction: row; align-items: stretch; justify-content: flex-start; margin-top: 18px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; padding: 15px 16px; }
  .hero__photo { width: min(100%, calc(48svh * .75)); }
}
@media (max-width: 760px) {
  .hero__photo { width: min(100%, calc(41svh * .75)); }
  .hero__actions { order: 1; margin-top: 16px; }
  .hero__intro { order: 2; margin-top: 18px; }
  .hero__actions .btn { padding: 13px 14px; font-size: 10.5px; }
}

/* web cards: an honest, quiet label for concept / self-initiated work */
.wcard__kind { display: inline-block; margin-top: 8px; padding: 3px 7px; border: 1px solid var(--hair-l); border-radius: 999px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }
/* framing: keep each project's wordmark whole */
.show__grid .proj--dobra .wcard__media img { object-position: 8% 50%; }
.show__grid .proj--noctis .wcard__media img, .show__grid .proj--lc .wcard__media img { object-position: 50% 45%; }

/* toolkit: a supporting note to the services, not a headline of its own */
.tools { margin-top: clamp(72px, 8vw, 128px); }
.tools__hd { margin-bottom: clamp(24px, 3vw, 44px); }
.tools__title { font-size: clamp(40px, 5vw, 88px); }
.tool__stage { height: clamp(96px, 9vw, 140px); }
.tool__logo, .tool__echo { width: clamp(52px, 5vw, 76px) !important; height: clamp(52px, 5vw, 76px) !important; }
.tool__name { font-size: clamp(24px, 2.2vw, 38px); }
.tool__card { min-height: 0 !important; }
.svc__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; min-height: 36px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); border-bottom: 1px solid var(--hair-d); transition: border-color .3s, gap .4s var(--ease-out); }
.svc__cta:hover, .svc__cta:focus-visible { border-color: var(--paper); gap: 16px; }
/* tablets: the three plan tabs always visible (no hidden horizontal scroll) */
@media (min-width: 761px) and (max-width: 1100px) {
  .price__bar { flex-direction: column; align-items: stretch; }
  .ptabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; border-radius: 18px; }
  .ptabs__tab { white-space: normal; border-radius: 14px; padding: 12px 14px; min-height: 52px; font-size: 13px; }
  .pcur { align-self: flex-end; }
}
