/* ==========================================================================
   Shine Away — Cleaning Services
   Palette taken from the logo: architectural blues on white, nothing else.
   Display face is Archivo set on its width axis to echo the wide logo wordmark.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */

:root {
  --white: #ffffff;
  --ink: #08243d;
  --ink-soft: #4a6f8a;
  --brand: #1b7fc4;
  --brand-deep: #0b4f80;
  --brand-dark: #08355a;
  --sky: #6fc6f0;
  --sky-soft: #b7e4fa;
  --mist: #edf6fc;
  --mist-deep: #dcedf9;
  --line: #dbe9f4;
  --line-strong: #b9d8ec;

  /* Used only inside the illustrations, for floors and timber. */
  --timber: #efe0cd;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(8, 53, 90, 0.06), 0 4px 12px rgba(8, 53, 90, 0.05);
  --shadow-md: 0 2px 4px rgba(8, 53, 90, 0.06), 0 18px 40px -12px rgba(8, 53, 90, 0.18);
  --shadow-lg: 0 4px 8px rgba(8, 53, 90, 0.05), 0 40px 80px -28px rgba(8, 53, 90, 0.32);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* ------------------------------------------------------------------- reset */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Width/height attributes are set on every image to reserve layout space —
   `height:auto` is what stops them being read as a fixed size. */
img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 0; }

/* -------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.017em;
  color: var(--brand-dark);
  text-wrap: balance;
}

.display {
  font-size: clamp(2.45rem, 5.1vw, 3.9rem);
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.028em;
}

.h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-variation-settings: "wdth" 105; }

.lede {
  font-size: clamp(1.09rem, 1.55vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--line-strong);
}
.eyebrow--plain::before { display: none; }

.prose p + p { margin-top: 1.05em; }
.prose a { color: var(--brand-deep); text-underline-offset: 3px; }

/* --------------------------------------------------------------- structure */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--mist { background: var(--mist); }
.section--hairline { border-top: 1px solid var(--line); }

.section-head { max-width: 44rem; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .lede { margin-top: 1.1rem; }
.section-head--centre { margin-inline: auto; text-align: center; }
.section-head--centre .eyebrow::before { display: none; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(8, 53, 90, 0.12), 0 8px 20px -8px rgba(27, 127, 196, 0.6);
}
.btn--solid:hover { background: var(--brand-deep); }

.btn--ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--brand-dark);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); }

.btn--onDark {
  background: var(--white);
  color: var(--brand-dark);
}
.btn--onDark:hover { background: var(--sky-soft); }

.btn--outlineLight {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--outlineLight:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

.btn--lg { padding: 1rem 1.85rem; font-size: 1.02rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--brand-deep);
  text-decoration: none;
}
.textlink::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.textlink:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- masthead */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.masthead[data-stuck] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(8, 53, 90, 0.5);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: 2.55rem; height: 2.55rem; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 120;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.006em;
  color: var(--brand-deep);
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.545rem;
  letter-spacing: 0.235em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.32rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav a {
  font-size: 0.955rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.16s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--brand); }
.nav > a[aria-current="page"] { color: var(--brand-deep); font-weight: 600; }

.nav__phone {
  font-family: var(--font-mono);
  font-size: 0.87rem !important;
  color: var(--brand-deep) !important;
  padding-left: 1.9rem;
  border-left: 1px solid var(--line);
}
/* Staff sign-in. Deliberately quieter than the quote button: the site sells to
   letting agents, and the backend is only for the people who do the work. */
.nav__login { margin-left: -0.7rem; }
.nav__cta { margin-left: -0.9rem; }

.masthead__toggle {
  display: none;
  padding: 0.6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.masthead__bars { display: block; width: 1.15rem; }
.masthead__bars i {
  display: block;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: transform 0.24s var(--ease), opacity 0.16s var(--ease);
}
.masthead__bars i + i { margin-top: 4px; }
[aria-expanded="true"] .masthead__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .masthead__bars i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .masthead__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem);
}
/* The logo's glow, restated as light falling across a white page. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto 30%;
  height: 130%;
  background: radial-gradient(58% 50% at 70% 22%, rgba(111, 198, 240, 0.28), transparent 70%);
  pointer-events: none;
}
.hero > .shell { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy .eyebrow { margin-bottom: 1.35rem; }
.hero__copy .lede { margin-top: 1.5rem; max-width: 33rem; }
.hero__copy .btn-row { margin-top: 2.25rem; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.hero__proof li { display: flex; align-items: center; gap: 0.45rem; list-style: none; }
.hero__proof li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--sky);
  border-radius: 50%;
}

/* --------------------------------------------- signature: handover record */

.hero__stage { position: relative; }

.hero__scene {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Hangs off the bottom-left corner so the room behind it stays readable. */
.record {
  position: absolute;
  left: -2rem;
  bottom: -2.75rem;
  width: min(18.25rem, 72%);
  padding: 1.2rem 1.25rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.record__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.record__ref { color: var(--brand); }
.record__title {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.record__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.record__list {
  list-style: none;
  padding: 0.95rem 0 0.4rem;
  margin-top: 0.95rem;
  border-top: 1px solid var(--line);
}
.record__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.34rem;
  font-size: 0.855rem;
  color: var(--ink);
  opacity: 0;
  animation: recordRow 0.5s var(--ease) forwards;
  animation-delay: calc(320ms + var(--i) * 160ms);
}
.record__tick {
  flex-shrink: 0;
  width: 1.05rem; height: 1.05rem;
  color: var(--brand);
}
.record__tick circle { fill: var(--mist); }
.record__tick path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  animation: recordTick 0.42s var(--ease) forwards;
  animation-delay: calc(480ms + var(--i) * 160ms);
}

.record__stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: var(--mist);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: recordRow 0.55s var(--ease) forwards;
  animation-delay: 1.55s;
}
.record__verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--brand-deep);
}
.record__verdict::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 127, 196, 0.18);
}

@keyframes recordRow {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
@keyframes recordTick { to { stroke-dashoffset: 0; } }

/* -------------------------------------------------------------- assurances */

.assurances-band { padding-block: clamp(0.5rem, 2vw, 1.5rem); }

.assurances {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.assurance {
  padding: clamp(1.6rem, 2.6vw, 2.1rem) clamp(1.25rem, 2vw, 1.7rem);
  background: var(--white);
}
.assurance__icon {
  width: 1.65rem; height: 1.65rem;
  color: var(--brand);
  margin-bottom: 0.95rem;
}
.assurance h3 {
  font-size: 1.02rem;
  font-variation-settings: "wdth" 104;
  margin-bottom: 0.4rem;
}
.assurance p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------------------------------------------------------------- services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card__icon {
  width: 2.6rem; height: 2.6rem;
  color: var(--brand);
  margin-bottom: 1.35rem;
}
.card h3 { font-size: 1.16rem; font-variation-settings: "wdth" 105; }
.card p {
  margin-top: 0.55rem;
  font-size: 0.935rem;
  color: var(--ink-soft);
  line-height: 1.58;
}
.card .textlink { margin-top: 1.4rem; }
.card:hover .textlink::after { transform: translateX(3px); }

/* ----------------------------------------------------------------- process */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  position: relative;
  padding: 1.9rem 1.65rem 2.1rem;
  background: var(--white);
}
.step__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brand);
}
.step h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1.06rem;
  font-variation-settings: "wdth" 104;
}
.step p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.58; }

/* -------------------------------------------------------------- split rows */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.split--flip .split__art { order: -1; }
.split__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__copy .eyebrow { margin-bottom: 1.1rem; }
.split__copy .lede { margin-top: 1.15rem; }
.split__copy .btn-row { margin-top: 1.9rem; }

.ticklist {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}
.ticklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.955rem;
  color: var(--ink);
}
.ticklist svg {
  flex-shrink: 0;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.2rem;
  color: var(--brand);
}

/* --------------------------------------------------------------- cta band */

.band {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  color: var(--white);
}
.band::before {
  content: "";
  position: absolute;
  inset: auto -5% -60% 45%;
  height: 140%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(111, 198, 240, 0.32), transparent 70%);
}
.band > .shell { position: relative; }
.band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3.25rem, 6vw, 5rem);
}
.band h2 { color: var(--white); max-width: 22ch; }
.band p { color: var(--sky-soft); margin-top: 0.9rem; max-width: 34rem; }
.band .eyebrow { color: var(--sky); }
.band .eyebrow::before { background: rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------------------- page header */

.pagehead {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 6vw, 5rem) clamp(2.75rem, 5vw, 4rem);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto 40%;
  height: 200%;
  background: radial-gradient(45% 45% at 60% 50%, rgba(255, 255, 255, 0.9), transparent 70%);
}
.pagehead > .shell { position: relative; }
.pagehead .eyebrow { margin-bottom: 1.1rem; }
.pagehead h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-variation-settings: "wdth" 116; }
.pagehead .lede { margin-top: 1.15rem; max-width: 40rem; }

/* ------------------------------------------------------ service detail row */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.detail:first-of-type { border-top: 0; }
.detail:nth-of-type(even) .detail__art { order: 2; }
.detail__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.detail__for {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.detail__for strong {
  display: block;
  color: var(--brand);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.detail__stand {
  margin-top: 0.75rem;
  font-size: clamp(1.05rem, 1.5vw, 1.16rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand-deep);
}
.detail__lede { margin-top: 0.8rem; color: var(--ink-soft); }
.detail__includes {
  list-style: none;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.65rem 1.75rem;
}
.detail__includes li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}
.detail__includes li::before {
  content: "";
  flex-shrink: 0;
  width: 0.42rem; height: 0.42rem;
  margin-top: 0.52rem;
  background: var(--sky);
  border-radius: 50%;
}
.detail .btn-row { margin-top: 1.9rem; }

/* ------------------------------------------------------------------ figures */

.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.figure figcaption {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* -------------------------------------------------------------- stat strip */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.stat { padding: 1.6rem 1.5rem; background: var(--brand-dark); }
.stat dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
}
/* When a stat strip follows the CTA, the strip owns the bottom spacing. */
.band__inner:has(+ .stats) { padding-bottom: 0; }
.band .stats { margin-bottom: clamp(3.25rem, 6vw, 5rem); }

.stat dd {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--white);
}

/* -------------------------------------------------------------------- form */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: start;
}

.form {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.42rem; }
.field--wide { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.field label .opt {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9db6c9; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 127, 196, 0.15);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231B7FC4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.7rem; padding-right: 2.2rem; }

.field[data-invalid] input,
.field[data-invalid] select,
.field[data-invalid] textarea { border-color: #c0392b; }
.field__error {
  font-size: 0.8rem;
  color: #c0392b;
  display: none;
}
.field[data-invalid] .field__error { display: block; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.consent input {
  width: 1.05rem; height: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brand);
}

/* Honeypot — hidden from people, reachable by bots. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.form__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.btn[data-busy] { pointer-events: none; opacity: 0.65; }
.btn__spinner { display: none; width: 1rem; height: 1rem; }
.btn[data-busy] .btn__spinner { display: block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.formstatus {
  display: none;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.55;
}
.formstatus[data-state="ok"] {
  display: block;
  background: var(--mist);
  border: 1px solid var(--line-strong);
  color: var(--brand-dark);
}
.formstatus[data-state="error"] {
  display: block;
  background: #fdf1f0;
  border: 1px solid #f1c9c4;
  color: #96271a;
}
.formstatus strong { display: block; margin-bottom: 0.2rem; }

/* ------------------------------------------------------------ contact aside */

.aside-card {
  padding: 1.75rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
}
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card h2 {
  font-size: 1.05rem;
  font-variation-settings: "wdth" 104;
  margin-bottom: 1.1rem;
}
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list svg {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  margin-top: 0.12rem;
  color: var(--brand);
}
.contact-list a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.contact-list span { display: block; font-size: 0.78rem; color: var(--ink-soft); }

.hours { list-style: none; display: grid; gap: 0.6rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.885rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--line-strong);
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt, .hours .day { color: var(--ink-soft); }
.hours .time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brand-dark); text-align: right; }

/* ------------------------------------------------------------------- faq */

.faq { margin-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 104;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--brand-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.7rem; height: 0.7rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq p { padding-bottom: 1.35rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 52rem; }

/* ----------------------------------------------------------------- footer */

.footer {
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.brand--footer { margin-bottom: 1.15rem; }
.footer__blurb {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 26rem;
  line-height: 1.6;
}
.footer__social { list-style: none; display: flex; gap: 1.1rem; margin-top: 1.25rem; }
.footer__social a { font-size: 0.85rem; color: var(--brand-deep); text-decoration: none; }
.footer__social a:hover { text-decoration: underline; }

.footer__head {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-variation-settings: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.05rem;
}
.footer__list { list-style: none; display: grid; gap: 0.62rem; }
.footer__list a {
  font-size: 0.91rem;
  color: var(--ink);
  text-decoration: none;
}
.footer__list a:hover { color: var(--brand); }
.footer__list--contact a { font-weight: 600; color: var(--brand-dark); }
.footer__area { font-size: 0.85rem; color: var(--ink-soft); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer__reg { display: flex; gap: 1.5rem; font-family: var(--font-mono); font-size: 0.74rem; }

/* ------------------------------------------------------------------- 404 */

.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.notfound .lede { margin: 1.25rem auto 2rem; max-width: 34rem; }

/* ------------------------------------------------------------ scroll reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal][data-shown] { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .masthead__toggle { display: block; }

  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: max-height 0.32s var(--ease), padding 0.32s var(--ease),
      border-color 0.32s var(--ease);
  }
  .masthead[data-open] .nav {
    max-height: 30rem;
    padding-block: 0.5rem 1.5rem;
    border-bottom-color: var(--line);
    box-shadow: 0 20px 30px -24px rgba(8, 53, 90, 0.6);
  }
  .nav > a:not(.btn) {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav__phone {
    padding-left: 0;
    border-left: 0;
    font-size: 1rem !important;
  }
  /* Stacked and full width, the two buttons read as one pair at the foot of
     the open menu rather than as two unrelated blocks. */
  .nav__login { margin-left: 0; margin-top: 1.1rem; }
  .nav__cta { margin-left: 0; margin-top: 0.55rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { margin-bottom: 2.5rem; max-width: 34rem; }
  .record { position: static; width: 100%; margin-top: 1rem; box-shadow: var(--shadow-md); }

  .detail { grid-template-columns: 1fr; }
  .split--flip .split__art { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1.02rem; }
  .assurances { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero__proof { gap: 0.5rem 1rem; }
}

/* --------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .record__list li, .record__stamp { opacity: 1; }
  .record__tick path { stroke-dashoffset: 0; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .masthead, .footer, .band, .skip { display: none; }
  body { color: #000; }
}
