/* ==========================================================================
   N3X Ventures — design system
   Dark "signal" base + warm paper sections, mint→azure brand gradient
   Display: Bricolage Grotesque · Body: Instrument Sans · Data: JetBrains Mono
   Long-form reading: Newsreader
   ========================================================================== */

:root {
  --ink-950: #0a0b10;
  --ink-900: #101118;
  --ink-850: #151720;
  --ink-800: #1b1e29;
  --ink-700: #262a37;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --on-dark: #eef0f5;
  --on-dark-muted: #a6acbb;
  --on-dark-faint: #7c8293;

  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --paper-card: #ffffff;
  --ink-text: #13151c;
  --ink-muted: #4f5564;
  --ink-faint: #6d7383;
  --line-paper: rgba(19, 21, 28, .1);

  --mint: #22e5b0;
  --mint-deep: #07805f;
  --azure: #0ea5ff;
  --azure-deep: #0068b3;
  --grad: linear-gradient(100deg, #22e5b0 0%, #19c9c8 45%, #0ea5ff 100%);
  --grad-soft: linear-gradient(100deg, rgba(34, 229, 176, .16), rgba(14, 165, 255, .16));

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .55);
  --shadow-paper: 0 1px 2px rgba(19, 21, 28, .06), 0 12px 32px -14px rgba(19, 21, 28, .18);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--ink-900);
  color: var(--on-dark);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--ink-950); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--mint); color: var(--ink-950); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.6vw + .4rem, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.2vw + .5rem, 3.2rem); }
h3 { font-size: clamp(1.18rem, .6vw + 1rem, 1.38rem); letter-spacing: -.015em; line-height: 1.22; }
h4 { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.24rem); color: var(--on-dark-muted); line-height: 1.6; max-width: 62ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--f-mono); }
.u-center { text-align: center; }
.u-center .lead { margin-inline: auto; }

/* Notched tag — echoes the arrow-notch pill in the N3X Ventures lockup */
.tag {
  --tag-bg: rgba(34, 229, 176, .1);
  --tag-fg: var(--mint);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tag-fg); background: var(--tag-bg);
  padding: .5em 1.05em .5em 1.35em; margin-bottom: 1.25rem;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  width: fit-content;
  border-radius: 0 999px 999px 0;
}
.tag svg { width: 14px; height: 14px; stroke-width: 2.2; }
.tag::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; }
.tag.no-dot::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-800); --btn-fg: var(--on-dark);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.5em; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem; line-height: 1.1; letter-spacing: -.005em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
  white-space: nowrap; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #06231b; box-shadow: 0 10px 30px -10px rgba(34, 229, 176, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(14, 165, 255, .6); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn--dark { background: var(--ink-text); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: #000; }
.btn--outline-dark { background: transparent; color: var(--ink-text); border-color: rgba(19, 21, 28, .22); }
.btn--outline-dark:hover { border-color: var(--ink-text); }
.btn--lg { min-height: 56px; padding: 1em 1.8em; font-size: 1.04rem; }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--mint); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar (sister brand) ---------- */
.topbar { background: var(--ink-950); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--on-dark-muted); position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-sister { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; white-space: nowrap; }
.topbar-sister svg { width: 14px; height: 14px; flex: none; }
.topbar-sister img { height: 18px; width: auto; }
.topbar-sister:hover { color: var(--on-dark); }
.topbar-sister b { color: var(--on-dark); font-weight: 600; }
.topbar-meta { display: flex; align-items: center; gap: 20px; }
.topbar-meta a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-meta a:hover { color: var(--mint); }
.topbar-meta svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .topbar-meta .hide-sm, .topbar-sister .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-meta { display: none; }
}

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 17, 24, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(12, 13, 19, .9); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; padding: 0; }
.nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--on-dark-muted); transition: color .2s, background-color .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"] { color: var(--on-dark); background: rgba(255, 255, 255, .05); }
.nav-link[aria-current="page"] { color: var(--mint); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--on-dark); padding: 8px 10px; border-radius: 999px; }
.nav-phone svg { width: 16px; height: 16px; color: var(--mint); }
.nav-phone:hover { color: var(--mint); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: min(880px, calc(100vw - 48px)); padding: 14px;
  background: var(--ink-850); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 6px; }
.mega-link { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background-color .2s; }
.mega-link:hover { background: rgba(255, 255, 255, .05); }
.mega-link .ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--mint); border: 1px solid rgba(34, 229, 176, .2); }
.mega-link .ico svg { width: 18px; height: 18px; }
.mega-link strong { display: block; font-size: .95rem; font-weight: 600; color: var(--on-dark); line-height: 1.3; }
.mega-link span { display: block; font-size: .82rem; color: var(--on-dark-faint); line-height: 1.4; margin-top: 2px; }
.mega-feature { grid-row: span 5; border-radius: 18px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; min-height: 280px; color: #fff; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 16, .1), rgba(10, 11, 16, .92)); }
.mega-feature { isolation: isolate; }
.mega-feature h4 { margin-bottom: 6px; font-size: 1.15rem; }
.mega-feature p { font-size: .85rem; color: rgba(255, 255, 255, .78); margin-bottom: 12px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 14px 6px; margin-top: 6px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--on-dark-faint); }
.mega--industries { width: min(980px, calc(100vw - 48px)); }
.mega-ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 10px; }
.mega-ind h5 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); font-weight: 500; margin: 8px 12px 6px; }
.mega-ind a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: .9rem; color: var(--on-dark-muted); transition: background-color .2s, color .2s; }
.mega-ind a svg { width: 16px; height: 16px; color: var(--on-dark-faint); flex: none; transition: color .2s; }
.mega-ind a:hover { background: rgba(255, 255, 255, .05); color: var(--on-dark); }
.mega-ind a:hover svg { color: var(--mint); }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5, 6, 10, .6); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ink-900); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.drawer-head img { height: 32px; width: auto; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px var(--gutter) 24px; overscroll-behavior: contain; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a, .drawer-acc > summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; list-style: none; cursor: pointer; }
.drawer-acc > summary::-webkit-details-marker { display: none; }
.drawer-nav > li > a svg { width: 20px; height: 20px; color: var(--on-dark-faint); }
.drawer-acc > summary svg { width: 20px; height: 20px; transition: transform .25s; color: var(--on-dark-faint); }
.drawer-acc[open] > summary svg { transform: rotate(180deg); color: var(--mint); }
.drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 0 0 16px; }
.drawer-sub a { padding: 9px 0; color: var(--on-dark-muted); font-size: .95rem; }
.drawer-sub a:hover { color: var(--mint); }
.drawer-sub .all { grid-column: 1 / -1; color: var(--mint); font-weight: 600; }
.drawer-foot { padding: 16px var(--gutter) 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .nav-phone { justify-content: center; }

@media (max-width: 1080px) {
  .nav-menu, .nav-actions .nav-phone { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .nav-actions .btn { display: none; }
  .brand img { height: 32px; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.sec--tight { padding-block: clamp(56px, 6vw, 88px); }
.sec--paper { background: var(--paper); color: var(--ink-text); }
.sec--paper .lead { color: var(--ink-muted); }
.sec--paper .tag { --tag-bg: rgba(7, 128, 95, .09); --tag-fg: var(--mint-deep); }
.sec--paper .grad-text { background: linear-gradient(100deg, #059b73, #0277c7); -webkit-background-clip: text; background-clip: text; }
.sec--paper .link-arrow { color: var(--mint-deep); }
.sec--deep { background: var(--ink-950); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.u-center { margin-inline: auto; }
.sec-head h2 { margin-bottom: .4em; }
.sec-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head--split > div { max-width: 680px; }

/* Ambient background treatments */
.bg-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .55; }
.glow--mint { background: #22e5b0; }
.glow--azure { background: #0ea5ff; }
.sec > .container { position: relative; z-index: 1; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero .glow--mint { width: 520px; height: 520px; top: -220px; right: -120px; opacity: .28; }
.hero .glow--azure { width: 460px; height: 460px; bottom: -260px; left: -140px; opacity: .22; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.cycle { display: inline-block; position: relative; white-space: nowrap; }
.cycle-word { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .35s var(--ease), filter .35s; padding-bottom: .06em; }
.cycle-word.is-out { opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.cycle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .09em; background: var(--grad); border-radius: 4px; opacity: .55; }
.hero .lead { margin-bottom: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--on-dark-muted); font-size: .9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--mint); }

/* Hero "growth engine" console */
.engine { position: relative; }
.engine-card { background: linear-gradient(180deg, rgba(27, 30, 41, .92), rgba(21, 23, 32, .92)); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.engine-main { padding: 22px; }
.engine-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.engine-top .dots { display: flex; gap: 6px; }
.engine-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-700); }
.engine-top .live { font-family: var(--f-mono); font-size: .72rem; color: var(--mint); display: inline-flex; align-items: center; gap: 8px; letter-spacing: .06em; }
.engine-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(34, 229, 176, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 229, 176, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 229, 176, 0); } }
.engine-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi small { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-faint); }
.kpi strong { display: block; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.03em; margin-top: 4px; }
.kpi em { font-style: normal; font-size: .74rem; color: var(--mint); }
.engine-chart { position: relative; height: 150px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); overflow: hidden; }
.engine-chart svg { width: 100%; height: 100%; }
.engine-chart .line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.engine-float { position: absolute; z-index: 2; padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: .86rem; animation: bob 6s ease-in-out infinite; }
.engine-float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #06231b; flex: none; }
.engine-float .ico svg { width: 18px; height: 18px; }
.engine-float strong { display: block; font-weight: 600; line-height: 1.25; }
.engine-float span { color: var(--on-dark-faint); font-size: .78rem; }
.engine-float.f1 { top: -26px; left: -34px; }
.engine-float.f2 { bottom: -30px; right: -18px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lead-feed { margin-top: 14px; display: grid; gap: 8px; height: 112px; overflow: hidden; mask-image: linear-gradient(180deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); }
.lead-feed-track { display: grid; gap: 8px; animation: feed 14s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.lead-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: .82rem; }
.lead-row b { font-weight: 600; }
.lead-row span { color: var(--on-dark-faint); font-family: var(--f-mono); font-size: .7rem; }
.lead-row i { font-style: normal; font-size: .7rem; padding: 3px 8px; border-radius: 999px; background: rgba(34, 229, 176, .12); color: var(--mint); white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-950); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: clamp(1.1rem, 1.4vw, 1.4rem); font-weight: 600; color: var(--on-dark-muted); letter-spacing: -.02em; white-space: nowrap; transition: color .2s; }
.marquee a:hover { color: var(--on-dark); }
.marquee a::after { content: ""; width: 8px; height: 8px; background: var(--grad); transform: rotate(45deg); margin-left: 32px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-flow: dense; }
.bento-card { position: relative; grid-column: span 2; border-radius: var(--r-lg); padding: 26px; background: var(--ink-850); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 250px; transition: transform .35s var(--ease), border-color .3s; isolation: isolate; }
.bento-card:hover { transform: translateY(-4px); border-color: rgba(34, 229, 176, .35); }
.bento-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(34, 229, 176, .22); color: var(--mint); margin-bottom: 0; }
.bento-card .ico svg { width: 22px; height: 22px; }
.bento-card h3 { margin: 26px 0 8px; }
.bento-card p { color: var(--on-dark-muted); font-size: .96rem; margin-bottom: 14px; }
.bento-card .link-arrow { font-size: .92rem; margin-top: auto; }
.bento-card .num { position: absolute; top: 22px; right: 24px; font-family: var(--f-mono); font-size: .72rem; color: var(--on-dark-faint); }
.bento-card--wide { grid-column: span 3; }
.bento-card--photo { min-height: 320px; justify-content: flex-end; }
.bento-card--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 16, .05) 0%, rgba(10, 11, 16, .55) 45%, rgba(10, 11, 16, .95) 100%); }
.bento-card--photo:hover > img { transform: scale(1.05); }
.bento-card--photo .ico { margin-bottom: 0; background: rgba(10, 11, 16, .55); backdrop-filter: blur(8px); }
.bento-card--photo p { color: rgba(255, 255, 255, .8); }
.bento-card--accent { background: var(--grad); color: #06231b; border: 0; }
.bento-card--accent p { color: rgba(6, 35, 27, .8); }
.bento-card--accent .ico { background: rgba(6, 35, 27, .12); border-color: rgba(6, 35, 27, .15); color: #06231b; }
.bento-card--accent .link-arrow { color: #06231b; }
.bento-card--accent .num { color: rgba(6, 35, 27, .6); }

/* ---------- Generic cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; border-radius: var(--r-lg); padding: 28px; background: var(--ink-850); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover { border-color: rgba(34, 229, 176, .3); }
.card p { color: var(--on-dark-muted); margin: 0; font-size: .97rem; }
.card h3 { margin-bottom: .45em; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(34, 229, 176, .22); color: var(--mint); margin-bottom: 20px; }
.card .ico svg { width: 22px; height: 22px; }
a.card:hover { transform: translateY(-4px); }
.card .link-arrow { margin-top: 18px; font-size: .92rem; }
.sec--paper .card { background: var(--paper-card); border-color: var(--line-paper); box-shadow: var(--shadow-paper); }
.sec--paper .card p { color: var(--ink-muted); }
.sec--paper .card .ico { background: linear-gradient(135deg, rgba(34, 229, 176, .18), rgba(14, 165, 255, .14)); border-color: rgba(7, 128, 95, .18); color: var(--mint-deep); }
.sec--paper .card:hover { border-color: rgba(7, 128, 95, .35); }

/* Pain cards — numbered, with a warning stripe */
.pain { padding-top: 34px; }
.pain::before { content: ""; position: absolute; left: 28px; top: 0; width: 42px; height: 3px; border-radius: 0 0 3px 3px; background: #ff7a59; }
.pain .ico { background: rgba(255, 122, 89, .1); border-color: rgba(255, 122, 89, .22); color: #ff8f73; }
.sec--paper .pain .ico { background: rgba(232, 84, 48, .08); border-color: rgba(232, 84, 48, .2); color: #c4441f; }

/* ---------- Compare (problem vs solution) ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-paper); background: var(--paper-card); box-shadow: var(--shadow-paper); }
.compare-col { padding: clamp(26px, 4vw, 48px); }
.compare-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 22px; }
.compare-col h3 .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.compare-col h3 .badge svg { width: 18px; height: 18px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.compare-col li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.compare-col--bad { background: #f3efe8; color: var(--ink-muted); }
.compare-col--bad h3 { color: var(--ink-text); }
.compare-col--bad .badge { background: rgba(232, 84, 48, .1); color: #c4441f; }
.compare-col--bad li svg { color: #c4441f; }
.compare-col--good { background: var(--ink-900); color: var(--on-dark); position: relative; }
.compare-col--good::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.compare-col--good .badge { background: var(--grad); color: #06231b; }
.compare-col--good li svg { color: var(--mint); }
.compare-vs { display: grid; place-items: center; width: 0; position: relative; z-index: 2; }
/* .compare-vs span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-paper); font-family: var(--f-mono); font-weight: 600; font-size: .8rem; color: var(--ink-text); box-shadow: var(--shadow-paper); } */
.compare-vs::before { content: ""; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(90deg, #f3efe8 50%, #101118 50%); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(34, 229, 176, .5), 0 10px 24px -8px rgba(0, 0, 0, .35); }
.compare-vs span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding-left: .06em; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; line-height: 1; background: linear-gradient(90deg, #c4441f 50%, #22e5b0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--mint), var(--azure), transparent); opacity: .5; }
.step { position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: .95rem; background: var(--ink-900); border: 1px solid var(--line-strong); color: var(--mint); margin-bottom: 22px; position: relative; z-index: 1; transition: background .3s, color .3s; }
.step:hover .step-num { background: var(--grad); color: #06231b; border-color: transparent; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--on-dark-muted); font-size: .95rem; margin: 0; }
.sec--paper .step-num { background: var(--paper-card); border-color: var(--line-paper); color: var(--mint-deep); box-shadow: var(--shadow-paper); }
.sec--paper .step p { color: var(--ink-muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; background: var(--ink-850); }
.stat { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 10px; color: var(--on-dark-muted); font-size: .92rem; }
.sec--paper .stats { background: var(--paper-card); border-color: var(--line-paper); box-shadow: var(--shadow-paper); }
.sec--paper .stat { border-color: var(--line-paper); }
.sec--paper .stat-num { background: linear-gradient(100deg, #059b73, #0277c7); -webkit-background-clip: text; background-clip: text; }
.sec--paper .stat-label { color: var(--ink-muted); }

/* ---------- Industries ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 42px; border-radius: 999px; font-size: .9rem; font-weight: 500; border: 1px solid var(--line-strong); color: var(--on-dark-muted); transition: all .2s; }
.chip:hover { color: var(--on-dark); border-color: var(--on-dark-faint); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--on-dark); color: var(--ink-950); border-color: var(--on-dark); }
.chip svg { width: 15px; height: 15px; }
.sec--paper .chip { border-color: rgba(19, 21, 28, .16); color: var(--ink-muted); background: var(--paper-card); }
.sec--paper .chip:hover { color: var(--ink-text); border-color: var(--ink-text); }
.sec--paper .chip.is-active, .sec--paper .chip[aria-pressed="true"] { background: var(--ink-text); color: #fff; border-color: var(--ink-text); }

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.4; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; isolation: isolate; background: var(--ink-800); }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 16, 0) 28%, rgba(10, 11, 16, .55) 58%, rgba(10, 11, 16, .94) 100%); transition: background .3s; }
.ind-card small, .ind-card h3 { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.ind-card:hover img { transform: scale(1.06); }
.ind-card small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.ind-card h3 { font-size: 1.12rem; margin: 4px 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.ind-card h3 svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.ind-card:hover h3 svg { transform: translate(3px, -3px); }
.ind-card.is-hidden { display: none; }
.ind-card--realty { grid-column: 1 / -1; aspect-ratio: auto; flex-direction: row; align-items: center; gap: 24px; padding: 22px 26px; background: linear-gradient(100deg, rgba(34,229,176,.08), rgba(14,165,255,.08)), var(--ink-850); border: 1px solid var(--line-strong); }
.ind-card--realty > div { flex: 1; }
.ind-card--realty .btn { flex: none; }
@media (max-width: 760px) { .ind-card--realty { flex-direction: column; align-items: flex-start; } }
.ind-card--realty::after { display: none; }
.ind-card--realty img { position: static; height: 34px; width: auto; object-fit: contain; flex: none; }
.ind-card--realty p { font-size: .9rem; color: var(--on-dark-muted); margin: 0; }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--ink-850); border: 1px solid var(--line); }
.spotlight-media { position: relative; min-height: 420px; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-media .float { position: absolute; left: 24px; bottom: 24px; padding: 18px 20px; border-radius: 18px; background: rgba(10, 11, 16, .78); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); }
.spotlight-media .float .stat-num { font-size: 2.6rem; }
.spotlight-media .float p { margin: 6px 0 0; font-size: .85rem; color: var(--on-dark-muted); max-width: 220px; }
.spotlight-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-muted); }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 1px; }
.sec--paper .checks li { color: var(--ink-muted); }
.sec--paper .checks li svg { color: var(--mint-deep); }

/* ---------- Results / testimonials ---------- */
.metric-card { padding: 28px; border-radius: var(--r-lg); background: var(--paper-card); border: 1px solid var(--line-paper); box-shadow: var(--shadow-paper); }
.metric-card .stat-num { font-size: clamp(2.4rem, 4vw, 3.2rem); background: linear-gradient(100deg, #059b73, #0277c7); -webkit-background-clip: text; background-clip: text; }
.metric-card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.metric-card p { color: var(--ink-muted); font-size: .94rem; margin: 0; }
.quote { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink-900); color: var(--on-dark); position: relative; overflow: hidden; }
.quote::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-family: var(--f-serif); font-size: 9rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.quote .stars { display: flex; gap: 3px; color: #ffc65c; margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { margin: 0 0 24px; font-family: var(--f-serif); font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.5; position: relative; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #03140e; font-weight: 800; font-size: .92rem; letter-spacing: .02em; flex: none; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .86rem; color: var(--on-dark-faint); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg); background: var(--ink-850); border: 1px solid var(--line); }
.plan-name { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 8px; }
.plan-desc { color: var(--on-dark-muted); font-size: .94rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 3.4vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.plan-price span { color: var(--on-dark-faint); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; color: var(--on-dark-muted); line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--mint); margin-top: 2px; }
.plan--featured { background: linear-gradient(180deg, #1c2330, #151a24); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 30px 60px -30px rgba(14, 165, 255, .5); }
.plan--featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #06231b; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pricing-note { text-align: center; margin-top: 26px; font-size: .9rem; color: var(--on-dark-faint); }
.pricing-note svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; margin-right: 6px; color: var(--mint); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--paper-card); border: 1px solid var(--line-paper); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-paper); border-color: rgba(7, 128, 95, .3); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; color: var(--ink-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--paper); transition: transform .3s var(--ease), background .3s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink-text); color: #fff; }
.faq .answer { padding: 0 22px 22px; color: var(--ink-muted); line-height: 1.65; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); overflow: hidden; background: var(--ink-950); border: 1px solid var(--line-strong); isolation: isolate; text-align: center; }
.cta .glow--mint { width: 420px; height: 420px; top: -200px; left: -80px; opacity: .35; }
.cta .glow--azure { width: 420px; height: 420px; bottom: -220px; right: -60px; opacity: .35; }
.cta .bg-grid { mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%); }
.cta > :not(.glow):not(.bg-grid) { position: relative; z-index: 1; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .lead { margin: 0 auto 32px; }
.cta .btn-row { justify-content: center; }
.cta-note { margin-top: 18px; font-size: .86rem; color: var(--on-dark-faint); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note svg { width: 15px; height: 15px; color: var(--mint); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero .glow--mint { width: 460px; height: 460px; top: -260px; left: 30%; opacity: .22; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw + .4rem, 3.9rem); }
.page-hero .lead { margin-bottom: 28px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-grid { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row, .page-hero--center .crumbs { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; font-size: .84rem; color: var(--on-dark-faint); }
.crumbs a { color: var(--on-dark-muted); transition: color .2s; }
.crumbs a:hover { color: var(--mint); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs [aria-current] { color: var(--on-dark); }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4.4; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(10, 11, 16, .5)); }
.hero-media .chip-float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(21, 23, 32, .9); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .86rem; animation: bob 6s ease-in-out infinite; max-width: 270px; }
.hero-media .chip-float .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #06231b; flex: none; }
.hero-media .chip-float .ico svg { width: 18px; height: 18px; }
.hero-media .chip-float strong { display: block; line-height: 1.25; }
.hero-media .chip-float span { color: var(--on-dark-faint); font-size: .78rem; }
.hero-media .cf1 { left: -28px; bottom: 36px; }
.hero-media .cf2 { right: -18px; top: 28px; animation-delay: -3s; }

/* Quick answer box (AEO) */
.answer-box { margin-top: 28px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); display: flex; gap: 14px; align-items: flex-start; max-width: 620px; }
.answer-box .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--mint); flex: none; }
.answer-box .ico svg { width: 16px; height: 16px; }
.answer-box p { margin: 0; font-size: .93rem; color: var(--on-dark-muted); }
.answer-box strong { color: var(--on-dark); }

/* Link chips cloud */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--on-dark-muted); font-size: .92rem; transition: all .2s; }
.chip-cloud a svg { width: 16px; height: 16px; color: var(--mint); }
.chip-cloud a:hover { border-color: var(--mint); color: var(--on-dark); transform: translateY(-2px); }
.sec--paper .chip-cloud a { border-color: rgba(19, 21, 28, .14); color: var(--ink-text); background: var(--paper-card); }
.sec--paper .chip-cloud a svg { color: var(--mint-deep); }
.sec--paper .chip-cloud a:hover { border-color: var(--mint-deep); }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv .card { padding: clamp(28px, 4vw, 48px); }
.mv .card h3 { font-size: 1.6rem; }
.mv .card p { font-size: 1.05rem; line-height: 1.7; }
.family { display: grid; gap: 18px; }
.family-root { text-align: center; padding: 36px; border-radius: var(--r-xl); background: var(--ink-900); color: var(--on-dark); position: relative; overflow: hidden; }
.family-root img { height: 64px; width: auto; margin: 0 auto 16px; }
.family-root p { color: var(--on-dark-muted); max-width: 52ch; margin: 0 auto; }
.family-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.family-branch { padding: 28px; border-radius: var(--r-lg); background: var(--paper-card); border: 1px solid var(--line-paper); box-shadow: var(--shadow-paper); }
.family-branch .mark { height: 40px; display: flex; align-items: center; margin-bottom: 18px; }
.family-branch .mark img { height: 34px; width: auto; }
.family-branch .mark .mono-mark { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.family-branch h3 { font-size: 1.2rem; }
.family-branch p { color: var(--ink-muted); margin: 0; font-size: .96rem; }
.family-branch--self { background: var(--ink-900); border-color: transparent; color: var(--on-dark); }
.family-branch--self p { color: var(--on-dark-muted); }
.family-branch--self .you { display: inline-block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-left: 8px; vertical-align: middle; }
.timeline { position: relative; display: grid; gap: 0; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--mint), var(--azure), transparent); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 36px; }
.tl-item .step-num { margin: 0; }
.tl-item h3 { margin-top: 12px; }
.tl-item p { color: var(--on-dark-muted); margin: 0; }
.photo-band { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; position: relative; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--ink-850); border: 1px solid var(--line); transition: border-color .2s; }
.contact-item:hover { border-color: rgba(34, 229, 176, .35); }
.contact-item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--mint); flex: none; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--on-dark-faint); font-size: .8rem; }
.contact-item strong { font-weight: 600; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--paper); color: var(--ink-text); }
.form-card h2 { font-size: 1.8rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(19, 21, 28, .18); background: #fff; color: var(--ink-text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(34, 229, 176, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-muted); font-size: .94rem; max-width: 34ch; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--on-dark-muted); transition: all .2s; }
.socials a:hover { color: var(--ink-950); background: var(--mint); border-color: var(--mint); }
.socials svg { width: 18px; height: 18px; }
.footer-col h2 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--mint); }
.sister-card { display: block; padding: 20px; border-radius: 18px; background: var(--ink-850); border: 1px solid var(--line-strong); transition: border-color .25s, transform .25s var(--ease); }
.sister-card:hover { border-color: var(--mint); transform: translateY(-3px); }
.sister-card img { height: 30px; width: auto; margin-bottom: 14px; }
.sister-card p { font-size: .86rem; color: var(--on-dark-muted); margin: 0 0 10px; }
.sister-card .link-arrow { font-size: .86rem; }
.footer-contact { margin-top: 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--on-dark-muted); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--mint); flex: none; }
.footer-word { font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 17vw, 15rem); letter-spacing: -.06em; line-height: .78; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-top: -10px; pointer-events: none; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; font-size: .86rem; color: var(--on-dark-faint); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--mint); }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), opacity .25s; }
.fab svg { width: 24px; height: 24px; }
.fab--wa { background: #25d366; color: #fff; }
.fab--wa:hover { transform: scale(1.06); }
.fab--top { background: var(--ink-800); border: 1px solid var(--line-strong); color: var(--on-dark); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Blog index ---------- */
.post-feature { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-card); border: 1px solid var(--line-paper); box-shadow: var(--shadow-paper); margin-bottom: 40px; transition: transform .35s var(--ease); }
.post-feature:hover { transform: translateY(-4px); }
.post-feature .media { position: relative; min-height: 380px; }
.post-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-feature h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); color: var(--ink-text); }
.post-feature p { color: var(--ink-muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .84rem; color: var(--ink-faint); }
.post-meta .cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(7, 128, 95, .1); color: var(--mint-deep); font-weight: 500; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-card); border: 1px solid var(--line-paper); box-shadow: var(--shadow-paper); transition: transform .35s var(--ease), box-shadow .35s; color: var(--ink-text); }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px rgba(19, 21, 28, .35); }
.post-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.post-card p { color: var(--ink-muted); font-size: .94rem; margin-bottom: 16px; }
.post-card .read { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--mint-deep); display: inline-flex; align-items: center; gap: 6px; }
.post-card .read svg { width: 16px; height: 16px; transition: transform .25s; }
.post-card:hover .read svg { transform: translateX(4px); }
.post-card.is-hidden { display: none; }
.sec--dark-cards .post-card { background: var(--ink-850); border-color: var(--line); box-shadow: none; color: var(--on-dark); }
.sec--dark-cards .post-card p { color: var(--on-dark-muted); }
.sec--dark-cards .post-card .read { color: var(--mint); }
.sec--dark-cards .post-meta { color: var(--on-dark-faint); }
.sec--dark-cards .post-meta .cat { background: rgba(34, 229, 176, .1); color: var(--mint); }

/* ---------- Article (off-white reading surface) ---------- */
body.is-article { background: var(--paper); }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 120; }
.article-head { background: var(--paper); color: var(--ink-text); padding: clamp(36px, 5vw, 64px) 0 0; }
.article-head .crumbs { color: var(--ink-faint); }
.article-head .crumbs a { color: var(--ink-muted); }
.article-head .crumbs a:hover { color: var(--mint-deep); }
.article-head .crumbs [aria-current] { color: var(--ink-text); }
.article-head h1 { font-size: clamp(2.1rem, 3.6vw + .6rem, 3.5rem); max-width: 22ch; letter-spacing: -.035em; }
.article-head .dek { font-family: var(--f-serif); font-size: clamp(1.2rem, 1vw + 1rem, 1.45rem); line-height: 1.5; color: var(--ink-muted); max-width: 60ch; margin-bottom: 26px; }
.byline { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); flex-wrap: wrap; }
.byline .avatar { width: 44px; height: 44px; background: var(--ink-900); padding: 8px; }
.byline .avatar img { width: 100%; height: auto; }
.byline strong { display: block; font-size: .95rem; }
.byline span { font-size: .84rem; color: var(--ink-faint); }
.byline .share { margin-left: auto; display: flex; gap: 8px; }
.byline .share a, .byline .share button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-paper); color: var(--ink-muted); transition: all .2s; background: #fff; }
.byline .share a:hover, .byline .share button:hover { color: var(--ink-text); border-color: var(--ink-text); }
.byline .share svg { width: 16px; height: 16px; }
.article-cover { margin: 32px 0 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover-cap { font-size: .8rem; color: var(--ink-faint); margin-top: 10px; }
.article-wrap { background: var(--paper); color: var(--ink-text); padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px) 1fr; gap: clamp(28px, 4vw, 56px); }
.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; font-size: .88rem; }
.toc summary { list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary h2 { display: inline; }
.toc h2 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-paper); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-muted); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink-text); }
.toc a.is-active { color: var(--ink-text); border-left-color: var(--mint-deep); font-weight: 600; }
.toc-cta { margin-top: 24px; padding: 18px; border-radius: 16px; background: var(--ink-900); color: var(--on-dark); }
.toc-cta p { font-size: .86rem; color: var(--on-dark-muted); margin: 6px 0 14px; }
.toc-cta strong { font-family: var(--f-display); font-size: 1.05rem; }

.prose { font-family: var(--f-serif); font-size: 1.22rem; line-height: 1.75; color: #1d2029; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.4vw + 1rem, 2.05rem); color: var(--ink-text); margin: 2.1em 0 .6em; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-family: var(--f-display); font-size: 1.32rem; color: var(--ink-text); margin: 1.7em 0 .5em; }
.prose a { color: var(--azure-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--mint-deep); }
.prose strong { color: var(--ink-text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .45em 0; padding-left: .25em; }
.prose ul li::marker { color: var(--mint-deep); }
.prose ol li::marker { color: var(--mint-deep); font-family: var(--f-mono); font-size: .85em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 3px solid; border-image: var(--grad) 1; font-size: 1.36rem; font-style: italic; color: var(--ink-text); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-body); font-size: .95rem; line-height: 1.5; margin: 1.6em 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-paper); }
.prose .btn { text-decoration: none; color: #06231b; }
.prose .btn:hover { color: #06231b; }
body.is-article .site-header { background: rgba(16, 17, 24, .97); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-paper); vertical-align: top; }
.prose th { font-weight: 600; background: var(--paper-2); }
.prose .first-p::first-letter { font-family: var(--f-display); float: left; font-size: 4.2em; line-height: .82; font-weight: 800; padding: .08em .12em 0 0; color: var(--ink-text); }
.takeaways { font-family: var(--f-body); margin: 0 0 2.2em; padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-paper); box-shadow: var(--shadow-paper); }
.takeaways h2 { font-family: var(--f-mono) !important; font-size: .74rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-deep) !important; margin: 0 0 14px !important; font-weight: 500; }
.takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1rem; line-height: 1.55; }
.takeaways li { display: flex; gap: 10px; padding: 0; margin: 0; }
.takeaways li svg { width: 18px; height: 18px; flex: none; color: var(--mint-deep); margin-top: 3px; }
.callout { font-family: var(--f-body); font-size: 1rem; line-height: 1.6; padding: 20px 22px; border-radius: 16px; background: var(--ink-900); color: var(--on-dark); margin: 1.8em 0; }
.callout strong { color: var(--mint); }
.inline-cta { font-family: var(--f-body); margin: 2.4em 0; padding: 28px; border-radius: 22px; background: var(--ink-900); color: var(--on-dark); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.inline-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.inline-cta h3 { font-size: 1.3rem; margin: 0 0 4px; color: var(--on-dark); }
.inline-cta p { margin: 0; font-size: .95rem; color: var(--on-dark-muted); }
.article-faq { margin-top: 3em; font-family: var(--f-body); }
.article-faq h2 { margin-top: 0; }
.author-box { margin-top: 3em; padding: 24px; border-radius: 20px; background: var(--paper-2); display: flex; gap: 18px; align-items: flex-start; font-family: var(--f-body); }
.author-box .avatar { width: 56px; height: 56px; background: var(--ink-900); padding: 10px; }
.author-box strong { display: block; font-size: 1.05rem; }
.author-box p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-muted); line-height: 1.6; }
.article-aside { align-self: start; }
.related { background: var(--paper-2); color: var(--ink-text); }

/* ---------- 404 / legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: var(--on-dark-muted); }

/* ---------- Booking modal (restyled, logic in n3x.js) ---------- */
.booking-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5, 6, 10, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.booking-overlay.open { opacity: 1; visibility: visible; }
.booking-modal { width: min(620px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 26px; background: var(--paper); color: var(--ink-text); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease), width .3s; }
.booking-overlay.open .booking-modal { transform: none; }
.booking-modal.step-2 { width: min(1000px, 100%); }
.booking-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-paper); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.booking-progress { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-family: var(--f-mono); color: var(--ink-faint); flex-wrap: wrap; }
.booking-progress-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(19, 21, 28, .18); }
.booking-progress-dot.active { background: var(--mint-deep); box-shadow: 0 0 0 4px rgba(34, 229, 176, .25); }
.booking-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-paper); display: grid; place-items: center; font-size: 1rem; background: #fff; }
.booking-body { padding: 26px 24px 28px; }
.booking-body h3 { font-size: 1.7rem; margin-bottom: 6px; }
.booking-sub { color: var(--ink-muted); margin-bottom: 22px; }
.booking-field { display: grid; gap: 6px; margin-bottom: 14px; }
.booking-field label { font-size: .86rem; font-weight: 600; }
.booking-field input, .booking-field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(19, 21, 28, .18); background: #fff; font: inherit; color: var(--ink-text); }
.booking-field input:focus, .booking-field select:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(34, 229, 176, .2); }
.booking-error { display: none; font-size: .8rem; color: #c4441f; }
.booking-field.has-error input, .booking-field.has-error select { border-color: #c4441f; }
.booking-field.has-error .booking-error { display: block; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-actions { margin-top: 10px; }
.booking-actions .btn { width: 100%; }
.booking-back { font-size: .9rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 14px; }
.calendly-frame-wrap { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line-paper); }
.calendly-frame-wrap iframe { width: 100%; height: min(680px, 70vh); border: 0; display: block; }
.booking-fallback { padding: 28px; text-align: center; }
.booking-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 210; padding: 12px 18px; border-radius: 12px; background: var(--ink-900); color: var(--on-dark); border: 1px solid var(--line-strong); font-size: .92rem; opacity: 0; transition: all .3s; pointer-events: none; }
.booking-toast.show { opacity: 1; transform: translate(-50%, 0); }
.booking-trust { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: .82rem; color: var(--ink-faint); }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.hero-enter > * { animation: rise .9s var(--ease) both; }
.hero-enter > *:nth-child(2) { animation-delay: .08s; }
.hero-enter > *:nth-child(3) { animation-delay: .16s; }
.hero-enter > *:nth-child(4) { animation-delay: .24s; }
.hero-enter > *:nth-child(5) { animation-delay: .32s; }
.hero-enter > *:nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .lead-feed-track { animation: none !important; }
  .engine-chart .line { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .article-layout > .article-aside:last-child { display: none; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-top .footer-sister { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .engine { max-width: 560px; margin: 24px auto 0; width: 100%; }
  .hero-media { max-width: 620px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card--wide { grid-column: span 1; }
  .bento-card--photo { grid-column: span 2; }
  .grid-4, .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sec--paper .stat:nth-child(-n+2) { border-bottom-color: var(--line-paper); }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .sec-head { position: static; }
  .spotlight, .post-feature, .contact-grid { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 300px; }
  .post-feature .media { min-height: 260px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
  .toc { position: static; background: #fff; border: 1px solid var(--line-paper); border-radius: 16px; padding: 14px 18px; }
  .toc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .toc summary::after { content: "+"; font-family: var(--f-mono); color: var(--mint-deep); font-size: 1.1rem; }
  .toc details[open] summary::after { content: "–"; }
  .toc summary h2 { margin: 0; }
  .toc ol { margin-top: 12px; }
  .toc-cta { display: none; }
  .toc details summary { cursor: pointer; }
  .family-branches { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .mv { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ind-card { padding: 14px; aspect-ratio: 4 / 4.8; }
  .ind-card h3 { font-size: .98rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card--wide, .bento-card--photo { grid-column: span 1; min-height: 0; }
  .bento-card--photo { min-height: 300px; }
  .bento-card .ico { margin-bottom: 0; }
  .compare { grid-template-columns: 1fr; }
  /* .compare-vs { width: auto; height: 0; } */
  .compare-vs::before { background: linear-gradient(180deg, #f3efe8 50%, #101118 50%); }
  .compare-vs span { background-image: linear-gradient(180deg, #c4441f 50%, #22e5b0 50%); }
  .compare-col--good { padding-top: 48px; }
  .ind-card--realty { aspect-ratio: auto !important; }
  .steps { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .engine-float.f1 { left: -6px; top: -30px; }
  .engine-float.f2 { right: -6px; }
  .engine-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1.2rem; }
  .hero-media .cf1 { left: 8px; bottom: 12px; }
  .hero-media .cf2 { right: 8px; top: 12px; }
  .hero-media .chip-float { max-width: 230px; padding: 10px 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .field-row, .booking-row { grid-template-columns: 1fr; }
  .prose { font-size: 1.12rem; line-height: 1.72; }
  .prose table { display: block; overflow-x: auto; white-space: normal; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 20px; }
  .byline .share { margin-left: 0; width: 100%; }
  .photo-band { aspect-ratio: 16 / 10; }
  .btn-row .btn { flex: 1 1 auto; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .timeline::before { left: 23px; }
  .tl-item .step-num { width: 48px; height: 48px; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
  .spotlight-body { padding: 24px 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .engine-kpis .kpi:nth-child(3) { display: none; }
  .engine-kpis { grid-template-columns: 1fr 1fr; }
}
