/* =====================================================================
   NØVRA STUDIO — design system v2  ·  "ember"
   High-contrast editorial. Alternating ink / bone sections.
   Performance rules: animate ONLY transform / opacity / clip-path.
   No background-attachment:fixed, no backdrop-filter on large areas,
   no animated box-shadow / filter / width / height / top / left.
   ===================================================================== */

/* ---------- Fonts (local only) ---------- */
@font-face { font-family:'Space Grotesk'; src:url('../fonts/spacegrotesk.woff2') format('woff2'); font-weight:400 700; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter.woff2') format('woff2'); font-weight:300 600; font-style:normal; font-display:swap; }

/* ---------- Tokens: ember theme ---------- */
:root {
  --ink: #0b0b0d;
  --ink-2: #141417;
  --bone: #efece6;
  --bone-2: #e4e0d8;
  --orange: #ff4b1f;
  --orange-2: #ff6a44;
  --steel: #8a8f98;

  /* role tokens, flipped per section */
  --bg: var(--ink);
  --surface: #16161a;
  --text: var(--bone);
  --muted: #a6abb3;
  --faint: #9298a1;
  --line: rgba(239, 236, 230, 0.12);
  --line-2: rgba(239, 236, 230, 0.22);
  --accent: var(--orange);

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

/* light section override */
.sec--bone {
  --bg: var(--bone);
  --accent: #b23410;
  --surface: var(--bone-2);
  --text: var(--ink);
  --muted: #4d525a;
  --faint: #5c616a;
  --line: rgba(11, 11, 13, 0.14);
  --line-2: rgba(11, 11, 13, 0.24);
  background: var(--bg);
  color: var(--text);
}
.sec--ink {
  --bg: var(--ink); --surface: #16161a; --text: var(--bone);
  --muted: #a6abb3; --faint: #9298a1; --line: rgba(239,236,230,0.12); --line-2: rgba(239,236,230,0.22);
  background: var(--bg); color: var(--text);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--orange); color: #0b0b0d; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; overflow-x: hidden; }
/* NOTE: no scroll-behavior:smooth (native scroll only; GSAP handles effects) */
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--bone);
  font-weight: 300; line-height: 1.6; letter-spacing: -0.004em;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; color: var(--text); }

/* Composited grid layer — painted once, never repainted on scroll */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(138,143,152,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,143,152,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  will-change: transform; /* promote to its own layer */
  opacity: 0.6;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); position: relative; z-index: 1; }
.section { padding: clamp(72px, 12vh, 150px) 0; position: relative; z-index: 1; }
.kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content:''; width: 26px; height: 1px; background: var(--accent); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 6vh, 64px); }
.sec-head h2 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); margin: 18px 0 16px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 100px;
  background: var(--orange); color: #0b0b0d;
  transition: transform 0.25s var(--ease), background-color 0.25s;
  will-change: transform;
}
.btn:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: color-mix(in srgb, var(--text) 8%, transparent); border-color: var(--text); }
.btn--sm { padding: 10px 18px; font-size: 0.84rem; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Navigation (semi-opaque, no blur) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; background: transparent; transition: background-color 0.3s var(--ease), border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11,11,13,0.92); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; color: var(--bone); }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { font-size: 0.86rem; color: #a6abb3; padding: 8px 14px; border-radius: 100px; position: relative; transition: color 0.25s; }
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-links a.active, .nav-links a[aria-current="true"] { color: var(--bone); }
.nav-links a[aria-current="page"]::after, .nav-links a.active::after, .nav-links a[aria-current="true"]::after { content:''; position:absolute; left:14px; right:14px; bottom:3px; height:2px; border-radius:2px; background: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav .brand, .nav .nav-links a, .nav .burger { color: var(--bone); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--bone); transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger span:nth-child(1){top:16px} .burger span:nth-child(2){top:21px} .burger span:nth-child(3){top:26px}
body.menu-open .burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

.menu-overlay { position: fixed; inset: 0; z-index: 55; background: var(--ink-2); clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path 0.6s var(--ease); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); pointer-events: none; }
body.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.menu-overlay a { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 9vw, 3.4rem); padding: 8px 0; color: var(--bone); display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.25s; }
.menu-overlay a .ix { font-family: var(--mono); font-size: 0.8rem; color: var(--orange); }
.menu-overlay a:hover { color: var(--orange); }
body.menu-open .menu-overlay a { opacity: 1; transform: none; }
body.menu-open .menu-overlay a:nth-child(1){transition-delay:.1s}body.menu-open .menu-overlay a:nth-child(2){transition-delay:.15s}body.menu-open .menu-overlay a:nth-child(3){transition-delay:.2s}body.menu-open .menu-overlay a:nth-child(4){transition-delay:.25s}body.menu-open .menu-overlay a:nth-child(5){transition-delay:.3s}body.menu-open .menu-overlay a:nth-child(6){transition-delay:.35s}

/* ---------- Hero (pinned) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: transparent; z-index: 2; }
.hero-inner { width: 100%; padding-top: var(--nav-h); }
.hero-copy { max-width: min(92vw, 860px); position: relative; z-index: 3; }
.hero h1 { font-size: clamp(2.8rem, 10vw, 8rem); letter-spacing: -0.05em; line-height: 0.92; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; will-change: transform; }
.hero .sub { margin-top: 28px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 44ch; }
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 24px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }

.mockups { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(46vw, 620px); aspect-ratio: 1/0.9; z-index: 2; pointer-events: none; }
.mk { position: absolute; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0c10; will-change: transform; box-shadow: 0 40px 80px -36px rgba(0,0,0,0.8); }
.mk img { width: 100%; height: 100%; object-fit: cover; }
.mk--l1 { left: 0; top: 14%; width: 76%; aspect-ratio: 16/10; z-index: 2; }
.mk--l2 { right: 0; top: 0; width: 54%; aspect-ratio: 16/10; z-index: 1; opacity: 0.88; }
.mk--ph { right: 8%; bottom: 0; width: 24%; aspect-ratio: 9/19; z-index: 3; border-radius: 22px; }
@media (max-width: 1000px) { .mockups { display: none; } }

/* ---------- Statement (word light-up) ---------- */
.statement { padding: clamp(90px, 18vh, 220px) 0; }
.statement p { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch; }
.statement .w { display: inline-block; color: #646871; }

.statement .w.accent { color: #c43a12; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.cell { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; }
.js .cell { clip-path: inset(0 0 100% 0); will-change: clip-path, transform; }
.cell .ci { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; }
.cell .ci svg { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 1.7; fill: none; }
.cell .ci svg path, .cell .ci svg rect, .cell .ci svg circle, .cell .ci svg line { stroke-dasharray: var(--len, 120); stroke-dashoffset: var(--len, 120); }
.cell.drawn .ci svg path, .cell.drawn .ci svg rect, .cell.drawn .ci svg circle, .cell.drawn .ci svg line { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease); }
.cell h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.cell p { color: var(--muted); font-size: 0.95rem; }
.cell .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.cell--feature { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 12%, var(--surface)), var(--surface)); }
.cell--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.cell--third { grid-column: span 2; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; will-change: transform; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em; color: var(--faint); display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content:'◆'; color: var(--orange); font-size: 0.5em; }

/* ---------- Portfolio grid + cards ---------- */
/* Anti-lag playback: poster shown by default; the <video> (no transform, ever)
   fades in only while the card is .playing. No transforms/opacity animation on
   anything layered over a playing video. */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.work-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color 0.3s, box-shadow 0.3s; }
.wcard-media-wrap { position: relative; }
.wcard-tag, .wcard-play { pointer-events: none; }
.wcard-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0c10; cursor: pointer; border-radius: 0; }
.wcard-poster, .wcard-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard-poster { z-index: 1; transition: opacity 0.3s var(--ease); }
.wcard-vid { z-index: 0; opacity: 0; } /* no CSS transform on the video element, per playback rules */
.wcard.playing .wcard-vid { opacity: 1; }
.wcard.playing .wcard-poster { opacity: 0; }
.wcard-tag { position: absolute; z-index: 2; top: 12px; left: 12px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(11,11,13,0.72); border: 1px solid rgba(239,236,230,0.16); padding: 5px 10px; border-radius: 100px; }
.wcard-play { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.wcard-play svg { width: 16px; height: 16px; fill: #0b0b0d; margin-left: 2px; }
.wcard.playing .wcard-play { display: none; }
@media (hover: hover) {
  .wcard:hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); box-shadow: 0 20px 46px -28px rgba(0,0,0,0.7); }
}
.wcard-media:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.wcard-body { padding: 20px 22px 24px; }
.wcard-body h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.wcard-body p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.ai-note { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 12px; display: block; }
@media (max-width: 920px) { .work-grid, .work-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .work-grid, .work-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- Lightbox (video fits the screen; overlay above the nav) ---------- */
body.lbx-open { overflow: hidden; }
.lbx [hidden] { display: none !important; } /* [hidden] must win over display:inline-flex */
.lbx { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 0; }
.lbx[hidden] { display: none; }
.lbx-backdrop { position: absolute; inset: 0; background: rgba(6,6,8,0.96); opacity: 0; transition: opacity 0.22s; }
.lbx.in .lbx-backdrop { opacity: 1; }
/* panel width derives from the available height so the 16:9 video is never
   taller than the screen minus the caption, and never upscaled past 1.25x (1600px). */
.lbx-panel { position: relative; z-index: 1; width: min(92vw, 1600px, calc((88vh - 104px) * 16 / 9)); display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(12px) scale(0.985); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.lbx.in .lbx-panel { opacity: 1; transform: none; }
.lbx-vid { width: 100%; aspect-ratio: 16 / 9; max-height: calc(88vh - 104px); background: #000; border-radius: 12px; display: block; }
.lbx-cap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.lbx-chip { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #0b0b0d; background: var(--orange); padding: 5px 11px; border-radius: 100px; flex: none; }
.lbx-title { font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; margin: 0; color: var(--bone); flex: none; }
.lbx-demo { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1 1 240px; min-width: 180px; }
.lbx-ba { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.lbx-ba-btn { border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 13px; color: var(--muted); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lbx-ba-btn.on { background: var(--orange); border-color: var(--orange); color: #0b0b0d; }
.lbx-live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 0.86rem; color: var(--bone); border: 1px solid var(--line-2); padding: 8px 16px; border-radius: 100px; }
.lbx-live:hover { background: var(--orange); border-color: var(--orange); color: #0b0b0d; }
.lbx-close { position: fixed; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(239,236,230,0.12); border: 1px solid var(--line-2); }
.lbx-close svg { width: 18px; height: 18px; stroke: var(--bone); stroke-width: 2; fill: none; }
.lbx-close:hover { background: var(--orange); border-color: var(--orange); }
.lbx-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(239,236,230,0.12); border: 1px solid var(--line-2); }
.lbx-nav svg { width: 20px; height: 20px; stroke: var(--bone); stroke-width: 2; fill: none; }
.lbx-nav:hover { background: var(--orange); border-color: var(--orange); }
.lbx-prev { left: 16px; } .lbx-next { right: 16px; }
.lbx-close:focus-visible, .lbx-nav:focus-visible, .lbx-ba-btn:focus-visible, .lbx-live:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 760px) {
  .lbx-panel { width: 92vw; }
  .lbx-close { top: 10px; right: 10px; }
  .lbx-nav { width: 40px; height: 40px; }
  .lbx-prev { left: 8px; } .lbx-next { right: 8px; }
  .lbx-demo { flex-basis: 100%; }
}

/* ---------- How it works (pinned numbers) ---------- */
.hiw { position: relative; }
.hiw-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; min-height: 60vh; }
.hiw-steps { position: relative; }
.hiw-rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.hiw-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--orange); transform-origin: top; will-change: height; }
.hiw-step { position: relative; padding-left: 36px; padding-block: 18px; }
.hiw-step .sn { transition: color 0.3s var(--ease); }
.hiw-step:not(.active) .sn { color: var(--faint); }
.hiw-step.active { opacity: 1; }
.hiw-step .sn { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); }
.hiw-step h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-top: 4px; }
.hiw-step p { color: var(--muted); font-size: 0.98rem; margin-top: 6px; max-width: 40ch; }
.hiw-big { font-family: var(--display); font-weight: 600; font-size: clamp(8rem, 28vw, 22rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--surface); text-align: right; position: relative; }
.hiw-big .n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; color: var(--text); opacity: 0; transform: translateY(14%); }
.hiw-big .n.on { opacity: 1; transform: none; }
@media (max-width: 860px) { .hiw-grid { grid-template-columns: 1fr; } .hiw-big { display: none; } }

/* ---------- Pricing + robots (single shared canvas) ---------- */
.price-wrap { position: relative; }
/* robot loop video stage — square, video letterboxes into matching card bg (no crop, no layout shift) */
.robot-stage { position: relative; aspect-ratio: 1 / 1; margin: -24px -24px 14px; border-radius: 18px 18px 0 0; overflow: hidden; background-color: #16161a; background-repeat: no-repeat; background-position: center; background-size: contain; }
.rb-scroll .robot-vid { display: none; }
.robot-vid { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.45s var(--ease); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; position: relative; z-index: 2; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; overflow: visible; will-change: transform; }
.pcard.flagship { border-color: color-mix(in srgb, var(--orange) 55%, transparent); }
.pcard .flag { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #0b0b0d; background: var(--orange); padding: 5px 10px; border-radius: 100px; z-index: 4; }
@media (hover: hover) {
  .pcard { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
  .pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); box-shadow: 0 22px 54px -26px rgba(255, 75, 31, 0.5); }
  .pcard:hover .robot-vid { transform: scale(1.05); }
}
.pcard .pname { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.pcard .pprice { font-family: var(--display); font-weight: 600; font-size: 2.3rem; letter-spacing: -0.03em; margin: 4px 0 2px; }
.pcard .pprice .cur { font-size: 1.05rem; color: var(--muted); vertical-align: super; }
.pcard .pprice .per { font-size: 0.86rem; color: var(--muted); font-family: var(--body); font-weight: 300; }
.pcard .pdesc { color: var(--muted); font-size: 0.9rem; min-height: 38px; }
.pcard ul.feat { margin: 16px 0 20px; display: grid; gap: 9px; }
.pcard ul.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text); }
.pcard ul.feat li svg { flex: none; width: 15px; height: 15px; stroke: var(--accent); stroke-width: 2.2; fill: none; margin-top: 4px; }
.pcard .pmeta { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 14px; text-transform: uppercase; }
.pcard .btn { margin-top: auto; }

/* ---------- Final CTA (clip-circle invert) ---------- */
.final { position: relative; text-align: center; padding: clamp(80px, 16vh, 220px) 0; background: var(--ink); color: var(--bone); overflow: hidden; }
.final .invert { position: absolute; inset: 0; background: var(--bone); clip-path: circle(0% at 50% 72%); z-index: 0; will-change: clip-path; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.6rem, 9vw, 8rem); letter-spacing: -0.05em; will-change: transform; color: var(--bone); }
.final.lit h2, .final.lit .kicker, .final.lit p { color: var(--ink); }
.final.lit .kicker::before { background: var(--ink); }
.final p { color: var(--muted); max-width: 46ch; margin: 22px auto 34px; }
.final .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final.lit .btn--ghost { color: var(--ink); border-color: rgba(11,11,13,0.3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: clamp(48px, 7vh, 84px) 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .brand { font-size: 1.2rem; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); max-width: 32ch; font-size: 0.92rem; }
.foot-col h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 0.92rem; transition: color 0.25s; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-bottom p { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--faint); }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color 0.25s, border-color 0.25s; }
.foot-social a:hover { color: var(--orange); border-color: var(--orange); }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }
.fiverr-note { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.fiverr-note a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.fiverr-note a:hover { color: var(--orange); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--bg); padding: 28px clamp(16px,2vw,30px); }
.stat .v { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem,3.6vw,2.6rem); letter-spacing: -0.03em; }
.stat .v .u { color: var(--orange); }
.stat .l { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }

/* ---------- Reveal (self-healing; visible without JS) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .cell--feature { grid-column: span 4; }
  .cell--third { grid-column: span 2; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell--feature, .cell--third { grid-column: span 1; grid-row: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .hero-copy { max-width: 100%; }
}
@media (max-width: 560px) { .nav-right .btn { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .js .cell { clip-path: none !important; }
  .statement .w { color: var(--text) !important; } .statement .w.accent { color: #c43a12 !important; }
  .hiw-step { opacity: 1 !important; }
  .hiw-big .n:first-child { opacity: 1 !important; transform: none !important; }
}

/* ---------- Subpage components (pricing / faq / contact / detailing) ---------- */
.incl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.incl-grid li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.incl-grid h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.incl-grid p { color: var(--muted); font-size: 0.9rem; margin-top: 7px; }
@media (max-width: 820px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .incl-grid { grid-template-columns: 1fr; } }

.acc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.acc > summary { list-style: none; cursor: pointer; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent); flex: none; transition: transform 0.25s var(--ease); }
.acc[open] > summary::after { transform: rotate(45deg); }
.acc > summary:hover { color: var(--accent); }
.acc-body { padding: 0 20px 20px; }
.acc-body p { color: var(--muted); max-width: 66ch; }
.acc-body a { color: var(--accent); }

.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.02em; margin: clamp(26px, 4vh, 40px) 0 12px; }
.prose p { color: var(--muted); max-width: 70ch; margin-bottom: 14px; }
.prose a { color: var(--accent); }
.prose-list { display: grid; gap: 12px; margin: 6px 0 8px; }
.prose-list li { color: var(--muted); max-width: 72ch; padding-left: 20px; position: relative; }
.prose-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose-list strong { color: var(--text); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 4vw, 44px); align-items: start; }
.contact-ways { display: grid; gap: 12px; }
.contact-way { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface); transition: border-color 0.25s, transform 0.25s var(--ease); }
.contact-way:hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); transform: translateY(-2px); }
.contact-way .cw-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--accent); font-size: 1.1rem; }
.contact-way strong { display: block; font-family: var(--display); font-size: 1rem; }
.contact-way em { color: var(--muted); font-size: 0.82rem; font-style: normal; }
.contact-way--sm { opacity: 0.85; }
.contact-form { border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2.4vw, 28px); background: var(--surface); }
.cf-title { font-size: 1.3rem; }
.cf-note { color: var(--muted); font-size: 0.86rem; margin: 8px 0 16px; }
.contact-form label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; font-family: var(--body); font-size: 0.95rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form .btn { margin-top: 6px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.detail-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-proof a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color 0.25s, transform 0.25s var(--ease); }
.detail-proof a:hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); transform: translateY(-3px); }
.detail-proof img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.detail-proof span { display: block; padding: 12px 14px; font-family: var(--display); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 680px) { .detail-proof { grid-template-columns: 1fr; } }

/* a11y: inline text links need a non-colour distinction */
.prose a, .acc-body a, .lbx-demo a, main section > .wrap > p a:not(.btn), .final p a { text-decoration: underline; text-underline-offset: 2px; }

.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
