/* =====================================================================
   Reframe Studio · the studio's own site
   Concept: the site is a viewfinder. Crop corners, a REC dot, red-pen
   audit marks. Paper + ink + one signal red. Hand-written, no framework.
   ===================================================================== */

@font-face { font-family: 'Bricolage Grotesque'; src: url(fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jbmono.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
/* the fictional clinic inside the lens has its own type: Source Serif 4 (display optical size) + Instrument Sans */
@font-face { font-family: 'Source Serif 4'; src: url(fonts/source-serif.woff2) format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(fonts/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --paper: #f0eee6; --paper-2: #e6e3d8; --white: #fbfaf7;
  --ink: #0d0d0e; --ink-2: #151517; --ink-3: #1d1d20;
  --mute: #63625c; --mute-d: #9d9b93;
  --signal: #ff3b1d; --signal-ink: #c42407;
  --rule: rgba(13, 13, 14, .16); --rule-d: rgba(240, 238, 230, .16);
  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --n-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gut: clamp(16px, 3.6vw, 48px);
  --hdr: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.mono { font-family: var(--mono); }
.hand { font-family: var(--hand); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* section label: a numbered index on a hairline */
.label { display: flex; gap: 14px; align-items: baseline; margin: 0 0 clamp(28px, 4vw, 56px); padding-top: 14px; border-top: 1px solid var(--rule); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.label span { color: var(--signal-ink); }
[data-tone="dark"] .label { border-color: var(--rule-d); color: var(--mute-d); }
[data-tone="dark"] .label span { color: var(--signal); }

/* buttons: flat, 6px, no glow */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 6px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; transition: transform .16s var(--ease-out), background-color .2s ease; }
.btn span { transition: transform .3s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover span { transform: translateX(4px); }
  .btn:hover { background: var(--signal); color: var(--ink); }
  .btn--line:hover { background: var(--ink); color: var(--paper); }
  .tlink:hover { text-decoration-color: var(--signal); }
}

/* crop corners as one background: put .cm on any box */
.cm { --cmc: var(--ink); --cms: 18px; --cmw: 2px;
  background:
    linear-gradient(var(--cmc) 0 0) 0 0 / var(--cms) var(--cmw), linear-gradient(var(--cmc) 0 0) 0 0 / var(--cmw) var(--cms),
    linear-gradient(var(--cmc) 0 0) 100% 0 / var(--cms) var(--cmw), linear-gradient(var(--cmc) 0 0) 100% 0 / var(--cmw) var(--cms),
    linear-gradient(var(--cmc) 0 0) 0 100% / var(--cms) var(--cmw), linear-gradient(var(--cmc) 0 0) 0 100% / var(--cmw) var(--cms),
    linear-gradient(var(--cmc) 0 0) 100% 100% / var(--cms) var(--cmw), linear-gradient(var(--cmc) 0 0) 100% 100% / var(--cmw) var(--cms);
  background-repeat: no-repeat; }

.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .rec { animation: rec 1.6s steps(1) infinite; } }
@keyframes rec { 50% { opacity: .25; } }

/* ---------- boot ---------- */
.boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ink); color: var(--paper); clip-path: inset(0); animation: boot-safe 0s linear 4.5s forwards; }
.boot.out { clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
.no-boot .boot, html:not(.js) .boot { display: none; }
@keyframes boot-safe { to { visibility: hidden; } }
.boot__frame { position: absolute; left: 50%; top: 50%; width: 300px; height: 225px; transform: translate(-50%, -50%); transition: width .38s var(--ease-out), height .38s var(--ease-out); }
.boot__frame i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--signal); }
.boot__frame i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; }
.boot__frame i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; }
.boot__frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.boot__frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.boot__count { position: relative; margin: 0; font: 760 clamp(64px, 11vw, 160px)/1 var(--sans); font-stretch: 78%; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.boot__count small { font-size: .3em; font-weight: 500; letter-spacing: 0; margin-left: .1em; color: var(--mute-d); }
.boot__ratio { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--gut) + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.boot__ratio span { transition: color .2s ease; }
.boot__ratio span.on { color: var(--signal); }

/* ---------- cursor frame ---------- */
.cf { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.cf.on { opacity: 1; }
.cf i { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 0 solid var(--signal); will-change: transform; }
.cf i:nth-child(1) { border-width: 2px 0 0 2px; }
.cf i:nth-child(2) { border-width: 2px 2px 0 0; }
.cf i:nth-child(3) { border-width: 0 0 2px 2px; }
.cf i:nth-child(4) { border-width: 0 2px 2px 0; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hdr); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--gut); padding-top: env(safe-area-inset-top); color: var(--ink); transition: color .3s ease, transform .45s var(--ease-out); }
.hdr[data-tone="dark"] { color: var(--paper); }
.hdr.hide { transform: translateY(-110%); }
.hdr__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; margin-right: auto; min-height: 44px; }
.hdr__brand .mark { width: 30px; height: 30px; }
.hdr__word span { font-weight: 400; opacity: .6; }
.hdr__hud { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; font-variant-numeric: tabular-nums; opacity: .8; }
.hdr__nav { display: flex; gap: clamp(16px, 2vw, 28px); }
.hdr__nav a, .hdr__cta { text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.hdr__nav a { position: relative; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.hdr__cta { padding: 0 16px; min-height: 40px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hdr__cta:hover { background: var(--signal); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--signal); }
}
.hdr__menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 8px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 15px; }
.hdr__burger { position: relative; width: 26px; height: 14px; }
.hdr__burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.hdr__burger i:first-child { top: 2px; }
.hdr__burger i:last-child { top: 10px; }
.menu-open .hdr__burger i:first-child { top: 6px; transform: rotate(45deg); }
.menu-open .hdr__burger i:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .hdr__hud { display: none; } }
@media (max-width: 960px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 520px) { .hdr__cta { display: none; } }

/* phone menu: full-screen ink sheet, revealed top-down */
.menu { position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--hdr) + env(safe-area-inset-top) + 20px) var(--gut) calc(var(--gut) + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io), visibility 0s linear .6s; }
.menu.open { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease-io), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule-d); text-decoration: none; font: 720 clamp(40px, 10.5vw, 84px)/1 var(--sans); font-stretch: 78%; letter-spacing: -.022em; opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .5s var(--ease-out), color .2s ease; }
.menu__nav a small { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--signal); }
.menu.open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * 50ms); }
.menu__nav a:nth-child(2) { --i: 1; } .menu__nav a:nth-child(3) { --i: 2; } .menu__nav a:nth-child(4) { --i: 3; } .menu__nav a:nth-child(5) { --i: 4; }
.menu__nav a:active { color: var(--signal); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; margin: 0; font: 500 13px/1.4 var(--mono); color: var(--mute-d); }
.menu__foot a { color: var(--paper); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
html.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 270svh; }
.hero__pin { position: sticky; top: 0; height: 100svh; min-height: 540px; overflow: hidden; }
.hero__head { position: relative; height: 100%; display: flex; flex-direction: column; padding: calc(var(--hdr) + env(safe-area-inset-top) + 6px) var(--gut) var(--gut); }
.hero__kicker { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hero__titlewrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 20px 56px; align-items: end; padding-top: clamp(14px, 2.4vh, 32px); }
.hero__title { margin: 0; font-size: clamp(54px, 10.4vw, 188px); font-weight: 760; font-stretch: 78%; line-height: .86; letter-spacing: -.028em; }
.hero__l1, .hero__l2 { display: block; }
.framed { position: relative; display: inline-block; padding: 0 .07em; margin: 0 -.07em; }
.framed i { position: absolute; width: .17em; height: .17em; border: 0 solid var(--signal); transition: transform .9s var(--ease-out) .35s, opacity .4s ease .35s; }
.framed i:nth-child(1) { left: -.02em; top: .02em; border-width: .045em 0 0 .045em; }
.framed i:nth-child(2) { right: -.02em; top: .02em; border-width: .045em .045em 0 0; }
.framed i:nth-child(3) { left: -.02em; bottom: -.04em; border-width: 0 0 .045em .045em; }
.framed i:nth-child(4) { right: -.02em; bottom: -.04em; border-width: 0 .045em .045em 0; }
.js:not(.ready) .framed i { opacity: 0; }
.js:not(.ready) .framed i:nth-child(1) { transform: translate(-.5em, -.4em); }
.js:not(.ready) .framed i:nth-child(2) { transform: translate(.5em, -.4em); }
.js:not(.ready) .framed i:nth-child(3) { transform: translate(-.5em, .4em); }
.js:not(.ready) .framed i:nth-child(4) { transform: translate(.5em, .4em); }
.hero__aside { padding-bottom: .5em; }
.hero__lede { margin: 0 0 14px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; }
.hero__slot { flex: 1; min-height: 180px; margin-top: clamp(16px, 2.8vh, 32px); }

/* the screen: a full-viewport website, cropped down to the slot; scrolling widens the crop */
.screen { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #cfcac0; clip-path: inset(62% var(--gut) var(--gut) var(--gut) round 14px); }
.screen__inner { position: absolute; inset: 0; transform: translate3d(0, 62%, 0); }
.mock { position: absolute; inset: 0; overflow: hidden; }
.screen__marks { position: absolute; z-index: 3; top: 62%; left: var(--gut); right: var(--gut); bottom: var(--gut); pointer-events: none; }
.screen__marks i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--ink); }
.screen__marks i:nth-child(1) { left: -9px; top: -9px; border-width: 2px 0 0 2px; }
.screen__marks i:nth-child(2) { right: -9px; top: -9px; border-width: 2px 2px 0 0; }
.screen__marks i:nth-child(3) { left: -9px; bottom: -9px; border-width: 0 0 2px 2px; }
.screen__marks i:nth-child(4) { right: -9px; bottom: -9px; border-width: 0 2px 2px 0; }
.hero__hint { position: absolute; z-index: 3; top: 0; right: 0; transform: translateY(calc(-100% - 12px)); margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }

/* browser bars */
.bar { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; z-index: 2; }
.bar i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.bar__url { display: flex; align-items: center; gap: 8px; margin-left: 12px; min-width: 0; flex: 1; max-width: 640px; height: 26px; padding: 0 12px; border-radius: 6px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar--old { background: linear-gradient(#ececec, #cfcfcf); border-bottom: 1px solid #9a9a9a; font-family: Tahoma, Verdana, sans-serif; }
.bar--old i { background: #b9b9b9; border: 1px solid #8a8a8a; }
.bar--old .bar__url { background: #fff; border: 1px solid #8a8a8a; border-radius: 2px; color: #333; }
.bar__warn { color: #b3261e; font-weight: 700; flex: none; }
.bar--new { background: #fff; border-bottom: 1px solid #e9e5dc; font-family: var(--sans); }
.bar--new i { background: #e6e2d9; }
.bar--new .bar__url { background: #f3f0ea; color: #3b4a47; }
.bar--new svg { width: 11px; height: 12px; flex: none; color: #2f7a5b; }

/* BEFORE: the dated site */
.mock--before { z-index: 0; background: repeating-linear-gradient(45deg, #d9d9d9 0 6px, #cdcdcd 6px 12px); font-family: 'Times New Roman', Times, serif; color: #000; }
.old { position: absolute; top: 56px; left: 50%; width: 980px; transform: translateX(-50%) scale(var(--os, 1)); transform-origin: 50% 0; background: #fff; border: 2px solid #000033; box-shadow: 5px 5px 0 #777; }
.old p { margin: 0; }
.old__top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: linear-gradient(#003399, #0066cc); color: #fff; border-bottom: 3px ridge #99ccff; }
.old__clip { width: 64px; height: 70px; flex: none; }
.old__brand { flex: 1; }
.old__name { font: bold 36px/1 'Times New Roman', Times, serif; text-shadow: 3px 3px 0 #000; letter-spacing: 1px; }
.old__slogan { font: italic 17px/1.4 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #ffff66; margin-top: 4px !important; }
.old__phone { text-align: right; font: bold 13px/1.25 Arial, sans-serif; color: #ffcc00; }
.old__phone b { display: block; font-size: 22px; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .old__phone b { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { color: #ff3333; } }
.old__marq { overflow: hidden; white-space: nowrap; background: #ffff00; color: #cc0000; font: bold 14px/26px Arial, sans-serif; border-bottom: 2px solid #cc0000; }
.old__marq span { display: inline-block; padding-left: 100%; }
@media (prefers-reduced-motion: no-preference) { .old__marq span { animation: marq 16s linear infinite; } }
@keyframes marq { to { transform: translateX(-100%); } }
.old__nav { display: flex; gap: 4px; margin: 0; padding: 5px 6px; list-style: none; background: #c0c0c0; border-bottom: 2px solid #808080; }
.old__nav li { padding: 4px 12px; border: 2px outset #f2f2f2; background: #dcdcdc; font: 13px Verdana, sans-serif; color: #0000ee; text-decoration: underline; }
.old__body { display: grid; grid-template-columns: 210px 1fr; }
.old__side { padding: 12px; background: #ffffcc; border-right: 3px ridge #cccc99; font: 12px Arial, sans-serif; }
.old__h { margin: 10px 0 6px !important; font: bold 14px Arial, sans-serif; color: #003399; text-decoration: underline; }
.old__h:first-child { margin-top: 0 !important; }
.old__side table { width: 100%; border-collapse: collapse; border: 1px solid #999; background: #fff; }
.old__side td { border: 1px solid #bbb; padding: 2px 5px; }
.old__counter { display: inline-flex; gap: 2px; padding: 3px; background: #000; }
.old__counter span { width: 15px; text-align: center; background: #111; color: #39ff14; font: bold 15px/20px 'Courier New', monospace; border: 1px solid #333; }
.old__badge { margin-top: 12px !important; padding: 6px; border: 1px dashed #666; text-align: center; font: 10px/1.3 Verdana, sans-serif; color: #333; }
.old__main { padding: 14px 20px 18px; font: 15px/1.35 'Times New Roman', Times, serif; }
.old__h1 { margin: 2px 0 10px !important; text-align: center; font: bold 28px/1.1 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive; color: #990000; }
.old__main u { color: #0000ee; }
.old__uc { margin: 14px auto 12px; width: 70%; padding: 7px; text-align: center; font: bold 15px/1 Arial, sans-serif; letter-spacing: 3px; color: #fff; background: repeating-linear-gradient(45deg, #ffcc00 0 14px, #111 14px 28px); text-shadow: 0 0 3px #000, 0 0 3px #000; }
.old__flash { margin: 0 auto 12px; width: 70%; padding: 18px 10px; text-align: center; background: #eee; border: 1px solid #999; font: 13px Verdana, sans-serif; color: #444; }
.old__flash b { color: #b3261e; }
.old__small { text-align: center; font: 11px/1.4 Verdana, sans-serif; color: #666; }

/* red pen */
.pen { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.pen__n { position: absolute; left: 0; top: 0; margin: 0; font: 600 25px/.95 var(--hand); color: var(--signal); white-space: nowrap; transform-origin: 0 50%; text-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 2px #fff; opacity: 0; transition: opacity .4s ease; }
.pen__n.on { opacity: 1; }
.pen__ring { position: absolute; left: 0; top: 0; overflow: visible; }
.pen__ring path { fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-out); }
.pen__ring.on path { stroke-dashoffset: 0; }

/* AFTER: the same practice, reframed: a calm, editorial clinic site that explains (porcelain, navy, one stone panel) */
.mock--after { z-index: 1; --n-ink: #0f2a3a; --n-mute: #4b6271; --n-acc: #2b6c8c; --n-bg: #f7f5f0; --n-stone: #ebe6dc; --n-rule: rgba(15, 42, 58, .14);
  background: var(--n-bg); color: var(--n-ink); font-family: var(--n-sans); clip-path: inset(30% 30% 30% 30% round 10px); }
.pv-feat__open i { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6b; box-shadow: 0 0 0 3px rgba(47, 158, 107, .2); }
.new { position: absolute; left: 0; right: 0; top: 40px; bottom: 0; display: flex; flex-direction: column; }
.new p { margin: 0; }
.new__util { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 30px; padding: 0 clamp(18px, 4vw, 64px); background: var(--n-ink); color: #c5d3db; font-size: 12px; letter-spacing: .01em; }
.new__util > span:first-child span + span::before { content: "·"; margin: 0 10px; opacity: .5; }
.new__nav { flex: none; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); height: 72px; margin: 0 clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--n-rule); }
.new .new__logo { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.new__logo svg { width: 34px; height: 34px; flex: none; }
.new__logo b { display: block; font: 600 21px/1 var(--serif); letter-spacing: -.012em; }
.new__logo small { display: block; margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--n-mute); }
.new__links { display: flex; gap: clamp(14px, 1.9vw, 30px); font-size: 14.5px; }
.new__tel { font-size: 14px; font-weight: 600; line-height: 1.15; text-align: right; white-space: nowrap; }
.new__tel small { display: block; font-size: 11px; font-weight: 400; color: var(--n-mute); }
.new__book { padding: 11px 16px; border-radius: 6px; background: var(--n-ink); color: var(--n-bg); font-size: 14px; font-weight: 600; white-space: nowrap; }
.new__book-s { display: none; }
.new__hero { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); grid-template-rows: minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; padding: clamp(24px, 4.5vh, 52px) clamp(18px, 4vw, 64px) clamp(84px, 11vh, 108px); }
.new__over { font: 600 11.5px/1 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-acc); }
.new__h { margin-top: 16px !important; max-width: 16ch; text-wrap: balance; font: 500 clamp(32px, 4.3vw, 70px)/1.04 var(--serif); letter-spacing: -.024em; }
.new__p { margin-top: 18px !important; max-width: 46ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: var(--n-mute); }
.new__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px !important; font-size: 15px; font-weight: 600; }
.new__btn { padding: 14px 20px; border-radius: 6px; background: var(--n-ink); color: var(--n-bg); }
.new__ghost { padding-bottom: 2px; border-bottom: 1.5px solid currentColor; color: var(--n-acc); }
.new__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin-top: clamp(22px, 4vh, 44px) !important; border-top: 1px solid var(--n-rule); }
.new__facts > span { padding: 12px 14px 0 0; font-size: 14px; line-height: 1.35; }
.new__facts > span + span { padding-left: 14px; border-left: 1px solid var(--n-rule); }
.new__facts small { display: block; margin-bottom: 5px; font: 600 10.5px/1 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-mute); }
.new__index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; max-width: 560px; margin: clamp(26px, 4vh, 44px) 0 0; padding: 0; list-style: none; }
.new__index li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--n-rule); font-size: 15px; font-weight: 500; }
.new__index small { font: 600 11px/1 var(--n-sans); letter-spacing: .06em; color: var(--n-mute); font-variant-numeric: tabular-nums; }
.new__index i { margin-left: auto; font-style: normal; color: var(--n-acc); }
@media (max-height: 820px) { .new__index { display: none; } }
/* the patient-guide plate: an anatomical figure with museum captions */
.plate { position: relative; display: flex; flex-direction: column; height: 100%; max-height: 580px; min-height: 0; margin: 0; padding: 14px 16px; border-radius: 4px; background: var(--n-stone); }
.plate__tag { display: flex; justify-content: space-between; font: 600 10.5px/1 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-mute); }
.plate__svg { flex: 1; min-height: 0; width: 100%; height: 100%; margin: 6px 0 10px; }
.plate__cap { padding-top: 10px; border-top: 1px solid var(--n-rule); font-size: 13.5px; line-height: 1.45; color: var(--n-mute); }
.plate__cap b { font-weight: 600; color: var(--n-ink); }
.plate__cap span { white-space: nowrap; font-weight: 600; color: var(--n-acc); }
.pl-lead path { fill: none; stroke: #0f2a3a; stroke-width: .9; }
.pl-dot circle { fill: #0f2a3a; }
.pl-lab text { font: 600 13px var(--n-sans); letter-spacing: .12em; fill: #0f2a3a; }
.pl-num { fill: #2b6c8c; }
@media (max-width: 760px) {
  .new__util, .new__links, .new__tel { display: none; }
  .new__nav { height: 62px; gap: 12px; }
  .new__logo b { font-size: 19px; }
  .new__logo small { font-size: 8.5px; }
  .new__book { padding: 9px 13px; font-size: 13px; }
  .new__book-l { display: none; } .new__book-s { display: inline; }
  .new__hero { grid-template-columns: 1fr; grid-template-rows: none; align-content: start; gap: 18px; padding-top: 18px; padding-bottom: 96px; }
  .new__h { font-size: 34px; }
  .new__facts { grid-template-columns: 1fr 1fr; }
  .new__facts > span:nth-child(3) { display: none; }
  .plate { height: 32vh; padding: 10px 12px; }
  .plate__cap span { display: none; }
  .pl-x, .pl-num, .new__index { display: none; }
  .pl-lab text { font-size: 20px; }
}
@media (max-height: 720px) and (min-width: 761px) { .new__facts { display: none; } .new__util { display: none; } }

/* the lens */
.lens { position: absolute; left: 0; top: 0; z-index: 3; width: 380px; height: 250px; pointer-events: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 59, 29, .45), 0 30px 60px -20px rgba(13, 13, 14, .45); transform: translate3d(calc(50vw - 190px), 70vh, 0); }
.lens__c { position: absolute; width: 22px; height: 22px; border: 0 solid var(--signal); }
.lens__c:nth-child(1) { left: -7px; top: -7px; border-width: 3px 0 0 3px; }
.lens__c:nth-child(2) { right: -7px; top: -7px; border-width: 3px 3px 0 0; }
.lens__c:nth-child(3) { left: -7px; bottom: -7px; border-width: 0 0 3px 3px; }
.lens__c:nth-child(4) { right: -7px; bottom: -7px; border-width: 0 3px 3px 0; }
.lens__tag { position: absolute; left: -7px; top: -36px; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 4px; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.lens__xy { position: absolute; right: -7px; bottom: -32px; padding: 5px 7px; border-radius: 4px; background: rgba(13, 13, 14, .82); color: var(--paper); font: 500 10.5px/1 var(--mono); letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lens__tag, .lens__xy { transition: opacity .3s ease; }
.lens.full .lens__tag, .lens.full .lens__xy, .lens.full .lens__c { opacity: 0; }
.lens.full { box-shadow: none; }

.screen__stamp { position: absolute; z-index: 4; left: 50%; bottom: clamp(16px, 3vh, 28px); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 2 * var(--gut)); padding: 12px 18px 12px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); white-space: nowrap; opacity: 0; transform: translate(-50%, 14px); transition: opacity .45s ease, transform .6s var(--ease-out); }
.screen__stamp b { font: 760 26px/1 var(--sans); font-stretch: 78%; letter-spacing: -.02em; }
.screen__stamp b::after { content: ""; display: inline-block; width: .24em; height: .24em; margin-left: .16em; border-radius: 50%; background: var(--signal); vertical-align: .08em; }
.screen__stamp span { padding-left: 14px; border-left: 1px solid var(--rule-d); font-size: 14.5px; color: #c9c7bf; }
.screen__stamp.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) { .screen__stamp { left: var(--gut); right: var(--gut); bottom: var(--gut); max-width: none; white-space: normal; transform: translateY(14px); } .screen__stamp.on { transform: none; } .screen__stamp { right: auto; padding: 10px 14px; } .screen__stamp b { font-size: 22px; } .screen__stamp span { display: none; } }
@media (max-width: 860px) {
  .hero__titlewrap { grid-template-columns: 1fr; gap: 16px; }
  .hero__aside { padding-bottom: 0; }
  .hero__kicker span + span { display: none; }
  .lens { width: 220px; height: 150px; }
}

/* ---------- 01 · WHY ---------- */
.why { position: relative; padding: clamp(96px, 13vw, 200px) var(--gut) clamp(72px, 9vw, 130px); }
.why__text { margin: 0; max-width: 24ch; font: 560 clamp(30px, 4.6vw, 76px)/1.04 var(--sans); letter-spacing: -.024em; }
.why__text .w { transition: color .35s ease; }
.js .why__text[data-split] .w { color: #858480; }
.js .why__text[data-split] .w.on { color: var(--ink); }
.pen-under { position: relative; white-space: nowrap; }
.pen-under svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .3em; overflow: visible; }
.pen-under path { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out); }
.pen-under.drawn path, html:not(.js) .pen-under path { stroke-dashoffset: 0; }
.why__note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0 clamp(120px, 22vw, 340px); font-size: clamp(24px, 2.2vw, 32px); line-height: 1; color: var(--signal-ink); transform: rotate(-3deg); transform-origin: 0 0; }
.why__note svg { flex: none; width: 54px; height: 36px; margin-top: -14px; }
@media (max-width: 700px) { .why__note { margin-left: 64px; } }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: clamp(64px, 8vw, 120px) 0 0; padding: 0; list-style: none; }
.rules li { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.rules span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-ink); }
.rules h3 { margin: 10px 0 8px; font: 650 clamp(22px, 2vw, 30px)/1.1 var(--sans); letter-spacing: -.02em; }
.rules p { margin: 0; color: var(--mute); max-width: 38ch; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; gap: 28px; } }

/* the red band */
.band { overflow: hidden; background: var(--signal); color: var(--ink); border-block: 1.5px solid var(--ink); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__track span { display: flex; align-items: center; gap: .45em; padding: .14em .45em .2em 0; font: 760 clamp(38px, 6.2vw, 104px)/1 var(--sans); font-stretch: 78%; letter-spacing: -.022em; white-space: nowrap; }
.band__track span::after { content: ""; width: .34em; height: .34em; border: .07em solid currentColor; border-radius: 50%; }
html:not(.js) .band__track { animation: marq 30s linear infinite; }

/* ---------- 02 · METHOD ---------- */
.method { position: relative; background: var(--ink); color: var(--paper); }
.method__pin { padding: clamp(96px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.method__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gut); }
.method__head .label { flex-basis: 100%; }
.method__head { flex-wrap: wrap; }
.method__title { margin: 0; font: 760 clamp(46px, 6.6vw, 116px)/.88 var(--sans); font-stretch: 78%; letter-spacing: -.028em; }
.method__count { margin: 0; font-size: 13px; letter-spacing: .12em; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.method__count span { color: var(--signal); }
.method__view { margin-top: clamp(32px, 4vw, 56px); }
.method__track { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 0 var(--gut); list-style: none; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border: 1px solid var(--rule-d); border-radius: 4px; background: var(--ink-2); }
/* film-strip sprockets */
.scene::before, .scene::after { content: ""; position: absolute; left: 10px; right: 10px; height: 6px; background: repeating-linear-gradient(90deg, rgba(240, 238, 230, .2) 0 9px, transparent 9px 22px); }
.scene::before { top: -14px; } .scene::after { bottom: -14px; }
.scene__art { position: relative; min-height: 340px; overflow: hidden; border-right: 1px solid var(--rule-d); background-image: linear-gradient(var(--rule-d) 1px, transparent 1px), linear-gradient(90deg, var(--rule-d) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; background-color: #111113; }
.scene__copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 48px); }
.scene__n { margin: 0 0 auto; padding-bottom: 32px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.scene h3 { margin: 0 0 14px; font: 640 clamp(26px, 2.6vw, 42px)/1.06 var(--sans); letter-spacing: -.025em; }
.scene__copy > p:last-child { margin: 0; color: var(--mute-d); font-size: clamp(16px, 1.15vw, 18px); max-width: 44ch; }

/* desktop: the strip runs sideways while the section is pinned */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .method__pin { position: sticky; top: 0; height: 100svh; min-height: 620px; display: flex; flex-direction: column; padding: calc(var(--hdr) + 16px) 0 28px; overflow: hidden; }
  .js .method__view { flex: 1; min-height: 0; margin-top: clamp(20px, 3vh, 40px); padding: 16px 0; }
  .js .method__track { flex-direction: row; height: 100%; gap: clamp(20px, 2.2vw, 32px); width: max-content; will-change: transform; }
  .js .scene { width: min(74vw, 1080px); height: 100%; }
  .js .scene__art { min-height: 0; }
  .js .method__title br { display: inline; }
}
.method__prog { margin: 18px var(--gut) 0; height: 2px; background: var(--rule-d); }
.method__prog i { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
@media (max-width: 899px), (prefers-reduced-motion: reduce) { .method__prog, .method__count { display: none; } }
@media (max-width: 760px) {
  .scene { grid-template-columns: 1fr; }
  .scene__art { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--rule-d); }
  .scene__n { padding-bottom: 14px; }
}

/* scene art · 01 audit */
.art-audit { display: grid; align-content: center; justify-items: center; gap: 30px; padding: 32px; }
.gauge { position: relative; width: min(300px, 76%); }
.gauge svg { width: 100%; overflow: visible; }
.gauge__bg, .gauge__val { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge__bg { stroke: rgba(240, 238, 230, .12); }
.gauge__val { stroke: var(--signal); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s var(--ease-out) .2s; }
.scene.on .gauge__val, html:not(.js) .gauge__val { stroke-dashoffset: 66; }
.gauge__n { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0; text-align: center; font: 760 clamp(52px, 5vw, 76px)/1 var(--sans); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.gauge__l { margin: 10px 0 0; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.checks { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.checks li { display: flex; align-items: center; gap: 9px; transition: opacity .4s ease, transform .5s var(--ease-out); }
.js .checks li { opacity: 0; transform: translateY(8px); }
.checks li::before { content: "✕"; font-weight: 700; color: var(--signal); }
.checks li.ok::before { content: "✓"; color: #79d48c; }
.scene.on .checks li { opacity: 1; transform: none; }
.checks li:nth-child(1) { transition-delay: .5s; } .checks li:nth-child(2) { transition-delay: .6s; } .checks li:nth-child(3) { transition-delay: .7s; }
.checks li:nth-child(4) { transition-delay: .8s; } .checks li:nth-child(5) { transition-delay: .9s; } .checks li:nth-child(6) { transition-delay: 1s; }

/* 02 extract */
.art-extract { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; padding: clamp(24px, 3vw, 44px); }
.page { position: relative; display: flex; flex-direction: column; gap: 9px; aspect-ratio: 3 / 4; max-height: 100%; padding: 16px; overflow: hidden; border: 1px solid var(--rule-d); border-radius: 6px; background: var(--ink-3); }
.page b { height: 22%; flex: none; border-radius: 3px; background: rgba(240, 238, 230, .1); }
.page span { height: 7px; flex: none; border-radius: 2px; background: rgba(240, 238, 230, .18); }
.page span.s { width: 58%; }
.page em { height: 15%; flex: none; border-radius: 3px; background: rgba(240, 238, 230, .07); }
.page__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--signal); box-shadow: 0 0 22px 5px rgba(255, 59, 29, .45); }
@media (prefers-reduced-motion: no-preference) {
  .page__scan { animation: scan 2.8s var(--ease-io) infinite alternate; animation-play-state: paused; }
  .scene.on .page__scan { animation-play-state: running; }
}
@keyframes scan { to { transform: translateY(calc(var(--ph, 300px) - 2px)); } }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.chips li { padding: 7px 11px; border: 1px solid var(--rule-d); border-radius: 4px; transition: opacity .4s ease, transform .55s var(--ease-out), border-color .4s ease, color .4s ease; }
.js .chips li { opacity: 0; transform: translateX(-18px); }
.scene.on .chips li { opacity: 1; transform: none; }
.scene.on .chips li:hover { border-color: var(--signal); }
.chips li:nth-child(1) { transition-delay: .3s; } .chips li:nth-child(2) { transition-delay: .45s; } .chips li:nth-child(3) { transition-delay: .6s; } .chips li:nth-child(4) { transition-delay: .75s; }
.chips li:nth-child(5) { transition-delay: .9s; } .chips li:nth-child(6) { transition-delay: 1.05s; } .chips li:nth-child(7) { transition-delay: 1.2s; } .chips li:nth-child(8) { transition-delay: 1.35s; }

/* 03 build */
.art-build { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 22px; padding: clamp(24px, 3vw, 44px); }
.spec { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.spec__aa { margin: 0; font-size: clamp(64px, 6vw, 104px); line-height: .9; min-width: 2.2ch; transition: opacity .25s ease; }
.spec__aa.f0 { font-family: var(--sans); font-weight: 760; font-stretch: 78%; }
.spec__aa.f1 { font-family: var(--serif); font-weight: 500; }
.spec__aa.f2 { font-family: var(--mono); font-weight: 500; font-size: clamp(48px, 4.6vw, 80px); }
.spec__sw { display: flex; gap: 6px; margin: 0; }
.spec__sw i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(240, 238, 230, .25); background: var(--c, #333); transition: background-color .4s ease; }
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 180px; }
.blocks i { border: 1px solid var(--rule-d); border-radius: 4px; background: rgba(240, 238, 230, .07); transition: transform .9s var(--ease-out), opacity .5s ease, background-color .6s ease; }
.js .blocks i { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
.blocks i:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; --x: -60px; --y: -40px; --r: -9deg; }
.blocks i:nth-child(2) { grid-column: 3 / 5; --x: 50px; --y: -50px; --r: 7deg; transition-delay: .1s; }
.blocks i:nth-child(3) { grid-column: 3; --x: 30px; --y: 40px; --r: 12deg; transition-delay: .18s; }
.blocks i:nth-child(4) { grid-column: 4; --x: 70px; --y: 10px; --r: -6deg; transition-delay: .26s; }
.blocks i:nth-child(5) { grid-column: 1 / 3; --x: -40px; --y: 50px; --r: 5deg; transition-delay: .34s; }
.blocks i:nth-child(6) { grid-column: 3 / 5; --x: 20px; --y: 60px; --r: -10deg; transition-delay: .42s; }
.scene.on .blocks i { opacity: 1; transform: none; }
.scene.on .blocks i:nth-child(1) { background: rgba(255, 59, 29, .85); transition-delay: 0s, 0s, .9s; }

/* 04 reveal */
.art-reveal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: center; padding: clamp(24px, 3vw, 44px); }
.phone { display: flex; flex-direction: column; gap: 8px; width: clamp(130px, 12vw, 180px); aspect-ratio: 9 / 18.5; padding: 10px; border: 2px solid rgba(240, 238, 230, .5); border-radius: 26px; background: #121214; }
.phone__url { margin: 0; padding: 5px 8px; border-radius: 99px; background: rgba(240, 238, 230, .1); overflow: hidden; white-space: nowrap; font-size: 8.5px; color: var(--mute-d); }
.phone__url span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .scene.on .phone__url span { animation: url 9s linear infinite; } }
@keyframes url { 0%, 12% { transform: translateX(0); } 70%, 100% { transform: translateX(calc(-100% + 90px)); } }
.phone__screen { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 14px; background: #f7f3ec; transition: clip-path 1.1s var(--ease-io) .3s; }
.js .phone__screen { clip-path: inset(0 0 100% 0 round 14px); }
.scene.on .phone__screen { clip-path: inset(0 0 0 0 round 14px); }
.phone__screen b { height: 40%; border-radius: 8px; background: #cfe0d6; }
.phone__screen span { height: 8px; width: 82%; border-radius: 2px; background: #0f3b36; }
.phone__screen span.s { width: 55%; opacity: .5; }
.phone__screen em { margin-top: auto; height: 24px; width: 64%; border-radius: 5px; background: #e4836b; }
.report { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--rule-d); border-radius: 6px; background: var(--ink-3); }
.report > p { margin: 0; }
.report > p:first-child { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.report__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13.5px; }
.report__row i { position: relative; height: 10px; border-radius: 2px; background: rgba(240, 238, 230, .1); overflow: hidden; }
.report__row i::before, .report__row i::after { content: ""; position: absolute; inset: 0; transform-origin: left; }
.report__row i::before { background: var(--signal); transform: scaleX(var(--a)); }
.report__row i::after { background: #79d48c; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .9s; }
.scene.on .report__row i::after, html:not(.js) .report__row i::after { transform: scaleX(var(--b)); }
.report__tag { justify-self: start; padding: 5px 8px; border-radius: 4px; border: 1px solid var(--rule-d); font-size: 11px; color: var(--mute-d); }
@media (max-width: 520px) {
  .art-reveal { grid-template-columns: 1fr; justify-items: center; }
  .report { width: 100%; }
  .art-extract { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 12px; }
}

/* ---------- 03 · 3D EXPLAINERS ---------- */
.xp { padding: clamp(100px, 12vw, 190px) var(--gut) clamp(90px, 11vw, 170px); }
.xp__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 0 clamp(32px, 5vw, 80px); align-items: end; }
.xp__head .label { grid-column: 1 / -1; }
.xp__title { margin: 0; font: 760 clamp(40px, 5.6vw, 98px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.028em; }
.xp__intro p { margin: 0 0 14px; color: var(--mute); max-width: 44ch; }
.xp__intro p:first-child { color: var(--ink); font-weight: 600; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.4; }
.xp__intro p:last-child { margin: 0; }
@media (max-width: 900px) {
  .xp__head { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 04 · BUILT IN ---------- */
.kit { padding: clamp(100px, 12vw, 190px) var(--gut); background: var(--paper-2); }
.kit__title { margin: 0 0 clamp(40px, 5vw, 72px); font: 760 clamp(40px, 6vw, 104px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.028em; max-width: 12ch; }
.kit__list { position: relative; margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.kit__row { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, .9fr); gap: 10px 24px; align-items: baseline; padding: clamp(16px, 2vw, 28px) 0; border-bottom: 1px solid var(--rule); }
.kit__row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); }
.kit__n { font-size: 12px; color: var(--mute); }
.kit__name { margin: 0; font: 720 clamp(34px, 5.2vw, 88px)/.95 var(--sans); font-stretch: 78%; letter-spacing: -.025em; transition: transform .5s var(--ease-out), color .3s ease; }
.kit__desc { margin: 0; max-width: 40ch; color: var(--mute); transition: color .3s ease; }
/* previews: inline cards on touch, a card that follows the cursor on desktop */
.kit__pv { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .kit__row:hover::before { transform: scaleY(1); }
  .kit__row:hover .kit__name { transform: translateX(18px); color: var(--paper); }
  .kit__row:hover .kit__desc, .kit__row:hover .kit__n { color: var(--mute-d); }
  .kit__pv { display: block; position: fixed; left: 0; top: 0; z-index: 20; width: 270px; pointer-events: none; opacity: 0; transform: translate(var(--px, -999px), var(--py, -999px)) scale(.9) rotate(-4deg); transition: opacity .2s ease, transform .5s var(--ease-out); }
  .kit__row.is-hot .kit__pv { opacity: 1; transform: translate(var(--px), var(--py)) scale(1) rotate(-2deg); }
}
@media (hover: none), (pointer: coarse), (max-width: 899px) {
  .kit__row { grid-template-columns: 40px minmax(0, 1fr); }
  .kit__desc { grid-column: 2; }
  .kit__pv { display: block; grid-column: 2; margin-top: 10px; max-width: 320px; }
}
.kit__pv { padding: 16px; border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--rule), 0 24px 50px -24px rgba(13, 13, 14, .45); font-size: 14px; }
.kit__pv p { margin: 0; }
.pv-speed { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.pv-speed svg { grid-row: 1 / 3; width: 64px; height: 64px; transform: rotate(-90deg); }
.pv-speed circle { fill: none; stroke: rgba(12, 206, 107, .18); stroke-width: 7; }
.pv-speed .pv-speed__arc { stroke: #0cce6b; stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; }
.pv-speed b { font: 760 34px/1 var(--sans); color: #08924c; }
.pv-speed span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pv-phone__body { width: 150px; margin: 0 auto; padding: 10px; border: 2px solid var(--ink); border-radius: 20px; display: grid; gap: 6px; }
.pv-phone__top { display: flex; justify-content: space-between; align-items: center; }
.pv-phone__top b { width: 40px; height: 8px; border-radius: 2px; background: var(--ink); }
.pv-phone__top i { width: 16px; height: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); margin-bottom: 5px; }
.pv-phone__menu { display: grid; gap: 4px; padding: 8px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 700 15px/1.1 var(--sans); font-stretch: 80%; }
.pv-phone__call { padding: 8px; border-radius: 6px; background: var(--signal); text-align: center; font-weight: 700; font-size: 12px; }
.pv-serp { font-family: Arial, sans-serif; }
.pv-serp__url { font-size: 12px; color: #4d5156; }
.pv-serp__t { margin: 3px 0 4px !important; font-size: 17px; color: #1a0dab; }
.pv-serp__d { font-size: 13px; line-height: 1.4; color: #4d5156; }
.pv-serp__meta { margin-top: 6px !important; font-size: 11px; color: #188038; }
.pv-301 { display: grid; gap: 8px; font-size: 12px; }
.pv-301 p { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.pv-301 s { color: var(--mute); }
.pv-301 b { padding: 3px 6px; border-radius: 3px; background: var(--ink); color: var(--paper); font-weight: 500; }
.pv-map { position: relative; height: 150px; padding: 0; overflow: hidden; display: grid; place-items: center; }
.pv-map__grid { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 46%, #e3dccd 46% 50%, transparent 50%), linear-gradient(20deg, transparent 60%, #e3dccd 60% 63%, transparent 63%), repeating-linear-gradient(0deg, #ece7dc 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, #ece7dc 0 1px, transparent 1px 22px), #f6f2ea; filter: blur(1.5px); }
.pv-map__btn { position: relative; padding: 10px 16px; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 600; }
.pv-map__note { position: absolute; bottom: 10px; font-size: 10.5px; color: var(--mute); }
.pv-feat { display: grid; gap: 10px; }
.pv-feat__open { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--rule); font-size: 13px; }
.pv-feat__search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 13px; }
.pv-feat__search svg { width: 15px; height: 15px; }
.caret { width: 1.5px; height: 15px; background: var(--signal); margin-left: -6px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: rec 1s steps(1) infinite; } }
.pv-feat__hit { display: flex; justify-content: space-between; gap: 8px; padding: 8px 2px 0; border-top: 1px solid var(--rule); font-size: 13px; }
.pv-feat__hit b { font: 500 11px/1.6 var(--mono); color: var(--mute); }
.pv-lang { display: grid; gap: 12px; }
.pv-lang__sw { display: inline-flex; justify-self: start; padding: 3px; border-radius: 6px; border: 1px solid var(--rule); font-size: 12px; }
.pv-lang__sw b, .pv-lang__sw span { padding: 4px 10px; border-radius: 4px; }
.pv-lang__sw b { background: var(--ink); color: var(--paper); font-weight: 500; }
.pv-lang__w { display: grid; gap: 2px; font: 650 22px/1.15 var(--sans); }
.pv-lang__w span + span { color: var(--mute); font-family: system-ui, sans-serif; font-weight: 600; font-size: 20px; }

/* ---------- 05 · SELF-CHECK ---------- */
.meter { padding: clamp(100px, 12vw, 190px) var(--gut); }
.meter__head { max-width: 1000px; }
.meter__title { margin: 0; font: 760 clamp(40px, 6vw, 104px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.028em; }
.meter__lede { margin: 18px 0 0; color: var(--mute); font-size: 18px; }
.meter__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.meter__qs { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.q { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; font: 500 clamp(18px, 1.7vw, 25px)/1.2 var(--sans); letter-spacing: -.01em; transition: color .2s ease; }
.q i { position: relative; flex: none; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 4px; transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.q i::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease-out); }
.q[aria-pressed="true"] i { background: var(--signal); border-color: var(--signal); }
.q[aria-pressed="true"] i::after { transform: rotate(45deg) scale(1); }
.q:active i { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .q:hover { color: var(--signal-ink); } }
.dial { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 34px); border-radius: 6px; background: var(--ink); color: var(--paper); }
.dial__scale { position: relative; padding-top: 8px; }
.dial__ticks { display: flex; justify-content: space-between; align-items: flex-end; height: 30px; margin: 0; }
.dial__ticks i { width: 2px; height: 12px; background: var(--mute-d); }
.dial__ticks i:nth-child(odd) { height: 24px; background: var(--paper); }
.dial__nums { display: flex; justify-content: space-between; margin: 8px -4px 0; font-size: 12px; color: var(--mute-d); }
.dial__needle { position: absolute; left: 1px; right: 1px; top: 0; height: 44px; transform: translateX(calc(var(--v, 0) / 6 * 100%)); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.dial__needle::before { content: ""; position: absolute; left: -2px; top: 0; width: 4px; height: 100%; border-radius: 2px; background: var(--signal); }
.dial__needle { width: auto; }
.dial__ends { display: flex; justify-content: space-between; margin: -6px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.dial__out { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--rule-d); }
.dial__score { margin: 0; font: 760 clamp(72px, 8vw, 120px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.dial__score small { font-size: .32em; color: var(--mute-d); letter-spacing: 0; margin-left: .1em; }
.dial__verdict { margin: 0; font-size: 18px; line-height: 1.4; min-height: 2.8em; }
.dial .btn--line { justify-self: start; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
@media (hover: hover) and (pointer: fine) { .dial .btn--line:hover { background: var(--signal); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--signal); } }
@media (max-width: 860px) { .meter__grid { grid-template-columns: 1fr; } .dial { position: static; } }

/* ---------- 06 · CONTACT ---------- */
.cta { padding: clamp(110px, 13vw, 200px) var(--gut) clamp(72px, 9vw, 130px); background: var(--ink); color: var(--paper); }
.cta__title { margin: 0 0 clamp(40px, 5vw, 80px); font: 760 clamp(44px, 7.4vw, 136px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.028em; max-width: 16ch; }
.cta__title span { display: block; }
.cta__title span + span { font-weight: 300; }
.cta__form { max-width: 920px; }
.cta__label { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.cta__row { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--paper); transition: border-color .2s ease; }
.cta__row:focus-within { border-color: var(--signal); }
.cta__input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; color: var(--paper); font: 500 clamp(22px, 3vw, 44px)/1.2 var(--sans); letter-spacing: -.02em; outline: none; }
.cta__input::placeholder { color: #55544f; }
.cta__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--signal); color: var(--ink); font-weight: 650; font-size: 16px; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease; }
.cta__btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cta__btn:hover { background: var(--paper); } }
.cta__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 13px; color: var(--signal); }
.cta__alt { margin: 36px 0 0; color: var(--mute-d); max-width: 60ch; }
.cta__alt a { color: var(--paper); text-underline-offset: 4px; }
@media (max-width: 520px) { .cta__row { flex-wrap: wrap; border-bottom: 0; } .cta__input { flex-basis: 100%; border-bottom: 2px solid var(--paper); } .cta__btn { width: 100%; justify-content: center; margin-top: 6px; } }

/* ---------- FOOTER ---------- */
.ftr { overflow: hidden; padding: 0 var(--gut) calc(var(--gut) + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.ftr__word { position: relative; padding: clamp(18px, 3vw, 44px) clamp(14px, 2.4vw, 40px); border-top: 1px solid var(--rule-d); }
.ftr__word p { display: flex; justify-content: center; margin: 0; font-size: clamp(96px, 29vw, 520px); line-height: .78; font-weight: 800; font-stretch: 75%; letter-spacing: -.025em; }
.ftr__word span { display: inline-block; font-weight: var(--w, 800); font-stretch: var(--s, 75%); }
.ftr__c { position: absolute; width: clamp(22px, 3vw, 44px); height: clamp(22px, 3vw, 44px); border: 0 solid var(--signal); transition: transform 1s var(--ease-out); }
.ftr__c:nth-child(1) { left: 0; top: 14px; border-width: 3px 0 0 3px; }
.ftr__c:nth-child(2) { right: 0; top: 14px; border-width: 3px 3px 0 0; }
.ftr__c:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.ftr__c:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.js .ftr__word:not(.in) .ftr__c:nth-child(1) { transform: translate(-30px, -30px); }
.js .ftr__word:not(.in) .ftr__c:nth-child(2) { transform: translate(30px, -30px); }
.js .ftr__word:not(.in) .ftr__c:nth-child(3) { transform: translate(-30px, 30px); }
.js .ftr__word:not(.in) .ftr__c:nth-child(4) { transform: translate(30px, 30px); }
.ftr__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--rule-d); font: 500 12.5px/1.5 var(--mono); color: var(--mute-d); }
.ftr__row p { margin: 0; }
.ftr__row a { color: var(--paper); text-underline-offset: 3px; }

/* ---------- reduced motion / no JS: no pinning, a static before/after ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__pin { position: relative; height: 100svh; }
  .boot { display: none; }
  .framed i { transition: none; }
}
html:not(.js) .hero { height: auto; }
html:not(.js) .hero__pin { position: relative; }
html:not(.js) .lens { display: none; }
