/* Faerie Glen Plumbers
   Palette: jacaranda violet (Pretoria, the Jacaranda City; Faerie Glen's tree-lined
   streets) with a marigold action colour. Paper neutrals, never a pale violet tint.
   Signature: topographic contour lines from the logo mark (the glen and the Bronberg
   slopes), used large on the violet panels, the dark bands and the footer.
   Motion verb: flow (contours draw in, the process line runs). */

:root {
  --ink: #1e1530;
  --violet-900: #241a38;
  --violet-800: #2f2149;
  --violet-700: #45306b;
  --violet-500: #5c4494;
  --violet-300: #b9a6e0;
  --violet-200: #d9cff0;
  --marigold: #f2b136;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --line: #ddd7cb;
  --text: #221c2c;
  --muted: #574f63;
  --white: #ffffff;

  --font-head: 'Schibsted Grotesk', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

  --r: 4px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 116px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-500); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--violet-700); text-decoration-color: var(--marigold); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--sec) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding-top: calc(var(--sec) * 0.5); }
.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; }

.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.head p { margin-top: 12px; color: var(--muted); font-size: 1.12rem; }

/* ---------- icons (CSS masks so they take the text colour) ---------- */
.ic {
  display: inline-block; flex: none;
  width: 40px; height: 40px;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
[data-icon="afterhours"] { --ic: url(/assets/images/icons/afterhours.png); }
[data-icon="geyser"] { --ic: url(/assets/images/icons/geyser.png); }
[data-icon="geyser-install"] { --ic: url(/assets/images/icons/geyser-install.png); }
[data-icon="boiler"] { --ic: url(/assets/images/icons/boiler.png); }
[data-icon="leak"] { --ic: url(/assets/images/icons/leak.png); }
[data-icon="pool"] { --ic: url(/assets/images/icons/pool.svg); }
[data-icon="pipe"] { --ic: url(/assets/images/icons/pipe.png); }
[data-icon="plunger"] { --ic: url(/assets/images/icons/plunger.png); }
[data-icon="drain-camera"] { --ic: url(/assets/images/icons/drain-camera.png); }
[data-icon="pressure"] { --ic: url(/assets/images/icons/pressure.png); }
[data-icon="bath"] { --ic: url(/assets/images/icons/bath.png); }
[data-icon="commercial"] { --ic: url(/assets/images/icons/commercial.png); }
[data-icon="price"] { --ic: url(/assets/images/icons/price.png); }
[data-icon="invoice"] { --ic: url(/assets/images/icons/invoice.png); }
[data-icon="insurance"] { --ic: url(/assets/images/icons/insurance.png); }
[data-icon="check"] { --ic: url(/assets/images/icons/check.png); }
[data-icon="clearance"] { --ic: url(/assets/images/icons/clearance.png); }
[data-icon="valve"] { --ic: url(/assets/images/icons/valve.png); }
[data-icon="location"] { --ic: url(/assets/images/icons/location.png); }
[data-icon="faucet"] { --ic: url(/assets/images/icons/faucet.png); }
[data-icon="toilet"] { --ic: url(/assets/images/icons/toilet.png); }
[data-icon="element"] { --ic: url(/assets/images/icons/element.png); }
[data-icon="house"] { --ic: url(/assets/images/icons/house.png); }
[data-icon="housing"] { --ic: url(/assets/images/icons/housing.png); }
[data-icon="inspection"] { --ic: url(/assets/images/icons/inspection.png); }
[data-icon="water-tap"] { --ic: url(/assets/images/icons/water-tap.png); }
[data-icon="gauge"] { --ic: url(/assets/images/icons/gauge.png); }
[data-icon="plumber"] { --ic: url(/assets/images/icons/plumber.png); }

/* ---------- buttons: marigold pill, the drop's round end ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px;
  font: 700 1.02rem/1.2 var(--font-head); letter-spacing: -0.005em;
  color: var(--ink); background: var(--marigold);
  border: 0; border-radius: 999px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--violet-700); color: var(--white); }
.btn--block { width: 100%; }
.band .btn:hover, .hero__side .btn:hover, .site-footer .btn:hover { background: var(--white); color: var(--violet-800); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 21, 48, .09); }
.header__bar { display: flex; align-items: center; gap: 26px; min-height: 82px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 38px; height: 46px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 1.36rem/1 var(--font-head); letter-spacing: -0.03em; }
.logo__sub { font: 700 .7rem/1 var(--font-head); letter-spacing: .36em; color: var(--violet-500); margin-top: 6px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 12px; min-height: 44px;
  font: 600 1.02rem/1.2 var(--font-body); color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--r);
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--violet-500); }
.nav__trigger::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease;
}
.nav__trigger[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: -10px; width: 340px;
  padding: 10px; background: var(--white); border-radius: var(--r);
  box-shadow: 0 20px 50px rgba(30, 21, 48, .18);
  display: none;
}
.nav__item.is-open .nav__panel { display: block; }
.nav__panel a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r); text-decoration: none; color: var(--text); }
.nav__panel a:hover { background: var(--paper); color: var(--text); }
.nav__panel .ic { width: 28px; height: 28px; color: var(--violet-500); margin-top: 2px; }
.nav__panel strong { display: block; font: 700 1.02rem/1.25 var(--font-head); color: var(--ink); }
.nav__panel span span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.header__cta { flex: none; }
.nav-toggle { display: none; }
.nav__cta-mobile { display: none; }

@media (max-width: 1100px) {
  .header__bar { min-height: 70px; gap: 12px; }
  .header__cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto; margin-right: -10px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 70px 0 0 0; margin: 0;
    background: var(--white); overflow-y: auto;
    padding: 8px var(--pad) 32px;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__trigger { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: 14px 0; border-radius: 0; }
  .nav__panel { position: static; display: none; box-shadow: none; padding: 0 0 8px 16px; width: auto; }
  .nav__panel a { padding: 10px 0; }
  .nav__panel span span { display: none; }
  .nav__cta-mobile { display: block; margin-top: 22px; }
}
@media (max-width: 420px) {
  .logo__name { font-size: 1.18rem; }
  .logo__mark { width: 33px; height: 40px; }
}

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--violet-300); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--violet-500); text-decoration: underline; }

/* ---------- hero: copy and photo on paper, the form on a violet column ---------- */
.hero { position: relative; isolation: isolate; background: var(--paper); overflow: hidden; }
.hero__side-bg {
  position: absolute; top: 0; bottom: 0; right: 0; z-index: -1;
  width: calc((100% - min(var(--wrap), 100%)) / 2 + 440px + var(--pad));
  background: var(--violet-700);
}
.hero__contours { position: absolute; right: -120px; top: -40px; width: 760px; height: auto; color: var(--marigold); opacity: .38; pointer-events: none; }
.hero__contours path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: flow 2.6s cubic-bezier(.2,.7,.2,1) .2s forwards; }
.hero__contours path:nth-child(2) { animation-delay: .35s; }
.hero__contours path:nth-child(3) { animation-delay: .5s; }
.hero__contours path:nth-child(4) { animation-delay: .65s; }
.hero__contours path:nth-child(5) { animation-delay: .8s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: calc(40px + var(--pad)); }
.hero__main { padding: clamp(28px, 3.6vw, 48px) 0 clamp(32px, 3.6vw, 48px); }
.hero__main h1 { max-width: none; }
.hero__main h1.is-long { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.3rem); }
.hero__lede { margin-top: 22px; font-size: 1.2rem; line-height: 1.6; color: var(--text); max-width: 56ch; }
.hero__photo { margin: 28px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 5.6; background: var(--paper-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__side { position: relative; padding: clamp(28px, 3.6vw, 48px) 0 clamp(32px, 3.6vw, 48px); }

@media (max-width: 1000px) {
  .hero { background: var(--paper); }
  .hero__side-bg { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__main { padding-bottom: 28px; }
  .hero__main h1 { max-width: none; }
  .hero__photo { display: none; }
  .hero__side { margin: 0 calc(var(--pad) * -1); padding: 28px var(--pad) 36px; background: var(--violet-700); overflow: hidden; clip-path: inset(0); isolation: isolate; }
  .hero__contours { right: -260px; top: -60px; z-index: -1; }
  .hero__lede { font-size: 1.1rem; }
}

/* ---------- call-out form ---------- */
.form-card {
  position: relative; display: block;
  background: var(--white); color: var(--text);
  border-radius: var(--r); padding: 28px;
  box-shadow: 0 24px 50px rgba(20, 12, 34, .3);
}
.form-card.form-card--flat { box-shadow: none; padding: 0; background: transparent; }
.form-card__title { font: 800 1.5rem/1.15 var(--font-head); color: var(--ink); letter-spacing: -0.025em; margin: 0; }
.form-card__lead { margin: 8px 0 18px; font-size: 1rem; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--text);
  background: var(--white); border: 1.5px solid #c9c2d6; border-radius: var(--r);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(92, 68, 148, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card:not(.form-card--wide) .field-row--service { grid-template-columns: 1fr; gap: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .9em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin-top: 12px; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.form__note a { color: var(--muted); }
.form__status { margin: 10px 0 0; font-size: .98rem; font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-err { color: #9b2c1c; }
.form-card.is-sent .form-card__fields { display: none; }
.form-card__done { display: none; }
.form-card.is-sent .form-card__done { display: block; }
.form-card__done p { margin-top: 10px; color: var(--muted); }
.form-card__done .form-card__title { color: var(--ink); }
@media (max-width: 600px) {
  .form-card { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- services list (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 44px; }
.svc { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; }
.svc .ic { color: var(--violet-500); width: 44px; height: 44px; margin-top: 2px; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc:hover h3 a { color: var(--violet-500); }
.svc p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; gap: 0; } .svc { padding: 15px 0; } }

/* ---------- dark band with contour texture ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; background: var(--violet-900); color: rgba(255,255,255,.86); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; background: url(/assets/brand/contours.svg) right -140px top -90px / 920px auto no-repeat; }
.band h2, .band h3 { color: var(--white); }
.band .head p { color: rgba(255,255,255,.76); }
.band a { color: var(--marigold); }
.band a:hover { color: var(--white); }

/* rules band: four numbered promises beside a photo */
.rules { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 76px); align-items: stretch; }
.rules__photo { border-radius: var(--r); overflow: hidden; min-height: 100%; }
.rules__photo img { width: 100%; height: 100%; object-fit: cover; }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.rule .ic { color: var(--marigold); width: 40px; height: 40px; margin-bottom: 14px; }
.rule h3 { font-size: 1.16rem; }
.rule p { margin-top: 8px; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.8); }
@media (max-width: 960px) { .rules { grid-template-columns: 1fr; } .rules__photo { aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 600px) { .rules__list { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- faults: what usually goes wrong ---------- */
.faults { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 60px; }
.fault { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; align-content: start; }
.fault .ic { color: var(--violet-500); width: 44px; height: 44px; grid-row: span 2; }
.fault h3 { font-size: 1.16rem; }
.fault p { margin-top: 6px; color: var(--muted); }
@media (max-width: 800px) { .faults { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- the hook (local section) ---------- */
.hook { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hook__body h2 { margin-bottom: 22px; }
.hook__body p { max-width: 68ch; }
.hook__body .takeaway { margin-top: 24px; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.hook__aside { position: sticky; top: 104px; background: var(--violet-700); color: rgba(255,255,255,.88); border-radius: var(--r); padding: 30px; overflow: hidden; isolation: isolate; }
.hook__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: url(/assets/brand/contours.svg) left -260px bottom -200px / 760px auto no-repeat; }
.hook__aside h3 { color: var(--white); font-size: 1.26rem; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.5; font-size: 1rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--marigold);
  -webkit-mask: url(/assets/images/icons/check.png) center / contain no-repeat; mask: url(/assets/images/icons/check.png) center / contain no-repeat;
}
.hook__aside a { color: var(--marigold); }
.hook__aside a:hover { color: var(--white); }
.hook__aside .source { margin-top: 18px; font-size: .86rem; color: rgba(255,255,255,.66); }
@media (max-width: 960px) { .hook { grid-template-columns: 1fr; } .hook__aside { position: static; } }

/* notices (home: the City's own words) */
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.notice { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.notice__date { font: 800 1.02rem/1.15 var(--font-head); color: var(--marigold); }
.notice__date small { display: block; font-weight: 600; font-size: .8rem; color: rgba(255,255,255,.66); margin-top: 4px; }
.notice p { font-size: .98rem; line-height: 1.5; }

/* ---------- process: steps on a flowing line ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--violet-300) 0 16px, transparent 16px 24px);
  transform-origin: left; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.2,.7,.2,1);
}
.steps.is-in::before { transform: scaleX(1); }
.step { position: relative; }
.step__n { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--marigold); color: var(--ink); font: 800 1.25rem/1 var(--font-head); margin-bottom: 18px; position: relative; }
.step h3 { font-size: 1.14rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .steps, .steps--3 { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--violet-300) 0 16px, transparent 16px 24px); transform: scaleY(0); transform-origin: top; }
  .steps.is-in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 50px 1fr; gap: 0 18px; }
  .step__n { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- symptom table (home) ---------- */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--paper-2); border-radius: var(--r); overflow: hidden; }
.symptom { position: relative; background: var(--white); padding: 28px; display: flex; flex-direction: column; }
.symptom .ic { color: var(--violet-500); width: 34px; height: 34px; margin-bottom: 14px; }
.symptom h3 { font-size: 1.12rem; }
.symptom dl { margin: 12px 0 0; display: grid; gap: 10px; }
.symptom dt { font-weight: 700; font-size: .86rem; color: var(--violet-500); }
.symptom dd { margin: 2px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.symptom a.more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.symptom a.more::after { content: ""; position: absolute; inset: 0; }
.symptom:hover a.more { color: var(--violet-500); }
@media (max-width: 960px) { .symptoms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .symptoms { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { margin-top: 12px; color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 20px 0; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.faq__list summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-top: 6px; border-right: 2px solid var(--violet-500); border-bottom: 2px solid var(--violet-500); transform: rotate(45deg); transition: transform .2s ease; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq__list summary:hover h3 { color: var(--violet-500); }
.faq__a { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- related links ---------- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.related h2 { font-size: 1.55rem; margin-bottom: 16px; }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.linklist a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.linklist a .ic { width: 28px; height: 28px; color: var(--violet-500); }
.linklist a:hover { color: var(--violet-500); }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- closing: wide form, then the map band with the area card ---------- */
.closing { padding-bottom: 40px; }
.closing__top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.closing__intro h2 { margin-bottom: 12px; }
.closing__intro p { color: var(--muted); font-size: 1.1rem; }
.closing__map { position: relative; height: 420px; background: var(--paper-2); }
.closing__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.closing__card-wrap { position: relative; height: 100%; display: flex; align-items: flex-end; pointer-events: none; }
.closing__card { pointer-events: auto; background: var(--white); border-radius: var(--r); padding: 22px 24px; max-width: 560px; margin-bottom: 28px; box-shadow: 0 14px 40px rgba(30, 21, 48, .16); }
.closing__card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .95rem; font-weight: 600; color: var(--violet-800); }
.chips li.is-link { background: var(--violet-700); }
.chips li.is-link a { color: var(--white); text-decoration: none; }
.chips li.is-link:hover { background: var(--marigold); }
.chips li.is-link:hover a { color: var(--ink); }
@media (max-width: 960px) {
  .closing__top { grid-template-columns: 1fr; }
  .closing__map { height: auto; }
  .closing__map iframe { position: static; height: 320px; }
  .closing__card-wrap { display: block; }
  .closing__card { max-width: none; margin: 0; box-shadow: none; border-radius: 0; padding: 22px 0 28px; background: transparent; }
}

/* ---------- prose pages (areas, prices, privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 0 0 18px; }
.prose h3 { margin: 28px 0 10px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.photo { border-radius: var(--r); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }

.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; vertical-align: top; }
.price-table thead th { font: 700 .95rem/1.2 var(--font-head); color: var(--ink); background: var(--paper-2); }
.price-table tbody tr:nth-child(even) { background: var(--paper); }
.price-table td:first-child { font-weight: 700; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--violet-900); color: rgba(255,255,255,.78); padding: 100px 0 28px; isolation: isolate; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background: url(/assets/brand/contours.svg) right -260px top -140px / 1000px auto no-repeat; }
.footer__edge { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 46px; color: var(--white); }
.is-paper-before .footer__edge { color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo, .site-footer .logo:hover { color: var(--white); }
.site-footer .logo__sub { color: var(--violet-300); }
.footer__blurb { margin-top: 18px; font-size: 1rem; max-width: 34ch; }
.footer__title { font: 700 1rem/1.2 var(--font-head); color: var(--white); margin: 6px 0 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .98rem; }
.footer__links a:hover { color: var(--marigold); }
.footer__cta { margin-top: 22px; }
.footer__base { margin-top: 56px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.12); }
.footer__base a { color: rgba(255,255,255,.72); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

.page-404 { padding: 120px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__contours path { stroke-dashoffset: 0; }
  .steps::before { transform: none; }
  html { scroll-behavior: auto; }
}

.note { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* area pages */
.area-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 40px; }
.area-services a { display: flex; align-items: center; gap: 14px; padding: 12px 0; font: 700 1.08rem/1.25 var(--font-head); color: var(--ink); text-decoration: none; }
.area-services a .ic { width: 34px; height: 34px; color: var(--violet-500); }
.area-services a:hover { color: var(--violet-500); }
.local__title { margin: 6px 0 18px; font-size: 1.24rem; }
.ticks--ink li { color: var(--text); }
.ticks--ink li::before { background: var(--violet-500); }
@media (max-width: 900px) { .area-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .area-services { grid-template-columns: 1fr; } }

/* rules band: photo runs the full height of the band and bleeds to the left edge */
@media (min-width: 961px) {
  .band--bleed .rules__photo { border-radius: 0; margin: calc(var(--sec) * -1) 0 calc(var(--sec) * -1) calc((100vw - min(var(--wrap), 100vw)) / -2 - var(--pad)); }
}

/* symptoms: a three-column reading table */
.symptoms { display: block; background: none; border-radius: 0; }
.symptoms__head { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; padding: 0 0 12px; font: 700 .9rem/1.2 var(--font-head); color: var(--violet-500); border-bottom: 2px solid var(--ink); }
.symptom { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; padding: 22px 0; background: none; border-bottom: 1px solid var(--line); }
.symptom h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; }
.symptom h3 .ic { width: 30px; height: 30px; color: var(--violet-500); margin: -2px 0 0; flex: none; }
.symptom p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.symptom p a { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--violet-700); }
.symptom__label { display: none; }
@media (max-width: 860px) {
  .symptoms__head { display: none; }
  .symptom { grid-template-columns: 1fr; gap: 8px; }
  .symptom__label { display: block; font-weight: 700; font-size: .86rem; color: var(--violet-500); }
}

/* process line: stop at the last node */
.steps::before { right: calc((100% - 84px) / 4 - 25px); }
.steps--3::before { right: calc((100% - 56px) / 3 - 25px); }
@media (max-width: 900px) {
  .steps::before, .steps--3::before { display: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 54px; bottom: -26px; width: 3px; background: repeating-linear-gradient(180deg, var(--violet-300) 0 16px, transparent 16px 24px); }
}

/* footer: bigger tap targets, two columns of links on phones */
.footer__links a { display: inline-block; padding: 6px 0; }
.footer__base { font-size: .95rem; }
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
.linklist a { min-height: 44px; }
.nav__panel--areas { width: 260px; }
.prose h1 { margin-bottom: 20px; }
