/* ============================================================
   FoundrOps · Website V2 · shared styles
   Liquid-glass surfaces over a soft, bright teal field.
   ============================================================ */

:root {
  --paper: #F4F7F7;
  --ink: #081E22;
  --ink-2: #2B4A50;
  --mute: #7A8F93;
  --teal: #2A7F80;
  --teal-deep: #236B6C;
  --aqua: #7FC3C1;
  --mint: #C6DAD7;
  --sky: #9FBAB6;
  --sun: #7FC3C1;
  --dark: #081E22;
  --dark-2: #12343A;
  --hair: rgba(8, 30, 34, 0.08);
  --hair-2: rgba(8, 30, 34, 0.14);
  --radius: 22px;
  --radius-lg: 30px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
strong { font-weight: 700; }
::selection { background: rgba(127, 195, 193, .45); }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 1000; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------
   Liquid field: slow-moving colour orbs that sit behind the glass
   ------------------------------------------------------------ */
.field {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(127, 195, 193, .30), transparent 60%),
    radial-gradient(900px 600px at 95% 10%, rgba(198, 218, 215, .55), transparent 60%),
    var(--paper);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .72; will-change: transform;
  animation: drift 26s var(--ease) infinite alternate;
}
.orb-1 { width: 56vw; height: 56vw; left: -12vw; top: -18vw; background: radial-gradient(circle at 40% 40%, var(--aqua), transparent 65%); }
.orb-2 { width: 44vw; height: 44vw; right: -10vw; top: 6vw; background: radial-gradient(circle at 50% 50%, var(--sky), transparent 65%); animation-duration: 34s; animation-delay: -8s; }
.orb-3 { width: 40vw; height: 40vw; left: 30vw; top: 60vh; background: radial-gradient(circle at 50% 50%, var(--mint), transparent 65%); animation-duration: 30s; animation-delay: -16s; opacity: .45; }
.orb-4 { width: 26vw; height: 26vw; right: 14vw; top: 70vh; background: radial-gradient(circle at 50% 50%, rgba(42, 127, 128, .45), transparent 65%); animation-duration: 40s; animation-delay: -4s; opacity: .18; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, 4vh, 0) scale(1.08); }
  100% { transform: translate3d(-4vw, 8vh, 0) scale(.96); }
}

/* ------------------------------------------------------------
   Glass surfaces
   ------------------------------------------------------------ */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .3));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(8, 30, 34, .04),
    0 24px 60px -28px rgba(8, 30, 34, .25),
    0 2px 6px rgba(8, 30, 34, .04);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .55), transparent 55%),
    linear-gradient(to bottom, rgba(255, 255, 255, .18), transparent 40%);
  mix-blend-mode: screen;
}
.glass > * { position: relative; }
.glass-hover { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.glass-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 34px 70px -30px rgba(8, 30, 34, .32),
    0 0 0 1px rgba(127, 195, 193, .35);
}

/* Glass on dark bands */
.band-dark .glass, .glass-dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05));
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.band-dark .glass::before, .glass-dark::before {
  background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .16), transparent 55%);
  mix-blend-mode: normal;
}

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); }
.nav-pill {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
}
.mark { font-weight: 800; font-size: 19px; letter-spacing: -.03em; display: inline-flex; align-items: baseline; line-height: 1; color: var(--ink); }
.mark .ops { position: relative; }
.mark .ops::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--teal); border-radius: 2px; }
.navlinks { display: flex; gap: 6px; }
.navlinks a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.navlinks a:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }
.navlinks a[aria-current="page"] { background: rgba(8, 30, 34, .07); color: var(--ink); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: rgba(255, 255, 255, .5); }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99; padding: 96px var(--gutter) 40px;
  background: rgba(242, 248, 249, .86); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { font-size: 28px; font-weight: 700; letter-spacing: -.02em; padding: 12px 6px; color: var(--ink); border-bottom: 1px solid var(--hair); }
.mobile-menu a[aria-current="page"] { color: var(--teal-deep); }
.mobile-menu .mob-cta { margin-top: 20px; border: 0; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------
   Buttons and links
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; line-height: 1;
  padding: 14px 22px; border-radius: 999px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #12343A, var(--ink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -10px rgba(8, 30, 34, .55);
}
.btn-primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, var(--teal), var(--teal-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -10px rgba(42, 127, 128, .6); }
.btn-primary:active { transform: translateY(0); }
.btn-glass {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .4));
  border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px -12px rgba(8, 30, 34, .3);
}
.btn-glass:hover { transform: translateY(-1px); border-color: rgba(127, 195, 193, .7); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.band-dark .btn-primary { background: linear-gradient(180deg, #fff, #E3EBEA); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.band-dark .btn-primary:hover { background: linear-gradient(180deg, var(--mint), var(--aqua)); color: var(--ink); }
.band-dark .btn-glass { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .22); }

.link { font-weight: 600; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 6px; }
.link .arr { display: inline-block; transition: transform .25s var(--ease); }
.link:hover .arr { transform: translateX(3px); }
.band-dark .link { color: #fff; }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ------------------------------------------------------------
   Type
   ------------------------------------------------------------ */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); font-weight: 500; }
.band-dark .eyebrow { color: var(--aqua); }
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.55; max-width: 56ch; }
.band-dark .lede { color: rgba(255, 255, 255, .78); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p.body { color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--mute); }
.t-center { text-align: center; }

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
main { padding-top: 120px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 10px 0 14px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: clamp(22px, 2.6vw, 32px); }
.card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--teal-deep); margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .outcome { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.35; }
.card ul.tasks { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); display: grid; gap: 6px; }
.card ul.tasks li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.card ul.tasks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--teal)); }
.band-dark .card p, .band-dark .card ul.tasks li { color: rgba(255, 255, 255, .72); }
.band-dark .card .outcome, .band-dark .card h3 { color: #fff; }

.band-dark { background: linear-gradient(160deg, var(--dark-2), var(--dark)); color: #fff; position: relative; overflow: hidden; }
.band-dark::before, .band-dark::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.band-dark::before { width: 50vw; height: 50vw; left: -10vw; top: -20vw; background: radial-gradient(circle, rgba(42, 127, 128, .45), transparent 65%); }
.band-dark::after { width: 36vw; height: 36vw; right: -8vw; bottom: -18vw; background: radial-gradient(circle, rgba(127, 195, 193, .22), transparent 65%); }
.band-dark .wrap { position: relative; }

/* Icon chips */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); }
.ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(127, 195, 193, .32), rgba(198, 218, 215, .5)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff; }
.ico svg { width: 22px; height: 22px; stroke: var(--teal-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.band-dark .ico { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.band-dark .ico svg { stroke: var(--aqua); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 20px; max-width: 19ch; font-size: clamp(40px, 5.4vw, 66px); }
.rot-stack { display: grid; align-items: end; }
.rot-item { grid-area: 1 / 1; }
.rot-item .w { display: inline-block; transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.rot-item:not(.is-on) { pointer-events: none; }
.rot-item:not(.is-on) .w { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.rot-item.is-off .w { transform: translateY(-14px); transition-delay: calc(var(--i) * 25ms); }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-visual { aspect-ratio: 1 / .92; min-height: 360px; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-visual .tag { position: absolute; left: 18px; bottom: 16px; max-width: calc(100% - 36px); line-height: 1.4; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); background: rgba(244, 247, 247, .85); border: 1px solid rgba(255, 255, 255, .9); padding: 7px 11px; border-radius: 999px; }
.page-hero { padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 16ch; margin: 16px 0 18px; }

/* ------------------------------------------------------------
   Proof stat
   ------------------------------------------------------------ */
.stat-big { font-size: clamp(80px, 14vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: .9; background: linear-gradient(135deg, #fff 20%, var(--mint) 60%, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.stat-row p { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.02em; max-width: 26ch; color: rgba(255, 255, 255, .92); }
.stat-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat-mini .glass { padding: 18px 20px; }
.stat-mini b { display: block; font-size: 30px; letter-spacing: -.04em; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.stat-mini span { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */
.quote { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; letter-spacing: -.015em; font-weight: 500; }
.quote blockquote .serif { font-size: 1.15em; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--ink); background: linear-gradient(135deg, var(--mint), var(--sky)); border: 2px solid #fff; box-shadow: 0 6px 14px -6px rgba(8, 30, 34, .4); flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who b { display: block; font-size: 15px; letter-spacing: -.01em; }
.who span { font-size: 13.5px; color: var(--mute); }

/* ------------------------------------------------------------
   End-of-page band
   ------------------------------------------------------------ */
.end-band { padding: clamp(40px, 6vw, 72px) 0; }
.end-band .glass { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: center; border-radius: var(--radius-lg); }
.end-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; max-width: 16ch; }
.end-band p { color: var(--ink-2); max-width: 36ch; font-size: 17px; }
.end-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer { padding: 40px 0 36px; border-top: 1px solid var(--hair); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer .social { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); transition: transform .25s var(--ease); }
.footer .social:hover { transform: translateY(-2px); }
.footer .social svg { width: 16px; height: 16px; fill: var(--ink); }
.footer .copy { width: 100%; margin-top: 22px; font-size: 13px; color: var(--mute); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer .copy a { color: var(--ink-2); }

/* ------------------------------------------------------------
   Modal (30-second demo)
   ------------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 38, 43, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal.open { display: flex; }
.modal-card { width: min(920px, 100%); border-radius: var(--radius-lg); padding: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7)); border: 1px solid #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 12px; }
.modal-head b { font-size: 15px; }
.modal-close { width: 36px; height: 36px; border-radius: 999px; background: rgba(8, 30, 34, .06); font-size: 20px; line-height: 1; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--dark); display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 24px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder { max-width: 36ch; color: rgba(255, 255, 255, .85); font-size: 15px; }
.video-frame .placeholder b { display: block; font-size: 19px; margin-bottom: 8px; color: #fff; }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ------------------------------------------------------------
   Internal review chip (remove before public launch)
   ------------------------------------------------------------ */
.review-chip { position: fixed; left: 14px; bottom: 14px; z-index: 150; display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .82); border: 1px solid #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgba(8, 30, 34, .4); }
.review-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(127, 195, 193, .35); }
.review-chip a { color: var(--teal-deep); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .navlinks { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-pill .nav-cta-desktop { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 10; max-height: 440px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .end-band .glass { grid-template-columns: 1fr; }
  .end-actions { justify-content: flex-start; }
  main { padding-top: 104px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav { top: 10px; }
  .btn { padding: 13px 18px; }
  .hero-actions .btn { width: 100%; }
}
/* Larger hit areas on touch screens without moving the layout */
@media (pointer: coarse) {
  .link { padding: 10px 0; margin: -10px 0; }
  .mark { padding: 12px 0; margin: -12px 0; }
  .footer .copy a, .footer-links a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .glass-hover:hover { transform: none; }
}
.review-chip .x { width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(8, 30, 34, .07); font-size: 15px; line-height: 1; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* ============================================================
   Page-specific
   ============================================================ */

/* How it works */
.how-link { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; }
.how-link .play { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(8, 30, 34, .6); }
.how-link .play svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }
.step-card { position: relative; }
.step-card .step-k { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 6px; }
.step-card .step-k .serif { color: var(--teal-deep); }

/* Services */
.svc-card { display: flex; flex-direction: column; }
.svc-card .role { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); background: rgba(127, 195, 193, .22); border: 1px solid rgba(127, 195, 193, .5); padding: 5px 10px; border-radius: 999px; }
.svc-card h3 { font-size: 22px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.channels .glass { padding: 26px; }
.channels .glass b { display: block; font-size: 19px; letter-spacing: -.02em; margin: 12px 0 8px; }
.channels .glass p { font-size: 15px; color: var(--ink-2); }
.grid-ocean { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ocean { padding: 26px 28px; }
.ocean .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.ocean .k::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.ocean-create .k { color: var(--teal-deep); } .ocean-create .k::before { background: var(--aqua); }
.ocean-raise .k { color: var(--teal-deep); } .ocean-raise .k::before { background: var(--aqua); }
.ocean-reduce .k { color: #5E7B7F; } .ocean-reduce .k::before { background: var(--sky); }
.ocean-elim .k { color: #8C4A4A; } .ocean-elim .k::before { background: #D9A3A3; }
.ocean ul { display: grid; gap: 8px; }
.ocean li { font-size: 15.5px; color: var(--ink-2); padding-left: 16px; position: relative; }
.ocean li::before { content: "·"; position: absolute; left: 2px; top: -2px; font-weight: 800; color: var(--ink); }
.ocean-elim li { text-decoration: line-through; text-decoration-color: rgba(140, 74, 74, .55); text-decoration-thickness: 1.5px; }

/* Case studies */
.logo-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.logo-strip .chip { font-weight: 700; letter-spacing: -.01em; font-size: 14px; padding: 10px 16px; }
.featured { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); }
.featured .stat-big { font-size: clamp(72px, 12vw, 150px); }
.featured .story { margin-top: 26px; max-width: 60ch; color: rgba(255, 255, 255, .78); font-size: 16px; }
.flip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.flip { position: relative; min-height: 232px; cursor: pointer; perspective: 1400px; border-radius: var(--radius); outline-offset: 4px; }
.flip-inner { position: absolute; inset: 0; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 26px 28px; display: flex; flex-direction: column; border-radius: var(--radius); }
.flip-back { transform: rotateY(180deg); background: linear-gradient(135deg, rgba(8, 30, 34, .96), rgba(7, 38, 43, .98)); color: #fff; border-color: rgba(255, 255, 255, .2); }
.flip-back p { color: rgba(255, 255, 255, .86); font-size: 15.5px; }
.flip .kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.flip-back .kicker { color: var(--aqua); }
.flip .big { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.flip .sub { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.flip .hint { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.flip .hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.flip-back .hint { color: rgba(255, 255, 255, .6); }
.flip.pending .flip-front { border-style: dashed; border-color: rgba(8, 30, 34, .2); background: rgba(255, 255, 255, .25); }
.flip.pending .big { color: var(--mute); }

/* About */
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.story-grid .glass { padding: clamp(24px, 3vw, 36px); }
.story-grid p { color: var(--ink-2); font-size: 16px; }
.story-grid p + p { margin-top: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team { padding: 20px 20px 24px; display: flex; flex-direction: column; }
.team .photo { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: linear-gradient(135deg, rgba(58, 211, 207, .35), rgba(138, 203, 255, .35)); display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: rgba(8, 30, 34, .45); border: 1px solid #fff; position: relative; }
.team .photo img { width: 100%; height: 100%; object-fit: cover; }
.team .photo .ph { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); background: rgba(255, 255, 255, .8); padding: 4px 8px; border-radius: 999px; }
.team b { font-size: 18px; letter-spacing: -.02em; }
.team .title { color: var(--teal-deep); font-size: 14px; font-weight: 600; margin: 2px 0 10px; }
.team p { color: var(--ink-2); font-size: 15px; flex: 1; }
.team .link { margin-top: 16px; font-size: 14px; }

/* Playbooks */
.goal-list { display: grid; gap: 14px; }
.goal { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; }
.goal .n { font-family: var(--mono); font-size: 13px; color: var(--teal-deep); width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(127, 195, 193, .25); border: 1px solid rgba(255, 255, 255, .9); }
.goal .want { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.goal b { display: block; font-size: 21px; letter-spacing: -.025em; margin-bottom: 4px; }
.goal p { font-size: 15px; color: var(--ink-2); }
.goal .cta { text-align: right; }
.goal .cta small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 4px; }

/* Get started */
.gs-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gs-grid h1 { font-size: clamp(36px, 5vw, 58px); max-width: 12ch; margin: 16px 0 18px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.ticks .tick { width: 24px; height: 24px; border-radius: 999px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mint), var(--aqua)); border: 1px solid #fff; }
.ticks .tick svg { width: 12px; height: 12px; stroke: var(--ink); fill: none; stroke-width: 2.5; }
.form-card { padding: clamp(22px, 3vw, 34px); }
.form-card form { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fld label .opt { font-weight: 400; color: var(--mute); }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(8, 30, 34, .14); background: rgba(255, 255, 255, .7); transition: border-color .2s, box-shadow .2s, background .2s; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(8, 30, 34, .38); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 127, 128, .15); background: #fff; }
.form-card .fine { font-size: 13px; color: var(--mute); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Thank you */
.ty { max-width: 760px; }
.ty .check { width: 64px; height: 64px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mint), var(--aqua)); border: 2px solid #fff; box-shadow: 0 14px 30px -14px rgba(42, 127, 128, .7); margin-bottom: 22px; }
.ty .check svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 2.5; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.steps .glass { padding: 22px; }
.steps .k { font-family: var(--mono); font-size: 12px; color: var(--teal-deep); letter-spacing: .1em; margin-bottom: 8px; display: block; }
.steps b { display: block; font-size: 16.5px; letter-spacing: -.015em; margin-bottom: 4px; }
.steps p { font-size: 14.5px; color: var(--ink-2); }
.wait { margin-top: 32px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; color: var(--ink-2); font-size: 15px; }

/* Review page */
.review-list { display: grid; gap: 12px; }
.review-list li { padding: 16px 20px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 15px; color: var(--ink-2); }
.review-list .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); padding-top: 3px; }
.review-list .tag.todo { color: #5E7B7F; }
.review-list .tag.decide { color: #8C4A4A; }
.review-list b { color: var(--ink); }
code { font-family: var(--mono); font-size: .9em; background: rgba(8, 30, 34, .06); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.review-list li { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  .team-grid { gap: 14px; }
  .team .photo { font-size: 36px; }
}
@media (max-width: 860px) {
  .channels, .grid-ocean, .story-grid, .gs-grid, .steps { grid-template-columns: 1fr; }
  .flip-grid { gap: 14px; }
  .flip { min-height: 220px; }
  .goal { grid-template-columns: 44px 1fr; }
  .goal .cta { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  .flip-grid { grid-template-columns: 1fr; }
  .stat-mini { grid-template-columns: 1fr; }
  .review-chip { left: auto; right: 12px; bottom: 12px; padding: 8px 10px; font-size: 12px; }
  .review-chip .lbl { display: none; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .review-list li { grid-template-columns: 1fr; gap: 6px; }
  .svc-card .role { position: static; display: inline-flex; margin-bottom: 12px; }
}

/* ============================================================
   Playbook content: trust gradient, loop, funnels, ops grid, traps
   ============================================================ */
.gradient { position: relative; }
.g-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.g-scale span:last-child { color: var(--mute); }
.g-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; padding-top: 14px; }
.g-cols::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--aqua) 40%, var(--mint) 70%, #D5E0DE); }
.g-col, .g-inbound { padding: 20px 20px 22px; }
.g-n { display: inline-flex; width: 26px; height: 26px; border-radius: 999px; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--teal-deep); background: rgba(127, 195, 193, .25); border: 1px solid rgba(255, 255, 255, .9); margin-bottom: 12px; }
.g-col b, .g-inbound b { display: block; font-size: 17px; letter-spacing: -.02em; margin-bottom: 6px; }
.g-col p, .g-inbound p { font-size: 14.5px; color: var(--ink-2); }
.g-col:nth-child(1) { background: linear-gradient(135deg, rgba(42, 127, 128, .14), rgba(255, 255, 255, .5)); }
.g-col:nth-child(2) { background: linear-gradient(135deg, rgba(127, 195, 193, .18), rgba(255, 255, 255, .5)); }
.g-col:nth-child(3) { background: linear-gradient(135deg, rgba(198, 218, 215, .35), rgba(255, 255, 255, .5)); }
.g-col:nth-child(4) { background: linear-gradient(135deg, rgba(213, 224, 222, .4), rgba(255, 255, 255, .4)); }
.g-inbound { margin-top: 12px; display: grid; grid-template-columns: auto auto 1fr; gap: 0 16px; align-items: center; border-style: dashed; border-color: rgba(42, 127, 128, .35); }
.g-inbound .g-n { margin: 0; }
.g-inbound b { margin: 0; }
.g-inbound p { margin: 0; }
.loop { margin-top: 36px; }
.loop-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.loop-step { display: flex; gap: 14px; align-items: flex-start; }
.loop-step .ico { margin: 0; flex: 0 0 auto; }
.loop-step b { display: block; font-size: 20px; letter-spacing: -.025em; margin-bottom: 4px; }
.loop-step b .serif { color: var(--teal-deep); }
.loop-step p { font-size: 14.5px; color: var(--ink-2); }

/* Case studies */
.case-list { display: grid; gap: 18px; }
.case { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); }
.case-head { margin-bottom: 14px; }
.case-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.case-big { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.case-bigsub { font-size: 18px; color: var(--ink-2); margin: 8px 0 22px; letter-spacing: -.01em; }
.case-facts { display: grid; gap: 12px; }
.case-facts div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.case-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); padding-top: 4px; }
.case-facts dd { font-size: 15px; color: var(--ink-2); }
.case-facts.dark dt { color: var(--aqua); }
.case-facts.dark dd { color: rgba(255, 255, 255, .82); }
.case-after { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.band-dark .case-after { color: rgba(255, 255, 255, .72); }
.funnel { display: grid; gap: 10px; }
.funnel .eyebrow { margin-bottom: 4px; }
.f-row { display: grid; grid-template-columns: 120px 1fr 58px; gap: 12px; align-items: center; font-size: 14px; }
.f-k { color: var(--ink-2); }
.f-bar { height: 12px; border-radius: 999px; background: rgba(8, 30, 34, .07); overflow: hidden; }
.f-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--aqua)); transform-origin: left; animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.f-v { text-align: right; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.band-dark .f-k { color: rgba(255, 255, 255, .72); }
.band-dark .f-bar { background: rgba(255, 255, 255, .12); }
.band-dark .f-bar i { background: linear-gradient(90deg, var(--mint), var(--aqua)); }
.band-dark .f-v { color: #fff; }

/* Ops grid and traps */
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.op-card { padding: 22px 24px; }
.op-card b { display: block; font-size: 16.5px; letter-spacing: -.02em; margin-bottom: 6px; }
.op-card p { font-size: 14.5px; color: var(--ink-2); }
.traps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trap { padding: 22px 24px; border-left: 3px solid #D9A3A3; }
.trap .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8C4A4A; display: block; margin-bottom: 8px; }
.trap p { font-size: 15px; color: var(--ink-2); }

/* Featured playbook */
.featured-pb { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); }
.featured-pb h3 { margin: 8px 0 8px; font-size: clamp(22px, 2.6vw, 28px); }
.featured-pb p { color: var(--ink-2); font-size: 15.5px; max-width: 56ch; }

@media (max-width: 1024px) { .ops-grid, .traps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .g-cols { grid-template-columns: repeat(2, 1fr); }
  .loop-row { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .featured-pb { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .g-cols { grid-template-columns: 1fr; }
  .g-inbound { grid-template-columns: auto 1fr; }
  .g-inbound p { grid-column: 1 / -1; margin-top: 8px; }
  .ops-grid, .traps { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 96px 1fr 52px; font-size: 13.5px; }
  .case-facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .f-bar i { animation: none; } }

/* ============================================================
   Design round 2: dark hero on a flowing brand gradient, glass nav
   states, report card, rings, comparison table, dark closing band.
   ============================================================ */
:root {
  --brand-teal: #13B9A5;
  --brand-blue: #42A5F6;
  --accent: #0E8E99;
  --deep: #0C3A40;
  --line: #C6D3D5;
  --line-soft: #E4ECED;
  --radius-panel: 28px;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2 { font-weight: 650; }
.serif { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.brand-text { background: linear-gradient(100deg, var(--brand-teal) 10%, var(--brand-blue) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow-rule { display: block; width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue)); margin-bottom: 14px; }

/* Grain overlay for dark surfaces */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .06; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* Flowing brand gradient: a small canvas scaled up, with a static fallback */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: 0;
  background: radial-gradient(60% 70% at 78% 30%, rgba(66, 165, 246, .55), transparent 60%), radial-gradient(55% 60% at 60% 85%, rgba(19, 185, 165, .55), transparent 62%), radial-gradient(80% 80% at 10% 10%, #0C3A40, transparent 70%), #081E22; }
.mesh canvas { position: absolute; inset: -6%; width: 112%; height: 112%; filter: blur(26px) saturate(1.1); opacity: 0; transition: opacity 1.4s ease .2s; }
.mesh canvas.on { opacity: 1; }

/* Nav: glass over the dark hero, light once past it */
.nav-pill { transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.nav-pill .logo { width: 26px; height: 26px; margin-right: 8px; vertical-align: middle; }
.mark { display: inline-flex; align-items: center; }
.nav.on-dark .nav-pill { background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px rgba(255, 255, 255, .45), inset 0 -1px rgba(255, 255, 255, .08), 0 10px 30px -12px rgba(8, 30, 34, .45); }
.nav.on-dark .nav-pill::before { background: none; }
.nav.on-dark .mark, .nav.on-dark .navlinks a { color: #fff; }
.nav.on-dark .navlinks a { color: rgba(255, 255, 255, .78); }
.nav.on-dark .navlinks a:hover, .nav.on-dark .navlinks a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.nav.on-dark .mark .ops::after { background: var(--brand-teal); }
.nav.on-dark .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.nav.on-dark .btn-primary:hover { background: var(--paper); transform: translateY(-1px); }
.nav.on-dark .nav-toggle { background: rgba(255, 255, 255, .16); }
.nav.on-dark .nav-toggle span { background: #fff; }

/* Dark hero */
.hero-dark { position: relative; color: #fff; background: var(--ink); margin-top: -120px; padding: 150px 0 clamp(56px, 8vw, 110px); min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-dark .wrap { position: relative; z-index: 2; }
.hero-dark .eyebrow { color: rgba(255, 255, 255, .72); }
.hero-dark h1 { color: #fff; font-size: clamp(44px, 7.2vw, 96px); letter-spacing: -.045em; line-height: .98; max-width: 11ch; margin: 18px 0 24px; }
.hero-dark .lede { color: rgba(255, 255, 255, .85); font-size: clamp(18px, 1.6vw, 22px); max-width: 30em; margin-bottom: 30px; }
.hero-dark .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.hero-dark .btn-primary:hover { background: var(--paper); }
.hero-dark .btn-glass { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px rgba(255, 255, 255, .45); }
.hero-dark .btn-glass:hover { background: rgba(255, 255, 255, .25); }
.hero-dark .audience { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.hero-dark .glass { background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px rgba(255, 255, 255, .45), inset 0 -1px rgba(255, 255, 255, .08), 0 10px 30px -12px rgba(8, 30, 34, .45); }
.hero-dark .glass::before { background: none; }
.hero-dark .rot-item .w { color: #fff; }

/* Line rise on first paint */
.rise-wrap { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rise { display: block; animation: rise 1.1s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--delay, 0s); }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
.fade-in { animation: fade-in 1.6s both; animation-delay: var(--delay, 0s); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Report card in the hero */
.report { padding: 18px; border-radius: var(--radius-panel); }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 14px; }
.report-head b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.report-head b img { width: 20px; height: 20px; }
.report-head .ex { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); }
.report-row { background: rgba(8, 30, 34, .4); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; animation: fade-in 1.2s both; animation-delay: var(--delay, 0s); }
.report-row b { display: block; font-size: 15px; letter-spacing: -.01em; margin-bottom: 6px; }
.report-row small { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(19, 185, 165, .25); color: #9FF0E2; font-size: 12px; font-weight: 600; }
.report .link { margin: 6px 6px 0; color: #fff; font-size: 14px; }

/* Rings diagram */
.problem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rings { padding: 22px; border-radius: var(--radius-panel); }
.rings svg { width: 100%; height: auto; display: block; }
.rings .legend { display: grid; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.rings .legend li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.rings .legend i { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.rings .legend b { color: var(--ink); }
.rings .note { margin-top: 14px; font-size: 13px; color: var(--mute); }
.ring-rot { transform-origin: 50% 50%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Comparison table */
.compare { border-radius: var(--radius-panel); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.compare thead th { border-top: 0; font-size: 14px; letter-spacing: -.01em; }
.compare thead th:nth-child(2) { background: rgba(19, 185, 165, .08); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td:nth-child(2) { background: rgba(19, 185, 165, .08); color: var(--ink); font-weight: 500; }
.compare td:nth-child(3) { color: var(--mute); }
.compare .ok, .compare .no { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; margin-right: 8px; vertical-align: -3px; }
.compare .ok { background: var(--brand-teal); color: #fff; }
.compare .no { background: var(--line-soft); color: var(--mute); }
.compare .ok svg, .compare .no svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.compare .brand { display: inline-flex; align-items: center; gap: 8px; }
.compare .brand img { width: 20px; height: 20px; }

/* Proof card */
.proof-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-panel); }
.proof-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.proof-top .stat-big { font-size: clamp(84px, 13vw, 180px); line-height: .85; letter-spacing: -.05em; }
.proof-top p { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -.02em; max-width: 24ch; color: var(--ink); font-weight: 500; }
.split { margin-top: 18px; max-width: 520px; }
.split .bar { height: 10px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.split .bar i { display: block; height: 100%; width: 68%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue)); transform-origin: left; animation: grow 1.4s var(--ease) both; }
.split .labels { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); margin-top: 6px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.proof-stats div { padding: 0 20px; border-left: 1px solid var(--line-soft); }
.proof-stats div:first-child { padding-left: 0; border-left: 0; }
.proof-stats b { display: block; font-size: 30px; letter-spacing: -.04em; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.proof-stats span { font-size: 13.5px; color: var(--mute); }
.proof-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 13.5px; color: var(--mute); flex-wrap: wrap; }

/* Testimonial pending pill */
.pending-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #FEF3C6; color: #7B3306; margin-bottom: 12px; }
.quote .mark-q { font-size: 44px; line-height: .6; color: var(--brand-teal); font-family: Georgia, serif; margin-bottom: 6px; }

/* Dark closing band with a glass card on the gradient */
.cta-dark { position: relative; border-radius: var(--radius-panel); overflow: hidden; color: #fff; background: var(--ink); padding: clamp(24px, 4vw, 48px); min-height: 380px; display: flex; align-items: center; }
.cta-dark .mesh { border-radius: inherit; }
.cta-dark .cta-card { position: relative; z-index: 2; width: min(720px, 100%); padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 1px rgba(255, 255, 255, .45), inset 0 -1px rgba(255, 255, 255, .08), 0 10px 30px -12px rgba(8, 30, 34, .45); }
.cta-dark .cta-card img { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: #fff; margin-bottom: 20px; }
.cta-dark h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); max-width: 14ch; margin-bottom: 12px; }
.cta-dark p { color: rgba(255, 255, 255, .78); font-size: 17px; margin-bottom: 26px; }
.cta-dark .btn-primary { background: #fff; color: var(--ink); }
.cta-dark .btn-primary:hover { background: var(--paper); }
.cta-dark .link { color: #fff; margin-left: 18px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 5px; }
.cta-dark .link:hover { text-decoration-color: #fff; }

/* Column footer */
.footer { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255, 255, 255, .55); border-top: 1px solid var(--line-soft); padding: 48px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid p { color: var(--ink-2); font-size: 14.5px; max-width: 34ch; margin: 14px 0 18px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .02em; margin-bottom: 12px; color: var(--ink); }
.foot-grid ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.foot-grid ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--mute); }

/* About photos */
.team .photo img { display: block; }
.team .photo { background: var(--line-soft); }

@media (max-width: 1024px) {
  .hero-dark .report-col { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-dark { margin-top: -104px; padding-top: 128px; min-height: 0; }
  .hero-dark h1 { max-width: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .proof-top { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; gap: 14px; }
  .proof-stats div { padding: 0; border-left: 0; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 14px 18px; border-top: 1px solid var(--line-soft); }
  .compare tbody th { padding: 0 0 8px; border: 0; width: auto; }
  .compare td { padding: 8px 12px; border: 0; border-radius: 12px; margin-bottom: 6px; }
  .compare td:nth-child(2) { background: rgba(19, 185, 165, .1); }
  .cta-dark { min-height: 0; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-dark .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .fade-in, .report-row, .ring-rot, .split .bar i { animation: none; }
  .mesh canvas { transition: none; }
}
/* First-paint rise for the opening headline words */
.hero-dark .rot-item { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-dark .rot-item.first .w { animation: rise .95s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.12s + var(--i) * 70ms); }
@media (prefers-reduced-motion: reduce) { .hero-dark .rot-item.first .w { animation: none; } }
.hero-dark h1 { font-size: clamp(44px, 6.6vw, 88px); max-width: 12ch; }
.hero-dark .rot-item:not(.first) { font-size: .84em; letter-spacing: -.04em; }
.hero-dark .rot-stack { align-items: end; }
.mobile-menu a.mob-cta { color: #fff; }

/* ============================================================
   Round 3: services loop and blocks, case visual templates, book a call
   ============================================================ */
/* Hero network on the dark hero */
.hero-dark .hero-visual { min-height: 340px; aspect-ratio: 1 / .9; }
.hero-dark .hero-visual .tag { background: rgba(8, 30, 34, .5); color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .22); }

/* Services: the loop */
.loop4 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.l-node { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.l-node:hover, .l-base:hover { transform: translateY(-2px); }
.l-node .num, .l-base .num { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--teal-deep); margin-bottom: 6px; }
.l-node b, .l-base b { font-size: 18px; letter-spacing: -.02em; }
.l-node > span:last-child, .l-base > span:last-child { font-size: 13.5px; color: var(--mute); }
.l-arrow { align-self: center; font-size: 22px; color: var(--teal); padding: 0 2px; }
.l-return { grid-column: 1 / -1; position: relative; height: 34px; }
.l-return::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; border-top: 1.5px dashed rgba(42, 127, 128, .45); }
.l-return span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); padding: 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); white-space: nowrap; }
.l-base { grid-column: 1 / -1; padding: 18px 22px; display: grid; grid-template-columns: auto auto 1fr; gap: 4px 16px; align-items: center; background: linear-gradient(135deg, rgba(8, 30, 34, .9), rgba(12, 58, 64, .92)); color: #fff; border-color: rgba(255, 255, 255, .2); }
.l-base .num { color: var(--aqua); margin: 0; }
.l-base > span:last-child { color: rgba(255, 255, 255, .7); }

/* Services: the four blocks */
.block-list { display: grid; gap: 18px; }
.block { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-panel); }
.block-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.block-head .num { margin: 4px 0 0; }
.block-head h3 { font-size: 24px; margin-bottom: 4px; }
.block-head .outcome { margin: 0; font-weight: 500; font-size: 16.5px; color: var(--ink-2); }
.block-head .role { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); background: rgba(127, 195, 193, .22); border: 1px solid rgba(127, 195, 193, .5); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.items li { display: grid; gap: 3px; padding-left: 18px; position: relative; }
.items li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue)); }
.items b { font-size: 15.5px; letter-spacing: -.01em; }
.items span { font-size: 14px; color: var(--ink-2); }

/* Case visuals: template B chain */
.chain { display: flex; align-items: stretch; gap: 6px; flex-wrap: nowrap; }
.c-step { flex: 1 1 0; min-width: 0; padding: 14px 12px; border-radius: 14px; background: rgba(8, 30, 34, .05); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.c-step.first { background: linear-gradient(135deg, rgba(19, 185, 165, .16), rgba(66, 165, 246, .12)); }
.c-step.last { background: var(--ink); color: #fff; }
.c-step b { display: block; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.035em; line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.c-step span { font-size: 12px; color: var(--mute); line-height: 1.25; }
.c-step.last span { color: rgba(255, 255, 255, .72); }
.c-arrow { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 42px; color: var(--teal); font-size: 16px; }
.c-arrow::after { content: "\2192"; }
.c-arrow i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--teal-deep); margin-bottom: 2px; }
.band-dark .c-step { background: rgba(255, 255, 255, .1); color: #fff; }
.band-dark .c-step.first { background: rgba(127, 195, 193, .22); }
.band-dark .c-step.last { background: #fff; color: var(--ink); }
.band-dark .c-step span { color: rgba(255, 255, 255, .72); }
.band-dark .c-step.last span { color: var(--mute); }
.band-dark .c-arrow { color: var(--aqua); }
.band-dark .c-arrow i { color: var(--aqua); }

/* Case visuals: template A note, template C dots */
.f-note { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
.band-dark .f-note { color: rgba(255, 255, 255, .55); }
.hundred .eyebrow { display: block; margin-bottom: 10px; }
.h-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; max-width: 420px; }
.h-grid i { aspect-ratio: 1; border-radius: 50%; background: rgba(8, 30, 34, .1); }
.h-grid i.s1 { background: #C6DAD7; } .h-grid i.s2 { background: var(--brand-teal); } .h-grid i.s3 { background: var(--ink); }
.band-dark .h-grid i { background: rgba(255, 255, 255, .14); }
.band-dark .h-grid i.s1 { background: rgba(127, 195, 193, .55); } .band-dark .h-grid i.s2 { background: var(--brand-teal); } .band-dark .h-grid i.s3 { background: #fff; }
.h-legend { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.h-legend li { display: flex; align-items: center; gap: 8px; }
.h-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.h-legend i.s1 { background: #C6DAD7; } .h-legend i.s2 { background: var(--brand-teal); } .h-legend i.s3 { background: var(--ink); }
.h-legend b { color: var(--ink); }
.h-legend small { color: var(--mute); }
.band-dark .h-legend { color: rgba(255, 255, 255, .78); } .band-dark .h-legend b { color: #fff; } .band-dark .h-legend small { color: rgba(255, 255, 255, .55); }
.band-dark .h-legend i.s3 { background: #fff; }

/* Book a call */
.cal-card { padding: 10px; border-radius: var(--radius-panel); }
.cal-card .calendly-inline-widget { border-radius: 20px; overflow: hidden; }
.cal-fallback { font-size: 13.5px; color: var(--mute); padding: 12px 10px 6px; }

@media (max-width: 1024px) { .loop4 { grid-template-columns: 1fr; } .l-arrow { transform: rotate(90deg); justify-self: center; } .l-return::before { left: 0; right: 0; } }
@media (max-width: 860px) {
  .block-head { grid-template-columns: auto 1fr; }
  .block-head .role { grid-column: 2; justify-self: start; }
  .items { grid-template-columns: 1fr; }
  .chain { flex-direction: column; gap: 4px; }
  .c-step { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 12px 16px; }
  .c-step b { margin: 0; }
  .c-arrow { width: auto; flex-direction: row; gap: 8px; padding: 2px 16px; justify-content: flex-start; }
  .c-arrow::after { content: "\2193"; }
  .c-arrow i { margin: 0; }
  .l-return span { white-space: normal; text-align: center; max-width: 80%; }
  .hero-dark .hero-visual { min-height: 0; aspect-ratio: 16 / 10; max-height: 380px; }
}
@media (max-width: 600px) { .block-head .role { white-space: normal; } .block-head { grid-template-columns: auto 1fr; } .block-head .role { grid-column: 1 / -1; } }
.cal-card .calendly-inline-widget { min-width: 0 !important; width: 100%; }

/* ============================================================
   Round 4: live visuals, shader backgrounds, tabs, case templates, mobile density
   ============================================================ */
.mesh canvas { filter: none; inset: 0; width: 100%; height: 100%; }
.mesh.no-webgl canvas { display: none; }
.net-wrap { position: relative; }
.net-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.net-chips { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.net-chip { position: absolute; left: 0; top: 0; display: grid; gap: 1px; padding: 7px 11px; border-radius: 12px; font-size: 12px; line-height: 1.2; white-space: nowrap; opacity: 0; transform-origin: left center; transition: opacity .45s var(--ease); will-change: transform;
  background: rgba(255, 255, 255, .9); color: var(--ink); border: 1px solid #fff; box-shadow: 0 8px 20px -10px rgba(8, 30, 34, .5); }
.net-chip.in { opacity: 1; }
.net-chip b { font-size: 12.5px; }
.net-chip span { color: var(--mute); font-size: 11.5px; }
.hero-net { aspect-ratio: 1 / .95; min-height: 380px; margin: -20px -10px -20px 0; }
.hero-net .net-chip { background: rgba(8, 30, 34, .72); color: #fff; border-color: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-net .net-chip span { color: rgba(255, 255, 255, .7); }
.rings-net { aspect-ratio: 1 / 1; max-height: 420px; }

/* Services tabs (the pill switcher on a dark card) */
.tabs-card { position: relative; padding: 14px 14px 28px; border-radius: var(--radius-panel); color: #fff; background: linear-gradient(160deg, #0C3A40, #081E22); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.tabs-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(66, 165, 246, .18), transparent 70%), radial-gradient(50% 50% at 5% 100%, rgba(19, 185, 165, .2), transparent 70%); }
.tab-bar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; border-radius: 999px; background: rgba(8, 30, 34, .55); border: 1px solid rgba(255, 255, 255, .1); }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); transition: background .3s var(--ease), color .3s var(--ease); white-space: nowrap; }
.tab .num { font-family: var(--mono); font-size: 11px; color: var(--aqua); letter-spacing: .08em; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tab.on { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.tab.on .num { color: var(--teal-deep); }
.tab-panel { position: relative; padding: 28px 18px 0; animation: fade-in .45s both; }
.tabs-card .block-head { border-bottom-color: rgba(255, 255, 255, .12); }
.tabs-card .block-head .num { color: var(--aqua); }
.tabs-card .block-head h3 { color: #fff; }
.tabs-card .block-head .outcome { color: rgba(255, 255, 255, .78); }
.tabs-card .block-head .role { color: var(--aqua); background: rgba(127, 195, 193, .14); border-color: rgba(127, 195, 193, .35); }
.tabs-card .items b { color: #fff; }
.tabs-card .items span { color: rgba(255, 255, 255, .7); }

/* Case visual templates */
.case, .featured { --track: rgba(8, 30, 34, .08); --disc-stroke: #fff; }
.band-dark { --track: rgba(255, 255, 255, .14); --disc-stroke: rgba(8, 30, 34, .6); }
.vis-rings, .vis-discs, .vis-dial { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
.vis-rings svg, .vis-discs svg, .vis-dial svg { width: 100%; height: auto; }
.vis-rings .arc, .vis-dial .arc { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dash 1.6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.vis-rings .big, .vis-dial .big { font-family: var(--sans); font-size: 30px; font-weight: 800; letter-spacing: -.04em; fill: var(--ink); }
.vis-rings .small, .vis-dial .small { font-family: var(--sans); font-size: 12px; fill: var(--mute); }
.band-dark .vis-rings .big, .band-dark .vis-dial .big { fill: #fff; }
.band-dark .vis-rings .small, .band-dark .vis-dial .small { fill: rgba(255, 255, 255, .7); }
.vis-legend { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.vis-legend li { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vis-legend i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(8, 30, 34, .08); }
.vis-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vis-legend small { color: var(--mute); font-family: var(--mono); font-size: 11px; }
.band-dark .vis-legend { color: rgba(255, 255, 255, .78); } .band-dark .vis-legend b { color: #fff; } .band-dark .vis-legend small { color: rgba(255, 255, 255, .55); } .band-dark .vis-legend i { border-color: rgba(8, 30, 34, .6); }
.vis-tiles { display: grid; gap: 8px; }
.vis-tiles div { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(8, 30, 34, .05); }
.vis-tiles b { font-size: 20px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; min-width: 64px; }
.vis-tiles span { font-size: 13.5px; color: var(--mute); }
.vis-tiles .hi { background: var(--ink); color: #fff; } .vis-tiles .hi span { color: rgba(255, 255, 255, .72); }
.band-dark .vis-tiles div { background: rgba(255, 255, 255, .1); color: #fff; } .band-dark .vis-tiles span { color: rgba(255, 255, 255, .7); } .band-dark .vis-tiles .hi { background: #fff; color: var(--ink); } .band-dark .vis-tiles .hi span { color: var(--mute); }
.vis-people .eyebrow { display: block; margin-bottom: 10px; }
.people-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; max-width: 440px; }
.people-grid svg { width: 100%; height: auto; display: block; }

/* About numbers */
.numbers .num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 14px; }
.numbers .num-grid b { display: block; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; background: linear-gradient(100deg, var(--brand-teal), var(--brand-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers .num-grid > div > span { font-size: 13.5px; color: var(--ink-2); }

/* Mobile density: shorter pages on phones */
@media (max-width: 1024px) { .hero-net { margin: 0; min-height: 0; aspect-ratio: 16 / 10; max-height: 360px; } .vis-rings, .vis-discs, .vis-dial { grid-template-columns: 180px 1fr; } }
@media (max-width: 860px) {
  .section { padding: clamp(40px, 7vw, 64px) 0; }
  .section-tight { padding: 32px 0; }
  .section-head { margin-bottom: 20px; }
  .hero-dark { padding-bottom: 36px; }
  .hero-dark .lede { margin-bottom: 22px; }
  .g-cols { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .g-col { padding: 14px 14px 16px; } .g-col p { font-size: 13.5px; } .g-col b { font-size: 15px; }
  .g-n { width: 22px; height: 22px; font-size: 11px; margin-bottom: 8px; }
  .loop { margin-top: 24px; } .loop-row { gap: 12px; } .loop-step p { font-size: 13.5px; }
  .proof-card { padding: 24px 20px; } .proof-top .stat-big { font-size: 84px; }
  .compare tr { padding: 12px 14px; }
  .quote { padding: 20px; } .quote blockquote { font-size: 17px; }
  .cta-dark { padding: 16px; } .cta-dark .cta-card { padding: 24px 20px; } .cta-dark .cta-card img { margin-bottom: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } .foot-grid > div:first-child { grid-column: 1 / -1; } .foot-grid p { margin: 10px 0 0; }
  .tab-bar { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 20px; }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 10px 14px; font-size: 13.5px; }
  .tab-panel { padding: 20px 6px 0; }
  .items { gap: 10px; }
  .loop4 { gap: 8px; } .l-node { padding: 14px 16px; } .l-arrow { font-size: 18px; line-height: 1; } .l-return { height: 30px; }
  .block-head { padding-bottom: 12px; margin-bottom: 12px; }
  .end-band { padding: 28px 0; }
  .case { padding: 20px; } .case-bigsub { margin-bottom: 14px; } .case-facts { gap: 8px; }
  .vis-rings, .vis-discs, .vis-dial { grid-template-columns: 160px 1fr; gap: 12px; }
  .vis-legend { font-size: 13px; gap: 6px; }
  .rings { padding: 14px; } .rings-net { max-height: 300px; }
  .rings .legend { gap: 6px; font-size: 13px; }
  .team { padding: 14px 14px 18px; } .team p { font-size: 14px; }
  .story-grid .glass { padding: 20px; }
}
@media (max-width: 600px) {
  .g-cols { grid-template-columns: 1fr 1fr; }
  .vis-rings, .vis-discs, .vis-dial { grid-template-columns: 1fr; justify-items: center; } .vis-rings svg, .vis-discs svg, .vis-dial svg { max-width: 220px; }
  .vis-legend, .vis-tiles { width: 100%; }
  .numbers .num-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .vis-rings .arc, .vis-dial .arc { animation: none; stroke-dashoffset: 0; } .tab-panel { animation: none; } }

/* Phone density, second pass: swipe row for the channels, compact loop, table, proof, quotes, footer */
@media (max-width: 860px) {
  .g-cols { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 14px 0 8px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .g-cols::-webkit-scrollbar { display: none; }
  .g-cols::before { left: var(--gutter); right: var(--gutter); }
  .g-col { flex: 0 0 68%; scroll-snap-align: start; }
  .g-inbound { padding: 14px 16px; }
  .g-inbound p { font-size: 13.5px; }
  .loop-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .loop-step { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8); }
  .loop-step .ico { width: 34px; height: 34px; border-radius: 10px; } .loop-step .ico svg { width: 17px; height: 17px; }
  .loop-step b { font-size: 15px; margin: 0; }
  .loop-step p { display: none; }
  .how-link { margin-top: 18px; }
  .compare tr { padding: 10px 14px; }
  .compare tbody th { font-size: 14px; padding-bottom: 6px; }
  .compare td { padding: 6px 10px; font-size: 13.5px; margin-bottom: 4px; }
  .compare .ok, .compare .no { width: 15px; height: 15px; margin-right: 6px; } .compare .ok svg, .compare .no svg { width: 8px; height: 8px; }
  .proof-top .stat-big { font-size: 72px; } .proof-top p { font-size: 18px; }
  .proof-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; padding-top: 16px; }
  .proof-stats b { font-size: 22px; } .proof-stats span { font-size: 12px; }
  .proof-foot { margin-top: 14px; }
  .quote { padding: 18px; gap: 10px; } .quote blockquote { font-size: 16px; } .quote .mark-q { display: none; }
  .avatar { width: 38px; height: 38px; font-size: 13px; }
  .rings-net { max-height: 260px; }
  .footer { padding: 30px 0 22px; } .foot-grid { gap: 14px; } .foot-grid p { font-size: 13.5px; max-width: none; } .foot-grid ul { gap: 6px; font-size: 14px; } .foot-bottom { margin-top: 18px; padding-top: 14px; }
}
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ============================================================
   V3: calmer backgrounds, orbit hero, dark CTA on every page, numbers strip, templates E to I
   ============================================================ */
.hero-orbits { aspect-ratio: 1 / .95; min-height: 380px; margin: -20px -10px -20px 0; }
.end-band .cta-dark .cta-card { width: min(760px, 100%); }
.end-band .cta-dark h2 { font-size: clamp(30px, 4vw, 46px); }
.end-band .cta-dark .link { color: #fff; }
.num-strip { display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 28px; border-radius: var(--radius-panel); }
.num-strip div { padding: 0 20px; border-left: 1px solid var(--line-soft); }
.num-strip div:first-child { padding-left: 0; border-left: 0; }
.num-strip b { display: block; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; background: linear-gradient(100deg, var(--brand-teal), var(--brand-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-strip div > span { font-size: 13.5px; color: var(--ink-2); display: block; }
.story-grid.single { grid-template-columns: 1fr; }
.story-grid.single .glass { max-width: 820px; }

/* E: half gauge */
.vis-gauge { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
.vis-gauge svg { width: 100%; height: auto; }
.vis-gauge .big { font-family: var(--sans); font-size: 30px; font-weight: 800; letter-spacing: -.04em; fill: var(--ink); }
.vis-gauge .small { font-family: var(--sans); font-size: 11.5px; fill: var(--mute); }
.band-dark .vis-gauge .big { fill: #fff; } .band-dark .vis-gauge .small { fill: rgba(255, 255, 255, .7); }
.vis-gauge .arc { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dash 1.6s var(--ease) forwards; }
/* F: timeline */
.vis-timeline { position: relative; display: grid; gap: 0; padding-left: 26px; }
.vis-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--brand-teal), var(--brand-blue)); border-radius: 2px; }
.vis-timeline li { position: relative; padding: 0 0 16px; }
.vis-timeline li:last-child { padding-bottom: 0; }
.vis-timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-teal); }
.vis-timeline li.last::before { background: var(--brand-blue); border-color: var(--brand-blue); }
.vis-timeline .when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); display: block; margin-bottom: 2px; }
.vis-timeline b { font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-right: 8px; }
.vis-timeline span.what { font-size: 14.5px; color: var(--ink-2); }
.band-dark .vis-timeline li::before { background: var(--ink); } .band-dark .vis-timeline .when { color: var(--aqua); } .band-dark .vis-timeline span.what { color: rgba(255, 255, 255, .75); } .band-dark .vis-timeline b { color: #fff; }
/* G: scorecard */
.vis-score { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vis-score div { padding: 16px 16px 14px; border-radius: 16px; background: rgba(8, 30, 34, .05); display: grid; gap: 4px; }
.vis-score div.hi { background: linear-gradient(135deg, rgba(19, 185, 165, .18), rgba(66, 165, 246, .18)); }
.vis-score .ico { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 6px; }
.vis-score .ico svg { width: 17px; height: 17px; }
.vis-score b { font-size: 26px; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.vis-score span { font-size: 13px; color: var(--mute); }
.vis-score small { font-family: var(--mono); font-size: 11px; color: var(--teal-deep); }
.band-dark .vis-score div { background: rgba(255, 255, 255, .1); color: #fff; } .band-dark .vis-score div.hi { background: rgba(127, 195, 193, .22); } .band-dark .vis-score span { color: rgba(255, 255, 255, .7); } .band-dark .vis-score small { color: var(--aqua); }
/* H: ribbon funnel */
.vis-ribbon svg { width: 100%; height: auto; display: block; }
.vis-ribbon .lbl { font-family: var(--sans); font-size: 11px; fill: var(--mute); }
.vis-ribbon .val { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--ink); letter-spacing: -.02em; }
.band-dark .vis-ribbon .lbl { fill: rgba(255, 255, 255, .65); } .band-dark .vis-ribbon .val { fill: #fff; }
/* I: step ladder, each bar as a share of the previous step */
.vis-ladder { display: grid; gap: 10px; }
.vis-ladder .row { display: grid; grid-template-columns: 1fr; gap: 4px; }
.vis-ladder .lab { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); }
.vis-ladder .lab b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vis-ladder .bar { height: 14px; border-radius: 999px; background: var(--track); overflow: hidden; }
.vis-ladder .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue)); transform-origin: left; animation: grow 1.1s var(--ease) both; }
.vis-ladder .rate { font-family: var(--mono); font-size: 11px; color: var(--teal-deep); }
.band-dark .vis-ladder .lab { color: rgba(255, 255, 255, .75); } .band-dark .vis-ladder .lab b { color: #fff; } .band-dark .vis-ladder .rate { color: var(--aqua); }

@media (max-width: 1024px) { .hero-orbits { margin: 0; min-height: 0; aspect-ratio: 16 / 10; max-height: 360px; } .num-strip { grid-template-columns: repeat(3, 1fr); gap: 18px 0; } .num-strip div:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 860px) { .vis-gauge { grid-template-columns: 180px 1fr; gap: 12px; } .end-band .cta-dark { padding: 14px; } }
@media (max-width: 600px) { .num-strip { grid-template-columns: 1fr 1fr; padding: 20px; } .num-strip div { padding: 0 14px; } .num-strip div:nth-child(odd) { border-left: 0; padding-left: 0; } .num-strip div:nth-child(4) { border-left: 1px solid var(--line-soft); padding-left: 14px; } .vis-gauge { grid-template-columns: 1fr; justify-items: center; } .vis-gauge svg { max-width: 240px; } .vis-score { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .vis-gauge .arc { animation: none; stroke-dashoffset: 0; } .vis-ladder .bar i { animation: none; } }

/* ============================================================
   V3 round 2: constellation hero, colour in How it works, looping tabs,
   About opening band, case template switcher, phone fixes
   ============================================================ */
.hero-cloud { aspect-ratio: 1 / .95; min-height: 400px; margin: -30px -20px -30px 0; }

/* How it works: colour */
.g-cols::before { height: 8px; background: linear-gradient(90deg, #13B9A5, #42A5F6 45%, #9FBAB6 80%, #D5E0DE); box-shadow: 0 6px 18px -8px rgba(19, 185, 165, .6); }
.g-col { border: 1px solid rgba(255, 255, 255, .9); }
.g-col:nth-child(1) { background: linear-gradient(160deg, rgba(19, 185, 165, .28), rgba(255, 255, 255, .55)); }
.g-col:nth-child(2) { background: linear-gradient(160deg, rgba(66, 165, 246, .24), rgba(255, 255, 255, .55)); }
.g-col:nth-child(3) { background: linear-gradient(160deg, rgba(127, 195, 193, .3), rgba(255, 255, 255, .55)); }
.g-col:nth-child(4) { background: linear-gradient(160deg, rgba(213, 224, 222, .5), rgba(255, 255, 255, .5)); }
.g-col:nth-child(1) .g-n { background: #13B9A5; color: #fff; border-color: #13B9A5; }
.g-col:nth-child(2) .g-n { background: #42A5F6; color: #fff; border-color: #42A5F6; }
.g-col:nth-child(3) .g-n { background: #2A7F80; color: #fff; border-color: #2A7F80; }
.g-col:nth-child(4) .g-n { background: var(--ink); color: #fff; border-color: var(--ink); }
.g-inbound { background: linear-gradient(90deg, rgba(19, 185, 165, .1), rgba(66, 165, 246, .1)); border-style: solid; border-color: rgba(66, 165, 246, .35); }
.g-inbound .g-n { background: linear-gradient(135deg, #13B9A5, #42A5F6); color: #fff; border-color: transparent; }
.loop-step .ico { background: linear-gradient(135deg, #13B9A5, #42A5F6); border-color: transparent; box-shadow: 0 10px 20px -10px rgba(19, 185, 165, .7); }
.loop-step .ico svg { stroke: #fff; }
.loop-step b { color: var(--ink); }
.how-link .play { background: linear-gradient(135deg, #13B9A5, #42A5F6); }

/* Services: the loop lives in the tab bar */
.tab-bar { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; }
.tab-bar .t-arrow { color: var(--aqua); font-size: 16px; padding: 0 2px; opacity: .8; }
.tab { position: relative; overflow: hidden; flex-direction: column; gap: 2px; padding: 11px 10px 12px; }
.tab .bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #13B9A5, #42A5F6); transform-origin: left; transform: scaleX(0); }
.auto .tab.on .bar { animation: tabfill 3.5s linear forwards; }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tab-loop { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.tab-loop::before, .tab-loop::after { content: ""; flex: 1; max-width: 160px; border-top: 1.5px dashed rgba(127, 195, 193, .45); }
.tab-loop .spin { display: inline-block; animation: spin 6s linear infinite; }
.tabs-card .block-head h3 { animation: fade-in .5s both; }

/* About: dark opening band with the numbers on it */
.about-hero { position: relative; color: #fff; background: var(--ink); margin-top: -120px; padding: 150px 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.about-hero .wrap { position: relative; z-index: 2; }
.about-hero .eyebrow { color: rgba(255, 255, 255, .72); }
.about-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); max-width: 16ch; margin: 16px 0 28px; }
.about-hero .num-strip { background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .26); box-shadow: inset 0 1px rgba(255, 255, 255, .4); }
.about-hero .num-strip div { border-left-color: rgba(255, 255, 255, .16); }
.about-hero .num-strip b { background: linear-gradient(100deg, #9FF0E2, #8ACBFF); -webkit-background-clip: text; background-clip: text; }
.about-hero .num-strip div > span { color: rgba(255, 255, 255, .78); }
.story-wide { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-panel); background: linear-gradient(135deg, rgba(19, 185, 165, .14), rgba(255, 255, 255, .6) 50%, rgba(66, 165, 246, .12)); }
.story-wide h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.story-wide p { color: var(--ink-2); font-size: 17px; }
.story-wide p + p { margin-top: 14px; }

/* Case studies: template switcher */
.vis-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.vis-switch .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-right: 6px; }
.vis-switch button { padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); transition: background .25s, color .25s; }
.vis-switch button .n { font-family: var(--mono); font-size: 11px; color: var(--teal-deep); margin-right: 6px; }
.vis-switch button.on { background: var(--ink); color: #fff; } .vis-switch button.on .n { color: var(--aqua); }
[data-vis-host] .vis-alt { display: none; }
[data-vis-host][data-vis="ribbon"] .vis-alt[data-for="ribbon"], [data-vis-host][data-vis="ladder"] .vis-alt[data-for="ladder"], [data-vis-host][data-vis="score"] .vis-alt[data-for="score"], [data-vis-host][data-vis="timeline"] .vis-alt[data-for="timeline"], [data-vis-host][data-vis="dial"] .vis-alt[data-for="dial"], [data-vis-host][data-vis="discs"] .vis-alt[data-for="discs"] { display: block; }

@media (max-width: 1024px) { .hero-cloud { margin: 0; min-height: 0; aspect-ratio: 16 / 10; max-height: 360px; } .tab-bar { grid-template-columns: 1fr 1fr; } .tab-bar .t-arrow { display: none; } }
@media (max-width: 860px) {
  .hero-grid > .hero-cloud { display: none; }
  .hero-dark { min-height: 0; padding-bottom: 40px; }
  /* How it works: a 2x2 grid instead of the swipe row */
  .g-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 14px 0 0; overflow: visible; }
  .g-cols::before { left: 0; right: 0; }
  .g-col { flex: none; }
  .g-scale { font-size: 10px; }
  .loop-row { grid-template-columns: 1fr; gap: 8px; }
  .loop-step { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
  .loop-step p { display: block; font-size: 13.5px; }
  .loop-step b { font-size: 16px; }
  /* Services tabs: 2x2 pills, panel below */
  .tab-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 20px; overflow: visible; }
  .tab { white-space: normal; text-align: center; padding: 10px 8px 12px; font-size: 13px; line-height: 1.2; }
  .tab-loop::before, .tab-loop::after { max-width: 60px; }
  /* About */
  .about-hero { margin-top: -104px; padding-top: 128px; }
  .story-wide { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .story-wide p { font-size: 15.5px; }
}
@media (max-width: 600px) { .g-cols { grid-template-columns: 1fr 1fr; } .g-col { padding: 12px; } .g-col b { font-size: 14.5px; } .g-col p { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .auto .tab.on .bar { animation: none; transform: scaleX(1); } .tab-loop .spin { animation: none; } }

.tab .num { margin-right: 7px; }
.hero-cloud { aspect-ratio: 1 / 1; }

/* ============================================================
   Brand pass: contrast, not hue. One dark surface per page for the
   section that carries the story; the gradient used once as the accent.
   ============================================================ */

/* How it works on the dark surface */
.how-dark { position: relative; color: #fff; background: linear-gradient(160deg, var(--dark-2), var(--dark)); overflow: hidden; }
.how-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 88% 0%, rgba(66, 165, 246, .16), transparent 70%), radial-gradient(50% 50% at 4% 100%, rgba(19, 185, 165, .18), transparent 70%); }
.how-dark .wrap { position: relative; z-index: 2; }
.how-dark .eyebrow { color: var(--aqua); }
.how-dark h2 { color: #fff; }
.how-dark .lede { color: rgba(255, 255, 255, .78); }
.how-dark .g-scale { color: var(--aqua); } .how-dark .g-scale span:last-child { color: rgba(255, 255, 255, .5); }
.how-dark .g-cols::before { height: 6px; background: linear-gradient(90deg, #13B9A5, #42A5F6 55%, rgba(255, 255, 255, .25)); box-shadow: none; }
.how-dark .g-col, .how-dark .g-col:nth-child(1), .how-dark .g-col:nth-child(2), .how-dark .g-col:nth-child(3), .how-dark .g-col:nth-child(4) { background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.how-dark .g-col::before { background: none; }
.how-dark .g-col:nth-child(1) { border-color: rgba(19, 185, 165, .5); }
.how-dark .g-col b, .how-dark .g-inbound b { color: #fff; }
.how-dark .g-col p, .how-dark .g-inbound p { color: rgba(255, 255, 255, .72); }
.how-dark .g-n, .how-dark .g-col:nth-child(1) .g-n, .how-dark .g-col:nth-child(2) .g-n, .how-dark .g-col:nth-child(3) .g-n, .how-dark .g-col:nth-child(4) .g-n { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: var(--aqua); }
.how-dark .g-inbound { background: rgba(255, 255, 255, .04); border: 1px dashed rgba(127, 195, 193, .45); }
.how-dark .g-inbound::before { background: none; }
.how-dark .g-inbound .g-n { background: linear-gradient(135deg, #13B9A5, #42A5F6); color: #fff; border-color: transparent; }
.how-dark .loop-step .ico { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
.how-dark .loop-step .ico svg { stroke: var(--aqua); }
.how-dark .loop-step b { color: #fff; }
.how-dark .loop-step p { color: rgba(255, 255, 255, .72); }
.how-dark .how-link { color: #fff; }
.how-dark .how-link .play { background: #fff; } .how-dark .how-link .play svg { fill: var(--ink); }
.how-dark .loop-step { background: none; border: 0; padding: 0; }
@media (max-width: 860px) { .how-dark .loop-step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 10px 12px; } }

/* Light sections: pull the loose tints back to the palette */
.loop-step .ico { background: linear-gradient(135deg, rgba(127, 195, 193, .32), rgba(198, 218, 215, .5)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff; }
.loop-step .ico svg { stroke: var(--teal-deep); }
.how-link .play { background: var(--ink); }
.story-wide { background: linear-gradient(135deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .36)); }
.story-wide .eyebrow::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue)); margin-bottom: 12px; }

/* Section rhythm: dark surfaces sit flush, light sections breathe */
.how-dark + .section-tight { padding-top: clamp(48px, 7vw, 88px); }

/* ============================================================
   How it works, readable: light section, white cards, one dark card
   for the loop inside every channel. Rings centred on phones.
   ============================================================ */
#how .g-cols::before { height: 6px; background: linear-gradient(90deg, #13B9A5, #42A5F6 55%, #C6D3D5); box-shadow: none; }
#how .g-col, #how .g-col:nth-child(1), #how .g-col:nth-child(2), #how .g-col:nth-child(3), #how .g-col:nth-child(4) { background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -28px rgba(8, 30, 34, .3); }
#how .g-col:nth-child(1) { border-color: rgba(19, 185, 165, .55); box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(19, 185, 165, .12), 0 20px 40px -28px rgba(8, 30, 34, .3); }
#how .g-col b { color: var(--ink); font-size: 17px; }
#how .g-col p { color: var(--ink-2); }
#how .g-n, #how .g-col:nth-child(1) .g-n, #how .g-col:nth-child(2) .g-n, #how .g-col:nth-child(3) .g-n, #how .g-col:nth-child(4) .g-n { background: var(--ink); color: #fff; border-color: var(--ink); }
#how .g-inbound { background: rgba(255, 255, 255, .55); border: 1px dashed rgba(42, 127, 128, .5); }
#how .g-inbound .g-n { background: linear-gradient(135deg, #13B9A5, #42A5F6); color: #fff; border-color: transparent; }
#how .g-inbound b { color: var(--ink); } #how .g-inbound p { color: var(--ink-2); }
.loop-dark { position: relative; margin-top: 28px; padding: 26px 28px 24px; border-radius: var(--radius-panel); color: #fff; background: linear-gradient(160deg, #0C3A40, #081E22); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 30px 60px -30px rgba(0, 0, 0, .55); overflow: hidden; }
.loop-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 90% 0%, rgba(66, 165, 246, .18), transparent 70%), radial-gradient(50% 60% at 5% 100%, rgba(19, 185, 165, .2), transparent 70%); }
.loop-dark > * { position: relative; }
.loop-dark .eyebrow { color: var(--aqua); }
.loop-dark .loop-row { margin-top: 16px; }
.loop-dark .loop-step .ico { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.loop-dark .loop-step .ico svg { stroke: var(--aqua); }
.loop-dark .loop-step b { color: #fff; }
.loop-dark .loop-step p { color: rgba(255, 255, 255, .72); }
.loop-dark .how-link { margin-top: 22px; color: #fff; }
.loop-dark .how-link .play { background: #fff; } .loop-dark .how-link .play svg { fill: var(--ink); }
.rings-net { margin: 0 auto; }
@media (max-width: 860px) { .loop-dark { padding: 20px 18px; } .loop-dark .loop-step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); } }

/* Review page: hero visual variants */
.hv-panel { position: relative; color: #fff; background: linear-gradient(160deg, var(--dark-2), var(--dark)); border-radius: var(--radius-panel); overflow: hidden; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: 440px; border: 1px solid rgba(255, 255, 255, .12); }
.hv-panel .mesh { border-radius: inherit; }
.hv-panel .hv-copy { position: relative; z-index: 2; }
.hv-panel .hv-copy .eyebrow { color: var(--aqua); }
.hv-panel h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 8px 0 10px; }
.hv-panel p { color: rgba(255, 255, 255, .75); font-size: 15.5px; max-width: 42ch; }
.hv-panel .net-wrap { position: relative; z-index: 2; aspect-ratio: 1 / .9; min-height: 320px; }
.hv-panel .net-chip { background: rgba(8, 30, 34, .72); color: #fff; border-color: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hv-panel .net-chip span { color: rgba(255, 255, 255, .7); }
.hv-list { display: grid; gap: 22px; }
@media (max-width: 860px) { .hv-panel { grid-template-columns: 1fr; min-height: 0; } .hv-panel .net-wrap { min-height: 0; aspect-ratio: 16 / 11; } }

/* How it works on a frosted panel; principles row */
.how-panel { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)); }
.how-panel::before { background: radial-gradient(70% 60% at 100% 0%, rgba(66, 165, 246, .14), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(19, 185, 165, .16), transparent 60%), linear-gradient(to bottom, rgba(255, 255, 255, .25), transparent 40%); mix-blend-mode: normal; }
.how-panel .section-head { margin-bottom: clamp(22px, 3vw, 36px); }
#how .g-col, #how .g-col:nth-child(1), #how .g-col:nth-child(2), #how .g-col:nth-child(3), #how .g-col:nth-child(4) { background: rgba(255, 255, 255, .85); }
#how .g-inbound { background: rgba(255, 255, 255, .7); }
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.principle { padding: 22px 20px; }
.principle .ico { margin-bottom: 14px; }
.principle b { display: block; font-size: 16px; letter-spacing: -.02em; margin-bottom: 6px; line-height: 1.25; }
.principle p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 1024px) { .principles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .how-panel { padding: 18px 16px 20px; } .principles { grid-template-columns: 1fr 1fr; gap: 10px; } .principle { padding: 16px 14px; } .principle b { font-size: 15px; } .principle p { font-size: 13.5px; } }
@media (max-width: 860px) { .principle:last-child { grid-column: 1 / -1; } }

/* Numbers strip: uniform cells */
.num-strip { grid-template-columns: repeat(5, 1fr); align-items: start; }
.num-strip div { display: grid; gap: 8px; align-content: start; min-height: 0; }
.num-strip b { font-size: clamp(28px, 2.4vw, 34px); margin: 0; line-height: 1; height: 1em; }
.num-strip div > span { font-size: 13.5px; line-height: 1.35; white-space: nowrap; }
.about-hero .num-strip div { border-left-color: rgba(255, 255, 255, .18); }
@media (max-width: 1024px) { .num-strip div > span { white-space: normal; min-height: 2.7em; } }
@media (max-width: 600px) { .num-strip { grid-template-columns: 1fr 1fr; } .num-strip div > span { min-height: 0; } }

/* Shared bits for the tab variants */
.tabs-card .tab .t-num { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--aqua); }
.tabs-card .tab.on .t-num { color: var(--teal-deep); }
.tabs-card .tab .t-role { font-size: 11.5px; color: rgba(255, 255, 255, .55); font-weight: 500; }
.tabs-card .tab.on .t-role { color: var(--mute); }

/* B: loop ring */
.tabs-ring { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: center; padding: 28px; }
.ring-col { position: relative; aspect-ratio: 1; }
.ring { position: absolute; inset: 14%; border-radius: 50%; border: 1.5px dashed rgba(127, 195, 193, .35); }
.ring-arc { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from var(--a, -90deg), #13B9A5, #42A5F6 70deg, transparent 90deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); transition: --a .6s var(--ease); filter: drop-shadow(0 0 8px rgba(19, 185, 165, .6)); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: -90deg; }
.ring-core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ring-core b { display: block; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.ring-tabs .tab { position: absolute; width: 150px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 2px; text-align: left; white-space: normal; color: rgba(255, 255, 255, .8); overflow: visible; }
.ring-tabs .tab .t-title { font-size: 14px; font-weight: 600; color: #fff; }
.ring-tabs .tab.on { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7); transform: scale(1.04); }
.ring-tabs .tab.on .t-title { color: var(--ink); }
.ring-tabs .tab .bar { display: none; }
.ring-tabs .tab:nth-child(1) { left: 50%; top: 0; transform: translate(-50%, 0); } .ring-tabs .tab:nth-child(1).on { transform: translate(-50%, 0) scale(1.04); }
.ring-tabs .tab:nth-child(2) { right: 0; top: 50%; transform: translate(0, -50%); } .ring-tabs .tab:nth-child(2).on { transform: translate(0, -50%) scale(1.04); }
.ring-tabs .tab:nth-child(3) { left: 50%; bottom: 0; transform: translate(-50%, 0); } .ring-tabs .tab:nth-child(3).on { transform: translate(-50%, 0) scale(1.04); }
.ring-tabs .tab:nth-child(4) { left: 0; top: 50%; transform: translate(0, -50%); } .ring-tabs .tab:nth-child(4).on { transform: translate(0, -50%) scale(1.04); }
.tabs-ring:has(.tab:nth-child(1).on) .ring-arc { --a: -135deg; } .tabs-ring:has(.tab:nth-child(2).on) .ring-arc { --a: -45deg; } .tabs-ring:has(.tab:nth-child(3).on) .ring-arc { --a: 45deg; } .tabs-ring:has(.tab:nth-child(4).on) .ring-arc { --a: 135deg; }
.ring-panels .tab-panel { padding: 0; }

/* C: stepper */
.tabs-steps { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 24px; }
.steps-col { position: relative; display: grid; gap: 8px; align-content: start; padding-left: 26px; }
.steps-col::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 54px; width: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; }
.steps-col .tab { position: relative; display: grid; gap: 2px; text-align: left; white-space: normal; padding: 12px 14px; border-radius: 14px; color: rgba(255, 255, 255, .78); background: transparent; overflow: visible; }
.steps-col .tab::before { content: ""; position: absolute; left: -24px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, .35); transition: all .3s; }
.steps-col .tab .t-title { font-size: 15px; font-weight: 600; color: #fff; }
.steps-col .tab.on { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.steps-col .tab.on::before { background: #13B9A5; border-color: #fff; box-shadow: 0 0 0 5px rgba(19, 185, 165, .25); }
.steps-col .tab.on .t-num, .steps-col .tab.on .t-role { color: var(--aqua); }
.steps-col .tab .bar { left: 14px; right: 14px; bottom: 6px; }
.steps-loop { margin-top: 6px; padding-left: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.steps-panels .tab-panel { padding: 0; }

/* D: chapter cards */
.tabs-fan { padding: 14px 14px 28px; }
.fan-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fan-bar .tab { display: grid; gap: 4px; text-align: left; white-space: normal; padding: 16px 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); overflow: hidden; transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.fan-bar .tab .t-title { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.fan-bar .tab.on { background: #fff; color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.fan-bar .tab.on .t-title { color: var(--ink); }
.fan-bar .tab .bar { left: 16px; right: 16px; bottom: 8px; }

@media (max-width: 1024px) { .tabs-ring, .tabs-steps { grid-template-columns: 1fr; } .ring-col { max-width: 360px; margin: 0 auto; width: 100%; } }
@media (max-width: 860px) { .fan-bar { grid-template-columns: 1fr 1fr; } .ring-tabs .tab { width: 124px; padding: 8px 10px; } .ring-tabs .tab .t-role { display: none; } .tabs-ring, .tabs-steps { padding: 16px; } .steps-col { padding-left: 22px; } }
/* Ring variant: room for the four cards around the ring */
.tabs-ring { grid-template-columns: 440px 1fr; }
.ring-col { aspect-ratio: 1; }
.ring { inset: 22%; }
.ring-core { inset: 36%; font-size: 12px; }
.ring-tabs .tab { width: 148px; }
@media (max-width: 1024px) { .tabs-ring { grid-template-columns: 1fr; } .ring-col { max-width: 440px; } }
@media (max-width: 600px) { .ring-col { max-width: 360px; } .ring-tabs .tab { width: 118px; padding: 8px 10px; } .ring-tabs .tab .t-title { font-size: 13px; } .ring-core { inset: 38%; font-size: 10.5px; } .ring-core b { font-size: 12px; } }
/* Ring arc centred on the active card: top, right, bottom, left */
.tabs-ring:has(.tab:nth-child(1).on) .ring-arc { --a: -125deg; } .tabs-ring:has(.tab:nth-child(2).on) .ring-arc { --a: -35deg; } .tabs-ring:has(.tab:nth-child(3).on) .ring-arc { --a: 55deg; } .tabs-ring:has(.tab:nth-child(4).on) .ring-arc { --a: 145deg; }

/* Pill bar: the active pill fills with liquid glass as the 3.5s runs */
.tab { isolation: isolate; }
.tab > span:first-child { position: relative; z-index: 2; }
.tab .bar { left: 0; right: 0; top: 0; bottom: 0; height: auto; border-radius: 999px; z-index: 1; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(19, 185, 165, .34), rgba(66, 165, 246, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -8px 14px -10px rgba(19, 185, 165, .5); }
.tab .bar::after { content: ""; position: absolute; top: 0; bottom: 0; right: -2px; width: 18px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85)); filter: blur(3px); }
.auto .tab.on .bar { animation: tabfill 3.5s linear forwards; }
.tab.on { color: var(--ink); }
.tab.on .num { color: var(--teal-deep); }
.tab:not(.on) .bar { display: none; }
@media (prefers-reduced-motion: reduce) { .auto .tab.on .bar { animation: none; transform: scaleX(1); } }

/* ------------------------------------------------------------
   Playbook lead gate (liquid glass pop-up)
   ------------------------------------------------------------ */
.lead-modal { padding: 16px; background: rgba(7, 38, 43, .5); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); overflow-y: auto; }
.lead-card { position: relative; width: min(600px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(244, 247, 247, .82)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .9); animation: lead-in .45s var(--ease) both; }
.lead-card::before { content: ""; position: absolute; inset: -40% auto auto -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(127, 195, 193, .45), rgba(127, 195, 193, 0) 70%); pointer-events: none; }
.lead-card > * { position: relative; }
.lead-card .modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.lead-head { margin-bottom: 20px; padding-right: 44px; }
.lead-head h3, .lead-done h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; margin: 8px 0 6px; }
.lead-head p, .lead-done p { color: var(--mute); font-size: 15px; margin: 0; }
.lead-form { display: grid; gap: 16px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-grid .fld input { background: rgba(255, 255, 255, .78); }
.lead-grid .fld input.bad { border-color: #C9502B; box-shadow: 0 0 0 4px rgba(201, 80, 43, .14); }
.lead-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.lead-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.lead-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(201, 80, 43, .1); color: #8E3A20; font-size: 14px; font-weight: 600; }
.lead-submit { width: 100%; justify-content: center; }
.lead-form .fine, .lead-done .fine { font-size: 12.5px; color: var(--mute); margin: 0; text-align: center; }
.lead-done { display: grid; gap: 12px; padding: 8px 0 4px; }
.lead-done .btn { justify-self: start; margin-top: 6px; }
.lead-done .lead-note { text-align: left; color: var(--mute); }
@keyframes lead-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-card { padding: 24px 18px; border-radius: 24px; }
  .lead-modal { padding: 10px; align-items: flex-end; }
  .lead-done .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .lead-card { animation: none; } }
.lead-card [hidden] { display: none !important; }

/* ------------------------------------------------------------
   Round 13: liquid-glass pop-up, flowing ribbon, live services card
   ------------------------------------------------------------ */
/* Pop-up: thinner glass over moving colour, so the refraction is visible */
.lead-modal { background: rgba(8, 30, 34, .26); -webkit-backdrop-filter: blur(5px) saturate(125%); backdrop-filter: blur(5px) saturate(125%); }
.lead-modal::before, .lead-modal::after { content: ""; position: fixed; width: 62vmax; height: 62vmax; border-radius: 50%; pointer-events: none; filter: blur(30px); will-change: transform; }
.lead-modal::before { left: -22vmax; top: -24vmax; background: radial-gradient(circle, rgba(19, 185, 165, .62), rgba(127, 195, 193, .25) 45%, transparent 68%); animation: blob-a 18s ease-in-out infinite alternate; }
.lead-modal::after { right: -24vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(66, 165, 246, .6), rgba(42, 127, 128, .25) 45%, transparent 68%); animation: blob-b 22s ease-in-out infinite alternate; }
@keyframes blob-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(28vmax, 18vmax) scale(1.18); } }
@keyframes blob-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-30vmax, -16vmax) scale(.9); } }
.lead-card { background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .6)); -webkit-backdrop-filter: blur(34px) saturate(190%); backdrop-filter: blur(34px) saturate(190%); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -1px 0 rgba(8, 30, 34, .06), inset 1px 0 0 rgba(255, 255, 255, .5), inset -1px 0 0 rgba(255, 255, 255, .25), 0 50px 120px -30px rgba(0, 0, 0, .5), 0 8px 24px -12px rgba(8, 30, 34, .25); overflow: hidden; }
.lead-card::before { inset: 0; width: auto; aspect-ratio: auto; border-radius: inherit; background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, .55) 42%, rgba(255, 255, 255, .14) 49%, transparent 58%); background-size: 260% 100%; background-position: 110% 0; animation: sheen 9s cubic-bezier(.6, 0, .4, 1) infinite; pointer-events: none; }
@keyframes sheen { 0% { background-position: 110% 0; } 45% { background-position: -10% 0; } 100% { background-position: -10% 0; } }
.lead-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .05; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.lead-card .modal-close { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(8, 30, 34, .3); }
.lead-grid .fld input { background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .62)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(8, 30, 34, .05), 0 2px 6px -3px rgba(8, 30, 34, .12); }
.lead-grid .fld input:focus { background: rgba(255, 255, 255, .88); border-color: rgba(42, 127, 128, .7); }
.lead-grid .fld input::placeholder { color: rgba(8, 30, 34, .4); }
.lead-check { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .7); }
.lead-submit { box-shadow: 0 16px 36px -14px rgba(8, 30, 34, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.lead-err { background: rgba(255, 255, 255, .55); border: 1px solid rgba(201, 80, 43, .35); }
@media (prefers-reduced-motion: reduce) { .lead-modal::before, .lead-modal::after, .lead-card::before { animation: none; } }

/* Ribbon funnel: the ribbon ripples, colour streams and current lines move left to right */
.vis-ribbon svg { overflow: visible; }
.vis-ribbon .rb-body { filter: drop-shadow(0 8px 14px rgba(19, 185, 165, .28)); }
@media (prefers-reduced-motion: reduce) { .vis-ribbon .rb-stream { display: none; } }

/* Services card: the same living background as the hero and the CTA, glass tab bar, gradient active pill, glass item tiles */
.tabs-live { background: var(--ink); isolation: isolate; }
.tabs-live .mesh { border-radius: inherit; z-index: 0; }
.tabs-live::before { z-index: 1; background: linear-gradient(180deg, rgba(8, 30, 34, .08) 0%, rgba(8, 30, 34, .5) 38%, rgba(8, 30, 34, .78) 100%); }
.tabs-live.grain::after { z-index: 1; }
.tabs-live > :not(.mesh) { position: relative; z-index: 2; }
.tabs-live .tab-bar { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 30px -16px rgba(0, 0, 0, .6); }
.tabs-live .tab { color: rgba(255, 255, 255, .8); }
.tabs-live .tab:hover { background: rgba(255, 255, 255, .12); }
.tabs-live .tab.on { color: #fff; background: linear-gradient(135deg, #13B9A5, #2E9AD8 60%, #42A5F6); box-shadow: 0 14px 30px -12px rgba(19, 185, 165, .85), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.tabs-live .tab.on .num { color: rgba(255, 255, 255, .9); }
.tabs-live .tab .bar { background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -8px 14px -10px rgba(255, 255, 255, .35); }
.tabs-live .tab .bar::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95)); }
.tabs-live .tab > span:first-child { position: relative; z-index: 2; }
.tabs-live .tab-bar .t-arrow { color: rgba(255, 255, 255, .55); }
.tabs-live .tab-loop { color: #9FE8DF; }
.tabs-live .tab-loop::before, .tabs-live .tab-loop::after { border-top-color: rgba(159, 232, 223, .5); }
.tabs-live .block-head { border-bottom-color: rgba(255, 255, 255, .14); }
.tabs-live .block-head .num { color: #9FE8DF; }
.tabs-live .block-head .outcome { color: rgba(255, 255, 255, .84); }
.tabs-live .block-head .role { color: #CFF5EF; background: rgba(19, 185, 165, .2); border-color: rgba(19, 185, 165, .55); box-shadow: 0 0 18px -4px rgba(19, 185, 165, .6); }
.tabs-live .items { gap: 10px 14px; }
.tabs-live .items li { padding: 12px 14px 12px 34px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tabs-live .items li:hover { background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07)); border-color: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.tabs-live .items li::before { left: 14px; top: 18px; box-shadow: 0 0 12px rgba(66, 165, 246, .9), 0 0 4px rgba(19, 185, 165, .9); }
.tabs-live .items span { color: rgba(255, 255, 255, .76); }
@media (max-width: 560px) { .tabs-live .items li { padding: 11px 12px 11px 30px; } .tabs-live .items li::before { left: 12px; top: 17px; } }

/* ------------------------------------------------------------
   Services card colour options (review page)
   ------------------------------------------------------------ */
/* shared light base */
.tabs-card.opt-light { color: var(--ink); background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid rgba(255, 255, 255, .85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(8, 30, 34, .04), 0 24px 60px -28px rgba(8, 30, 34, .25), 0 2px 6px rgba(8, 30, 34, .04); }
.tabs-card.opt-light::before { background: none; }
.opt-light .tab-bar { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 8px 24px -16px rgba(8, 30, 34, .25); }
.opt-light .tab { color: rgba(8, 30, 34, .7); }
.opt-light .tab:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.opt-light .tab .num { color: var(--teal); }
.opt-light .tab.on { color: #fff; background: linear-gradient(135deg, #13B9A5, #2E9AD8 60%, #42A5F6); box-shadow: 0 14px 30px -12px rgba(19, 185, 165, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.opt-light .tab.on .num { color: rgba(255, 255, 255, .9); }
.opt-light .tab .bar { background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.opt-light .tab .bar::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95)); }
.opt-light .tab > span:first-child { position: relative; z-index: 2; }
.opt-light .tab-bar .t-arrow { color: var(--teal); opacity: .7; }
.opt-light .tab-loop { color: var(--teal); }
.opt-light .tab-loop::before, .opt-light .tab-loop::after { border-top-color: rgba(42, 127, 128, .35); }
.opt-light .block-head { border-bottom-color: var(--line-soft); }
.opt-light .block-head .num { color: var(--teal); }
.opt-light .block-head h3 { color: var(--ink); }
.opt-light .block-head .outcome { color: var(--ink-2); }
.opt-light .block-head .role { color: var(--teal-deep); background: rgba(127, 195, 193, .22); border-color: rgba(127, 195, 193, .55); box-shadow: none; }
.opt-light .items { gap: 10px 14px; }
.opt-light .items li { padding: 12px 14px 12px 34px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .45)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -12px rgba(8, 30, 34, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.opt-light .items li:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 14px 24px -14px rgba(8, 30, 34, .3); }
.opt-light .items li::before { left: 14px; top: 18px; box-shadow: 0 0 10px rgba(66, 165, 246, .5); }
.opt-light .items b { color: var(--ink); }
.opt-light .items span { color: var(--ink-2); }
/* B: mint wash */
.tabs-card.opt-mint { background: linear-gradient(135deg, #E4F6F3 0%, #D7EEF0 40%, #DDEBFA 100%); border-color: #fff; }
.tabs-card.opt-mint::before { background: radial-gradient(60% 50% at 90% 0%, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(19, 185, 165, .18), transparent 70%); }
.opt-mint .tab-bar { background: rgba(255, 255, 255, .5); }
.opt-mint .tab.on { background: var(--ink); box-shadow: 0 14px 30px -12px rgba(8, 30, 34, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.opt-mint .tab.on .num { color: var(--mint); }
.opt-mint .tab .bar { background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.opt-mint .items li { background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .6)); }
/* C: aurora */
.tabs-card.opt-aurora { background: rgba(255, 255, 255, .3); overflow: hidden; }
.opt-aurora .aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(34px) saturate(1.3); }
.opt-aurora .aurora i { position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; opacity: .75; }
.opt-aurora .aurora i:nth-child(1) { left: -10%; top: -30%; background: radial-gradient(circle, #13B9A5, transparent 65%); animation: aur-a 16s ease-in-out infinite alternate; }
.opt-aurora .aurora i:nth-child(2) { right: -15%; top: -10%; background: radial-gradient(circle, #42A5F6, transparent 65%); animation: aur-b 20s ease-in-out infinite alternate; }
.opt-aurora .aurora i:nth-child(3) { left: 30%; bottom: -45%; background: radial-gradient(circle, #D9C8F5, transparent 65%); animation: aur-c 18s ease-in-out infinite alternate; }
@keyframes aur-a { to { transform: translate(40%, 30%) scale(1.15); } }
@keyframes aur-b { to { transform: translate(-35%, 45%) scale(.9); } }
@keyframes aur-c { to { transform: translate(-30%, -25%) scale(1.2); } }
.opt-aurora > :not(.aurora) { position: relative; z-index: 2; }
.opt-aurora .tab-bar, .opt-aurora .items li { -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.opt-aurora .tab-panel { padding: 24px 18px 6px; }
.opt-aurora .block-head { padding: 16px 18px 14px; margin: 0 0 14px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
/* D: jade */
.tabs-card.opt-jade { background: linear-gradient(135deg, #1F7F82, #16A39A 55%, #2F8FD6); isolation: isolate; }
.opt-jade .mesh { z-index: 0; border-radius: inherit; opacity: .55; mix-blend-mode: screen; }
.tabs-card.opt-jade::before { z-index: 1; background: linear-gradient(180deg, rgba(42, 127, 128, .1), rgba(19, 185, 165, .25) 45%, rgba(66, 165, 246, .35)); }
.opt-jade > :not(.mesh) { position: relative; z-index: 2; }
.opt-jade .tab-bar { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.opt-jade .tab { color: rgba(255, 255, 255, .9); }
.opt-jade .tab .num { color: #DFF7F3; }
.opt-jade .tab:hover { background: rgba(255, 255, 255, .18); }
.opt-jade .tab.on { background: #fff; color: var(--teal); box-shadow: 0 14px 30px -12px rgba(8, 30, 34, .5); }
.opt-jade .tab.on .num { color: var(--teal); }
.opt-jade .tab .bar { background: linear-gradient(90deg, rgba(19, 185, 165, .18), rgba(66, 165, 246, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.opt-jade .tab > span:first-child { position: relative; z-index: 2; }
.opt-jade .tab-bar .t-arrow { color: rgba(255, 255, 255, .8); }
.opt-jade .tab-loop { color: #fff; }
.opt-jade .tab-loop::before, .opt-jade .tab-loop::after { border-top-color: rgba(255, 255, 255, .5); }
.opt-jade .block-head { border-bottom-color: rgba(255, 255, 255, .3); }
.opt-jade .block-head .num { color: #DFF7F3; }
.opt-jade .block-head .outcome { color: rgba(255, 255, 255, .9); }
.opt-jade .block-head .role { color: var(--teal); background: #fff; border-color: #fff; box-shadow: 0 8px 20px -10px rgba(8, 30, 34, .5); }
.opt-jade .items { gap: 10px 14px; }
.opt-jade .items li { padding: 12px 14px 12px 34px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .12)); border: 1px solid rgba(255, 255, 255, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.opt-jade .items li::before { left: 14px; top: 18px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.opt-jade .items span { color: rgba(255, 255, 255, .86); }
/* E: split */
.opt-split .tab-bar { background: linear-gradient(160deg, #0C3A40, #081E22); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 20px 40px -20px rgba(8, 30, 34, .6); }
.opt-split .tab { color: rgba(255, 255, 255, .75); }
.opt-split .tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.opt-split .tab .num { color: var(--aqua); }
.opt-split .tab-bar .t-arrow { color: var(--aqua); }
.opt-split .items li { background: linear-gradient(135deg, rgba(244, 247, 247, .9), rgba(255, 255, 255, .6)); border-color: rgba(8, 30, 34, .06); }
@media (max-width: 1024px) { .opt-light .tab-bar, .opt-jade .tab-bar { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .opt-aurora .aurora i { animation: none; } }

/* ---- new structures (F to J), all on the light glass base ---- */
.opt-ring .tab, .opt-bento .tab, .opt-cols .tab, .opt-rail .tab, .opt-grid .tab { display: grid; justify-items: start; justify-content: start; align-items: start; align-content: start; text-align: left; white-space: normal; gap: 3px; padding: 14px 16px; border-radius: 16px; line-height: 1.25; overflow: visible; }
.opt-ring .tab .num, .opt-bento .tab .num, .opt-cols .tab .num, .opt-rail .tab .num, .opt-grid .tab .num { margin-right: 0; }
.opt-ring .tab .t, .opt-bento .tab .t, .opt-cols .tab .t, .opt-rail .tab .t, .opt-grid .tab .t { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.opt-bento .tab .o, .opt-cols .tab .o, .opt-grid .tab .o { font-size: 13px; font-weight: 450; color: var(--ink-2); }
.opt-light .tab.on .o { color: rgba(255, 255, 255, .85); }
.opt-ring .tab .num, .opt-bento .tab .num, .opt-cols .tab .num, .opt-rail .tab .num, .opt-grid .tab .num { margin: 0; }
.opt-bento .role, .opt-cols .role, .opt-grid .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); background: rgba(127, 195, 193, .22); border: 1px solid rgba(127, 195, 193, .55); padding: 4px 9px; border-radius: 999px; justify-self: start; }
.opt-light .tab.on .role { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.opt-ring .tab-panel, .opt-bento .tab-panel, .opt-cols .tab-panel, .opt-rail .tab-panel { padding: 0; }

/* F: orbit */
.opt-ring { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: center; padding: 28px; }
.ring-wrap { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-svg .track { fill: none; stroke: rgba(42, 127, 128, .22); stroke-width: 2; stroke-dasharray: 3 7; }
.ring-svg .arc { fill: none; stroke: url(#rb-01); stroke: #13B9A5; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 150 592; transform-origin: 50% 50%; transform: rotate(var(--a, -126deg)); transition: transform .7s var(--ease); filter: drop-shadow(0 0 6px rgba(19, 185, 165, .6)); }
.opt-ring:has([data-pos="1"].on) .ring-svg .arc { --a: -126deg; } .opt-ring:has([data-pos="2"].on) .ring-svg .arc { --a: -36deg; } .opt-ring:has([data-pos="3"].on) .ring-svg .arc { --a: 54deg; } .opt-ring:has([data-pos="4"].on) .ring-svg .arc { --a: 144deg; }
.ring-core { position: absolute; left: 50%; top: 50%; width: 136px; height: 136px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; gap: 2px; text-align: center; background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 16px 30px -18px rgba(8, 30, 34, .35); }
.ring-core b { font-size: 15px; } .ring-core span { font-size: 11.5px; color: var(--mute); max-width: 11ch; }
.ring-core .spin { display: inline-block; font-size: 18px; color: var(--teal); animation: spin 8s linear infinite; }
.ring-wrap .tab { position: absolute; width: 138px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -14px rgba(8, 30, 34, .3); }
.ring-wrap .tab .t { font-size: 13.5px; }
.ring-wrap [data-pos="1"] { left: 50%; top: 0; transform: translate(-50%, -8px); }
.ring-wrap [data-pos="2"] { right: 0; top: 50%; transform: translate(8px, -50%); }
.ring-wrap [data-pos="3"] { left: 50%; bottom: 0; transform: translate(-50%, 8px); }
.ring-wrap [data-pos="4"] { left: 0; top: 50%; transform: translate(-8px, -50%); }
.ring-wrap .tab.on { box-shadow: 0 16px 30px -12px rgba(19, 185, 165, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }

/* G: bento */
.opt-bento { padding: 14px; }
.bento { display: grid; grid-template-columns: 1.7fr 1fr; grid-auto-rows: auto; gap: 10px; }
.bento .tile { display: grid; gap: 10px; align-content: start; grid-column: 2; }
.bento .tile:has(.tab.on) { grid-column: 1; grid-row: 1 / span 3; padding: 6px; border-radius: 20px; background: rgba(255, 255, 255, .35); border: 1px solid rgba(255, 255, 255, .9); }
.bento .tab { width: 100%; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(8, 30, 34, .3); }
.bento .tab .o { display: none; } .bento .tab.on .o { display: block; font-size: 14px; }
.bento .tab .role { display: none; } .bento .tab.on .role { display: inline-block; margin-top: 6px; }
.bento .tile:has(.tab.on) .tab { padding: 18px 20px; }
.bento .tile:has(.tab.on) .tab .t { font-size: 20px; }
.bento .tab-panel { padding: 4px 2px 2px; }
.bento .tab-panel[hidden] { display: none; }
.bento .items { gap: 8px 10px; }

/* H: expanding columns */
.opt-cols { padding: 14px; }
.cols { display: flex; gap: 8px; align-items: stretch; }
.cols .t-arrow { align-self: center; color: var(--teal); opacity: .6; font-size: 15px; }
.cols .col { flex: 1 1 0; min-width: 0; display: grid; grid-template-rows: auto 1fr; gap: 10px; transition: flex .65s var(--ease); }
.cols .col:has(.tab.on) { flex: 3.4 1 0; }
.cols .tab { height: 100%; width: 100%; align-content: start; background: rgba(255, 255, 255, .6); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(8, 30, 34, .3); }
.cols .tab .o { display: none; } .cols .tab.on .o { display: block; }
.cols .col:not(:has(.tab.on)) { grid-template-rows: 1fr; } .cols .col:not(:has(.tab.on)) .tab { height: 100%; }
.cols .tab-panel { display: grid; gap: 10px; align-content: start; }
.cols .tab-panel[hidden] { display: none; }
.cols .tab-panel .role { justify-self: start; }
.cols .items { grid-template-columns: 1fr; gap: 8px; }

/* I: step rail */
.opt-rail { display: grid; grid-template-columns: 290px 1fr; gap: 28px; padding: 24px; align-items: start; }
.rail { position: relative; display: grid; gap: 8px; padding-left: 28px; }
.rail::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(19, 185, 165, .5), rgba(66, 165, 246, .5)); }
.rail .tab { position: relative; width: 100%; padding: 12px 14px; background: rgba(255, 255, 255, .55); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(8, 30, 34, .3); overflow: visible; }
.rail .tab::before { content: ""; position: absolute; left: -24px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid rgba(42, 127, 128, .45); transition: all .35s var(--ease); z-index: 2; }
.rail .tab.on::before { background: linear-gradient(135deg, #13B9A5, #42A5F6); border-color: #fff; box-shadow: 0 0 0 4px rgba(19, 185, 165, .22), 0 0 14px rgba(19, 185, 165, .7); transform: scale(1.25); }
.rail .tab .o { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.rail .tab.on .o { color: rgba(255, 255, 255, .85); }
.rail-loop { margin: 12px 0 0 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.rail-loop .spin { display: inline-block; animation: spin 6s linear infinite; }

/* J: loop grid */
.opt-grid { padding: 22px; }
.lgrid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.lgrid .tile { position: relative; display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .5); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 24px -18px rgba(8, 30, 34, .3); transition: box-shadow .5s, transform .5s var(--ease), background .5s; }
.lgrid .tile:has(.tab.on) { background: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 24px 44px -22px rgba(19, 185, 165, .55), 0 0 0 2px rgba(19, 185, 165, .35); transform: translateY(-3px); }
.lgrid .tab { padding: 0; background: none; border: 0; box-shadow: none; }
.lgrid .tab.on { background: none; color: var(--ink); box-shadow: none; }
.lgrid .tab.on .num { color: var(--teal); } .lgrid .tab.on .o { color: var(--ink-2); }
.lgrid .tab .t { font-size: 17px; }
.lgrid .tab-panel[hidden] { display: block; }
.lgrid .tab-panel { padding: 0; animation: none; }
.lgrid .items { grid-template-columns: 1fr; gap: 6px; }
.lgrid .items li { padding: 8px 10px 8px 28px; }
.lgrid .items li::before { left: 11px; top: 14px; width: 7px; height: 7px; }
.lgrid .items b { font-size: 14.5px; } .lgrid .items span { font-size: 13px; }
.lgrid .tile::after { position: absolute; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(8, 30, 34, .08); color: var(--teal); font-size: 17px; font-weight: 600; box-shadow: 0 8px 16px -8px rgba(8, 30, 34, .35); transition: all .45s var(--ease); z-index: 2; }
.lgrid .tile:nth-child(1)::after { content: "\2192"; right: -45px; top: 50%; transform: translateY(-50%); }
.lgrid .tile:nth-child(2)::after { content: "\2193"; bottom: -37px; left: 50%; transform: translateX(-50%); }
.lgrid .tile:nth-child(4)::after { content: "\2190"; left: -45px; top: 50%; transform: translateY(-50%); }
.lgrid .tile:nth-child(3)::after { content: "\2191"; top: -37px; left: 50%; transform: translateX(-50%); }
.lgrid .tile:has(.tab.on)::after { background: linear-gradient(135deg, #13B9A5, #42A5F6); color: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(19, 185, 165, .2), 0 10px 20px -8px rgba(19, 185, 165, .7); }
.lgrid .tile:nth-child(3) { grid-row: 2; grid-column: 1; } .lgrid .tile:nth-child(4) { grid-row: 2; grid-column: 2; }

@media (max-width: 860px) {
  .opt-ring, .opt-rail { grid-template-columns: 1fr; }
  .ring-wrap .tab { width: 118px; padding: 8px 10px; } .ring-wrap .tab .t { font-size: 12.5px; }
  .ring-core { width: 110px; height: 110px; } .ring-core b { font-size: 13px; }
  .bento { grid-template-columns: 1fr; }
  .bento .tile { grid-column: 1; } .bento .tile:has(.tab.on) { grid-column: 1; grid-row: auto; order: -1; }
  .cols { flex-direction: column; } .cols .col, .cols .col:has(.tab.on) { flex: none; } .cols .t-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 20px; }
  .lgrid { grid-template-columns: 1fr; gap: 14px; }
  .lgrid .tile:nth-child(3), .lgrid .tile:nth-child(4) { grid-row: auto; grid-column: 1; }
  .lgrid .tile::after { display: none; }
}

/* ------------------------------------------------------------
   Frost: glass tab bar, teal-to-blue active pill with its progress fill
   inside (the shared .opt-light rules do the work).
   ------------------------------------------------------------ */
.opt-frost .tab-bar { padding: 6px; gap: 6px; }

/* ============================================================
   V6 (team feedback, 15 Oct 2026)
   ============================================================ */

/* 1. Section spacing cut by 40% on desktop */
@media (min-width: 861px) {
  .section { padding: clamp(34px, 4.8vw, 66px) 0; }
  .section-tight { padding: clamp(24px, 3vw, 43px) 0; }
  .section-head { margin-bottom: clamp(17px, 2.4vw, 29px); }
  .page-hero { padding: clamp(12px, 2.4vw, 29px) 0 clamp(17px, 2.4vw, 34px); }
}

/* 2. Hero: about 35% shorter, no longer a full screen */
.hero-dark { min-height: 0; padding: 132px 0 clamp(36px, 4.8vw, 64px); align-items: flex-start; }
.hero-dark h1 { font-size: clamp(42px, 6vw, 80px); margin: 14px 0 18px; }
.hero-dark .lede { margin-bottom: 24px; }
.hero-dark .hero-grid { align-items: center; }
.hero-dark .hero-visual { min-height: 0; aspect-ratio: 1 / .74; }

/* 3. CTA band and footer, after Vidhi's wireframe: one dark block,
      a teal card with copy left and actions right, centred footer below */
.end-band { padding: clamp(28px, 3.6vw, 44px) 0 0; background: var(--ink); margin-top: clamp(24px, 3vw, 40px); }
.end-band + .demo-modal, .end-band ~ .modal { }
.cta-row { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(26px, 3.2vw, 40px) clamp(24px, 3.6vw, 48px); border-radius: 26px; background: #133a40; border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px rgba(255, 255, 255, .08); }
.cta-row .mesh { z-index: -1; border-radius: inherit; opacity: .55; }
.cta-row::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgba(19, 58, 64, .92) 0%, rgba(19, 58, 64, .72) 55%, rgba(19, 58, 64, .5) 100%); }
.cta-copy h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 8px; max-width: 20ch; }
.cta-copy p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.5; margin: 0; max-width: 48ch; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.btn-cta { background: var(--teal); color: #fff; border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 10px 24px -12px rgba(0, 0, 0, .6); }
.btn-cta:hover { background: #2f8f90; color: #fff; }
.cta-link { color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.cta-link:hover { color: #fff; }
.cta-link .arr { display: inline-block; transition: transform .2s var(--ease); }
.cta-link:hover .arr { transform: translateX(3px); }

.footer-v6 { background: var(--ink); border-top: 0; padding: clamp(30px, 3.6vw, 44px) 0 26px; color: rgba(255, 255, 255, .72); text-align: center; }
.footer-v6 .wrap { display: grid; justify-items: center; gap: 14px; }
.footer-v6 .mark { color: #fff; font-size: 22px; }
.footer-v6 .mark .ops { color: var(--aqua); }
.footer-v6 .foot-tag { margin: -4px 0 2px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.foot-icons { display: flex; gap: 10px; }
.foot-icons a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1.5px solid rgba(127, 195, 193, .55); transition: background .2s, border-color .2s; }
.foot-icons a:hover { background: rgba(127, 195, 193, .16); border-color: var(--aqua); }
.foot-icons svg { width: 17px; height: 17px; fill: currentColor; }
.foot-icons a:last-child svg { fill: none; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 4px; }
.foot-links a { color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 500; }
.foot-links a:hover { color: #fff; }
.footer-v6 .foot-bottom { width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-v6 .foot-bottom span:last-child { color: rgba(127, 195, 193, .7); }
@media (max-width: 860px) {
  .cta-row { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .foot-links { gap: 8px 20px; }
}

/* 4. What you get, and what you won't: tinted cards from the wireframe */
.grid-ocean { gap: 16px; }
.grid-ocean .ocean { background: var(--ot); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 26px 30px 28px; border-radius: 20px; }
.grid-ocean .ocean::before, .grid-ocean .ocean::after { display: none; }
.grid-ocean .ocean .k { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--ok); margin-bottom: 10px; }
.grid-ocean .ocean .k::before { display: none; }
.grid-ocean .ocean ul { display: block; }
.grid-ocean .ocean li { display: inline; padding: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-decoration: none; }
.grid-ocean .ocean li::before { content: none; }
.grid-ocean .ocean li + li::before { content: " \00B7  "; position: static; font-weight: 700; color: var(--ink-2); }
.ocean-create { --ot: #E3F0E9; --ok: #3F7F5A; }
.ocean-raise  { --ot: #E6F0F1; --ok: #236B6C; }
.ocean-reduce { --ot: #F1F4F4; --ok: #8C6A2E; }
.ocean-elim   { --ot: #F5E6E2; --ok: #A3523F; }
/* tuning: hero to about 35% shorter, CTA to about 30% shorter (wireframe proportions) */
.hero-dark { padding: 118px 0 36px; }
.hero-dark h1 { font-size: clamp(40px, 5.2vw, 70px); margin: 10px 0 14px; }
.hero-dark .lede { font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 20px; }
.hero-dark .hero-visual { aspect-ratio: 1 / .66; }
.end-band { padding-top: clamp(40px, 4.8vw, 64px); }
.cta-row { padding: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr) auto; }
.cta-copy h2 { font-size: clamp(30px, 3.2vw, 42px); max-width: 14ch; margin-bottom: 12px; }
.cta-copy p { font-size: 17px; max-width: 34ch; }
.end-band { padding-top: clamp(44px, 5vw, 72px); }
.cta-row { padding: clamp(44px, 5vw, 72px) clamp(28px, 4.4vw, 64px); }
.grid-ocean .ocean .k { font-size: 17px; }
.grid-ocean .ocean li { font-size: 18px; }
@media (max-width: 860px) {
  .cta-row { grid-template-columns: 1fr; padding: 30px 22px; gap: 22px; }
  .cta-copy h2 { max-width: none; font-size: 28px; }
  .cta-copy p { max-width: none; font-size: 16px; }
  .cta-actions { justify-content: flex-start; }
  .end-band { padding-top: 36px; }
}

/* ---- V6 round 2 ---- */
/* CTA: back to the V5 design, height cut by about 30% */
.end-band { background: transparent; margin-top: 0; padding: clamp(28px, 4.2vw, 50px) 0; }
.end-band .cta-dark { min-height: 0; padding: clamp(18px, 2.8vw, 34px); }
.end-band .cta-dark .cta-card { padding: clamp(24px, 2.9vw, 36px); }
.end-band .cta-dark .cta-card img { width: 38px; height: 38px; padding: 7px; margin-bottom: 14px; }
.end-band .cta-dark h2 { margin-bottom: 10px; }
.end-band .cta-dark p { margin-bottom: 20px; }
/* footer: V5 text in the dark, centred style */
.footer-v6 .foot-tag { max-width: 46ch; line-height: 1.55; margin: -2px 0 2px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 18px 56px; justify-content: center; margin-top: 6px; text-align: center; }
.foot-cols h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; font-weight: 600; }
.foot-cols ul { display: grid; gap: 8px; }
.foot-cols a { color: rgba(255, 255, 255, .72); font-size: 15px; }
.foot-cols a:hover { color: #fff; }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; gap: 20px; } }
/* hero: 30% taller than round 1 */
.hero-dark { min-height: min(86svh, 780px); padding: 132px 0 56px; align-items: center; }
/* the ported gradient renders at full resolution, no blur */
.mesh canvas { filter: none; }
.end-band { padding: clamp(20px, 3vw, 36px) 0; }
.end-band .cta-dark { padding: clamp(14px, 2vw, 24px); }
.end-band .cta-dark .cta-card { padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.8vw, 36px); }
.end-band .cta-dark h2 { font-size: clamp(28px, 3.2vw, 40px); }
.end-band .cta-dark .cta-card img { width: 34px; height: 34px; padding: 6px; margin-bottom: 12px; }
.end-band .cta-dark p { margin-bottom: 18px; }
@media (max-width: 860px) { .hero-dark { min-height: 0; padding: 116px 0 44px; } }

/* ---- V6 round 3 ---- */
/* hero: a dark shade behind the copy so the moving background never fights the text */
.hero-dark .mesh::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 30, 34, .86) 0%, rgba(8, 30, 34, .72) 34%, rgba(8, 30, 34, .3) 62%, rgba(8, 30, 34, .08) 100%),
              linear-gradient(180deg, rgba(8, 30, 34, .45) 0%, rgba(8, 30, 34, 0) 22%, rgba(8, 30, 34, 0) 78%, rgba(8, 30, 34, .5) 100%); }
@media (max-width: 860px) { .hero-dark .mesh::after { background: rgba(8, 30, 34, .62); } }
/* CTA: another 25 to 30% shorter */
.end-band { padding: clamp(14px, 2vw, 24px) 0; }
.end-band .cta-dark { padding: clamp(10px, 1.4vw, 16px); border-radius: 26px; }
.end-band .cta-dark .cta-card { padding: clamp(18px, 1.9vw, 24px) clamp(20px, 2.4vw, 30px); border-radius: 20px; }
.end-band .cta-dark .cta-card img { display: none; }
.end-band .cta-dark h2 { font-size: clamp(26px, 2.6vw, 34px); max-width: 22ch; margin-bottom: 6px; }
.end-band .cta-dark p { font-size: 16px; line-height: 1.5; margin-bottom: 14px; max-width: 56ch; }
.end-band .cta-dark .cta-card .btn-lg { padding: 12px 22px; }
/* footer: one compact row, about half the height */
.footer-v6 { padding: 26px 0 16px; text-align: left; }
.footer-v6 .wrap { display: block; }
.foot-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px 40px; align-items: start; }
.foot-brand { display: grid; gap: 8px; justify-items: start; }
.footer-v6 .mark { font-size: 20px; }
.footer-v6 .foot-tag { margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 40ch; text-align: left; }
.foot-icons a { width: 32px; height: 32px; }
.foot-icons svg { width: 15px; height: 15px; }
.foot-row h4 { color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 8px; font-weight: 600; }
.foot-row ul { display: grid; gap: 5px; }
.foot-row ul a { color: rgba(255, 255, 255, .72); font-size: 14px; }
.foot-row ul a:hover { color: #fff; }
.footer-v6 .foot-bottom { margin-top: 18px; padding-top: 12px; justify-content: space-between; font-size: 12.5px; }
@media (max-width: 860px) { .foot-row { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-v6 .foot-bottom { justify-content: flex-start; } }
.end-band { padding: clamp(20px, 3vw, 38px) 0; }
.end-band .cta-dark { padding: clamp(12px, 1.8vw, 22px); }
.end-band .cta-dark .cta-card { padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.8vw, 36px); }
.end-band .cta-dark .cta-card img { display: block; width: 32px; height: 32px; padding: 6px; margin-bottom: 12px; }
.end-band .cta-dark h2 { margin-bottom: 8px; }
.end-band .cta-dark p { margin-bottom: 18px; }
.end-band .cta-dark .cta-card img { display: none; }
.end-band { padding: clamp(18px, 2.6vw, 34px) 0; }

/* ---- V6 round 4 ---- */
/* lighter background, the text shade eased to match */
.hero-dark .mesh::after { background: linear-gradient(90deg, rgba(8, 30, 34, .74) 0%, rgba(8, 30, 34, .58) 34%, rgba(8, 30, 34, .2) 62%, rgba(8, 30, 34, 0) 100%),
  linear-gradient(180deg, rgba(8, 30, 34, .35) 0%, rgba(8, 30, 34, 0) 22%, rgba(8, 30, 34, 0) 80%, rgba(8, 30, 34, .35) 100%); }
@media (max-width: 860px) { .hero-dark .mesh::after { background: rgba(8, 30, 34, .5); } }

/* Playbooks: thumbnail cards */
.pb-thumb { position: relative; overflow: hidden; background: radial-gradient(80% 90% at 80% 10%, rgba(66, 165, 246, .28), transparent 60%), radial-gradient(70% 80% at 10% 100%, rgba(19, 185, 165, .3), transparent 60%), linear-gradient(160deg, #0F3A41, #081E22); }
.pb-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%); }
.pb-svg { display: block; width: 100%; height: 100%; }
.pb-svg text { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: #fff; }
.pb-svg .lbl { font-size: 10.5px; font-weight: 500; fill: rgba(255, 255, 255, .62); letter-spacing: .02em; }
.pb-svg .you { fill: #fff; } .pb-svg .you-t { fill: var(--ink); font-size: 9.5px; font-weight: 700; }
.pb-n { position: absolute; top: 14px; left: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .7); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(8, 30, 34, .35); }
.pb-body { display: grid; gap: 8px; align-content: start; }
.pb-want { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.pb-body h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.pb-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.pb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.pb-meta { font-size: 12.5px; color: var(--mute); }
.pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pb-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; border-radius: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pb-card .pb-thumb { aspect-ratio: 16 / 9.8; }
.pb-card .pb-body { padding: 18px 20px 18px; }
.pb-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 30px 60px -30px rgba(8, 30, 34, .4); }
.pb-feature { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid rgba(8, 30, 34, .06); box-shadow: 0 24px 60px -32px rgba(8, 30, 34, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pb-feature:hover { transform: translateY(-3px); box-shadow: 0 34px 70px -32px rgba(8, 30, 34, .45); }
.pb-feature .pb-thumb { min-height: 280px; }
.pb-feature .pb-body { padding: clamp(22px, 3vw, 36px); align-content: center; }
.pb-feature h3 { font-size: clamp(24px, 2.4vw, 30px); }
.pb-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 6px 0 2px; }
.pb-inside li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); }
.pb-inside li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-teal, #13B9A5), var(--brand-blue, #42A5F6)); }
@media (max-width: 1024px) { .pb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pb-grid, .pb-feature { grid-template-columns: 1fr; } .pb-feature .pb-thumb { min-height: 0; aspect-ratio: 16 / 9.8; } .pb-inside { grid-template-columns: 1fr; } }


/* ---- V6 round 8: playbook thumbnails as static exhibits, palette-driven, no brand teal ---- */
/* Cards: every row lines up across the three cards */
.pb-card .pb-body { display: flex; flex-direction: column; gap: 8px; }
.pb-card .pb-foot { margin-top: auto; }
.pb-want { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-inside { grid-template-columns: repeat(2, max-content); column-gap: 28px; }

/* Palettes. A (ink) is the default; B and C are on /review/playbook-palettes/ */
.pb-thumb { --pb-g: #F7F7F5; --pb-e: rgba(0, 0, 0, .08); --pb-k: #1C1C1C; --pb-m: #9A9A96; --pb-l: #DEDEDA; --pb-a: #1C1C1C; --pb-a2: #6E6E6A; --pb-t: #6E6E6A; --pb-r: #C4C4BF; }
.pal-navy .pb-thumb { --pb-g: #F1F3F6; --pb-e: rgba(19, 35, 63, .1); --pb-k: #13233F; --pb-m: #8E99AA; --pb-l: #D8DEE7; --pb-a: #13233F; --pb-a2: #5B6F8E; --pb-t: #5E6B7E; --pb-r: #B8C1CE; }
.pal-warm .pb-thumb { --pb-g: #F6F1EA; --pb-e: rgba(42, 38, 34, .1); --pb-k: #2A2622; --pb-m: #A39A8F; --pb-l: #E3DBD0; --pb-a: #B5562E; --pb-a2: #D99A7A; --pb-t: #7A6F64; --pb-r: #CDBFAF; }

/* Exhibit ground */
.pb-thumb { background: var(--pb-g); border-bottom: 1px solid var(--pb-e); }
.pb-thumb::after { display: none; }
.pb-feature .pb-thumb { border-bottom: 0; border-right: 1px solid var(--pb-e); }
.pb-n { color: var(--pb-t); border-color: var(--pb-e); background: #fff; }
@media (max-width: 760px) { .pb-feature .pb-thumb { border-right: 0; border-bottom: 1px solid var(--pb-e); } }
.pb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pb-grid-4 .pb-card { grid-template-rows: auto; }
@media (max-width: 1024px) { .pb-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pb-grid-4 { grid-template-columns: 1fr; } }

/* Shared marks */
.pb-svg text { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--pb-k); }
.pb-svg .cap { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; fill: var(--pb-t); }
.pb-svg .lb { font-size: 12px; font-weight: 500; fill: var(--pb-t); }
.pb-svg .you { fill: var(--pb-k); } .pb-svg .you-t { fill: #fff; font-size: 11px; font-weight: 700; }
.pb-svg .pill rect { fill: #fff; stroke: var(--pb-a); stroke-width: 1.2; } .pb-svg .pill text { fill: var(--pb-a); font-size: 12px; }
.pb-svg .rail line { stroke: var(--pb-r); stroke-width: 1; }
.pb-svg .rd { fill: var(--pb-k); }
.pb-svg .rl { font-size: 12.5px; font-weight: 600; fill: var(--pb-k); }

/* master: trust gradient */
.pb-master .gr { fill: var(--pb-l); } .pb-master .gr-warm { fill: var(--pb-a); }
.pb-master .ch rect { fill: #fff; stroke: var(--pb-r); }
.pb-master .ch .cn { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: var(--pb-t); }
.pb-master .ch:first-of-type rect { stroke: var(--pb-a); stroke-width: 1.5; }
.pb-master .ch:first-of-type .cn { fill: var(--pb-a); }
.pb-master .ib rect { stroke-dasharray: 4 4; fill: transparent; stroke: var(--pb-m); }

/* warm network */
.pb-network .ed path { fill: none; stroke: var(--pb-r); stroke-width: 1.2; }
.pb-network .nd circle { fill: var(--pb-m); }
.pb-network .adv circle { fill: #fff; stroke: var(--pb-k); stroke-width: 1.2; } .pb-network .adv text { font-size: 11px; }
.pb-network .sc circle { fill: none; stroke: var(--pb-a); stroke-width: 1.2; } .pb-network .sc2 circle { fill: var(--pb-a); }
.pb-network .route { fill: none; stroke: var(--pb-a); stroke-width: 2; stroke-linecap: round; }

/* outbound */
.pb-outbound .mk circle { fill: var(--pb-r); }
.pb-outbound .fit circle { fill: var(--pb-a); }
.pb-outbound .lst rect { fill: #fff; stroke: var(--pb-r); } .pb-outbound .lst path { stroke: var(--pb-a); stroke-width: 2.5; stroke-linecap: round; }
.pb-outbound .trk { stroke: var(--pb-m); stroke-width: 1; stroke-dasharray: 3 4; }
.pb-outbound .tch circle { fill: #fff; stroke: var(--pb-k); stroke-width: 1.2; } .pb-outbound .tch > text:not(.lb) { font-size: 12px; font-weight: 700; }
.pb-outbound .ic { fill: none; stroke: var(--pb-k); stroke-width: 1.2; stroke-linejoin: round; }
.pb-outbound .end circle { fill: var(--pb-a); stroke: var(--pb-a); } .pb-outbound .tk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* inbound */
.pb-inbound .post > rect:first-child { fill: #fff; stroke: var(--pb-r); }
.pb-inbound .post .ln { fill: var(--pb-l); } .pb-inbound .post .av { fill: var(--pb-m); }
.pb-inbound .re circle { fill: var(--pb-a); stroke: #fff; stroke-width: 2; } .pb-inbound .re circle:nth-child(2) { fill: var(--pb-a2); } .pb-inbound .re circle:nth-child(3) { fill: var(--pb-l); }
.pb-inbound .fl { fill: none; stroke: var(--pb-m); stroke-width: 1; }
.pb-inbound .pp { fill: var(--pb-l); }
.pb-inbound .en { fill: var(--pb-l); } .pb-inbound .en2 { fill: var(--pb-l); opacity: .7; }
.pb-inbound .bar { fill: var(--pb-a); } .pb-inbound .r1 .bar { fill: var(--pb-m); }
.pb-inbound .msg rect { fill: #fff; stroke: var(--pb-a); stroke-width: 1.2; } .pb-inbound .msg path { stroke: var(--pb-a); stroke-width: 1.6; stroke-linecap: round; }

/* Book a call: the Calendly event text on the left, the date and time picker on the right */
.book-grid h1 { max-width: 16ch; font-size: clamp(32px, 4vw, 50px); }
.book-p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin: 18px 0 0; max-width: 52ch; }
.book-list { list-style: none; padding: 0; margin-top: 14px; }
.book-list .tick { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); }

/* ---- V6 round 9: thumbnails as teasers, so the text leads ---- */
.pb-thumb .pb-svg { filter: blur(1.6px); opacity: .42; transform: scale(1.04); transition: filter .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.pb-thumb::after { display: block; content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 35%, var(--pb-g) 100%); }
.pb-feature .pb-thumb::after { background: linear-gradient(90deg, transparent 40%, var(--pb-g) 100%); }
.pb-card .pb-thumb { aspect-ratio: 16 / 8; }
.pb-card:hover .pb-svg, .pb-feature:hover .pb-svg, .pb-card:focus-visible .pb-svg, .pb-feature:focus-visible .pb-svg { filter: none; opacity: .85; transform: none; }
.pb-n { z-index: 1; }
@media (max-width: 760px) { .pb-feature .pb-thumb::after { background: linear-gradient(180deg, transparent 35%, var(--pb-g) 100%); } }
@media (prefers-reduced-motion: reduce) { .pb-thumb .pb-svg { transition: none; } }

/* ---- V7: every CTA offers the 30-second demo beside Book a call ---- */
.end-band .cta-dark .cta-card .cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; margin-left: 0; }
.cta-dark .btn-glass { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .3); box-shadow: inset 0 1px rgba(255, 255, 255, .4); }
.cta-dark .btn-glass:hover { background: rgba(255, 255, 255, .24); }
.cta-actions .play { flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #fff; }
.cta-actions .play svg { width: 9px; height: 9px; fill: var(--ink); margin-left: 1px; }
.video-frame video { display: block; width: 100%; height: 100%; background: #000; }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; justify-content: center; } }
.end-band .cta-actions .btn { min-height: 48px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }

/* ---- V8: same as V7, footer back to the V5 colours (light frosted glass, ink text) ---- */
.footer-v6 { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line-soft); color: var(--ink-2); }
.footer-v6 .mark { color: var(--ink); }
.footer-v6 .mark .ops { color: inherit; }
.footer-v6 .foot-tag { color: var(--ink-2); }
.footer-v6 .foot-icons a { color: var(--ink); background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); }
.footer-v6 .foot-icons a:hover { background: #fff; border-color: rgba(255, 255, 255, .9); }
.footer-v6 .foot-row h4 { color: var(--ink); }
.footer-v6 .foot-row ul a { color: var(--ink-2); }
.footer-v6 .foot-row ul a:hover { color: var(--ink); }
.footer-v6 .foot-bottom { border-top: 1px solid var(--line-soft); color: var(--mute); }
.footer-v6 .foot-bottom span:last-child { color: var(--mute); }

/* CTA bands: a quiet third option under the two buttons */
.end-band .cta-card .cta-more { margin-left: 0 !important; padding-left: 0; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .82); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.end-band .cta-card .cta-more:hover { color: #fff; text-decoration-color: #fff; }

/* ---- CTA third line: quieter, with air above it on desktop ---- */
.end-band .cta-card .cta-more { margin-top: 22px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); text-decoration-color: rgba(255, 255, 255, .25); }
.end-band .cta-card .cta-more:hover { color: rgba(255, 255, 255, .9); text-decoration-color: rgba(255, 255, 255, .6); }

/* ---- Phone layer: a type scale and spacing made for a 390px screen. Desktop is untouched. ---- */
@media (max-width: 760px) {
  /* type scale: 15px body, 30px titles, 23px section heads */
  body { font-size: 15px; }
  main h1, .page-hero h1, .gs-grid h1, .about-hero h1 { font-size: 30px !important; line-height: 1.12; letter-spacing: -.02em; }
  .hero-dark h1, .rotator { font-size: 34px !important; line-height: 1.08; }
  main h2, .section-head h2 { font-size: 23px !important; line-height: 1.2; }
  main h3 { font-size: 17px; }
  .lede, .hero-dark .lede { font-size: 15px !important; line-height: 1.55; }
  main p, main li { font-size: 14.5px; line-height: 1.55; }
  .eyebrow, .pb-want { font-size: 10.5px; }
  .btn-lg { min-height: 46px; font-size: 15px; }

  /* spacing: about a third less vertical padding */
  .section { padding: 40px 0; }
  .section-tight { padding: 28px 0; }
  .page-hero { padding-top: 12px; padding-bottom: 16px; }
  .section-head { margin-bottom: 18px; }
  .glass { border-radius: 18px; }

  /* home */
  .rings-net { max-height: 220px; }
  .rings, .how-panel, .proof-card { padding: 18px !important; }
  .g-col { padding: 12px !important; }
  .g-col p, .g-inbound p { font-size: 13px; }
  .loop-step { padding: 12px !important; }
  .principles { gap: 10px !important; }
  .principle { padding: 14px !important; }
  .principle p { font-size: 13px; }
  .principle h3, .principle b { font-size: 14.5px; }

  /* services: four equal tabs, flat lists instead of a card per item */
  .tabs-card { padding: 12px !important; }
  .tab-bar { grid-template-columns: 1fr 1fr !important; gap: 6px !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
  .tab-bar .t-arrow, .tab-bar .bar { display: none !important; }
  .tab-bar .tab { min-height: 48px; padding: 8px 12px !important; border-radius: 12px !important; font-size: 13px !important; line-height: 1.25; justify-content: flex-start !important; text-align: left; background: rgba(255, 255, 255, .65); border: 1px solid rgba(8, 30, 34, .08) !important; }
  .tab-bar .tab .num { font-size: 11px; margin-right: 6px; }
  .tab-loop { font-size: 10px !important; margin: 10px 0 4px !important; }
  .block-head h3 { font-size: 19px !important; }
  .block-head .outcome, .block-head p { font-size: 14px !important; }
  .opt-light .items, .tabs-live .items, .items { grid-template-columns: 1fr !important; gap: 0 !important; }
  .opt-light .items li, .tabs-live .items li, .opt-split .items li, .items li { padding: 11px 0 11px 18px !important; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(8, 30, 34, .08) !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .items li:last-child { border-bottom: 0 !important; }
  .opt-light .items li::before, .tabs-live .items li::before, .items li::before { left: 0 !important; top: 17px !important; width: 7px; height: 7px; box-shadow: none !important; }
  .items b { font-size: 14px; } .items span { font-size: 13px; }

  /* services ERRC: four equal tiles in a 2 x 2 grid */
  .grid-ocean { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .ocean { padding: 14px !important; border-radius: 16px; }
  .ocean .k { font-size: 10.5px; margin-bottom: 8px; letter-spacing: .12em; }
  .ocean p, .ocean li, .ocean span { font-size: 13px !important; line-height: 1.45; }

  /* CTA band */
  .end-band .cta-dark .cta-card h2 { font-size: 22px !important; }
  .end-band .cta-dark .cta-card p { font-size: 14px; }
  .end-band .cta-card .cta-more { margin-top: 14px; font-size: 12.5px; }

  /* footer: brand row, one compact link grid, one line of small print */
  .footer-v6 { padding: 22px 0 14px; }
  .foot-row { grid-template-columns: 1fr 1fr 1fr !important; gap: 14px 12px !important; }
  .foot-brand { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
  .foot-brand .foot-tag { grid-column: 1 / -1; grid-row: 2; font-size: 12.5px !important; max-width: none; }
  .foot-brand .foot-icons { grid-column: 2; grid-row: 1; }
  .foot-row h4 { font-size: 10px !important; margin: 0 0 6px !important; }
  .foot-row ul { gap: 3px !important; }
  .foot-row ul a { font-size: 12.5px !important; }
  .footer-v6 .foot-bottom { margin-top: 14px !important; padding-top: 10px !important; font-size: 11px !important; gap: 4px 12px !important; }
}
@media (max-width: 760px) {
  /* home principles: one grouped card with tidy rows, instead of uneven tiles */
  .principles { grid-template-columns: 1fr !important; gap: 0 !important; padding: 4px 16px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -20px rgba(8, 30, 34, .3); }
  .principle { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 13px 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(8, 30, 34, .07) !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; }
  .principle:last-child { border-bottom: 0 !important; }
  .principle .ico { grid-row: 1 / span 2; margin: 2px 0 0 !important; width: 34px; height: 34px; }
  .principle b { margin-bottom: 2px !important; }
  /* home channel tiles: smaller titles so the 2 x 2 rows even out */
  .g-col b, .g-col h3, .g-col h4 { font-size: 14.5px !important; }
  /* services tabs: label always starts at the left */
  .tab-bar .tab { display: flex !important; align-items: center; }
}
@media (max-width: 760px) {
  /* about: small photo beside the name, bio below, instead of a full-width square photo */
  .team-grid { gap: 12px !important; }
  .team { display: grid !important; grid-template-columns: 76px 1fr; column-gap: 14px; row-gap: 0; padding: 16px !important; }
  .team .photo { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 76px; aspect-ratio: 1; margin: 0 !important; border-radius: 14px; overflow: hidden; }
  .team .photo img { width: 100%; height: 100%; object-fit: cover; }
  .team > b { grid-column: 2; grid-row: 1; align-self: end; font-size: 16px !important; margin: 0 !important; }
  .team > .title { grid-column: 2; grid-row: 2; align-self: start; font-size: 13px !important; margin: 2px 0 0 !important; }
  .team > p, .team > a { grid-column: 1 / -1; }
  .team > p { margin-top: 12px !important; font-size: 13.5px !important; }
  .team > a { margin-top: 10px !important; }
  .story-wide p { font-size: 14.5px !important; }
  .story-wide { padding: 18px !important; }
}
@media (max-width: 760px) {
  /* case studies: smaller headline numbers and facts, tighter blocks */
  .case { padding: 18px !important; }
  .case-list { gap: 14px !important; }
  .case-big { font-size: 34px !important; line-height: 1.05; }
  .case-bigsub { font-size: 15px !important; margin-top: 6px !important; }
  .case-facts { gap: 10px !important; margin-top: 14px !important; }
  .case-facts dt { font-size: 10px !important; margin-bottom: 2px; }
  .case-facts dd { font-size: 13.5px !important; line-height: 1.5; }
  .case-grid { gap: 14px !important; }
  .case p { font-size: 13.5px !important; }
  .vis-ribbon svg { max-height: 150px; }
  /* home proof card numbers follow the same scale */
  .stat-big { font-size: 56px !important; }
}
@media (max-width: 760px) {
  /* playbooks: thumbnails become a short teaser strip, text sized like the rest */
  .pb-card .pb-thumb, .pb-feature .pb-thumb { aspect-ratio: 16 / 6 !important; min-height: 0 !important; }
  .pb-thumb .pb-svg { height: 100%; }
  .pb-grid { gap: 12px !important; }
  .pb-card .pb-body { padding: 14px 16px 14px !important; gap: 6px !important; }
  .pb-feature .pb-body { padding: 18px 16px !important; }
  .pb-body h3 { font-size: 17px !important; }
  .pb-feature h3 { font-size: 21px !important; }
  .pb-body p { font-size: 13.5px !important; }
  .pb-inside { grid-template-columns: 1fr 1fr !important; column-gap: 12px; }
  .pb-inside li { font-size: 13px !important; }
  .pb-foot { padding-top: 10px !important; margin-top: 4px !important; }
  .pb-foot .link { font-size: 14px; }
}

/* ---- Phones: uniform service tabs, and a menu sized like the rest of the phone layout ---- */
@media (max-width: 760px) {
  /* four identical tiles: same height, number and label start top-left, label wraps under itself */
  .tab-bar { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 56px; }
  .tab-bar .tab { height: 56px !important; min-height: 0 !important; padding: 0 12px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; text-align: left !important; }
  .tab-bar .tab > span:first-child { display: grid !important; grid-template-columns: 22px 1fr; align-items: baseline; width: 100%; text-align: left !important; font-size: 13px; line-height: 1.25; }
  .tab-bar .tab .num { margin: 0 !important; font-size: 11px !important; }
  /* the loop caption: icon and text on one line, no dashed rules */
  .tab-loop { justify-content: flex-start !important; align-items: flex-start !important; gap: 6px !important; font-size: 9.5px !important; letter-spacing: .08em !important; line-height: 1.5; padding: 0 2px; }
  .tab-loop::before, .tab-loop::after { display: none !important; }
  /* menu: links at 18px, a normal-size Book a call */
  .mobile-menu a { font-size: 18px !important; font-weight: 600 !important; padding: 13px 4px !important; letter-spacing: -.01em; }
  .mobile-menu .mob-cta { margin-top: 18px !important; min-height: 48px; font-size: 15px !important; padding: 0 20px !important; justify-content: center; border-bottom: 0 !important; }
}

/* ---- Phones: inner pages close with a mini footer (logo, LinkedIn, email, copyright). Home keeps the full footer. ---- */
@media (max-width: 760px) {
  .footer-mini { padding: 16px 0 14px !important; }
  .footer-mini .foot-row { display: block !important; width: 100%; justify-self: stretch; }
  .footer-mini .foot-row > div:not(.foot-brand), .footer-mini .foot-tag { display: none !important; }
  .footer-mini .foot-brand { display: flex !important; width: 100%; align-items: center; justify-content: space-between; }
  .footer-mini .foot-bottom { justify-content: flex-start !important; }
  .footer-mini .foot-bottom { margin-top: 10px !important; padding-top: 0 !important; border-top: 0 !important; }
  .footer-mini .foot-bottom span:last-child { display: none; }
}

/* ---- V7: same as V8, CTA laid out as in Vidhi's wireframe (copy left, actions right) ---- */
.end-band-split .cta-dark .cta-card.cta-split { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 40px; }
.cta-split .cta-copy h2 { margin: 0; }
.cta-split .cta-copy p { margin: 8px 0 0; max-width: 46ch; }
.cta-split .cta-side { display: grid; justify-items: start; }
.cta-split .cta-actions { flex-wrap: nowrap; }
@media (max-width: 960px) { .end-band-split .cta-dark .cta-card.cta-split { grid-template-columns: 1fr; } .cta-split .cta-actions { flex-wrap: wrap; } }

/* ---- Demo: shareable /demo/ page and the end card shown when the video finishes ---- */
.demo-wrap { max-width: 980px; }
.demo-hero h1 { max-width: 20ch; }
.demo-player, .video-frame { position: relative; }
.demo-player { margin-top: clamp(20px, 2.6vw, 32px); border-radius: 20px; overflow: hidden; background: #081E22; box-shadow: 0 30px 70px -36px rgba(8, 30, 34, .55); aspect-ratio: 16 / 9; }
.demo-player video { display: block; width: 100%; height: 100%; background: #081E22; }
.demo-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-next-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; }
.demo-next-card b { font-size: 17px; color: var(--ink); }
.demo-next-card > span:not(.eyebrow):not(.link) { font-size: 14px; color: var(--ink-2); }
.demo-next-card .link { margin-top: 6px; font-size: 14px; }
.endcard { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; background: rgba(8, 30, 34, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.endcard[hidden] { display: none; }
.endcard-inner { max-width: 440px; text-align: center; color: #fff; display: grid; justify-items: center; gap: 10px; }
.endcard .eyebrow { color: #9FE8DF; }
.endcard h3 { margin: 0; color: #fff; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.02em; }
.endcard p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14.5px; line-height: 1.5; }
.endcard-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.endcard .btn-glass { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.endcard-replay { margin-top: 2px; background: none; border: 0; color: rgba(255, 255, 255, .65); font: inherit; font-size: 13px; cursor: pointer; }
.endcard-replay:hover { color: #fff; }
@media (max-width: 760px) {
  .demo-next { grid-template-columns: 1fr; gap: 10px; }
  .demo-next-card { padding: 16px; }
  .demo-player { border-radius: 14px; }
  .endcard { padding: 12px; }
  .endcard p { display: none; }
  .endcard h3 { font-size: 18px; }
  .endcard .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
}
.endcard .btn-primary { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.endcard .btn-primary:hover { background: #E8F3F2; }

/* ---- /demo/ v2: the page outbound replies land on ---- */
.demo-hero h1 { max-width: 22ch; }
.demo-note { max-width: 62ch; margin-top: 14px; display: grid; gap: 10px; }
.demo-note p { margin: 0; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink-2); }
.demo-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(22px, 2.6vw, 30px); font-size: 15px; font-weight: 600; color: var(--ink); }
.demo-cue .play { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); }
.demo-cue .play svg { width: 9px; height: 9px; fill: #fff; margin-left: 2px; }
.demo-hero .demo-player { margin-top: 14px; }
.demo-proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.demo-proof > div { display: grid; gap: 6px; align-content: start; padding: 18px 20px 18px 0; }
.demo-proof > div + div { padding-left: 20px; border-left: 1px solid var(--hair); }
.demo-proof b { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.demo-proof span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.demo-proof em { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.demo-proof-link { display: inline-block; margin-top: 14px; font-size: 14.5px; }
.demo-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 20px; }
.demo-offer h2 { margin: 6px 0 8px; font-size: clamp(22px, 2.4vw, 28px); }
.demo-offer p { margin: 0; max-width: 56ch; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.demo-offer-actions { display: grid; justify-items: start; gap: 12px; }
.demo-sign { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .demo-note p { font-size: 15px; }
  .demo-cue { font-size: 14px; }
  .demo-proof { grid-template-columns: 1fr; }
  .demo-proof > div { padding: 14px 0 !important; border-left: 0 !important; }
  .demo-proof > div + div { border-top: 1px solid var(--hair); }
  .demo-proof b { font-size: 32px; }
  .demo-proof span { font-size: 13.5px; }
  .demo-offer { grid-template-columns: 1fr; padding: 18px; }
  .demo-offer-actions .btn { width: 100%; justify-content: center; }
}
.demo-sign-wrap { padding: 8px 0 0; }

/* ---- Case 01 v2: the network audit, locked copy (19 Oct 2026) ---- */
.split-64 .bar i { width: 64%; }
.c1 .c1-head { margin: 14px 0 0; max-width: 30ch; color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.025em; }
.c1 .c1-head span { background: linear-gradient(90deg, #13B9A5, #42A5F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c1-grid-main { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(22px, 3vw, 32px); align-items: start; }
.c1-steps { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.c1-steps li { color: rgba(255, 255, 255, .82); }
.c1-found { margin: 0 0 12px; color: #fff; font-weight: 600; font-size: 16px; }
.c1-table { display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
.c1-table > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.c1-table span { color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.c1-table b { color: #fff; font-size: 18px; letter-spacing: -.01em; }
.c1-table em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.c1-table .c1-total { grid-template-columns: auto 1fr; gap: 10px; }
.c1-table .c1-total b { font-size: 28px; }
.c1-table .c1-total span { color: #9FE8DF; font-weight: 600; }
.c1-ex { margin: 22px 0 0; }
.c1-ex figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 10px; }
/* A: split bar */
.c1-bar-track { display: flex; gap: 3px; height: 64px; }
.c1-bar-track span { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; border-radius: 10px; min-width: 0; }
.c1-bar-track .own { background: rgba(255, 255, 255, .1); }
.c1-bar-track .adv { background: linear-gradient(90deg, #13B9A5, #42A5F6); }
.c1-bar-track b { color: #fff; font-size: 20px; line-height: 1.1; }
.c1-bar-track em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c1-bar-pct { display: flex; gap: 3px; margin-top: 6px; }
.c1-bar-pct span { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .55); padding-left: 14px; }
/* B: funnel */
.c1-f-row { display: block; margin-bottom: 14px; }
.c1-f-row .c1-f-bar { margin-bottom: 6px; }
.c1-f-bar { display: block; height: 14px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.c1-f-bar.mid { background: rgba(127, 195, 193, .7); }
.c1-f-bar.hot { background: linear-gradient(90deg, #13B9A5, #42A5F6); }
.c1-f-row b { color: #fff; font-size: 18px; }
.c1-f-row em { font-style: normal; color: rgba(255, 255, 255, .7); font-size: 13px; margin-left: 8px; }
.c1-f-row b, .c1-f-row em { display: inline; }
/* C: of every 100 */
.c1-cells { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
.c1-cells i, .c1-key i { display: block; aspect-ratio: 1; border-radius: 3px; }
.c1-cells i.adv, .c1-key i.adv { background: linear-gradient(135deg, #13B9A5, #42A5F6); }
.c1-cells i.own, .c1-key i.own { background: rgba(255, 255, 255, .16); }
.c1-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.c1-key span { display: inline-flex; align-items: center; gap: 6px; }
.c1-key i { width: 10px; }
/* closing lines */
.c1-among { margin: clamp(22px, 3vw, 30px) 0 0; font-style: italic; color: rgba(255, 255, 255, .75); max-width: 80ch; }
.c1-route { margin: 10px 0 0; color: rgba(255, 255, 255, .85); }
.c1-why { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.c1-why b { color: #fff; }
.c1-source { margin: 14px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) {
  .c1-grid-main { grid-template-columns: 1fr; }
  .c1 .c1-head { font-size: 24px !important; }
  .c1-bar-track { height: 56px; }
  .c1-bar-track span { padding: 0 10px; }
  .c1-bar-track .own em { display: none; }
  .c1-cells { gap: 3px; }
}

/* ---- Case 01, short version ---- */
.c1-short .c1-head { max-width: 24ch; font-size: clamp(28px, 3.6vw, 46px); }
.c1-sub { margin: 10px 0 0; color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.5vw, 20px); }
.c1-short-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 4vw, 56px); margin-top: clamp(22px, 3vw, 34px); align-items: center; }
.c1-story { display: grid; gap: 16px; margin: 0; }
.c1-story dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7FC3C1; margin-bottom: 4px; }
.c1-story dd { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; }
.c1-short .c1-ex { margin-top: 0; }
.c1-mini { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.c1-mini div { padding: 12px 0 0 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.c1-mini div:first-child { padding-left: 0; border-left: 0; }
.c1-mini b { display: block; color: #fff; font-size: 22px; letter-spacing: -.02em; }
.c1-mini span { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.c1-kicker { margin: clamp(22px, 3vw, 30px) 0 0; color: #fff; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 860px) {
  .c1-short-grid { grid-template-columns: 1fr; }
  .c1-short .c1-head { font-size: 26px !important; }
  .c1-mini b { font-size: 19px; }
}

/* ---- Case 01 visual takes (review) ---- */
.c1v .c1-mini { margin-top: 22px; }
.c1v-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px 40px; margin-top: 24px; }
.c1v-foot dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7FC3C1; margin-bottom: 4px; }
.c1v-foot dd { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.55; }
/* 1 reveal */
.c1r-stage { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 18px clamp(18px, 4vw, 48px); margin-top: 18px; }
.c1r-stage > div { display: grid; }
.c1r-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.c1r-zero { position: relative; font-size: clamp(90px, 13vw, 170px); font-weight: 800; line-height: .9; color: rgba(255, 255, 255, .25); letter-spacing: -.05em; width: max-content; }
.c1r-zero::after { content: ""; position: absolute; left: -8%; right: -8%; top: 52%; height: 6px; border-radius: 3px; background: #F2766B; transform: rotate(-12deg) scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .5s; }
.c1v.in .c1r-zero::after { transform: rotate(-12deg) scaleX(1); }
.c1r-big { font-size: clamp(90px, 13vw, 170px); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: linear-gradient(90deg, #13B9A5, #42A5F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c1r-note { color: rgba(255, 255, 255, .7); font-size: 15px; margin-top: 6px; }
.c1r-arrow { font-size: clamp(32px, 4vw, 52px); color: rgba(255, 255, 255, .4); padding-bottom: 36px; }
.c1r-line { font-size: clamp(20px, 2.2vw, 28px) !important; max-width: 36ch !important; margin-top: 22px !important; }
.c1r-split { display: flex; gap: 4px; margin-top: 18px; height: 58px; }
.c1r-seg { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; border-radius: 10px; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) 1.6s; }
.c1v.in .c1r-seg { transform: none; }
.c1r-seg.own { background: rgba(255, 255, 255, .12); }
.c1r-seg.adv { background: linear-gradient(90deg, #13B9A5, #42A5F6); transition-delay: 1.9s; }
.c1r-seg b { color: #fff; font-size: 20px; } .c1r-seg span { color: rgba(255, 255, 255, .82); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 2 constellation */
.c1c { margin: 20px 0 0; }
.c1c svg { display: block; width: 100%; height: auto; }
.c1c .lk line { stroke: rgba(127, 195, 193, .22); stroke-width: 1; stroke-dasharray: 3 4; }
.c1c .dt circle { fill: rgba(255, 255, 255, .22); }
.c1c .lt circle { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .5s ease var(--d), transform .5s ease var(--d); transform: scale(.3); }
.c1v.in .c1c .lt circle { opacity: 1; transform: none; }
.c1c .lo { fill: #9FE8DF; } .c1c .la { fill: #42A5F6; filter: drop-shadow(0 0 4px rgba(66, 165, 246, .8)); }
.c1c .an { fill: #0F3A41; stroke: #42A5F6; stroke-width: 1.5; } .c1c text { font: 700 10px var(--sans); fill: #fff; }
.c1c .you { fill: #fff; } .c1c .you-t { fill: #081E22; font-size: 9.5px; }
.c1c figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.c1c figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.c1c figcaption i { width: 9px; height: 9px; border-radius: 50%; } .k-own { background: #9FE8DF; } .k-adv { background: #42A5F6; }
.c1c .k-scale { color: rgba(255, 255, 255, .5); }
/* 3 iceberg */
.c1i { margin: 20px 0 0; border-radius: 18px; overflow: hidden; background: #0B2A30; }
.c1i svg { display: block; width: 100%; height: auto; }
.c1i .tip { fill: #E8F3F2; }
.c1i .low { fill: url(#c1low); opacity: .9; transform: translateY(24px); transition: transform 1.2s var(--ease) .3s; }
.c1v.in .c1i .low { transform: none; }
.c1i .wl { stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-dasharray: 6 5; }
.c1i text { font: 500 13px var(--sans); fill: rgba(255, 255, 255, .85); }
.c1i .wl-t { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; fill: rgba(255, 255, 255, .8); } .c1i .wl-t.dim { fill: rgba(255, 255, 255, .5); }
.c1i .n { font: 800 30px var(--sans); fill: #fff; } .c1i .n.big { font-size: 46px; fill: #081E22; }
.c1i .lab text:not(.n) { fill: rgba(255, 255, 255, .85); }
.c1i .lab text.n.big + text { fill: #081E22; font-weight: 600; }
/* 4 before and after */
.c1b { display: grid; grid-template-columns: .8fr auto 1.2fr; gap: 16px; align-items: stretch; margin-top: 22px; }
.c1b-card { display: grid; align-content: start; gap: 4px; padding: 20px; border-radius: 18px; }
.c1b-card.before { background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .2); }
.c1b-card.after { background: rgba(255, 255, 255, .08); border: 1px solid rgba(66, 165, 246, .5); box-shadow: 0 20px 50px -30px rgba(66, 165, 246, .6); }
.c1b-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.c1b-card b { font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; color: #fff; }
.c1b-card.before b { color: rgba(255, 255, 255, .3); }
.c1b-card.after b { background: linear-gradient(90deg, #13B9A5, #42A5F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c1b-cap { color: rgba(255, 255, 255, .7); font-size: 14px; margin-bottom: 10px; }
.c1b-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.c1b-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13.5px; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.c1v.in .c1b-list li { opacity: 1; transform: none; }
.c1v.in .c1b-list li:nth-child(2) { transition-delay: .15s; } .c1v.in .c1b-list li:nth-child(3) { transition-delay: .3s; } .c1v.in .c1b-list li:nth-child(4) { transition-delay: .45s; } .c1v.in .c1b-list li:nth-child(5) { transition-delay: .6s; }
.c1b-list li.empty { height: 34px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .1); }
.c1b-list em { font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(66, 165, 246, .2); color: #BFE1FF; white-space: nowrap; }
.c1b-list li.more { background: none; color: rgba(255, 255, 255, .7); justify-content: flex-start; }
.c1b-arrow { align-self: center; font-size: 34px; color: rgba(255, 255, 255, .4); }
@media (max-width: 860px) {
  .c1v-foot { grid-template-columns: 1fr; }
  .c1r-stage { grid-template-columns: auto auto 1fr; gap: 10px; }
  .c1r-zero, .c1r-big { font-size: 64px; }
  .c1r-arrow { font-size: 26px; padding-bottom: 18px; }
  .c1r-seg span { display: none; }
  .c1b { grid-template-columns: 1fr; }
  .c1b-arrow { transform: rotate(90deg); justify-self: center; }
  .c1i .n.big { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .c1v * { transition: none !important; } }
.c1i .n.big { font-size: 38px; }
.c1i .lab text.n.big + text { font-size: 12px; }
.c1i .scale { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; fill: rgba(255, 255, 255, .4); }
.c1i .low { transform: translateY(14px); }
@media (max-width: 860px) { .c1i .n.big { font-size: 34px; } }

/* ---- Case 01: context line and forked ribbon ---- */
.c1r-context { margin: 12px 0 0; max-width: 62ch; color: rgba(255, 255, 255, .78); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; }
.c1-ribbon { margin-top: 18px; max-width: 760px; }
.c1-ribbon .val.sm { font-size: 13px; }
.c1-ribbon .val.hot { fill: #9FE8DF; }
.c1-ribbon .lbl.hot { fill: #BFE1FF; }
.c1-ribbon .lbl { font-size: 9.5px; }
.c1-ribbon .val { font-size: 13px; }
@media (max-width: 860px) { .c1-ribbon { max-width: none; } }
.c1r-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 4vw, 52px); align-items: center; margin-top: 18px; }
.c1r-row .c1r-line { margin-top: 0 !important; }
.c1r-row .c1-ribbon { margin-top: 0; max-width: none; }
.c1r-row .c1-mini { margin-top: 20px; }
@media (max-width: 860px) { .c1r-row { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .c1-ribbon .lbl { font-size: 13px; } .c1-ribbon .val, .c1-ribbon .val.sm { font-size: 17px; } }

/* ---- Case 01 visual slot: constellation and 100 dots ---- */
.c1r-row .c1c { margin: 0; }
.c1r-row .c1c figcaption { font-size: 12px; }
.c1d { margin: 0; }
.c1d figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 10px; }
.c1d-cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 360px; }
.c1d-cells i { display: block; aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .35s ease var(--d), box-shadow .35s ease var(--d), transform .35s ease var(--d); transform: scale(.6); }
.c1v.in .c1d-cells i.own { background: rgba(255, 255, 255, .22); transform: none; }
.c1v.in .c1d-cells i.adv { background: linear-gradient(135deg, #13B9A5, #42A5F6); box-shadow: 0 0 10px rgba(66, 165, 246, .45); transform: none; }
.c1d .c1-key i.adv { background: linear-gradient(135deg, #13B9A5, #42A5F6); } .c1d .c1-key i.own { background: rgba(255, 255, 255, .22); }

/* ---- Case 01 visuals, round 3: routes, rings, donut ---- */
.c1-vis svg { display: block; width: 100%; height: auto; overflow: visible; }
.c1-vis .val { font: 700 15px var(--sans); fill: #fff; letter-spacing: -.02em; }
.c1-vis .val.hot, .c1-vis .pct.hot { fill: #9FE8DF; }
.c1-vis .lbl { font: 500 10.5px var(--sans); fill: rgba(255, 255, 255, .65); }
.c1-vis .lbl.hot { fill: #BFE1FF; }
.c1-vis .lbl.dim { fill: rgba(255, 255, 255, .4); }
/* routes */
.c1-routes .lane { fill: none; stroke-linecap: round; }
.c1-routes .lane.own { stroke: rgba(159, 232, 223, .35); }
.c1-routes .lane.adv { stroke: url(#c1ra); stroke: #2BA9C9; filter: drop-shadow(0 6px 12px rgba(66, 165, 246, .35)); }
.c1-routes .po { fill: #E8F3F2; } .c1-routes .pa { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.c1-routes .him { fill: #fff; } .c1-routes .htxt { font: 700 11px var(--sans); fill: #081E22; }
.c1-routes .anode { fill: #0F3A41; stroke: #42A5F6; stroke-width: 2; } .c1-routes .atxt { font: 700 13px var(--sans); fill: #fff; }
/* rings */
.c1-rings .outer { filter: drop-shadow(0 10px 22px rgba(66, 165, 246, .35)); }
.c1-rings .inner { fill: #E8F3F2; }
.c1-rings .ripple { fill: none; stroke: #BFE1FF; stroke-width: 1.5; }
.c1-rings .val.dark { fill: #081E22; } .c1-rings .lbl.dark { fill: #2A4A50; }
.c1-rings .lead { stroke: rgba(191, 225, 255, .6); stroke-width: 1; } .c1-rings .lead.dim { stroke: rgba(255, 255, 255, .3); }
/* donut */
.c1-donut .track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 22; }
.c1-donut .arc { fill: none; stroke: url(#c1dg); stroke-width: 22; stroke-linecap: round; stroke-dashoffset: var(--full); transition: stroke-dashoffset 1.6s var(--ease) .3s; filter: drop-shadow(0 0 8px rgba(66, 165, 246, .4)); }
.c1v.in .c1-donut .arc { stroke-dashoffset: var(--to); }
.c1-donut .val.big { font-size: 30px; }
.c1-donut .pct { font: 800 24px var(--sans); fill: #fff; letter-spacing: -.02em; }
@media (max-width: 860px) { .c1-vis .lbl { font-size: 12.5px; } .c1-vis .val { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .c1-routes .pulse, .c1-rings .ripple { display: none; } .c1-donut .arc { transition: none; } }

/* ---- Case 01 consulting-style exhibits ---- */
.c1x { margin: clamp(22px, 3vw, 32px) 0 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.c1x-title { color: #fff; font-size: clamp(18px, 1.9vw, 24px); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.c1x-title span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #7FC3C1; font-weight: 500; margin-bottom: 6px; }
.c1x-src { margin: 16px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.c1x-q { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.c1x-cap { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.c1x-cap b { color: #fff; } .c1x-cap b.hot { color: #9FE8DF; }
.c1x-svg { display: block; width: 100%; height: auto; overflow: visible; }
.c1x-svg .v { font: 700 16px var(--sans); fill: #fff; } .c1x-svg .v.sm { font-size: 13px; } .c1x-svg .v.hot { fill: #9FE8DF; }
.c1x-svg .l { font: 500 11px var(--sans); fill: rgba(255, 255, 255, .7); } .c1x-svg .l.hot { fill: #BFE1FF; } .c1x-svg .l.dim { fill: rgba(255, 255, 255, .42); }
/* panels */
.c1x-panels { display: grid; grid-template-columns: repeat(3, 1fr); }
.c1x-p { padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.c1x-p:first-child { padding-left: 0; border-left: 0; } .c1x-p:last-child { padding-right: 0; }
.c1x-p .c1x-svg { max-height: 170px; }
.d-track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 18; }
.d-arc { fill: none; stroke: url(#c1xd); stroke-width: 18; stroke-linecap: round; stroke-dashoffset: var(--full); transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.c1v.in .d-arc { stroke-dashoffset: var(--to); }
.venn .vb { fill: rgba(19, 185, 165, .55); stroke: #13B9A5; stroke-width: 1.2; } .venn .vi { fill: rgba(66, 165, 246, .5); stroke: #42A5F6; stroke-width: 1.2; mix-blend-mode: screen; }
.venn circle { transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; transition: transform .9s var(--ease), opacity .9s; }
.venn circle.vi { transition-delay: .35s; }
.c1v.in .venn circle { transform: none; opacity: 1; }
.c1x-bars { display: grid; gap: 14px; }
.c1x-bars div { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: baseline; }
.c1x-bars span { font-size: 13px; color: rgba(255, 255, 255, .75); } .c1x-bars b { color: #fff; font-size: 17px; }
.c1x-bars i, .c1x-route i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.c1x-bars i::after, .c1x-route i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #13B9A5, #42A5F6); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .5s; }
.c1v.in .c1x-bars i::after, .c1v.in .c1x-route i::after { transform: none; }
/* tree */
.c1x-tree { display: grid; grid-template-columns: 1fr auto .8fr 2.2fr; align-items: center; gap: 0 14px; }
.c1x-tree .nd { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.c1x-tree .nd b { color: #fff; font-size: 30px; letter-spacing: -.03em; line-height: 1; } .c1x-tree .nd span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.c1x-tree .nd em { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .45); margin-top: 4px; }
.c1x-tree .mid { background: linear-gradient(135deg, rgba(19, 185, 165, .35), rgba(66, 165, 246, .3)); border-color: rgba(66, 165, 246, .6); position: relative; }
.c1x-tree .ar { display: grid; justify-items: center; gap: 4px; color: #9FE8DF; font-size: 11px; text-align: center; }
.c1x-tree .ar::before { content: "\2192"; font-size: 26px; color: rgba(255, 255, 255, .45); }
.c1x-tree .br { display: grid; gap: 10px; position: relative; padding-left: 18px; border-left: 2px solid rgba(127, 195, 193, .4); }
.c1x-tree .grp { display: grid; grid-template-columns: 74px 1fr 1fr; gap: 8px; align-items: stretch; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
.c1v.in .c1x-tree .grp { opacity: 1; transform: none; } .c1v.in .c1x-tree .grp:nth-child(2) { transition-delay: .2s; } .c1v.in .c1x-tree .grp:nth-child(3) { transition-delay: .4s; }
.c1x-tree .gq { align-self: center; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.c1x-tree .lf { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.c1x-tree .lf b { color: #fff; font-size: 18px; } .c1x-tree .lf span { font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.35; }
.c1x-tree .lf.hot { background: linear-gradient(135deg, rgba(19, 185, 165, .4), rgba(66, 165, 246, .35)); box-shadow: 0 0 18px rgba(66, 165, 246, .25); }
/* overlap hero */
.c1x-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.c1x-venn-big .c1x-svg { max-height: 260px; }
.c1x-route { display: grid; gap: 14px; }
.c1x-route .rt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: baseline; }
.c1x-route .rt b { color: #fff; font-size: 24px; letter-spacing: -.02em; } .c1x-route .rt.hot b { color: #9FE8DF; }
.c1x-route .rt span { font-size: 13.5px; color: rgba(255, 255, 255, .75); } .c1x-route .rt em { font-style: normal; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .55); }
.c1x-route .rt:not(.hot) i::after { background: rgba(159, 232, 223, .5); }
.c1x-route .rt.q { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
/* nested squares */
.c1x-nest .c1x-svg { max-height: 300px; }
.c1x-nest .sq0 { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .25); }
.c1x-nest .sq1 { fill: rgba(159, 232, 223, .35); stroke: #9FE8DF; }
.c1x-nest .sq2 { fill: url(#c1xn); filter: drop-shadow(0 0 10px rgba(66, 165, 246, .5)); }
.c1x-nest rect { transform-box: fill-box; transform-origin: left bottom; transform: scale(0); transition: transform .9s var(--ease); }
.c1x-nest .sq1 { transition-delay: .5s; } .c1x-nest .sq2 { transition-delay: 1s; }
.c1v.in .c1x-nest rect { transform: none; }
.c1x-nest .ld { stroke: rgba(255, 255, 255, .3); stroke-width: 1; } .c1x-nest .ld.hot { stroke: #9FE8DF; }
@media (max-width: 860px) {
  .c1x-panels { grid-template-columns: 1fr; gap: 22px; }
  .c1x-p { padding: 0; border-left: 0; } .c1x-p + .c1x-p { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .c1x-tree { grid-template-columns: 1fr; gap: 10px; } .c1x-tree .ar::before { content: "\2193"; }
  .c1x-tree .grp { grid-template-columns: 1fr 1fr; } .c1x-tree .gq { grid-column: 1 / -1; }
  .c1x-hero { grid-template-columns: 1fr; }
  .c1x-svg .l { font-size: 12.5px; } .c1x-svg .v { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .c1t * { transition: none !important; } }

/* ---- Template 4 variations ---- */
.c1x-svg .v.xl { font-size: 34px; fill: #fff; }
/* zoom */
.c1t-zoom .zp { opacity: 0; transform: translateY(8px); transition: opacity .7s, transform .7s var(--ease); }
.c1t-zoom .zl line { stroke: rgba(191, 225, 255, .55); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; transition: opacity .6s; }
.c1v.in .c1t-zoom .zp, .c1v.in.c1t-zoom .zp { opacity: 1; transform: none; }
.c1v.in.c1t-zoom .p1 { transition-delay: .9s; } .c1v.in.c1t-zoom .p2 { transition-delay: 1.8s; }
.c1v.in.c1t-zoom .zl { } .c1v.in.c1t-zoom .l1 line { opacity: 1; transition-delay: .6s; } .c1v.in.c1t-zoom .l2 line { opacity: 1; transition-delay: 1.5s; }
.c1t-zoom .sq0 { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .25); }
.c1t-zoom .sq1 { fill: rgba(159, 232, 223, .3); stroke: #9FE8DF; }
.c1t-zoom .sq2 { fill: url(#c1zg); filter: drop-shadow(0 0 12px rgba(66, 165, 246, .45)); }
/* bullseye */
.c1t-bulls .c0 { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .25); }
.c1t-bulls .c1 { fill: rgba(159, 232, 223, .3); stroke: #9FE8DF; }
.c1t-bulls .c2 { fill: url(#c1bg); filter: drop-shadow(0 0 14px rgba(66, 165, 246, .5)); }
.c1t-bulls circle { transform-box: fill-box; transform-origin: center bottom; transform: scale(0); transition: transform .9s var(--ease); }
.c1t-bulls .c1 { transition-delay: .5s; } .c1t-bulls .c2 { transition-delay: 1s; }
.c1v.in.c1t-bulls circle { transform: none; }
.c1t-bulls .ld, .c1t-stack .ld { stroke: rgba(255, 255, 255, .3); stroke-width: 1; } .c1t-bulls .ld.hot, .c1t-stack .ld.hot { stroke: #9FE8DF; }
/* 3D stack */
.c1t-stack .ly0 .tp { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .3); } .c1t-stack .ly0 .sd { fill: rgba(255, 255, 255, .05); }
.c1t-stack .ly1 .tp { fill: rgba(159, 232, 223, .4); stroke: #9FE8DF; } .c1t-stack .ly1 .sd { fill: rgba(159, 232, 223, .2); }
.c1t-stack .ly2 .tp { fill: url(#c1sg); } .c1t-stack .ly2 .sd.l { fill: #0F8F80; } .c1t-stack .ly2 .sd.r { fill: #2C7FC0; }
.c1t-stack .ly2 { filter: drop-shadow(0 0 14px rgba(66, 165, 246, .5)); }
.c1t-stack .lay { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .9s var(--ease); }
.c1t-stack .ly1 { transition-delay: .5s; } .c1t-stack .ly2 { transition-delay: 1s; }
.c1v.in.c1t-stack .lay { opacity: 1; transform: none; }

/* Services tabs: Map / Tap / Grow tag under each block name */
.tab-bar .tab .eyebrow { font-size: 10.5px; letter-spacing: .12em; white-space: nowrap; margin-top: 3px; }
.tab-bar .tab.on .eyebrow { color: rgba(255, 255, 255, .85); }
@media (max-width: 760px) {
  .tab-bar { grid-auto-rows: 1fr !important; }
  .tab-bar .tab { height: auto !important; min-height: 60px !important; padding: 9px 12px !important; flex-wrap: wrap !important; align-content: center !important; }
  .tab-bar .tab .eyebrow { flex-basis: 100%; padding-left: 22px; font-size: 9.5px; margin-top: 2px; }
}
