/* Next Rocket 2026 — shared design system
   Faithful to current brand: black / yellow / white, Poppins, yellow accent period,
   highlight marker, zigzag services, dark footer. Modernized: type scale, spacing,
   reveals, consistent radii. */

:root {
  --yellow: #ffd91a;
  --yellow-deep: #f2c400;
  --ink: #232323;
  --ink-soft: #5c5c5c;
  --ink-faint: #9a9a9a;
  --paper: #ffffff;
  --cream: #fffdf4;
  --cream-warm: #fff8dd;
  --dark: #17181c;
  --footer: #3a3a3a;
  --footer-deep: #2e2e2e;
  --line: #ececec;
  --r: 14px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Poppins", "Noto Sans Thai", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(35, 35, 35, .10);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--yellow-deep); outline-offset: 3px; border-radius: 4px; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site.on-dark { background: color-mix(in srgb, #08090d 92%, transparent); border-color: rgba(255,255,255,.08); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { font-weight: 600; font-size: 1.25rem; letter-spacing: .12em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo b { color: var(--yellow-deep); font-weight: 600; }
.on-dark .logo { color: #fff; }
.on-dark .logo b { color: var(--yellow); }
nav.main { display: flex; gap: clamp(.9rem, 2vw, 1.75rem); align-items: center; }
nav.main a { font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); transition: color .25s; }
.on-dark nav.main a { color: rgba(255,255,255,.75); }
nav.main a:hover { color: var(--ink); }
.on-dark nav.main a:hover { color: #fff; }
nav.main a.active { color: var(--ink); font-weight: 600; }
.on-dark nav.main a.active { color: var(--yellow); }
nav.main a.cta {
  background: var(--yellow); color: var(--ink); font-weight: 600;
  padding: .55rem 1.2rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s;
}
nav.main a.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242, 196, 0, .35); color: var(--ink); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
.on-dark .menu-btn span { background: #fff; }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.dot::after { content: " ."; color: var(--yellow-deep); font-weight: 800; }
.accent { color: var(--yellow-deep); }
.mark {
  background: linear-gradient(transparent 45%, var(--yellow) 45%, var(--yellow) 92%, transparent 92%);
  padding: 0 .25em;
}
.sub { color: var(--ink-soft); max-width: 44rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; padding: .8rem 1.6rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.yellow:hover { box-shadow: 0 12px 30px rgba(242, 196, 0, .4); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- hero (dark, home) ---------- */
.hero-dark {
  background: radial-gradient(1200px 700px at 70% 20%, #1d2030, #0b0c10 60%);
  color: #fff; position: relative; overflow: hidden;
  min-height: 92dvh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 0;
}
#stars { position: absolute; inset: 0; }
.hero-dark .inner { position: relative; z-index: 2; }
.hero-dark .eyebrow {
  font-size: clamp(.8rem, 1.6vw, 1.05rem); font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.hero-dark h1 {
  font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: .01em;
  text-transform: uppercase; line-height: 1.05;
}
.hero-dark h1 .y { color: var(--yellow); }
.hero-dark .sub { color: rgba(255,255,255,.7); margin: 1.5rem auto 2.2rem; }
.hero-dark .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- light page hero (split) ---------- */
.hero-split { position: relative; overflow: hidden; background: var(--paper); }
.hero-split .grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); min-height: 46vh; }
.hero-split .media { position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px; }
.hero-split .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- soft page background ---------- */
.page-soft { background: linear-gradient(180deg, var(--paper), var(--cream) 25%, var(--cream-warm) 60%, var(--paper)); }

/* ---------- service zigzag ---------- */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center; padding: clamp(2.2rem, 5vw, 3.5rem) 0;
}
.svc-row .media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; }
.svc-row .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row:hover .media img { transform: scale(1.04); }
.svc-row.flip .media { order: 2; }
.svc-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .9rem; }
.svc-row p { color: var(--ink-soft); margin-bottom: .9rem; font-size: .97rem; }
.svc-link { font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.svc-link:hover { color: var(--yellow-deep); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.8rem 1.6rem; transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-warm); color: var(--ink); margin-bottom: 1rem; font-size: 1.3rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- logo wall ---------- */
.logo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.logo-cell {
  background: var(--paper); display: grid; place-items: center; padding: 2rem 1.5rem;
  min-height: 110px;
}
.logo-cell img {
  width: 142px; height: 54px; object-fit: contain; margin: 0 auto; /* all logos 200x76 -> identical */
  filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s;
}
.logo-cell span {
  filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s;
  font-weight: 600; color: var(--ink-soft); text-align: center; font-size: .95rem;
}
.logo-cell:hover img, .logo-cell:hover span { filter: none; opacity: 1; }
@media (max-width: 600px) { .logo-cell img { height: 34px; } .logo-cell { padding: 1.4rem 1rem; min-height: 84px; } }

/* ---------- static homepage logo strip (ink-normalized per-logo widths, set inline) ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1.8rem, 4vw, 3.6rem); margin: 0 auto;
}
.logo-strip img {
  height: auto; /* width comes inline: calc(<ink-normalized>px * var(--ls, 1)) */
  filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s;
}
.logo-strip img:hover { filter: none; opacity: 1; }
@media (max-width: 900px) { .logo-strip { --ls: .8; } }
@media (max-width: 560px) { .logo-strip { --ls: .62; } }

/* ================= Motion & interactive layer ================= */

/* hero entrance: staggered rise-in on load */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-dark .eyebrow, .hero-dark h1, .hero-dark .sub, .hero-payoff, .hero-dark .cta-row, .hero-dark .trust-line,
.lab-hero .eyebrow, .lab-hero h1, .lab-hero .sub, .lab-hero .cta-row, .lab-hero .loop-strip, .lab-console-wrap {
  animation: riseIn .8s var(--ease) backwards;
}
.hero-dark h1, .lab-hero h1 { animation-delay: .08s; }
.hero-dark .sub, .lab-hero .sub { animation-delay: .16s; }
.hero-payoff { animation-delay: .24s; }
.hero-dark .cta-row, .lab-hero .cta-row { animation-delay: .3s; }
.hero-dark .trust-line, .lab-hero .loop-strip { animation-delay: .42s; }
.lab-console-wrap { animation-delay: .34s; }

/* 3d tilt (pointer devices only, JS drives the vars) */
@media (hover: hover) {
  .svc-feature, .card { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
  .svc-feature:hover { --ty: -6px; }
  .card:hover { --ty: -5px; }
}

/* magnetic primary buttons (JS drives the vars) */
.btn.yellow { transform: translate(var(--mx2, 0), var(--my2, 0)); }
.btn.yellow:hover { transform: translate(var(--mx2, 0), calc(var(--my2, 0) - 2px)); }

/* ---------- NR Labs live console ---------- */
.lab-hero .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .lab-hero .hero-grid { grid-template-columns: 1fr; } }
.console {
  background: #04070a; border: 1px solid #1d2b21; border-radius: 14px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(201,242,78,.06);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .78rem;
}
.console-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #0a0f0c; border-bottom: 1px solid #16211a; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 8px; color: #55685e; font-size: .7rem; letter-spacing: .06em; }
.console-body { padding: 1rem 1.15rem 1.2rem; min-height: 250px; color: #93a89d; line-height: 2; }
.console-body .ln { display: block; white-space: pre-wrap; }
.console-body .ok { color: #c9f24e; }
.console-body .warn { color: #ffd91a; }
.console-body .dim { color: #55685e; }
.console-cursor { display: inline-block; width: 8px; height: 13px; background: #c9f24e; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* pipeline loop: steps light up in sequence */
.loop-step { transition: color .3s, border-color .3s, background .3s, box-shadow .3s; }
.loop-step.on { border-color: #c9f24e; color: #c9f24e; background: rgba(201,242,78,.1); box-shadow: 0 0 18px rgba(201,242,78,.15); }

@media (prefers-reduced-motion: reduce) {
  .hero-dark .eyebrow, .hero-dark h1, .hero-dark .sub, .hero-payoff, .hero-dark .cta-row, .hero-dark .trust-line,
  .lab-hero .eyebrow, .lab-hero h1, .lab-hero .sub, .lab-hero .cta-row, .lab-hero .loop-strip, .lab-console-wrap { animation: none; }
  .console-cursor { animation: none; }
  .svc-feature, .card, .btn.yellow { transform: none !important; }
}

/* hero: the payoff word as its own line */
.hero-payoff {
  color: var(--yellow); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); margin: 0 0 1.9rem;
}

/* value strip (replaces numbered pillars) */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-strip .v { padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.2rem, 3vw, 2rem); border-left: 1px solid var(--line); }
.value-strip .v:first-child { border-left: 0; }
.value-strip .vh { font-size: clamp(1.15rem, 2.3vw, 1.55rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.value-strip .vh b { color: var(--yellow-deep); font-weight: 700; }
@media (max-width: 760px) { .value-strip { grid-template-columns: 1fr; } .value-strip .v { border-left: 0; border-top: 1px solid var(--line); } .value-strip .v:first-child { border-top: 0; } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stats .n { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.stats .n em { color: var(--yellow-deep); font-style: normal; }
.stats .d { color: var(--ink-soft); font-size: .9rem; }

/* ---------- priority CTA block ---------- */
.priority { background: var(--paper); }
.priority .grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.phone-frame {
  border: 10px solid var(--ink); border-radius: 42px; overflow: hidden;
  max-width: 300px; margin: 0 auto; box-shadow: var(--shadow); position: relative;
  aspect-ratio: 9/17; background: #ddd;
}
.phone-frame::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: var(--ink); border-radius: 999px; z-index: 2;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
footer.site { background: var(--footer); color: rgba(255,255,255,.85); }
.f-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2.5rem; }
.f-main h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .9rem; }
.f-main a, .f-main p { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; line-height: 2; }
.f-main a:hover { color: var(--yellow); }
.f-main .logo { color: #fff; }
.f-bar {
  background: var(--footer-deep); padding: 1.1rem 0;
  font-size: .8rem; color: rgba(255,255,255,.55);
}
.f-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.f-social { display: flex; gap: .6rem; }
.f-social a {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.12);
  display: grid; place-items: center; color: #fff; transition: background .25s;
}
.f-social a:hover { background: var(--yellow); color: var(--ink); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover, .card, .card:hover { transform: none; transition: none; }
  #stars { display: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  nav.main {
    position: fixed; inset: 72px 0 auto 0; background: var(--paper);
    flex-direction: column; padding: 1.5rem; gap: 1.1rem; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 40;
  }
  .on-dark nav.main { background: #101116; }
  nav.main.open { transform: none; }
  .hero-split .grid, .svc-row, .priority .grid { grid-template-columns: 1fr; }
  .svc-row.flip .media { order: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .f-main { grid-template-columns: 1fr 1fr; }
}

/* ================= Fix Round 1 additions ================= */

/* ---------- real logo image ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.on-dark .logo img, footer.site .logo img { filter: none; }
@media (max-width: 480px) { .logo img { height: 26px; } }

/* ---------- section headings letter-spacing ease ---------- */
.reveal h2, h2.reveal, h1.reveal { }
.reveal.in .ls, .ls { display: inline-block; }

/* ---------- SVG social icons ---------- */
.f-social a svg { width: 18px; height: 18px; display: block; }
.f-social a { text-decoration: none; }

/* ---------- inline SVG service/card icons ---------- */
.card .ico svg, .ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }

/* ---------- client logo marquee ---------- */
.marquee { overflow: hidden; position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(2rem, 5vw, 4rem); align-items: center; animation: marquee 42s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; filter: grayscale(1); opacity: .58; transition: filter .3s, opacity .3s; flex: 0 0 auto; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stat counters ---------- */
.stats .n em { display: inline-block; }

/* ---------- featured (core) services band ---------- */
.svc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc-feature {
  position: relative; border-radius: var(--r); padding: 2rem 1.7rem 1.8rem;
  background: linear-gradient(160deg, var(--cream-warm), var(--paper));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.svc-feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--yellow); }
.svc-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-feature .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: 1.1rem; }
.svc-feature h3 { margin-bottom: .5rem; }
.svc-feature p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.svc-feature .go { margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.svc-feature.dark { background: linear-gradient(160deg, #202230, var(--dark)); border-color: #2c2e3a; color: #fff; }
.svc-feature.dark::before { background: var(--yellow); }
.svc-feature.dark p { color: rgba(255,255,255,.68); }
.svc-feature.dark .ico { background: rgba(255,217,26,.16); color: var(--yellow); }
.svc-feature.dark .go { color: var(--yellow); }
.svc-feature.labs::before { background: #c9f24e; }
.svc-feature.labs .ico { background: rgba(201,242,78,.16); color: #c9f24e; }
.svc-feature.labs .go { color: #c9f24e; }
.svc-feature.labs h3 .accent { color: #c9f24e; }

/* ================= Round 3: de-icon, editorial cleanup ================= */

/* monospace index number used across cards/features/pillars */
.idx { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; color: var(--yellow-deep); margin-bottom: 1rem; }
.svc-feature.dark .idx, .svc-feature.labs .idx { color: #c9f24e; }

/* featured service card without icon — editorial */
.svc-feature { padding-top: 1.9rem; }
.svc-feature h3 { font-size: 1.35rem; letter-spacing: -.01em; }

/* plain card without icon box */
.card .idx { color: var(--yellow-deep); }
.card h3 { font-size: 1.2rem; }

/* clean trust line (replaces icon chips) */
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.5rem; margin-top: 2.2rem; }
.trust-line span { position: relative; font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.62); }
.trust-line span + span::before { content: ""; position: absolute; left: -.78rem; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.32); transform: translateY(-50%); }

/* pillars: number-led, no icon */
.pillar { padding: 1.9rem 1.6rem 1.7rem; }
.pillar .num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1rem; font-weight: 600; color: var(--yellow-deep); }
.pillar h3 { font-size: 1.15rem; }

/* short accent bar — universal replacement for icon boxes */
.rule-top { height: 2px; width: 32px; background: var(--yellow); border-radius: 2px; margin-bottom: 1.1rem; }
.pillar .rule-top { margin: .9rem 0 1.1rem; }
main.labs-theme .rule-top { background: var(--lab-accent); }
.card .rule-top, .proof .rule-top { margin-bottom: 1rem; }

/* stats: drop the pulsing dot, keep clean label */
.stats-eyebrow::before { display: none; }
.stats-eyebrow { color: rgba(255,255,255,.5); }
.band-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--yellow-deep); margin-bottom: .5rem; }

/* ---------- hero drifting glow ---------- */
.hero-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-glow::before { content: ""; position: absolute; width: 60vw; height: 60vw; left: 55%; top: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,217,26,.14), transparent 62%); filter: blur(30px); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-6%, -4%) scale(1); } to { transform: translate(6%, 6%) scale(1.12); } }

/* ---------- nav link underline grow ---------- */
nav.main a:not(.cta) { position: relative; }
nav.main a:not(.cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--yellow-deep); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.on-dark nav.main a:not(.cta)::after { background: var(--yellow); }
nav.main a:not(.cta):hover::after, nav.main a.active:not(.cta)::after { transform: scaleX(1); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .82rem; color: var(--ink-soft); display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--yellow-deep); }
.crumbs span { color: var(--ink-soft); }
.crumbs span[aria-hidden] { color: var(--ink-faint); }

/* footer column labels (were <h4>, now non-heading for heading-order a11y) */
.f-main .f-col-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .9rem; font-weight: 700; }

/* ---------- contact form states ---------- */
.form-note { font-size: .9rem; margin-top: .8rem; padding: .7rem 1rem; border-radius: 12px; display: none; }
.form-note.ok { display: block; background: #eafaef; color: #1c7a3d; border: 1px solid #b7e6c6; }
.form-note.err { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3c2be; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- parallax media ---------- */
.svc-row .media img { will-change: transform; }

/* ---------- reduced-motion additions ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-glow::before { animation: none; }
  .svc-feature, .svc-feature:hover { transform: none; transition: none; }
}

/* ---------- mobile hardening ---------- */
input, select, textarea { font-size: 16px; }
body.nav-open { overflow: hidden; }
nav.main a { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 900px) {
  nav.main { inset: 72px 0 auto 0; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .svc-feature-grid { grid-template-columns: 1fr; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
}
.table-scroll { overflow-x: auto; }

/* ---------- article (insights) prose ---------- */
.article { max-width: 44rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem); }
.article .tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--yellow-deep); background: var(--cream-warm); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.25; margin-bottom: .8rem; }
.article .meta { color: var(--ink-faint); font-size: .85rem; margin-bottom: 1.6rem; }
.article > img, .article figure img { border-radius: var(--r); margin: 1.6rem 0; width: 100%; box-shadow: var(--shadow); }
.article h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 2.2rem 0 .8rem; }
.article h3 { font-size: 1.15rem; margin: 1.7rem 0 .5rem; }
.article p { margin: 0 0 1.15rem; color: var(--ink-soft); line-height: 1.85; }
.article ul, .article ol { margin: 0 0 1.3rem 1.3rem; display: grid; gap: .5rem; }
.article li { color: var(--ink-soft); line-height: 1.7; }
.article strong { color: var(--ink); font-weight: 600; }
.article a:not(.btn) { color: var(--yellow-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-cta { margin-top: 2.6rem; padding: clamp(1.5rem, 4vw, 2.2rem); background: linear-gradient(160deg, var(--cream-warm), var(--paper)); border: 1px solid var(--line); border-radius: var(--r); text-align: center; }
.article-cta h3 { margin-bottom: .8rem; }

/* ---------- hard mobile overflow lock (inline styles cannot break these) ---------- */
@media (max-width: 640px) {
  .card-grid, .svc-feature-grid, .stats { grid-template-columns: 1fr !important; }
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
}
/* belt-and-braces: nothing may create a horizontal scrollbar */
html { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }

/* ================= Techy-modern layer (Round 2) ================= */

/* --- grid / dot texture utilities --- */
.tech-grid { position: relative; }
.tech-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.tech-grid > * { position: relative; z-index: 1; }

/* --- hero: grid overlay + horizon glow --- */
.hero-dark { background: radial-gradient(1200px 700px at 70% 15%, #1c2233, #090a0e 62%); }
.hero-dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(90% 70% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(90% 70% at 50% 40%, #000, transparent 80%);
}
.hero-horizon { position: absolute; left: 0; right: 0; bottom: -1px; height: 220px; z-index: 1; pointer-events: none;
  background: radial-gradient(80% 130% at 50% 130%, rgba(255,217,26,.28), rgba(255,217,26,.05) 45%, transparent 70%); }

/* --- trust chips --- */
.trust-chips { display: flex; flex-wrap: wrap; gap: .5rem .6rem; justify-content: center; margin-top: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: .42rem .85rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.chip svg { width: 15px; height: 15px; color: var(--yellow); }
.chip.light { color: var(--ink-soft); background: var(--paper); border-color: var(--line); }
.chip.light svg { color: var(--yellow-deep); }

/* --- stats as a dashboard panel --- */
.stats-panel {
  background: linear-gradient(160deg, #16181f, #0d0e12); color: #fff; border: 1px solid #23252f;
  border-radius: calc(var(--r) + 4px); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 30px 70px rgba(10,11,15,.28); position: relative; overflow: hidden;
}
.stats-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(80% 80% at 80% 10%, #000, transparent 70%); mask-image: radial-gradient(80% 80% at 80% 10%, #000, transparent 70%); }
.stats-panel .stats { position: relative; z-index: 1; }
.stats-panel .stats > div { padding: .4rem 1rem; position: relative; }
.stats-panel .stats > div + div::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.12); }
.stats-panel .n { color: #fff; }
.stats-panel .n em { color: var(--yellow); }
.stats-panel .d { color: rgba(255,255,255,.6); }
.stats-eyebrow { color: var(--yellow); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.stats-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,217,26,.2); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,217,26,.28); } 50% { box-shadow: 0 0 0 7px rgba(255,217,26,.05); } }
@media (max-width: 560px) { .stats-panel .stats > div + div::before { display: none; } }

/* --- card glow on hover --- */
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 160px at var(--mx, 50%) 0%, rgba(255,217,26,.14), transparent 70%); opacity: 0; transition: opacity .35s; }
.card:hover::after { opacity: 1; }

/* --- value pillars (why us) --- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar { padding: 1.7rem 1.5rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); position: relative; }
.pillar .pico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); margin-bottom: 1rem; }
.pillar .pico svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-soft); font-size: .92rem; }
.pillar .big { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 2.2rem; font-weight: 800; color: var(--line); line-height: 1; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* --- section divider gradient rule --- */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); border: 0; margin: 0; }

/* ================= NR Labs sub-brand theme (lime on near-black) ================= */
.labs-theme {
  --lab-bg: #07090c; --lab-accent: #c9f24e; --lab-accent-soft: rgba(201,242,78,.12);
  --lab-ink: #eef2f4; --lab-ink-soft: #b3bdc5;
  background: var(--lab-bg); color: var(--lab-ink);
}
.labs-theme .dot::after { color: var(--lab-accent); }
.labs-theme .accent { color: var(--lab-accent); }
.labs-theme .sub, .labs-theme p { color: var(--lab-ink-soft); }
.labs-theme h1, .labs-theme h2, .labs-theme h3 { color: var(--lab-ink); }
.labs-theme .btn.yellow { background: var(--lab-accent); color: #07110a; }
.labs-theme .btn.yellow:hover { box-shadow: 0 12px 34px rgba(201,242,78,.35); }
.labs-theme .mark { background: none; color: var(--lab-accent); padding: 0; font-weight: 700; }
.labs-theme .lab-card { background: linear-gradient(160deg, #0e1116, #0a0c10); border: 1px solid #1b2733; border-radius: var(--r); padding: 1.7rem 1.5rem; transition: transform .3s var(--ease), border-color .3s; }
.labs-theme .lab-card:hover { transform: translateY(-5px); border-color: rgba(201,242,78,.4); }
.labs-theme .lab-card .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--lab-accent-soft); color: var(--lab-accent); margin-bottom: 1rem; }
.labs-theme .lab-eyebrow { color: var(--lab-accent); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.labs-grid-tex { position: relative; }
.labs-grid-tex::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(201,242,78,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,242,78,.06) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(90% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(90% 60% at 50% 0%, #000, transparent 75%); }
.labs-theme .svc-feature-tag { display: inline-block; margin-left: .4rem; font-size: .6rem; font-weight: 700; letter-spacing: .08em; color: #07110a; background: var(--lab-accent); padding: .12rem .4rem; border-radius: 5px; vertical-align: middle; }

/* whole NR Labs page wrapped in main.labs-theme: recolor existing components */
main.labs-theme { background: var(--lab-bg); display: block; }
main.labs-theme section { background: transparent; }
main.labs-theme .page-soft { background: transparent; }
main.labs-theme .card, main.labs-theme .proof { background: linear-gradient(160deg, #0f131a, #0a0c11); border-color: #1a2431; }
main.labs-theme .card h3, main.labs-theme .proof .big { color: var(--lab-ink); }
main.labs-theme .card p, main.labs-theme .proof p, main.labs-theme .sub { color: var(--lab-ink-soft); }
main.labs-theme .card .ico { background: var(--lab-accent-soft); color: var(--lab-accent); }
main.labs-theme .card::after { background: radial-gradient(220px 160px at var(--mx,50%) 0%, rgba(201,242,78,.18), transparent 70%); }
main.labs-theme .card:hover, main.labs-theme .proof:hover { border-color: rgba(201,242,78,.38); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
main.labs-theme .proof .big em { color: var(--lab-accent); }
main.labs-theme .btn:not(.yellow) { background: rgba(201,242,78,.1); color: var(--lab-ink); border: 1px solid rgba(201,242,78,.25); }
main.labs-theme .btn:not(.yellow):hover { background: rgba(201,242,78,.16); }
main.labs-theme .phone-frame { border-color: #10141b; background: #10141b; }
main.labs-theme .center[style] ~ * , main.labs-theme .ink-faint { color: var(--lab-ink-soft); }

/* ================= WOW layer (Round 4) ================= */

/* --- scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-deep));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* --- system status strip: mono telemetry readout bridging hero -> content --- */
.sys-strip {
  margin-top: -1px; background: #0b0c10; border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .85rem 0 .95rem;
}
.sys-in {
  display: flex; align-items: center; gap: .5rem clamp(1.2rem, 3vw, 2.6rem); flex-wrap: wrap;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.sys-item { color: rgba(255,255,255,.55); white-space: nowrap; opacity: 0; animation: sysBoot .5s var(--ease) forwards; }
.sys-item:nth-child(1) { animation-delay: .15s; }
.sys-item:nth-child(2) { animation-delay: .4s; }
.sys-item:nth-child(3) { animation-delay: .6s; }
.sys-item:nth-child(4) { animation-delay: .8s; }
.sys-item:nth-child(5) { animation-delay: 1.05s; }
@keyframes sysBoot { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sys-item b { color: var(--yellow); font-weight: 600; margin: 0 .1rem; }
.sys-live { color: #7ee787; display: inline-flex; align-items: center; gap: .5rem; }
.sys-live i { width: 6px; height: 6px; border-radius: 50%; background: #3fdd78; box-shadow: 0 0 0 3px rgba(63,221,120,.18); animation: sysPulse 2.2s var(--ease) infinite; }
@keyframes sysPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(63,221,120,.22); } 50% { box-shadow: 0 0 0 6px rgba(63,221,120,.04); } }
.sys-out { color: rgba(255,255,255,.8); }
.sys-out em { font-style: normal; color: var(--yellow); font-weight: 700; }
@media (max-width: 640px) { .sys-item:nth-child(3), .sys-item:nth-child(4) { display: none; } }

/* --- split-word heading reveal --- */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w i { display: inline-block; font-style: normal; transform: translateY(115%); transition: transform .75s var(--ease); }
.split.in .w i { transform: none; }

/* --- image entrance: unblur + settle (skips parallax-driven imgs) --- */
.reveal:not(.in) .media img:not([data-parallax]) { transform: scale(1.14); filter: saturate(.25) brightness(.92); }
.reveal.in .media img:not([data-parallax]) { transform: scale(1); filter: none; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }

/* --- NR Labs card: rotating border beam --- */
@property --ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.svc-feature.labs::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ba), transparent 0 70%, rgba(201,242,78,.9) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 5s linear infinite;
}
@keyframes beam { to { --ba: 360deg; } }

/* --- button shine sweep --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; left: -70%; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .55s ease; pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* --- film grain on dark hero --- */
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* --- hero: glow on the payoff word + scroll hint --- */
.hero-dark h1 .y { text-shadow: 0 0 38px rgba(255,217,26,.35); }
.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 32px; transform-origin: top;
  background: linear-gradient(rgba(255,217,26,.9), transparent);
  animation: hintPulse 1.7s ease-in-out infinite;
}
@keyframes hintPulse { 0% { transform: scaleY(.15); opacity: 0; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.15); opacity: 0; } }

/* ================= Round 5: clean-with-attitude editorial ================= */

/* --- hero: left-aligned oversized editorial --- */
.hero-ed { text-align: left; flex-direction: column; align-items: stretch; justify-content: flex-end; padding: 0; }
.hero-ed .inner { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 6.5rem; padding-bottom: 3rem; }
.hero-ed .eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .3em; color: var(--yellow); margin-bottom: 1.8rem; }
.hero-ed .hero-h { font-size: clamp(2.7rem, 8.2vw, 6.2rem); line-height: .98; letter-spacing: -.03em; font-weight: 800; text-transform: uppercase; }
.hero-ed .hero-end { color: #fff; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero-ed .hero-foot .sub { margin: 0; max-width: 27rem; }
.hero-ed .sub b { color: #fff; font-weight: 700; }
.hero-ed .cta-row { justify-content: flex-start; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn.ghost:hover { border-color: rgba(255,255,255,.6); }
.hero-ed .scroll-hint { bottom: 1.4rem; }
.hero-ed .inner { padding-bottom: 5rem; }

/* --- service index: giant interactive rows --- */
.svc-list { border-top: 1px solid var(--line); margin-top: 2.2rem; }
.svc-item {
  position: relative; display: grid; grid-template-columns: 3.2rem 1fr auto 2.2rem;
  align-items: center; column-gap: 1.2rem; padding: 1.45rem .6rem;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden;
}
.svc-item::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .38s var(--ease); }
.svc-item:hover::before { transform: scaleY(1); }
.svc-item > * { position: relative; }
.svc-item .no { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--yellow-deep); transition: color .3s; }
.svc-item .ttl { font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.4rem); letter-spacing: -.02em; line-height: 1.12; transition: transform .38s var(--ease); }
.svc-item.core .ttl { font-size: clamp(1.6rem, 4vw, 3rem); }
.svc-item .hint { grid-column: 2; color: var(--ink-soft); font-size: .88rem; margin-top: .15rem; transition: color .3s; }
.svc-item .tag { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: .28rem .7rem; border-radius: 999px; white-space: nowrap; }
.svc-item .tag.lime { background: #c9f24e; border-color: #c9f24e; color: #10130a; }
.svc-item .arrow { font-size: 1.4rem; font-weight: 700; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .38s var(--ease); }
.svc-item:hover .ttl { transform: translateX(10px); }
.svc-item:hover .no { color: var(--ink); }
.svc-item:hover .hint { color: rgba(35,35,35,.75); }
.svc-item:hover .arrow { opacity: 1; transform: none; }
.svc-item.labs-item::before { background: #0b0c10; }
.svc-item.labs-item:hover .ttl, .svc-item.labs-item:hover .no, .svc-item.labs-item:hover .arrow { color: #c9f24e; }
.svc-item.labs-item:hover .hint { color: rgba(255,255,255,.65); }
@media (max-width: 700px) {
  .svc-item { grid-template-columns: 2.1rem 1fr auto; }
  .svc-item .arrow { display: none; }
}


/* --- stats: flat editorial numerals --- */
.stats-ed { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.stats-ed .stats { text-align: left; gap: 2rem; margin-top: 1.4rem; }
.stats-ed .stats .n { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.02em; line-height: 1.05; }
.stats-ed .stats > div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
@media (max-width: 560px) { .stats-ed .stats > div + div { border-left: 0; padding-left: 0; } }

/* --- giant editorial CTA --- */
.cta-ed { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.giant { font-size: clamp(2.9rem, 9vw, 6.4rem); line-height: .98; letter-spacing: -.03em; font-weight: 800; text-transform: uppercase; }
.cta-ed-row { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem 2.5rem; margin-top: 2.4rem; flex-wrap: wrap; }
.cta-ed-row .sub { margin: 0; }

/* --- round 5 propagation: inner pages editorial --- */
main h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1.12; letter-spacing: -.025em; }
.svc-row h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.02em; }
.svc-row .media { box-shadow: none; }
.crumbs { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.labs-theme .giant, main.labs-theme .cta-ed h2 { color: var(--lab-ink); }
main.labs-theme .cta-ed .accent { color: var(--lab-accent); }

/* --- wow layer: reduced-motion off-switch --- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .scroll-hint::after { display: none; }
  .svc-item::before, .svc-item .ttl, .svc-item .arrow { transition: none; }
  .sys-item { animation: none; opacity: 1; }
  .sys-live i { animation: none; }
  .svc-feature.labs::after { animation: none; }
  .btn::after { display: none; }
  .split .w i { transform: none; transition: none; }
  .reveal:not(.in) .media img:not([data-parallax]) { transform: none; filter: none; }
}

/* ---------- expandable win cards + date chips ---------- */
details.win summary { cursor: pointer; list-style: none; }
details.win summary::-webkit-details-marker { display: none; }
.win-more { display: inline-block; margin-top: .7rem; font-weight: 600; font-size: .85rem; color: var(--ink); border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
details.win[open] .win-more { display: none; }
.win-detail { margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); color: var(--ink-soft); font-size: .92rem; }
.card-date { font-size: .72rem; color: var(--ink-faint); margin-left: .6rem; white-space: nowrap; }
