/* ============================================================
   Dantel Design — Tailoring & Alterations
   Every colour lives in the scheme block below and nowhere else, so a colour
   scheme can be swapped by replacing that block alone (see build_variants.py).
   Fonts: Cormorant Garamond (display) + Karla (body)
   ============================================================ */

:root {
  /* ---- scheme: lilac ---- */
  --cream: #faf8fa;               /* page background */
  --cream-deep: #eee9f2;          /* alternating section band */
  --warm: #f5eee2;                /* warm tint band: notice + stat strip */
  --white: #ffffff;
  --ink: #3c3444;                 /* dark anchor: hero, reviews, footer */
  --ink-soft: #6f6878;            /* muted body copy on light */
  --brand: #6a5a8a;               /* fill: buttons, CTA band */
  --brand-dark: #574872;          /* button hover */
  --brand-ink: #6a5a8a;           /* same hue at text contrast: links, labels */
  --brand-text: #ffffff;          /* label colour that sits on the fill */
  --brand-soft: #a99cc4;          /* focus rings */
  --accent: #b08f57;              /* stars, rules, step numerals on light */
  --accent-soft: #ecd6ad;         /* the same accent, legible on ink */
  --line: #e7e2ea;
  --on-ink: #d0cad8;              /* body copy on ink */
  --on-brand: #f2eef8;            /* body copy on the CTA band */
  --card-dark: #463e50;           /* review card on ink */
  --card-dark-line: #5c5468;
  --muted-dark: #bcb4c6;          /* fine print on ink */
  --footer-line: #4d4557;
  --header-bg: rgba(250, 248, 250, 0.94);
  --shadow: 0 14px 40px rgba(60, 52, 68, 0.12);
  --shadow-strong: 0 18px 34px rgba(60, 52, 68, 0.18);
  /* ---- end scheme ---- */
  /* Form status colours stay the same in every scheme: success and failure
     should not be a matter of palette. */
  --ok: #1d6f47;
  --ok-bg: #e9f4ee;
  --bad: #9d2323;
  --bad-bg: #fbeaea;
  --radius: 4px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Karla", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { display: block; max-width: 100%; }

a { color: var(--brand-ink); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* topbar */

.topbar {
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar a { color: var(--accent-soft); }

.topbar .tb-right { display: flex; gap: 18px; white-space: nowrap; }

/* announcement */

.notice {
  background: var(--warm);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  padding: 10px 24px;
}

.notice strong { color: var(--brand-ink); }

/* header */

.siteheader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.siteheader .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand img { width: 44px; height: 44px; }

.brand .name {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.brand .name span { color: var(--brand-ink); }

.brand .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mainnav { display: flex; align-items: center; gap: 28px; }

.mainnav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.mainnav a:hover { color: var(--brand-ink); }

.mainnav a.active { color: var(--brand-ink); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 22px;
  padding: 4px 12px;
  color: var(--ink);
  cursor: pointer;
}

/* buttons */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary { background: var(--brand); color: var(--brand-text) !important; }

.btn-primary:hover { background: var(--brand-dark); }

.btn-outline { border-color: var(--ink); color: var(--ink) !important; background: transparent; }

.btn-outline:hover { background: var(--ink); color: var(--cream) !important; }

.btn-light { background: var(--cream); color: var(--ink) !important; }

.btn-light:hover { background: var(--white); }

.mainnav .btn-primary { padding: 10px 20px; border-bottom: none; }

/* hero */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.42;
}

.hero .wrap {
  position: relative;
  padding-top: 110px;
  padding-bottom: 120px;
  max-width: 900px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero h1 em { font-style: italic; color: var(--accent-soft); }

.hero p {
  font-size: 18px;
  color: var(--on-ink);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* stat strip */

.statstrip { background: var(--warm); color: var(--ink-soft); }

.statstrip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.stat { text-align: center; }

.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--brand-ink);
  line-height: 1.1;
}

.stat .lbl { font-size: 13.5px; margin-top: 4px; }

/* sections */

.block { padding: 90px 0; }

.block.tint { background: var(--cream-deep); }

.block.dark { background: var(--ink); color: var(--cream); }

.sectionhead { max-width: 640px; margin-bottom: 48px; }

.sectionhead.center { margin-left: auto; margin-right: auto; text-align: center; }

.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  margin: 8px 0 14px;
}

.sectionhead p { color: var(--ink-soft); font-size: 16.5px; }

.block.dark .sectionhead p { color: var(--on-ink); }

/* split layout */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.split .imgcard {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split .imgcard img { width: 100%; height: 100%; object-fit: cover; }

/* brand illustration: no crop, no card chrome */

.split .illo {
  box-shadow: none;
  background: none;
  overflow: visible;
}

.split .illo img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-strong));
}

.split p { color: var(--ink-soft); margin-bottom: 16px; }

.split p strong { color: var(--ink); }

/* service cards */

.svcgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.svccard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.svccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.svccard .simg { height: 240px; overflow: hidden; }

.svccard .simg img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.svccard:hover .simg img { transform: scale(1.05); }

.svccard .sbody { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.svccard h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.svccard h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--accent);
  margin-top: 10px;
}

.svccard p { color: var(--ink-soft); font-size: 15px; flex: 1; }

.svccard .more {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* review cards */

.revgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.revcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block.dark .revcard { background: var(--card-dark); border-color: var(--card-dark-line); }

.block.dark .revcard .stars { color: var(--accent-soft); }

.revcard .stars { color: var(--accent); font-size: 21px; letter-spacing: 4px; margin-bottom: 4px; }

.revcard p { font-size: 15px; color: var(--ink-soft); flex: 1; }

.block.dark .revcard p { color: var(--on-ink); }

.revcard .who {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.block.dark .revcard .who { color: var(--cream); }

/* reviewer identity row, mirroring the Google widget the old site used */

.revhead {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.revpic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.block.dark .revpic { border-color: var(--card-dark-line); }

/* Stands in for a reviewer with no profile photo. */
.revpic.initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.revwho { min-width: 0; }

.revdate { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.03em; }

.block.dark .revdate { color: var(--muted-dark); }

.gmark { margin-left: auto; flex: none; }

/* google rating summary */

.gsummary {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin-bottom: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.block.dark .gsummary { background: var(--card-dark); border-color: var(--card-dark-line); }

.gsummary .glogo { flex: none; }

.gsummary .gtop { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.gsummary .word {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.block.dark .gsummary .word { color: var(--cream); }

.gsummary .stars { color: var(--accent); font-size: 19px; letter-spacing: 3px; }

.block.dark .gsummary .stars { color: var(--accent-soft); }

.gsummary .meta { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

.block.dark .gsummary .meta { color: var(--on-ink); }

.gsummary .score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-soft);
}

.block.dark .gsummary .score { color: var(--on-ink); }

.gsummary .glink {
  font-size: 14px;
  color: var(--brand-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.block.dark .gsummary .glink { color: var(--accent-soft); }

.gsummary .btn { margin-left: auto; }

@media (max-width: 680px) {
  .gsummary .btn { margin-left: 0; width: 100%; text-align: center; }
}

/* review carousel */

/* One review fills the carousel, so the text is read at a comfortable measure
   rather than spread the full width of the page. */
.revcarousel { position: relative; max-width: 780px; margin: 0 auto; }

.revtrack {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Room for the focus ring, which would otherwise be clipped by the overflow. */
  padding: 4px 4px 14px;
  margin: -4px -4px 0;
  scrollbar-width: thin;
}

.revtrack > .revcard {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 38px 40px 34px;
}

/* The single visible review carries the section, so it is set larger and
   composed down the middle. Reviews range from one line to a dozen, and every
   slide shares the height of the longest, so centring keeps a short review from
   looking like a mistake in a card built for a long one. */
.revtrack .revcard {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.revtrack .revcard .revhead { flex-direction: column; gap: 9px; margin-bottom: 22px; }

.revtrack .revcard .revpic { width: 64px; height: 64px; }

/* Google is already credited on the summary panel directly above. */
.revtrack .revcard .gmark { display: none; }

.revtrack .revcard .stars { font-size: 30px; letter-spacing: 6px; margin-bottom: 10px; }

/* Slides share the height of the tallest, so the longest reviews are trimmed
   here to keep every card a sensible size. The reviews page carries them whole. */
.revtrack .revcard p {
  font-size: 17.5px;
  line-height: 1.8;
  flex: 0 1 auto;
  max-width: 60ch;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.revtrack .revcard .who { font-size: 19px; }

.revtrack .revcard .revpic { width: 54px; height: 54px; }

@media (max-width: 640px) {
  .revtrack > .revcard { padding: 30px 26px 26px; }
  .revtrack .revcard .stars { font-size: 25px; letter-spacing: 4px; }
  .revtrack .revcard p { font-size: 16.5px; }
}

.revtrack:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.revnav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

.cdots { display: flex; gap: 9px; align-items: center; }

.cdot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.block.dark .cdot { background: var(--card-dark-line); }

.cdot[aria-current="true"] { background: var(--accent); transform: scale(1.5); }

.block.dark .cdot[aria-current="true"] { background: var(--accent-soft); }

.cdot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 520px) {
  .cdots { gap: 7px; }
  .cdot { width: 7px; height: 7px; }
}

.cbtn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cbtn:hover { background: var(--brand); color: var(--brand-text); border-color: var(--brand); }

.block.dark .cbtn {
  background: transparent;
  border-color: var(--card-dark-line);
  color: var(--cream);
}

.block.dark .cbtn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .revtrack { scroll-behavior: auto; }
}

/* page hero (interior pages) */

.pagehero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.pagehero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.38;
}

.pagehero .wrap { position: relative; padding-top: 84px; padding-bottom: 84px; max-width: 820px; }

.pagehero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.pagehero p { font-size: 17px; color: var(--on-ink); max-width: 640px; }

/* process steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }

.step p { font-size: 14.5px; color: var(--ink-soft); }

/* contact */

.contactgrid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }

.infocard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.infocard h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 6px; }

.infocard .row { padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }

.infocard .row:last-child { border-bottom: none; }

.infocard .row .lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 2px;
}

.mapframe {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}

.mapframe iframe { display: block; width: 100%; height: 280px; border: 0; }

.formshell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
}

.formshell h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 4px; }

.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }

.formgrid .full { grid-column: 1 / -1; }

label.f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

label.f input, label.f select, label.f textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}

label.f input:focus, label.f select:focus, label.f textarea:focus {
  outline: 2px solid var(--brand-soft);
  outline-offset: 0;
  border-color: var(--brand-soft);
}

.formnote { font-size: 13.5px; color: var(--ink-soft); }

.formstatus {
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
}

.formstatus.ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }

.formstatus.bad { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }

.formstatus.pending { background: var(--cream-deep); border-color: var(--line); color: var(--ink-soft); }

/* Honeypot: hidden from people, visible to the bots that fill in every field. */

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */

.ctaband { background: var(--brand); color: var(--on-brand); }

.ctaband .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 56px;
  padding-bottom: 56px;
}

.ctaband h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--brand-text);
  margin-bottom: 6px;
}

.ctaband p { max-width: 560px; }

/* footer */

.sitefooter { background: var(--ink); color: var(--on-ink); }

.sitefooter .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.sitefooter .brandcol .name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--cream);
}

.sitefooter .brandcol .name span { color: var(--accent-soft); }

.sitefooter .brandcol .sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sitefooter p { font-size: 14px; }

.sitefooter h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.sitefooter a { display: block; color: var(--on-ink); font-size: 14.5px; padding: 4px 0; }

.sitefooter a:hover { color: var(--cream); }

.footerbase { border-top: 1px solid var(--footer-line); }

.footerbase .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
}

/* responsive */

@media (max-width: 900px) {
  .split, .contactgrid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .statstrip .wrap { grid-template-columns: 1fr; gap: 18px; }
  .sitefooter .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .mainnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mainnav .btn-primary { margin-top: 12px; text-align: center; }
  .topbar .wrap { flex-direction: column; gap: 4px; }
  .hero .wrap { padding-top: 80px; padding-bottom: 90px; }
  .formgrid { grid-template-columns: 1fr; }
  .sitefooter .wrap { grid-template-columns: 1fr; }
}
