/* Rudo's Websites, redesign 2 "Noche": dark studio, strict 12-column grid, one amber accent.
   Type: Inter Tight (display + text) with Instrument Serif italic for the accent word only.
   Direction and sources: ai-studio/websites/sites/rudos-websites/DIRECTION.md (redesign 2 section).
   Hidden start states live only under html.motion (set before paint when reduced motion is off), so the page reads fine with JS off. */
:root {
  --bg: #0A0A0B; --bg2: #111113; --bg3: #17171A; --bg4: #1E1E22;
  --fg: #F2EFE9; --fg2: #C9C5BD; --mut: #9A968F;            /* mut on bg: 6.9:1 */
  --acc: #F0B35A; --acc-hi: #F7C77E;                          /* amber on bg: 10.9:1; dark text on amber: 10.9:1 */
  --line: rgba(242, 239, 233, .1); --line2: rgba(242, 239, 233, .18);
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-o: cubic-bezier(.16, 1, .3, 1);
  --r: 14px; --r-lg: 24px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 17px/1.55 var(--sans); letter-spacing: .008em; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; font-feature-settings: 'ss01', 'cv11'; }
::selection { background: var(--acc); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acc); letter-spacing: -.01em; }
.wrap { width: min(1360px, calc(100% - var(--pad) * 2)); margin: 0 auto; }
.wrap-wide { width: min(1440px, calc(100% - var(--pad) * 2)); margin: 0 auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

/* language switch: only the chosen language shows */
html[data-lang="es"] [lang="en"]:not(html), html[data-lang="en"] [lang="es"]:not(html) { display: none !important; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font: 500 16px/1.1 var(--sans); letter-spacing: -.01em; border: 1px solid var(--fg); cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--acc); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-o); }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--acc); }
.btn-in { display: inline-flex; align-items: center; gap: 10px; }
.btn .ico { transition: transform .4s var(--ease-o); }
.btn:hover .ico { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line2); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-full { width: 100%; }

/* ---------- promo line ---------- */
.promo { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 51; }
.promo-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding: 10px 0; font-size: 14px; color: var(--mut); text-align: center; }
.promo b { color: var(--fg); font-weight: 500; }
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(240, 179, 90, .16); }
.promo-sep { width: 1px; height: 14px; background: var(--line2); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 70; transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 10, 11, .74); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav.tucked { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: var(--bg); display: grid; place-items: center; font: italic 400 22px/1 var(--serif); padding-top: 2px; }
.logo-word { font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.logo-word span { color: var(--mut); font-weight: 500; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 14px; font-size: 15px; color: var(--mut); transition: color .3s; }
.links a:hover, .links a.on { color: var(--fg); }
.links a::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--acc); transform: scale(0); transition: transform .4s var(--ease-o); }
.links a.on::after { transform: scale(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: inline-flex; padding: 4px 3px; min-height: 46px; align-items: center; border-radius: 999px; border: 1px solid var(--line2); background: transparent; cursor: pointer; }
.lang::before { content: ''; position: absolute; left: 3px; top: 3px; bottom: 3px; width: 38px; border-radius: 999px; background: var(--fg); transition: transform .45s var(--ease-o); }
html[data-lang="en"] .lang::before { transform: translateX(38px); }
.lang b { position: relative; width: 38px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mut); transition: color .3s; }
html[data-lang="es"] .lang [data-l="es"], html[data-lang="en"] .lang [data-l="en"] { color: var(--bg); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease-o); }
.menu-btn i:first-of-type { top: 19px; } .menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 65; background: var(--bg); padding-top: 120px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-in { display: flex; flex-direction: column; }
.menu-in a:not(.btn) { display: flex; align-items: baseline; gap: 14px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.menu-in small { font-size: 14px; color: var(--acc); letter-spacing: 0; font-weight: 500; }
.menu-in .btn { margin-top: 32px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 6vw, 72px) 0 0; }
.hero-grid-bg { position: absolute; inset: -80px 0 auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 0%, rgba(240, 179, 90, .09), transparent 70%),
    repeating-linear-gradient(90deg, rgba(242, 239, 233, .035) 0 1px, transparent 1px calc((min(1360px, 100vw - var(--pad) * 2)) / 12));
  background-position: 0 0, calc((100vw - min(1360px, 100vw - var(--pad) * 2)) / 2) 0;
  -webkit-mask: linear-gradient(#000 30%, transparent); mask: linear-gradient(#000 30%, transparent); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.hero-meta p { display: inline-flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.hero-h { margin: clamp(28px, 4.5vw, 56px) 0 0; font: 600 clamp(46px, 9.6vw, 152px)/.9 var(--sans); letter-spacing: -.05em; }
.hero-h > span { display: block; }
.ln { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.08em; }
.ln-in { display: block; }
.hero-h em { font-size: 1.1em; letter-spacing: -.035em; line-height: .8; padding-right: .04em; }
.pill-vid { display: inline-block; position: relative; width: 1.9em; height: .74em; border-radius: 999px; overflow: hidden; vertical-align: .02em; margin-left: .06em; background: var(--bg3) url('assets/home/pill-open.webp') center/cover; box-shadow: inset 0 0 0 1px var(--line2); }
.pill-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.lead { grid-column: 1 / 6; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--fg2); max-width: 34em; }
.hero-act { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ticks { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; color: var(--mut); }
.ticks li, .checks li { position: relative; padding-left: 22px; }
.ticks li::before, .checks li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 10px; height: 5px; border-left: 1.6px solid var(--acc); border-bottom: 1.6px solid var(--acc); transform: rotate(-45deg); }

/* live showcase */
.live-wrap { margin-top: clamp(56px, 7vw, 104px); }
.live-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.live-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mut); }
.hero-tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); }
.hero-tabs button { position: relative; z-index: 1; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--mut); font-size: 15px; font-weight: 500; cursor: pointer; transition: color .35s var(--ease), background-color .35s; }
.hero-tabs button:hover { color: var(--fg); }
.hero-tabs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.hero-tabs.has-ink button[aria-pressed="true"] { background: transparent; }
.tab-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--fg); display: none; transition: transform .55s var(--ease-o), width .55s var(--ease-o); }
.hero-tabs.has-ink .tab-ink { display: block; }
.stage { position: relative; padding-right: 150px; perspective: 1800px; }
.stage::before { content: ''; position: absolute; left: 8%; right: 18%; top: 14%; bottom: -6%; z-index: -1; background: radial-gradient(closest-side, rgba(240, 179, 90, .16), transparent); filter: blur(40px); pointer-events: none; }
.browser { position: relative; border-radius: 16px; background: var(--bg3); border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6); transform-origin: 50% 0; }
.chrome { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--bg4); }
.addr { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: 8px; background: var(--bg3); font-size: 14px; color: var(--fg2); white-space: nowrap; }
.addr-tag { font-size: 14px; padding: 2px 8px; border-radius: 999px; background: rgba(240, 179, 90, .14); color: var(--acc); }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0E0E10; }
.phone { position: absolute; right: 0; bottom: -48px; width: 262px; padding: 8px; border-radius: 44px; background: #161618; border: 1px solid var(--line2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .04); z-index: 2; }
.notch { position: absolute; z-index: 3; top: 16px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 999px; background: #000; pointer-events: none; }
.pscreen { position: relative; aspect-ratio: 390 / 844; border-radius: 36px; overflow: hidden; background: #0E0E10; }
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .8s var(--ease); background: #0E0E10; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.stage[data-scene="1"] .scene.s1, .stage[data-scene="2"] .scene.s2, .stage[data-scene="3"] .scene.s3 { opacity: 1; transform: none; }
.hf { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: transparent; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.stage[data-scene="1"] .hf.s1.ready, .stage[data-scene="2"] .hf.s2.ready, .stage[data-scene="3"] .hf.s3.ready { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.scene.gone { visibility: hidden; }
.scene-name { display: none; }
.stage[data-scene="1"] .scene-name.s1, .stage[data-scene="2"] .scene-name.s2, .stage[data-scene="3"] .scene-name.s3 { display: inline; }
.live-note { margin-top: 72px; font-size: 14px; color: var(--mut); text-align: center; }

/* ---------- facts ---------- */
.facts { padding: clamp(80px, 10vw, 140px) 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts-grid li { padding: 28px 24px 8px 0; }
.facts-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-big { font: 500 clamp(56px, 7.4vw, 116px)/.9 var(--sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.fact-big small { font-size: .32em; letter-spacing: -.02em; color: var(--mut); margin-left: .12em; font-weight: 500; }
.fact-label { margin-top: 16px; color: var(--mut); font-size: 15px; max-width: 16em; }
.facts-mini { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mut); }
.facts-mini b { color: var(--fg); font-weight: 500; }

/* ---------- section heads ---------- */
.sec { padding: clamp(104px, 13vw, 184px) 0 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.sec-no { grid-column: 1 / 4; font-size: 14px; font-weight: 500; color: var(--acc); padding-top: .9em; letter-spacing: .01em; }
.sec-no span { color: var(--mut); font-weight: 400; margin-left: 4px; }
.sec-title { grid-column: 4 / 13; font: 500 clamp(40px, 6.1vw, 96px)/.96 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.sec-title em { font-size: 1.08em; letter-spacing: -.03em; }
.sec-sub { grid-column: 4 / 10; margin-top: 28px; color: var(--fg2); font-size: clamp(17px, 1.3vw, 19px); max-width: 36em; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em 0 .12em; margin: -.04em 0 -.12em; }
.split-w > span { display: inline-block; }

/* ---------- work: stacking case cards ---------- */
.cases { margin-top: clamp(56px, 7vw, 96px); }
.case { position: sticky; top: calc(96px + var(--i, 0) * 16px); margin-bottom: 6vh; }
.case:nth-child(1) { --i: 0; } .case:nth-child(2) { --i: 1; } .case:nth-child(3) { --i: 2; } .case:nth-child(4) { --i: 3; margin-bottom: 0; }
.case-in { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; min-height: min(74vh, 720px); padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--line); overflow: hidden; transform-origin: 50% 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .8); }
.case-in::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 100% 100%, var(--tint, transparent), transparent 70%); opacity: .22; }
.case-in::after { content: ''; position: absolute; inset: 0; z-index: 3; background: #000; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.c-barber { --tint: #D8432C; } .c-cafe { --tint: #C98A4B; } .c-clean { --tint: #2FA58A; }
.case-copy { grid-column: 1 / 5; display: flex; flex-direction: column; position: relative; }
.case-no { font-size: 14px; font-weight: 500; color: var(--acc); }
.case-no span { color: var(--mut); font-weight: 400; }
.kicker { margin-top: auto; font-size: 14px; color: var(--mut); letter-spacing: .01em; }
.case h3 { margin-top: 12px; font: 500 clamp(34px, 3.8vw, 58px)/.98 var(--sans); letter-spacing: -.05em; }
.case h3 em { font-size: 1.08em; }
.feats { margin-top: 28px; border-top: 1px solid var(--line); }
.feats li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--fg2); display: flex; gap: 12px; }
.feats li::before { content: counter(f, decimal-leading-zero); counter-increment: f; font-size: 14px; color: var(--mut); padding-top: 1px; }
.feats { counter-reset: f; }
.visit { margin-top: 28px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 16px; border-bottom: 1px solid var(--line2); transition: color .3s, border-color .3s; }
.visit:hover { color: var(--acc); border-color: var(--acc); }
.visit .ico { transition: transform .4s var(--ease-o); }
.visit:hover .ico { transform: translate(3px, -3px); }
.case-media { grid-column: 5 / 13; position: relative; align-self: center; padding: 0 0 28px; }
.case-shot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: #0E0E10; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transform-origin: 30% 20%; }
.case-phone { position: absolute; right: -10px; bottom: 0; width: 16%; padding: 5px; border-radius: 24px; background: #161618; border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.case-phone img { width: 100%; border-radius: 19px; aspect-ratio: 300 / 649; object-fit: cover; object-position: top; }
.yours { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; background: var(--bg); border-style: dashed; border-color: var(--line2); }
.yours .case-no { margin-bottom: auto; }
.yours-big { font: 500 clamp(56px, 10vw, 168px)/.88 var(--sans); letter-spacing: -.06em; }
.yours-big em { font-size: 1.08em; }
.yours-p { color: var(--fg2); max-width: 34em; font-size: 18px; }
.yours .btn { margin-bottom: auto; }
.note { margin-top: 28px; font-size: 14px; color: var(--mut); }
@keyframes kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2.5%, -3%); } }
html.motion .kb { animation: kb 18s ease-in-out infinite alternate; }
html.motion .t-thumb img { animation: kb 14s ease-in-out infinite alternate; }
.paused .kb, .paused.t-thumb img, .trades.paused .t-thumb img { animation-play-state: paused !important; }

/* ---------- who: trades index ---------- */
.trades { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.trades li { display: grid; grid-template-columns: 1fr 9fr auto; align-items: center; gap: 24px; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); cursor: default; }
.t-no { font-size: 14px; color: var(--mut); font-weight: 500; transition: color .4s; }
.t-name { font: 500 clamp(34px, 6vw, 92px)/1 var(--sans); letter-spacing: -.055em; color: var(--fg2); transition: transform .6s var(--ease-o), color .4s; }
.trades li:hover .t-name { transform: translateX(28px); color: var(--fg); }
.trades li:hover .t-no { color: var(--acc); }
.t-thumb { width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; display: none; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.float-ph { position: fixed; left: 0; top: 0; z-index: 30; width: 280px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); display: none; }
.float-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .45s var(--ease), transform 1.2s var(--ease-o); }
.float-ph img.on { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .float-ph { display: block; } }
@media not ((hover: hover) and (pointer: fine)) { .t-thumb { display: block; } }

/* ---------- process ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.proc-head { grid-column: 1 / 6; position: sticky; top: 120px; }
.proc-head .sec-no { padding-top: 0; }
.proc-head .sec-title { margin-top: 24px; font-size: clamp(40px, 5vw, 80px); }
.proc-head .btn { margin-top: 36px; }
.steps-wrap { grid-column: 7 / 13; position: relative; padding-left: 40px; }
.steps-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--acc); transform-origin: 50% 0; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.steps li:first-child { padding-top: 0; }
.st-no { font: 500 15px/1.6 var(--sans); color: var(--acc); }
.when { font-size: 14px; color: var(--mut); letter-spacing: .01em; }
.steps h3 { margin: 8px 0 10px; font: 500 clamp(26px, 2.6vw, 40px)/1.05 var(--sans); letter-spacing: -.04em; }
.steps p:not(.when) { color: var(--fg2); max-width: 30em; }
html.motion .steps-wrap.armed li { opacity: .32; }
html.motion .steps-wrap.armed li.lit { opacity: 1; }

/* ---------- pricing ---------- */
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head-row > div { display: grid; gap: 20px; }
.sec-head-row .sec-no { padding-top: 0; }
.offer-note { grid-column: 4 / 10; margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; max-width: 520px; font-size: 15px; color: var(--fg2); }
.offer-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--acc); color: var(--bg); font-weight: 600; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.hot { background: var(--bg2); box-shadow: inset 0 2px 0 var(--acc); }
.plan.hot::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 40% at 50% 0%, rgba(240, 179, 90, .12), transparent 70%); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.chip { font-size: 14px; color: var(--mut); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.tag { font-size: 14px; font-weight: 600; color: var(--bg); background: var(--acc); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan-for { margin-top: 10px; color: var(--mut); font-size: 16px; }
.was { margin-top: 36px; font-size: 15px; color: var(--mut); }
.was s { position: relative; text-decoration: none; color: var(--fg2); --strike: 1; }
.was s::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: var(--acc); transform: scaleX(var(--strike)); transform-origin: 0 50%; }
.price { margin-top: 6px; font: 500 clamp(56px, 5.4vw, 84px)/1 var(--sans); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.price small { font-size: .3em; letter-spacing: -.01em; color: var(--mut); margin-left: 4px; }
.per { margin-top: 8px; color: var(--mut); font-size: 15px; }
.checks { margin: 28px 0 32px; }
.checks li { padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--line); font-size: 16px; color: var(--fg2); }
.checks li { padding-left: 26px; }
.checks li::before { top: 1.15em; }
.plan .btn { margin-top: auto; }
.example { margin-top: 24px; color: var(--mut); font-size: 15px; max-width: 70em; }
.example b { color: var(--fg); font-weight: 500; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq-head { grid-column: 1 / 6; }
.faq-head .sec-no { padding-top: 0; }
.faq-head .sec-title { margin-top: 24px; font-size: clamp(40px, 5vw, 80px); }
.faq-head .sec-sub { margin-top: 24px; }
.faq { grid-column: 7 / 13; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 0; list-style: none; cursor: pointer; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.012em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acc); }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); transition: transform .5s var(--ease-o), background-color .3s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--bg3); }
.ans { padding: 0 56px 26px 0; color: var(--fg2); }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; margin-top: clamp(104px, 13vw, 184px); padding: clamp(104px, 12vw, 168px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.contact-photo { position: absolute; inset: 0; z-index: -1; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.85); }
.contact-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 11, .35) 30%, rgba(10, 10, 11, .55) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 10, 11, .88) 10%, rgba(10, 10, 11, .25)); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.contact-copy { grid-column: 1 / 7; }
.contact-h { margin-top: 24px; font: 500 clamp(44px, 6.6vw, 108px)/.94 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.contact-h em { font-size: 1.08em; letter-spacing: -.03em; }
.contact-copy .sec-sub { margin-top: 24px; }
.contact-copy .checks { margin: 28px 0 0; max-width: 30em; }
.contact-copy .checks li:last-child { border-bottom: 1px solid var(--line); }
.mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 24px; font-weight: 500; border-bottom: 1px solid var(--line2); transition: color .3s, border-color .3s; }
.mail:hover { color: var(--acc); border-color: var(--acc); }
.form { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); background: rgba(17, 17, 19, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line2); }
.form label { display: grid; gap: 8px; }
.form .wide { grid-column: 1 / -1; }
.lbl { font-size: 14px; color: var(--mut); }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); font: 400 16px/1.4 var(--sans); transition: border-color .3s, box-shadow .3s; }
.form textarea { padding: 14px 16px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(240, 179, 90, .18); }
.form-note { font-size: 14px; color: var(--mut); }

/* ---------- footer ---------- */
.foot { position: relative; padding-top: clamp(72px, 8vw, 112px); border-top: 1px solid var(--line); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.foot-brand { grid-column: 1 / 6; }
.foot-brand p { margin-top: 16px; color: var(--mut); max-width: 24em; }
.foot-links { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; }
.foot-grid > nav.foot-links { grid-column: 8 / 10; }
.foot-grid > div.foot-links { grid-column: 10 / 13; }
.foot-h { font-size: 14px; color: var(--mut); margin-bottom: 8px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 46px; min-width: 46px; transition: color .3s; }
.foot-links a:hover { color: var(--acc); }
.foot-links .mail { margin-top: 0; }
.foot-p { min-height: 44px; display: flex; align-items: center; color: var(--fg2); }
.foot-word { margin: clamp(56px, 7vw, 96px) 0 0; padding: 0 var(--pad); font: 600 14.6vw/.82 var(--sans); letter-spacing: -.065em; white-space: nowrap; text-align: center; }
.foot-word em { font-size: 1.06em; letter-spacing: -.03em; }
.foot-word .split-w { padding-bottom: .14em; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 28px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }

/* ---------- phone dock + curtain ---------- */
.dock { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); transform: translateY(160%); transition: transform .5s var(--ease-o); }
.dock.on { transform: none; }
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--bg3); transform: scaleY(0); transform-origin: 50% 100%; display: grid; place-items: center; pointer-events: none; }
.curtain-mark { font: 600 clamp(48px, 8vw, 120px)/1 var(--sans); letter-spacing: -.06em; opacity: 0; }
.curtain-mark i { color: var(--acc); font-style: normal; }

/* ---------- motion start states (only with JS + motion allowed) ---------- */
html.motion [data-intro], html.motion [data-reveal] { opacity: 0; }
html.motion .hero-h .ln-in { opacity: 0; }
html.motion .stage { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stage { padding-right: 110px; }
  .phone { width: 220px; }
  .lead { grid-column: 1 / 7; }
  .hero-act { grid-column: 7 / 13; }
}
@media (max-width: 899px) {
  .links, .nav-cta { display: none; }
  .menu-btn { display: inline-block; }
  .nav-right { margin-left: auto; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .lead, .hero-act { grid-column: 1 / -1; }
  .hero-act { align-items: stretch; }
  .cta-row { justify-content: flex-start; }
  .cta-row .btn { flex: 1 1 auto; }
  .ticks { justify-content: flex-start; }
  .stage { padding-right: 0; }
  .browser { display: none; }
  .phone { position: relative; right: auto; bottom: auto; margin: 0 auto; width: min(300px, 78vw); }
  .stage::before { left: 10%; right: 10%; }
  .live-note { margin-top: 24px; }
  .live-bar { justify-content: center; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid li { padding: 24px 16px 20px 0; }
  .facts-grid li + li { padding-left: 0; border-left: 0; }
  .facts-grid li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .facts-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head { display: block; }
  .sec-no { padding-top: 0; margin-bottom: 18px; }
  .sec-sub { margin-top: 20px; }
  .case { position: relative; top: auto; margin-bottom: 20px; }
  .case-in { display: flex; flex-direction: column-reverse; min-height: 0; gap: 28px; }
  .case-media { padding-bottom: 20px; }
  .case-phone { width: 19%; }
  .kicker { margin-top: 18px; }
  .yours { gap: 22px; padding-top: 36px; padding-bottom: 36px; }
  .yours .btn, .yours .case-no { margin: 0; }
  .trades li { grid-template-columns: auto 1fr auto; gap: 16px; }
  .proc-grid, .faq-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .proc-head, .steps-wrap, .faq-head, .faq, .contact-copy, .form, .foot-brand, .foot-grid > nav.foot-links, .foot-grid > div.foot-links { grid-column: 1 / -1; }
  .proc-head { position: static; margin-bottom: 40px; }
  .faq { margin-top: 32px; }
  .contact-grid { gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .dock { display: flex; }
  .foot { padding-bottom: 80px; }
  .foot-grid { gap: 32px; }
}
@media (max-width: 560px) {
  .hero-meta .hero-meta-r { display: none; }
  .hero-h { letter-spacing: -.05em; }
  .promo-sep { display: none; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .hero-tabs button { padding: 0 14px; }
  .live-label { width: 100%; justify-content: center; }
  .steps-wrap { padding-left: 24px; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .ans { padding-right: 0; }
  .offer-note { max-width: none; }
  .chip, .tag { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .live-dot { animation: none; }
}
