/* ============================================================
   LIMESTONE — THE OPERATING SYSTEM FOR PROTECTED SPACES
   Design System v3 — Editorial Infrastructure
   ──────────────────────────────────────────────────────────
   Display: Bricolage Grotesque (geometric, confident)
   Accent:  Bricolage italic (editorial soul, one family fewer)
   Body:    Inter (precise, infrastructural)
   Mono:    IBM Plex Mono (operational, system feel)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:ital,wght@0,400;0,450;0,500;0,600;0,700;1,400;1,500&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Brand blue — sharpened */
  --blue:         #0D5BFF;
  --blue-hover:   #0848D9;
  --blue-deep:    #0533A1;
  --blue-light:   #E6EEFF;
  --blue-pale:    #F4F7FF;
  --blue-glow:    rgba(13,91,255,0.16);

  /* Ink / navy — for headlines and dark surfaces */
  --ink:          #0A0E1A;
  --ink-2:        #131829;
  --navy:         #001B53;
  --navy-deep:    #050B22;
  --navy-mid:     #0E1B40;

  /* Stone — the warm neutral that anchors the brand to the material */
  --stone-50:     #FAF7F0;
  --stone-100:   #F2ECDC;
  --stone-200:   #E5DCC4;
  --stone-300:   #CFC2A4;
  --stone-line:   #DCD3BB;

  /* Text */
  --text:         #1F2433;
  --text-muted:   #5C6477;
  --text-light:   #8A93A6;

  /* Surfaces */
  --white:        #FFFFFF;
  --off-white:   #FAFAF7;
  --surface:      #F6F7FB;
  --surface-alt:  #EEF1F8;
  --border:       #E4E8F0;
  --border-light: #EFF2F8;
  --border-warm:  #E8E2D3;

  /* Accents */
  --green:        #0EAB6B;
  --green-light:  #DFFAEB;
  --amber:        #F0A02E;
  --amber-light:  #FFF4D9;
  --red:          #E5484D;
  --red-light:   #FFE4E4;

  /* Radius — restrained */
  --r-xs:   3px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Shadows — soft, never harsh */
  --shadow-xs:  0 1px 2px rgba(10,14,26,0.04);
  --shadow-sm:  0 2px 8px rgba(10,14,26,0.05), 0 1px 2px rgba(10,14,26,0.04);
  --shadow-md:  0 6px 24px rgba(10,14,26,0.07), 0 2px 6px rgba(10,14,26,0.04);
  --shadow-lg:  0 18px 56px rgba(10,14,26,0.12), 0 6px 16px rgba(10,14,26,0.05);
  --shadow-glow: 0 0 0 1px rgba(13,91,255,0.08), 0 24px 64px rgba(13,91,255,0.18);

  /* Nav */
  --nav-h: 72px;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px; --sp-40: 160px;

  /* Type stacks */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-serif:   'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

}

.limestone-turnstile {
  margin: 4px 0 16px;
  min-height: 0;
}

.limestone-form-status {
  margin: 0 0 16px;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.limestone-form-status[data-status="success"] {
  color: #075c3d;
  font-weight: 700;
}

.limestone-form-status[data-status="error"] {
  color: #8b261b;
  font-weight: 700;
}

.limestone-form-status[data-status="pending"] {
  color: var(--blue);
  font-weight: 700;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.t-eyebrow--muted {
  color: var(--text-light);
}

.t-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.t-display em, .t-display .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.t-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.t-hero em, .t-hero .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.t-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.t-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.t-body { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250,250,247,0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  border-color: var(--border);
  background: rgba(250,250,247,0.92);
}

.nav__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  position: relative;
  flex-shrink: 0;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.035em;
}

.nav__links {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
  margin-left: 28px;
}

.nav__item { position: relative; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.005em;
}
.nav__link:hover, .nav__link.active {
  color: var(--ink);
  background: rgba(13,91,255,0.06);
  padding: 9px 11px;
}
.nav__link svg { opacity: 0.6; }

/* Dropdown — top:100% (touches trigger) with padding-top creating a hoverable bridge.
   Background is transparent on the wrapper; the white card is on the inner items via
   the .nav__dropdown-card child. Result: no visual gap break in hover. */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -8px;
  padding-top: 10px;
  background: transparent;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  pointer-events: none;
  z-index: 300;
}
.nav__dropdown-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
}
.nav__item:hover .nav__dropdown,
.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

/* Invisible bridge that keeps hover alive between trigger and dropdown card.
   Only activates when the item is hovered, so it doesn't intercept stray clicks. */
.nav__item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 14px;
  pointer-events: none;
}
.nav__item:hover::after,
.nav__item.is-open::after {
  pointer-events: auto;
}
.nav__drop-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.nav__drop-item:hover { background: var(--surface); }
.nav__drop-icon {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.nav__drop-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nav__drop-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.5;
}

.nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--r-md);
  padding: 11px 18px;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
  text-decoration: none;
  position: relative;
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 1px 2px rgba(10,14,26,0.16), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(13,91,255,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 2px rgba(13,91,255,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-blue:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 18px rgba(13,91,255,0.32);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(10,14,26,0.03);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}

.btn-white {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 11px 8px;
}
.btn-ghost:hover { color: var(--ink); }

.btn-sm { font-size: 13px; padding: 8px 14px; border-radius: var(--r-sm); }
.btn-lg { font-size: 15px; padding: 15px 24px; border-radius: var(--r-md); }

.btn .arrow {
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── BADGES ─────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  text-transform: uppercase;
}
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(14,171,107,0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 4px rgba(14,171,107,0); }
}
.chip-dot--blue { background: var(--blue); animation: pulse-dot-blue 2.2s ease-in-out infinite; }
@keyframes pulse-dot-blue {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13,91,255,0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 4px rgba(13,91,255,0); }
}

.chip--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}
.chip--blue {
  background: var(--blue-light);
  border-color: rgba(13,91,255,0.16);
  color: var(--blue);
}

/* ── REVEAL — but starts visible so SSR/screenshots OK ───────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-on .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.js-on .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--xtight { padding: 56px 0; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  text-align: left;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--blue); }
.faq-q .faq-q__plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}
.faq-q .faq-q__plus::before,
.faq-q .faq-q__plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-q .faq-q__plus::before { width: 10px; height: 1.5px; }
.faq-q .faq-q__plus::after { width: 1.5px; height: 10px; transition: transform 0.2s; }
.faq-q.open .faq-q__plus {
  background: var(--blue); border-color: var(--blue); color: white;
}
.faq-q.open .faq-q__plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  display: none;
  padding: 0 0 24px;
  font-size: 15px; line-height: 1.72;
  color: var(--text-muted);
  max-width: 720px;
}
.faq-a.open { display: block; }

/* ── TICKER ────────────────────────────────────────────────── */
.ticker-wrap { overflow: hidden; }
.ticker {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
.ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.62);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer__brand {
  max-width: 320px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.footer__logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: white;
  letter-spacing: -0.035em;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.footer__contact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  line-height: 1.9;
}
.footer__contact a { color: rgba(255,255,255,0.78); }
.footer__contact a:hover { color: white; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  transition: color 0.15s;
  letter-spacing: -0.005em;
}
.footer__link:hover { color: white; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
}
.footer__copy {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(255,255,255,0.34);
  letter-spacing: 0.04em;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  font-family: var(--font-serif);
  font-size: 14px; color: rgba(255,255,255,0.34);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

.footer__wordmark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(80px, 11vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  font-style: italic;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.text-blue { color: var(--blue); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--text-muted); }
.text-white { color: white; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--font-mono); }

.hairline {
  height: 1px;
  background: var(--border);
  margin: 0;
  border: 0;
}
.hairline--dark {
  background: rgba(255,255,255,0.08);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .nav__links { gap: 0; }
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
  .footer__top > *:nth-child(5) { grid-column: 2 / -1; }
}

@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__cta .btn-ghost { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
  .btn-lg { font-size: 14px; padding: 13px 20px; }
}

/* ── EDITORIAL IMAGE SYSTEM ─────────────────────────────────── */
.editorial-band {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 24px;
  background: var(--ink);
  isolation: isolate;
}
.editorial-band__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.editorial-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,14,26,0.7), rgba(10,14,26,0.06) 72%);
  pointer-events: none;
}
.editorial-band__caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  max-width: 360px;
  color: white;
}
.editorial-band__label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #79a9ff;
}
.editorial-band__text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.v-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.v-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,18,38,0.96) 0%, rgba(7,18,38,0.86) 48%, rgba(7,18,38,0.28) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7,18,38,0.4));
  pointer-events: none;
}
.v-hero--estates .v-hero__media { object-position: center 52%; filter: saturate(0.86); }
.v-hero--schools .v-hero__media { object-position: center 42%; filter: saturate(0.9); }
.v-hero__inner { position: relative; z-index: 1; }

.sc-hero__visual,
.gate {
  isolation: isolate;
  overflow: hidden;
}
.sc-hero__context,
.gate__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-hero__context {
  object-position: 64% center;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 26%);
  mask-image: linear-gradient(to right, transparent 0%, black 26%);
}
.sc-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--off-white), transparent 10%);
  pointer-events: none;
}
.sc-hero__visual .phone,
.sc-hero__visual .sc-hero__chip { position: relative; z-index: 2; }

.gate__photo {
  object-position: 58% center;
  filter: saturate(0.88);
}
.gate__pillar,
.gate__bar,
.gate__camera,
.gate__ground { display: none; }
.gate::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(247,248,250,0.72), transparent 36%),
              linear-gradient(180deg, transparent 54%, rgba(10,14,26,0.2));
}
.gate > :not(.gate__photo) { z-index: 2; }

.ab-hero__story-image {
  margin-top: 64px;
  min-height: 420px;
}
.ct__story-image {
  margin: 56px 0 72px;
  min-height: 360px;
}
.demo__story-image {
  margin: 42px 0;
  min-height: 260px;
}

.pricing-context {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px 72px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.pricing-context .editorial-band { min-height: 260px; }
.pricing-context .editorial-band:nth-child(2)::after {
  background: linear-gradient(90deg, rgba(7,28,61,0.76), rgba(7,28,61,0.08) 75%);
}

.ad-context {
  margin-top: 36px;
  min-height: 280px;
}
.ad-context .editorial-band__image { object-position: center 48%; }

@media (max-width: 768px) {
  .editorial-band { min-height: 250px; border-radius: 18px; }
  .editorial-band__caption { left: 20px; right: 20px; bottom: 18px; }
  .editorial-band__text { font-size: 18px; }
  .v-hero::after {
    background: linear-gradient(180deg, rgba(7,18,38,0.76), rgba(7,18,38,0.94) 72%);
  }
  .v-hero__media { object-position: 62% center; opacity: 0.68; }
  .sc-hero__context {
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 22%);
    mask-image: linear-gradient(to bottom, transparent, black 22%);
  }
  .ab-hero__story-image,
  .ct__story-image { min-height: 280px; margin-top: 40px; }
  .pricing-context {
    padding: 0 20px 56px;
    grid-template-columns: 1fr;
  }
  .pricing-context .editorial-band { min-height: 230px; }

  .nav__cta .btn-primary {
    padding: 10px 12px !important;
    font-size: 0 !important;
    white-space: nowrap;
  }
  .nav__cta .btn-primary::before {
    content: 'Book a demo →';
    font-size: 11px;
  }
  .ab-hero__inner,
  .ct__inner,
  .demo__inner,
  .v-hero__inner,
  .pr-hero__inner,
  .sc-hero__inner,
  .ss-hero__inner,
  .ad-hero__inner { min-width: 0; }
  .ab-hero__h,
  .ct__h,
  .demo__h,
  .v-hero__h,
  .pr-hero__h,
  .sc-hero__h,
  .ss-hero__h,
  .ad-hero__h {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .ab-hero__h { font-size: clamp(40px, 12vw, 56px) !important; }
  .ct__h,
  .demo__h,
  .pr-hero__h,
  .sc-hero__h,
  .ss-hero__h,
  .ad-hero__h { font-size: clamp(38px, 11vw, 52px) !important; }
  .v-hero__h {
    font-size: clamp(38px, 10.5vw, 52px) !important;
    line-height: 0.98 !important;
  }
}

@media (max-width: 480px) {
  .nav__cta { display: none !important; }
  .ab-hero__inner,
  .ct__inner,
  .demo__inner,
  .v-hero__inner,
  .pr-hero__inner,
  .sc-hero__inner,
  .ss-hero__inner,
  .ad-hero__inner {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow: hidden;
  }
  .ab-hero__h,
  .ct__h,
  .demo__h,
  .pr-hero__h,
  .sc-hero__h,
  .ss-hero__h,
  .ad-hero__h {
    font-size: 32px !important;
    line-height: 1 !important;
  }
  .v-hero__h { font-size: 34px !important; }
  .ab-hero__lead,
  .pr-hero__lead,
  .v-hero__lead {
    display: block !important;
    width: 100% !important;
  }
  .ab-hero__lead-label,
  .pr-hero__lead-label,
  .v-hero__lead-label { margin-bottom: 22px; }
  .ab-hero__lead-p,
  .pr-hero__lead-p,
  .v-hero__lead-p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 18px !important;
    overflow-wrap: anywhere;
  }
}
