/* =====================================================================
   Leyren Studio — Cut / Frame
   Layout: left-aligned 12-col grid, warm-white pages, graphite bands with
   diagonal cuts, rectangular frames with small plane offsets.
   Palette and type come from the approved brand. Coral ≈ 10–15% of a view.
   Motion: mask reveal → small shift → precise stop. No bounces.
   ===================================================================== */

:root {
  /* brand palette (approved) */
  --coral: #F16448;      /* main accent: buttons, frames, progress */
  --ink: #24272C;        /* graphite: text, dark surfaces */
  --paper: #F6F1E9;      /* warm white: light base */
  --mist: #AEB5BA;       /* grey: secondary surfaces, text on dark */
  --slate: #62676C;      /* secondary text on light */

  /* derived neutrals (tinted toward the palette) */
  --paper-2: #EDE6DA;
  --paper-3: #E3DACB;
  --ink-2: #2E3238;
  --ink-3: #3A3F46;
  --line: rgba(36, 39, 44, .14);
  --line-strong: rgba(36, 39, 44, .32);
  --line-dark: rgba(246, 241, 233, .16);

  /* type: Manrope 700 headings / 600 buttons / 400 body */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.875rem, 1.25rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.375rem, 1.3rem + 4.2vw, 4.75rem);

  /* geometry: 8px grid, 6px radius on small elements */
  --r: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --cut: clamp(20px, 3.4vw, 52px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, .84, .24, 1);

  color-scheme: light;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  /* keep the page clear of the phone's status bar / app bars; the sticky header uses the same inset */
  padding-top: env(safe-area-inset-top, 0px);
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* paints the phone status-bar band above the sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper);
}
img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

[hidden] { display: none !important; }
.sr-only { 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: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-soft { background: var(--paper-2); }
.cut-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(72px, 9vw, 128px) + var(--cut)); }

.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-lead { font-size: var(--fs-lead); color: var(--slate); max-width: 62ch; }
.band-dark .section-lead { color: var(--mist); }
.section-head-split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; } }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--coral); padding-bottom: 2px; transition: gap .25s var(--ease); }
.text-link:hover { gap: 12px; }
.text-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 0 var(--ink); }
.band-dark .btn-primary:hover, .on-dark .btn-primary:hover { box-shadow: 3px 3px 0 0 var(--paper); }
.btn-primary:focus-visible { outline-color: var(--ink); }
.band-dark .btn-primary:focus-visible { outline-color: var(--paper); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-text { background: none; border: 0; padding: 0 8px; color: inherit; text-decoration: underline; text-underline-offset: 4px; min-height: 48px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  transition: box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(246, 241, 233, .86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 rgba(36, 39, 44, .14), 0 10px 24px -20px rgba(36, 39, 44, .45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: var(--paper); }
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; padding: 6px 0; }
.logo-mark {
  display: block; width: 112px; aspect-ratio: 1120 / 347;
  background: var(--ink);
  -webkit-mask: url("../img/logo.png") center / contain no-repeat;
  mask: url("../img/logo.png") center / contain no-repeat;
}
.logo-mark-light { background: var(--paper); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; text-decoration: none; font-weight: 500; font-size: var(--fs-sm);
  padding: 10px 12px; border-radius: var(--r); color: var(--ink);
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { font-weight: 700; }
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: var(--r);
  background: transparent; font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
}
.menu-toggle .menu-lines { position: relative; display: block; width: 16px; height: 10px; }
.menu-toggle .menu-lines::before, .menu-toggle .menu-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle .menu-lines::before { top: 0; }
.menu-toggle .menu-lines::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { top: 4px; transform: rotate(-45deg); }

.scrubber { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.scrubber-fill { position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.scrubber-fill::after { /* playhead */
  content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; background: var(--coral);
}

@media (max-width: 600px) { :root { --header-h: 64px; } .logo-mark { width: 100px; } }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 16px; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 24px 40px -24px rgba(36, 39, 44, .35);
  }
  .site-header.menu-open .nav-link { font-size: 1.25rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header.menu-open .nav-link::after { left: 0; right: auto; width: 32px; bottom: 10px; }
  .site-header.menu-open .nav .nav-cta { display: flex; margin-top: 16px; }
}
.nav .nav-cta { display: none; }
@media (max-width: 900px) { .nav .nav-cta .btn { width: 100%; font-size: 1rem; } }

/* ------------------------------------------------------------ title reveal (brand motion) */
@keyframes maskIn {
  from { clip-path: inset(-0.3em -0.3em 100% -0.3em); transform: translateY(14px); }
  to   { clip-path: inset(-0.3em -0.3em -0.4em -0.3em); transform: translateY(0); }
}
.reveal-title.is-in { animation: maskIn .8s var(--ease) backwards; }

/* ------------------------------------------------------------ home hero */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.status {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font-size: var(--fs-sm); font-weight: 600; padding: 6px 12px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.status-dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 0 rgba(241, 100, 72, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(241, 100, 72, .45); } 70% { box-shadow: 0 0 0 8px rgba(241, 100, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 100, 72, 0); } }

.hero-title { font-size: clamp(2.125rem, 1.15rem + 4vw, 4.875rem); line-height: 1.02; letter-spacing: -.04em; display: grid; }
.rotator { position: relative; display: block; height: 1.24em; margin-bottom: -.12em; overflow: hidden; }
.rot-item { position: absolute; left: 0; top: 0; white-space: nowrap; clip-path: inset(0 0 100% 0); transform: translateY(.35em); }
.rot-item.is-active { clip-path: inset(-.2em -.3em -.4em -.2em); transform: none; transition: clip-path .7s var(--ease), transform .7s var(--ease); }
.rot-item.is-leaving { clip-path: inset(-.2em -.3em -.4em -.2em); animation: rotOut .5s var(--ease) forwards; }
@keyframes rotOut { to { clip-path: inset(100% 0 0 0); transform: translateY(-.25em); } }
.hero-title-line { display: block; }
.hero-title-line::after { /* precise stop marker */
  content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .06em; background: var(--coral); vertical-align: baseline;
}
.lead { font-size: var(--fs-lead); color: var(--slate); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 24px; font-size: var(--fs-sm); font-weight: 500; }
.proof li { display: flex; align-items: flex-start; gap: 8px; }
.proof svg, .check-list svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: square; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: 2; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } .cta-row .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------ 3D phone (CSS 3D) */
.hero-visual { position: relative; min-width: 0; height: clamp(440px, 46vw, 600px); display: grid; place-items: center; }
.viewfinder { position: absolute; inset: 4% 6%; pointer-events: none; }
.viewfinder i { position: absolute; width: 22px; height: 22px; border-color: var(--mist); border-style: solid; border-width: 0; }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.stage { --pw: clamp(196px, 17vw, 252px); position: relative; width: 100%; height: 100%; display: grid; place-items: center; perspective: 1300px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage.is-dragging { cursor: grabbing; }
.rig { --rx: 6deg; --ry: -18deg; position: relative; width: var(--pw); aspect-ratio: 9 / 19; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform; }
.phone { position: absolute; inset: 0; transform-style: preserve-3d; }
.slice { position: absolute; inset: 0; border-radius: calc(var(--pw) * .15); background: #1D2024; transform: translateZ(var(--z)); }
.slice-last { background: #17191C; box-shadow: 0 0 0 1px #2B2F35; }
.phone-face {
  position: absolute; inset: 0; border-radius: calc(var(--pw) * .15); background: var(--ink);
  padding: calc(var(--pw) * .034); box-shadow: inset 0 0 0 1.5px var(--ink-3), inset 0 0 0 4px #1D2024;
  transform: translateZ(1px);
}
.notch { position: absolute; top: calc(var(--pw) * .06); left: 50%; width: 28%; height: calc(var(--pw) * .055); background: #15171A; border-radius: 99px; transform: translateX(-50%); }
.screen { position: relative; height: 100%; border-radius: calc(var(--pw) * .12); background: #FBF9F5; overflow: hidden; color: #1D2230; font-size: calc(var(--pw) * .052); line-height: 1.25; }
.scr-top { position: absolute; left: 8%; right: 8%; top: 13%; display: flex; align-items: center; gap: 6%; font-size: .9em; }
.scr-top b { font-weight: 700; letter-spacing: -.02em; }
.app-dot { width: 1.15em; height: 1.15em; border-radius: 30%; background: #3F5BD8; }
.scr-pill { margin-left: auto; font-size: .78em; font-weight: 600; color: #3F5BD8; background: #E7EBFB; padding: .2em .7em; border-radius: 99px; }
.scene { position: absolute; left: 8%; right: 8%; top: 24%; bottom: 10%; visibility: hidden; }
.screen[data-scene="1"] .s1, .screen[data-scene="2"] .s2, .screen[data-scene="3"] .s3 { visibility: visible; }
.s1-kicker { font-size: .78em; font-weight: 600; color: #3F5BD8; margin-bottom: .6em; }
.s1-title, .s3-title { font-size: 1.75em; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.s1-title > span, .s3-title > span { display: block; overflow: hidden; }
.s1-title > span > span, .s3-title > span > span { display: block; transform: translateY(105%); }
.screen[data-scene="1"] .s1-title > span > span, .screen[data-scene="3"] .s3-title > span > span { transform: none; transition: transform .7s var(--ease); }
.screen[data-scene="1"] .s1-title > span:nth-child(2) > span, .screen[data-scene="3"] .s3-title > span:nth-child(2) > span { transition-delay: .12s; }
.s1-card { margin-top: 1.4em; background: #fff; border-radius: .7em; padding: 1em; display: grid; gap: .6em; box-shadow: 0 .4em 1.4em rgba(29, 34, 48, .08); opacity: 0; transform: translateY(1em); }
.s1-card i { display: block; height: .55em; width: var(--w); background: #E6E3DD; border-radius: 99px; }
.s1-card i:first-child { background: #CBD3F6; }
.screen[data-scene="1"] .s1-card { opacity: 1; transform: none; transition: opacity .5s .35s, transform .7s .35s var(--ease); }
.kpi { background: #fff; border-radius: .7em; padding: .9em 1em; box-shadow: 0 .4em 1.4em rgba(29, 34, 48, .08); display: grid; gap: .2em; opacity: 0; transform: translateX(-1em); }
.kpi span { font-size: .78em; color: #6A7080; font-weight: 500; }
.kpi b { font-size: 1.9em; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.screen[data-scene="2"] .kpi { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--ease); }
.bars { margin-top: 1em; height: 34%; display: flex; align-items: flex-end; gap: 6%; padding: 0 .2em; }
.bars i { flex: 1; height: var(--h); background: #3F5BD8; border-radius: .25em .25em 0 0; transform: scaleY(0); transform-origin: bottom; }
.bars i:nth-child(6) { background: #2C46B8; }
.screen[data-scene="2"] .bars i { transform: scaleY(1); transition: transform .7s var(--ease); }
.screen[data-scene="2"] .bars i:nth-child(2) { transition-delay: .05s; } .screen[data-scene="2"] .bars i:nth-child(3) { transition-delay: .1s; }
.screen[data-scene="2"] .bars i:nth-child(4) { transition-delay: .15s; } .screen[data-scene="2"] .bars i:nth-child(5) { transition-delay: .2s; }
.screen[data-scene="2"] .bars i:nth-child(6) { transition-delay: .25s; } .screen[data-scene="2"] .bars i:nth-child(7) { transition-delay: .3s; }
.rows { margin-top: 1em; display: grid; gap: .55em; }
.rows i { display: block; height: .55em; background: #E6E3DD; border-radius: 99px; transform: scaleX(0); transform-origin: left; }
.rows i:nth-child(1) { width: 90%; } .rows i:nth-child(2) { width: 70%; } .rows i:nth-child(3) { width: 80%; }
.screen[data-scene="2"] .rows i { transform: none; transition: transform .6s .4s var(--ease); }
.s3-btn { position: absolute; left: 0; right: 0; top: 46%; display: grid; place-items: center; height: 2.6em; border-radius: .7em; background: #3F5BD8; color: #fff; font-weight: 700; font-size: .95em; opacity: 0; transform: translateY(.6em); }
.screen[data-scene="3"] .s3-btn { opacity: 1; transform: none; transition: opacity .4s .3s, transform .6s .3s var(--ease); }
.screen.is-pressed .s3-btn { transform: scale(.96); background: #2C46B8; transition: transform .15s, background-color .15s; }
.cursor { position: absolute; width: 1.3em; height: 1.3em; left: 80%; top: 90%; border-radius: 50%; background: rgba(29, 34, 48, .18); border: .14em solid #1D2230; opacity: 0; }
.screen[data-scene="3"] .cursor { opacity: 1; left: 58%; top: 52%; transition: left .9s .6s var(--ease), top .9s .6s var(--ease), opacity .3s .5s; }
.toast { position: absolute; left: 0; right: 0; bottom: 2%; display: flex; align-items: center; gap: .6em; padding: .7em .9em; border-radius: .7em; background: #1D2230; color: #fff; font-weight: 600; font-size: .85em; opacity: 0; transform: translateY(1em); }
.toast-check { width: 1.1em; height: 1.1em; border-radius: 50%; background: #4CC38A; flex: 0 0 auto; }
.screen.is-pressed .toast, .screen.is-done .toast { opacity: 1; transform: none; transition: opacity .3s, transform .5s var(--ease); }
.wipe { position: absolute; inset: -10% -60%; background: var(--coral); transform: translateX(-120%) skewX(-18deg); pointer-events: none; z-index: 4; }
.screen.is-wiping .wipe { animation: wipe .62s var(--ease); }
@keyframes wipe { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(120%) skewX(-18deg); } }
.scr-progress { position: absolute; left: 8%; right: 8%; bottom: 4.5%; height: 3px; border-radius: 3px; background: #E6E3DD; overflow: hidden; z-index: 3; }
.scr-progress i { position: absolute; inset: 0; background: #1D2230; transform-origin: left; transform: scaleX(0); }

.plane { position: absolute; pointer-events: none; }
.plane-back { left: 26%; top: 9%; width: 100%; height: 90%; border: 3px solid var(--coral); transform: translateZ(-90px); }
.plane-mid { left: -34%; top: -5%; width: 74%; height: 44%; background: var(--paper-3); clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 100%, 0 100%); transform: translateZ(-50px); }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r); font-size: 13px; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 16px 32px -16px rgba(36, 39, 44, .45);
}
.f-story { left: -42%; top: 24%; background: var(--paper); border: 1px solid var(--line); font-weight: 700; transform: translateZ(80px); }
.f-story small { display: block; font-size: 11px; font-weight: 500; color: var(--slate); }
.f-icon { width: 26px; height: 26px; display: grid; place-items: center; background: var(--coral); border-radius: 4px; }
.f-icon svg, .done-icon svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.6; }
.f-time { right: -34%; bottom: 16%; background: var(--ink); color: var(--paper); flex-direction: column; align-items: stretch; gap: 8px; min-width: 132px; transform: translateZ(120px); }
.tc { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--mist); }
.tc b { color: var(--paper); font-weight: 700; }
.tc-bar { display: block; height: 3px; background: var(--ink-3); position: relative; overflow: hidden; }
.tc-bar i { position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.f-spec { right: -40%; top: 4%; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: none; transform: translateZ(50px); }
.f-spec b { font-size: 18px; letter-spacing: -.02em; }
.f-spec span { font-size: 11px; color: var(--slate); font-variant-numeric: tabular-nums; }
.stage-shadow { position: absolute; left: 50%; bottom: 3%; width: calc(var(--pw) * 1.3); height: 28px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(36, 39, 44, .26), rgba(36, 39, 44, 0)); pointer-events: none; }
.stage-hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: var(--fs-xs); color: var(--slate); display: none; }
@media (hover: none) { .stage-hint { display: block; } }
@media (max-width: 1080px) { .hero-visual { height: 480px; } }
@media (max-width: 520px) {
  .hero-visual { height: 440px; }
  .stage { --pw: 188px; }
  .f-story { left: -46%; top: auto; bottom: 34%; padding: 8px 10px; font-size: 12px; } .f-icon { width: 22px; height: 22px; } .f-time { right: -34%; bottom: 10%; min-width: 118px; } .f-spec { right: -36%; top: 2%; }
}

/* ------------------------------------------------------------ ticker */
.ticker { background: var(--ink); color: var(--paper); clip-path: polygon(0 22%, 100% 0, 100% 78%, 0 100%); padding-block: 34px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { list-style: none; display: flex; flex-shrink: 0; }
.ticker-list li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.125rem, 1rem + .8vw, 1.625rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.ticker-list li::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--coral); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ cards: services teaser */
.service-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--paper);
  text-decoration: none; color: inherit; min-height: 260px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 0 var(--coral); }
.service-card .len { justify-self: start; font-size: var(--fs-xs); font-weight: 600; padding: 3px 8px; background: var(--paper-2); border-radius: 4px; font-variant-numeric: tabular-nums; }
.service-card p { color: var(--slate); font-size: var(--fs-sm); }
.service-card .more { font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 8px; }
.service-card .more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 1080px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-cards { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* ------------------------------------------------------------ pilot band + split bar */
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pilot-grid h2 { font-size: var(--fs-h2); }
.pilot-copy { display: grid; gap: 20px; }
.split { display: grid; gap: 16px; }
.split-price { display: flex; align-items: baseline; gap: 12px; }
.split-price b { font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.split-price span { color: var(--mist); font-weight: 500; }
.split-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 56px; }
.split-bar span { display: flex; align-items: center; padding: 0 14px; border-radius: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.split-bar .a { background: var(--coral); color: var(--ink); }
.split-bar .b { border: 2px dashed var(--mist); color: var(--paper); }
.band-soft .split-bar .b, .plan-explainer .split-bar .b { border-color: var(--line-strong); color: var(--ink); }
.split-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: var(--fs-sm); color: var(--mist); }
.band-soft .split-legend, .plan-explainer .split-legend { color: var(--slate); }
.split-legend b { display: block; color: var(--paper); font-weight: 600; }
.band-soft .split-legend b, .plan-explainer .split-legend b { color: var(--ink); }
@media (max-width: 860px) { .pilot-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ steps (home teaser) */
.track { position: relative; height: 2px; background: var(--line-dark); margin-bottom: 32px; }
.band-soft .track, .section:not(.band-dark) .track { background: var(--line); }
.track-fill { position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step-card { display: grid; gap: 10px; align-content: start; }
.step-num { font-weight: 700; font-size: var(--fs-sm); color: var(--coral); font-variant-numeric: tabular-nums; }
.step-card p { color: var(--slate); font-size: var(--fs-sm); }
.band-dark .step-card p { color: var(--mist); }
.step-tag { justify-self: start; font-size: var(--fs-xs); font-weight: 700; padding: 4px 8px; border: 1.5px solid var(--coral); border-radius: 4px; }
.after-steps { margin-top: 40px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 24px; } .track { display: none; } }

/* ------------------------------------------------------------ trust grid */
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.trust-grid li { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.trust-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-grid p { color: var(--slate); font-size: var(--fs-sm); }
.trust-grid h3::before { content: ""; display: block; width: 14px; height: 14px; border: 2px solid var(--coral); margin-bottom: 14px; }
.band-soft .honesty { background: var(--paper); }
.honesty { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--coral); background: var(--paper-2); font-weight: 500; max-width: 760px; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .trust-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid li, .trust-grid li:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--ink); color: var(--paper); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-block: calc(clamp(64px, 8vw, 112px) + var(--cut)) clamp(64px, 8vw, 112px); }
.cta-band-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band .cta-side { display: grid; gap: 16px; justify-items: start; }
.cta-band .cta-side p { color: var(--mist); font-size: var(--fs-sm); max-width: 40ch; }
@media (max-width: 760px) { .cta-band-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ inner page hero */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: var(--fs-h1); letter-spacing: -.04em; max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero-frame {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 8px;
  width: clamp(90px, 12vw, 160px); aspect-ratio: 9 / 16; border: 3px solid var(--coral);
  transform: translateY(var(--py, 0px));
}
.page-hero .hero-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s, background-color .2s; }
.jump a:hover { border-color: var(--ink); background: var(--paper-2); }
@media (max-width: 760px) { .page-hero .hero-frame { display: none; } }

/* ------------------------------------------------------------ services page */
.why-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.why-list li { display: grid; gap: 12px; align-content: start; }
.why-list p { color: var(--slate); font-size: var(--fs-sm); }
.why-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.why-icon .fill { fill: var(--coral); stroke: var(--coral); }
@media (max-width: 860px) { .why-list { grid-template-columns: 1fr; gap: 28px; } }

.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.service:nth-of-type(even) .service-visual { order: -1; }
.service-copy { display: grid; gap: 18px; }
.service-copy h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.service-copy > p { color: var(--slate); max-width: 52ch; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 8px 0 0; font-size: var(--fs-sm); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--slate); }
.service-copy .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service:nth-of-type(even) .service-visual { order: 0; } }

/* storyboard strip */
.board { position: relative; padding: 20px; background: var(--paper-2); border-radius: var(--r); }
.board-label { font-size: var(--fs-xs); font-weight: 600; color: var(--slate); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.frames { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; }
.frame { display: grid; gap: 8px; min-width: 0; }
.frame-box { position: relative; aspect-ratio: 9 / 16; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; }
.frame-box .ui-a, .frame-box .ui-b, .frame-box .ui-c { position: absolute; left: 14%; right: 14%; border-radius: 3px; }
.frame-box .ui-a { top: 16%; height: 7%; background: var(--ink); width: 54%; right: auto; }
.frame-box .ui-b { top: 30%; height: 28%; background: var(--paper-3); }
.frame-box .ui-c { top: 64%; height: 5%; background: var(--mist); width: 62%; right: auto; }
.frame-box.k-hook .ui-a { top: 38%; height: 10%; width: 72%; }
.frame-box.k-hook .ui-b { display: none; }
.frame-box.k-hook .ui-c { top: 54%; }
.frame-box.k-ui .ui-b { background: none; border: 1.5px solid var(--ink); top: 22%; height: 52%; }
.frame-box.k-ui .ui-c { top: 80%; }
.frame-box.k-cta .ui-a { top: 30%; }
.frame-box.k-cta .ui-b { top: 58%; height: 9%; background: var(--coral); }
.frame-box.k-cta .ui-c { top: 74%; width: 40%; left: 30%; }
.frame-box.k-list .ui-b { background: repeating-linear-gradient(to bottom, var(--paper-3) 0 18%, transparent 18% 28%); }
.frame b { font-size: var(--fs-xs); font-weight: 700; line-height: 1.25; }
.frame span { font-size: 11px; color: var(--slate); font-variant-numeric: tabular-nums; }
.board-scrub { position: relative; height: 3px; background: var(--paper-3); margin-top: 16px; border-radius: 2px; }
.board-scrub i { position: absolute; left: 0; top: -4px; width: 3px; height: 11px; background: var(--coral); }
.board.is-in .board-scrub i { animation: scrub 6s linear infinite; }
@keyframes scrub { to { left: calc(100% - 3px); } }
@media (max-width: 480px) { .frames { gap: 6px; } .board { padding: 14px; } .frame b { font-size: 11px; } }

.included { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.format-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.format-table th, .format-table td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.format-table th { font-weight: 700; }
.format-table td:last-child { color: var(--slate); }
.format-table tr:first-child th, .format-table tr:first-child td { border-top: 1.5px solid var(--ink); }
.included h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); margin-bottom: 20px; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ work slots */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.slot-fig { margin: 0; display: grid; gap: 14px; min-width: 0; }
.slot { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: var(--r); background: var(--ink); overflow: hidden; }
.slot::before { content: ""; position: absolute; inset: 0; transform: translate(10px, 10px); border: 1.5px solid var(--coral); border-radius: var(--r); z-index: -1; }
.slot-fig { position: relative; isolation: isolate; }
.slot video { width: 100%; height: 100%; object-fit: cover; }
.slot-placeholder { position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    repeating-linear-gradient(135deg, var(--ink-2) 0 12px, var(--ink) 12px 24px);
}
.slot-placeholder::before { content: ""; position: absolute; inset: 8%; border: 1px dashed var(--ink-3); border-radius: 4px; }
.slot-play { width: 56px; height: 56px; border: 2px solid var(--mist); border-radius: 50%; position: relative; }
.slot-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--mist); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.slot-scrub { position: absolute; left: 8%; right: 8%; bottom: 7%; height: 3px; background: var(--ink-3); }
.slot-scrub i { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; background: var(--coral); }
.slot-fig figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.slot-fig figcaption span { color: var(--slate); }
@media (max-width: 760px) {
  .slots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; padding-right: 12px; }
  .slot-fig { scroll-snap-align: start; }
}
.work-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.work-cta p { font-size: var(--fs-lead); font-weight: 600; }

/* ------------------------------------------------------------ process page */
.timeline-wrap { position: relative; max-width: 920px; }
.timeline-wrap::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-wrap .tl-fill { position: absolute; left: 19px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--coral); transform-origin: top; transform: scaleY(0); }
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.tl-body { display: grid; gap: 10px; padding-top: 6px; }
.tl-body h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); letter-spacing: -.02em; }
.tl-body p { color: var(--slate); max-width: 64ch; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: var(--fs-xs); font-weight: 700; padding: 4px 8px; border-radius: 4px; background: var(--paper-2); }
.tag-you { background: var(--ink); color: var(--paper); }
.tag-time { background: transparent; border: 1.5px solid var(--coral); }

.fork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.fork-card { padding: 24px; border-radius: var(--r); display: grid; gap: 10px; align-content: start; }
.fork-card h3 { font-size: 1.125rem; }
.fork-card p { font-size: var(--fs-sm); }
.fork-keep { background: var(--ink); color: var(--paper); }
.fork-keep p { color: var(--mist); }
.fork-decline { border: 1.5px solid var(--ink); }
.fork-decline p { color: var(--slate); }
.fork-card .fork-amount { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fork-keep .fork-amount { color: var(--coral); }
@media (max-width: 640px) { .fork { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.two-col h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); margin-bottom: 20px; }
.x-list { list-style: none; display: grid; gap: 12px; }
.x-list li { display: flex; gap: 10px; align-items: flex-start; }
.x-list li::before { content: ""; flex: 0 0 auto; width: 12px; height: 2px; background: var(--slate); margin-top: 12px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); }
.plan h3 { font-size: 1.5rem; }
.plan-for { font-size: var(--fs-sm); margin-top: 6px; }
.plan-pilot { background: var(--ink); color: var(--paper); }
.plan-pilot::before { content: ""; position: absolute; inset: 0; transform: translate(12px, 12px); border: 2px solid var(--coral); border-radius: var(--r); z-index: -1; }
.plans { isolation: isolate; }
.plan-pilot .plan-for { color: var(--mist); }
.plan-custom { border: 1.5px solid var(--ink); }
.plan-custom .plan-for { color: var(--slate); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price span { font-size: var(--fs-sm); }
.plan-pilot .price span { color: var(--mist); }
.plan-custom .price span { color: var(--slate); }
.price-quote b { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.plan-list { list-style: none; display: grid; gap: 10px; align-content: start; font-size: var(--fs-sm); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; background: var(--coral); margin-top: 7px; }
.plan-terms { margin: 0; display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); }
.plan-custom .plan-terms { border-top-color: var(--line); }
.plan-terms div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.plan-terms dt { font-weight: 700; }
.plan-terms dd { margin: 0; }
.plan-pilot .plan-terms dd { color: var(--mist); }
.plan-custom .plan-terms dd { color: var(--slate); }
.plans-note { margin-top: 40px; color: var(--slate); font-size: var(--fs-sm); max-width: 72ch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan-pilot::before { transform: translate(8px, 8px); } }

.plan-explainer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.plan-explainer h2 { font-size: var(--fs-h2); }
.plan-explainer .copy { display: grid; gap: 16px; }
.plan-explainer .copy p { color: var(--slate); }
@media (max-width: 860px) { .plan-explainer { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.faq-head h2 { font-size: var(--fs-h2); }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--slate); max-width: 64ch; }
.faq-list details[open] p { animation: maskIn .5s var(--ease) backwards; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } .faq-list details p { padding-right: 0; } }

/* ------------------------------------------------------------ studio */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.about-intro .big { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.about-intro .copy { display: grid; gap: 16px; color: var(--slate); }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; counter-reset: p; border-top: 1px solid var(--line-dark); }
.principles li { padding: 32px 32px 32px 0; display: grid; gap: 10px; border-bottom: 1px solid var(--line-dark); align-content: start; }
.principles li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.principles p { color: var(--mist); font-size: var(--fs-sm); max-width: 48ch; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .principles li, .principles li:nth-child(even) { padding: 24px 0; border-left: 0; } }
.details-card { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px 32px; margin: 0; padding: 28px; border: 1.5px solid var(--ink); border-radius: var(--r); font-size: var(--fs-sm); }
.details-card dt { font-weight: 700; }
.details-card dd { margin: 0; color: var(--slate); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .details-card { grid-template-columns: 1fr; gap: 4px; } .details-card dd { margin-bottom: 12px; } }

/* ------------------------------------------------------------ brief page */
.brief-page { padding-block: clamp(32px, 5vw, 72px) clamp(72px, 9vw, 128px); }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.brief-intro { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)); }
.brief-intro h1 { font-size: var(--fs-h1); letter-spacing: -.04em; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 16px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; font-size: var(--fs-sm); }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 4px; font-weight: 700; }
.next-steps span { color: var(--slate); }
.note-box { padding: 18px 20px; background: var(--paper-2); border-radius: var(--r); font-size: var(--fs-sm); display: grid; gap: 6px; }
.note-box b { font-weight: 700; }
.note-box p { color: var(--slate); }
@media (max-width: 960px) { .brief-grid { grid-template-columns: 1fr; } .brief-intro { position: static; } }

.brief-card { position: relative; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: clamp(20px, 3.4vw, 44px); }
.brief-card::before { content: ""; position: absolute; inset: 0; transform: translate(10px, 10px); border: 2px solid var(--coral); border-radius: var(--r); z-index: -1; }
.brief-wrap { position: relative; isolation: isolate; }
.brief-progress { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 28px; font-size: var(--fs-sm); color: var(--mist); }
.brief-progress b { color: var(--paper); }
.brief-bar { height: 3px; background: var(--ink-3); position: relative; }
.brief-bar i { position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(.3333); transition: transform .5s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.step.is-active { animation: maskIn .55s var(--ease) backwards; }
.step legend { padding: 0; margin-bottom: 18px; font-size: 1.625rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.group-label { font-weight: 600; font-size: var(--fs-sm); margin-top: 6px; }
.group-label span, .field label span { color: var(--mist); font-weight: 400; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ink-3); border-radius: var(--r); font-size: var(--fs-sm); font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover span { border-color: var(--mist); }
.chip input:checked + span { background: var(--coral); border-color: var(--coral); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r);
  border: 1.5px solid var(--ink-3); background: var(--ink-2); color: var(--paper); font-size: 1rem;
  transition: border-color .2s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A9094; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--coral); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-error { color: #FF9C86; font-size: var(--fs-sm); font-weight: 500; }
.field-hint { font-size: var(--fs-xs); color: var(--mist); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); cursor: pointer; }
.check a { color: var(--paper); text-underline-offset: 3px; }
.check span { color: var(--mist); }
.check b { color: var(--paper); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.step-actions .btn-primary { margin-left: auto; }
.brief-done, .brief-error { display: grid; gap: 14px; justify-items: start; }
.brief-done h2, .brief-error h2 { font-size: 1.75rem; letter-spacing: -.025em; }
.brief-done p, .brief-error p { color: var(--mist); }
.brief-done b, .brief-error b { color: var(--paper); }
.done-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--coral); border-radius: var(--r); }
.done-icon svg { width: 22px; height: 22px; }
.preview-note { font-size: var(--fs-sm); padding: 10px 12px; border: 1px dashed var(--mist); border-radius: 4px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.copy-area { width: 100%; min-height: 160px; padding: 12px; border-radius: var(--r); border: 1.5px solid var(--ink-3); background: var(--ink-2); color: var(--paper); font-size: var(--fs-sm); }

/* ------------------------------------------------------------ terms page */
.terms-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.terms-toc { position: sticky; top: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)); font-size: var(--fs-sm); }
.terms-toc p { font-weight: 700; margin-bottom: 12px; }
.terms-toc ol { list-style: none; display: grid; gap: 4px; border-left: 1.5px solid var(--line); }
.terms-toc a { display: block; padding: 4px 0 4px 14px; text-decoration: none; color: var(--slate); }
.terms-toc a:hover { color: var(--ink); }
.terms-body { max-width: 72ch; }
.terms-body h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.terms-body h3 { font-size: 1.125rem; margin: 28px 0 10px; }
.terms-body p, .terms-body li { color: #3B3F45; }
.terms-body p + p { margin-top: 14px; }
.terms-body ul { padding-left: 20px; display: grid; gap: 8px; margin: 14px 0; }
.terms-body a { text-underline-offset: 3px; }
.terms-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.terms-intro { padding: 20px 24px; background: var(--paper-2); border-radius: var(--r); margin-bottom: 8px; }
.terms-intro p { color: var(--ink); }
@media (max-width: 900px) { .terms-layout { grid-template-columns: 1fr; } .terms-toc { position: static; } }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
.site-footer.after-cta { padding-top: 0; }
.site-footer.after-cta .footer-inner::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line-dark); margin-bottom: 8px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo-mark { width: 128px; }
.footer-brand p { color: var(--mist); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: var(--fs-sm); }
.footer-col h2 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; color: var(--paper); }
.footer-col a { color: var(--mist); text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); color: var(--mist); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--ink); color: var(--paper);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta-text { display: grid; line-height: 1.25; font-size: var(--fs-sm); min-width: 0; }
.mobile-cta-text span { color: var(--mist); font-size: var(--fs-xs); }
@media (max-width: 760px) { .mobile-cta { display: flex; } }

/* ------------------------------------------------------------ page change */
@keyframes pageIn { from { opacity: .15; transform: translateY(10px); } to { opacity: 1; transform: none; } }
main { animation: pageIn .55s var(--ease) backwards; }
html.is-leaving main { opacity: .3; transform: translateY(-10px); transition: opacity .4s ease, transform .5s var(--ease); }
html.is-leaving .mobile-cta { transform: translateY(110%); }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  main { animation: none; }
  html.is-leaving main { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ misc */
.small { font-size: var(--fs-sm); color: var(--slate); }
.fork-note { font-size: var(--fs-sm); color: var(--slate); margin-top: 12px; }
.split-foot { font-size: var(--fs-sm); color: var(--slate); }
.table-scroll { overflow-x: auto; }
.not-found { padding-block: clamp(80px, 12vw, 160px); }
.not-found h1 { font-size: var(--fs-h1); letter-spacing: -.04em; }
.not-found .cta-row { margin-top: 32px; }
.copy-stack { display: grid; gap: 16px; }
.copy-stack p { color: var(--slate); }
.copy-stack h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.plan .h3-like { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; }
.plan-explainer .split-price span { color: var(--slate); }

/* ------------------------------------------------------------ work videos */
.section-flush-top { padding-top: 0; }
.head-side { display: grid; gap: 14px; justify-items: start; }
.slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.slot-fig.is-filled figcaption { display: grid; gap: 6px; justify-content: stretch; font-size: var(--fs-sm); }
.slot-fig.is-filled figcaption b { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.slot-fig.is-filled figcaption p { color: var(--slate); }
.work-type { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--slate); }
.work-len { font-variant-numeric: tabular-nums; }
.work-meta { font-size: var(--fs-xs); color: var(--slate); }
.work-label { justify-self: start; margin-top: 4px; font-size: var(--fs-xs); font-weight: 600; padding: 3px 8px; border: 1.5px solid var(--line-strong); border-radius: 4px; }
.work-note { margin-top: 28px; font-size: var(--fs-sm); color: var(--slate); }
.sound-btn {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; background: rgba(36, 39, 44, .78); color: var(--paper);
  font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.sound-btn:hover { transform: translateY(-2px); }
.sound-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .spk { fill: currentColor; }
.sound-btn .on { display: none; }
.sound-btn[aria-pressed="true"] { background: var(--coral); color: var(--ink); }
.sound-btn[aria-pressed="true"] .on { display: inline; }
.sound-btn[aria-pressed="true"] .off { display: none; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.service-actions .btn { margin-top: 0; }
@media (max-width: 360px) {
  .stage { --pw: 176px; }
  .f-spec { right: -28%; } .f-time { right: -26%; min-width: 108px; } .f-story { left: -38%; }
}
@media (max-width: 360px) {
  .stage { --pw: 176px; }
  .f-spec { right: -28%; } .f-time { right: -26%; min-width: 108px; } .f-story { left: -38%; }
}
