/* Sitewright v3 — hand-written, no frameworks, no third-party requests. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0c0c0b;
  --ink-2: #151513;
  --ink-3: #1d1d1a;
  --paper: #f2efe8;
  --paper-2: #e9e5db;
  --white: #fbfaf7;
  --mute-d: #8f8b82;      /* muted text on dark */
  --mute-l: #6b675e;      /* muted text on light */
  --line-d: rgba(242, 239, 232, .12);
  --line-l: rgba(12, 12, 11, .12);
  --accent: #ff5b22;
  --accent-2: #ff8a3d;
  --violet: #4b3bff;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --pad: clamp(18px, 4vw, 64px);
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
html.has-smooth { scroll-behavior: auto; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; }
em { font-style: normal; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 99px; background: var(--accent); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- section themes ---------- */
[data-theme="dark"] { background: var(--ink); color: var(--paper); --mute: var(--mute-d); --line: var(--line-d); --fg: var(--paper); --bg: var(--ink); }
[data-theme="light"] { background: var(--paper); color: var(--ink); --mute: var(--mute-l); --line: var(--line-l); --fg: var(--ink); --bg: var(--paper); }
[data-theme="accent"] { background: var(--accent); color: var(--ink); --mute: rgba(12, 12, 11, .62); --line: rgba(12, 12, 11, .2); --fg: var(--ink); --bg: var(--accent); }
main > section { position: relative; }

/* ---------- type ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute);
}
.kicker span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border: 1px solid var(--line); border-radius: 99px; color: var(--fg); }
.sec-title {
  font-size: clamp(42px, 6.6vw, 112px);
  font-weight: 560;
  font-stretch: 94%;
  line-height: .9;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.sec-sub { max-width: 46ch; color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; text-wrap: pretty; }
.sec-sub a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sec-head { display: grid; gap: clamp(18px, 2vw, 28px); margin-bottom: clamp(48px, 7vw, 104px); }
.sec-head-split { grid-template-columns: 1.35fr 1fr; align-items: end; column-gap: clamp(24px, 6vw, 120px); }
.sec-head-split .sec-sub { justify-self: end; }

/* split-text reveal */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 99px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(.2); opacity: 0;
  transition: transform .6s var(--ease), opacity .3s;
}
.btn:hover::before { transform: translate(-50%, -62%) scale(1); opacity: 1; }
.btn-roll { position: relative; display: block; overflow: hidden; line-height: 1.3; }
.btn-t { position: relative; display: block; transition: transform .55s var(--ease); }
.btn-t::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; text-align: center; }
.btn:hover .btn-t { transform: translateY(-100%); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent::before { background: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light::before { background: var(--accent); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .28); color: var(--paper); }
.btn-ghost::before { background: var(--paper); }
.btn-ghost:hover { color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--accent); }
.btn-ink:hover { color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.js .intro.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro-inner { width: 100%; padding: 0 var(--pad); }
.intro-word { overflow: hidden; font-size: clamp(44px, 12vw, 200px); font-weight: 700; font-stretch: 112%; letter-spacing: -.05em; line-height: .9; text-align: center; }
.intro-word span { display: inline-block; animation: intro-up 1s var(--ease) both; }
.intro-count { position: absolute; right: var(--pad); bottom: calc(var(--pad) * .8); font-family: var(--mono); font-size: 13px; color: var(--mute-d); }
.intro-count::after { content: " %"; }
@keyframes intro-up { from { transform: translateY(100%); } }

/* ---------- grain, cursor, progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; }
.has-cursor .cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.has-cursor .cursor-ring {
  position: absolute; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 91, 34, .55); border-radius: 50%;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s;
}
.cursor-ring b { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s var(--ease); white-space: nowrap; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
.cursor.is-label .cursor-ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor-ring b { opacity: 1; transform: none; }
.cursor.is-label .cursor-dot, .cursor.is-hidden { opacity: 0; }
.cursor.is-down .cursor-ring { transform: scale(.85); }
.cursor.on-accent .cursor-dot { background: var(--ink); }
.cursor.on-accent .cursor-ring { border-color: rgba(12, 12, 11, .55); }
.cursor.on-accent.is-label .cursor-ring, .cursor.on-accent.is-link .cursor-ring { border-color: var(--ink); }
.cursor.on-accent.is-label .cursor-ring { background: var(--ink); }
.cursor.on-accent.is-label .cursor-ring b { color: var(--paper); }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor textarea { cursor: text; }

.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 160; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.head {
  position: fixed; left: 0; right: 0; top: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--head-h); padding: 0 var(--pad);
  color: var(--paper);
  transition: color .4s var(--ease), transform .6s var(--ease);
}
.head.is-light { color: var(--ink); }
.head.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; font-size: 17px; }
.brand-mark { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .5s var(--spring); }
.brand:hover .brand-mark::after { transform: scale(1); }
.nav {
  position: relative; display: flex; align-items: center; gap: 2px; padding: 5px;
  border-radius: 99px;
  background: rgba(30, 30, 27, .55);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  color: var(--paper);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.head.is-light .nav { background: rgba(251, 250, 247, .7); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(12, 12, 11, .08); }
.nav a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: color .3s; }
.nav-blob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 99px; background: rgba(242, 239, 232, .12); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.head.is-light .nav-blob { background: rgba(12, 12, 11, .08); }
.nav a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.head-cta { justify-self: end; height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; }

.menu { position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--pad) calc(28px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-d); font-size: clamp(34px, 10vw, 56px); font-weight: 600; font-stretch: 92%; letter-spacing: -.04em; line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 50ms + 80ms); }
.menu a small { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--mute-d); }
.menu.is-open a { opacity: 1; transform: none; }
.menu-foot { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--mute-d); }

/* ---------- shared device frames ---------- */
.browser { position: relative; overflow: hidden; border-radius: 14px; background: #1b1b19; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -30px rgba(0, 0, 0, .7), 0 30px 60px -40px rgba(0, 0, 0, .6); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #232320; }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a36; }
.browser-bar > i:first-child { background: #ff5f57; } .browser-bar > i:nth-child(2) { background: #febc2e; } .browser-bar > i:nth-child(3) { background: #28c840; }
.browser-url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #2d2d29; color: #b9b5ab; font-size: 12px; transform: translateX(-20px); }
.browser-url svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.browser-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e8e6e0; }
.phone { position: relative; padding: 2.6%; border-radius: 13% / 6.2%; background: #121211; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 1.5px #2b2b28, 0 40px 80px -24px rgba(0, 0, 0, .65); }
.phone-screen { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 10.5% / 5.6%; background: #e8e6e0; }
.phone-screen::before { content: ""; position: absolute; z-index: 2; top: 2.2%; left: 50%; width: 28%; height: 3.3%; margin-left: -14%; border-radius: 99px; background: #0a0a0a; }
.auto-strip { width: 100%; will-change: transform; }
.strip-4 { animation: strip4 18s cubic-bezier(.65, 0, .25, 1) infinite; }
.strip-6 { animation: strip6 22s cubic-bezier(.65, 0, .25, 1) infinite; }
.auto-strip.delay { animation-delay: -6s; }
.is-paused .auto-strip { animation-play-state: paused; }
@keyframes strip4 { 0%, 16% { transform: translateY(0); } 25%, 41% { transform: translateY(-25%); } 50%, 66% { transform: translateY(-50%); } 75%, 90% { transform: translateY(-75%); } 100% { transform: translateY(0); } }
@keyframes strip6 { 0%, 11% { transform: translateY(0); } 16%, 27% { transform: translateY(-16.667%); } 32%, 43% { transform: translateY(-33.333%); } 48%, 59% { transform: translateY(-50%); } 64%, 75% { transform: translateY(-66.667%); } 80%, 92% { transform: translateY(-83.333%); } 100% { transform: translateY(0); } }

.chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; }
.chrome > i { width: 11px; height: 11px; border-radius: 50%; }
.chrome .url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 5px 16px; border-radius: 8px; font-size: 13px; transform: translateX(-24px); white-space: nowrap; }
.chrome .url svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.chrome-new { background: #f5f4f0; color: #5d5a54; border-bottom: 1px solid #e3e0d8; }
.chrome-new > i { background: #dcd9d1; }
.chrome-new .url { background: #ebe9e3; }

/* ---------- HERO ---------- */
.hero { height: 250vh; --p: 0; --e: 0; --mx: 0; --my: 0; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-gl, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback {
  background:
    radial-gradient(60% 55% at 78% 92%, rgba(255, 91, 34, .55), transparent 70%),
    radial-gradient(50% 50% at 20% 100%, rgba(75, 59, 255, .45), transparent 70%),
    radial-gradient(40% 40% at 90% 20%, rgba(255, 138, 61, .12), transparent 70%);
  transition: opacity 1.2s;
}
.gl-on .hero-fallback { opacity: 0; }
.hero-gl { opacity: 0; transition: opacity 1.6s; }
.gl-on .hero-gl { opacity: 1; }
.hero-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12, 12, 11, .35), transparent 30%, transparent 70%, rgba(12, 12, 11, .5)); }

.hero-copy {
  position: relative; z-index: 3;
  padding: calc(var(--head-h) + clamp(24px, 6vh, 72px)) var(--pad) 0;
  max-width: 1600px; margin: 0 auto;
  transform: translateY(calc(var(--p) * -22vh));
  opacity: calc(1 - var(--p) * 3.2);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 3vh, 32px); padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(242, 239, 232, .07); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .12); font-size: 13px; color: #cfcac0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc84; animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero-h {
  font-size: min(10vw, 15.5vh, 190px);
  font-weight: 580; font-stretch: 92%;
  line-height: .86; letter-spacing: -.058em;
}
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-h .ln > span { display: inline-block; }
.js .hero-h .ln > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
.js .hero-h .ln:nth-child(2) > span { transition-delay: .08s; }
.js .hero-h .ln:nth-child(3) > span { transition-delay: .16s; }
.js .is-ready .hero-h .ln > span { transform: none; }
.hero-h em { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; color: var(--accent); font-size: 1.04em; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(22px, 4vh, 44px); }
.hero-sub { max-width: 44ch; color: #c9c4ba; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.js .hero-row, .js .eyebrow { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .45s, transform 1.2s var(--ease) .45s; }
.js .is-ready .hero-row, .js .is-ready .eyebrow { opacity: 1; transform: none; }
.js .is-ready .eyebrow { transition-delay: .1s; }

.hero-stage { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; perspective: 1800px; pointer-events: none; }
.hero-device {
  position: relative;
  width: min(1180px, 78vw);
  transform:
    translateY(calc((1 - var(--e)) * 66vh))
    rotateX(calc((1 - var(--e)) * 24deg + var(--my) * -2.5deg))
    rotateY(calc(var(--mx) * 3.5deg))
    scale(calc(.8 + var(--e) * .36));
  transform-style: preserve-3d;
  will-change: transform;
}
.js .hero-stage { opacity: 0; transition: opacity 1.4s var(--ease) .35s; }
.js .is-ready .hero-stage { opacity: 1; }
.hero-device .browser { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 80px 160px -40px rgba(0, 0, 0, .85), 0 0 120px -20px rgba(255, 91, 34, .25); }
.hero-phone { position: absolute; right: -5%; bottom: -10%; width: 21%; transform: translateZ(80px); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 99px;
  background: rgba(24, 24, 22, .72); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .14), 0 20px 40px -12px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--paper); font-size: clamp(11px, 1vw, 14px); font-weight: 500; white-space: nowrap;
  opacity: min(calc(var(--e) * 6), calc(1.4 - var(--e) * 2));
}
.chip svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { left: -7%; top: 16%; transform: translateZ(120px) translateY(calc(var(--my) * -12px)); }
.chip-b { right: -8%; top: 8%; transform: translateZ(60px) translateY(calc(var(--my) * -8px)); }
.chip-c { left: -4%; bottom: 22%; transform: translateZ(100px) translateY(calc(var(--my) * -10px)); }
.chip-d { right: 18%; bottom: -5%; transform: translateZ(140px) translateY(calc(var(--my) * -14px)); }

.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad) clamp(16px, 3vh, 28px); opacity: calc(1 - var(--p) * 4); }
.meter { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(12, 12, 11, .55); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 12px; color: #a8a398; }
.meter b { color: var(--paper); font-weight: 500; }
.meter-led { width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.meter-sep { opacity: .4; }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: #a8a398; }
.scroll-hint i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(242, 239, 232, .2); }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--paper); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- ticker ---------- */
.ticker { padding: clamp(18px, 3vw, 36px) 0; border-top: 1px solid var(--line-d); overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); will-change: transform; }
.marquee-track span { font-size: clamp(38px, 6.5vw, 108px); font-weight: 760; font-stretch: 68%; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 232, .55); }
.marquee-track i { font-size: 0; flex: none; width: clamp(18px, 2.4vw, 34px); aspect-ratio: 1; background: var(--accent); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 01 TEST ---------- */
.test { padding: clamp(96px, 13vw, 200px) 0 clamp(96px, 12vw, 180px); }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 40px); margin-bottom: clamp(64px, 9vw, 140px); counter-reset: c; }
.check { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.check-n { position: absolute; top: 24px; right: 0; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.check-ico { width: 56px; height: 56px; margin-bottom: 26px; }
.check-ico svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.check-ico .lock-shackle { transition: transform .8s var(--spring) .3s; transform: translateY(-3px); }
.check.is-in .lock-shackle { transform: none; }
.check-ico .pinch { stroke: var(--accent); }
.check.is-in .pinch { animation: pinch 2.4s var(--ease-io) infinite 1s; }
@keyframes pinch { 50% { transform: translateX(0); opacity: .3; } }
.check-ico .hand { transform-origin: 20px 20px; stroke: var(--accent); }
.check.is-in .hand { animation: spin 6s linear infinite; }
.check h3 { margin-bottom: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.check p { color: var(--mute); max-width: 36ch; }
.check p b { color: var(--ink); font-weight: 600; }

/* before / after */
.ba { --x: 50; }
.ba-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9.4;
  border-radius: clamp(14px, 1.6vw, 24px);
  background: #b9b6ad;
  box-shadow: 0 0 0 1px rgba(12, 12, 11, .1), 0 60px 120px -50px rgba(12, 12, 11, .45);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; overflow: hidden; }
.ba-new { clip-path: inset(0 0 0 calc(var(--x) * 1%)); }
.vw { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* the old site — deliberately dated */
.oldsite { width: 100%; min-height: 100%; background: #c8c8c8 repeating-linear-gradient(45deg, #cfcfcf 0 6px, #c4c4c4 6px 12px); font-family: "Times New Roman", Times, serif; color: #000; }
.chrome-old { background: linear-gradient(#ececec, #d6d6d6); color: #333; border-bottom: 1px solid #a8a8a8; }
.chrome-old > i { background: #bdbdbd; }
.url-bad { background: #fff; border: 1px solid #b4b4b4; border-radius: 3px !important; font-family: Arial, sans-serif; }
.url-bad b { color: #c5221f; font-weight: 600; margin-right: 6px; }
.old-body { width: 900px; margin: 0 auto; background: #fff; border-left: 2px solid #888; border-right: 2px solid #888; }
.old-banner { display: flex; align-items: center; gap: 14px; height: 92px; padding: 0 20px; background: linear-gradient(180deg, #2b56c6, #0c2a7a); border-bottom: 4px ridge #c0c0c0; }
.old-logo { display: grid; place-items: center; width: 54px; height: 54px; border: 3px outset #ddd; background: #e00; color: #fff; font: bold 34px Arial, sans-serif; }
.old-name { font: italic bold 36px "Times New Roman", serif; color: #ffef5b; text-shadow: 3px 3px 0 #000; letter-spacing: 1px; }
.old-nav { display: flex; gap: 4px; padding: 6px; background: #ddd; border-bottom: 1px solid #999; }
.old-nav span { padding: 4px 10px; border: 2px outset #f2f2f2; background: #d4d0c8; font: 11px Verdana, Arial, sans-serif; color: #00c; text-decoration: underline; }
.old-marquee { overflow: hidden; background: #ffff99; border-bottom: 1px solid #cc0; padding: 3px 0; font: bold 12px Arial, sans-serif; color: #d00; white-space: nowrap; }
.old-marquee span { display: inline-block; padding-left: 100%; animation: oldmarq 14s linear infinite; }
@keyframes oldmarq { to { transform: translateX(-100%); } }
.old-cols { display: flex; }
.old-side { flex: 0 0 190px; padding: 10px; background: #ffffcc; border-right: 1px dashed #999; font: 11px Verdana, sans-serif; }
.old-side table { width: 100%; border: 1px solid #999; border-collapse: collapse; margin-bottom: 12px; }
.old-side td { border: 1px solid #bbb; padding: 2px 4px; }
.old-h { margin: 4px 0; font: bold 12px Verdana, sans-serif; color: #900; text-decoration: underline; }
.old-counter { display: inline-block; margin-bottom: 12px; padding: 2px 4px; background: #000; color: #0f0; font: 14px "Courier New", monospace; letter-spacing: 1px; }
.old-small { font-size: 9px; color: #666; }
.old-main { flex: 1; padding: 12px 16px 18px; font: 12px Verdana, Arial, sans-serif; line-height: 1.35; }
.old-main p { margin-bottom: 9px; }
.old-title { font: bold 22px "Times New Roman", serif !important; color: #036; text-decoration: underline; }
.old-main img { float: left; width: 200px; margin: 0 12px 6px 0; border: 3px ridge #ccc; filter: saturate(.6) contrast(.9) blur(.4px); }
.old-link { color: #00c; text-decoration: underline; font-weight: bold; }
.old-foot { clear: both; padding: 8px; border-top: 1px solid #999; background: #eee; font: 10px Verdana, sans-serif; color: #555; text-align: center; }

.pin { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 13px/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); transform-origin: 0 50%; transform: scale(calc(1 / var(--s, 1))); }
.pin b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 12px; }
.js .pin { opacity: 0; translate: 0 8px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
.js .ba.is-in .pin { opacity: 1; translate: none; }
.js .ba.is-in .pin-2 { transition-delay: .15s; } .js .ba.is-in .pin-3 { transition-delay: .3s; } .js .ba.is-in .pin-4 { transition-delay: .45s; }
.pin-1 { left: 370px; top: 9px; }
.pin-2 { left: 520px; top: 300px; }
.pin-3 { left: 470px; top: 400px; }
.pin-4 { left: 520px; top: 470px; }

/* the new site */
.newsite { container-type: inline-size; width: 100%; min-height: 100%; background: #f1f5f2; color: #0f2a2e; font-family: var(--sans); }
.new-body { padding: 0 48px 40px; }
.new-nav { display: flex; align-items: center; gap: 28px; height: 78px; }
.new-nav > b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 4px; }
.new-nav > b span { width: 8px; height: 8px; border-radius: 50%; background: #2ba59a; font-size: 0; }
.new-nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: #42585b; }
.new-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 99px; background: #0f2a2e; color: #f1f5f2; font-size: 15px; font-weight: 600; white-space: nowrap; }
.new-btn-lg { height: 54px; padding: 0 26px; background: #2ba59a; color: #fff; font-size: 16px; }
.new-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-top: 34px; }
.new-media { order: -1; }
.new-kick { margin-bottom: 18px; font-size: 14px; font-weight: 600; color: #2ba59a; letter-spacing: .02em; }
.new-h { margin-bottom: 22px; font-family: var(--serif); font-size: 76px; line-height: .95; letter-spacing: -.035em; }
.new-sub { max-width: 34em; margin-bottom: 30px; font-size: 18px; line-height: 1.5; color: #42585b; }
.new-ctas { display: flex; align-items: center; gap: 22px; margin-bottom: 38px; }
.new-link { font-weight: 600; border-bottom: 2px solid #2ba59a; padding-bottom: 2px; }
.new-trust { display: flex; gap: 26px; padding-top: 22px; border-top: 1px solid #d5e0db; font-size: 14px; color: #42585b; }
.new-trust b { color: #0f2a2e; }
.new-media { position: relative; }
.new-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 30px; }
.new-float { position: absolute; right: -28px; bottom: 34px; padding: 14px 18px 14px 36px; border-radius: 18px; background: #fff; box-shadow: 0 24px 48px -18px rgba(15, 42, 46, .35); font-size: 13px; color: #42585b; line-height: 1.35; }
.new-float i { position: absolute; left: 16px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: #2ba59a; box-shadow: 0 0 0 4px rgba(43, 165, 154, .2); }
.new-float b { font-size: 17px; color: #0f2a2e; }
@container (max-width: 600px) {
  .new-body { padding: 0 20px 28px; }
  .new-nav { height: 64px; }
  .new-nav nav { display: none; }
  .new-nav .new-btn { margin-left: auto; height: 38px; padding: 0 16px; font-size: 14px; }
  .new-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 12px; }
  .new-h { font-size: 44px; }
  .new-sub { font-size: 16px; margin-bottom: 22px; }
  .new-ctas { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 24px; text-align: center; }
  .new-btn-lg { justify-content: center; }
  .new-link { align-self: center; }
  .new-trust { flex-direction: column; gap: 6px; }
  .new-media img { aspect-ratio: 4 / 3.4; border-radius: 22px; }
  .new-float { left: 14px; right: auto; bottom: 14px; }
  .new-media { order: -1; }
}

.ba-handle { position: absolute; z-index: 5; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgba(12, 12, 11, .15), 0 0 30px rgba(0, 0, 0, .3); cursor: ew-resize; }
.ba-handle:focus-visible { outline: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .45); transition: transform .4s var(--spring), background-color .3s; }
.ba-knob svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ba-handle:hover .ba-knob, .ba.is-drag .ba-knob, .ba-handle:focus-visible .ba-knob { transform: scale(1.12); background: var(--accent); }
.ba-tag { position: absolute; z-index: 4; bottom: 16px; padding: 7px 12px; border-radius: 99px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; pointer-events: none; transition: opacity .3s; }
.ba-tag-old { left: 16px; background: rgba(12, 12, 11, .82); color: var(--paper); }
.ba-tag-new { right: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(12, 12, 11, .1); }
.ba-cap { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 20px; color: var(--mute); font-size: 15px; }
.ba-cap b { color: var(--ink); }

/* ---------- 02 SEE YOURS ---------- */
.yours { padding: clamp(96px, 13vw, 200px) 0; overflow: hidden; }
.yours::before { content: ""; position: absolute; left: 50%; top: 30%; width: 90vw; height: 70vw; transform: translate(-50%, 0); background: radial-gradient(closest-side, rgba(75, 59, 255, .2), transparent); pointer-events: none; }
.build { position: relative; display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.build-ctrl { display: grid; gap: 34px; position: sticky; top: 110px; }
.field { display: grid; gap: 10px; }
.field > span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.field > span em { text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 22px; font-weight: 500; letter-spacing: -.02em; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 56px; font-size: 18px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field-dark input { font-size: clamp(24px, 2.3vw, 32px); }
.kinds legend, .build-k, .need legend { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.kind-list, .need-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kind-list label, .need-list label { position: relative; }
.kind-list input, .need-list input, .plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind-list span, .need-list span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; transition: background-color .3s var(--ease), color .3s, box-shadow .3s, transform .4s var(--spring); cursor: pointer; }
.kind-list span:hover, .need-list span:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.kind-list input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.kind-list input:focus-visible + span, .need-list input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.kind-list input:active + span { transform: scale(.95); }

.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.switch button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: color .35s; }
.switch button[aria-checked="true"] { color: var(--bg); }
.switch-pill { position: absolute; top: 4px; left: 0; height: 38px; border-radius: 99px; background: var(--fg); transition: transform .5s var(--ease), width .5s var(--ease); }
.build-go { display: grid; justify-items: start; gap: 12px; }
.build-note { font-size: 13px; color: var(--mute); }

.build-out { position: relative; padding-right: 9%; padding-bottom: 6%; }
.out-desk { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(0, 0, 0, .8); }
.out-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.out-phone { position: absolute; right: 0; bottom: 0; width: 25%; }
.out-phone .phone-screen { background: #fff; }
.out-scan { position: absolute; inset: 40px 0 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 91, 34, .0) 40%, rgba(255, 91, 34, .35) 50%, rgba(255, 91, 34, 0) 60%, transparent); transform: translateX(-100%); }
.is-building .out-scan { animation: scan .9s var(--ease-io); }
@keyframes scan { to { transform: translateX(100%); } }
.out-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.out-status i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.is-building .out-status i { background: var(--accent); animation: blink .3s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* the mock site ("ms") generated by the builder */
.ms {
  --bg: #f4f7f6; --fg: #0f2a2e; --ac: #2ba59a; --on: #fff; --mu: #4c6266; --line: rgba(15, 42, 46, .12);
  --hf: var(--sans); --hw: 650; --hs: 100%; --ht: -.035em; --hcase: none; --hsize: 72px; --rad: 16px; --brad: 99px;
  container-type: inline-size;
  position: relative; width: 100%; min-height: 100%;
  background: var(--bg); color: var(--fg); font-family: var(--sans);
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
.ms * { transition: opacity .5s var(--ease), transform .7s var(--ease), background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease); }
.ms-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 30px; height: 84px; padding: 0 56px; border-bottom: 1px solid var(--line); }
.ms-logo { font-family: var(--hf); font-weight: var(--hw); font-stretch: var(--hs); font-size: 24px; letter-spacing: -.02em; text-transform: var(--hcase); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.ms-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--mu); }
.ms-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: var(--brad); background: var(--ac); color: var(--on); font-size: 15px; font-weight: 600; white-space: nowrap; }
.ms-btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.ms-burger { display: none; width: 26px; height: 12px; margin-left: auto; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.ms-hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px 56px 48px; }
.ms-kick { margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ac); }
.ms-h { margin-bottom: 22px; font-family: var(--hf); font-weight: var(--hw); font-stretch: var(--hs); font-size: var(--hsize); line-height: .95; letter-spacing: var(--ht); text-transform: var(--hcase); text-wrap: balance; }
.ms-sub { max-width: 30em; margin-bottom: 30px; font-size: 18px; line-height: 1.5; color: var(--mu); }
.ms-ctas { display: flex; align-items: center; gap: 22px; }
.ms-link { font-weight: 600; font-size: 15px; border-bottom: 2px solid var(--ac); padding-bottom: 2px; }
.ms-media { position: relative; overflow: hidden; border-radius: var(--rad); aspect-ratio: 5 / 4.4; background: var(--line); }
.ms-media img { width: 100%; height: 100%; object-fit: cover; }
.ms-badge { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: var(--brad); background: var(--bg); color: var(--fg); font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.ms-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 56px; border-top: 1px solid var(--line); }
.ms-feats > div { padding: 24px 24px 24px 0; }
.ms-feats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ms-feats b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 650; }
.ms-feats span { font-size: 14px; color: var(--mu); }

/* layouts */
.ms[data-layout="editorial"] .ms-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; text-align: left; }
.ms[data-layout="editorial"] .ms-copy { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 56px; align-items: end; }
.ms[data-layout="editorial"] .ms-kick { grid-column: 1 / -1; }
.ms[data-layout="editorial"] .ms-h { margin-bottom: 0; }
.ms[data-layout="editorial"] .ms-sub { margin-bottom: 22px; }
.ms[data-layout="editorial"] .ms-ctas { grid-column: 2; }
.ms[data-layout="editorial"] .ms-media { aspect-ratio: 16 / 5; }
.ms[data-layout="full"] .ms-nav { border-color: rgba(255, 255, 255, .2); color: #fff; --mu: rgba(255, 255, 255, .8); }
.ms[data-layout="full"] .ms-hero { grid-template-columns: 1fr; min-height: 640px; align-content: end; padding-bottom: 64px; margin-top: -84px; padding-top: 140px; color: #fff; }
.ms[data-layout="full"] .ms-media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ms[data-layout="full"] .ms-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .7)); }
.ms[data-layout="full"] .ms-copy { position: relative; z-index: 1; max-width: 860px; }
.ms[data-layout="full"] .ms-sub { color: rgba(255, 255, 255, .85); }
.ms[data-layout="full"] .ms-link { color: #fff; }
.ms[data-layout="full"] .ms-badge { display: none; }
.ms[data-layout="full"] .ms-feats { margin-top: 0; }
.ms[data-layout="minimal"] .ms-hero { grid-template-columns: .8fr 1.6fr; gap: 64px; align-items: end; }
.ms[data-layout="minimal"] .ms-media { aspect-ratio: 16 / 10.5; }
.ms[data-layout="minimal"] .ms-sub { font-size: 16px; }
.ms[data-layout="split-r"] .ms-media { order: -1; }

/* phone (narrow container) */
@container (max-width: 640px) {
  .ms-nav { height: 64px; padding: 0 20px; }
  .ms-links, .ms-nav > .ms-btn { display: none; }
  .ms-burger { display: block; }
  .ms-logo { font-size: 19px; max-width: 75%; }
  .ms-hero, .ms[data-layout] .ms-hero { grid-template-columns: 1fr; gap: 24px; padding: 22px 20px 28px; }
  .ms[data-layout="editorial"] .ms-copy { display: block; }
  .ms-h, .ms[data-layout] .ms-h { font-size: calc(var(--hsize) * .56); margin-bottom: 16px; }
  .ms-sub { font-size: 16px; margin-bottom: 22px; }
  .ms-ctas { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .ms-ctas .ms-btn { justify-content: center; height: 52px; }
  .ms-link { align-self: center; }
  .ms-media, .ms[data-layout] .ms-media { order: -1; aspect-ratio: 4 / 3.2; }
  .ms[data-layout="full"] .ms-hero { min-height: 640px; margin-top: -64px; padding-top: 100px; }
  .ms[data-layout="full"] .ms-media { order: 0; aspect-ratio: auto; }
  .ms-feats { grid-template-columns: 1fr; margin: 0 20px; }
  .ms-feats > div, .ms-feats > div + div { padding: 16px 0; border-left: 0; }
  .ms-feats > div + div { border-top: 1px solid var(--line); }
}

/* rebuild animation */
.ms.is-out .ms-copy > *, .ms.is-out .ms-media, .ms.is-out .ms-feats > div, .ms.is-out .ms-nav > * { opacity: 0; transform: translateY(14px); }
.ms.is-out .ms-media { transform: scale(.97); }
.ms .ms-copy > *:nth-child(2) { transition-delay: 40ms; } .ms .ms-copy > *:nth-child(3) { transition-delay: 80ms; } .ms .ms-copy > *:nth-child(4) { transition-delay: 120ms; }
.ms .ms-feats > div:nth-child(2) { transition-delay: 160ms; } .ms .ms-feats > div:nth-child(3) { transition-delay: 200ms; }
.ms.is-out * { transition-delay: 0s !important; transition-duration: .22s; }

/* ---------- 03 WORK ---------- */
.work { --wp: 0; }
.work-pin { position: relative; padding: clamp(96px, 12vw, 180px) 0 clamp(64px, 8vw, 120px); }
.work-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(36px, 4vw, 64px); }
.work-head .kicker { flex-basis: 100%; margin-bottom: 0; }
.work-count { font-family: var(--mono); font-size: 14px; color: var(--mute); }
.work-count b { color: var(--ink); font-weight: 500; }
.work-rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.work-rail::-webkit-scrollbar { display: none; }
.work-track { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; padding: 0 var(--pad); }
.wk {
  position: relative; flex: 0 0 auto; width: min(86vw, 1240px);
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(20px, 3vw, 56px); align-items: center;
  padding: clamp(18px, 3vw, 52px);
  border-radius: clamp(18px, 2vw, 32px);
  background: var(--tint, #e8e6e0); color: var(--ink);
  scroll-snap-align: center;
  transform: skewX(calc(var(--skew, 0) * 1deg));
}
.wk-media { position: relative; display: block; padding: 0 7% 7% 0; }
.wk-media .browser { transition: transform .9s var(--ease); }
.wk-media:hover .browser { transform: translateY(-6px) rotate(-.4deg); }
.wk-media .phone-sm { position: absolute; right: 0; bottom: 0; width: 24%; transition: transform .9s var(--ease); }
.wk-media:hover .phone-sm { transform: translateY(-14px) rotate(2deg); }
.fan { position: relative; display: flex; justify-content: center; padding: 4% 0; }
.wk-media .fan .phone { position: relative; right: auto; bottom: auto; flex: none; width: 29%; }
.fan .phone:nth-child(1) { transform: rotate(-8deg) translate(30%, 7%); }
.fan .phone:nth-child(2) { z-index: 2; }
.fan .phone:nth-child(3) { transform: rotate(8deg) translate(-30%, 7%); }
.fan .phone { transition: transform .9s var(--ease); }
.wk-media:hover .fan .phone:nth-child(1) { transform: rotate(-12deg) translate(14%, 8%); }
.wk-media:hover .fan .phone:nth-child(3) { transform: rotate(12deg) translate(-14%, 8%); }
.wk-media:hover .fan .phone:nth-child(2) { transform: translateY(-4%); }
.wk-fan .wk-media { padding: 0; }
.wk-text { display: grid; gap: 12px; justify-items: start; }
.wk-n { font-family: var(--mono); font-size: 13px; color: rgba(12, 12, 11, .5); }
.wk h3 { font-size: clamp(34px, 3.8vw, 64px); font-weight: 620; font-stretch: 90%; letter-spacing: -.045em; line-height: .95; }
.wk-kind { font-size: 15px; font-weight: 500; color: rgba(12, 12, 11, .6); }
.wk-job { max-width: 30ch; margin: 8px 0 10px; font-size: 16px; line-height: 1.5; color: rgba(12, 12, 11, .78); }
.work-note { margin-top: 26px; font-size: 13px; color: var(--mute); }
@media (min-width: 900px) and (hover: hover) {
  .js .work.is-pinned { height: var(--work-h, 400vh); }
  .js .work.is-pinned .work-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; overflow: hidden; }
  .js .work.is-pinned .work-head { margin-bottom: clamp(24px, 3vh, 40px); }
  .js .work.is-pinned .work-head .sec-title { font-size: clamp(42px, min(5.4vw, 9vh), 96px); }
  .js .work.is-pinned .work-rail { overflow: visible; }
  .js .work.is-pinned .work-track { transform: translate3d(calc(var(--wx, 0) * -1px), 0, 0); will-change: transform; }
  .js .work.is-pinned .wk { width: min(78vw, calc((100vh - 290px) * 1.95), 1240px); }
}

/* ---------- 04 CRAFT ---------- */
.craft { padding: clamp(96px, 13vw, 200px) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.tile {
  --gx: 50%; --gy: 0%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 300px; padding: clamp(22px, 2.2vw, 34px);
  border-radius: clamp(18px, 1.8vw, 28px);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .08);
}
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 91, 34, .13), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px; background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(255, 91, 34, .8), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile-k { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.tile h3 { margin-bottom: 22px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.tile-foot { margin-top: auto; padding-top: 18px; color: var(--mute-d); font-size: 14px; line-height: 1.5; max-width: 44ch; }
.t-speed { grid-column: span 4; grid-row: span 2; }
.t-resp { grid-column: span 8; }
.t-serp { grid-column: span 4; }
.t-lock { grid-column: span 4; }
.t-book { grid-column: span 6; }
.t-own { grid-column: span 6; }

.speed-big { display: flex; align-items: baseline; font-size: clamp(92px, 10vw, 168px); font-weight: 600; font-stretch: 80%; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.speed-big span { margin-left: .06em; font-size: .35em; color: var(--accent); letter-spacing: 0; }
.speed-cap { max-width: 28ch; margin-top: 16px; color: var(--mute-d); font-size: 15px; }
.speed-rows { margin-top: auto; padding-top: 28px; }
.speed-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--mute-d); }
.speed-rows b { color: var(--paper); font-family: var(--mono); font-weight: 500; }

.resp { display: grid; gap: 14px; margin-top: auto; }
.resp-box { position: relative; width: 100%; max-width: 100%; height: 250px; container-type: inline-size; }
.resp-site { height: 100%; overflow: hidden; border-radius: 12px; background: var(--paper); color: var(--ink); padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; }
.rs-nav { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.rs-links { display: flex; gap: 8px; margin-left: auto; }
.rs-links i { width: 34px; height: 6px; border-radius: 3px; background: rgba(12, 12, 11, .18); }
.rs-burger { display: none; width: 18px; height: 9px; margin-left: auto; border-top: 2px solid; border-bottom: 2px solid; }
.rs-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: center; min-height: 0; }
.rs-copy { display: grid; gap: 8px; align-content: center; }
.rs-copy i { height: 14px; border-radius: 4px; background: var(--ink); }
.rs-copy i.thin { height: 7px; background: rgba(12, 12, 11, .3); }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.rs-btn { width: 84px; height: 24px; margin-top: 6px; border-radius: 99px; background: var(--accent); }
.rs-img { height: 100%; min-height: 70px; border-radius: 8px; background: url("../img/photo/fen-pavilion.webp") center / cover; }
.rs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rs-cards span { height: 34px; border-radius: 6px; background: rgba(12, 12, 11, .08); }
@container (max-width: 520px) {
  .rs-hero { grid-template-columns: 1fr; }
  .rs-img { order: -1; min-height: 60px; height: 60px; }
  .rs-cards { grid-template-columns: 1fr 1fr; }
  .rs-cards span:nth-child(3) { display: none; }
}
@container (max-width: 360px) {
  .rs-links { display: none; }
  .rs-burger { display: block; }
  .rs-cards { grid-template-columns: 1fr; }
  .rs-cards span:nth-child(2) { display: none; }
}
.resp-grip { position: absolute; top: 50%; right: -9px; width: 18px; height: 64px; margin-top: -32px; border-radius: 99px; background: var(--accent); display: grid; place-items: center; cursor: ew-resize; touch-action: none; box-shadow: 0 6px 18px -4px rgba(255, 91, 34, .6); }
.resp-grip i { width: 2px; height: 22px; border-left: 2px solid rgba(12, 12, 11, .5); border-right: 2px solid rgba(12, 12, 11, .5); box-sizing: content-box; width: 3px; }
.resp-w { font-family: var(--mono); font-size: 12px; color: var(--mute-d); }
.resp-w b { color: var(--paper); font-weight: 500; }

.serp { padding: 18px 20px; border-radius: 14px; background: #fff; color: #202124; font-family: Arial, "Helvetica Neue", sans-serif; }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; line-height: 1.3; }
.serp-site b { display: block; font-weight: 400; color: #202124; }
.serp-site small { color: #4d5156; font-size: 12px; }
.serp-fav { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; color: #1a0dab; font-weight: 700; font-size: 13px; flex: none; }
.serp-title { margin-bottom: 4px; color: #1a0dab; font-size: 19px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-desc { color: #4d5156; font-size: 14px; line-height: 1.55; }
.serp-links { display: flex; gap: 14px; margin-top: 8px; font-size: 13px; color: #1a0dab; }

.lockbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; color: #202124; font-family: Arial, sans-serif; font-size: 15px; overflow: hidden; }
.lockbar-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e6f4ea; flex: none; }
.lockbar-ico svg { width: 15px; height: 15px; fill: none; stroke: #188038; stroke-width: 1.6; stroke-linejoin: round; }
.lb-shackle { transform: translateY(-2px); }
.lockbar-t { position: relative; white-space: nowrap; }
.lockbar-t s { color: #c5221f; }
.lockbar-t b { font-weight: 400; color: #188038; }
.certs { margin-top: 18px; }
.certs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--mute-d); }
.certs b { color: #6fe0a0; font-family: var(--mono); font-weight: 500; }
.t-lock.is-in .lockbar-t s { animation: lb-out 5s var(--ease) infinite; }
.t-lock.is-in .lockbar-t b { animation: lb-in 5s var(--ease) infinite; }
.t-lock.is-in .lb-shackle { animation: lb-lock 5s var(--spring) infinite; }
.t-lock.is-in .lockbar-ico { animation: lb-bg 5s var(--ease) infinite; }
@keyframes lb-out { 0%, 20% { display: inline; opacity: 1; } 30%, 100% { opacity: 0; display: none; } }
@keyframes lb-in { 0%, 28% { opacity: 0; display: none; } 36%, 92% { opacity: 1; display: inline; } 100% { opacity: 0; } }
@keyframes lb-lock { 0%, 32% { transform: translateY(-2.5px); } 40%, 92% { transform: none; } 100% { transform: translateY(-2.5px); } }
@keyframes lb-bg { 0%, 30% { background: #fce8e6; } 38%, 92% { background: #e6f4ea; } 100% { background: #fce8e6; } }

.book { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-d); }
.book-day { font-size: 14px; font-weight: 600; }
.book-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.book-slots button { height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-d); font-family: var(--mono); font-size: 13px; transition: background-color .25s, color .25s, transform .3s var(--spring); }
.book-slots button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--paper); }
.book-slots button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.book-slots button[aria-pressed="true"] { background: var(--paper); color: var(--ink); transform: scale(1.04); }
.book-go { position: relative; height: 48px; overflow: hidden; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 600; transition: opacity .3s, background-color .4s; }
.book-go:disabled { opacity: .35; cursor: not-allowed; }
.book-go-t, .book-ok { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; transition: transform .6s var(--ease); }
.book-ok { position: absolute; inset: 0; transform: translateY(100%); }
.book-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .6s var(--ease) .25s; }
.book.is-done .book-go { background: #3ddc84; }
.book.is-done .book-go-t { transform: translateY(-100%); }
.book.is-done .book-ok { transform: none; }
.book.is-done .book-ok svg { stroke-dashoffset: 0; }

.keys { display: grid; gap: 10px; }
.keys li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-d); font-weight: 500; }
.key-i { display: grid; place-items: center; min-width: 50px; height: 34px; padding: 0 8px; border-radius: 9px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 600; }

/* ---------- 05 PROCESS ---------- */
.process { padding: clamp(96px, 13vw, 200px) 0; --pp: 0; }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--pp)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); }
.step { position: relative; padding-top: 34px; }
.step::before { content: ""; position: absolute; left: 0; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: background-color .4s, box-shadow .4s, transform .5s var(--spring); }
.step.on::before { background: var(--accent); box-shadow: none; transform: scale(1.25); }
.step-w { margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.step h3 { margin-bottom: 12px; font-size: clamp(28px, 2.8vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; transition: color .4s; }
.step p { color: var(--mute); max-width: 32ch; }
.js .step h3 { color: rgba(12, 12, 11, .3); }
.js .step.on h3 { color: var(--ink); }

/* ---------- 06 PRICES ---------- */
.prices { padding: 0 0 clamp(96px, 13vw, 200px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.4vw, 36px);
  border-radius: clamp(18px, 1.8vw, 28px);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .6s var(--ease);
}
.plan:hover { transform: translateY(-4px); }
.plan:has(input:checked) { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink), 0 40px 80px -40px rgba(12, 12, 11, .35); }
.plan:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-badge { position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 99px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.plan-time { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.plan-price { display: grid; }
.plan-price small { font-size: 13px; color: var(--mute); }
.plan-price b { font-size: clamp(52px, 5.4vw, 88px); font-weight: 600; font-stretch: 86%; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; }
.plan-for { color: var(--mute); font-size: 15px; line-height: 1.5; min-height: 4.5em; }
.plan-list { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.plan-list span { display: flex; gap: 10px; align-items: center; }
.plan-list span::before { content: ""; width: 14px; height: 8px; flex: none; margin-top: -4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-pick { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--mute); }
.plan-pick i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s, background-color .3s; }
.plan-pick span::before { content: "Choose this"; }
.plan-pick span { font-size: 0; }
.plan-pick span::before { font-size: 14px; }
.plan:has(input:checked) .plan-pick { color: var(--ink); }
.plan:has(input:checked) .plan-pick i { background: var(--ink); box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 8px var(--white); }
.plan:has(input:checked) .plan-pick span::before { content: "Selected"; }

.quote { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(10px, 1.2vw, 18px); }
.quote-k { margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.addons { padding: clamp(22px, 2.4vw, 36px); border-radius: clamp(18px, 1.8vw, 28px); box-shadow: inset 0 0 0 1px var(--line); }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); cursor: pointer; }
.addon b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.addon > div > span { font-size: 14px; color: var(--mute); }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; font-size: 18px; transition: background-color .25s; }
.stepper button:hover { background: rgba(12, 12, 11, .07); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--mono); font-size: 15px; }
.toggle { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 54px; height: 32px; border-radius: 99px; background: rgba(12, 12, 11, .14); cursor: pointer; transition: background-color .35s var(--ease); }
.toggle::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--spring); }
.toggle:checked { background: var(--accent); }
.toggle:checked::after { transform: translateX(22px); }
.total { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.4vw, 36px); border-radius: clamp(18px, 1.8vw, 28px); background: var(--ink); color: var(--paper); --mute: var(--mute-d); }
.total-big { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.total-big small { font-size: 16px; color: var(--mute-d); }
.total-big b { font-size: clamp(56px, 6vw, 104px); font-weight: 600; font-stretch: 86%; letter-spacing: -.055em; line-height: .95; }
.total-month { margin-top: 6px; color: var(--accent); font-size: 15px; }
.total-line { margin: 14px 0 26px; color: var(--mute-d); font-size: 14px; line-height: 1.5; }
.total .btn-ink { background: var(--paper); color: var(--ink); }
.total .btn-ink::before { background: var(--accent); }
.total-note { margin-top: 16px; font-size: 13px; color: var(--mute-d); }

.smalljobs { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 80px); margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.smalljobs-head p { color: var(--mute); max-width: 30ch; }
.jobs li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.jobs li:first-child { padding-top: 0; }
.jobs li:hover { padding-left: 10px; }
.jobs h4 { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.jobs p { font-size: 14px; color: var(--mute); }
.jobs li > span { flex: none; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.includes { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 80px); margin-top: clamp(48px, 6vw, 88px); }
.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.ticks li { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; width: 14px; height: 8px; flex: none; margin-top: -4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- 07 PROMISE ---------- */
.promise { padding: clamp(110px, 15vw, 240px) 0; }
.ink p { font-size: clamp(30px, 4.6vw, 76px); font-weight: 520; font-stretch: 96%; letter-spacing: -.035em; line-height: 1.06; text-wrap: pretty; }
.js .ink .iw { color: rgba(242, 239, 232, .16); transition: color .35s; }
.js .ink .iw.on { color: var(--paper); }
.js .ink .iw.hl.on { color: var(--accent); }

/* ---------- 08 FILMS ---------- */
.films { padding: 0 0 clamp(96px, 13vw, 200px); }
.film-row { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: clamp(14px, 3vw, 48px); }
.film:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: clamp(18px, 2vw, 30px); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--mute-d); }
.film figcaption b { color: var(--paper); font-weight: 600; margin-right: 6px; }
.sound { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-d); font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s; }
.sound[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 30%; background: currentColor; }
.sound[aria-pressed="true"] .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; } .eq i:nth-child(3) { animation-delay: -.6s !important; } .eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* ---------- 09 FAQ ---------- */
.faq { padding: clamp(96px, 13vw, 200px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq-head { position: sticky; top: 110px; display: grid; gap: 22px; }
.faq-head .kicker { margin-bottom: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(19px, 1.7vw, 26px); font-weight: 560; letter-spacing: -.025em; transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(180deg); background: var(--ink); color: var(--paper); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { max-width: 58ch; padding-bottom: 26px; color: var(--mute); font-size: 17px; line-height: 1.6; }

/* ---------- 10 BRIEF ---------- */
.brief { padding: clamp(96px, 13vw, 200px) 0; }
.brief-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 120px); align-items: start; }
.brief .kicker span { border-color: rgba(12, 12, 11, .3); }
.brief-title { font-size: clamp(56px, 9vw, 160px); font-weight: 600; font-stretch: 90%; letter-spacing: -.06em; line-height: .86; }
.brief-sub { max-width: 34ch; margin-top: 26px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.brief-promise { display: grid; gap: 8px; margin-top: 30px; }
.brief-promise li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.brief-promise li::before { content: ""; width: 14px; height: 8px; margin-top: -4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.form { display: grid; gap: 30px; padding: clamp(24px, 3vw, 44px); border-radius: clamp(20px, 2vw, 32px); background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(12, 12, 11, .1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brief .field > span, .brief .need legend { color: rgba(12, 12, 11, .7); }
.brief .field input, .brief .field textarea { border-bottom-color: rgba(12, 12, 11, .3); }
.brief .field input:focus, .brief .field textarea:focus { border-bottom-color: var(--ink); }
.brief .field input::placeholder, .brief .field textarea::placeholder { color: rgba(12, 12, 11, .5); }
.need-list span { box-shadow: inset 0 0 0 1px rgba(12, 12, 11, .3); }
.need-list span small { font-family: var(--mono); font-size: 12px; opacity: .7; }
.need-list input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.form-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-alt { font-size: 15px; }
.form-alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 13px; color: rgba(12, 12, 11, .65); }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status a { text-decoration: underline; }
.field-copy { display: block; width: 100%; margin-top: 12px; padding: 12px; border: 1px solid rgba(12, 12, 11, .3); border-radius: 12px; background: rgba(255, 255, 255, .5); font: 14px/1.5 var(--mono); }
.field.is-bad input { border-bottom-color: #7a0b0b; }
.field.is-bad > span { color: #7a0b0b !important; }

/* ---------- footer ---------- */
.foot { padding: clamp(80px, 10vw, 160px) 0 calc(24px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.foot-line { font-size: clamp(44px, 6vw, 100px); font-weight: 580; font-stretch: 92%; letter-spacing: -.05em; line-height: .9; }
.foot-line em { font-family: var(--serif); color: var(--accent); letter-spacing: -.03em; }
.foot-cols { display: flex; gap: clamp(40px, 6vw, 110px); }
.foot-cols nav { display: grid; gap: 8px; align-content: start; }
.foot-cols a { color: var(--mute-d); font-size: 15px; transition: color .3s; }
.foot-cols a:hover { color: var(--paper); }
.word { margin: clamp(48px, 7vw, 110px) 0 clamp(18px, 2vw, 28px); line-height: .78; white-space: nowrap; text-align: center; font-weight: 800; font-stretch: 100%; letter-spacing: -.04em; color: var(--paper); user-select: none; }
.word span { display: inline-block; }
.word .wl { display: inline-block; font-variation-settings: "wght" var(--w, 800), "wdth" var(--s, 100); transition: color .4s; }
.word .wl.hot { color: var(--accent); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--mute-d); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sec-head-split { grid-template-columns: 1fr; }
  .sec-head-split .sec-sub { justify-self: start; }
  .nav a { padding: 9px 12px; }
  .build { grid-template-columns: 1fr; }
  .build-ctrl { position: static; }
  .t-speed { grid-column: span 12; grid-row: auto; }
  .t-resp { grid-column: span 12; }
  .t-serp, .t-lock { grid-column: span 6; }
  .quote { grid-template-columns: 1fr; }
  .faq-grid, .brief-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .head { grid-template-columns: 1fr auto auto; }
  .nav { display: none; }
  .head-cta { height: 40px; padding: 0 16px; }
  .menu-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(30, 30, 27, .6); color: var(--paper); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .head.is-light .menu-btn { background: rgba(251, 250, 247, .75); color: var(--ink); }
  .menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
  .menu-btn i:first-of-type { transform: translateY(-3.5px); }
  .menu-btn i:last-of-type { transform: translateY(3.5px); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: rotate(-45deg); }
  .menu-open .head { color: var(--paper); }
  .menu-open .head .menu-btn { background: rgba(242, 239, 232, .1); color: var(--paper); }
  .checks { grid-template-columns: 1fr; gap: 36px; }
  .wk { grid-template-columns: 1fr; width: 84vw; }
  .t-serp, .t-lock, .t-book, .t-own { grid-column: span 12; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .smalljobs, .includes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { height: 210vh; }
  .hero-h { font-size: min(15.2vw, 12vh); }
  .hero-row { margin-top: 18px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-sub { font-size: 16px; }
  .hero-device { width: min(300px, 64vw); transform: translateY(calc((1 - var(--e)) * 58vh)) rotateX(calc((1 - var(--e)) * 18deg)) scale(calc(.82 + var(--e) * .3)); }
  .hero-device .browser { display: none; }
  .hero-phone { position: relative; right: auto; bottom: auto; width: 100%; transform: none; }
  .chip { display: none; }
  .meter { font-size: 11px; padding: 7px 12px; }
  .meter-x { display: none; }
  .scroll-hint { display: none; }
  .ba-frame { aspect-ratio: 4 / 5.2; }
  .pin-3, .pin-4 { display: none; }
  .pin { font-size: 12px; }
  .ba-knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .build { gap: 28px; }
  .build-ctrl { display: contents; }
  .build-ctrl .field { order: 1; }
  .build-out { order: 2; padding-right: 0; padding-bottom: 0; }
  .kinds { order: 3; }
  .build-look { order: 4; }
  .build-go { order: 5; }
  .out-desk { display: none; }
  .out-phone { position: relative; width: min(290px, 72vw); margin: 0 auto; }
  .out-status { display: flex; justify-content: center; }
  .wk { width: 86vw; padding: 16px 16px 24px; }
  .wk-text { padding: 0 6px; }
  .bento { gap: 10px; }
  .tile { min-height: 0; }
  .book-slots { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps-line { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line span { transform-origin: 50% 0; transform: scaleY(var(--pp)); }
  .step { padding: 0 0 0 36px; }
  .step::before { left: 0; top: 4px; }
  .plans { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .ticks { grid-template-columns: 1fr; }
  .film-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .film figcaption { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .foot-cols { gap: 40px; }
  .foot-row { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100svh; padding-bottom: 60px; }
  .hero-copy { transform: none; opacity: 1; }
  .hero-stage { position: relative; inset: auto; margin-top: 48px; padding: 0 var(--pad); }
  .hero-device { transform: none !important; }
  .chip { display: none; }
  .hero-foot { position: relative; opacity: 1; margin-top: 40px; }
  .grain { display: none; }
}
