/* ==========================================================================
   Mandrake Cleaning — design system
   Palette story: wet slate + algae moss (the "before") -> clean water teal (the "after")
   Type: Bricolage Grotesque (display) / Public Sans (body) / IBM Plex Mono (utility)
   ========================================================================== */

:root {
  --ink:        #0B1F27;
  --ink-2:      #123441;
  --slate:      #3D5A64;
  --mist:       #7E939B;
  --paper:      #F3F6F5;
  --card:       #FFFFFF;
  --line:       #DEE6E4;
  --water:      #0B7E9E;
  --water-2:    #22B8C9;
  --moss:       #7A9A3E;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 8px;

  --font-display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-5:  clamp(2.6rem, 1.75rem + 4vw, 5rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--water-2); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { text-wrap: pretty; }

/* ---------- layout ---------- */
.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section--dark { background: var(--ink); color: #C9DAE0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--edge { border-top: 1px solid var(--line); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

/* ---------- utility type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--water);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--water-2), transparent);
}
.section--dark .eyebrow { color: var(--water-2); }
.lede { font-size: var(--step-1); color: var(--slate); max-width: 62ch; }
.section--dark .lede { color: #A9C2CB; }
.measure { max-width: 68ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: #fff; color: var(--ink); border-color: rgba(11,31,39,.16); box-shadow: 0 1px 2px rgba(11,31,39,.06); }
.btn--primary:hover { background: var(--water-2); color: #fff; border-color: var(--water-2); }
.btn--ghost { border-color: rgba(11,31,39,.22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: #93AEB8;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
}
.topbar__in {
  display: flex; flex-wrap: wrap; gap: .35rem 1.75rem;
  align-items: center; justify-content: space-between;
  padding-block: .6rem;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--water-2); }
.topbar__set { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243,246,245,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -.03em; color: var(--ink); line-height: 1;
}
.brand__tag {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mist); display: block; margin-top: .25rem;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: .55rem .8rem; border-radius: 999px; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav a:not(.btn):hover { background: rgba(11,126,158,.1); color: var(--water); }
.nav a[aria-current="page"]:not(.btn) { color: var(--water); background: rgba(11,126,158,.1); }

.has-drop { position: relative; }
.drop-toggle {
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .92rem; font-weight: 500; padding: .55rem .8rem;
  border-radius: 999px; color: var(--ink-2);
}
.drop-toggle:hover { background: rgba(11,126,158,.1); color: var(--water); }
.drop-toggle svg { transition: transform .2s ease; }
.has-drop[data-open="true"] .drop-toggle svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 306px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 22px 50px -22px rgba(11,31,39,.35);
  padding: .5rem; display: none; flex-direction: column;
}
.has-drop[data-open="true"] .drop { display: flex; }
.drop a {
  display: block; padding: .6rem .75rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
}
.drop a span {
  display: block; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .06em; color: var(--mist); font-weight: 400; margin-top: .15rem;
  text-transform: none;
}

.burger {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: .6rem .9rem; cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}

@media (max-width: 1040px) {
  .burger { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem var(--gutter) 1.5rem;
    max-height: 78vh; overflow-y: auto;
  }
  .nav[data-open="true"] { display: flex; }
  .nav .btn { justify-content: center; margin-top: .5rem; }
  .nav > * { width: 100%; }
  .nav a:not(.btn), .drop-toggle { padding: .8rem .4rem; border-radius: var(--radius-sm); width: 100%; text-align: left; }
  .drop { position: static; border: 0; box-shadow: none; padding: 0 0 .5rem .9rem; min-width: 0; }
  .site-header__in { position: relative; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #BFD4DB; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(34,184,201,.16), transparent 65%),
    radial-gradient(700px 500px at 5% 95%, rgba(122,154,62,.12), transparent 60%);
  pointer-events: none;
  animation: mc-glow-drift 16s ease-in-out infinite;
}
@keyframes mc-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-1.5%, 1.5%) scale(1.05); }
}

/* ---------- hero: animated line pattern (CSS-only, fixed units — cannot overflow) ---------- */
.hero__lines {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(100deg, transparent, transparent 28%, #000 55%);
          mask-image: linear-gradient(100deg, transparent, transparent 28%, #000 55%);
}
.hero__lines::before {
  content: ""; position: absolute; inset: -20% -10%;
  background-image: repeating-linear-gradient(
    118deg,
    rgba(34, 184, 201, .16) 0, rgba(34, 184, 201, .16) 1px,
    transparent 1px, transparent 46px
  );
  background-size: 480px 480px;
  animation: mc-lines-drift 34s linear infinite;
}
@keyframes mc-lines-drift {
  from { background-position: 0 0; }
  to   { background-position: -480px 480px; }
}
.hero__lines .mc-scan {
  position: absolute; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--water-2) 45%, var(--water-2) 55%, transparent);
  opacity: 0;
  animation: mc-scan 8s ease-in-out infinite;
}
.hero__lines .mc-scan:nth-child(1) { top: 26%; animation-delay: 0s; }
.hero__lines .mc-scan:nth-child(2) { top: 58%; animation-delay: 2.6s; }
.hero__lines .mc-scan:nth-child(3) { top: 80%; animation-delay: 5.2s; }
@keyframes mc-scan {
  0%, 100% { transform: scaleX(.3); opacity: 0; }
  50%      { transform: scaleX(1);  opacity: .55; }
}
@media (max-width: 940px) {
  .hero__lines { -webkit-mask-image: none; mask-image: none; opacity: .35; }
}

.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}
@media (max-width: 940px) { .hero__in { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal; color: var(--water-2);
  display: inline-block;
}
.hero__lede { font-size: var(--step-1); color: #A9C2CB; margin-top: 1.5rem; max-width: 46ch; }
.hero .btn-row { margin-top: 2.25rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.75rem; margin-top: 3rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat strong {
  display: block; font-family: var(--font-display); font-size: 1.6rem;
  color: #fff; letter-spacing: -.03em;
}
.hero__stat span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mist);
}

/* ---------- signature: before / after reveal ---------- */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink-2);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  touch-action: pan-y;
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  cursor: ew-resize;
}
.ba__range {
  touch-action: pan-y;
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba__range:focus-visible + .ba__handle { box-shadow: 0 0 0 3px var(--water-2); }
.ba__tag {
  position: absolute; bottom: .9rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ba__tag--before { left: .9rem; background: rgba(122,154,62,.85); color: #fff; }
.ba__tag--after { right: .9rem; background: rgba(34,184,201,.9); color: #04222a; }
.ba__hint {
  margin-top: .8rem; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mist); text-align: center;
}

/* ---------- trust strip ---------- */
.strip { background: var(--card); border-block: 1px solid var(--line); }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 2.5rem; gap: 2rem;
}
@media (max-width: 880px) { .strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .strip__grid { grid-template-columns: 1fr; } }
.strip__item { display: flex; gap: .9rem; }
.strip__item svg { flex: 0 0 26px; color: var(--water); margin-top: .2rem; }
.strip__item h3 { font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: .25rem; }
.strip__item p { font-size: .88rem; color: var(--slate); line-height: 1.5; }

/* ---------- section head ---------- */
.head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: 3rem; }
@media (max-width: 780px) { .head { grid-template-columns: 1fr; } }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.6rem 1.6rem;
  text-decoration: none; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--water), var(--water-2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(11,31,39,.4); border-color: #C9D8D6; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(11,126,158,.1); color: var(--water);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.card p { font-size: .92rem; color: var(--slate); line-height: 1.55; }
.card__list {
  list-style: none; padding: 0; margin: 1rem 0 0;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--mist); text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: .3rem .8rem;
}
.card__more {
  margin-top: auto; padding-top: 1.4rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--water);
  display: flex; align-items: center; gap: .5rem;
}
.card:hover .card__more svg { transform: translateX(4px); }
.card__more svg { transition: transform .2s ease; }

/* ---------- quote calculator ---------- */
.quote { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.quote__panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.field { margin-bottom: 1.35rem; }
.field > label, .field > legend {
  display: block; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  margin-bottom: .6rem; padding: 0;
}
.field select, .field input[type="number"] {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); font-size: 1rem;
}
.field select:focus, .field input:focus { border-color: var(--water); }
.field--set { border: 0; padding: 0; margin: 0 0 1.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: .85rem; cursor: pointer; transition: all .16s ease;
}
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--water-2); outline-offset: 2px; }

.quote__out {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column;
}
.quote__price {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: -.04em; color: #fff; line-height: 1; margin: .5rem 0 .3rem;
}
.quote__range { font-family: var(--font-mono); font-size: .78rem; color: var(--water-2); letter-spacing: .08em; }
.quote__note { font-size: .82rem; color: #93AEB8; margin-top: 1.25rem; line-height: 1.55; }
.quote__out .btn-row { margin-top: auto; padding-top: 1.75rem; }
.quote__breakdown {
  list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--font-mono); font-size: .74rem; color: #A9C2CB;
}
.quote__breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: .28rem 0; }
.quote__breakdown b { color: #fff; font-weight: 500; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.step__n {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;
  color: var(--water-2); display: block; margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: #A9C2CB; line-height: 1.55; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }
.gallery .ba { aspect-ratio: 3 / 2; box-shadow: none; border: 1px solid var(--line); }
.gallery figure { margin: 0; }
.gallery figcaption {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mist); margin-top: .7rem;
}

/* ---------- checklist / features ---------- */
.check { list-style: none; padding: 0; display: grid; gap: .75rem; }
.check li { display: flex; gap: .75rem; align-items: flex-start; font-size: .96rem; }
.check li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: .28rem; border-radius: 50%;
  background: rgba(11,126,158,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7E9E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.section--dark .check li::before { background-color: rgba(34,184,201,.2); }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- pricing table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
caption { text-align: left; padding: 1.1rem 1.25rem; font-size: .85rem; color: var(--slate); border-bottom: 1px solid var(--line); }
th, td { padding: .95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
th {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); font-weight: 500; background: var(--paper);
}
tbody tr:last-child td { border-bottom: 0; }
td:last-child { font-family: var(--font-mono); font-size: .88rem; color: var(--ink); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
  letter-spacing: -.02em; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.75rem;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7E9E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--slate); max-width: 70ch; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.areas li {
  list-style: none; font-family: var(--font-mono); font-size: .76rem;
  letter-spacing: .06em; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta { background: var(--ink-2); color: #fff; }
.cta__in {
  display: grid; grid-template-columns: 1.2fr auto; gap: 2rem;
  align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 820px) { .cta__in { grid-template-columns: 1fr; } }
.cta h2 { font-size: var(--step-3); color: #fff; }
.cta p { color: #A9C2CB; margin-top: .75rem; max-width: 52ch; }
.phone-set { display: flex; flex-direction: column; gap: .5rem; }
.phone-set a {
  font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .04em;
  text-decoration: none; color: #fff; display: flex; align-items: center; gap: .6rem;
}
.phone-set a:hover { color: var(--water-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; display: grid; gap: 1.75rem; }
.info-list dt, .info-list__label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mist); margin-bottom: .35rem;
}
.info-list a { text-decoration: none; font-size: var(--step-1); color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--water); }
textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); resize: vertical; min-height: 140px; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
}

/* ---------- breadcrumb ---------- */
.crumb {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: #7E939B; display: flex; flex-wrap: wrap; gap: .5rem;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--water-2); }
.crumb span { opacity: .5; }

.page-hero { background: var(--ink); color: #BFD4DB; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 85% 0%, rgba(34,184,201,.15), transparent 65%);
}
.page-hero__in { position: relative; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem); }
.page-hero h1 { color: #fff; font-size: var(--step-4); max-width: 20ch; margin-top: 1.5rem; }
.page-hero .lede { color: #A9C2CB; margin-top: 1.35rem; }
.page-hero .btn-row { margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #93AEB8; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--water-2); font-weight: 500; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .9rem; line-height: 1.6; }
.footer-brand img { height: 54px; margin-bottom: 1.1rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.related a {
  display: block; padding: 1.35rem 1.5rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.related a:hover { border-color: var(--water); transform: translateY(-3px); }
.related strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.related span { font-size: .85rem; color: var(--slate); }

/* ==========================================================================
   Gallery, photo slots and location pages
   ========================================================================== */

/* photo slot — a branded placeholder that still looks finished if published */
.slot {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(11,126,158,.05) 0 12px, rgba(11,126,158,.09) 12px 24px);
  border: 1px dashed rgba(11,126,158,.35);
  color: var(--water); text-align: center; padding: 1.5rem;
  overflow: hidden;
}
.slot__label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase;
}
.slot__hint { font-size: .82rem; color: var(--slate); margin-top: .5rem; max-width: 24ch; }
.slot svg { margin-bottom: .9rem; opacity: .6; }

/* photo grid — drop-in replacement area */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.photo-grid figcaption {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mist); margin-top: .7rem;
}
.photo-grid--wide { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .photo-grid--wide { grid-template-columns: repeat(2, 1fr); } }

/* feature band — big single image with copy beside it */
.band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch; }
@media (max-width: 880px) { .band { grid-template-columns: 1fr; } }
.band__media img, .band__media .slot { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 0; }
.band__body { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }

/* location index */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  display: block; padding: 1.15rem 1.35rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.loc-card:hover { border-color: var(--water); transform: translateY(-3px); }
.loc-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.loc-card span {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mist);
}

.county-block { margin-bottom: 3rem; }
.county-block h3 {
  font-size: 1.05rem; padding-bottom: .8rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* dense internal-link matrix */
.link-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem 1.75rem; }
@media (max-width: 820px) { .link-matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .link-matrix { grid-template-columns: 1fr; } }
.link-matrix a { font-size: .88rem; text-decoration: none; color: var(--slate); padding: .3rem 0; display: block; }
.link-matrix a:hover { color: var(--water); }
.section--dark .link-matrix a { color: #A9C2CB; }
.section--dark .link-matrix a:hover { color: #fff; }

/* ==========================================================================
   WordPress core classes and editor content
   ========================================================================== */

.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none; height: auto; width: auto; margin: 0;
  padding: .75rem 1.25rem; background: var(--ink); color: #fff;
  z-index: 100000; top: 0; left: 0; border-radius: 0 0 var(--radius-sm) 0;
}

.entry-content > * + * { margin-top: 1.15rem; }
.entry-content h2 { font-size: var(--step-3); margin-top: 2.75rem; }
.entry-content h3 { font-size: var(--step-2); margin-top: 2.25rem; }
.entry-content h4 { margin-top: 2rem; }
.entry-content p, .entry-content li { color: var(--slate); }
.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content li + li { margin-top: .4rem; }
.entry-content a { color: var(--water); text-underline-offset: .18em; }
.entry-content a:hover { color: var(--ink); }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content blockquote {
  border-left: 3px solid var(--water); padding: .25rem 0 .25rem 1.35rem;
  font-family: var(--font-display); font-size: var(--step-1);
  letter-spacing: -.015em; color: var(--ink);
}
.entry-content blockquote cite {
  display: block; margin-top: .75rem; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mist); font-style: normal;
}
.entry-content code, .entry-content kbd {
  font-family: var(--font-mono); font-size: .88em;
  background: rgba(11,126,158,.08); padding: .12em .35em; border-radius: 4px;
}
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.entry-content table { min-width: 0; }

.alignleft { float: left; margin: .35rem 1.75rem 1.25rem 0; }
.alignright { float: right; margin: .35rem 0 1.25rem 1.75rem; }
.aligncenter { margin-inline: auto; display: block; }
.alignwide, .alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption, figcaption {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mist); margin-top: .7rem;
}
@media (max-width: 560px) {
  .alignleft, .alignright { float: none; margin: 1.25rem 0; }
}

/* Area chips can link to a location page */
.areas li a { color: inherit; text-decoration: none; }
.areas li:has(a):hover { border-color: var(--water); color: var(--water); }

/* Pagination */
.pagination, .nav-links {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
}
.pagination .page-numbers, .nav-links .page-numbers {
  display: inline-block; padding: .55rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--slate);
}
.pagination .page-numbers.current, .nav-links .page-numbers.current {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.pagination .page-numbers:hover, .nav-links .page-numbers:hover { border-color: var(--water); color: var(--water); }

/* Admin bar offset for the sticky header */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
