/* ==========================================================================
   JPS Clean — Components
   Gestalt notes are inline. Read them before changing spacing.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink-700);
  background: var(--surface-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); letter-spacing: var(--ls-flat); }
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); letter-spacing: var(--ls-flat); font-weight: var(--fw-semi); }

p { margin: 0; max-width: var(--measure); }
ul, ol { margin: 0; padding: 0; }

a { color: var(--brand-600); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-700); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

::selection { background: var(--brand-200); color: var(--ink-900); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 999;
  background: var(--ink-900); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--r); font-weight: var(--fw-semi); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: #fff; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --- Layout primitives ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* Continuity: everything sits on one 12-column field, so edges line up
   across unrelated sections and the eye tracks straight down the page. */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

.section { padding-block: var(--space-section); }
.section--tint { background: var(--surface-2); }
.section--deep { background: var(--ink-900); color: var(--ink-300); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--flush-top { padding-top: 0; }

/* Vertical rhythm. Two gaps only: inside a group, and between groups. */
.stack > * + * { margin-top: var(--space-inner); }
.stack-group > * + * { margin-top: var(--space-group); }
.stack-tight > * + * { margin-top: var(--space-inner-tight); }

/* --- Section heading ------------------------------------------------------
   Eyebrow + title + deck are one perceptual unit: tight gaps inside, a
   --space-group gap before whatever follows. */

.section-head { max-width: 62ch; }
.section-head + * { margin-top: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--brand-500); flex: none;
}
.section-head--center .eyebrow::before { display: none; }

.deck {
  margin-top: var(--space-4);
  font-size: var(--fs-lg);
  color: var(--ink-600);
}

/* --- Buttons --------------------------------------------------------------
   Exactly three ranks. Similarity does the work: every primary action on the
   site is the same object, so users stop reading buttons and start scanning. */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease),
              background-color var(--dur-1) var(--ease);
}
.btn:hover { --btn-bg: var(--brand-700); --btn-bd: var(--brand-700); color: #fff; box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-800); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-fg: var(--ink-900); --btn-bd: var(--ink-300); box-shadow: none; }

.btn--onDark { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: #fff; }
.btn--onDark:hover { --btn-bg: var(--brand-100); --btn-bd: var(--brand-100); color: var(--ink-900); }

.btn--lg { min-height: 52px; padding: 1rem 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--fw-semi); font-size: var(--fs-sm);
  color: var(--brand-600); text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* --- Header ---------------------------------------------------------------
   Common region: the utility bar and the nav bar are visually distinct
   bands, so contact info never competes with navigation. */

.site-header { position: sticky; top: 0; z-index: 100; }

.utility-bar {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--fs-xs);
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 40px; flex-wrap: wrap;
}
.utility-bar a { color: #fff; text-decoration: none; font-weight: var(--fw-medium); }
.utility-bar a:hover { color: var(--brand-200); }
.utility-list { display: flex; gap: var(--space-5); list-style: none; flex-wrap: wrap; align-items: center; }
.utility-list li { display: flex; align-items: center; gap: var(--space-2); }
.utility-list svg { color: var(--brand-200); flex: none; }
@media (max-width: 700px) { .utility-bar { display: none; } }

.nav-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header.is-stuck .nav-bar { box-shadow: var(--shadow-2); }

.nav-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand__logo { height: 52px; width: auto; max-width: 260px; object-fit: contain; }
.site-footer .brand__logo { height: 58px; max-width: 280px; }
@media (max-width: 520px) { .brand__logo { height: 40px; } }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.brand__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.0625rem; color: var(--ink-900); line-height: 1.15; letter-spacing: var(--ls-flat); white-space: nowrap; }
@media (max-width: 420px) { .brand__name { white-space: normal; } }
.brand__sub { font-size: 0.6875rem; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-500); font-weight: var(--fw-semi); }

.nav { display: flex; align-items: center; gap: var(--space-1); list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 var(--space-3); border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  white-space: nowrap;
  color: var(--ink-700); text-decoration: none;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.nav a:hover { background: var(--surface-2); color: var(--ink-900); }
.nav .current-menu-item > a, .nav .is-current > a { color: var(--brand-700); background: var(--brand-100); }
/* The header already carries one primary action — the duplicate lives only in
   the mobile drawer, where the header button is hidden. */
.nav .nav-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none; width: var(--tap); height: var(--tap);
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface-1); color: var(--ink-800); cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav-wrap {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--surface-1); border-bottom: 1px solid var(--line);
    padding: var(--space-3) var(--gutter) var(--space-6);
    box-shadow: var(--shadow-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-wrap.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { min-height: 52px; border-radius: var(--r); font-size: var(--fs-base); }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav .nav-cta { display: block; margin-top: var(--space-4); border-top: 0; }
  .nav .nav-cta a { width: 100%; background: var(--brand-600); color: #fff; justify-content: center; font-weight: var(--fw-semi); }
  .nav .nav-cta a:hover { background: var(--brand-700); color: #fff; }
}

/* --- Hero -----------------------------------------------------------------
   Figure/ground: one dark field, one bright card. The eye lands on the card
   because it is the only high-contrast object in the frame. */

.hero { position: relative; background: var(--ink-900); color: var(--ink-300); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 78% 8%, rgba(14, 166, 222, 0.34), transparent 62%),
    radial-gradient(50% 70% at 8% 100%, rgba(194, 213, 79, 0.14), transparent 60%);
  pointer-events: none;
}
/* Photograph layer. The scrim is not decoration — it is what guarantees the
   headline keeps its contrast no matter which photo gets uploaded. */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img, .hero__bg .brand-panel { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(100deg, rgba(6, 20, 32, 0.96) 0%, rgba(6, 20, 32, 0.90) 34%, rgba(6, 20, 32, 0.62) 62%, rgba(6, 20, 32, 0.42) 100%),
    linear-gradient(0deg, rgba(6, 20, 32, 0.55) 0%, rgba(6, 20, 32, 0) 45%);
}
@media (max-width: 900px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(6, 20, 32, 0.90) 0%, rgba(6, 20, 32, 0.94) 60%, rgba(6, 20, 32, 0.97) 100%); }
}
.hero--media::after { z-index: 0; }

.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 1.5rem + 7vw, 6.5rem); }
.hero h1 { color: #fff; }
.hero__lede { font-size: var(--fs-lg); color: var(--ink-300); margin-top: var(--space-5); }
.hero .btn-row { margin-top: var(--space-7); }

.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.02em; margin-bottom: var(--space-5);
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px rgba(194, 213, 79, 0.22); }

.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero__proof div { min-width: 96px; }
.hero__proof dt { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: #fff; line-height: 1; }
.hero__proof dd { margin: var(--space-2) 0 0; font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-400); }

.hero--page .hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4.5vw, 4.5rem); }
.hero--page h1 { font-size: var(--fs-3xl); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; font-size: var(--fs-xs); color: var(--ink-400); margin-bottom: var(--space-5); }
.breadcrumbs a { color: var(--ink-300); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--ink-600); }

/* --- Credentials strip -----------------------------------------------------
   Sits directly under the hero because these four facts are what a facilities
   manager checks before they read anything else. */

.credbar { background: var(--surface-1); border-bottom: 1px solid var(--line); }
.credbar ul {
  list-style: none; display: grid; gap: var(--space-4) var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-block: var(--space-5);
}
.credbar li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); color: var(--ink-700); }
.credbar svg { color: var(--brand-600); flex: none; }
.credbar strong { display: block; color: var(--ink-900); font-weight: var(--fw-semi); }
.credbar span { color: var(--ink-500); font-size: var(--fs-xs); }

/* --- Quote card (hero companion) ------------------------------------------ */

.quote-card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  box-shadow: var(--shadow-3);
  color: var(--ink-700);
}
.quote-card__head { padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.quote-card__head h2, .quote-card__head h3 { font-size: var(--fs-xl); }
.quote-card__head p { font-size: var(--fs-sm); color: var(--ink-500); margin-top: var(--space-2); }

/* --- Forms ---------------------------------------------------------------- */

.form { margin-top: var(--space-5); }
.field + .field { margin-top: var(--space-4); }
.field label {
  display: block; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.02em; color: var(--ink-700); margin-bottom: var(--space-2);
}
.field .req { color: var(--brand-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--tap);
  padding: 0.7rem 0.9rem;
  font-family: inherit; font-size: var(--fs-sm); color: var(--ink-900);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus { background: var(--surface-1); border-color: var(--brand-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field-row + .field { margin-top: var(--space-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form .btn { margin-top: var(--space-5); }
.form__note { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--ink-500); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-alert {
  padding: var(--space-4); border-radius: var(--r);
  font-size: var(--fs-sm); margin-bottom: var(--space-4);
  border: 1px solid transparent;
}
/* Embedded third-party form.
   Deliberately imposes no height, max-height or overflow on the iframe or its
   wrapper, so a self-resizing embed is never clipped and needs no parent
   "unlock" workaround. The 1px width with min-width:100% is the iOS Safari fix
   for iframes that otherwise refuse to shrink below their content width. */
.form-embed { height: auto; min-height: 0; max-height: none; overflow: visible; margin-top: var(--space-5); }
.form-embed iframe {
  display: block; border: 0; border-radius: var(--r);
  width: 1px; min-width: 100%; max-width: 100%;
  height: var(--embed-h, 720px);
}

.form-alert--ok { background: var(--ok-100); border-color: #b6ddca; color: var(--ok-700); }
.form-alert--err { background: #fdecec; border-color: #f3c9c9; color: #93251f; }

/* --- Cards ----------------------------------------------------------------
   Common region + similarity. One card object, three sizes. */

.card-grid { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-5);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.card > * + * { margin-top: var(--space-3); }
.card h3 { font-size: var(--fs-lg); }
.card p { font-size: var(--fs-sm); color: var(--ink-600); }
.card .link-arrow { margin-top: auto; padding-top: var(--space-4); }

.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand-200); }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.card__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700);
  margin-bottom: var(--space-1);
}
.card--eco .card__icon { background: var(--eco-100); color: var(--eco-700); }

/* --- Feature / check list -------------------------------------------------- */

.check-list { list-style: none; display: grid; gap: var(--space-3); }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; font-size: var(--fs-sm); }
.check-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--eco-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8417' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list strong { color: var(--ink-900); font-weight: var(--fw-semi); }

.spec-list { list-style: none; display: grid; gap: var(--space-4); }
.spec-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; }
.spec-list .spec-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-1); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--brand-600);
  font-size: var(--fs-sm);
}
.spec-list h3 { font-size: var(--fs-base); }
.spec-list p { font-size: var(--fs-sm); color: var(--ink-600); margin-top: var(--space-1); }

/* Process: the connecting rail is literal continuity — the eye follows the
   line from step 1 to step 4 without labels telling it to. */
.process { list-style: none; display: grid; gap: var(--grid-gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.process li { position: relative; padding-top: var(--space-6); }
.process li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-600); color: #fff;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-sm);
  z-index: 1;
}
.process li::after {
  content: ""; position: absolute; top: 17px; left: 36px; right: calc(var(--grid-gap) * -1);
  height: 2px; background: linear-gradient(90deg, var(--brand-200), var(--line));
}
.process li:last-child::after { display: none; }
@media (max-width: 700px) { .process li::after { display: none; } }
.process h3 { font-size: var(--fs-base); }
.process p { font-size: var(--fs-sm); color: var(--ink-600); margin-top: var(--space-2); }

/* --- Split section --------------------------------------------------------- */

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.split__text { grid-column: span 6; }
.split__media { grid-column: span 6; }
/* A half-column is a shorter measure, so the display size steps down one rung
   rather than wrapping a headline over five lines. */
.split__text .section-head h2 { font-size: var(--fs-2xl); }
.split--narrow .split__text { grid-column: span 5; }
.split--narrow .split__media { grid-column: span 7; }
@media (max-width: 900px) { .split__text, .split__media, .split--narrow .split__text, .split--narrow .split__media { grid-column: span 12; } }

.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface-3); aspect-ratio: 4 / 3; box-shadow: var(--shadow-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 16 / 9; }

/* Generated from the logo geometry — the fallback when no photo exists yet.
   Swapping in a real featured image replaces it with no other change. */
.brand-panel { width: 100%; height: 100%; display: block; }

.card__media {
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-3);
}
.card__media img, .card__media .brand-panel { width: 100%; height: 100%; object-fit: cover; }

.badge-strip { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface-1);
  font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--ink-700);
}
.badge svg { color: var(--eco-600); }

/* --- Stats band ------------------------------------------------------------ */

.stat-band { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding-left: var(--space-5); border-left: 3px solid var(--brand-500); }
.stat dt { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--ink-900); line-height: 1; }
.stat dd { margin: var(--space-2) 0 0; font-size: var(--fs-sm); color: var(--ink-600); }

/* --- Testimonials ---------------------------------------------------------- */

.quote-block {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.quote-block blockquote { margin: 0; font-size: var(--fs-base); color: var(--ink-700); }
.quote-block figcaption { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.quote-block cite { display: block; font-style: normal; font-weight: var(--fw-semi); color: var(--ink-900); }
.quote-block .role { color: var(--ink-500); font-size: var(--fs-xs); }
.stars { display: flex; gap: 2px; color: var(--star); }

/* --- Pricing table --------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-1); }
table.rate-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 420px; }
.rate-table th, .rate-table td { padding: var(--space-4) var(--space-5); text-align: left; }
.rate-table thead th { background: var(--surface-3); color: var(--ink-800); font-weight: var(--fw-semi); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.rate-table tbody tr + tr { border-top: 1px solid var(--line); }
.rate-table tbody tr:hover { background: var(--surface-2); }
/* Only two-column rate tables get the emphasised right-hand figure. Comparison
   tables keep every column reading as plain text. */
.rate-table--rates td:last-child { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--ink-900); text-align: right; }
.rate-table--rates th:last-child { text-align: right; }

.offer-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5);
  justify-content: space-between;
  padding: var(--space-6);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; box-shadow: var(--shadow-2);
}
.offer-card h3 { color: #fff; font-size: var(--fs-2xl); }
.offer-card p { color: rgba(255, 255, 255, 0.85); font-size: var(--fs-sm); margin-top: var(--space-2); }

/* --- Progressive disclosure ------------------------------------------------
   Nothing on this site dumps its full depth at once. FAQs, long-form copy and
   the footer all open on demand. */

.disclosure {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-1); overflow: hidden;
}
.disclosure + .disclosure { margin-top: var(--space-3); }
.disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: var(--tap); padding: var(--space-4) var(--space-5);
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-base);
  color: var(--ink-900); cursor: pointer; list-style: none;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a5670' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--dur-2) var(--ease);
}
.disclosure[open] > summary::after { transform: rotate(180deg); }
.disclosure[open] > summary { background: var(--surface-2); }
.disclosure__body { padding: var(--space-5); border-top: 1px solid var(--line); }
.disclosure__body > * + * { margin-top: var(--space-4); }
.disclosure__body p { font-size: var(--fs-sm); color: var(--ink-600); }

.readmore { position: relative; }
.readmore > .readmore__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.readmore > .readmore__body > div { overflow: hidden; }
.readmore[open] > .readmore__body { grid-template-rows: 1fr; }
.readmore > summary { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; list-style: none; color: var(--brand-600); font-weight: var(--fw-semi); font-size: var(--fs-sm); min-height: var(--tap); }
.readmore > summary::-webkit-details-marker { display: none; }
.readmore > summary .more { display: inline; }
.readmore > summary .less { display: none; }
.readmore[open] > summary .more { display: none; }
.readmore[open] > summary .less { display: inline; }

/* --- Prose (imported page content) ----------------------------------------- */

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-4); }
.prose > h2 { margin-top: var(--space-8); font-size: var(--fs-2xl); }
.prose > h3 { margin-top: var(--space-7); }
.prose > h2 + *, .prose > h3 + * { margin-top: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.35em; display: grid; gap: var(--space-2); }
.prose li::marker { color: var(--brand-500); }
.prose blockquote {
  margin: 0; padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--brand-500); background: var(--surface-2);
  border-radius: 0 var(--r) var(--r) 0; font-size: var(--fs-lg); color: var(--ink-800);
}
.prose img { border-radius: var(--r-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: var(--space-3) var(--space-4); border: 1px solid var(--line); text-align: left; }
.prose thead th { background: var(--surface-3); }

/* --- CTA band -------------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink-900);
  color: var(--ink-300);
  padding: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  display: grid; gap: var(--space-6); align-items: center;
  grid-template-columns: 1.4fr auto;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 88% 0%, rgba(14, 166, 222, 0.38), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band p { margin-top: var(--space-3); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* --- Local coverage map list ------------------------------------------------ */

.area-list { list-style: none; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.area-list a {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: var(--tap); padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface-1); text-decoration: none;
  font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-800);
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.area-list a:hover { border-color: var(--brand-500); background: var(--brand-100); color: var(--brand-700); }
.area-list svg { color: var(--brand-500); flex: none; }

/* --- Footer ----------------------------------------------------------------
   Progressive disclosure: on phones every column is a closed accordion, so
   the footer is a short list of choices instead of 30 links. */

.site-footer { background: var(--ink-900); color: var(--ink-400); padding-block: var(--space-8) var(--space-6); margin-top: var(--space-section); }
.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* auto-fit so the row still fills when a column has no links to show */
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: minmax(260px, 1.7fr) repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 0; } }

.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: var(--fs-sm); margin-top: var(--space-4); color: var(--ink-400); }
.footer-contact { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-5); font-size: var(--fs-sm); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact svg { color: var(--brand-200); flex: none; margin-top: 3px; }

.footer-col > summary { list-style: none; cursor: default; }
.footer-col > summary::-webkit-details-marker { display: none; }
.footer-col h3 { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--space-3); font-size: var(--fs-sm); }

@media (max-width: 640px) {
  .footer-col { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .footer-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
  .footer-col h3 { margin: 0; }
  .footer-col > summary::after {
    content: ""; width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ca0b0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--dur-2) var(--ease);
  }
  .footer-col[open] > summary::after { transform: rotate(180deg); }
  .footer-col ul { padding-bottom: var(--space-5); }
  .footer-brand { padding-bottom: var(--space-6); }
}

.footer-bottom {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-5); list-style: none; }
.social-row { display: flex; gap: var(--space-3); }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink-300);
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.social-row a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; }

/* --- Sticky mobile action bar ---------------------------------------------- */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: var(--space-3);
  padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(10, 26, 40, 0.08);
}
.action-bar .btn { flex: 1; }
@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --- Print ------------------------------------------------------------------ */

@media print {
  .site-header, .site-footer, .action-bar, .cta-band, form { display: none !important; }
  body { color: #000; }
}
