/* JFJ Digital site styles. Brand Kit 01 "Trust + Growth".
   Base hexes are estimates until the business card values arrive. */

/* ---------- 1. Tokens ---------- */
:root {
  --green: #22E07A;
  --deep: #0A2A66;
  --charcoal: #15181D;
  --mist: #B8C0CC;
  --ocean: #2BA8E0;
  --cloud: #F4F7FA;
  --white: #FFFFFF;
  --slate: #8A93A0;
  --pending: #FFD400;

  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max: 1320px;
  --gutter: 48px;
  --section: 120px;
  --section-tight: 72px;
  --card-pad: 32px;
  --r-card: 12px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t-med: .32s;

  --shadow-rest: 0 2px 24px rgba(0, 0, 0, .06);
  --shadow-lift: 0 14px 40px rgba(0, 0, 0, .14);
}
@media (max-width: 1023px) { :root { --gutter: 32px; --section: 96px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; --section: 72px; --section-tight: 48px; --card-pad: 24px; } }

/* Section colour roles. Every component reads these. */
.band-ink, .band-deep, .band-light, .band-white { background: var(--s-bg); color: var(--s-body); }
.band-ink {
  --s-bg: var(--charcoal); --s-head: var(--white); --s-body: var(--mist); --s-muted: var(--slate);
  --s-link: var(--ocean); --s-line: rgba(255,255,255,.10); --s-card: #1C2129; --s-card-line: rgba(255,255,255,.08);
  --s-focus: var(--ocean); --s-tag-bg: rgba(34,224,122,.12); --s-tag-fg: var(--green);
}
.band-deep {
  --s-bg: var(--deep); --s-head: var(--white); --s-body: #C9D6EA; --s-muted: #9DB3D6;
  --s-link: #6CC6F0; --s-line: rgba(255,255,255,.14); --s-card: rgba(255,255,255,.06); --s-card-line: rgba(255,255,255,.12);
  --s-focus: #6CC6F0; --s-tag-bg: rgba(34,224,122,.14); --s-tag-fg: var(--green);
}
.band-light {
  --s-bg: var(--cloud); --s-head: var(--charcoal); --s-body: #3A4250; --s-muted: #5B6472;
  --s-link: var(--deep); --s-line: #DCE2EA; --s-card: var(--white); --s-card-line: #E2E7EE;
  --s-focus: var(--deep); --s-tag-bg: rgba(34,224,122,.28); --s-tag-fg: var(--charcoal);
}
.band-white {
  --s-bg: var(--white); --s-head: var(--charcoal); --s-body: #3A4250; --s-muted: #5B6472;
  --s-link: var(--deep); --s-line: #E2E7EE; --s-card: var(--cloud); --s-card-line: #E2E7EE;
  --s-focus: var(--deep); --s-tag-bg: rgba(34,224,122,.28); --s-tag-fg: var(--charcoal);
}

/* Light theme: charcoal bands turn white, deep blue bands stay as brand bands. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .band-ink {
    --s-bg: var(--white); --s-head: var(--charcoal); --s-body: #3A4250; --s-muted: #5B6472;
    --s-link: var(--deep); --s-line: #E2E7EE; --s-card: var(--cloud); --s-card-line: #E2E7EE;
    --s-focus: var(--deep); --s-tag-bg: rgba(34,224,122,.28); --s-tag-fg: var(--charcoal);
  }
}
:root[data-theme="light"] .band-ink {
  --s-bg: var(--white); --s-head: var(--charcoal); --s-body: #3A4250; --s-muted: #5B6472;
  --s-link: var(--deep); --s-line: #E2E7EE; --s-card: var(--cloud); --s-card-line: #E2E7EE;
  --s-focus: var(--deep); --s-tag-bg: rgba(34,224,122,.28); --s-tag-fg: var(--charcoal);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; color-scheme: dark; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { color-scheme: light; } }
:root[data-theme="light"] { color-scheme: light; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; font-weight: 400;
  background: var(--charcoal); color: var(--mist);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) body { background: var(--white); } }
:root[data-theme="light"] body { background: var(--white); }
@media (max-width: 767px) { body { font-size: 16px; line-height: 1.65; } }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--s-head, var(--white)); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.022em; }
h3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--s-link, var(--ocean)); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--s-focus, var(--ocean)); outline-offset: 3px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--green); color: var(--charcoal); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-tight { padding-top: var(--section-tight); padding-bottom: var(--section-tight); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head p { font-size: 18px; max-width: 54ch; }
.section-head.solo { grid-template-columns: minmax(0, 780px); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; margin-bottom: 40px; } }

.lede { font-size: 19px; line-height: 1.65; }
.muted { color: var(--s-muted); }
.fine { font-size: 13px; line-height: 1.55; color: var(--s-muted); }

/* ---------- 3. Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 28px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast);
  touch-action: manipulation;
}
.btn-primary { background: var(--green); color: var(--charcoal); }
.btn-primary:hover { background: #3AE88B; box-shadow: 0 8px 20px rgba(0,0,0,.22); transform: translateY(-1px); text-decoration: none; }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-lg { min-height: 56px; padding: 0 30px; }
.btn-ghost { background: transparent; color: var(--s-head); box-shadow: inset 0 0 0 1.5px var(--s-line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--s-head); text-decoration: none; }
.btn svg { flex: none; transition: transform var(--t-fast) var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(3px); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--s-link); text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { transition: transform var(--t-fast) var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- 4. Pending markers ---------- */
.pending {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  background: var(--pending); color: #1A1A00; font: 600 12px/1.35 var(--font-body);
  letter-spacing: .02em; padding: 4px 8px; border-radius: 4px; white-space: normal; text-align: left;
}
.pending::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1A1A00; flex: none; }
html.hide-pending .pending { display: none !important; }

.slot {
  position: relative; border-radius: var(--r-card); background: var(--deep);
  border: 1px dashed rgba(43,168,224,.6); padding: 20px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 12px; overflow: hidden; min-height: 160px;
}
.slot-id { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8FB6DA; font-weight: 600; }
.slot-desc { font-size: 15px; color: #C9DCF0; line-height: 1.5; max-width: 34ch; position: relative; z-index: 1; }

.preview-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; gap: 8px; align-items: center;
  background: #1A1A00; color: var(--pending); border-radius: var(--r-pill); padding: 6px 6px 6px 14px;
  font: 600 12px/1 var(--font-body); box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.preview-bar button, .preview-bar a { background: var(--pending); color: #1A1A00; border: 0; border-radius: var(--r-pill); padding: 8px 12px; font: 600 12px/1 var(--font-body); cursor: pointer; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 767px) { .preview-bar span { display: none; } }

/* ---------- 5. Header and navigation ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; padding: 24px var(--gutter) 0; pointer-events: none; transition: padding var(--t-med) var(--ease-out); }
.site-header.is-scrolled { padding-top: 12px; }
.nav-bar {
  pointer-events: auto; max-width: calc(var(--max) - 2 * var(--gutter) + 0px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--white); color: var(--charcoal); border-radius: var(--r-pill);
  padding: 10px 10px 10px 24px; box-shadow: 0 1px 0 rgba(21,24,29,.04);
  transition: box-shadow var(--t-med) var(--ease-out);
}
.site-header.is-scrolled .nav-bar, :root[data-theme="light"] .nav-bar { box-shadow: 0 10px 30px rgba(10,20,40,.14), 0 0 0 1px rgba(21,24,29,.06); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .nav-bar { box-shadow: 0 10px 30px rgba(10,20,40,.10), 0 0 0 1px rgba(21,24,29,.07); } }

.logo-slot {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px;
  border: 1.5px dashed #9AA3AF; color: #4A5260; font: 600 13px/1 var(--font-body); letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
.logo-slot strong { font-family: var(--font-head); font-size: 16px; letter-spacing: .02em; color: var(--charcoal); }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; border-radius: 6px; }
.logo img { display: block; height: 34px; width: auto; }
.logo-footer { align-self: flex-start; }
.logo-footer img { height: 40px; }
@media (max-width: 600px) { .logo img { height: 28px; } }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-bar { position: relative; }
.nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 44px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--charcoal); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color var(--t-fast);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: #EEF2F6; text-decoration: none; }
.nav-link:focus-visible { outline-color: var(--deep); }
.nav-link svg { transition: transform var(--t-fast) var(--ease-out); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { padding: 0 28px; min-height: 50px; font-size: 15px; }

.menu {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5;
  background: var(--white); color: var(--charcoal); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10,20,40,.22), 0 0 0 1px rgba(21,24,29,.06);
  padding: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.menu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.menu a { color: var(--charcoal); text-decoration: none; }
.menu-simple { min-width: 280px; }
.menu-simple a { display: block; padding: 12px 14px; border-radius: 12px; }
.menu-simple a:hover { background: #EEF2F6; }
.menu-simple a span { display: block; font-size: 13px; color: #5B6472; line-height: 1.4; margin-top: 2px; }
.menu-simple a strong { font-weight: 600; font-size: 15px; }

.mega { width: min(1100px, calc(100vw - 2 * var(--gutter))); left: 50%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 14px; }
.mega-col { padding: 16px; border-radius: 14px; }
.mega-col:hover { background: #F4F7FA; }
.mega-col .mega-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.mega-col .mega-title svg { color: var(--deep); flex: none; }
.mega-col ul a { display: block; font-size: 14px; line-height: 1.4; padding: 7px 0; color: #3A4250; }
.mega-col ul a:hover { color: var(--deep); text-decoration: underline; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; margin-top: 4px; border-radius: 14px; background: var(--deep); color: #C9D6EA; font-size: 14px; }
.mega-foot a { color: var(--white); font-weight: 600; }

.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--charcoal); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
  .nav-main, .nav-bar > .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { padding: 8px 8px 8px 16px; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 79; background: var(--charcoal); color: var(--white);
  padding: 104px var(--gutter) 32px; overflow-y: auto; display: none;
}
.mobile-nav.is-open { display: block; animation: sheetIn .32s var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav details { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav summary, .mobile-nav .m-link { display: flex; justify-content: space-between; align-items: center; min-height: 60px; font: 600 22px/1.2 var(--font-head); color: var(--white); text-decoration: none; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav .m-link { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav ul { padding: 0 0 16px; }
.mobile-nav ul a { display: block; padding: 10px 0; color: var(--mist); text-decoration: none; font-size: 17px; }
.mobile-nav .m-group { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); padding-top: 12px; }
.mobile-nav .btn { width: 100%; margin-top: 28px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: 168px; padding-bottom: 104px;
  background:
    radial-gradient(ellipse 85% 95% at 100% 100%,
      rgba(255,255,255,var(--glow)) 0%,
      rgba(205,230,245,calc(var(--glow) * .55)) 22%,
      rgba(43,168,224,calc(var(--glow) * .35)) 42%,
      rgba(21,24,29,0) 70%),
    var(--s-bg);
  --glow: .22;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero { background: radial-gradient(ellipse 85% 95% at 100% 100%, rgba(43,168,224,.20) 0%, rgba(43,168,224,.08) 38%, rgba(255,255,255,0) 70%), var(--white); }
}
:root[data-theme="light"] .hero { background: radial-gradient(ellipse 85% 95% at 100% 100%, rgba(43,168,224,.20) 0%, rgba(43,168,224,.08) 38%, rgba(255,255,255,0) 70%), var(--white); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 740px) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--s-link); }
.hero h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
.hero-sub { font-size: 20px; line-height: 1.6; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-micro { font-size: 14px; color: var(--s-muted); }
.stats { display: flex; flex-wrap: wrap; gap: 24px 56px; padding-top: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: -0.02em; color: var(--s-head); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 15px; color: var(--s-body); }
.tag { display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1 var(--font-body); color: var(--s-tag-fg); background: var(--s-tag-bg); border-radius: var(--r-pill); padding: 6px 10px; letter-spacing: 0; }
.hero-foot { font-size: 12px; color: var(--s-muted); margin-top: -8px; }

.hero-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.hero-photos .col { display: flex; flex-direction: column; gap: 20px; padding-top: 80px; }
.hero-photos .slot:nth-child(1) { height: 300px; }
.hero-photos .col .slot:nth-child(2) { height: 240px; }
.hero-photos > .slot { height: 520px; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-photos { grid-template-columns: 1fr 1fr 1fr; }
  .hero-photos .col { display: contents; }
  .hero-photos .slot, .hero-photos > .slot, .hero-photos .col .slot:nth-child(n) { height: 260px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 128px; padding-bottom: 72px; }
  .hero-copy { gap: 22px; }
  .hero-sub { font-size: 18px; }
  .stats { gap: 22px 32px; }
  .stat-num { font-size: 40px; }
  .hero-photos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-photos > .slot { grid-column: 1 / -1; order: -1; }
  .hero-photos .slot, .hero-photos > .slot, .hero-photos .col .slot:nth-child(n) { height: 200px; }
  .hero-actions .btn { width: 100%; }
}

/* Single authored load moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > *, .js .hero-photos .slot { animation: rise .9s var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .js .hero-copy > :nth-child(n+5) { animation-delay: .24s; }
  .js .hero-photos .slot { animation-name: settle; animation-duration: 1.1s; }
  .js .hero-photos .col .slot:nth-child(1) { animation-delay: .15s; }
  .js .hero-photos .col .slot:nth-child(2) { animation-delay: .27s; }
  .js .hero-photos > .slot { animation-delay: .21s; }
}
@keyframes rise { from { opacity: .25; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: .3; transform: translateY(24px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- 7. Trust bar ---------- */
.trust { padding: 28px 0; }
.trust-row { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr; gap: 0; }
.trust-cell { padding: 8px 32px; border-left: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 6px; }
.trust-cell:first-child { border-left: 0; padding-left: 0; }
.trust-k { font-size: 13px; color: var(--s-muted); }
.trust-v { color: var(--s-head); font-weight: 500; font-size: 16px; line-height: 1.45; }
@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-cell { border-left: 0; border-top: 1px solid var(--s-line); padding: 16px 0; }
  .trust-cell:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- 8. Services + featured case ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.svc-list { border-top: 1px solid var(--s-line); }
.svc {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 24px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--s-line);
}
.svc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--deep); color: var(--white); display: grid; place-items: center; }
.svc h3 a { color: var(--s-head); text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; }
.svc p { margin-top: 8px; max-width: 52ch; }
.svc-subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-subs a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); color: var(--s-head);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: box-shadow var(--t-fast);
}
.svc-subs a:hover { box-shadow: inset 0 0 0 1.5px var(--deep); }
.svc-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--s-head); box-shadow: inset 0 0 0 1px var(--s-line); transition: background-color var(--t-fast), color var(--t-fast); }
.svc:hover .svc-go { background: var(--green); color: var(--charcoal); box-shadow: none; }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } .svc-go { display: none; } }

.case-card {
  position: sticky; top: 120px; border-radius: var(--r-card); overflow: hidden;
  background: var(--deep); color: #C9D6EA; padding: var(--card-pad);
  --s-head: var(--white); --s-link: #6CC6F0; --s-focus: #6CC6F0;
  display: flex; flex-direction: column; gap: 24px;
}
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #9DB3D6; }
.case-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); color: #DCE6F5; font-size: 13px; font-weight: 500; }
.case-card h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.015em; color: var(--white); }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; }
.case-pair > div { background: #0D3275; padding: 18px; }
.case-pair .k { font-size: 13px; color: #9DB3D6; line-height: 1.4; }
.case-pair .v { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--white); margin-top: 8px; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-pair .v svg { color: var(--green); }
.case-pair .from { color: #9DB3D6; font-weight: 500; font-size: 15px; }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: 1fr; gap: 48px; } .case-card { position: static; } }

/* ---------- 9. Report comparison ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 0 0 1px var(--s-card-line); }
.report-col { padding: 36px; }
.report-col.theirs { background: transparent; }
.report-col.ours { background: var(--white); color: #3A4250; --s-head: var(--charcoal); --s-muted: #5B6472; --s-line: #E2E7EE; }
.report-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--s-line); margin-bottom: 8px; }
.report-title h3 { font-size: 20px; }
.report-title span { font-size: 13px; color: var(--s-muted); }
.report-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--s-line); align-items: center; }
.report-row:last-child { border-bottom: 0; }
.report-row .what { color: var(--s-head); font-weight: 500; }
.report-row .why { font-size: 14px; color: var(--s-muted); line-height: 1.5; }
.theirs .report-row .what { color: var(--s-body); font-weight: 400; text-decoration: line-through; text-decoration-color: rgba(184,192,204,.45); text-decoration-thickness: 1px; }
.check { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--charcoal); display: grid; place-items: center; flex: none; }
.dash { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--s-line); color: var(--s-muted); display: grid; place-items: center; }
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } .report-col { padding: 24px; } }
/* Light theme: the white report page needs its own surface against a white band. */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .report-col.ours { background: var(--cloud); } }
:root[data-theme="light"] .report-col.ours { background: var(--cloud); }

/* ---------- 10. Industry playbooks ---------- */
.plays { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.play {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-card); overflow: hidden; background: var(--s-card);
  box-shadow: var(--shadow-rest), 0 0 0 1px var(--s-card-line); text-decoration: none; color: inherit;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.play:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift), 0 0 0 1px var(--s-card-line); text-decoration: none; }
.play .slot { border-radius: 0; border-width: 0 0 1px; height: 260px; }
.play-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 14px; }
.play-body h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.015em; }
.play-list { display: grid; gap: 10px; margin: 6px 0 4px; }
.play-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.play-list svg { margin-top: 5px; color: var(--deep); }
.play .text-link { margin-top: auto; }
@media (max-width: 900px) { .plays { grid-template-columns: 1fr; } .play .slot { height: 200px; } }

/* ---------- 11. Results with to-scale chart ---------- */
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: stretch; }
.result-copy { display: flex; flex-direction: column; gap: 24px; }
.result-copy h2 { font-size: clamp(32px, 3.4vw, 48px); }
.result-facts { display: grid; gap: 0; border-top: 1px solid var(--s-line); }
.result-facts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--s-line); align-items: baseline; }
.result-facts dt { color: var(--s-body); font-size: 15px; }
.result-facts dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--s-head); font-variant-numeric: tabular-nums; text-align: right; }

.chart { border-radius: var(--r-card); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--s-line); padding: 28px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.chart-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.chart-head h3 { font-size: 18px; }
.chart-plot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; height: 400px; align-items: end; padding-top: 44px; }
.chart-plot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--s-line); }
.bar-wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.bar { position: relative; border-radius: 8px 8px 0 0; height: var(--h); transform-origin: bottom; }
.bar-before { background: #6E86AE; min-height: 3px; }
.bar-after { background: var(--green); }
.bar-label { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 10px); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--s-head); font-variant-numeric: tabular-nums; }
.bar-label small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--s-muted); }
.chart-x { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: center; font-size: 14px; color: var(--s-body); }
.chart-delta { position: absolute; right: 0; top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .chart.is-waiting .bar { transform: scaleY(0); }
  .js .chart.is-waiting .bar-label { opacity: 0; }
  .js .chart .bar { transition: transform 1.4s var(--ease-out); }
  .js .chart .bar-before { transition-duration: .6s; }
  .js .chart .bar-label { transition: opacity .4s ease 1s; }
}
@media (max-width: 1023px) { .result { grid-template-columns: 1fr; gap: 48px; } .chart-plot { height: 300px; } }

/* ---------- 12. Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member .slot { aspect-ratio: 4 / 5; min-height: 0; }
.member .slot.logo { aspect-ratio: 4 / 5; background: #E9EEF4; border-color: #9FB0C6; }
.member .slot.logo::after { display: none; }
.member .slot.logo .slot-id { color: #42536E; }
.member .slot.logo .slot-desc { color: #3A4250; }
.member-num { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.member h3 { font-size: 20px; margin-top: 2px; }
.member p { font-size: 15px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); font-size: 13px; color: var(--s-head); }
@media (max-width: 1023px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } .member .slot { aspect-ratio: 16 / 11; } }

/* ---------- 13. Pricing ---------- */
.term { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); gap: 4px; }
.term button { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--s-body); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.term button[aria-pressed="true"] { background: var(--s-head); color: var(--s-bg); }
.term-note { font-size: 14px; color: var(--s-muted); margin-top: 12px; }
/* Fixed-size toggle column: the note changes length but the layout never moves. */
.pricing-head > div:last-child { flex: 0 0 400px; max-width: 100%; }
.term-note { min-height: 5.2em; }
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.pricing-head .intro { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--r-card);
  background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.tier:hover { transform: translateY(-4px); }
.tier.featured { background: var(--deep); color: #C9D6EA; box-shadow: inset 0 0 0 1.5px var(--green); --s-head: var(--white); --s-muted: #9DB3D6; --s-line: rgba(255,255,255,.14); --s-focus: #6CC6F0; }
.tier-badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: var(--charcoal); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); }
.tier h3 { font-size: 20px; }
.tier-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: var(--s-head); }
.tier-price .from { font-size: 14px; color: var(--s-muted); width: 100%; }
.tier-price .amt { font-family: var(--font-head); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tier-price .per { font-size: 15px; color: var(--s-muted); }
.tier-price .amt.swap { animation: swap .36s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.tier-list { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--s-line); font-size: 15px; line-height: 1.5; }
.tier-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.tier-list svg { margin-top: 4px; color: var(--green); }
.band-light .tier:not(.featured) .tier-list svg, .band-white .tier:not(.featured) .tier-list svg { color: var(--deep); }
.tier .btn { margin-top: auto; width: 100%; }
.included { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; padding: 24px 28px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--s-line); }
.included h3 { font-size: 18px; }
.included ul { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.included li { display: inline-flex; gap: 8px; align-items: center; }
.included svg { color: var(--green); }
@media (max-width: 1180px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } .included { grid-template-columns: 1fr; } }

/* ---------- 14. Reviews slider ---------- */
.slider { position: relative; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 20px; transition: transform .5s var(--ease-out); will-change: transform; }
.review { flex: 0 0 calc((100% - 20px) / 2); min-height: 240px; border-radius: var(--r-card); padding: var(--card-pad); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); display: flex; flex-direction: column; gap: 16px; }
.review.placeholder { box-shadow: none; outline: 1px dashed #9FB0C6; outline-offset: -1px; }
.review .r-src { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--s-muted); }
.review .r-body { font-size: 18px; line-height: 1.6; color: var(--s-head); }
.review .r-who { margin-top: auto; font-size: 14px; color: var(--s-muted); }
.slider-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 16px; }
.slider-btns { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--s-card); color: var(--s-head); box-shadow: inset 0 0 0 1px var(--s-card-line); transition: background-color var(--t-fast), color var(--t-fast); }
.icon-btn:hover:not(:disabled) { background: var(--s-head); color: var(--s-bg); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.dots { display: flex; gap: 0; }
.dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s-line); transition: background-color var(--t-fast), width var(--t-fast); }
.dots button[aria-current="true"]::before { background: var(--s-head); width: 22px; border-radius: 4px; }
@media (max-width: 1023px) { .review { flex-basis: calc((100% - 20px) / 1.5); } }
@media (max-width: 640px) { .review { flex-basis: calc(100% - 20px); } }

/* ---------- 15. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.step-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 16px; background: var(--white); color: var(--deep); flex: none; font-variant-numeric: tabular-nums; }
.step:first-child .step-num { background: var(--green); color: var(--charcoal); }
.step-line { flex: 1; height: 1px; background: var(--s-line); }
.step:last-child .step-line { background: linear-gradient(90deg, var(--s-line), transparent); }
.step h3 { font-size: 21px; }
.step p { font-size: 16px; }
.step .when { font-size: 13px; color: var(--s-muted); font-weight: 500; }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr 1fr; gap: 48px 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 36px; } .step { padding: 0; } }

/* ---------- 16. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--s-line); }
.faq-col .faq-item:first-child { border-top: 1px solid var(--s-line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 600 18px/1.35 var(--font-head); color: var(--s-head); min-height: 44px; }
.faq-q .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--s-line); flex: none; transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease-out); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--green); box-shadow: none; color: var(--charcoal); }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-a > div { padding: 0 48px 24px 0; font-size: 16px; }
.no-js .faq-a { max-height: none; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-col + .faq-col .faq-item:first-child { border-top: 0; } }

/* ---------- 17. Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.post .slot { aspect-ratio: 16 / 10; min-height: 0; transition: transform var(--t-med) var(--ease-out); }
.post:hover .slot { transform: translateY(-4px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--s-muted); align-items: center; }
.post h3 { font-size: 21px; }
.post:hover h3 { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.post p { font-size: 15px; line-height: 1.6; }
@media (max-width: 1023px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- 18. Book a call ---------- */
.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.book-copy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.book-copy h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.book-points { display: grid; gap: 12px; }
.book-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--s-head); }
.book-points svg { margin-top: 4px; color: var(--green); }
.book-contact { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--s-line); font-size: 15px; }
.book-contact a { color: var(--s-head); font-weight: 500; }

.form { background: var(--white); color: #3A4250; border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.25);
  --s-focus: var(--deep); --s-head: var(--charcoal); --s-muted: #5B6472; --s-link: var(--deep); }
:root[data-theme="light"] .form { box-shadow: 0 0 0 1px #E2E7EE, 0 30px 80px rgba(10,20,40,.10); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .form { box-shadow: 0 0 0 1px #E2E7EE, 0 30px 80px rgba(10,20,40,.10); } }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.field label .req { color: #B42318; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: 10px; border: 1px solid #C9D1DC; background: #FBFCFD;
  padding: 12px 14px; font: 400 16px/1.4 var(--font-body); color: var(--charcoal); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7480; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA6B6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(10,42,102,.16); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.10); }
.field-error { font-size: 13px; color: #B42318; display: none; }
.field.invalid .field-error { display: block; }
.phone { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.phone .cc { display: grid; place-items: center; border-radius: 10px; border: 1px solid #C9D1DC; background: #EEF2F6; font-size: 15px; font-weight: 500; color: var(--charcoal); }
.captcha-slot { min-height: 72px; border-radius: 10px; border: 1px dashed #9FB0C6; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; color: #5B6472; }
.form-actions { display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; }
.consent { font-size: 13px; line-height: 1.55; color: #5B6472; }
.form-status { font-size: 15px; border-radius: 10px; padding: 14px 16px; display: none; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #E7F8EF; color: #0E5A32; }
.form-status.err { background: #FDECEA; color: #8A1C12; }
@media (max-width: 1023px) { .book { grid-template-columns: 1fr; gap: 48px; } .book-copy { position: static; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- 19. Footer ---------- */
.footer { padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--s-line); }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .logo-slot { border-color: rgba(255,255,255,.4); color: #C9D6EA; align-self: flex-start; }
.footer-brand .logo-slot strong { color: var(--white); }
.footer h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer ul { display: grid; gap: 4px; }
.footer ul a { color: #C9D6EA; text-decoration: none; font-size: 15px; display: inline-block; padding: 6px 0; }
.footer ul a:hover { color: var(--white); text-decoration: underline; }
.footer address { font-style: normal; font-size: 15px; line-height: 1.7; color: #C9D6EA; }
.footer address a { color: #C9D6EA; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: #9DB3D6; }
.footer-bottom nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom a { color: #C9D6EA; }
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.theme-switch button { min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: none; color: #C9D6EA; font-size: 13px; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: var(--white); }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   21. Inner pages (hub and child templates)
   ========================================================= */
.page-hero { padding-top: 156px; padding-bottom: 88px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 100% 100%, rgba(43,168,224,.10) 0%, rgba(21,24,29,0) 65%), var(--s-bg); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .page-hero { background: radial-gradient(ellipse 70% 90% at 100% 100%, rgba(43,168,224,.14) 0%, rgba(255,255,255,0) 65%), var(--white); } }
:root[data-theme="light"] .page-hero { background: radial-gradient(ellipse 70% 90% at 100% 100%, rgba(43,168,224,.14) 0%, rgba(255,255,255,0) 65%), var(--white); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.page-hero h1 .hook { display: block; color: var(--s-body); font-weight: 500; }
.page-hero .opening { font-size: 19px; line-height: 1.65; max-width: 62ch; margin-top: 24px; }
.page-hero .opening a { color: var(--s-head); font-weight: 600; white-space: nowrap; }
.page-hero .hero-actions { margin-top: 32px; }
@media (max-width: 1023px) { .page-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 767px) { .page-hero { padding-top: 120px; padding-bottom: 64px; } .page-hero .opening { font-size: 17px; } }

.crumbs { margin-bottom: 28px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--s-muted); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.crumbs a { color: var(--s-body); text-decoration: none; }
.crumbs a:hover { color: var(--s-head); text-decoration: underline; }
.crumbs [aria-current] { color: var(--s-head); }

/* Panel listing what a hub contains */
.panel { border-radius: var(--r-card); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); padding: 8px; }
.panel-head { padding: 16px 16px 12px; font-size: 13px; color: var(--s-muted); }
.panel a.panel-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border-radius: 10px; text-decoration: none; color: var(--s-body); transition: background-color var(--t-fast); }
.panel a.panel-row:hover { background: rgba(127,140,160,.10); }
.panel-row .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--deep); color: var(--white); display: grid; place-items: center; }
.panel-row strong { display: block; color: var(--s-head); font-weight: 600; font-size: 16px; }
.panel-row span { font-size: 14px; line-height: 1.45; }
.panel-row svg.go { color: var(--s-head); }

/* Child service cards on a hub */
.kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kid { display: flex; flex-direction: column; gap: 14px; padding: var(--card-pad); border-radius: var(--r-card); background: var(--s-card); box-shadow: var(--shadow-rest), 0 0 0 1px var(--s-card-line); text-decoration: none; color: inherit; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.kid:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift), 0 0 0 1px var(--s-card-line); }
.kid .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--deep); color: var(--white); display: grid; place-items: center; }
.kid h3 { font-size: 22px; }
.kid .text-link { margin-top: auto; }
.kid-facts { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--s-line); font-size: 15px; }
.kid-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.kid-facts svg { margin-top: 5px; color: var(--deep); }
@media (max-width: 1023px) { .kids { grid-template-columns: 1fr; } }

/* Search results diagram */
.anatomy { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.serp { background: var(--white); border-radius: 28px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.06); color: var(--charcoal); }
:root[data-theme="light"] .serp { box-shadow: 0 24px 60px rgba(10,20,40,.14), 0 0 0 1px #E2E7EE; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .serp { box-shadow: 0 24px 60px rgba(10,20,40,.14), 0 0 0 1px #E2E7EE; } }
.serp-bar { display: flex; align-items: center; gap: 10px; border-radius: var(--r-pill); background: #F1F3F6; padding: 12px 16px; font-size: 15px; color: #3A4250; margin-bottom: 14px; }
.serp-zone { position: relative; border-radius: 14px; padding: 12px; margin-top: 10px; box-shadow: inset 0 0 0 2px var(--zc); }
.serp-zone .zt { position: absolute; top: -11px; left: 12px; background: var(--zc); color: var(--zt, var(--white)); font: 600 12px/1 var(--font-body); padding: 5px 9px; border-radius: var(--r-pill); }
.z-a { --zc: var(--green); --zt: var(--charcoal); }
.z-b { --zc: var(--ocean); --zt: var(--charcoal); }
.z-c { --zc: #6E86AE; }
.sk-row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 8px 4px; }
.sk-row + .sk-row { border-top: 1px solid #EEF1F4; }
.sk-av { width: 36px; height: 36px; border-radius: 50%; background: #E3E8EF; }
.sk-lines { display: grid; gap: 6px; }
.sk { height: 8px; border-radius: 4px; background: #E3E8EF; }
.sk.dark { background: #C7CFDA; height: 10px; }
.sk-badge { display: inline-flex; align-items: center; gap: 4px; font: 600 11px/1 var(--font-body); color: #0E6B3A; }
.sk-map { height: 84px; border-radius: 10px; margin-bottom: 6px; background:
  radial-gradient(circle at 30% 40%, #EA4335 0 5px, transparent 6px), radial-gradient(circle at 62% 58%, #EA4335 0 5px, transparent 6px), radial-gradient(circle at 78% 30%, #EA4335 0 5px, transparent 6px),
  linear-gradient(115deg, transparent 46%, #FFFFFF 46% 50%, transparent 50%), linear-gradient(20deg, transparent 60%, #FFFFFF 60% 63%, transparent 63%), #DDE7DA; }
.legend { display: grid; gap: 0; counter-reset: zone; }
.legend li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--s-line); }
.legend li:last-child { border-bottom: 1px solid var(--s-line); }
.legend .key { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--font-head); background: var(--zc); color: var(--zt, var(--white)); }
.legend h3 { font-size: 22px; margin-bottom: 6px; }
.legend h3 a { color: var(--s-head); text-decoration: none; }
.legend h3 a:hover { text-decoration: underline; }
.legend p { font-size: 16px; }
@media (max-width: 1023px) { .anatomy { grid-template-columns: 1fr; gap: 48px; } .serp { max-width: 440px; } }

/* Plans that include a service */
.plan-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--s-card-line); background: var(--s-card); }
.plan-strip > div { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.plan-strip > div + div { border-left: 1px solid var(--s-line); }
.plan-strip .name { font: 600 18px/1.3 var(--font-head); color: var(--s-head); }
.plan-strip .price { font: 600 32px/1 var(--font-head); color: var(--s-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-strip .price small { font: 500 14px/1 var(--font-body); color: var(--s-muted); letter-spacing: 0; }
.plan-strip p { font-size: 15px; }
.plan-strip .hl { background: var(--deep); color: #C9D6EA; --s-head: var(--white); --s-muted: #9DB3D6; }
.plan-strip .hl + div { border-left-color: transparent; }
@media (max-width: 900px) { .plan-strip { grid-template-columns: 1fr; } .plan-strip > div + div { border-left: 0; border-top: 1px solid var(--s-line); } }

/* Comparison table */
.compare-wrap { border-radius: var(--r-card); overflow-x: auto; box-shadow: inset 0 0 0 1px var(--s-card-line); background: var(--s-card); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 16px; }
.compare caption { text-align: left; padding: 20px 24px 0; font-size: 14px; color: var(--s-muted); caption-side: bottom; padding-bottom: 20px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--s-line); }
.compare thead th { font: 600 15px/1.3 var(--font-body); color: var(--s-head); background: rgba(127,140,160,.10); }
.compare thead th.us { background: var(--deep); color: var(--white); }
.compare tbody th { font-weight: 600; color: var(--s-head); width: 26%; }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: rgba(127,140,160,.05); }
.compare td.us { color: var(--s-head); font-weight: 500; }

/* Two column text block with sticky heading */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.split > :first-child { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.work-list { display: grid; gap: 0; border-top: 1px solid var(--s-line); }
.work-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--s-line); }
.work-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); color: var(--s-head); }
.work-list h3 { font-size: 20px; margin-bottom: 6px; }
.work-list p { font-size: 16px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 40px; } .split > :first-child { position: static; } }

/* Badge cards */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.badge-card { border-radius: var(--r-card); padding: var(--card-pad); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); display: flex; flex-direction: column; gap: 14px; }
.badge-card .seal { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1.2 var(--font-head); color: var(--s-head); }
.badge-card .seal span { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--charcoal); display: grid; place-items: center; }
.badge-card .who { font-size: 14px; color: var(--s-muted); }
@media (max-width: 800px) { .badges { grid-template-columns: 1fr; } }

/* Pending proof card */
.proof-pending { border-radius: var(--r-card); padding: 40px; outline: 1px dashed #9FB0C6; outline-offset: -1px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.proof-pending h3 { font-size: 22px; margin-bottom: 8px; }
@media (max-width: 800px) { .proof-pending { grid-template-columns: 1fr; padding: 28px; } }

/* Closing call-to-action band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.025em; }
.cta-band p { margin-top: 16px; font-size: 18px; max-width: 56ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 260px; }
.cta-band .actions .btn-ghost { color: var(--s-head); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { min-width: 0; } }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-card); background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-card-line); text-decoration: none; color: var(--s-head); font-weight: 600; transition: box-shadow var(--t-fast), transform var(--t-med) var(--ease-out); }
.related a span { display: block; font-weight: 400; font-size: 14px; color: var(--s-muted); margin-top: 2px; }
.related a:hover { box-shadow: inset 0 0 0 1.5px var(--s-head); transform: translateY(-2px); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }
.faq-grid.single { grid-template-columns: minmax(0, 860px); }
.nav-link[aria-current="page"] { background: #EEF2F6; }

/* 22. Web interface guideline fixes (Vercel checklist, taste-skill press feedback) */
html { -webkit-tap-highlight-color: transparent; }
.btn:active, .icon-btn:active:not(:disabled), .term button:active { transform: scale(.97); }
.mobile-nav { overscroll-behavior: contain; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.site-header { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.preview-bar { bottom: calc(16px + env(safe-area-inset-bottom)); }
.faq-q, .nav-link, .text-link, .icon-btn, .term button, .dots button { touch-action: manipulation; }

/* 23. Real team photos */
.member-photo { aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--deep); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .5s var(--ease-out); }
.member:hover .member-photo img { transform: scale(1.03); }
@media (max-width: 480px) { .member-photo { aspect-ratio: 16 / 11; } .member-photo img { object-position: 50% 25%; } }

/* =========================================================
   24. Sky backgrounds: stars at night, soft clouds by day
   ========================================================= */
.has-sky { position: relative; overflow: hidden; isolation: isolate; }
.has-sky > .container { position: relative; z-index: 1; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; --cloud: 43,168,224; --cloud-a: .15; }
.band-deep .sky { --cloud: 255,255,255; --cloud-a: .09; }
.sky-night, .sky-day { position: absolute; inset: 0; }
.sky-day { display: none; }
.stars { position: absolute; inset: -6%; background-repeat: repeat; will-change: opacity, transform; }
.stars.s1 { background-image: url("/assets/img/bg/stars-a.svg"); background-size: 640px 640px; animation: twinkle 5.5s ease-in-out infinite alternate, starDrift 160s linear infinite alternate; }
.stars.s2 { background-image: url("/assets/img/bg/stars-b.svg"); background-size: 920px 920px; animation: twinkle 8s ease-in-out -3s infinite alternate-reverse, starDrift 220s linear infinite alternate-reverse; }
.sky-night { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%); }
.sky.dim .sky-night { opacity: .55; }
.sky.horizon::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%; background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(43,168,224,.13), rgba(43,168,224,0) 100%); }
.shoot { position: absolute; top: var(--t, 12%); left: var(--l, 78%); width: 150px; height: 1.5px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); transform-origin: 0 50%; transform: rotate(155deg);
  animation: shoot var(--d, 13s) linear var(--w, 2s) infinite; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
@keyframes starDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-3%, 2%, 0); } }
@keyframes shoot {
  0% { opacity: 0; transform: rotate(155deg) translateX(0); }
  1% { opacity: 1; }
  6% { opacity: 0; transform: rotate(155deg) translateX(620px); }
  100% { opacity: 0; transform: rotate(155deg) translateX(620px); }
}
.cloud { position: absolute; left: var(--l, 0%); top: var(--t, 10%); width: min(1300px, 150vw); height: 400px; will-change: transform;
  background:
    radial-gradient(ellipse 28% 38% at 30% 58%, rgba(var(--cloud), var(--cloud-a)) 0%, rgba(var(--cloud), 0) 100%),
    radial-gradient(ellipse 26% 44% at 50% 48%, rgba(var(--cloud), var(--cloud-a)) 0%, rgba(var(--cloud), 0) 100%),
    radial-gradient(ellipse 28% 36% at 70% 60%, rgba(var(--cloud), var(--cloud-a)) 0%, rgba(var(--cloud), 0) 100%);
  animation: cloudDrift var(--d, 70s) ease-in-out infinite alternate; }
@keyframes cloudDrift { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(8%, -3%, 0); } }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .sky-night { display: none; }
  :root:not([data-theme="dark"]) .sky-day { display: block; }
}
:root[data-theme="light"] .sky-night { display: none; }
:root[data-theme="light"] .sky-day { display: block; }
@media (prefers-reduced-motion: reduce) { .stars, .cloud, .shoot { animation: none !important; } .shoot { display: none; } }

/* Glass chart card over the sky */
.band-deep .chart {
  background: linear-gradient(150deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,.08) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.20), inset 0 1px 0 rgba(255,255,255,.35), 0 30px 70px rgba(3,14,40,.45);
  border-radius: 20px;
}
.band-deep .chart .bar-after { background: linear-gradient(180deg, #4BF09A 0%, var(--green) 55%, #17C768 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.band-deep .chart .bar-before { background: rgba(255,255,255,.45); }

/* =========================================================
   25. Client logo marquee (replaces the trust strip)
   ========================================================= */
.clients { padding: 28px 0 32px; overflow: hidden; }
.clients-k { font-size: 13px; color: var(--s-muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; min-width: 100%; justify-content: space-around; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-track li { flex: none; display: flex; align-items: center; height: 44px; }
.marquee-track img { height: 36px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.client-slot { padding: 0 18px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.4); color: #C9D6EA; font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 767px) { .marquee-track { gap: 32px; padding-right: 32px; animation-duration: 30s; } .marquee-track img { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none !important; } .marquee-track[aria-hidden="true"] { display: none; } }

/* =========================================================
   26. Three industries, two-person team, testimonials
   ========================================================= */
.plays.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plays.three .play .slot, .plays.three .play .play-photo { height: 220px; }
.plays.three .play-body h3 { font-size: clamp(22px, 1.9vw, 26px); }
@media (max-width: 1100px) { .plays.three { grid-template-columns: 1fr; } }
.play-photo { overflow: hidden; }
.play-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.team-split .team-intro { display: flex; flex-direction: column; gap: 20px; }
.team-split .team-intro p { font-size: 18px; max-width: 46ch; }
.team.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .team-split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .team.duo { grid-template-columns: 1fr 1fr; gap: 14px; } .team.duo .member .slot, .team.duo .member-photo { aspect-ratio: 4 / 5; } .team.duo .member h3 { font-size: 17px; } }

.r-stars { display: flex; gap: 3px; color: #F5A623; }
.review .r-who strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--s-head); font-weight: 600; }

/* 27. Watercolor art */
.play-photo, .post-photo { overflow: hidden; background: var(--cloud); }
.play-photo { height: 240px; border-bottom: 1px solid var(--s-card-line); }
.plays.three .play .play-photo { height: 220px; }
.play-photo img, .post-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.play:hover .play-photo img, .post:hover .post-photo img { transform: scale(1.03); }
.post-photo { aspect-ratio: 16 / 10; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--s-card-line); }
@media (max-width: 900px) { .play-photo, .plays.three .play .play-photo { height: 200px; } }

/* 28. Footer skyline: night in dark mode, day in light mode */
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer > .container { position: relative; z-index: 1; }
.footer-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.footer-sky span { position: absolute; left: 50%; bottom: -3%; width: max(125%, 900px); aspect-ratio: 1600 / 686; transform: translateX(-50%); background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
.fs-night { background-image: url("/assets/img/art/skyline-night.jpg"); opacity: .22; }
.fs-day { background-image: url("/assets/img/art/skyline-day.jpg"); opacity: .15; display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .fs-night { display: none; }
  :root:not([data-theme="dark"]) .fs-day { display: block; }
}
:root[data-theme="light"] .fs-night { display: none; }
:root[data-theme="light"] .fs-day { display: block; }


/* 29. Launch build: tools/build-launch.ps1 adds class "launch" to <html>.
   Hides photo boxes still waiting for real images, unfinished detail blocks and preview-only items. */
.launch .slot, .launch .hero-photos, .launch .proof-pending, .launch .launch-hide, .launch .captcha-slot, .launch .pending, .launch .preview-bar { display: none !important; }
.launch section:has(> .container:not(.split) > .proof-pending) { display: none !important; }
.launch .hero-grid:has(> .hero-photos), .launch .page-hero-grid:has(> .slot), .launch .split:has(> .slot), .launch .split:has(> .proof-pending), .launch .result:has(> .slot) { grid-template-columns: minmax(0, 1fr); }
.launch .hero-grid:has(> .hero-photos) > .hero-copy, .launch .page-hero-grid:has(> .slot) > div, .launch .split:has(> .slot) > div, .launch .split:has(> .proof-pending) > div { max-width: 820px; }
