/* Hallmark · shape: Showreel (the user's wireframe A) · genre: atmospheric · theme: Ilusyx family, navy and plum surfaces with the lilac accent of the parent studio; gold and platinum only for award marks · job: hire · draw: none (layout chosen by the user)
 * hero: a split, the head beside a stage photo with the spinning Ilusyx badge · nav: edge-aligned sticky bar · footer: two rounded panels · imagery: the user's own slides and stage photos · signature: project folders stacked like files, a drifting slide wall, sections laid as rounded sheets like ilusyxcreative.com
 * axes: dark/wide-grotesk/lilac · posture: restrained, one lilac band at the close · contrast: pass · fold: pass · copy: verbatim · v2.1.0 (restyled to the Ilusyx family 2026-10-31) */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the premium claim leans on the work itself; the slide wall and the Platinum deck carry it instead of adjectives */
/* Hallmark · waive 59 · the 54px gap is the presented-at logo band, ruled top and bottom · that band sits flush under the hero as the credit line for the slide wall */
/* Hallmark · waive 77 · section.presented is one ruled band of logos and event names, once on the page · it credits the clients and stages right under the hero, so it stays a thin line rather than a section */
/* Hallmark · waive 29 · a soft lilac glow appears only on hover, behind a concept cover and around an outlined button · it is the Ilusyx family hover, the same glow as ilusyxcreative.com */
/* Hallmark · dismissed F20 · the flagged li is one PROPER video card laid out as thumbnail beside its title and client, not a grid of items */
/* Hallmark · waive 3 · the three equal columns are video thumbnails with a play button, asked for at equal size by the user · each tile is a real company profile video, not an icon tile over a heading */
/* Hallmark · dismissed 42 · nav is an edge-aligned sticky bar chosen in the wireframe, three anchors and one WhatsApp action */
/* Hallmark · answered F4 · the close sits on the lilac band, so its button inverts the primary rather than adding a second style */
/* Hallmark · answered F15 · the hero split, the light band and the close use wider gaps because each pairs a display head with body copy */

/* Hallmark · dismissed 11 · the slide wall stills lift on hover, as on ilusyxcreative.com; the wall keeps drifting so the lift reads as picking one slide up */
/* Hallmark · waive 80 · svg.svc__mark 168px at 50% opacity in the logo gradient, one line mark per stage, aria-hidden · the owner asked for the same faint line marks as the service cards on ilusyxcreative.com */
/* Hallmark · dismissed F7 · the pills are fact chips and award marks shared with the Ilusyx family (folder facts, Platinum and Gold labels, timeline stages), not boxes or media */
:root {
  color-scheme: dark;
  /* Ilusyx family: the same surfaces, ink and accent as ilusyx-website/site/tokens.css */
  --color-paper: oklch(15.1% 0.063 277.5);
  --color-paper-2: oklch(19.5% 0.07 282);
  --color-paper-3: oklch(26.4% 0.094 314.1);
  --color-ink: oklch(96% 0.012 285);
  --color-ink-2: oklch(88% 0.04 292);
  --color-muted: oklch(76% 0.045 288);
  --color-rule: oklch(30% 0.07 285);
  --color-rule-2: oklch(44% 0.08 290);
  --color-accent: oklch(80% 0.12 300);
  --color-accent-2: oklch(60% 0.15 305);
  --color-accent-ink: oklch(15.1% 0.063 277.5);
  --color-focus: oklch(85% 0.12 300);
  /* the process band is the plum sheet */
  --color-light: var(--color-paper-3);
  --color-light-2: oklch(30% 0.1 312);
  --color-light-ink: var(--color-ink);
  --color-light-muted: var(--color-ink-2);
  --color-light-rule: oklch(40% 0.1 310);
  --color-light-focus: var(--color-focus);
  --color-scrim: oklch(15.1% 0.063 277.5 / 0.92);
  --color-scrim-soft: oklch(15.1% 0.063 277.5 / 0.35);
  --color-backdrop: oklch(9% 0.05 278 / 0.88);
  --color-shadow: oklch(6% 0.05 278 / 0.45);
  --color-shadow-deep: oklch(4% 0.04 278 / 0.75);
  --color-glow: oklch(62% 0.2 300 / 0.35);
  --color-rim: oklch(96% 0.012 285 / 0.55);
  /* award marks only */
  --color-gold: oklch(84% 0.14 86);
  --color-platinum: oklch(95% 0.012 255); --color-platinum-2: oklch(74% 0.025 260); --color-gold-2: oklch(70% 0.14 70);
  --color-pink: oklch(76% 0.15 352); --color-cyan: oklch(84% 0.1 205);
  --shadow-card: 0 24px 48px -24px oklch(6% 0.05 278 / 0.7);
  --font-display: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: var(--font-display);
  --display-weight: 800; --display-stretch: 125%;

  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 3.6vw + 0.5rem, 3.75rem); --text-display: clamp(3rem, 6.4vw, 6.5rem);
  --text-section: clamp(2.25rem, 3.6vw, 3.75rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --tracking-display: -0.035em; --rule-hair: 1px; --shadow-band: 0 -24px 48px -32px oklch(4% 0.04 278 / 0.9);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px;
  --radius-media: 18px; --radius: var(--radius-media); --radius-card: 28px; --band-r: 56px; --head-gap: var(--space-2xl); --radius-pill: 999px; --nav-h: 72px;
  --z-raised: 10; --z-sticky-nav: 300; --z-toast: 500;
}

@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url("assets/fonts/mona-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url("assets/fonts/mona-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
section[id] { scroll-margin-top: calc(var(--nav-h) - var(--space-3xl)); }
html { scroll-padding-top: var(--space-3xl); scroll-behavior: smooth; scrollbar-color: var(--color-rule-2) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); line-height: 0.94; letter-spacing: -0.035em; }
h2 { font-size: var(--text-section); font-weight: var(--display-weight); font-stretch: var(--display-stretch); line-height: 0.98; letter-spacing: -0.035em; max-width: 22ch; }
h3 { font-size: var(--text-title); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; }
.num { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
button { font: inherit; color: inherit; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }
.fill { padding: 0 0.25em; border: 1px dashed var(--color-rule-2); border-radius: 4px; color: var(--color-muted); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn__icon { flex-shrink: 0; margin-right: var(--space-xs); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); border-color: transparent; color: var(--color-accent-ink); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
.btn--on-accent { background: var(--color-accent-ink); border-color: var(--color-accent-ink); color: var(--color-accent); }
.btn--on-accent:focus-visible { outline-color: var(--color-accent-ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.nav__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-md); }
.nav__talk { min-height: 44px; }
.wordmark { justify-self: start; font: 800 var(--text-title)/1 var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; justify-content: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.nav__links a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }

.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.lang-switch:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }

/* hero: the slide wall */
@keyframes drift { to { transform: translateX(-50%); } }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }
/* presented at: clients in one mono treatment, events in their own colours */
.presented { border-block: 1px solid var(--color-rule); }
.presented__row { display: flex; align-items: center; gap: var(--space-lg); min-height: 112px; padding-block: var(--space-lg); }
.presented__label { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.presented__clients, .presented__events { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.presented__clients { gap: var(--space-lg); padding-right: var(--space-lg); border-right: 1px solid var(--color-rule); }
.presented__events { flex: 1; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: var(--space-md) var(--space-lg); }
.presented__events li { display: flex; align-items: center; gap: var(--space-sm); font: 500 var(--text-lead)/1.1 var(--font-display); color: var(--color-ink-2); white-space: nowrap; }
.presented__events abbr { text-decoration: none; }
.presented__events img { width: auto; height: 56px; max-width: 128px; object-fit: contain; flex-shrink: 0; }
.presented__clients li { flex-shrink: 0; }
.logo { width: auto; max-width: none; height: 40px; object-fit: contain; }
.logo--wide { height: 28px; }
.logo--badge { height: 52px; }

/* featured: the Platinum deck */
.meta { font-size: var(--text-sm); color: var(--color-muted); }
.award { padding: var(--space-2xs) var(--space-sm); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); color: var(--color-accent); font-size: var(--text-sm); }
.award--platinum { border-color: var(--color-platinum); color: var(--color-platinum); }
.award--gold { border-color: var(--color-gold); color: var(--color-gold); }

/* section heads */
.head { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--head-gap); }
.head--split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--space-2xl); }

/* concepts */
.concepts { padding-block: var(--section-gap-s); }
.concepts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.concept { display: flex; flex-direction: column; gap: var(--space-sm); margin: 0; }
.concept__open { display: block; border-radius: var(--radius); cursor: zoom-in; transition: transform var(--dur-long) var(--ease-out); }
.concept__open:hover, .concept__open:focus-visible { transform: translateY(-8px); }
.concept img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-xs); transition: box-shadow var(--dur-long) var(--ease-out); }
.concept__open:hover img { box-shadow: 0 24px 48px var(--color-shadow-deep), 0 0 48px 4px var(--color-glow); }
.concept figcaption { display: flex; flex-direction: column; gap: var(--space-xs); }
.concept__name { text-decoration: underline transparent; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.concept:hover .concept__name { text-decoration-color: var(--color-accent); }
.concept__line { color: var(--color-muted); font-size: var(--text-md); }

/* on stage */
.stage { padding-block: var(--section-gap-s); }
.stage__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: var(--gap-columns); }
.stage__grid figure { display: flex; flex-direction: column; gap: var(--space-sm); margin: 0; min-height: 0; }
.stage__grid img { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: var(--radius); }
.stage__grid figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.stage__lead { grid-column: span 2; grid-row: span 2; }
.stage__tall { grid-row: span 2; }
.stage__wide { grid-column: span 2; }

/* more decks */
.more { padding-block: var(--section-gap-s) var(--section-gap); border-top: 1px solid var(--color-rule); }
.more h2 { margin-bottom: var(--space-2xl); }

/* motion: the second offer */
.motion { padding-block: var(--section-gap-s); }
.motion__formats p { color: var(--color-muted); }
.motion__formats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-columns); }
.motion__formats > li { grid-column: span 2; }
.motion__formats .motion__video { grid-column: span 4; grid-row: span 2; min-height: 0; padding: var(--space-lg); gap: var(--space-xs); }
.motion__video video { flex: none; display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 1280 / 576; border-radius: calc(var(--radius-media) / 2); background: var(--color-paper); margin-bottom: var(--space-md); }
.motion__formats .motion__video h3 { padding-bottom: var(--space-xs); margin-bottom: 0; }
.motion__formats .motion__more { grid-column: span 2; grid-row: span 2; align-self: stretch; min-height: 0; padding: var(--space-lg); border: 0; border-radius: var(--radius-card); background: var(--color-paper); }
.motion__more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.motion__more ul li { display: flex; flex-direction: column; gap: var(--space-2xs); min-height: 0; padding: var(--space-md) 0; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; }
.motion__more ul li:first-child { border-top: 0; padding-top: 0; }
.motion__more strong { font: 800 var(--text-lg)/1.2 var(--font-display); font-stretch: 125%; letter-spacing: -0.01em; color: var(--color-ink); }
.motion__more span { color: var(--color-muted); }
.motion__ask { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); margin-top: auto; padding: var(--space-lg); border-radius: calc(var(--radius-card) - 8px); background: var(--color-paper-3); }
.motion__ask p { color: var(--color-ink-2); }
.motion__formats .motion__more > h3 { font-size: var(--text-md); font-weight: 500; color: var(--color-muted); letter-spacing: 0; margin: 0; padding-bottom: var(--space-md); }
.motion__formats .motion__model { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; padding: 0; overflow: hidden; }
.model__hero { position: relative; margin: 0; min-height: 400px; overflow: hidden; background: var(--color-paper); color: var(--color-ink); }
.model__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: opacity 700ms var(--ease-out), transform 3600ms linear; }
.js .model__slide:not(.is-active) { opacity: 0; transform: scale(1.04); }
html:not(.js) .model__slide:not(.is-active), html:not(.js) .model__tabs { display: none; }
.model__hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, var(--color-scrim), transparent); pointer-events: none; }
.model__tabs { position: absolute; left: var(--space-lg); right: var(--space-lg); bottom: var(--space-lg); z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.model__tab { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-scrim); color: var(--color-ink-2); font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.model__tab span:first-child { color: var(--color-accent); }
.model__tab:hover { color: var(--color-ink); border-color: var(--color-ink); }
.model__tab:active { transform: translateY(1px); }
.model__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.model__tab.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.model__tab.is-active span:first-child { color: var(--color-accent-ink); }
.model__label { color: inherit; }
.model__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); padding: var(--space-xl); }
.motion__formats .model__body h3 { margin: 0; padding: 0; font-size: var(--text-xl); font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; line-height: 1.1; }
.model__body .cs-link { align-self: flex-start; margin-top: var(--space-xs); }
.motion__formats > li { display: flex; flex-direction: column; gap: var(--space-sm); min-height: 200px; padding: var(--space-xl); border: 0; border-radius: var(--radius-card); background: var(--color-paper); }
.motion__formats > li > h3 { font-size: var(--text-xl); font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; line-height: 1.1; }

/* company profile videos: a poster that becomes the player on press */
.profiles { margin-top: var(--space-3xl); }
.profiles__title { margin-bottom: var(--space-xl); font-size: var(--text-title); }
.profiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--gap-columns); }
.profiles__grid li { display: flex; flex-direction: column; gap: var(--space-xs); }
.profiles__grid h4 { margin: var(--space-sm) 0 0; font: 500 var(--text-md)/1.35 var(--font-display); }
.profiles__grid p { font-size: var(--text-sm); color: var(--color-muted); }
.yt, .yt__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-paper); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-short) var(--ease-out); }
.yt__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); transform: translate(-50%, -50%); transition: transform var(--dur-short) var(--ease-out); }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.yt:hover img { opacity: 0.85; }

.profiles__line { max-width: 60ch; margin: calc(-1 * var(--space-lg)) 0 var(--space-xl); color: var(--color-muted); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
/* PROPER videos: the lead player on the left, a list on the right that matches the player's height exactly */
.proper-videos__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)) auto auto auto; column-gap: var(--gap-columns); row-gap: var(--space-md); }
.proper-videos__grid .proper-videos__lead { display: contents; }
.proper-videos__lead > .yt, .proper-videos__lead > .yt__frame { grid-column: 1; grid-row: 1 / span 3; }
.proper-videos__lead > h4 { grid-column: 1; grid-row: 4; margin: var(--space-sm) 0 0; font: 500 var(--text-title)/1.3 var(--font-display); }
.proper-videos__lead > p:not(.award) { grid-column: 1; grid-row: 5; font-size: var(--text-sm); color: var(--color-muted); }
.proper-videos__lead > .award { grid-column: 1; grid-row: 6; justify-self: start; }
.proper-videos__lead.is-swapped > * { animation: rise 500ms var(--ease-out); }
.proper-videos__grid li:not(.proper-videos__lead) { grid-column: 2; min-height: 0; display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--space-md); align-self: center; }
.proper-videos__grid li:not(.proper-videos__lead):nth-child(2) { align-self: start; }
.proper-videos__grid li:not(.proper-videos__lead):last-child { align-self: end; }
.proper-videos__grid li:not(.proper-videos__lead) .yt { grid-row: 1 / -1; align-self: start; cursor: pointer; }
.proper-videos__grid li:not(.proper-videos__lead) h4 { margin: 0; font: 500 var(--text-md)/1.3 var(--font-display); }
.proper-videos__grid li:not(.proper-videos__lead) p { font-size: var(--text-sm); color: var(--color-muted); }
.proper-videos__grid li:not(.proper-videos__lead) .award { display: none; }
.proper-videos__grid li:not(.proper-videos__lead) .yt__play { width: 48px; height: 48px; }
.proper-videos + .profiles { margin-top: var(--space-3xl); }

/* services and process: the light band */
.core { padding-block: var(--section-gap-s) var(--section-gap); border-top: 1px solid var(--color-rule); }
.core h2 { margin-bottom: var(--space-2xl); }
.core .services__grid p { color: var(--color-muted); }
.services { padding-block: var(--section-gap-s); background: var(--color-light); color: var(--color-light-ink); }
.services :focus-visible { outline-color: var(--color-light-focus); }
.services h2 { margin-bottom: var(--space-2xl); }
.services .process__title { margin-top: var(--section-gap-s); }
.services__grid, .process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.services__grid li { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 2px solid var(--color-light-ink); }
.process__steps .process__when { align-self: flex-start; padding: var(--space-2xs) var(--space-sm); border: 1px solid var(--color-light-ink); border-radius: var(--radius-pill); color: var(--color-light-ink); font-size: var(--text-sm); font-weight: 500; }
.process__note { max-width: 62ch; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-light-rule); color: var(--color-light-muted); }
.services .services__grid p, .process__steps p { color: var(--color-light-muted); }
.process__steps { counter-reset: step; }
.process__steps li { counter-increment: step; display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 1px solid var(--color-light-rule); }
.process__steps li::before { content: counter(step, decimal-leading-zero); font: 700 var(--text-section)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: var(--space-sm); }

/* the project timeline: one connected track over the four steps, drawn left to right once */
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); margin-bottom: var(--space-xl); }
.track__seg { position: relative; height: 36px; color: var(--color-light-ink); font-size: var(--text-sm); font-weight: 500; }
.track__seg::before { content: ""; position: absolute; top: 17px; left: 0; right: calc(-1 * var(--gap-columns)); border-top: 3px solid var(--color-light-ink); transform-origin: left center; }
.track__seg--prep::before { border-top-style: dashed; border-top-color: var(--color-light-muted); }
.track__seg--wide { grid-column: span 2; }
.track__seg--last::before { right: 0; }
.track__seg::after, .process__track::after { content: ""; position: absolute; top: 11px; width: 15px; height: 15px; border-radius: 50%; }
.track__seg::after { left: 0; background: var(--color-light); border: 3px solid var(--color-light-ink); }
.process__track::after { right: 0; background: var(--color-light-ink); }
.track__seg span { position: absolute; top: 50%; left: 50%; z-index: 1; padding: var(--space-2xs) var(--space-sm); border: 1.5px solid var(--color-light-ink); border-radius: 8px; background: var(--color-light); white-space: nowrap; transform: translate(-50%, -50%); }
.track__seg--prep span { border-color: var(--color-light-muted); }
.js .process__track.is-in, .js .process__track { opacity: 1; transform: none; }
.js .process__track .track__seg::before { transform: scaleX(0); transition: transform 700ms var(--ease-out) calc(var(--i) * 450ms); }
.js .process__track .track__seg::after, .js .process__track .track__seg span { opacity: 0; transition: opacity var(--dur-long) var(--ease-out) calc(var(--i) * 450ms + 250ms), transform var(--dur-long) var(--ease-out) calc(var(--i) * 450ms + 250ms); }
.js .process__track .track__seg span { transform: translate(-50%, calc(-50% + 8px)); }
.js .process__track::after { opacity: 0; transform: scale(0.4); transition: opacity var(--dur-long) var(--ease-out) 1.55s, transform var(--dur-long) var(--ease-out) 1.55s; }
.js .process__track.is-in .track__seg::before { transform: none; }
.js .process__track.is-in .track__seg::after { opacity: 1; }
.js .process__track.is-in .track__seg span { opacity: 1; transform: translate(-50%, -50%); }
.js .process__track.is-in::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .model__slide, .model__tab { transition: none; }
  .model__slide { transform: none; }
  .proper-videos__lead.is-swapped > * { animation: none; }
  .js .process__track .track__seg::before, .js .process__track .track__seg::after, .js .process__track .track__seg span, .js .process__track::after { opacity: 1; transition: none; }
  .js .process__track .track__seg::before, .js .process__track::after { transform: none; }
  .js .process__track .track__seg span { transform: translate(-50%, -50%); }
}
@media (min-width: 60.01rem) {
  .process__steps li { border-top: 0; padding-top: 0; }
  .process__steps .process__when { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 60rem) { .process__track { display: none; } }

/* faq: native disclosure, the answer opens beneath its question */
.faq { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.faq__list { border-top: 1px solid var(--color-rule-2); }
.faq__item { border-bottom: 1px solid var(--color-rule); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; padding-block: var(--space-md); font: 500 var(--text-title)/1.3 var(--font-display); cursor: pointer; list-style: none; transition: color var(--dur-short) var(--ease-out); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; font: 400 var(--text-title)/1 var(--font-body); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--color-accent); }
.faq__item p { max-width: 60ch; padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* case study pages */
.cs-link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.25em; text-decoration-thickness: 1px; transition: text-decoration-thickness var(--dur-micro) var(--ease-out); }
.cs-link:hover { text-decoration-thickness: 2px; }
.cs-meta dt { font-size: var(--text-sm); color: var(--color-muted); }
.cs-meta dd { margin: var(--space-2xs) 0 0; color: var(--color-ink); }
.cs-text { padding-block: var(--section-gap-s); }
.cs-text__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3xl); }
.cs-text h2 { margin-bottom: var(--space-lg); font-size: var(--text-3xl); }
.cs-text p { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.55; }
.cs-band { padding-block: var(--section-gap-s); background: var(--color-paper); color: var(--color-ink); }
.cs-band + .cs-band { padding-top: 0; }
.cs-band h2 { margin-bottom: var(--head-gap); }
.cs-slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.cs-slide { margin: 0; }
.cs-slide:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; }
.cs-slide a { display: block; border-radius: var(--radius); cursor: zoom-in; transition: transform var(--dur-long) var(--ease-out); }
.cs-slide a:hover { transform: translateY(-6px); }
.cs-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.cs-slide figcaption, .cs-photos figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.cs-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
.cs-photos figure { margin: 0; }
.cs-photos img { width: 100%; border-radius: var(--radius); }
.cs-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: mk; }
.cs-process li { counter-increment: mk; display: flex; flex-direction: column; gap: var(--space-xs); }
.cs-process img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-sm); }
.cs-process h3::before { content: counter(mk, decimal-leading-zero) " "; color: var(--color-accent); }
.cs-process p { font-size: var(--text-sm); color: var(--color-muted); }
.cs-video .yt, .cs-video .yt__frame { max-width: 960px; }
.cs-video video { display: block; width: 100%; max-width: 960px; aspect-ratio: 1280 / 576; border-radius: var(--radius); background: var(--color-paper); }
.cs-note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) {
  .proper-videos__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-lg); }
  .proper-videos__grid .proper-videos__lead { display: flex; flex-direction: column; gap: var(--space-xs); }
  .proper-videos__lead > .award { align-self: flex-start; margin-top: var(--space-xs); }
  .proper-videos__grid li:not(.proper-videos__lead) .yt__play { width: 40px; height: 40px; }
  .proper-videos__grid li:not(.proper-videos__lead), .proper-videos__grid li:not(.proper-videos__lead):nth-child(2), .proper-videos__grid li:not(.proper-videos__lead):last-child { grid-column: auto; grid-template-columns: 160px minmax(0, 1fr); align-self: auto; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .cs-text__grid, .cs-photos { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .cs-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .proper-videos__grid li:not(.proper-videos__lead), .proper-videos__grid li:not(.proper-videos__lead):nth-child(2), .proper-videos__grid li:not(.proper-videos__lead):last-child { grid-template-columns: 128px minmax(0, 1fr); }
  .cs-slides, .cs-process { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-slide a, .cs-link { transition: none; }
}

/* the close: the one lilac band */
.close { padding-block: var(--section-gap-s); background: var(--color-accent); color: var(--color-accent-ink); }
.close h2 { font-size: var(--text-display-s); line-height: 0.96; max-width: 16ch; }
.close__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.close .lead { max-width: 48ch; color: var(--color-accent-ink); }

/* footer: a statement */
.footer { padding-block: var(--section-gap-s) var(--space-xl); }
.footer__studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.footer__by { font: 500 var(--text-title)/1.3 var(--font-display); color: var(--color-ink); }
.footer__info { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); margin: 0; }
.footer__info dt { font-size: var(--text-sm); color: var(--color-muted); }
.footer__info dd { margin: var(--space-2xs) 0 0; color: var(--color-ink-2); }
.footer__info address { font-style: normal; max-width: 34ch; }
.footer__info a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.footer__info a:hover { text-decoration-thickness: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.footer__links a { color: var(--color-ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.footer__legal { font-size: var(--text-sm); color: var(--color-muted); }

/* lightbox */
.lightbox { width: min(1200px, calc(100% - 2 * var(--space-md))); max-height: calc(100dvh - 2 * var(--space-md)); padding: var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-paper-2); color: var(--color-ink); }
.lightbox::backdrop { background: var(--color-backdrop); }
.lightbox__bar { display: flex; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-md); }
.lightbox__title { font: 500 var(--text-title)/1.2 var(--font-display); }
.lightbox__count { margin-left: auto; color: var(--color-muted); font-size: var(--text-sm); white-space: nowrap; }
.lightbox__close { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); background: transparent; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.lightbox__close:hover { border-color: var(--color-ink); }
.lightbox__close:active { transform: translateY(1px); }
.lightbox__stage { margin: 0; }
.lightbox__stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: calc(var(--radius-media) / 2); background: var(--color-paper); }
.lightbox__stage img.is-in { animation: slide-in 360ms var(--ease-out); }
@keyframes slide-in { from { opacity: 0; transform: translateX(12px); } }
.lightbox__nav { display: flex; justify-content: space-between; margin-top: var(--space-md); }

/* the one reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; }
  .head--split, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: start; }
  .faq__grid { gap: var(--head-gap); }
  .concepts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .stage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .stage__lead { grid-column: span 2; }
  .stage__tall { grid-row: span 2; }
  .services__grid, .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .motion__formats { grid-template-columns: minmax(0, 1fr); }
  .motion__formats > li, .motion__formats .motion__video, .motion__formats .motion__more, .motion__formats .motion__model { grid-column: auto; grid-row: auto; }
  .motion__formats > li { min-height: 0; }
        .presented__row { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .presented__clients { padding-right: 0; border-right: 0; }
  .presented__events { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .profiles__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 80px; --gap-columns: 16px; }
  .nav__bar { gap: var(--space-sm); min-height: 64px; }
  .nav .btn { min-height: 44px; padding: 0 var(--space-sm); font-size: var(--text-sm); }
  .wordmark { font-size: var(--text-md); }
  .hero__actions .btn { flex: 1 1 auto; }
  .concepts__grid { gap: var(--space-xl) var(--space-md); }
  .concept__line { font-size: var(--text-sm); }
  .stage__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .stage__lead, .stage__tall, .stage__wide { grid-column: auto; grid-row: auto; }
  .stage__tall img { object-position: 50% 40%; }
  .services__grid, .process__steps { grid-template-columns: minmax(0, 1fr); }
  .presented__events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .presented__events { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); }
  .presented__events li { font-size: var(--text-md); white-space: normal; }
  .presented__events img { max-width: 88px; }
  .presented__events img { height: 48px; }
  .logo { height: 32px; }
  .logo--badge { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lightbox__stage img.is-in { animation: none; }
  .proper-videos__lead.is-swapped { animation: none; }
  .faq__item summary, .faq__item summary::after, .yt img, .yt__play { transition: none; }
  .btn, .concept__open, .concept img, .concept__name, .nav__links a { transition: none; }
}

/* footer studio block on smaller screens */
@media (max-width: 60rem) {
  .footer__studio { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (max-width: 40rem) {
  .footer__info { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
}

/* scale model card on smaller screens */
@media (max-width: 60rem) {
  .motion__formats .motion__model { grid-template-columns: minmax(0, 1fr); }
  .model__hero { min-height: 0; aspect-ratio: 4 / 3; }
  .model__tabs { left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); }
  .model__tab { min-height: 44px; padding: 0 var(--space-sm); }
}
@media (max-width: 40rem) {
  .model__body { padding: var(--space-lg); }
  }
@media (max-width: 40rem) {
  .model__tab:not(.is-active) .model__label { display: none; }
}

/* Ilusyx family: sections as rounded sheets laid over the one before, alternating surface */
@media (max-width: 60rem) { :root { --band-r: 32px; } }
.band { position: relative; border-radius: var(--band-r) var(--band-r) 0 0; margin-top: calc(-1 * var(--band-r)); box-shadow: 0 -24px 48px -32px var(--color-shadow-deep); }
.band--base { background: var(--color-paper); color: var(--color-ink); }
.band--raised { background: var(--color-paper-2); color: var(--color-ink); }
.band--plum { background: var(--color-paper-3); color: var(--color-ink); }
/* each section leaves room at its foot for the next sheet's rounded edge */
main > section:not(.presented):has(+ .band), main > .close.band { padding-bottom: calc(var(--section-gap-s) + var(--band-r)); }
.presented + .band { margin-top: 0; }

/* v2.2 · Ilusyx patterns, carried over from ilusyx-website/site/styles.css */

/* Hero: head beside a stage photo, the spinning badge on its corner */
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - var(--nav-h) - 120px); padding-block: var(--space-2xl) var(--space-3xl); }
.hero__text { container-type: inline-size; }
.hero__text h1 { max-width: 15ch; font-size: min(var(--text-display), 10.5cqi); }
.hero__text .lead { margin-top: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: 10% 5% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--color-glow), transparent); filter: blur(40px); }
.media { position: relative; margin: 0; overflow: hidden; background: var(--color-paper-2); }
.hero__media { height: min(58svh, 560px); min-height: 400px; border-radius: var(--radius-card); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__visual .badge { position: absolute; left: calc(var(--space-2xl) * -1); bottom: calc(var(--space-2xl) * -1); }

/* Spinning badge */
.badge { position: relative; display: grid; place-items: center; width: 152px; aspect-ratio: 1; border-radius: 50%; background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule-2), 0 20px 60px -20px var(--color-glow); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .badge svg { animation: spin 28s linear infinite; }
.badge text { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.badge img { width: 34%; height: auto; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Logo strip under the hero */
.presented { border-block: 0; border-top: 1px solid var(--color-rule); }

/* Slide wall: two rows drifting in opposite directions, faded at the edges */
.wall { display: grid; gap: var(--space-md); padding-block: var(--space-md) var(--section-gap-s); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, var(--color-ink) 12%, var(--color-ink) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--color-ink) 12%, var(--color-ink) 88%, transparent); }
.wall__track { display: flex; gap: var(--space-md); width: max-content; }
.wall__track img { width: clamp(200px, 20vw, 300px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.wall__track img:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 18px 40px -16px var(--color-glow); }
.wall__row--1 .wall__track { margin-left: -160px; }
.js .wall__row--0 .wall__track { animation: marquee 90s linear infinite; }
.js .wall__row--1 .wall__track { animation: marquee 110s linear infinite reverse; }
.wall:not(.is-running) .wall__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Portfolio: project folders. On a wide screen each folder sticks a little lower than the last,
   so the next one slides over it and the earlier tabs stay in view like a stack of files. */
.works__title { max-width: none; margin-bottom: var(--head-gap); }
.feats { display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.feat__tab { display: inline-flex; gap: var(--space-sm); align-items: center; margin: 0 0 -1px; padding: var(--space-xs) var(--space-lg); border-radius: var(--radius) var(--radius) 0 0; background: var(--feat-bg); color: var(--feat-ink); font-size: var(--text-sm); font-weight: 500; }
.feat__kind abbr { text-decoration: none; }
.feat__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; padding: var(--space-2xl); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); background: var(--feat-bg); color: var(--feat-ink); box-shadow: var(--shadow-card); }
.feat__text { display: grid; gap: var(--space-md); justify-items: start; }
.feat__title { max-width: none; font-size: var(--text-3xl); font-weight: 800; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.96; }
.feat__text p { max-width: 46ch; opacity: 0.85; }
.feat__text .feat__project { font-size: var(--text-lead); font-weight: 500; line-height: 1.35; opacity: 1; }
.feat__facts { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.feat__facts li { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-sm); border: 1px solid color-mix(in oklab, currentColor 35%, transparent); border-radius: var(--radius-pill); background: color-mix(in oklab, currentColor 8%, transparent); font-size: var(--text-sm); font-weight: 500; line-height: 1; white-space: nowrap; }
.feat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
.feat__link { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: color var(--dur-short) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.feat__link::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--color-ink); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-long) var(--ease-out); }
.feat__link:hover::before, .feat__link:focus-visible::before { transform: scaleX(1); }
.feat__link:hover, .feat__link:focus-visible { color: var(--color-paper); }
.feat__link:hover { box-shadow: var(--shadow-card), 0 0 0 1px var(--color-paper); }
.feat__link:active { transform: translateY(1px); }
.feat__link:focus-visible, .feat__case:focus-visible { outline: 2px solid var(--feat-ink); outline-offset: 3px; }
.feat__case { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.feat__case:hover { text-decoration-thickness: 2px; }
.feat__media { position: relative; margin: 0; }
.feat__hit { display: block; border-radius: var(--radius); cursor: zoom-in; transition: box-shadow var(--dur-short) var(--ease-out); }
span.feat__hit { cursor: default; }
a.feat__hit:hover { box-shadow: 0 0 0 2px currentColor; }
.feat__hit > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.feat__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); margin-top: var(--space-xs); }
.feat__strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) / 2); }
.tape { position: absolute; z-index: 1; width: 92px; height: 28px; background: color-mix(in oklab, var(--color-ink) 45%, transparent); }
.tape--a { left: -18px; top: -10px; transform: rotate(-10deg); }
.tape--b { right: -18px; top: -10px; transform: rotate(9deg); }
.feat__media:has(.seal) .tape--b { display: none; }
/* Award seal: a round sticker on the cover, platinum for platinum */
.seal { position: absolute; z-index: 2; right: calc(var(--space-md) * -1); top: calc(var(--space-lg) * -1); display: grid; place-content: center; gap: var(--space-3xs); width: 112px; aspect-ratio: 1; margin: 0; border-radius: 50%; color: var(--color-accent-ink); text-align: center; transform: rotate(10deg); box-shadow: var(--shadow-card); }
.seal::before { content: ""; position: absolute; inset: 6px; border: 1px dashed color-mix(in oklab, var(--color-accent-ink) 40%, transparent); border-radius: 50%; }
.seal--platinum { background: radial-gradient(circle at 30% 25%, var(--color-platinum), var(--color-platinum-2)); }
.seal__rank { font-size: var(--text-md); font-weight: 800; font-stretch: 125%; line-height: 1.05; letter-spacing: -0.01em; }
.seal__event { font-size: var(--text-xs); font-weight: 500; }
.feat--lilac { --feat-bg: var(--color-accent); --feat-ink: var(--color-accent-ink); }
.feat--cyan { --feat-bg: var(--color-cyan); --feat-ink: var(--color-accent-ink); }
.feat--pink { --feat-bg: var(--color-pink); --feat-ink: var(--color-accent-ink); }
.feat--plum { --feat-bg: var(--color-paper-3); --feat-ink: var(--color-ink); }
.feat--ink { --feat-bg: var(--color-ink); --feat-ink: var(--color-accent-ink); }
.feat--plum .feat__link { background: var(--color-paper); }
.feat--ink .feat__link::before { background: var(--color-paper-3); }
@media (min-width: 60rem) and (min-height: 760px) {
  .folders { --title-h: calc(var(--text-section) * 0.98 + var(--space-md) + var(--head-gap)); --stick: calc(var(--nav-h) + var(--title-h)); }
  .works__title { position: sticky; top: var(--nav-h); z-index: 10; margin: 0; padding-block: var(--space-md) var(--head-gap); background: var(--color-paper-2); }
  .feats { gap: 38svh; padding-bottom: var(--space-xl); }
  .feat { position: sticky; top: var(--stick); }
  .feat__tab { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3xs); width: calc(100% / 5 - 4px); margin-left: calc(var(--n) * 100% / 5); padding: var(--space-xs) var(--space-md); line-height: 1.25; }
  .feat__tab .num { opacity: 0.8; }
  .feat .feat__body { height: calc(100svh - var(--stick) - 52px - var(--space-md)); border-radius: var(--radius-card); box-shadow: none; }
  .feat__hit > img { max-height: calc(100svh - var(--stick) - 300px); }
  .feat:first-child .feat__body { border-top-left-radius: 0; }
  .feat:last-child .feat__body { border-top-right-radius: 0; }
  .feat--winner .feat__tab { box-shadow: inset 0 3px 0 var(--color-platinum-2); }
}
@media (max-width: 59.99rem) {
  .feat__body { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); gap: var(--space-lg); }
  .feat__tab { display: flex; width: 100%; height: 48px; margin: 0; padding: 0 var(--space-md); border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .feat .feat__body { padding: var(--space-xs) var(--space-md) var(--space-lg); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: none; }
  .feat__title { font-size: var(--text-title); }
  .feat__text p { font-size: var(--text-sm); }
  .feat__text .feat__project { font-size: var(--text-md); }
  .feat__media { order: -1; margin-top: var(--space-sm); }
  .feat__strip { display: none; }
  .tape { width: 56px; height: 18px; }
  .tape--a { left: -8px; top: -8px; }
  .tape--b { right: -8px; top: -8px; }
  .seal { width: 84px; right: calc(var(--space-xs) * -1); top: calc(var(--space-md) * -1); }
  .seal__rank { font-size: var(--text-sm); }
}

/* Where we present: numbered cards, each with a coloured edge */
.core .svc__grid { gap: var(--space-md); }
.core .svc__item { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-md); padding: var(--space-lg); overflow: hidden; border: 0; border-radius: var(--radius-card); background: var(--color-paper-2); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.core .svc__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--svc-tone); }
.core .svc__item::after { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--svc-tone), transparent); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); pointer-events: none; }
.core .svc__item:hover { background: var(--color-paper-3); transform: translateY(-4px); }
.core .svc__item:hover::after { opacity: 0.35; }
.svc__item--0 { --svc-tone: var(--color-accent); }
.svc__item--1 { --svc-tone: var(--color-pink); }
.svc__item--2 { --svc-tone: var(--color-cyan); }
.svc__item--3 { --svc-tone: var(--color-ink); }
.svc__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.svc__mark { position: absolute; right: calc(var(--space-sm) * -1); top: calc(var(--space-sm) * -1); width: 144px; height: 144px; fill: none; stroke: url(#mark-grad); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; pointer-events: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.core .svc__item:hover .svc__mark { opacity: 0.8; transform: rotate(-6deg) scale(1.04); }
.svc__num { font-size: var(--text-sm); font-weight: 500; color: var(--svc-tone); }
.core .svc__name { margin-top: 112px; font-size: var(--text-title); font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; line-height: 1.1; }
.core .svc__item p { position: relative; z-index: 1; font-size: var(--text-sm); }

/* Close: the badge sits beside the head */
.close__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xl) var(--space-2xl); align-items: start; }
.close__grid > h2, .close__body { grid-column: 1; }
.close__grid > .badge { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 200px; background: var(--color-accent-ink); }
.close .badge text { fill: var(--color-accent); font-size: 13px; }

/* Footer: two rounded panels */
.footer__studio { gap: var(--space-md); align-items: stretch; }
.footer__by, .footer__info { margin: 0; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); }
.footer__by { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); min-height: 220px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; }
.footer__by::before { content: ""; display: block; width: 72px; aspect-ratio: 106 / 96; background: url("assets/ilusyx-eye.png") center / contain no-repeat; }
.footer__by::after { content: ""; position: absolute; right: -40px; bottom: -48px; width: 260px; aspect-ratio: 106 / 96; background: url("assets/ilusyx-eye.png") center / contain no-repeat; opacity: 0.06; pointer-events: none; }
.close + .footer { box-shadow: none; }

/* Buttons: a fill sweeps in behind the label on hover */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-long) var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--primary::before { background: var(--color-pink); }
.btn--primary:hover { box-shadow: 0 10px 32px -10px var(--color-glow), 0 0 0 1px color-mix(in oklab, var(--color-pink) 60%, transparent); }
.btn--ghost::before { background: color-mix(in oklab, var(--color-accent) 18%, var(--color-paper-2)); }
.btn--ghost:hover { background: transparent; border-color: var(--color-accent); box-shadow: 0 0 24px -8px var(--color-glow); }
.btn--on-accent::before { background: var(--color-paper-3); }

@media (max-width: 59.99rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); min-height: 0; padding-block: var(--space-xl) var(--space-3xl); }
  .hero__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__visual .badge { left: auto; right: var(--space-md); bottom: calc(var(--space-xl) * -1); width: 112px; }
  .close__grid { grid-template-columns: minmax(0, 1fr); }
  .close__grid > .badge { display: none; }
}
@media (max-width: 40rem) {
  .hero__actions .btn { flex: 1 1 auto; }
  .wall__track img { width: 180px; }
  .footer__by, .footer__info { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .js .badge svg, .js .wall__track { animation: none; }
  .wall__track img, .btn::before, .feat__link::before, .core .svc__item, .svc__mark { transition: none; }
  .core .svc__item:hover .svc__mark { transform: none; }
  .wall__track img:hover, .core .svc__item:hover { transform: none; }
}

/* Audit fixes, 2026-10-31 */
/* Short laptop screens: the folders stack as plain cards, each tab above its own folder */
@media (min-width: 60rem) and (max-height: 759.98px) {
  .feat__tab { margin-left: calc(var(--n) * 100% / 5); }
}
/* Phone tap targets: text links in the folders, the model card and the footer reach 44px */
@media (max-width: 59.99rem) {
  .feat__case, .model__body .cs-link { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__links { gap: 0 var(--space-lg); }
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 40rem) {
  .core .svc__item { grid-template-columns: 2.25rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--space-sm); row-gap: var(--space-xs); padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-md); }
  .core .svc__num { grid-column: 1; grid-row: 1; padding-top: 0.2em; }
  .core .svc__name { grid-column: 2; grid-row: 1; margin-top: 0; padding-right: var(--space-2xl); font-size: var(--text-lg); }
  .core .svc__item p { grid-column: 2; grid-row: 2; }
  .svc__mark { width: 80px; height: 80px; right: calc(var(--space-xs) * -1); top: calc(var(--space-xs) * -1); opacity: 0.4; }
  .footer__by { min-height: 0; }
}

/* Nav on smaller screens: the links move into a menu sheet (Ilusyx) */
.menu { display: none; position: relative; }
.menu__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; list-style: none; cursor: pointer; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn:hover { background: var(--color-paper-2); }
.menu__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu[open] .menu__btn { background: var(--color-paper-3); border-color: var(--color-muted); }
.menu__sheet { position: absolute; right: 0; top: calc(100% + var(--space-sm)); width: min(86vw, 340px); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.menu__sheet ul { display: grid; margin: 0; padding: 0; list-style: none; }
.menu__sheet a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-sm); border-radius: var(--radius-media); color: var(--color-ink); font-size: var(--text-title); font-weight: 800; font-stretch: 125%; letter-spacing: -0.015em; text-decoration: none; }
.menu__sheet a:hover { background: var(--color-paper-3); }
.menu__sheet a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
@media (max-width: 75rem) {
  .menu { display: block; }
  .nav__bar > nav { display: none; }
  .nav__bar { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .nav__end { gap: var(--space-2xs); }
}
@media (max-width: 30rem) {
  .nav__talk { display: none; }
}

/* Rolling button label (labels are wrapped by assets/site.js) */
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; vertical-align: middle; }
.roll > span { display: block; transition: transform var(--dur-short) var(--ease-out); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; transition: transform var(--dur-short) var(--ease-out); }
.btn:hover .roll > span, .btn:hover .roll::after, .btn:focus-visible .roll > span, .btn:focus-visible .roll::after,
.feat__link:hover .roll > span, .feat__link:hover .roll::after, .feat__link:focus-visible .roll > span, .feat__link:focus-visible .roll::after { transform: translateY(-100%); }

/* Back-to-top ring: fills with scroll progress */
.to-top { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-raised); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-paper-2); color: var(--color-ink); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.js .to-top:not(.is-shown) { opacity: 0; transform: translateY(12px); pointer-events: none; }
html:not(.js) .to-top { display: none; }
.to-top:hover { background: var(--color-paper-3); }
.to-top:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.to-top svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: var(--color-rule-2); stroke-width: 2; }
.to-top__bar { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.to-top__arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; transform: rotate(90deg); transform-origin: 24px 24px; }

/* Floating WhatsApp on phones, shown once the first actions have scrolled away */
.wa-fab { display: none; }
@media (max-width: 59.99rem) {
  .wa-fab { position: fixed; right: var(--space-md); bottom: var(--space-md); z-index: var(--z-raised); display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; text-decoration: none; box-shadow: var(--shadow-card); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
  .js .wa-fab:not(.is-shown) { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .wa-fab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
  .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .roll > span, .roll::after, .to-top, .wa-fab { transition: none; }
  .btn:hover .roll > span, .btn:hover .roll::after, .btn:focus-visible .roll > span, .btn:focus-visible .roll::after,
  .feat__link:hover .roll > span, .feat__link:hover .roll::after { transform: none; }
}

/* Case study pages, Ilusyx family: split hero with the cover and badge, a fact panel, the project's folder colour */
.cs--lilac, .feat--lilac { --cs-tone: var(--color-accent); }
.cs--cyan, .feat--cyan { --cs-tone: var(--color-cyan); }
.cs--pink, .feat--pink { --cs-tone: var(--color-pink); }
.cs--plum, .feat--plum { --cs-tone: var(--color-paper-3); }
.cs-hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.cs-hero__text { display: grid; justify-items: start; gap: var(--space-lg); }
.cs-back { margin-bottom: var(--space-md); }
.cs-tag { padding: var(--space-2xs) var(--space-sm); border-radius: 10px; background: var(--cs-tone); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 500; transform: rotate(-1.5deg); }
.cs--plum .cs-tag { color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule-2); }
.cs-hero h1 { max-width: 16ch; font-size: var(--text-display-s); line-height: 0.96; }
.cs-cover { border-radius: var(--radius-card); box-shadow: 0 0 0 4px var(--cs-tone), var(--shadow-card); }
.cs-cover a { display: block; cursor: zoom-in; }
.cs-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }
.cs-hero__visual .badge { position: absolute; left: calc(var(--space-2xl) * -1); bottom: calc(var(--space-2xl) * -1); }
.cs-meta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); margin: var(--space-3xl) 0 0; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.cs-hero + .cs-text { margin-top: 0; }
.cs-text + .cs-band { margin-top: calc(-1 * var(--band-r)); }
/* next case: a small folder in the next project's colour */
.cs-next { padding-block: var(--section-gap-s); }
.cs-next__tab { margin: 0 0 -1px; }
.cs-next__link { display: grid; justify-items: start; gap: var(--space-sm); padding: var(--space-2xl); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); background: var(--feat-bg); color: var(--feat-ink); text-decoration: none; transition: transform var(--dur-long) var(--ease-out); }
.cs-next__link:hover { transform: translateY(-4px); }
.cs-next__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.cs-next__kind { font-size: var(--text-sm); font-weight: 500; opacity: 0.85; }
.cs-next__link strong { font-size: var(--text-3xl); font-weight: 800; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.96; }
.cs-next__link .feat__link { margin-top: var(--space-sm); }
.cs-next__link:hover .feat__link::before { transform: scaleX(1); }
.cs-next__link:hover .feat__link { color: var(--color-paper); }
@media (max-width: 60rem) {
  .cs-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .cs-hero__visual .badge { left: auto; right: var(--space-md); bottom: calc(var(--space-xl) * -1); width: 112px; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-3xl); padding: var(--space-lg); }
  .cs-next__link { padding: var(--space-lg); }
  .cs-next__tab { display: flex; width: 100%; height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .cs-next__link { border-radius: 0 0 var(--radius-card) var(--radius-card); }
}
@media (max-width: 40rem) {
  .cs-meta { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-next__link { transition: none; }
  .cs-next__link:hover { transform: none; }
}

/* YouTube posters with black bars baked into the thumbnail: zoom past the bars (the frame already clips) */
.yt[data-yt="630f4sSDNuM"] img, .yt[data-yt="awQdeIvCBE4"] img, .yt[data-yt="sxqFzISA-G8"] img { scale: 1.25; }
.yt[data-yt="jdXAdiRRxhg"] img { scale: 1.33; }

/* Video players, Ilusyx style: a round lilac play button that ripples, posters open the video in place or in a video box */
.yt__play { box-shadow: 0 12px 32px -12px var(--color-glow); }
.yt__play::before, .yt__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--color-accent); opacity: 0; pointer-events: none; }
.yt__play--big { width: 112px; height: 112px; }
.js .yt__play--big::before, .js .yt__play--big::after { animation: ripple 2.4s var(--ease-out) 3; }
.js .yt__play--big::after { animation-delay: 0.8s; }
.yt:hover .yt__play::before, .vplayer__btn:hover .yt__play::before { animation: ripple 1.6s var(--ease-out) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.vplayer { position: relative; overflow: hidden; border-radius: calc(var(--radius-media) / 2); }
.vplayer video { margin-bottom: 0 !important; }
.vplayer__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: linear-gradient(to top, var(--color-scrim-soft), transparent 60%); cursor: pointer; }
.vplayer__btn:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.vplayer__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.vplayer.is-playing .vplayer__btn { display: none; }
.motion__video .vplayer { margin-bottom: var(--space-md); }
.cs-video .vplayer { max-width: 960px; border-radius: var(--radius); }
/* Video box: profile videos play in a large frame over the page */
.vbox { width: min(92vw, 1280px); max-width: none; padding: 0; border: 0; border-radius: var(--radius-media); background: var(--color-paper); color: var(--color-ink); overflow: visible; }
.vbox::backdrop { background: color-mix(in oklab, var(--color-paper) 88%, transparent); }
.vbox__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; }
.vbox__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbox__close { position: absolute; right: 0; bottom: calc(100% + var(--space-xs)); min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-weight: 500; cursor: pointer; }
.vbox__close:hover { background: var(--color-paper-2); }
.vbox__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 40rem) {
  .yt__play--big { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .yt__play--big::before, .js .yt__play--big::after, .yt:hover .yt__play::before, .vplayer__btn:hover .yt__play::before { animation: none; }
}
.proper-videos__lead .yt__play { width: 112px; height: 112px; }
.js .proper-videos__lead .yt__play::before, .js .proper-videos__lead .yt__play::after { animation: ripple 2.4s var(--ease-out) 3; }
.js .proper-videos__lead .yt__play::after { animation-delay: 0.8s; }
@media (max-width: 40rem) { .proper-videos__lead .yt__play { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .js .proper-videos__lead .yt__play::before, .js .proper-videos__lead .yt__play::after { animation: none; } }

/* Stage cards that have a service page: the title links to it */
.svc__name a { color: inherit; text-decoration: underline; text-decoration-color: var(--svc-tone, var(--color-accent)); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.svc__name a:hover { text-decoration-thickness: 2px; }
