/* TalenTube — styles.css
   Font: Plus Jakarta Sans (SIL Open Font License 1.1), self-hosted. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b0f1e;
  --ink-2: #121831;
  --ink-3: #1b2343;
  --ink-line: rgba(255, 255, 255, .12);
  --on-ink: #eef0f7;
  --on-ink-muted: #b0b7cc;

  --paper: #f5f3ee;
  --white: #ffffff;
  --text: #10142a;
  --muted: #4a5068;
  --line: #e2dfd6;
  --line-strong: #cfcbbf;

  --coral: #ff5b4f;
  --coral-ink: #c42b20;       /* coral for text on light backgrounds (AA) */
  --coral-soft: #ffe3df;
  --violet: #8f82ff;
  --violet-deep: #5b4be0;     /* violet for text on light backgrounds (AA) */
  --violet-soft: #ebe8ff;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);

  --fs-body: 1.0625rem;  /* 17px */
  --fs-small: .9375rem;  /* 15px */
  --fs-h1: clamp(2.35rem, 1.45rem + 3vw, 3.6rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 1.9vw, 2.65rem);
  --fs-h3: 1.25rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(16, 20, 42, .06), 0 8px 24px rgba(16, 20, 42, .06);
  --shadow-2: 0 2px 6px rgba(16, 20, 42, .08), 0 18px 40px rgba(16, 20, 42, .12);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--violet-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--ink :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: #b3aaff;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--white); color: var(--text); padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow-2);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .25s ease, border-color .25s ease, box-shadow .35s var(--ease-out), color .25s ease;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { --bg: var(--coral); --fg: var(--ink); --bd: var(--coral); }
.btn--primary:hover { --bg: #ff7166; --bd: #ff7166; box-shadow: 0 10px 28px rgba(255, 91, 79, .32); transform: translateY(-1px); }
.btn--ghost { --fg: var(--on-ink); --bd: rgba(255, 255, 255, .28); }
.btn--ghost:hover { --bd: rgba(255, 255, 255, .7); --bg: rgba(255, 255, 255, .06); }
.btn--outline { --fg: var(--text); --bd: var(--line-strong); --bg: var(--white); }
.btn--outline:hover { --bd: var(--text); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-weight: 700; color: var(--violet-deep); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link svg { transition: transform .35s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.text-link--sm { font-size: var(--fs-small); min-height: 44px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--violet-deep); margin-bottom: 16px;
}
.eyebrow--dark { color: #c2bbff; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 91, 79, .18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 30, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  color: var(--on-ink);
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--ink-line); background: rgba(11, 15, 30, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; border-radius: 8px; }
.brand-word { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-word span { color: var(--coral); }
.brand-mark { flex: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: .96875rem; font-weight: 600; text-decoration: none; color: var(--on-ink-muted);
  border-radius: 8px; transition: color .2s ease, background-color .2s ease;
}
.site-nav ul a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .9375rem;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { min-height: 52px; font-size: 1.0625rem; color: var(--on-ink); border-bottom: 1px solid var(--ink-line); border-radius: 0; padding: 0 4px; }
  .no-js .site-nav ul { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 80px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px));
}
.hero::before {
  /* one deliberate glow behind the mosaic */
  content: ""; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(143, 130, 255, .22), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.06; margin-bottom: 22px; }
.hero-lede { font-size: 1.1875rem; line-height: 1.6; color: var(--on-ink-muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--ink-line); }
.hero-facts li { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--ink-line); }
.hero-facts strong { font-size: 1.0625rem; color: var(--white); }
.hero-facts span { font-size: .875rem; line-height: 1.45; color: var(--on-ink-muted); }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero-step] { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease-out) forwards; }
  .js [data-hero-step="1"] { animation-delay: .05s; }
  .js [data-hero-step="2"] { animation-delay: .15s; }
  .js [data-hero-step="3"] { animation-delay: .3s; }
  .js [data-hero-step="4"] { animation-delay: .42s; }
  .js [data-hero-step="5"] { animation-delay: .55s; }
  .js .mosaic { opacity: 0; animation: fade 1.2s ease .25s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Mosaic ---------- */
.mosaic {
  --gap: 16px;
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  height: clamp(560px, 70vh, 660px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.mosaic__col { position: relative; min-width: 0; }
.mosaic__col--b { margin-top: 72px; }          /* the stagger */
.mosaic__track { display: flex; flex-direction: column; will-change: transform; }
.tile {
  position: relative; flex: none;
  margin-bottom: var(--gap);                    /* margin (not gap) so -50% loops exactly */
  aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 14px 30px rgba(0, 0, 0, .35);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .4s ease, filter .4s ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile__cap {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: var(--white);
  background: rgba(11, 15, 30, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease .05s, transform .45s var(--ease-out) .05s;
}
@media (hover: hover) {
  .mosaic:hover .tile { opacity: .72; filter: saturate(.85); }
  .mosaic .tile:hover { opacity: 1; filter: none; transform: translateY(-3px) scale(1.025); box-shadow: 0 22px 44px rgba(0, 0, 0, .5); z-index: 2; }
  .mosaic .tile:hover img { transform: scale(1.04); }
  .mosaic .tile:hover .tile__cap { opacity: 1; transform: none; }
}
.tile--note { display: flex; align-items: center; padding: 18px 20px; box-shadow: none; }
.tile--violet { background: var(--violet); color: var(--ink); }
.tile--coral { background: var(--coral); color: var(--ink); }
.tile__kicker { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; opacity: .8; }
.tile__big { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.tile__big--num { font-size: 2.1rem; letter-spacing: -.03em; }
.tile__small { display: block; font-size: .9375rem; font-weight: 700; }

/* Motion (enabled by JS only when the user hasn't asked for reduced motion) */
.mosaic.is-moving .mosaic__track { animation: mosaic-up var(--dur, 70s) linear infinite; }
.mosaic.is-moving .mosaic__col--b .mosaic__track { animation-name: mosaic-down; }
.mosaic.is-paused .mosaic__track,
.mosaic.is-offscreen .mosaic__track,
.mosaic.is-moving .mosaic__col:hover .mosaic__track { animation-play-state: paused; }
@keyframes mosaic-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes mosaic-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

.mosaic__toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(11, 15, 30, .82); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .875rem; font-weight: 700; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.mosaic__toggle:hover { background: rgba(27, 35, 67, .95); border-color: rgba(255, 255, 255, .55); }
.mosaic__toggle .ico-play { display: none; }
.mosaic__toggle[aria-pressed="true"] .ico-play { display: block; }
.mosaic__toggle[aria-pressed="true"] .ico-pause { display: none; }
.mosaic__toggle[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-lede { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 40em; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.section-head--split .section-lede { margin-top: 0; }
.section--ink .section-lede, .section--ink p { color: var(--on-ink-muted); }
.section--ink .eyebrow--dark { color: #c2bbff; }
.sub-title { font-size: .8125rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.fine-print { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); max-width: 62em; }
.fine-print a { color: var(--violet-deep); font-weight: 600; }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.format-list li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 24px 0; border-top: 1px solid var(--line-strong);
}
.format-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.format-list__n { font-size: .9375rem; font-weight: 800; color: var(--coral-ink); padding-top: 3px; }
.format-list h4 { font-size: 1.375rem; margin-bottom: 6px; }
.format-list p { color: var(--muted); }
.deliverables {
  background: var(--white); border-radius: var(--radius-l); padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
}
.tick-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
.tick-list li + li { border-top: 1px solid var(--line); }
.tick-list svg { color: var(--ink); background: var(--coral); border-radius: 50%; padding: 3px; width: 26px; height: 26px; margin-top: 1px; }
.tick-list strong { display: block; font-size: 1.0625rem; }
.tick-list span { display: block; color: var(--muted); font-size: 1rem; }
.deliverables .text-link { margin-top: 10px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 48px) clamp(20px, 3vw, 32px); align-items: start; }
.work-card { grid-column: span 5; display: flex; flex-direction: column; }
.work-card--wide { grid-column: span 7; }
.work-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-1);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.work-card:hover .work-media { box-shadow: var(--shadow-2); }
.work-play { position: absolute; inset: 0; display: block; color: var(--white); }
.work-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.work-play:hover img, .work-play:focus-visible img { transform: scale(1.035); }
.work-play:focus-visible { outline-offset: -4px; outline-width: 4px; border-radius: var(--radius); }
.play-btn {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 12px;
  border-radius: 999px; background: var(--coral); color: var(--ink);
  font-size: .9375rem; font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .2s ease;
}
.play-btn svg { width: 22px; height: 22px; }
.work-play:hover .play-btn, .work-play:focus-visible .play-btn { transform: translateY(-2px); background: #ff7166; box-shadow: 0 14px 32px rgba(0, 0, 0, .45); }
.work-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-tag { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.work-title { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
.work-card--wide .work-title { font-size: 1.4rem; }
.work-meta { font-size: var(--fs-small); color: var(--muted); }
.work-body .text-link { align-self: flex-start; margin-top: 2px; }

/* Distribution */
.dist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.dist-copy h2 { font-size: var(--fs-h2); margin-bottom: 20px; color: var(--white); }
.dist-copy p:not(.eyebrow) { font-size: 1.125rem; margin-bottom: 28px; }
.dist-stack { display: grid; gap: 12px; counter-reset: layer; }
.dist-layer {
  position: relative; padding: 20px 22px 20px 64px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--ink-line);
  transition: transform .5s var(--ease-out), border-color .3s ease, background-color .3s ease;
}
.dist-layer::before {
  counter-increment: layer; content: counter(layer);
  position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; font-size: .875rem; font-weight: 800;
  background: rgba(255, 255, 255, .08); color: var(--white);
}
.dist-layer--accent::before { background: var(--violet); color: var(--ink); }
.dist-layer:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, .28); background: var(--ink-3); }
.dist-layer__tier { display: block; font-size: .8125rem; font-weight: 700; color: #c2bbff; margin-bottom: 2px; }
.dist-layer h3 { font-size: 1.125rem; color: var(--white); margin-bottom: 4px; }
.dist-layer p { font-size: 1rem; line-height: 1.5; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before {
  content: ""; position: absolute; left: 52px; right: 12px; top: 22px; height: 2px;
  background: var(--line-strong); transform-origin: left; transition: transform 1s var(--ease-out);
}
.step:last-child::before { display: none; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-weight: 800; margin-bottom: 20px;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 1rem; }
.process-note {
  margin-top: 40px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--violet-soft); color: #2c2470; font-weight: 600; max-width: 760px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .steps[data-reveal] .step::before { transform: scaleX(0); }
  .js .steps[data-reveal].is-in .step::before { transform: scaleX(1); }
  .js .steps[data-reveal].is-in .step:nth-child(2)::before { transition-delay: .2s; }
  .js .steps[data-reveal].is-in .step:nth-child(3)::before { transition-delay: .4s; }
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 28px; border-radius: var(--radius-l);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan.is-selected { border-color: var(--violet-deep); box-shadow: 0 0 0 3px rgba(91, 75, 224, .18), var(--shadow-1); }
.plan--featured { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.plan--featured .plan__desc, .plan--featured .plan__plus { color: var(--on-ink-muted); }
.plan--featured.is-selected { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(143, 130, 255, .45), var(--shadow-2); }
.plan__badge {
  position: absolute; top: 22px; right: 22px;
  padding: 5px 12px; border-radius: 999px; background: var(--coral); color: var(--ink);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.plan__name { font-size: 1.375rem; margin-bottom: 14px; }
.plan__assets { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.plan__assets strong { font-size: 3.25rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-right: 4px; }
.plan__desc { color: var(--muted); margin-bottom: 22px; font-size: 1rem; }
.plan__plus { font-size: .8125rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan__list { display: grid; gap: 10px; margin-bottom: 28px; }
.plan__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 1rem; line-height: 1.45; }
.plan__list svg { color: var(--coral-ink); margin-top: 1px; }
.plan--featured .plan__list svg { color: var(--coral); }
.plan__cta { margin-top: auto; width: 100%; }

/* Compare table */
.compare { max-width: 1000px; margin: clamp(56px, 7vw, 88px) auto 0; }
.compare__title { font-size: 1.75rem; text-align: center; margin-bottom: 24px; }
.table-scroll {
  position: relative;
  overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-1);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.compare-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: 1.0625rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { font-size: 1rem; font-weight: 800; background: var(--paper); padding-block: 18px; }
.compare-table thead th:first-child { text-align: left; color: var(--muted); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.compare-table tbody th { text-align: left; font-weight: 600; }
.compare-table th:first-child {
  position: sticky; left: 0; z-index: 1; background: var(--white);
  box-shadow: 1px 0 0 var(--line);
}
.compare-table thead th:first-child { background: var(--paper); }
.compare-table .is-featured { background: #f6f5ff; }
.compare-table thead .is-featured { background: var(--ink); color: var(--white); }
.compare-table tbody tr { transition: background-color .2s ease; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background-color: #fbfaf7; }
.compare-table tbody tr:hover td.is-featured { background-color: #efedff; }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--coral-soft); color: var(--coral-ink); }
.no { color: #8a8fa3; }
.fn-ref { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; margin-left: 2px; border-radius: 6px; font-weight: 800; color: var(--violet-deep); text-decoration: none; vertical-align: middle; }
.fn-ref:hover { background: var(--violet-soft); }
.table-hint { display: none; margin-top: 10px; font-size: .875rem; color: var(--muted); text-align: center; }
.compare .fine-print { margin-inline: auto; text-align: center; max-width: 52em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .section-lede a { color: var(--violet-deep); font-weight: 700; }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 700; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2310142a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid var(--line-strong);
  transition: transform .35s var(--ease-out), background-color .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--coral-soft); }
.faq-list summary:hover::after { background-color: var(--coral-soft); }
.faq-a { padding: 0 48px 22px 0; color: var(--muted); }
.faq-a a { color: var(--violet-deep); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .faq-a { animation: rise .5s var(--ease-out); }
}

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: var(--fs-h2); color: var(--white); margin-bottom: 18px; }
.contact-copy h2:focus { outline: none; }
.contact-copy > p:not(.eyebrow) { font-size: 1.125rem; max-width: 30em; }
.contact-list { margin: 32px 0 0; display: grid; gap: 0; }
.contact-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--ink-line); align-items: center; }
.contact-list div:last-child { border-bottom: 1px solid var(--ink-line); }
.contact-list dt { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.contact-list dd { margin: 0; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.125rem; font-weight: 700; color: var(--white); word-break: break-word; }
.contact-list a:hover { color: #c2bbff; }

.inquiry {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius-l);
  padding: clamp(22px, 3.5vw, 34px);
}
.inquiry__pkgs { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.inquiry__pkgs legend { font-weight: 700; font-size: 1.0625rem; color: var(--white); margin-bottom: 14px; padding: 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 16px;
  border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .2);
  font-weight: 700; color: var(--white); line-height: 1.3;
  transition: border-color .2s ease, background-color .2s ease, transform .3s var(--ease-out);
}
.chip small { font-size: .875rem; font-weight: 600; color: var(--on-ink-muted); }
.chip:hover span { border-color: rgba(255, 255, 255, .5); }
.chip input:checked + span { border-color: var(--coral); background: rgba(255, 91, 79, .12); }
.chip input:focus-visible + span { outline: 3px solid #b3aaff; outline-offset: 2px; }
.inquiry__preview {
  margin-bottom: 18px; padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, .25); font-size: .9375rem; color: var(--on-ink); overflow-wrap: anywhere;
}
.inquiry__preview p { color: var(--on-ink); }
.inquiry__preview p + p { margin-top: 4px; }
.inquiry__preview .k { display: inline-block; min-width: 70px; color: var(--on-ink-muted); font-weight: 600; }
.inquiry__actions { display: grid; gap: 10px; }
.inquiry__actions [hidden] { display: none; }
.inquiry__note { margin-top: 14px; font-size: .9375rem; }
.copy-status { color: #9ff0c1; font-weight: 700; }

/* Footer */
.site-footer { background: #070a15; color: var(--on-ink-muted); padding-block: 44px; font-size: var(--fs-small); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 24px 48px; align-items: start; }
.footer-brand p { margin-top: 8px; }
.footer-brand a:not(.brand) { color: var(--on-ink); display: inline-flex; min-height: 44px; align-items: center; }
.brand--footer { color: var(--white); }
.brand--footer .brand-word { font-size: 1.1rem; }
.footer-nav ul { display: grid; gap: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { align-self: end; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(3) { display: none; }
}
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts li:nth-child(3) { display: flex; }

  /* mosaic becomes two horizontal rows */
  .mosaic {
    --gap: 12px;
    grid-template-columns: minmax(0, 1fr); height: auto; gap: var(--gap);
    margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    padding-bottom: 60px;
  }
  .mosaic__col--b { margin-top: 0; margin-left: -110px; }
  .mosaic__track { flex-direction: row; width: max-content; }
  .tile { width: 240px; margin-bottom: 0; margin-right: var(--gap); }
  .tile__big { font-size: 1.1rem; }
  .tile__big--num { font-size: 1.8rem; }
  .mosaic.is-moving .mosaic__track { animation-name: mosaic-left; }
  .mosaic.is-moving .mosaic__col--b .mosaic__track { animation-name: mosaic-right; }
  .mosaic__toggle { right: var(--gutter); bottom: 0; }

  .section-head--split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .services, .dist-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }
  .work-card, .work-card--wide { grid-column: span 6; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step::before { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-copy { grid-column: 1 / -1; }
}
@keyframes mosaic-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes mosaic-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

@media (max-width: 767px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card, .work-card--wide { grid-column: auto; }
  .work-card--wide .work-title { font-size: 1.25rem; }
  .table-hint { display: block; }
  .compare-table { font-size: 1rem; }
  .compare-table th, .compare-table td { padding: 14px 14px; }
}
@media (max-width: 599px) {
  :root { --fs-body: 1.0625rem; }
  .hero-lede { font-size: 1.125rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 32px; }
  .hero-facts li, .hero-facts li + li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--ink-line); flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .tile { width: 210px; }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-a { padding-right: 0; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Reduced motion: static but composed */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .mosaic__col--b .mosaic__track { transform: translateY(-40px); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  .mosaic__col--b .mosaic__track { transform: none; }
}

/* Forced colors */
@media (forced-colors: active) {
  .btn, .chip span, .plan, .tile, .table-scroll { border: 1px solid CanvasText; }
  .yes, .no { forced-color-adjust: auto; }
}

/* ---------- Legal / text pages ---------- */
.page-hero { background: var(--ink); color: var(--on-ink); margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 48px) 0 48px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); color: var(--white); }
.page-hero p { margin-top: 12px; color: var(--on-ink-muted); }
.prose-wrap { background: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--violet-deep); font-weight: 600; }
.prose .toc { background: var(--paper); border-radius: var(--radius); padding: 20px 24px; list-style: none; margin: 0 0 32px; }
.prose .toc li { margin: 0; }
.prose .toc a { display: inline-flex; min-height: 36px; align-items: center; }
.prose .callout { background: var(--paper); border-left: 4px solid var(--coral); padding: 16px 20px; border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); }
.prose .table-scroll { box-shadow: none; border-radius: 12px; margin-bottom: 20px; }
.prose .table-scroll table { margin: 0; min-width: 560px; }
.back-home { margin-top: 40px; }

/* Compare table — stacked layout on small screens (explicit ARIA roles keep table semantics) */
@media (max-width: 599px) {
  .table-hint { display: none !important; }
  .table-scroll { overflow: visible; }
  .compare-table { min-width: 0; font-size: 1rem; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare-table, .compare-table tbody { display: block; }
  .compare-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th, .compare-table tbody td { border-bottom: 0; }
  .compare-table tbody th[scope="row"] {
    grid-column: 1 / -1; position: static; box-shadow: none; background: var(--paper);
    padding: 12px 16px; font-size: 1rem;
  }
  .compare-table tbody td { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 14px; font-size: .9375rem; }
  .compare-table tbody td + td { border-left: 1px solid var(--line); }
  .compare-table tbody td::before {
    content: attr(data-label); content: attr(data-label) / "";
    font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  }
  .compare-table tbody td.is-featured::before { color: var(--violet-deep); }
  .compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background-color: transparent; }
  .compare-table tbody tr:hover th[scope="row"] { background: var(--paper); }
  .compare-table tbody tr:hover td.is-featured, .compare-table td.is-featured { background-color: #f6f5ff; }
}

/* Small phones: keep the mosaic in the first screen */
@media (max-width: 599px) {
  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-facts { display: none; }
  .hero-grid { gap: 32px; }
}
