/* ============================================================
   Brittney’s Sparkling Clean — "Your home, sparkling clean"
   ------------------------------------------------------------
   A bright, sunlit-home look: warm white page, deep wine for
   text and two dark bands, the logo's rose for actions, and a
   soft gold for the one thing we want noticed (free estimates).
   Signature moment: a gleam of light passes over the hero photo.
   Every text/background pair was checked for WCAG AA contrast
   (tools/contrast.py: 30 pairs, all pass).
   ============================================================ */

/* ---------- Fonts (self-hosted: Fraunces + Inter, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --porcelain: #FBF8F7;
  --white: #FFFFFF;
  --tint: #FBE9E6;
  --deeper: #32121C;
  --deep: #431A26;
  --body: #5E3540;
  --muted: #7A5761;
  --action: #EBA4A0;
  --action-hover: #F1B3AF;
  --action-text: #9A3B45;
  --action-light: #F3B7B2;
  --highlight: #F7D66E;
  --line: #EFE4E1;
  --line-strong: #E0CFCC;
  --input-border: #9A7A80; /* form fields only: 3.84:1 on white, above the WCAG minimum for a control's boundary */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(67, 26, 38, 0.05), 0 8px 24px -12px rgba(67, 26, 38, 0.18);
  --shadow-md: 0 24px 48px -24px rgba(67, 26, 38, 0.28);
  --shadow-pop: 0 12px 32px -8px rgba(67, 26, 38, 0.24);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

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

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { padding: 0; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Every list on this page is custom-styled, so drop the browser's
   bullets AND its 40px default indent. */
ul, ol { padding: 0; list-style: none; }
dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--deep);
  font-optical-sizing: auto;
}

::selection { background: var(--highlight); color: var(--deep); }

:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.site-footer :focus-visible,
.room-picker :focus-visible,      /* the picker's deep-colour bar */
.fit-item--cta :focus-visible { outline-color: var(--action-light); }
/* The form card is white even though it sits on the dark band */
.quote-form :focus-visible { outline-color: var(--deep); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.25rem, 8vw, 6.5rem); }
.section-tint { background: var(--tint); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: var(--deep); color: rgba(255, 255, 255, 0.82); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 12px 12px;
}
.skip-link:focus { top: 0; }

.no-break { white-space: nowrap; }

/* ---------- Scroll reveal (only when JS is available) ---------- */
.js .rv {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.55s var(--ease-out), translate 0.55s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .rv.is-in { opacity: 1; translate: 0 0; }

/* ---------- Headings & section heads ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action-text);
}
.eyebrow .icon { width: 1.05rem; height: 1.05rem; color: var(--action-text); }
.eyebrow-light { color: var(--action-light); }
.eyebrow-light .icon { color: var(--action-light); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4.5vw, 3rem); }
.section-head h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem); }
.section-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 36em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
              transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.btn-primary { background: var(--action); color: var(--deep); }
.btn-outline { border-color: var(--line-strong); background: #fff; color: var(--deep); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

@media (hover: hover) {
  .btn-primary:hover { background: var(--action-hover); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(67, 26, 38, 0.45); }
  .btn-outline:hover { border-color: var(--deep); transform: translateY(-1px); }
  .btn-dark:hover { background: var(--deeper); transform: translateY(-1px); }
}
.btn:active { transform: translateY(0) scale(0.99); }
.btn:disabled { opacity: 0.65; cursor: progress; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 247, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 0.75rem; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; min-width: 0; min-height: 44px; color: var(--deep); }
/* Stand-in mark: the client's logo is too soft to read at 38px, so the round mark
   carries the business initial and the logo itself is used where it has room. */
.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--deep);
  color: var(--action-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 0.1em;
}
.logo-spark {
  position: absolute;
  top: -5px;
  right: -6px;
  width: 15px;
  height: 15px;
  color: var(--highlight);
}
.logo-spark use { stroke-width: 2.6; }
.logo-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .logo { gap: 0.55rem; }
  .logo-mark { width: 34px; height: 34px; font-size: 1.15rem; }
  .logo-text { font-size: 1rem; }
}

/* Mobile: the nav is a dropdown card under the header */
.nav {
  position: fixed;
  top: 76px;
  left: 12px;
  right: 12px;
  display: block;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  translate: 0 -10px;
  transition: opacity 0.2s ease, translate 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.site-header.is-open .nav {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition-delay: 0s;
}
.nav > a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--deep);
}
.nav-extra {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.9rem 0.35rem 0.35rem;
  border-top: 1px solid var(--line);
}
.nav-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--deep);
}
.nav-mail .icon { color: var(--action-text); }
.header-mail, .header-cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--deep);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1024px) {
  .logo-text { font-size: 1.3rem; }
  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
    margin-left: auto;
  }
  .nav > a {
    padding: 0.65rem 0.2rem;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .nav-extra, .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1240px) {
  .nav { gap: 1.9rem; }
  .header-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.6rem;
    padding-block: 0.65rem;  /* a 45px target; the sweep counts padding, not a minimum height */
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--deep);
  }
}
@media (hover: hover) {
  .nav > a:hover { color: var(--deep); }
  .nav > a:hover { background: var(--porcelain); }
  .header-mail:hover { color: var(--action-text); }
}
@media (min-width: 1024px) and (hover: hover) {
  .nav > a:hover { background: none; border-bottom-color: var(--action); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: clamp(0.75rem, 2vw, 1.5rem) clamp(2.25rem, 5vw, 4.5rem);
  overflow: clip;
}
.hero-grid { display: grid; gap: 2.75rem; }
.hero-media { position: relative; width: 100%; }

/* --- The gleam --- */
.gleam {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: var(--tint);
  box-shadow: var(--shadow-md);
}
.gleam picture, .gleam img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gleam img { object-fit: cover; }

/* A dull copy of the same photo (same file, fetched once), laid over it until the light
   passes. It exists from the first paint, so the photo beneath is never hidden. */
.gleam .gleam-dull {
  inset: -3%;   /* oversize on all four sides, so the blur has no soft edge */
  width: auto;
  height: auto;
  display: none;
  filter: blur(5px) saturate(0.4) brightness(1.04) contrast(0.82);
  pointer-events: none;
}
.gleam-dull img { filter: none; }
/* The band of light that sweeps across once */
.gleam-light {
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: -24%;
  width: 22%;
  display: none;
  transform: skewX(-8deg);
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 250, 235, 0.82) 58%,
    rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  pointer-events: none;
}
/* Sparkles that glint as the light reaches them */
.spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9%;
  display: none;
  fill: #fff;
  filter: drop-shadow(0 0 6px rgba(247, 214, 110, 0.9));
  opacity: 0;
  translate: -50% -50%;
  pointer-events: none;
}
.js .gleam-dull { display: block; }
.js .gleam-dull img, .js .gleam-light, .js .spark { display: block; }
.js .gleam.is-ready .gleam-dull { animation: gleam-away 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.5s both; }
.js .gleam.is-ready .gleam-light { animation: gleam-run 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.5s both; }
.js .gleam.is-ready .spark { animation: spark-glint 0.8s ease-out var(--t, 1.2s) both; }

@keyframes gleam-away {
  from { clip-path: polygon(-14% 0, 100% 0, 100% 100%, -6% 100%); }
  to   { clip-path: polygon(106% 0, 100% 0, 100% 100%, 114% 100%); }
}
@keyframes gleam-run {
  0%   { left: -24%; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}
@keyframes spark-glint {
  0%   { scale: 0.2; opacity: 0; }
  35%  { scale: 1.15; opacity: 1; }
  70%  { scale: 1; opacity: 1; }
  100% { scale: 0.85; opacity: 0; }
}

.hero-chip { position: absolute; margin: 0; color: var(--body); }
.hero-chip--price {
  top: 14px;
  right: 14px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-chip--price strong { color: var(--deep); font-weight: 700; }
.hero-chip--owner {
  left: 14px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1.1rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.chip-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--deep);
  color: var(--action-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 0.1em;
}
.hero-chip--owner p strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--deep);
}
.hero-chip--owner p span { display: block; font-size: 0.8rem; line-height: 1.2; color: var(--muted); }

.hero-copy { max-width: 40rem; }
.hero-title {
  margin-top: 0.25rem;
  font-size: clamp(2.6rem, 0.4rem + 9vw, 5.4rem);
  line-height: 1.02;
}
.hl {
  display: inline-block;
  margin-left: -0.04em;
  padding: 0 0.13em 0.02em;
  border-radius: 0.14em 0.14em 0.14em 0.05em;
  background: var(--highlight);
  color: var(--deep);
  transform: rotate(-1.5deg);
}
.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  max-width: 33em;
}
.hero-actions { display: grid; gap: 0.65rem; margin-top: 1.75rem; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.hero-facts li + li { padding-left: 0.85rem; border-left: 1px solid var(--line-strong); }
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep);
}
.hero-facts span { display: block; margin-top: 0.2rem; font-size: 0.8rem; line-height: 1.35; color: var(--muted); }

@media (min-width: 480px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 640px) and (max-width: 879px) {
  .hero-media { max-width: 620px; margin-inline: auto; }
  .hero-copy { margin-inline: auto; text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-facts { text-align: left; }
}
@media (min-width: 880px) {
  .hero { padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5.5rem); }
  .hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
  .hero-media { order: 2; }
  .hero-copy { order: 1; }
  .hero-title { font-size: clamp(2.75rem, 1rem + 3.2vw, 5.4rem); }
  .gleam { aspect-ratio: 4 / 5; border-radius: 32px; }
  .hero-chip--price { top: 20px; right: 20px; padding: 0.65rem 1.2rem; font-size: 1rem; }
  .hero-chip--owner { left: -26px; bottom: 30px; padding: 0.55rem 1.35rem 0.55rem 0.55rem; }
  .hero-chip--owner .chip-mark { width: 56px; height: 56px; }
}

/* ============================================================
   SERVICE AREA STRIP
   ============================================================ */
.areas { background: var(--white); border-block: 1px solid var(--line); }
.areas-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-block: 0.9rem;
}
.areas-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep);
  white-space: nowrap;
}
.areas-title .icon { color: var(--action-text); }
.areas-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.areas-list li {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--porcelain);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
}

/* ============================================================
   ROOMS: four photo cards
   ============================================================ */
.rooms-grid { display: grid; gap: 1.25rem; }
.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.room-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.room-body { display: flex; flex: 1; flex-direction: column; gap: 0.4rem; padding: 1.2rem 1.25rem 1.3rem; }
.room-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--action-text);
}
.room-body h3 { font-size: 1.55rem; }
.room-line { font-size: 0.97rem; line-height: 1.5; }
/* The link line is pushed to the foot of each card, so all four sit level */
.room-link {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 0.45rem;
  min-height: 44px;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--deep);
}
.room-link strong {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}
.room-link span { grid-column: 2; font-size: 0.88rem; color: var(--muted); }
.room-link .icon { grid-column: 3; justify-self: end; color: var(--action-text); transition: translate 0.25s var(--ease-out); }
.room-link:hover .icon { translate: 4px 0; }

@media (min-width: 640px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .room-media { aspect-ratio: 4 / 3; }
  .room-body { gap: 0.5rem; padding: 1.4rem 1.4rem 1.5rem; }
}
@media (min-width: 1024px) {
  .rooms-grid { grid-template-columns: repeat(4, 1fr); }
  .room-body { padding: 1.2rem 1.2rem 1.3rem; }
  .room-body h3 { font-size: 1.4rem; }
  .room-link { grid-template-columns: 1fr auto; padding-top: 1.25rem; }
  .room-link strong { grid-column: 1; font-size: 1.2rem; }
  .room-link span { grid-column: 1; }
  .room-link .icon { grid-column: 2; grid-row: 1 / span 2; }
}
@media (hover: hover) {
  .room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .room-card:hover .room-media img { transform: scale(1.05); }
}

/* ============================================================
   WHAT'S INCLUDED: the room lists
   ============================================================ */
.included-grid { display: grid; gap: 2rem; align-items: start; }
.included-copy h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
.included-copy p { margin-top: 1rem; }
.included-lead { display: none; }
.included-copy a {
  color: var(--action-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.checklist {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
/* The picker sits on the deep-colour header of the card */
.room-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--deep);
}
.room-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.room-btn.is-active { background: var(--action); color: var(--deep); }

.room-panels { padding: 1.25rem 1.5rem 1.5rem; }
/* With JavaScript off every list is shown; with it on, one at a time */
.js .room-panel { display: none; }
.js .room-panel.is-active { display: block; }
.room-note { margin-bottom: 0.9rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.room-panel li {
  padding: 0.32rem 0 0.32rem 34px;
  text-indent: -34px;   /* hanging indent: the tick hangs left, wrapped lines stay aligned */
  font-size: 0.95rem;
  line-height: 1.45;
  break-inside: avoid;
}
.task { color: var(--deep); font-weight: 500; }
.how { color: var(--muted); }
.tick {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -5px;
  text-indent: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--deep);
}
.tick .icon { width: 13px; height: 13px; }
.js .room-panel .tick {
  scale: 0.3;
  opacity: 0;
  transition: scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.js .checklist.is-in .room-panel.is-active:not(.is-fresh) .tick { scale: 1; opacity: 1; }

@media (min-width: 640px) {
  .included-lead { display: block; }
}
@media (min-width: 760px) {
  .room-panel ul { columns: 2; column-gap: 2rem; }
}
@media (min-width: 1024px) {
  .included-grid { grid-template-columns: 0.72fr 1.28fr; gap: clamp(2.5rem, 5vw, 5rem); }
}
@media (hover: hover) {
  .room-btn:not(.is-active):hover { background: rgba(255, 255, 255, 0.12); }
}

/* ============================================================
   PRICING: no prices were ever published, so the offer is a free estimate
   ============================================================ */
.pricing-grid { display: grid; gap: 1.25rem; }
.price-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}
.price-panel-title { font-size: 1.8rem; }

.price-display { margin-top: 1.4rem; }
.price-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem 1rem 1.5rem;
  border-radius: 20px;
  background: var(--porcelain);
  text-align: center;
}
.price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 0.6rem + 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--deep);
  text-wrap: balance;
}
.price-label {
  margin-top: 0.9rem;
  max-width: 30em;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.price-note { margin-top: 1rem; text-align: center; font-size: 0.88rem; color: var(--muted); }
.price-panel .btn { margin-top: 1rem; }

.quote-cards { display: grid; gap: 1rem; }
.quote-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
/* Phones: title and big word share a row */
.quote-card-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 1rem; }
.quote-card h3 { font-size: 1.4rem; }
.quote-big {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep);
  white-space: nowrap;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.chip-list li {
  padding: 0.22rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--porcelain);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--body);
}
.addon-list { display: grid; gap: 0.45rem; margin-top: 0.9rem; }
.addon-list li { font-size: 0.95rem; line-height: 1.4; font-weight: 500; color: var(--deep); }
/* Phones show the add-on names only, to keep the page short */
.addon-how { display: none; font-weight: 400; color: var(--muted); }
.quote-card .link-arrow { padding-top: 0.9rem; }

@media (min-width: 640px) {
  .quote-card { padding: clamp(1.4rem, 3vw, 2rem); }
  .quote-card-top { display: block; }
  .quote-big { margin-top: 0.5rem; font-size: clamp(2rem, 7vw, 2.8rem); }
  .addon-how { display: inline; }
  .chip-list li { font-size: 0.88rem; }
  .quote-card .link-arrow { padding-top: 1rem; }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--action-text);
}
.link-arrow .icon { transition: translate 0.25s var(--ease-out); }
.link-arrow:hover .icon { translate: 4px 0; }

.offer-band {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 28px;
  background: var(--highlight);
  color: var(--deep);
}
.offer-band .btn { grid-column: 1 / -1; }
.offer-num {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 17vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.offer-num span { font-size: 0.3em; letter-spacing: -0.01em; }
.offer-copy h3 { font-size: clamp(1.5rem, 5vw, 2rem); }
.offer-copy p { margin-top: 0.3rem; font-size: 1rem; color: var(--body); }

@media (min-width: 640px) {
  .offer-band { grid-template-columns: auto 1fr; }
}
@media (min-width: 1280px) {
  .offer-band {
    grid-template-columns: auto 1fr auto;
    gap: clamp(1.25rem, 3vw, 2.25rem);
  }
  .offer-band .btn { grid-column: auto; }
}
@media (min-width: 880px) {
  .pricing-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
  .quote-cards { grid-template-rows: 1fr 1fr; }
}
@media (hover: hover) {
  .link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* ============================================================
   WHAT DO YOU NEED
   ============================================================ */
.fit-grid { display: grid; gap: 0.7rem; }
.fit-item {
  padding: 1rem;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.fit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--deep);
}
.fit-icon .icon { width: 21px; height: 21px; }
.fit-item h3 { margin-top: 0.7rem; font-size: 1.08rem; line-height: 1.2; }
/* Phones show icon + name only, to keep the page short; the line returns on larger screens */
.fit-item p { display: none; margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.5; }

.fit-item--cta { background: var(--deep); border-color: var(--deep); color: rgba(255, 255, 255, 0.82); }
.fit-item--cta .fit-icon { background: rgba(255, 255, 255, 0.12); color: var(--action-light); }
.fit-item--cta h3 { color: #fff; }
.fit-item--cta p { display: block; font-size: 0.9rem; }
.fit-item--cta .link-arrow { padding-top: 0.5rem; font-size: 0.9rem; color: var(--action-light); }

@media (min-width: 340px) {
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Phones: the call-to-action card gets its own full-width row */
.fit-item--cta { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .fit-item--cta { grid-column: auto; }
  .fit-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .fit-item { padding: 1.5rem; border-radius: 22px; }
  .fit-icon { width: 46px; height: 46px; border-radius: 14px; }
  .fit-icon .icon { width: 23px; height: 23px; }
  .fit-item h3 { margin-top: 0.9rem; font-size: 1.4rem; line-height: 1.15; }
  .fit-item p { display: block; font-size: 0.97rem; }
  .fit-item--cta p { font-size: 0.97rem; }
  .fit-item--cta .link-arrow { padding-top: 1rem; font-size: 0.95rem; }
}

/* ============================================================
   ABOUT THE OWNER
   ============================================================ */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-media { position: relative; isolation: isolate; width: min(100%, 440px); margin-inline: auto; }
.about-media::before {
  content: "";
  position: absolute;
  /* Overhang is capped so the block never pokes past the screen edge on phones */
  inset: 12% max(-7%, -16px) max(-7%, -16px) 12%;
  z-index: -1;
  border-radius: 32px;
  background: var(--tint);
}
/* No photo of the owner was supplied, so the card carries the client's own logo */
.about-card {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 12%;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.about-card img { width: 100%; }
.about-badge {
  position: absolute;
  left: -10px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.about-badge .chip-mark { width: 44px; height: 44px; font-size: 1.4rem; }
.about-badge span:last-child { display: block; font-size: 0.85rem; line-height: 1.25; color: var(--muted); }
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--deep);
}

.about-copy h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
.about-copy > p { margin-top: 1rem; max-width: 34em; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.stats dt {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats dd {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .about-card { aspect-ratio: 4 / 3; }
  .stats { gap: 1.25rem; }
  .stats dt { font-size: 0.78rem; }
  .stats dd { font-size: 1.4rem; }
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 6vw, 6rem); }
  .about-media { margin-inline: 0; }
  .about-media::before { inset: 12% -7% -7% 12%; }
}

/* ============================================================
   GET A FREE ESTIMATE
   ============================================================ */
.quote-grid { display: grid; gap: 2.5rem; align-items: start; }
.quote-copy h2 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); }

.steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
.steps li { display: flex; gap: 0.85rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.steps strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.5rem; }
.steps p { margin-top: 0.15rem; font-size: 0.97rem; color: rgba(255, 255, 255, 0.82); }

.quote-contact {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.contact-big {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  width: fit-content;
  color: #fff;
  font-size: clamp(1.08rem, 4vw, 1.3rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-big .icon, .contact-hours .icon { color: var(--action-light); }
.contact-hours {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}
.contact-hours .icon { margin-top: 0.2em; }
@media (hover: hover) {
  .contact-big:hover { color: var(--action-light); }
}

.quote-form {
  /* The card sits on the dark band: without this, text that sets no colour of its own
     (the confirmation message) would inherit the band's near-white and vanish on white */
  color: var(--body);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 1.1rem; }
.form-cols { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-cols .form-row { margin-bottom: 0; }
.form-row label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--deep); }
.opt { font-weight: 400; color: var(--muted); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--input-border);
  border-radius: 14px;
  background-color: var(--porcelain);
  color: var(--deep);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--muted); opacity: 1; }
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23431A26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--action-text);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(155, 59, 69, 0.22);
}
/* An error wins over the focus colour, and stays visible while the field is focused */
.form-row input.is-invalid,
.form-row input.is-invalid:focus { border-color: #C23B3B; box-shadow: none; }
.form-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #FDECEC;
  color: #7A1D1D;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Honeypot: invisible to people, bait for spam bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-foot { margin-top: 0.9rem; text-align: center; font-size: 0.88rem; color: var(--muted); }
.form-success { display: grid; justify-items: center; gap: 0.5rem; padding: 2rem 0 1.5rem; text-align: center; }
.form-success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--deep);
}
.form-success-icon .icon { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.8rem; }
.form-success p { max-width: 26em; font-size: 1rem; }
.form-success a { font-weight: 600; color: var(--action-text); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 560px) {
  .form-cols { grid-template-columns: 1fr 1fr; }
  .steps { gap: 1.25rem; margin-top: 2rem; }
  .steps li { gap: 1rem; }
  .quote-contact { margin-top: 2rem; }
}
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding-block: 2.75rem 2.25rem; background: var(--deeper); color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
/* The client's logo needs this much room to be readable */
.footer-logo { width: 232px; height: auto; }
.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.footer-tag { display: block; margin-top: 0.2rem; max-width: 24em; font-size: 0.9rem; line-height: 1.5; color: var(--action-light); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; }
.footer-nav a, .footer-meta a { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.footer-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.footer-meta { display: grid; gap: 0.35rem; width: fit-content; }
.footer-meta a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.footer-meta .icon { color: var(--action-light); }
.footer-meta p { display: flex; align-items: flex-start; gap: 0.5rem; min-height: 44px; font-size: 0.95rem; }
.footer-meta p .icon { margin-top: 0.22em; }
.footer-meta .footer-copy { display: block; margin-top: 0.6rem; min-height: 0; font-size: 0.85rem; line-height: 1.5; }
@media (hover: hover) {
  .footer-nav a:hover, .footer-meta a:hover { color: var(--action-light); }
}
@media (min-width: 880px) {
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: start; }
  .footer-nav { justify-content: center; }
}

/* ============================================================
   MOBILE ACTION BAR (email + estimate, always one tap away)
   ============================================================ */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px -16px rgba(67, 26, 38, 0.3);
  visibility: hidden;
  transform: translateY(105%);
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.mobile-bar.is-shown { visibility: visible; transform: none; transition-delay: 0s; }

@media (max-width: 759px) {
  /* Room for the action bar, added to the footer so no light strip shows beneath it */
  .site-footer { padding-bottom: calc(2.25rem + 84px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 760px) {
  .mobile-bar { display: none; }
}

/* ---------- Stagger for card grids ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rooms-grid .rv:nth-child(2) { --d: 90ms; }
  .rooms-grid .rv:nth-child(3) { --d: 180ms; }
  .rooms-grid .rv:nth-child(4) { --d: 270ms; }
  .quote-cards .rv:nth-child(2) { --d: 90ms; }
  .fit-grid .rv:nth-child(2) { --d: 60ms; }
  .fit-grid .rv:nth-child(3) { --d: 120ms; }
  .fit-grid .rv:nth-child(4) { --d: 180ms; }
  .fit-grid .rv:nth-child(5) { --d: 240ms; }
  .fit-grid .rv:nth-child(6) { --d: 300ms; }
}

/* ---------- Very narrow phones (359px and under) ---------- */
@media (max-width: 359px) {
  .areas-title { white-space: normal; }
  .hero-title { font-size: 2.2rem; }
  .quote-form .btn { padding-inline: 1rem; white-space: normal; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gleam-dull, .gleam-light, .spark { display: none !important; }
  .js .rv, .js .room-panel .tick { opacity: 1; translate: none; scale: 1; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .gleam-dull, .gleam-light, .spark, .hero-actions, .room-picker, .quote-form .btn, .skip-link { display: none !important; }
  .js .room-panel { display: block !important; }
  body { background: #fff; padding: 0; }
  .js .rv, .js .room-panel .tick { opacity: 1 !important; translate: none !important; scale: 1 !important; }
  .section-dark { background: #fff; color: #000; }
  .section-dark h2, .steps strong, .step-num { color: #000; }
}
