/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The source is a portrait rooftop shot: a wide viewport crops it to a
     horizontal band, and centring it would land on bare roofing iron. Biasing
     upward keeps the panels and the sky — the reason the photo is here. */
  object-position: center 32%;
}

/* Two overlays, not one. The linear gradient carries the text at the bottom;
   the flat wash on top is what keeps the FIXED nav's links legible over a
   photograph whose sky is bright at the top — the gradient alone is nearly
   transparent exactly where the bar sits. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      color-mix(in oklch, var(--deep-dark) 42%, transparent) 0%,
      color-mix(in oklch, var(--deep-dark) 10%, transparent) 32%,
      color-mix(in oklch, var(--deep-dark) 82%, transparent) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-8) var(--space-9) var(--space-8);
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--solar);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--solar);
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--white) 84%, transparent);
  margin-bottom: var(--space-6);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* Ghost button: the secondary of the pair, so it borrows the hero's own
   contrast rather than introducing a second fill colour over the photo. */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  color: var(--white);
  border: 1.5px solid color-mix(in oklch, var(--white) 55%, transparent);
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.btn-ghost:hover {
  background: color-mix(in oklch, var(--white) 14%, transparent);
  border-color: var(--white);
}

.btn-ghost:focus-visible {
  outline: 3px solid var(--solar);
  outline-offset: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: color-mix(in oklch, var(--white) 60%, transparent);
  animation: bounce 2.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll { animation: none; }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 0 var(--space-5) var(--space-8) var(--space-5);
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ── Trust strip ───────────────────────────────────────────── */
/* The band directly under the hero. On a trade site the first question is
   "are these people real and can they come to me", so the answers sit above
   the fold-and-a-bit rather than in a footer nobody reaches. */
.trust-strip {
  background: var(--deep);
  color: color-mix(in oklch, var(--white) 88%, transparent);
  padding: var(--space-5) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.88rem;
  line-height: 1.4;
}

.trust-item iconify-icon {
  color: var(--solar);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 860px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 460px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About ─────────────────────────────────────────────────── */
.about-section {
  background: var(--white);
  padding: var(--space-9) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.about-body {
  color: var(--ocean-mid);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  max-width: 52ch;
}

.about-stats {
  display: flex;
  gap: var(--space-7);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--sand-300);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 400;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* slate-text, not slate: 12.5px must clear WCAG AA (see theme.css). */
  color: var(--slate-text);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    aspect-ratio: 16 / 9;
  }
  /* The desktop flex row squeezes three stats into ~40px columns on a phone
     (one word per line); a 2-up grid keeps each one readable. */
  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-4);
  }
}

/* ── Services ──────────────────────────────────────────────── */
.services-section {
  background: var(--sand-100);
  padding: var(--space-9) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
}

.service {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.service-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  border-radius: var(--radius-md);
  color: var(--solar);
}

.service-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-deep);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-text p {
  font-size: 0.9rem;
  color: var(--ocean-mid);
  line-height: 1.6;
  max-width: 40ch;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-section {
  background: var(--sand-200);
  padding: var(--space-9) 0;
}

.gallery-header {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  margin-bottom: var(--space-6);
}

.gallery-grid {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-2);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand-300);
  /* Items are <button> elements (lightbox triggers) — strip the UA chrome. */
  padding: 0;
  border: 0;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Must override the desktop grid-auto-rows (220px), not set explicit rows:
       items size by their aspect-ratio, and without this every implicit row
       stayed 220px tall and left dead gaps between rows. */
    grid-auto-rows: auto;
  }
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item {
    aspect-ratio: 4 / 3;
  }
}

/* ── Gallery lightbox ──────────────────────────────────────── */
/* Full-viewport transparent dialog over a dark backdrop; the stage centres the
   photo and the chrome (close / prev / next) is fixed to the viewport. Scroll
   locks via html.lightbox-open while the viewer is open. */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 0.88);
}

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}

.lightbox-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: min(1200px, 92vw);
}

.lightbox-img {
  max-width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.5);
}

.lightbox-caption {
  margin: 0;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.875rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgb(255 255 255 / 0.28);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.lightbox-close {
  top: calc(var(--space-4) + env(safe-area-inset-top));
  right: calc(var(--space-4) + env(safe-area-inset-right));
}

.lightbox-nav {
  top: 50%;
  translate: 0 -50%;
}

.lightbox-nav--prev {
  left: calc(var(--space-4) + env(safe-area-inset-left));
}

.lightbox-nav--next {
  right: calc(var(--space-4) + env(safe-area-inset-right));
}

/* ── Clips ─────────────────────────────────────────────────── */
/* Short silent loops cut from Giani's reels. Portrait, because that is how a
   phone shoots and cropping them to landscape would throw away most of the
   frame — the subject is a tall inverter or a panel on a bench. */
.clips-section {
  background: var(--white);
  padding: var(--space-9) 0;
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.clip figure {
  margin: 0;
}

.clip-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-dark);
  /* Matches the encode (480x852-854). Declaring it reserves the space before
     the poster loads, so the section does not jump as three videos arrive. */
  aspect-ratio: 9 / 16;
}

.clip-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The play affordance only appears when the clip is NOT auto-playing: either
   the browser refused autoplay, or the visitor asked for reduced motion. */
.clip-play {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--deep-dark) 35%, transparent);
  color: var(--white);
  border: 0;
  width: 100%;
}

.clip-frame.is-paused .clip-play {
  display: flex;
}

.clip-caption {
  margin-top: var(--space-3);
}

.clip-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocean-deep);
  margin-bottom: var(--space-1);
}

.clip-caption span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ocean-mid);
}

/* A note that these run silent, so nobody hunts for a volume control that
   isn't there. */
.clips-note {
  margin-top: var(--space-5);
  font-size: 0.8rem;
  color: var(--slate-text);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

@media (max-width: 860px) {
  /* Two across rather than one: a single 9:16 clip at phone width is taller
     than the viewport, and the section becomes three full screens of scroll. */
  .clips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  /* The third clip would sit alone in a half-width cell; let it span. */
  .clip:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .clips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clip-caption strong {
    font-size: 0.95rem;
  }
  .clip-caption span {
    font-size: 0.82rem;
  }
}

/* ── Process ───────────────────────────────────────────────── */
.process-section {
  background: var(--white);
  padding: var(--space-9) 0;
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: start;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  /* The connecting rule behind the numbered discs: one line drawn on the grid
     rather than a border per step, so it never breaks at the gaps. Inset by
     half a disc at each end so it starts and stops inside the first and last. */
  position: relative;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--deep);
  color: var(--solar);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  /* Above the connector rule, and opaque, so the line reads as passing behind
     each disc rather than through it. */
  position: relative;
  z-index: 1;
}

/* The connector: a hairline from each step's disc to the next one's. The last
   step has no successor, hence :not(:last-child). */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 44px;
  width: calc(100% - 44px + var(--space-5));
  height: 1px;
  background: var(--sand-300);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocean-deep);
}

.step p {
  font-size: 0.88rem;
  color: var(--ocean-mid);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .process-inner {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6) var(--space-5);
  }
  /* The connector assumes a single row; at two columns it would run off the
     end of every second step and dangle. */
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Coverage strip ────────────────────────────────────────── */
.strip {
  position: relative;
  height: clamp(240px, 34vw, 420px);
  overflow: hidden;
}

.strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  /* The source is a bright, low-contrast rooftop shot. Without this it turns
     to fog under the overlay and the band reads as a solid colour. */
  filter: contrast(1.12) saturate(1.05);
}

/* A flat 55% wash over this photograph — pale concrete and aluminium frames —
   read as a grey rectangle rather than as an image, and left the amber label
   sitting on an unpredictable mid-tone. A gradient that is heaviest behind the
   text and lighter at the edges keeps the photo legible as texture while giving
   the heading a solid ground to sit on. */
.strip__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse 80% 70% at 50% 50%,
      color-mix(in oklch, var(--deep-dark) 88%, transparent) 0%,
      color-mix(in oklch, var(--deep-dark) 66%, transparent) 100%
    );
  color: var(--white);
  text-align: center;
  padding-inline: var(--space-5);
}

.strip__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--solar);
  margin-bottom: var(--space-2);
}

.strip__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.strip__sub {
  margin-top: var(--space-3);
  font-size: 0.95rem;
  color: color-mix(in oklch, var(--white) 82%, transparent);
  max-width: 52ch;
}

/* ── Coverage / location ───────────────────────────────────── */
.location-section {
  background: var(--sand-200);
  padding: var(--space-9) 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  gap: var(--space-8);
  align-items: center;
}

.location-body {
  color: var(--ocean-mid);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 46ch;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.location-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--ocean-mid);
}

.location-item iconify-icon {
  color: var(--solar-dark);
  flex-shrink: 0;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: var(--sand-300);
}

.location-map iframe {
  display: block;
}

@media (max-width: 860px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-map {
    height: 300px;
  }
}

/* ── Quote ─────────────────────────────────────────────────── */
.quote-section {
  background: var(--deep);
  padding: var(--space-9) 0 clamp(var(--space-9), 10vw, 140px);
}

/* On the navy ground the shared amber .section-label is the one place the
   light-ground colour is wrong: solar-dark measures 3.1:1 here. The raw solar
   amber clears AA on this dark ground at 6.9:1, so the section reclaims it. */
.quote-section .section-label {
  color: var(--solar);
}

.quote-section .section-title {
  color: var(--white);
}

.quote-intro {
  color: color-mix(in oklch, var(--white) 80%, transparent);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}

.quote-widget {
  margin-top: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 24px color-mix(in oklch, var(--deep-dark) 30%, transparent);
}

.quote-form h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ocean-deep);
  margin-bottom: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-row--single {
  grid-template-columns: 1fr;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.quote-field {
  min-width: 0;
}

/* The service picker is a radio group styled as pressable chips: on a phone a
   <select> hides the options behind a picker, and the whole point is that the
   visitor sees at a glance that their job is one this business takes. */
.service-choice {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.service-chip {
  position: relative;
}

.service-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-chip span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--sand-300);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ocean-mid);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.service-chip input:checked + span {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}

/* :focus-visible on a visually-hidden input still fires for keyboard users, so
   the ring has to be drawn on the label text they can actually see. */
.service-chip input:focus-visible + span {
  outline: 3px solid var(--solar);
  outline-offset: 2px;
}

.quote-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.quote-privacy {
  font-size: 0.8rem;
  color: var(--slate-text);
  max-width: 44ch;
}

/* The "prefer to talk" line under the widget: the same amber the section's
   label uses, which clears AA on this navy ground where solar-dark would not. */
.quote-alt {
  color: color-mix(in oklch, var(--white) 80%, transparent);
  max-width: 56ch;
  margin-top: var(--space-5);
}

.quote-alt-link {
  color: var(--solar);
  font-weight: 600;
}

.quote-alt-link:hover {
  text-decoration: underline;
}

/* Inside the success panel the ground is a pale tint, not the navy, so the
   link takes the darker amber to stay readable. */
.success-note-link {
  color: var(--solar-dark);
  font-weight: 600;
}

.success-note-link:hover {
  text-decoration: underline;
}

/* Result */
.quote-result {
  margin-top: var(--space-5);
  /* When quote-scroll.js reveals a freshly-patched result, keep its top clear
     of the fixed .site-nav so it isn't hidden under the bar. */
  scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px));
}

.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-7) var(--space-6);
  background: color-mix(in oklch, var(--success) 8%, var(--white));
  border-radius: var(--radius-lg);
  animation: fadeSlideIn 0.4s var(--ease-out);
}

.success-icon {
  color: var(--success);
}

.quote-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ocean-deep);
}

.quote-success p {
  color: var(--ocean-mid);
  max-width: 48ch;
}

.success-ref {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.success-note {
  font-size: 0.85rem;
  color: var(--slate-text);
}

.quote-error {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--alert-soft);
  border-radius: var(--radius-md);
  color: var(--error);
  font-size: 0.9rem;
  animation: fadeSlideIn 0.3s var(--ease-out);
}

.quote-error iconify-icon {
  flex-shrink: 0;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-success,
  .quote-error {
    animation: none;
  }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--deep-dark);
  color: color-mix(in oklch, var(--white) 78%, transparent);
  padding: var(--space-7) 0;
  /* Edge-to-edge: keep the footer copy clear of the home indicator. */
  padding-bottom: calc(var(--space-7) + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-logo {
  font-size: 1.25rem;
  color: var(--white);
  --bm-bolt: var(--solar);
  --bm-sub: color-mix(in oklch, var(--solar) 82%, var(--white));
}

.footer-tagline {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--white) 62%, transparent);
  max-width: 34ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--white) 82%, transparent);
  transition: color 0.15s;
}

.footer-contact a:hover {
  color: var(--solar);
}

.footer-copy {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--white) 58%, transparent);
  width: 100%;
  text-align: center;
  padding-top: var(--space-5);
  margin-top: var(--space-3);
  border-top: 1px solid color-mix(in oklch, var(--white) 14%, transparent);
}

/* ── Legal pages (/privacy) ─────────────────────────────────── */
/* Standalone prose using the public chrome: clear the fixed nav (nav-inner is
   --space-4 per side + the brand's height + safe-area) and keep a readable
   measure. Same section-label/section-title type as the home sections. */
.legal {
  padding-top: calc(var(--space-7) + 72px + env(safe-area-inset-top, 0px));
  padding-bottom: var(--space-7);
}
.legal .container {
  max-width: 720px;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--slate-text);
  margin-bottom: var(--space-5);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ocean-deep);
  margin: var(--space-6) 0 var(--space-3);
}
.legal p,
.legal li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ocean-mid);
}
.legal p {
  margin-bottom: var(--space-4);
}
.legal ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal a {
  color: var(--solar-dark);
  font-weight: 600;
}
.legal a:hover {
  text-decoration: underline;
}
