/* Future Call Center - Computer Blues theme: Space Indigo #162A50 base, Dusk Blue #3C5B80 surfaces, Alabaster Grey #DEE0E3 accents, Bright Snow #F8FAF9 and Parchment #F5F1EF
   Loads last, on top of the dark immersive layer. */

:root {
  --teal: #162a50; --teal-deep: #0f1e3b; --teal-ink: #11213f; --teal-soft: #3c5b80;
  --sand: #dee0e3; --sand-hi: #f8faf9; --amber: #3c5b80; --dusk: #3c5b80; --snow: #f8faf9; --parchment: #f5f1ef;
  --night: var(--teal); --night-2: #1d3560;
  --glass: rgb(222 224 227 / 0.05); --glass-strong: rgb(15 30 59 / 0.8);
  --glass-line: rgb(222 224 227 / 0.14); --glass-line-strong: rgb(222 224 227 / 0.3);
  --text: var(--snow); --text-soft: #c3cbd6;
  --ice: var(--sand); --glow-teal: var(--sand); --glow-rust: var(--amber); --rust-btn: var(--sand);
  --color-accent: var(--sand); accent-color: var(--sand);
  color-scheme: dark;
}
/* Sand surfaces: the same variables, flipped for dark-on-light */
.panel--dark, .promise, .price-card--featured, .calc-result {
  --text: var(--teal); --text-soft: var(--teal-soft); --ice: var(--teal);
  --glass: rgb(22 42 80 / 0.06); --glass-line: rgb(22 42 80 / 0.16); --glass-line-strong: rgb(22 42 80 / 0.32);
  color: var(--text);
}

body { background: var(--teal); color: var(--text); }
body::before {
  background:
    radial-gradient(60rem 40rem at 8% -10%, rgb(222 224 227 / 0.09), transparent 60%),
    radial-gradient(50rem 36rem at 105% 55%, rgb(60 91 128 / 0.45), transparent 60%),
    radial-gradient(40rem 30rem at 30% 110%, rgb(15 30 59 / 0.8), transparent 60%);
}
::selection { background: rgb(222 224 227 / 0.3); color: #ffffff; }
a:hover { color: var(--sand-hi); }
svg[stroke="#964734"], svg[stroke="#024950"], svg[stroke="#003135"] { stroke: var(--sand); }
:is(.panel--dark, .promise, .price-card--featured, .calc-result) :is(svg[stroke="#964734"], svg[stroke="#024950"], svg[stroke="#003135"]) { stroke: var(--teal); }
:is(.panel--dark, .promise, .price-card--featured, .calc-result) a:hover { color: var(--teal-deep); }

/* Header and menu */
.site-header .wrap { background: rgb(15 30 59 / 0.6); }
.site-header.is-scrolled .wrap { background: rgb(15 30 59 / 0.88); }
.brand-mark.brand-mark--logo { box-shadow: 0 0 1.2rem rgb(222 224 227 / 0.22); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--sand-hi); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sand); }
@media (max-width: 60rem) {
  .nav { background: var(--teal-deep); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--sand-hi); }
  .site-header .wrap { background: rgb(15 30 59 / 0.75); border-color: var(--glass-line); }
}
@media (min-width: 60.01rem) {
  .glass, [data-nav="liquid"] .nav-links, [data-nav="frost"] .site-header .wrap,
  [data-nav="islands"] .site-header:not(.is-compact) :is(.brand, .nav-links),
  [data-nav="islands"] .site-header.is-compact .wrap, [data-nav="liquid"] .site-header.is-scrolled .brand {
    background: linear-gradient(180deg, rgb(222 224 227 / 0.07), rgb(222 224 227 / 0.02)), rgb(15 30 59 / 0.4);
    border: 1px solid var(--glass-line);
    box-shadow: inset 0 1px 0 rgb(222 224 227 / 0.16), 0 0.8rem 2.2rem -0.9rem rgb(0 0 0 / 0.55);
  }
  [data-nav="liquid"] .site-header .wrap, [data-nav="liquid"] .site-header.is-scrolled .wrap { background: transparent; border-color: transparent; box-shadow: none; }
  [data-nav="liquid"] .site-header.is-scrolled :is(.brand, .nav-links) { background-color: rgb(15 30 59 / 0.75); }
  [data-nav="liquid"] .nav-links a { color: rgb(222 224 227 / 0.72); }
  [data-nav="liquid"] .nav-links a:is(:hover, [aria-current="page"], .is-lensed) { color: var(--sand-hi); }
  [data-nav="liquid"] .nav-lens {
    background: linear-gradient(180deg, rgb(222 224 227 / 0.18), rgb(222 224 227 / 0.05) 55%, rgb(222 224 227 / 0.09));
    box-shadow: inset 0 1px 1px rgb(248 250 249 / 0.45), inset 0 0 0 1px rgb(222 224 227 / 0.12), 0 0.35rem 1rem rgb(0 0 0 / 0.3);
  }
}
.menu-toggle { background: var(--glass); }

/* Buttons and chips */
.btn--call, .btn--primary { background: var(--sand); color: var(--teal); box-shadow: 0 0.6rem 1.8rem -0.7rem rgb(222 224 227 / 0.45); }
.btn--call:hover, .btn--primary:hover { background: var(--sand-hi); color: var(--teal); box-shadow: 0 0.8rem 2.2rem -0.6rem rgb(222 224 227 / 0.55); }
.btn--outline { background: transparent; border: 1.5px solid var(--glass-line-strong); color: var(--text); }
.btn--outline:hover { background: rgb(222 224 227 / 0.08); border-color: var(--sand); color: var(--sand-hi); }
:is(.panel--dark, .promise, .price-card--featured, .calc-result) .btn--call { background: var(--teal); color: var(--sand); box-shadow: none; }
.chip { background: rgb(222 224 227 / 0.12); color: var(--sand); border: 1px solid rgb(222 224 227 / 0.35); }
.price-card--featured .chip { background: var(--teal); color: var(--sand); border-color: transparent; }

/* Panels */
.panel--mint { background: rgb(222 224 227 / 0.04); border: 1px solid var(--glass-line); }
.panel--peach { background: rgb(60 91 128 / 0.07); border: 1px solid rgb(60 91 128 / 0.18); }
.panel--dark { background: var(--sand); border: 0; }
.panel:has(.hero) { background: radial-gradient(ellipse 70% 80% at 72% 50%, rgb(222 224 227 / 0.07), transparent 70%), rgb(15 30 59 / 0.55); }
.hero-link { color: var(--sand); }

/* Hero chat */
.bubble--caller { background: rgb(15 30 59 / 0.72); color: var(--sand); }
.bubble--agent { background: var(--sand); color: var(--teal); border-color: transparent; box-shadow: 0 0 2.2rem -0.6rem rgb(222 224 227 / 0.45); }
.fx-scramble .fx-glyph { color: var(--sand); }

/* Cards */
.card--mint { background: rgb(222 224 227 / 0.05); }
.card--peach { background: rgb(60 91 128 / 0.08); border-color: rgb(60 91 128 / 0.2); }
.card::before { background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, -20%), rgb(222 224 227 / 0.09), transparent 60%); }
.icon-tile { background: rgb(222 224 227 / 0.08); }
.panel--dark .card, .panel--dark .card--mint { background: rgb(22 42 80 / 0.06); }

/* Sections */
.step-num { color: var(--sand); border: 1.5px solid var(--sand); box-shadow: none; background: transparent; font-weight: 600; }
.panel--dark .step-num { color: var(--sand); background: var(--teal); border-color: var(--teal); }
.promise { background: var(--sand); border: 0; }
.pill:nth-child(even) { background: rgb(60 91 128 / 0.1); border-color: rgb(60 91 128 / 0.22); }
a.pill:hover { border-color: var(--sand); color: var(--sand-hi); }
.price-card--featured { background: var(--sand); border-color: var(--sand); box-shadow: 0 1.5rem 3rem -1.5rem rgb(0 0 0 / 0.5); }
.price-card--featured p, .price-card--featured .price small, .price-card--featured .from { color: var(--teal-soft); }
.compare-scroll { background: rgb(15 30 59 / 0.5); }
.compare thead th { background: rgb(222 224 227 / 0.06); }
.compare .compare-us { background: rgb(222 224 227 / 0.1); color: var(--sand); border-block-end-color: rgb(222 224 227 / 0.18); }
.compare thead .compare-us { background: var(--sand); color: var(--teal); }
.compare .compare-us strong { color: var(--sand-hi); }

/* Calculator */
.calc-inputs { background: rgb(15 30 59 / 0.5); }
.role-options label:has(:checked) { background: var(--sand); border-color: var(--sand); color: var(--teal); }
.wage-row input { background: rgb(0 0 0 / 0.2); }
.switch span { background: #3c5b80; }
.switch input:checked + span { background: var(--sand); }
.calc-result { background: var(--sand); border: 0; }
.big-save { text-shadow: none; }
.bar-track { background: rgb(22 42 80 / 0.12); }
.bar-fill--local { background: rgb(22 42 80 / 0.35); }
.bar-fill--ours { background: var(--teal); box-shadow: none; }

/* FAQ, forms, legal */
.faq details { background: rgb(15 30 59 / 0.5); }
.faq details[open] { border-color: rgb(222 224 227 / 0.4); }
.form :is(input, textarea, select) { background: rgb(0 0 0 / 0.18); color: var(--sand); }
.form :is(input, textarea)::placeholder { color: #9aa8bb; }
.form :is(input, textarea):user-invalid { border-color: #ff8a7a; }
.industry-links a { background: rgb(222 224 227 / 0.08); color: var(--sand); }
.legal .notice { background: rgb(60 91 128 / 0.1); border: 1px solid rgb(60 91 128 / 0.25); color: var(--sand); }

/* Footer */
.site-footer { background: var(--teal-deep); border: 1px solid var(--glass-line); color: var(--text-soft); }
.site-footer h2, .site-footer a, .footer-brand { color: var(--sand); }
.footer-bottom { border-block-start-color: var(--glass-line); }
.mobile-call .btn { box-shadow: 0 0.6rem 2rem rgb(0 0 0 / 0.45); }
.skip-link, .skip-link:focus { background: var(--sand); color: var(--teal); }

/* Savings result on sand: the base styles assume a dark box */
.calc-result, .calc-result :is(p, small, .label-soft, .bar-label, .calc-foot, .hint, .calc-cta) { color: var(--teal-soft); }
.calc-result :is(.big-save, .bar-label strong, strong, b, output) { color: var(--teal); }

/* Dusk Blue as the second layer on Space Indigo */
.panel--peach { background: rgb(60 91 128 / 0.32); border-color: rgb(60 91 128 / 0.6); }
.card--peach { background: rgb(60 91 128 / 0.42); border-color: rgb(60 91 128 / 0.7); }
.card--mint, .card--line { background: rgb(60 91 128 / 0.2); border-color: rgb(60 91 128 / 0.55); }
.icon-tile { background: var(--dusk); border-color: transparent; }
.pill { background: rgb(60 91 128 / 0.35); border-color: rgb(60 91 128 / 0.6); color: var(--snow); }
.pill:nth-child(even) { background: rgb(60 91 128 / 0.6); border-color: rgb(60 91 128 / 0.8); }
.bubble--caller { background: var(--dusk); color: var(--snow); border-color: transparent; }
.chip { background: var(--dusk); color: var(--snow); border-color: transparent; }
.faq details, .calc-inputs, .compare-scroll { background: rgb(60 91 128 / 0.22); border-color: rgb(60 91 128 / 0.55); }
.legal .notice { background: rgb(60 91 128 / 0.35); border-color: rgb(60 91 128 / 0.6); color: var(--snow); }
.hero-copy > p, .page-hero > p, .section-head p { color: var(--parchment); opacity: 0.86; }
.faq summary::after { color: var(--sand); }

/* First week free: offer card */
.free-week {
  position: relative; display: inline-flex; align-items: center; gap: 1rem;
  margin-block: 1.75rem 1rem; padding: 0.95rem 1.6rem 0.95rem 0.95rem; border-radius: 1.4rem;
  background: var(--sand); color: var(--teal);
  box-shadow: inset 0 1px 0 rgb(248 250 249 / 0.7), 0 1.2rem 2.6rem -1.2rem rgb(0 0 0 / 0.6), 0 0 2.6rem -0.8rem rgb(222 224 227 / 0.4);
}
.free-week::after {
  content: ""; position: absolute; inset: 6px; border-radius: 1.05rem; pointer-events: none;
  border: 1.5px dashed rgb(22 42 80 / 0.28);
}
.free-week-icon {
  flex: none; display: grid; place-items: center; inline-size: 3.4rem; block-size: 3.4rem;
  border-radius: 999px; background: var(--dusk); color: var(--snow);
}
.free-week-text { display: grid; gap: 0.2rem; }
.free-week-text strong {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); color: var(--teal);
}
.free-week-text span { font-size: 1rem; font-weight: 500; color: var(--teal-soft); }
.hero-copy > .free-week, .page-hero > .free-week { margin-block: 0 1.6rem; }
.section-head .free-week--center { margin-block: 1.5rem 0; text-align: start; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes free-week-in { from { opacity: 0; transform: translateY(0.6rem) scale(0.96); } }
  .hero-copy .free-week, .page-hero .free-week { animation: free-week-in 0.6s cubic-bezier(.2,.8,.2,1) 0.5s backwards; }
}
@media (max-width: 30rem) {
  .free-week { gap: 0.8rem; padding-inline-end: 1.1rem; }
  .free-week-icon { inline-size: 2.9rem; block-size: 2.9rem; }
}
.free-week { inline-size: fit-content; max-inline-size: 100%; justify-self: start; align-self: start; }
.section-head .free-week--center { margin-inline: auto; justify-self: center; }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 4.4vw, 4.9rem); }
.panel:has(.hero) { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
/* Contact: compact header so the voucher fits and the form stays close */
.panel:has(.page-hero--contact) { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* ---------- Home: scratch-to-reveal free week ---------- */
.scratch-wrap { position: relative; display: grid; justify-items: start; gap: 0.5rem; margin-block: 0 1.6rem; }
.hero-copy > .scratch-wrap .free-week { margin: 0; }
.scratch { overflow: hidden; }
.scratch-foil {
  position: absolute; inset: 0; z-index: 2; inline-size: 100%; block-size: 100%;
  border-radius: inherit; cursor: grab; touch-action: none;
  transition: opacity 0.55s ease;
}
.scratch.is-scratching .scratch-foil { cursor: grabbing; }
.scratch.is-revealed .scratch-foil { opacity: 0; pointer-events: none; }
.free-week-claim {
  justify-self: start; margin-block-start: 0.35rem; font-weight: 700; font-size: 0.98rem;
  color: var(--teal); text-decoration: underline; text-underline-offset: 0.2em;
}
.free-week-claim:hover { color: var(--dusk); }
.scratch-skip {
  border: 0; background: none; padding: 0.2rem 0; font-size: 0.85rem; color: var(--text-soft);
  text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.scratch-skip:hover { color: var(--snow); }
.scratch-confetti {
  position: absolute; z-index: 3; inline-size: 0.5rem; block-size: 0.75rem; border-radius: 2px; pointer-events: none;
  animation: scratch-pop 0.9s cubic-bezier(.15,.7,.3,1) forwards;
}
@keyframes scratch-pop {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .scratch.is-revealed { animation: scratch-win 0.5s cubic-bezier(.2,.9,.3,1.4); }
  @keyframes scratch-win { 40% { transform: scale(1.04); } }
}

/* Free week: claim with email + phone */
.free-week .free-week-claim {
  justify-self: start; margin-block-start: 0.5rem; padding: 0.55rem 1.1rem; border: 0; border-radius: 999px;
  background: var(--teal); color: var(--snow); font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer;
}
.free-week .free-week-claim:hover { background: var(--dusk); color: var(--snow); }
.claim-form {
  gap: 1rem;
  padding: 1.2rem; border-radius: 1.3rem; background: rgb(60 91 128 / 0.3); border: 1px solid rgb(60 91 128 / 0.65);
}
.claim-title { font-size: 1.5rem; color: var(--snow); }
.claim-form label { font-size: 0.95rem; color: var(--snow); }
.claim-submit { justify-self: start; }
.claim-error { color: #ffb4a8; font-weight: 600; }
.claim-fine { font-size: 0.85rem; color: var(--text-soft); }
.claim-fine a { color: var(--sand); }
.free-week.is-claimed .free-week-icon { background: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .claim-form:not([hidden]) { animation: free-week-in 0.4s cubic-bezier(.2,.8,.2,1); }
}

/* Header fit for mid-size screens (laptops, half-width windows) */
.brand-name, .brand-tag { white-space: nowrap; }
@media (min-width: 60.01rem) and (max-width: 82rem) {
  .nav { gap: 0.5rem; }
  .nav-links a { padding: 0.5rem 0.7rem; font-size: 0.97rem; }
  .brand-name { font-size: 1.3rem; }
  .brand { gap: 0.55rem; }
}
@media (min-width: 60.01rem) and (max-width: 70rem) {
  .brand-tag { display: none; }
  .nav-links a { padding: 0.5rem 0.55rem; font-size: 0.93rem; }
  .nav .btn--call { padding-inline: 0.95rem; }
}

/* Free week sign-up page */
.claim-layout { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.claim-offer { display: grid; gap: 1.5rem; justify-items: start; }
.claim-offer .free-week { margin: 0; }
.claim-layout .claim-form { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* ---------- Industry pages: links in industry card headings ---------- */
.industry h3 a { color: inherit; text-decoration: none; }
.industry h3 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Missed call cost calculator (industry pages) ---------- */
.loss { display: grid; gap: clamp(1rem, 0.5rem + 2vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: stretch; }
.loss-inputs { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 1.25rem; background: rgb(15 30 59 / 0.5); border: 1px solid var(--glass-line); }
.loss-inputs label { display: grid; gap: 0.45rem; font-weight: 600; color: var(--snow); }
.loss-inputs input { inline-size: 100%; min-block-size: 3rem; padding: 0.6rem 0.9rem; border-radius: 0.75rem; border: 1px solid var(--glass-line-strong); background: rgb(0 0 0 / 0.18); color: var(--sand); font: inherit; font-size: 1.1rem; }
.loss-inputs input:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.loss-result { display: grid; gap: 0.75rem; align-content: center; justify-items: start; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 1.25rem; background: var(--sand); color: var(--teal-soft); }
.loss-result .big-save { color: var(--teal); }
.loss-result p { color: var(--teal-soft); max-inline-size: 30rem; }
.loss-result .btn--call { background: var(--teal); color: var(--sand-hi); }
.loss-result .btn--call:hover { background: var(--teal-deep); color: #fff; }
.claim-offer h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.claim-offer p .btn { margin-block-start: 0.75rem; }

/* ---------- Cookie banner (assets/tracking.js) ---------- */
.consent {
  position: fixed; z-index: 40; inset-inline: 1rem; inset-block-end: 1rem; margin-inline: auto; max-inline-size: 40rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 1rem 1.25rem;
  border-radius: 1rem; background: var(--teal-deep); border: 1px solid var(--glass-line-strong);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.5); color: var(--snow); font-size: 0.95rem;
}
.consent p { flex: 1 1 18rem; margin: 0; color: var(--text-soft); }
.consent a { color: var(--sand); }
.consent-actions { display: flex; gap: 0.6rem; }
@media (max-width: 40rem) { .consent { inset-block-end: 5.25rem; } }
.loss-result .big-save small, .loss-result .label-soft { color: var(--teal-soft); }

/* ---------- Design review fixes (October 2026) ---------- */
/* Industry pages: hero with an example conversation, like the home page */
.hero--industry h1 { font-size: clamp(2.4rem, 1.3rem + 3.2vw, 4.2rem); max-inline-size: 15ch; }
.hero--industry .crumbs { margin: 0; }
.hero--industry .free-week { margin: 0; justify-self: start; }

/* Sticky phone bar: call + free week, tucked away while the hero buttons are visible */
.mobile-call { gap: 0.5rem; transition: transform 0.35s cubic-bezier(.2,.7,.2,1), opacity 0.35s; }
.mobile-call .btn { min-block-size: 3.25rem; }
.mobile-call .mobile-call-alt { flex: 0 0 auto; background: var(--teal-deep); border-color: var(--glass-line-strong); color: var(--sand-hi); }
.mobile-call.is-tucked { transform: translateY(calc(100% + 1.5rem)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mobile-call { transition: none; } }

@media (max-width: 40rem) {
  /* lead with the headline on phones; the scratch card follows the buttons */
  .hero-copy .scratch-wrap { order: 10; }
  /* comfortable tap targets for text links */
  .more, .hero-link, .industry h3 a, .scratch-skip, .claim-fine a { display: inline-flex; align-items: center; min-block-size: 44px; }
  .industry h3 a { display: inline-block; padding-block: 0.6rem; min-block-size: 0; }
}
.mobile-call .btn { white-space: nowrap; padding-inline: 1rem; font-size: 1rem; min-block-size: 3.25rem; }
.mobile-call .btn--call { flex: 1 1 auto; min-inline-size: 0; }
@media (max-width: 24rem) { .mobile-call .btn--call .nowrap { display: none; } }
/* very small phones (320px): keep the menu button on screen */
@media (max-width: 22.5rem) { .brand-tag { display: none; } .brand-name { font-size: 1.1rem; } }
/* keep the header on one line between tablet and laptop widths */
.site-header .nav .btn--call { white-space: nowrap; }
@media (min-width: 60.01rem) and (max-width: 72rem) {
  .nav-links a { padding-inline: 0.6rem; }
  .nav-links a[href$="#pricing"] { display: none; } /* pricing is on every service page */
  .site-header .nav .btn--call { padding-inline: 1rem; }
}
@media (min-width: 60.01rem) and (max-width: 66rem) { .brand-name { font-size: 1.05rem; } .nav-links a { padding-inline: 0.5rem; } }
/* pricing: four cards in one row on wide screens, two on tablets, one on phones */
.price-grid { gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
@media (min-width: 40rem) and (max-width: 70rem) { .price-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Real team photos (home page) ---------- */
.hero-photo { position: relative; z-index: 1; margin: 0; justify-self: center; inline-size: min(100%, 32rem); display: grid; gap: 0.25rem; }
/* the photo fades into the page: no frame, soft edges, colors pulled toward the site's navy */
.hero-photo-media { position: relative; display: block;
  -webkit-mask-image: radial-gradient(closest-side ellipse at 50% 47%, #000 58%, rgb(0 0 0 / 0.6) 78%, transparent 100%);
          mask-image: radial-gradient(closest-side ellipse at 50% 47%, #000 58%, rgb(0 0 0 / 0.6) 78%, transparent 100%); }
.hero-photo-media img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 900 / 1020; object-fit: cover; filter: saturate(0.9) brightness(0.94) contrast(1.04); }
.hero-photo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(22 42 80 / 0.10), rgb(22 42 80 / 0.38)); mix-blend-mode: multiply; pointer-events: none; }
.hero-photo figcaption { justify-self: center; margin-block-start: -2.5rem; position: relative; font-size: 0.95rem; font-weight: 600; color: var(--text-soft); text-align: center; }
/* keep text and photo side by side down to small tablets */
.hero:not(.hero--industry) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.team-grid { display: grid; gap: 1rem; grid-template-columns: 1.7fr 1.2fr 1fr 0.85fr; grid-auto-rows: clamp(14rem, 10rem + 9vw, 21rem); }
.team-grid figure { margin: 0; min-width: 0; }
.team-grid img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; border-radius: 1.25rem; border: 1px solid var(--glass-line); }
.hero:not(.hero--industry) h1 { max-inline-size: 13ch; font-size: clamp(2.8rem, 1.2rem + 4.4vw, 5.1rem); }
@media (max-width: 52rem) {
  .team-grid { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: clamp(10rem, 6rem + 14vw, 16rem); }
  .team-grid .team-main { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid .team-calls { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 40rem) {
  .hero-photo { inline-size: min(100%, 24rem); }
}
.site-header .nav .btn--call { flex-wrap: nowrap; flex-shrink: 0; }
@media (min-width: 60.01rem) and (max-width: 64rem) { .site-header .nav .btn--call { font-size: 0; gap: 0; padding-inline: 0.85rem; } }

/* ---------- Home hero: team photo as the full background ---------- */
section.panel.panel--photo:has(.hero) { background-color: #0f1e3b;
  background-image:
    linear-gradient(90deg, rgb(15 30 59 / 0.97) 0%, rgb(15 30 59 / 0.92) 38%, rgb(15 30 59 / 0.5) 60%, rgb(15 30 59 / 0.12) 82%, rgb(15 30 59 / 0.3) 100%),
    linear-gradient(0deg, rgb(15 30 59 / 0.85) 0%, transparent 22%, transparent 80%, rgb(15 30 59 / 0.6) 100%),
    url("team-hero-bg.webp");
  background-repeat: no-repeat; background-position: center, center, 78% center; background-size: cover, cover, cover; }
.panel--photo .fx-canvas { display: none; }
.panel--photo .hero { grid-template-columns: minmax(0, 38rem); min-block-size: clamp(34rem, 70vh, 46rem); align-content: center; }
.panel--photo .hero-copy > p, .panel--photo .hero-note { color: #d9e0ea; }
@media (max-width: 52rem) {
  section.panel.panel--photo:has(.hero) { background-image:
      linear-gradient(180deg, rgb(15 30 59 / 0.72) 0%, rgb(15 30 59 / 0.86) 45%, rgb(15 30 59 / 0.95) 100%),
      url("team-hero-bg.webp");
    background-position: center, 70% center; background-size: cover, cover; }
  .panel--photo .hero { min-block-size: 0; }
}

/* ---------- Added Oct 27, 2026: richer lead forms ---------- */
.form .field-pair { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.form .opt { font-weight: 400; color: var(--text-soft); font-size: 0.85em; }
.form select { appearance: auto; cursor: pointer; }
.form select option { color: #0e1f3a; background: #ffffff; }
.form .check { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; font-size: 0.92rem; line-height: 1.4; cursor: pointer; }
.form .check input { min-block-size: auto; inline-size: 1.2rem; block-size: 1.2rem; padding: 0; margin: 0.12rem 0 0; flex: none; accent-color: #dee0e3; cursor: pointer; }
.form .field-pair > * { min-inline-size: 0; }
.form :is(input:not([type=checkbox]), select, textarea) { inline-size: 100%; min-inline-size: 0; max-inline-size: 100%; box-sizing: border-box; }
.form label > .label-text { display: block; }

/* ---------- Oct 28, 2026: two fields per row, readable dropdown lists ---------- */
@media (min-width: 560px) { .form .field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form select { color-scheme: dark; background-color: #18294c; color: #ffffff; }
.form select option, .form select optgroup { background-color: #18294c !important; color: #ffffff !important; }
.form select option:disabled { color: #a9b8cf !important; }
.form select option:checked { background-color: #2f5aa8 !important; color: #ffffff !important; }

/* ---------- Audit fixes (v25) ---------- */
/* Home hero: headline and buttons first, scratch card after them */
.hero-copy > .scratch-wrap { margin-block: 1.75rem 0; }

/* Price cards: a button on every card, lined up at the bottom */
.price-card { display: flex; flex-direction: column; gap: 1rem; }
.price-card > .chip { align-self: flex-start; }
.price-card > .price-cta { margin-block-start: auto; align-self: stretch; justify-content: center; }
.price-card > p { margin-block-end: 0.25rem; }
.price small { white-space: nowrap; }
@media (min-width: 70rem) { .price-grid .price { font-size: clamp(2.4rem, 1rem + 2vw, 3rem); } }

/* Numbers that change or sit in columns keep their width */
.price, .calc-result, .loss-result, .compare td, .big-save { font-variant-numeric: tabular-nums; }

/* Compare tables on phones: one card per row, our column first */
@media (max-width: 40rem) {
  .compare-scroll { overflow-x: visible; border: 0; background: none; }
  .compare, .compare tbody { display: block; inline-size: 100%; min-inline-size: 0; }
  .compare thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.1rem 1.15rem; margin-block-end: 0.85rem;
    border: 1px solid var(--glass-line); border-radius: var(--radius-m, 1rem); background: rgb(222 224 227 / 0.05); }
  .compare th, .compare td { display: block; padding: 0; border: 0; text-align: start; }
  .compare tbody th { font-size: 1.05rem; order: -2; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--teal-soft); margin-block-end: 0.15rem; color: rgb(255 255 255 / 0.72); }
  .compare td[data-label=""]::before { display: none; }
  .compare td.compare-us { order: -1; padding: 0.75rem 0.9rem; border-radius: 0.75rem; }
  .compare td.compare-us::before { color: #fff; }
}

/* Free week page: on phones the form comes straight after the headline */
@media (max-width: 40rem) {
  .claim-layout .claim-form { order: -1; }
  .claim-layout { gap: 2rem; }
}

/* Home services: two wide cards per row, icon beside the heading */
#services .grid-4 { gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
#services .card { grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: 0.9rem; align-items: center; }
#services .card > p, #services .card > .more { grid-column: 1 / -1; }
#services .card h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); }
#services .card > p { max-inline-size: 46ch; }
#services .card .more::after { content: "\2192"; margin-inline-start: 0.4em; transition: transform 0.2s ease; display: inline-block; }
#services .card .more:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { #services .card .more::after { transition: none; } }
.price-card > .price-cta { white-space: nowrap; padding-inline: 1rem; }
@media (min-width: 48rem) { #services .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
