/* ==========================================================================
   Statewide Salt Damp: the sunlit-home world (approved layout .impeccable/mocks/home-mike-v3.png).
   One face (Albert Sans), black header under a yellow price bar, warm off-white ground, red for the
   main action and the trust icons, yellow for the header action and short rules.
   First viewport sizes follow the layout measured at 1487px wide, scaled with the viewport.
   ========================================================================== */
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --ink-2: #1b1a19;
  --paper: #fcf7f0;
  --cream: #f3ede5;
  --tone: #ebe6df;
  --line: #d9d3cb;
  --muted: #4b4743;
  --white: #ffffff;
  --yellow: #f7cc08;
  --yellow-hover: #ffd93d;
  --red: #d51018;
  --red-hover: #b20c13;
  --font: "Albert Sans", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(16px, 3.5vw, 52px);
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  --sec-gap: clamp(4rem, 7vw, 7rem);

  /* Type */
  --h1: clamp(2.75rem, 6.05vw, 5.75rem);
  --h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --h3: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  --lede: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --small: 0.9375rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 8px;
  --shadow: 0 18px 40px -18px rgba(28, 20, 10, 0.35);
}

html { scroll-padding-top: 24px; }
.wp-site-blocks > *, .wp-site-blocks .ssd-main > * { margin-block-start: 0; margin-block-end: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--yellow); color: var(--ink); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.ssd-nowrap { white-space: nowrap; }
html { scrollbar-color: var(--ink) var(--tone); }
input, textarea { caret-color: var(--red); }

/* ---------- Buttons ---------- */
.ssd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.3em; border: 2px solid transparent; border-radius: var(--radius);
  background: var(--yellow); color: var(--ink);
  font-family: var(--font); font-size: 1rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.ssd-btn .ssd-icon { color: currentColor; transition: transform 180ms var(--ease-out); }
.ssd-btn:hover .ssd-icon:last-child { transform: translateX(4px); }
.ssd-btn:active { transform: translateY(1px); }
.ssd-btn--yellow, .ssd-btn--accent { background: var(--yellow); color: var(--ink); }
.ssd-btn--yellow:hover, .ssd-btn--accent:hover { background: var(--yellow-hover); color: var(--ink); }
.ssd-btn--red, .ssd-btn--primary { background: var(--red); color: var(--white); }
.ssd-btn--red:hover, .ssd-btn--primary:hover { background: var(--red-hover); color: var(--white); box-shadow: 0 12px 24px -12px rgba(213, 16, 24, 0.7); }
.ssd-btn--primary .ssd-icon { color: var(--white); }
.ssd-btn--ink { background: var(--ink); color: var(--white); }
.ssd-btn--ink:hover { background: var(--ink-2); color: var(--yellow); }
.ssd-btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.ssd-btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.ssd-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.ssd-btn--ghost:hover { background: var(--ink); color: var(--white); }

.rule { display: block; height: 8px; width: clamp(64px, 7.4vw, 110px); }
.rule--red { background: var(--red); }
.rule--yellow { background: var(--yellow); width: clamp(70px, 7.94vw, 118px); }

/* ---------- Price bar ---------- */
.ssd-promo { background: var(--yellow); color: var(--ink); text-align: center; }
.ssd-promo p { margin: 0; padding: clamp(6px, 0.55vw, 8px) var(--gutter); font-size: clamp(1rem, 2.05vw, 1.9rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.ssd-top {
  position: relative; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center;
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  min-height: clamp(76px, 7.67vw, 114px); padding: 0 clamp(14px, 1.2vw, 18px) 0 clamp(16px, 2.8vw, 42px);
  background: var(--ink); color: var(--white);
}
.ssd-brand { grid-row: 1 / span 2; display: flex; align-items: center; gap: clamp(10px, 0.95vw, 14px); color: var(--yellow); text-decoration: none; }
.ssd-brand__disc { width: clamp(52px, 6.45vw, 96px); height: auto; }
.ssd-brand__words { display: block; padding-left: clamp(10px, 1vw, 15px); border-left: 2px solid var(--white); }
.ssd-brand__name { display: block; white-space: nowrap; font-size: clamp(1.25rem, 2.2vw, 2.1rem); line-height: 0.93; font-weight: 800; letter-spacing: 0.005em; text-transform: uppercase; }
.ssd-brand__phone {
  position: absolute; left: calc(clamp(16px, 2.8vw, 42px) + clamp(52px, 6.45vw, 96px) + clamp(10px, 0.95vw, 14px) + clamp(12px, 1.13vw, 17px));
  bottom: clamp(8px, 0.75vw, 12px);
  font-size: clamp(0.8125rem, 1.45vw, 1.4rem); line-height: 1; font-weight: 700; color: var(--white); text-decoration: none; white-space: nowrap;
}
.ssd-brand__phone:hover { color: var(--yellow); }
.ssd-brand:has(+ .ssd-brand__phone) .ssd-brand__name { margin-bottom: clamp(18px, 1.75vw, 26px); }

.ssd-nav { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin-left: clamp(1rem, 5vw, 5rem); }
.ssd-nav__list { display: flex; align-items: center; gap: clamp(0.8rem, 1.6vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.ssd-nav__list > li > a, .ssd-sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 0.3em; padding: 0.6em 0;
  background: none; border: 0; cursor: pointer;
  color: var(--white); font-family: var(--font); font-size: clamp(0.9375rem, 1.21vw, 1.15rem); font-weight: 400; text-decoration: none; white-space: nowrap;
}
.ssd-nav__list > li > a::after, .ssd-sub-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.ssd-nav__list > li > a:hover::after, .ssd-nav__list > li > a[aria-current="page"]::after,
.has-sub.is-open > .ssd-sub-toggle::after, .has-sub:hover > .ssd-sub-toggle::after { transform: scaleX(1); }
.ssd-sub-toggle .ssd-icon { transition: transform 240ms var(--ease-out); }
.has-sub.is-open > .ssd-sub-toggle .ssd-icon { transform: rotate(180deg); }
.ssd-nav__call { display: none; }
.ssd-top__cta { grid-column: 3; grid-row: 1 / span 2; min-height: clamp(48px, 3.77vw, 56px); padding: 0 clamp(0.9rem, 0.95vw, 1rem); font-size: clamp(0.9375rem, 1.27vw, 1.2rem); }
.ssd-menu-toggle { display: none; }

/* Mega panel */
.ssd-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); color: var(--ink); border-top: 4px solid var(--yellow);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.has-sub.is-open > .ssd-mega, .has-sub:focus-within > .ssd-mega {
  visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
}
/* Hover opening is handled in main.js with a close delay; the bridge keeps the pointer inside the menu
   while it crosses from the link down to the panel. */
.has-sub.is-open > .ssd-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(24px, 2.4vw, 40px); }
.ssd-mega__inner { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); max-width: var(--max); margin: 0 auto; padding: clamp(1.75rem, 2.5vw, 2.5rem) var(--gutter) clamp(2rem, 3vw, 2.75rem); }
.ssd-mega ul { margin: 0; padding: 0; list-style: none; }
.ssd-mega__title { margin: 0 0 1rem; font-size: 0.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); }
.ssd-mega__services ul { display: grid; gap: 0.75rem; }
.ssd-mega__service { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 0.6rem; border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 0.9375rem; line-height: 1.5; transition: background-color 180ms var(--ease-out); }
.ssd-mega__service img { width: 148px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.ssd-mega__service strong { display: flex; align-items: center; gap: 0.4em; margin-bottom: 0.2rem; color: var(--ink); font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.01em; }
.ssd-mega__service strong .ssd-icon { color: var(--red); transition: transform 180ms var(--ease-out); }
.ssd-mega__service:hover { background: var(--white); }
.ssd-mega__service:hover strong .ssd-icon { transform: translateX(4px); }
.ssd-mega__help li + li { border-top: 1px solid var(--line); }
.ssd-mega__help a { display: block; padding: 0.7rem 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.ssd-mega__help a:hover { color: var(--red); }
.ssd-mega__card { display: grid; justify-items: start; align-content: start; gap: 0.6rem; padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.ssd-mega__card img { width: 120px; margin: -0.25rem 0 0.25rem; }
.ssd-mega__card-title { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.015em; }
.ssd-mega__card p:not(.ssd-mega__card-title) { margin: 0 0 0.4rem; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.ssd-mega__tel { display: inline-flex; align-items: center; gap: 0.45em; color: var(--yellow); font-weight: 700; text-decoration: none; }
.ssd-mega__tel:hover { color: var(--white); }

/* ---------- Hero: the sunlit room, the promise, the seal ---------- */
.hero { position: relative; overflow: hidden; min-height: max(540px, 46.07vw); background: var(--cream); isolation: isolate; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo { z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 55% 75% at 22% 45%, rgba(253, 249, 244, 0.78), rgba(253, 249, 244, 0.35) 55%, rgba(253, 249, 244, 0) 80%); }
.hero__photo img { object-fit: cover; object-position: 50% 42%; }
.hero__copy { position: relative; padding: 4.24vw 0 3.5vw 3.5vw; max-width: 48vw; }
.hero__copy .rule--red { margin-bottom: 2.4vw; }
.hero h1 {
  margin: 0; font-size: var(--h1); line-height: 0.885; font-weight: 800; letter-spacing: -0.038em; color: var(--ink);
  text-wrap: balance;
}
.hero h1 > span { display: block; white-space: nowrap; }
.hero__copy .rule--yellow { margin: 1.95vw 0 2.75vw; }
.ssd-btn--hero { min-height: clamp(56px, 4.84vw, 72px); padding: 0 clamp(1.2rem, 1.95vw, 1.9rem); gap: 0.6em; font-size: clamp(1.125rem, 2.1vw, 2rem); font-weight: 600; letter-spacing: -0.01em; box-shadow: 0 16px 30px -16px rgba(150, 10, 14, 0.6); }
.ssd-btn--hero .ssd-icon { width: 1em; height: 1em; stroke-width: 2.5; }
.hero__seal { position: absolute; top: 3vw; left: 70.75%; width: 27.17%; display: grid; justify-items: center; color: var(--ink); text-decoration: none; }
.hero__seal img { width: 100%; filter: drop-shadow(0 18px 22px rgba(70, 40, 10, 0.32)); transition: transform 400ms var(--ease-out); }
.hero__seal:hover img { transform: rotate(-4deg) scale(1.02); }
.hero__seal-caption { white-space: nowrap; margin-top: 0.15vw; font-size: clamp(1rem, 1.68vw, 1.6rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 0 18px rgba(255, 248, 235, 0.95), 0 0 4px rgba(255, 248, 235, 0.9); }
.hero__seal .rule--yellow { margin-top: 0.55vw; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); padding: clamp(1.25rem, 1.75vw, 1.75rem) clamp(16px, 3.5vw, 52px) clamp(1.5rem, 2.4vw, 2.25rem); }
.trust__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(0.75rem, 1.5vw, 1.4rem); row-gap: clamp(0.4rem, 0.7vw, 0.65rem); align-items: center; align-content: start; padding: 0 clamp(1rem, 2.6vw, 2.5rem); }
.trust__item:first-child { padding-left: 0; }
.trust__item:last-child { padding-right: 0; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: clamp(44px, 4.6vw, 70px); height: auto; color: var(--red); stroke-width: 1.5; }
.trust__icon--wide { width: clamp(52px, 5.4vw, 80px); height: clamp(44px, 4.6vw, 70px); }
.trust__head { margin: 0; font-size: clamp(1.25rem, 2.3vw, 2.15rem); line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; }
.trust__item p { grid-column: 1 / -1; margin: 0; max-width: 21em; font-size: clamp(0.9375rem, 1.3vw, 1.2rem); line-height: 1.17; font-weight: 500; color: var(--ink-2); }

/* ---------- Inspection band (the short form) ---------- */
.inspect {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); align-items: end; gap: 1rem clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 3.5vw, 3rem) var(--pad); background: var(--ink); color: var(--white);
}
.inspect__intro h2 { margin: 0 0 0.35em; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.inspect__intro p { margin: 0; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.ssd-form--quick .ssd-form__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0.75rem; align-items: end; }
.ssd-form--quick .ssd-field__label { color: var(--white); font-size: 0.875rem; }
.ssd-form--quick .ssd-opt { color: rgba(255, 255, 255, 0.6); }
.ssd-form--quick .ssd-req { color: var(--yellow); }
.ssd-form--quick .ssd-field input { min-height: 56px; border: 2px solid transparent; border-radius: var(--radius); background: var(--white); }
.ssd-form--quick .ssd-field input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(247, 204, 8, 0.35); }
.ssd-form--quick .ssd-btn { min-height: 56px; font-size: 1.0625rem; }
.inspect__call { grid-column: 2; margin: -0.25rem 0 0; font-size: var(--small); color: rgba(255, 255, 255, 0.75); }
.inspect__call a { color: var(--yellow); font-weight: 700; text-underline-offset: 0.2em; }
.inspect .ssd-notice { grid-column: 1 / -1; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec-gap) var(--pad) 0; }
.sec h2, .towns h2, .promise h2 { margin: 0 0 0.45em; font-size: var(--h2); line-height: 1; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.sec h3 { margin: 0 0 0.45em; font-size: var(--h3); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
.sec p, .sec li { font-size: var(--fs-body); line-height: 1.65; }
.sec p { margin: 0 0 1em; }
.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.sec__head .lede { margin: 0; }
.lede { font-size: var(--lede) !important; line-height: 1.5 !important; font-weight: 500; max-width: 40rem; margin: 0 0 1.25em; color: var(--ink-2); }
.answer { font-size: var(--lede) !important; line-height: 1.55 !important; font-weight: 500; }
.sec a:not(.ssd-btn) { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none !important; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.arrow .ssd-icon { color: var(--red); transition: transform 180ms var(--ease-out); }
.arrow:hover .ssd-icon { transform: translateX(4px); }
.more { display: flex; flex-wrap: wrap; gap: 0.75em 2em; margin-top: 1.75em !important; }
.small { font-size: var(--small) !important; }

/* What is salt damp: the answer, beside the signs card */
.whatis { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.whatis__text p { max-width: 38rem; }
.signs { padding: clamp(1.25rem, 2.2vw, 2rem); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.signs__pic { margin: calc(-1 * clamp(1.25rem, 2.2vw, 2rem)) calc(-1 * clamp(1.25rem, 2.2vw, 2rem)) 1.5rem; }
.signs__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 30% 60%; border-radius: 12px 12px 0 0; }
.signs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.25rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.signs__list li { position: relative; padding-left: 1.5rem; font-size: var(--small) !important; line-height: 1.45 !important; font-weight: 600; }
.signs__list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(213, 16, 24, 0.15); }
.signs__note { margin: 0 !important; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--small) !important; line-height: 1.55 !important; color: var(--muted); }

/* Two methods: photo-led, side by side */
.methods__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.method { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.method__pic { position: relative; display: block; overflow: hidden; }
.method__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 700ms var(--ease-out); }
.method:hover .method__pic img { transform: scale(1.04); }
.method__tag { position: absolute; left: 1rem; top: 1rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.01em; }
.method__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.method__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); letter-spacing: -0.03em; }
.method__best { padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--cream); font-size: var(--small) !important; }
.method__body .ssd-btn { margin-top: auto; }

/* How a job runs: four steps on one damp-course line */
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process__steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 6px; background: var(--ink); }
.process__steps li { position: relative; counter-increment: step; }
.process__steps li > .ssd-icon { position: relative; box-sizing: content-box; width: 28px; height: 28px; padding: 16px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 0 0 6px var(--paper); }
.process__steps li::after { content: counter(step); position: absolute; left: 44px; top: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 0.8125rem; font-weight: 800; }
.process__steps h3 { font-size: 1.25rem; }
.process__steps p { margin: 0; font-size: var(--small) !important; line-height: 1.55 !important; color: var(--muted); }

/* Guarantee and price promise: the dark band */
.promise { margin-top: var(--sec-gap); padding: clamp(3rem, 6vw, 5.5rem) var(--pad); background: var(--ink); color: var(--white); overflow: hidden; }
.promise__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.promise__seal { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }
.promise h2 { color: var(--white); max-width: 16ch; }
.promise__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(1.5rem, 2.5vw, 2rem); }
.promise__cols > div { padding-top: 1.25rem; border-top: 4px solid var(--yellow); }
.promise h3 { margin: 0 0 0.4em; font-size: var(--h3); font-weight: 800; color: var(--yellow); letter-spacing: -0.015em; }
.promise p { margin: 0 0 1rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.promise .arrow { color: var(--white); border-color: var(--yellow); }
.promise .arrow .ssd-icon { color: var(--yellow); }

/* Family: the villa beside the facts */
.family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.family__pic { margin: 0; }
.family__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.facts { display: grid; gap: 0; margin: 0 0 0.5rem; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); line-height: 1.45 !important; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; }
.facts span { color: var(--muted); }

/* Letters */
.letters__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.letter { margin: 0; }
.letter img { width: 100%; height: 300px; object-fit: contain; padding: 16px; border-radius: 12px; background: var(--tone); }
.letter figcaption { margin-top: 1rem; font-size: var(--fs-body); line-height: 1.55; }
.letter q { quotes: "\201C" "\201D"; font-weight: 500; }
.letter cite { display: block; margin-top: 0.5em; font-style: normal; font-weight: 800; font-size: var(--small); color: var(--red); }

/* Towns: the yellow band */
.towns { margin-top: var(--sec-gap); padding: clamp(3rem, 5vw, 4.5rem) var(--pad); background: var(--yellow); color: var(--ink); }
.towns__inner { max-width: 68rem; }
.towns__list { margin: 0; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.55; font-weight: 600; }
.towns__note { margin: 1.25em 0 0; font-size: var(--fs-body); line-height: 1.6; font-weight: 800; }

/* FAQ: accordion */
.faq__list { max-width: 56rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 1.35rem 3rem 1.35rem 0; cursor: pointer; list-style: none; font-size: var(--h3); line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: no-repeat center / 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d51018' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform 240ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--red); }
.faq details > div { padding: 0 0 1.5rem; max-width: 46rem; }
.faq details p { margin: 0; color: var(--ink-2); }
.faq details a { font-weight: 700; }

/* ---------- Inner pages: hero, step photos, body copy, related ---------- */
.ssd-pagehero { padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 0; background: none; color: var(--ink); border-bottom: 0; }
.ssd-pagehero .ssd-wrap, .ssd-pagehero__grid { max-width: none; margin: 0; padding: 0; display: block; }
.ssd-pagehero__copy { max-width: 52rem; }
.ssd-pagehero .ssd-breadcrumbs, .ssd-pagehero nav[aria-label*="read"] { margin: 0 0 1rem; font-size: var(--small); }
.ssd-pagehero .ssd-breadcrumbs a, .ssd-pagehero nav a { color: var(--ink); }
.ssd-pagehero__title { margin: 0; font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.ssd-pagehero .ssd-lede { margin: 1rem 0 0; max-width: 42rem; font-size: var(--lede); line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.ssd-pagehero .ssd-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.ssd-pagehero__media { display: none; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.steps li { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.8125rem; line-height: 1.35; font-weight: 600; }
.steps img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--tone); border-radius: 6px; }
.steps--page { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px 12px; }
.steps--page img { aspect-ratio: 4 / 3; }
.steps--page li { font-size: var(--small); }

.ssd-prose { padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad) 0; }
.ssd-prose > .wp-block-post-content { padding: 0 !important; }
.ssd-prose > .wp-block-post-content > * { margin-left: 0 !important; margin-right: 0 !important; max-width: 46rem; }
.ssd-prose .wp-block-image img { border-radius: 12px; }
.ssd-prose .wp-block-image figcaption { font-size: var(--small); color: var(--muted); }
.ssd-prose > .wp-block-post-content { max-width: none; }
.ssd-prose h2 { margin: 2em 0 0.5em; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.ssd-prose > .wp-block-post-content > h2:first-child { margin-top: 0; }
.ssd-prose h3 { margin: 1.6em 0 0.35em; font-size: var(--h3); line-height: 1.2; font-weight: 800; }
.ssd-prose p, .ssd-prose li { font-size: var(--fs-body); line-height: 1.7; }
.ssd-prose > .wp-block-post-content > p:first-child { font-size: var(--fs-body); }
.ssd-prose a { color: var(--ink); font-weight: 600; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; text-decoration-color: var(--red); }
.ssd-prose .wp-block-post-content > *:last-child:not(.alignfull) { margin-bottom: 0; }
.ssd-prose li::marker { color: var(--red); }
.ssd-lede { color: var(--ink-2); max-width: 42rem; }

.ssd-related { background: none; border-top: 0; padding-bottom: 0; }
.ssd-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; max-width: 46rem; }
.ssd-related__list li { padding: 1.25rem 1.5rem; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.ssd-related__list a { font-size: var(--h3); font-weight: 800; color: var(--ink); text-underline-offset: 0.2em; }
.ssd-related__list p { margin: 0.5rem 0 0; font-size: var(--small); line-height: 1.55; }

/* Our work: jobs as before-to-after sequences */
.ssd-job__head { max-width: 46rem; }
.ssd-job__head h2 { margin-bottom: 0.4em; }
.ssd-job__head a { font-weight: 700; }
.ssd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 12px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ssd-gallery--three { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ssd-gallery figure { margin: 0; }
.ssd-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tone); border-radius: 6px; }
.ssd-gallery figcaption { margin-top: 0.5rem; font-size: var(--small); line-height: 1.4; font-weight: 600; }

/* Letters page: each scan beside its transcription */
.ssd-scans { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.ssd-scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ssd-scan__img { display: block; background: var(--tone); padding: clamp(12px, 2vw, 20px); border-radius: 12px; }
.ssd-scan__img img { width: 100%; max-height: 520px; object-fit: contain; }
.ssd-scan blockquote { margin: 0; }
.ssd-scan blockquote p, .ssd-typed blockquote p { margin: 0 0 0.8em; font-size: var(--lede); line-height: 1.55; font-weight: 500; }
.ssd-scan__from { margin: 0; font-size: var(--small); font-weight: 700; }
.ssd-typed__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.ssd-typed__list li { padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.ssd-typed blockquote { margin: 0; }
.ssd-typed blockquote p { font-size: var(--fs-body); line-height: 1.6; }

/* ---------- Quote band: call first, the full form second ---------- */
.ssd-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); margin-top: var(--sec-gap); padding: var(--sec-gap) var(--pad); align-items: start; background: var(--cream); }
.ssd-quote h2 { margin: 0 0 0.45em; font-size: var(--h2); line-height: 1; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.ssd-quote .ssd-lede { margin: 0; font-size: var(--lede); }
.ssd-quote__tel { display: block; margin: 0.3em 0 0.5em; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); line-height: 1; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; color: var(--red); }
.ssd-quote__tel:hover { color: var(--ink); }
.ssd-quote__call p { font-size: var(--fs-body); line-height: 1.6; }
.ssd-quote__call a { color: var(--ink); }
.ssd-quote__form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.ssd-quote__form h3 { margin: 0 0 1rem; font-size: var(--h3); line-height: 1.2; font-weight: 800; }
.ssd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.ssd-form label { font-size: var(--small); font-weight: 700; }
.ssd-quote .ssd-form input, .ssd-quote .ssd-form textarea, .ssd-quote .ssd-form select {
  font: inherit; font-size: 1rem; font-weight: 400; padding: 0.7rem 0.85rem; min-height: 50px; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.ssd-quote .ssd-form input:focus, .ssd-quote .ssd-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247, 204, 8, 0.45); }

/* ---------- Footer ---------- */
.ssd-foot { background: var(--ink); color: rgba(255, 255, 255, 0.82); font-size: var(--small); line-height: 1.6; }
.ssd-foot a { color: var(--white); text-decoration: none; }
.ssd-foot a:hover { color: var(--yellow); }
.ssd-foot__band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(2.25rem, 4vw, 3.25rem) var(--pad); background: var(--red); color: var(--white); }
.ssd-foot__big { margin: 0 0 0.2em; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: var(--white); }
.ssd-foot__pitch p:not(.ssd-foot__big) { margin: 0; font-size: var(--fs-body); color: rgba(255, 255, 255, 0.9); }
.ssd-foot__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ssd-foot__actions .ssd-btn { min-height: 56px; font-size: 1.0625rem; }
.ssd-foot__actions .ssd-btn--yellow { color: var(--ink); }
.ssd-foot__actions .ssd-btn--yellow:hover { color: var(--ink); }
.ssd-foot__actions .ssd-btn--outline { border-color: rgba(255, 255, 255, 0.7); }
.ssd-foot__actions .ssd-btn--outline:hover { border-color: var(--white); background: var(--white); color: var(--red); }
.ssd-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); padding: clamp(3rem, 5vw, 4.5rem) var(--pad) clamp(2.5rem, 4vw, 3.5rem); }
.ssd-brand--foot { margin-bottom: 1.25rem; }
.ssd-brand--foot .ssd-brand__disc { width: 64px; }
.ssd-brand--foot .ssd-brand__name { font-size: 1.5rem; }
.ssd-foot__brand p { margin: 0 0 1.25rem; max-width: 22rem; }
.ssd-foot__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.ssd-foot__badges li { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.4rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: var(--white); font-size: 0.8125rem; font-weight: 700; }
.ssd-foot__badges .ssd-icon { color: var(--yellow); }
.ssd-foot__title { margin: 0 0 1rem; color: var(--yellow); font-size: 0.8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.ssd-foot__col ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ssd-foot__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ssd-foot__contact .ssd-icon { margin-top: 0.2em; color: var(--yellow); }
.ssd-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.25rem var(--pad) 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.ssd-foot__legal p { margin: 0; }
.ssd-foot__legal a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Motion: one authored moment (the hero settles in), reveals elsewhere, content visible without JS ---------- */
@keyframes ssd-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ssd-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ssd-seal { from { opacity: 0; transform: scale(0.86) rotate(-10deg); } to { opacity: 1; transform: none; } }
.js .hero h1 { animation: ssd-rise 900ms var(--ease-out) both 120ms; }
.js .hero__copy .rule { transform-origin: left; animation: ssd-draw 700ms var(--ease-out) both 420ms; }
.js .hero__copy .rule--red { animation-delay: 60ms; }
.js .ssd-btn--hero { animation: ssd-rise 800ms var(--ease-out) both 520ms; }
.js .hero__seal { animation: ssd-seal 1000ms var(--ease-out) both 650ms; }
.js [data-reveal="up"], .js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); }
.js [data-reveal="fade"] { opacity: 0; }
.js [data-reveal].is-in, .js [data-reveal="stagger"].is-in > * {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js [data-reveal="stagger"].is-in > * { transition-delay: calc(var(--i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Below desktop nav width: menu toggle and the panel ---------- */
@media (max-width: 1199px) {
  .ssd-top { grid-template-columns: auto 1fr auto auto; }
  .ssd-menu-toggle { grid-column: 4; grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: 0.5rem; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; }
  .ssd-menu-toggle__close, .ssd-menu-toggle[aria-expanded="true"] .ssd-menu-toggle__open { display: none; }
  .ssd-menu-toggle[aria-expanded="true"] .ssd-menu-toggle__close { display: block; }
  .ssd-top__cta { grid-column: 3; }
  .ssd-nav {
    position: absolute; left: 0; right: 0; top: 100%; grid-column: auto; margin-left: 0;
    height: calc(100dvh - var(--hdr, 114px)); overflow-y: auto; overscroll-behavior: contain;
    padding: 0.5rem var(--gutter) 1.5rem; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
  }
  .ssd-nav.is-open { display: block; }
  .ssd-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .ssd-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .ssd-nav__list > li > a, .ssd-sub-toggle { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.125rem; font-weight: 600; }
  .ssd-nav__list > li > a::after, .ssd-sub-toggle::after { display: none; }
  .ssd-nav__list > li > a[aria-current="page"] { color: var(--yellow); }
  .ssd-mega { position: static; display: none; visibility: visible; opacity: 1; transform: none; border-top: 0; box-shadow: none; background: transparent; color: var(--white); }
  .has-sub.is-open > .ssd-mega { display: block; }
  .has-sub:focus-within > .ssd-mega:not(.has-sub.is-open > .ssd-mega) { display: none; }
  .ssd-mega__inner { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 0 0 1.25rem; }
  .ssd-mega__title { color: var(--yellow); }
  .ssd-mega__service { grid-template-columns: 96px minmax(0, 1fr); color: rgba(255, 255, 255, 0.75); padding: 0.4rem 0; }
  .ssd-mega__service img { width: 96px; }
  .ssd-mega__service strong { color: var(--white); font-size: 1.0625rem; }
  .ssd-mega__service:hover { background: transparent; }
  .ssd-mega__help li + li { border-color: rgba(255, 255, 255, 0.12); }
  .ssd-mega__help a { color: var(--white); }
  .ssd-mega__card { display: none; }
  .ssd-nav__call { display: flex; justify-content: center; align-items: center; gap: 0.5em; margin-top: 1.25rem; min-height: 56px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.125rem; text-decoration: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .hero { min-height: 560px; }
  .hero__copy { max-width: 62vw; padding-top: 3.5rem; }
  .hero__seal { top: auto; bottom: 1.5rem; left: auto; right: 1.5rem; width: 220px; }
  .trust { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(2) { padding-right: 0; }
  .inspect { grid-template-columns: minmax(0, 1fr); }
  .inspect__call { grid-column: 1; }
  .whatis, .family, .promise__inner { grid-template-columns: minmax(0, 1fr); }
  .promise__seal { max-width: 280px; justify-self: start; }
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process__steps::before { display: none; }
  .letters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssd-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssd-foot__brand { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .ssd-promo p { font-size: 1rem; padding-block: 7px; }
  .ssd-top { min-height: 72px; padding: 8px 12px 8px 14px; column-gap: 0.5rem; --hdr: 96px; }
  .ssd-brand__disc { width: 46px; }
  .ssd-brand__words { padding-left: 9px; }
  .ssd-brand__name { font-size: 1.1875rem; margin-bottom: 0 !important; }
  .ssd-brand__phone { display: none; }
  .ssd-top__cta { display: none; }
  .ssd-menu-toggle { grid-column: 4; }

  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero__photo img { object-position: 22% 50%; }
  .hero__copy { max-width: none; padding: 2.25rem 16px 1.5rem; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); line-height: 0.92; max-width: 9ch; }
  .hero__copy .rule--red { margin-bottom: 1.25rem; }
  .hero__copy .rule--yellow { margin: 1.25rem 0 1.5rem; }
  .ssd-btn--hero { width: 100%; font-size: 1.1875rem; }
  .hero__seal { position: relative; inset: auto; width: 168px; align-self: flex-end; margin: 0 16px 1.25rem 0; }
  .hero__seal-caption { font-size: 1rem; white-space: normal; text-align: center; line-height: 1.15; }

  .trust { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .trust__item, .trust__item:nth-child(n) { padding: 1.1rem 0; border-left: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line); }
  .trust__icon { width: 40px; }
  .trust__icon--wide { width: 48px; height: 40px; }
  .trust__head { font-size: 1.375rem; }
  .trust__head br { display: none; }
  .trust__item p { font-size: 1rem; line-height: 1.4; }

  .ssd-form--quick .ssd-form__row { grid-template-columns: minmax(0, 1fr); }
  .ssd-form--quick .ssd-btn { width: 100%; }

  .signs__list { grid-template-columns: minmax(0, 1fr); }
  .methods__grid { grid-template-columns: minmax(0, 1fr); }
  .process__steps { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  .promise__cols { grid-template-columns: minmax(0, 1fr); }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .letters__grid, .ssd-scan, .ssd-quote, .ssd-form__grid { grid-template-columns: minmax(0, 1fr); }
  .letter img { height: 240px; }
  .faq summary { font-size: 1.1875rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .ssd-foot__band { flex-direction: column; align-items: stretch; }
  .ssd-foot__actions { flex-direction: column; }
  .ssd-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .ssd-foot__legal { flex-direction: column; }
}

/* Tap-to-call in the phone header */
.ssd-top__tel { display: none; }
@media (max-width: 760px) {
  .ssd-top__tel { grid-column: 3; grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); }
  .ssd-top__tel:hover { background: var(--yellow-hover); }
}

/* Hero subtitle and values line */
.hero__sub { margin: 1.35vw 0 0; max-width: 30em; font-size: clamp(1.125rem, 1.62vw, 1.55rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hero__values { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35em 0; margin: 0.9vw 0 0; padding: 0; font-size: clamp(0.8125rem, 1.02vw, 0.98rem); line-height: 1.3; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.hero__values span + span::before { content: ""; display: inline-block; width: 2px; height: 0.95em; margin: 0 0.85em; vertical-align: -0.1em; background: var(--red); }
.js .hero__sub, .js .hero__values { animation: ssd-rise 800ms var(--ease-out) both 300ms; }
@media (max-width: 760px) {
  .hero__sub { margin-top: 1rem; font-size: 1.125rem; }
  .hero__values { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.06em; }
  .hero h1 > span { white-space: normal; }
}

/* Phone number in the price bar */
.ssd-promo__tel { display: inline; margin-left: 0.6em; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.ssd-promo__tel .ssd-icon { width: 0.8em; height: 0.8em; margin-right: 0.3em; vertical-align: -0.06em; stroke-width: 2.5; }
.ssd-promo__tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (max-width: 760px) {
  .ssd-promo p { font-size: 0.9375rem; }
  .ssd-promo__tel { margin-left: 0.4em; }
}

/* ---------- Free quote side tab and modal (every page) ---------- */
.ssd-quote-tab {
  position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.1rem 0.7rem; border: 0; border-radius: var(--radius) 0 0 var(--radius);
  background: var(--red); color: var(--white); cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 800; letter-spacing: 0.01em;
  box-shadow: -8px 10px 28px -10px rgba(120, 8, 12, 0.55);
  transition: background-color 180ms var(--ease-out), padding 220ms var(--ease-out);
}
.ssd-quote-tab span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.ssd-quote-tab .ssd-icon { transform: rotate(-90deg); }
.ssd-quote-tab:hover { background: var(--red-hover); padding-right: 0.95rem; }
.ssd-quote-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ssd-nav-open .ssd-quote-tab, .ssd-modal-open .ssd-quote-tab { display: none; }

.ssd-modal { width: min(920px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); overflow: visible; }
.ssd-modal::backdrop { background: rgba(10, 10, 10, 0.62); backdrop-filter: blur(3px); }
.ssd-modal[open] { animation: ssd-modal-in 320ms var(--ease-out); }
@keyframes ssd-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.ssd-modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 12px; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.ssd-modal__close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3); }
.ssd-modal__close:hover { background: var(--yellow); }
.ssd-modal__call { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--ink); color: var(--white); }
.ssd-modal__title { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.ssd-modal__call p:not(.ssd-modal__title) { margin: 0; color: rgba(255, 255, 255, 0.82); line-height: 1.5; }
.ssd-modal__tel { flex-direction: column; align-items: flex-start; gap: 0.2rem; width: 100%; min-height: 0; margin-top: 0.5rem; padding: 0.9rem 1.1rem; font-size: 1rem; white-space: normal; text-align: left; }
.ssd-modal__tel { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; }
.ssd-modal__tel strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ssd-modal__points { display: grid; gap: 0.5rem; margin: auto 0 0; padding: 1rem 0 0; list-style: none; font-size: var(--small); font-weight: 600; }
.ssd-modal__points li { display: flex; gap: 0.5rem; align-items: flex-start; }
.ssd-modal__points .ssd-icon { margin-top: 0.15em; color: var(--yellow); }
.ssd-modal__form { padding: clamp(1.75rem, 3.5vw, 2.75rem); padding-top: clamp(2.5rem, 4vw, 3rem); }
.ssd-modal__subtitle { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; }
.ssd-form--modal { gap: 0.9rem; }
.ssd-form--modal .ssd-form__grid { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.ssd-form--modal .ssd-field input, .ssd-form--modal .ssd-field textarea { min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ssd-form--modal .ssd-field textarea { min-height: 84px; }
.ssd-form--modal .ssd-field input:focus, .ssd-form--modal .ssd-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247, 204, 8, 0.45); }
.ssd-form--modal .ssd-btn { min-height: 52px; }
@media (max-width: 760px) {
  .ssd-quote-tab { padding: 0.85rem 0.5rem; font-size: 0.875rem; gap: 0.45rem; }
  .ssd-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .ssd-modal__box { grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 16px); }
  .ssd-modal__points { display: none; }
  .ssd-form--modal .ssd-form__grid { grid-template-columns: minmax(0, 1fr); }
}
@media print { .ssd-quote-tab, .ssd-modal { display: none !important; } }

/* ---------- Contact page: call card beside the form, then what happens next ---------- */
.ssd-contact-page .ssd-pagehero { padding-bottom: 0; }
.ssd-contact { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: stretch; margin: 0; padding: clamp(2rem, 3.5vw, 3rem) var(--pad) 0; }
.ssd-contact h2 { margin: 0 0 0.4em; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.ssd-contact__call { position: relative; display: flex; flex-direction: column; gap: 1.25rem; overflow: hidden; padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: 12px; background: var(--ink); color: var(--white); }
.ssd-contact__call > p { margin: -0.5rem 0 0; color: rgba(255, 255, 255, 0.8); line-height: 1.55; }
.ssd-contact__tel { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--yellow); color: var(--ink); text-decoration: none; transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out); }
.ssd-contact__tel:hover { background: var(--yellow-hover); transform: translateY(-1px); }
.ssd-contact__tel span { display: grid; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.ssd-contact__tel small, .ssd-contact__lines small { display: block; margin-bottom: 0.3rem; font-size: 0.8125rem; line-height: 1; font-weight: 700; letter-spacing: 0.02em; }
.ssd-contact__lines { display: grid; gap: 1.1rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.ssd-contact__lines li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.85rem; align-items: start; line-height: 1.45; }
.ssd-contact__lines .ssd-icon { margin-top: 0.15rem; color: var(--yellow); }
.ssd-contact__lines small { color: rgba(255, 255, 255, 0.6); }
.ssd-contact__lines a { color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ssd-contact__lines a:hover { color: var(--yellow); }
.ssd-contact__seal { width: 170px; margin-top: auto; align-self: flex-start; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5)); }
.ssd-contact__form { padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.ssd-contact__form > p { margin: 0 0 1.5rem; max-width: 36rem; color: var(--muted); line-height: 1.55; }
.ssd-contact__form .ssd-form__grid { grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.ssd-contact__form .ssd-field input, .ssd-contact__form .ssd-field textarea { min-height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.ssd-contact__form .ssd-field textarea { min-height: 150px; }
.ssd-contact__form .ssd-field input:focus, .ssd-contact__form .ssd-field textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(247, 204, 8, 0.45); }
.ssd-contact__form .ssd-btn { min-height: 54px; font-size: 1.0625rem; }

.ssd-next { padding: var(--sec-gap) var(--pad) var(--sec-gap); }
.ssd-next h2 { margin: 0 0 clamp(1.5rem, 2.5vw, 2rem); font-size: var(--h2); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.ssd-next__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; counter-reset: next; }
.ssd-next__steps li { position: relative; padding-top: 1.5rem; border-top: 4px solid var(--ink); counter-increment: next; }
.ssd-next__steps li::after { content: counter(next); position: absolute; top: 1.4rem; right: 0; font-size: 3rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--tone); }
.ssd-next__steps .ssd-icon { box-sizing: content-box; padding: 12px; border-radius: 50%; background: var(--red); color: var(--white); }
.ssd-next__steps h3 { margin: 1rem 0 0.35rem; font-size: var(--h3); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
.ssd-next__steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.ssd-next__more { margin: 2rem 0 0; }
.ssd-next .arrow { color: var(--ink); }

@media (max-width: 1000px) {
  .ssd-contact { grid-template-columns: minmax(0, 1fr); }
  .ssd-contact__seal { display: none; }
}
@media (max-width: 760px) {
  .ssd-contact__form .ssd-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ssd-next__steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- About page ---------- */
.ab-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2rem, 3.5vw, 3rem) var(--pad) var(--sec-gap); }
.ab-intro__lead { margin: 0 0 1.25rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.ab-intro__text p:not(.ab-intro__lead) { margin: 0 0 1em; max-width: 36rem; line-height: 1.7; color: var(--ink-2); }
.ab-intro__pic { margin: 0; }
.ab-intro__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.ab-intro__pic figcaption { margin-top: 0.75rem; font-size: var(--small); color: var(--muted); }

.ab-facts { padding: clamp(2.5rem, 4.5vw, 4rem) var(--pad); background: var(--ink); color: var(--white); }
.ab-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.ab-facts li { display: grid; gap: 0.5rem; }
.ab-facts li::before { content: ""; display: block; width: 48px; height: 6px; margin-bottom: 0.5rem; background: var(--yellow); }
.ab-facts strong { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; color: var(--yellow); }
.ab-facts span { max-width: 14em; font-size: var(--fs-body); line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

.ab-trade { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: var(--sec-gap) var(--pad) 0; }
.ab-trade h2, .ab-stand h2, .ab-reach h2 { margin: 0 0 0.5em; font-size: var(--h2); line-height: 1; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.ab-trade__text p { margin: 0 0 1em; line-height: 1.7; color: var(--ink-2); }
.ab-trade .arrow, .ab-words .arrow { color: var(--ink); }
.ab-trade__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-trade__steps li { display: grid; gap: 0.6rem; font-size: var(--small); line-height: 1.4; font-weight: 600; }
.ab-trade__steps img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }

.ab-stand { padding: var(--sec-gap) var(--pad); }
.ab-stand__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ab-stand__head img { width: clamp(140px, 14vw, 200px); filter: drop-shadow(0 12px 18px rgba(30, 30, 80, 0.25)); }
.ab-stand__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.ab-stand__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.ab-stand__list .ssd-icon { color: var(--red); stroke-width: 1.7; }
.ab-stand__list h3 { margin: 0 0 0.3rem; font-size: 1.1875rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.ab-stand__list p { margin: 0; font-size: var(--small); line-height: 1.55; color: var(--muted); }
.ab-stand__list a { color: var(--ink); font-weight: 700; text-underline-offset: 0.2em; text-decoration-color: var(--red); }

.ab-reach { padding: clamp(3rem, 5vw, 4.5rem) var(--pad); background: var(--yellow); }
.ab-reach__inner { max-width: 54rem; }
.ab-reach p { margin: 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; font-weight: 500; }

.ab-words { padding: var(--sec-gap) var(--pad); }
.ab-words figure { max-width: 52rem; margin: 0 0 1.5rem; }
.ab-words blockquote { margin: 0; }
.ab-words blockquote p { position: relative; margin: 0; padding-left: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.ab-words blockquote p::before { content: "\201C"; position: absolute; left: 0; top: -0.15em; font-size: 2.2em; line-height: 1; color: var(--red); }
.ab-words figcaption { margin-top: 1rem; padding-left: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--small); font-weight: 700; color: var(--red); }

@media (max-width: 1000px) {
  .ab-intro, .ab-trade { grid-template-columns: minmax(0, 1fr); }
  .ab-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stand__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ab-intro__pic { order: -1; }
  .ab-trade__steps img { aspect-ratio: 3 / 4; }
  .ab-stand__list { grid-template-columns: minmax(0, 1fr); }
  .ab-stand__head img { width: 120px; }
}

/* Tables in page copy (privacy policy cookie table) */
.ssd-prose > .wp-block-post-content > .wp-block-table { width: 100%; max-width: 60rem; overflow-x: auto; }
.ssd-prose .wp-block-table table { font-size: var(--small); }
.ssd-prose .wp-block-table td:first-child { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Guides: expert box and related links ---------- */
.ssd-expert { margin: clamp(2.5rem, 4vw, 3.5rem) var(--pad) 0 !important; max-width: 46rem; padding: clamp(1.5rem, 2.5vw, 2rem); border: 0; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.ssd-expert .ssd-meta { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.ssd-expert__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ssd-expert__title span { color: var(--muted); }
.ssd-expert p:not(.ssd-meta) { color: var(--ink-2); }
.ssd-expert .ssd-textlink { color: var(--ink); font-weight: 700; text-decoration-color: var(--red); }
.ssd-related { padding: var(--sec-gap) var(--pad); }
.ssd-related h2 { margin: 0 0 1.25rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.ssd-related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.ssd-related__list li { display: flex; flex-direction: column; }
.ssd-related__list a { font-size: 1.25rem; line-height: 1.2; text-decoration: none; }
.ssd-related__list a:hover { color: var(--red); }
@media (max-width: 1000px) { .ssd-related__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Archive cards (Guides hub, services archive) ---------- */
.ssd-archive { padding: clamp(2rem, 3.5vw, 3rem) var(--pad) var(--sec-gap); }
.ssd-archive .ssd-wrap { max-width: none; padding: 0; }
.ssd-cards--archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.ssd-archive .ssd-card { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.5rem, 2.5vw, 2rem); border: 0; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.ssd-archive .ssd-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -20px rgba(28, 20, 10, 0.4); }
.ssd-archive .ssd-card__icon { display: none; }
.ssd-archive .ssd-card__title { margin: 0; font-size: 1.375rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.ssd-archive .ssd-card__link { color: var(--ink); text-decoration: none; }
.ssd-archive .ssd-card__text { margin: 0; color: var(--muted); line-height: 1.55; }
.ssd-archive .ssd-card__more { margin-top: auto; padding-top: 0.5rem; color: var(--red); font-weight: 700; }
