/* =========================================================
   Eden Roofing — styles
   Brand: navy + gold (from logo), warm cream neutrals
   ========================================================= */

:root {
  /* Brand */
  --navy: #13284a;
  --navy-deep: #0b1a32;
  --navy-soft: #1d3a66;
  --gold: #c9a04f;
  --gold-light: #e0bd70;
  --gold-dark: #8a6a26;

  /* Neutrals */
  --paper: #fbf9f5;
  --cream: #f3ede1;
  --line: #e2dccf;
  --ink: #13284a;
  --body: #3d4a5c;
  --on-dark: #ffffff;
  --on-dark-muted: #c6cfdc;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;

  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px -12px rgba(11, 26, 50, .25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  margin: 0 0 var(--s2);
  letter-spacing: .005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); text-transform: uppercase; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(1200px, 100% - 2 * var(--s3)); margin-inline: auto; }
@media (max-width: 480px) { .container { width: calc(100% - 2 * var(--s2)); } }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy-deep); padding: 12px 18px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: var(--s2); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.section-light :focus-visible, .section-cream :focus-visible, .site-header :focus-visible { outline-color: var(--navy); }

.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--gold-light);
  margin-bottom: var(--s2);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--gold-dark); }
@media (max-width: 480px) { .eyebrow { letter-spacing: .1em; font-size: .9rem; gap: 10px; } .eyebrow::before { width: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn svg { font-size: 1.15em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.2rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(11, 26, 50, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: var(--header-h); }
.brand img { height: 60px; width: auto; }

.primary-nav ul { display: flex; gap: var(--s4); }
.primary-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--navy); text-decoration: none;
  padding: 8px 0; position: relative;
}
.primary-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav a:not(.btn):hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: .03em;
}
.header-phone svg { color: var(--gold-dark); }
.header-phone:hover { color: var(--navy-soft); }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1080px) {
  .primary-nav ul { gap: var(--s3); }
  .header-phone span { display: none; }
  .header-phone { width: 48px; height: 48px; justify-content: center; font-size: 1.4rem; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: var(--s3); box-shadow: 0 20px 30px -20px rgba(11, 26, 50, .4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a:not(.btn) { display: block; padding: 14px 0; font-size: 1.35rem; border-bottom: 1px solid var(--line); }
  .primary-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: var(--s3); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 820px); min-height: min(88dvh, 820px);
  display: flex; align-items: center;
  background: var(--navy-deep); color: var(--on-dark);
  padding: var(--s7) 0 var(--s6);
}
/* Home hero fills exactly one screen below the header, so the whole thing is visible without scrolling.
   Type and spacing scale with screen height (vh) as well as width. */
.hero:not(.hero-sub) {
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding: clamp(16px, 4vh, 64px) 0;
}
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-media img { object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 26, 50, .95) 0%, rgba(11, 26, 50, .82) 42%, rgba(11, 26, 50, .35) 100%),
    linear-gradient(0deg, rgba(11, 26, 50, .7) 0%, rgba(11, 26, 50, 0) 40%);
}
.hero-content { max-width: 1200px; }
.hero .eyebrow { margin-bottom: clamp(8px, 2vh, 16px); }
.hero h1 {
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.5rem, min(8vw, 10vh), 6.25rem); line-height: .92; margin-bottom: clamp(12px, 2.6vh, 24px);
  max-width: 14ch;
}
.hero-lede { font-size: clamp(1rem, min(1.6vw, 2.2vh), 1.3rem); color: var(--on-dark-muted); max-width: 54ch; margin-bottom: clamp(16px, 3.6vh, 32px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.8vh, 16px); margin-bottom: clamp(16px, 4.5vh, 48px); }
.hero-chips { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; color: #fff; font-size: 1rem;
}
.hero-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@media (max-height: 700px) {
  .hero:not(.hero-sub) .hero-chips { display: none; }
  .hero:not(.hero-sub) .hero-ctas { margin-bottom: 0; }
  .hero:not(.hero-sub) .btn-lg { min-height: 48px; padding-block: 10px; }
}

@media (max-width: 600px) {
  .hero { padding: var(--s6) 0 var(--s5); min-height: auto; }
  .hero:not(.hero-sub) { padding: clamp(20px, 4vh, 40px) 0; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 26, 50, .78), rgba(11, 26, 50, .92)); }
  .hero-ctas .btn { width: 100%; }
  .hero:not(.hero-sub) .hero-lede { font-size: 1rem; line-height: 1.55; }
}
@media (max-width: 600px) and (max-height: 760px) {
  .hero:not(.hero-sub) .hero-chips { display: none; }
  .hero:not(.hero-sub) .hero-ctas { margin-bottom: 0; }
  .hero:not(.hero-sub) .btn-lg { min-height: 50px; padding-block: 10px; font-size: 1.1rem; }
}

/* ---------- Brands strip ---------- */
.brands {
  background: var(--navy); color: var(--on-dark-muted);
  border-top: 3px solid var(--gold);
}
.brands-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; flex-wrap: wrap; }
.brands-label { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .18em; font-size: .95rem; color: var(--gold-light); }
.brands-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.brand-chip {
  display: grid; place-items: center; height: 76px; width: 172px; padding: 10px 18px;
  background: #fff; border-radius: var(--radius);
}
.brand-chip img { height: 52px; width: auto; max-width: 136px; object-fit: contain; }
.brand-chip img[src*="owens-corning"], .brand-chip img[src*="davinci"] { height: 58px; }
@media (max-width: 600px) { .brand-chip img { height: 44px; } .brand-chip img[src*="owens-corning"], .brand-chip img[src*="davinci"] { height: 50px; } }
.brand-chip-text { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
@media (max-width: 600px) {
  .brands-list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: var(--s1); }
  .brand-chip { width: auto; height: 68px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
@media (max-width: 700px) { .section { padding: var(--s6) 0; } }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-deep); color: var(--on-dark-muted); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head p:last-child { font-size: 1.15rem; margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); counter-reset: none; }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s4); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.service-card:hover { border-color: #d4c9b0; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleY(1); }
.service-num { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; color: var(--gold-dark); margin-bottom: var(--s3); }
.service-icon { font-size: 2.4rem; color: var(--navy); stroke-width: 1.6; margin-bottom: var(--s2); }
.service-card h3 { font-size: 1.65rem; margin-bottom: var(--s1); }
.service-card p { margin: 0; }

/* ---------- Services list (click a service to see details) ---------- */
.svc { display: grid; gap: 12px; }
.svc-heading { margin: 0; font: inherit; text-transform: none; letter-spacing: 0; }
.svc-trigger {
  display: flex; align-items: center; gap: var(--s2); width: 100%; min-height: 88px; padding: var(--s2) var(--s3) var(--s2) var(--s2);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px -10px rgba(11, 26, 50, .35);
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.svc-trigger:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-icon-wrap {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.svc-icon { font-size: 1.7rem; stroke-width: 1.7; }
.svc-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.svc-num { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.svc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.svc-desc { font-size: .98rem; color: var(--body); }
.svc-arrow { font-size: 1.4rem; color: var(--gold-dark); transition: transform .25s var(--ease); }

/* Selected service */
.svc-item.is-open .svc-trigger { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow); transform: none; }
.svc-item.is-open .svc-icon-wrap { background: var(--gold); color: var(--navy-deep); }
.svc-item.is-open .svc-num { color: var(--gold-light); }
.svc-item.is-open .svc-name { color: #fff; }
.svc-item.is-open .svc-desc { color: var(--on-dark-muted); }
.svc-item.is-open .svc-arrow { color: var(--gold-light); transform: translateX(4px); }
.svc-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Details panel — photo sits inset with a frame of white around it */
.svc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-panel > img, .svc-brand-media {
  display: block; width: calc(100% - 2 * var(--s3)); margin: var(--s3) var(--s3) 0;
  aspect-ratio: 2 / 1; max-height: 260px; object-fit: cover; border-radius: var(--radius);
}
.svc-brand-media {
  display: flex; align-items: center; justify-content: center; gap: var(--s4); padding: var(--s3);
  background: linear-gradient(135deg, var(--cream), #fff 75%); border: 1px solid var(--line);
}
.svc-brand-media img { height: 60px; width: auto; max-width: 40%; object-fit: contain; }
.svc-brand-media img[src*="davinci"] { height: 84px; }
.svc-brand-divider { width: 1px; align-self: stretch; margin: var(--s3) 0; background: var(--line); }
.svc-body { padding: var(--s3) var(--s4) var(--s4); }
.svc-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 2rem; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s1); line-height: 1.05; }
.svc-body > p { font-size: 1.08rem; }
.svc-body .check-list { margin: var(--s2) 0 var(--s3); }
.svc-panel:not([hidden]) { animation: svc-in .3s var(--ease); }
@keyframes svc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Desktop: list on the left, details on the right */
@media (min-width: 960px) {
  .svc { grid-template-columns: minmax(340px, .85fr) 1.15fr; column-gap: var(--s5); row-gap: 12px; align-items: start; }
  .svc-item { display: contents; }
  .svc-heading { grid-column: 1; }
  .svc-panel { grid-column: 2; grid-row: 1 / span 6; box-shadow: var(--shadow); }
}
/* Phone/tablet: accordion — details drop down under the tapped service */
@media (max-width: 959px) {
  .svc { gap: 10px; }
  .svc-item.is-open .svc-trigger { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .svc-item.is-open .svc-arrow { transform: rotate(90deg); }
  .svc-panel { border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .svc-panel > img, .svc-brand-media { width: calc(100% - 2 * var(--s2)); margin: var(--s2) var(--s2) 0; max-height: 200px; }
  .svc-brand-media img { height: 44px; }
  .svc-brand-media img[src*="davinci"] { height: 60px; }
  .svc-body { padding: var(--s2) var(--s2) var(--s3); }
  .svc-body h4 { display: none; }
  .svc-body .btn { width: 100%; }
  .svc-trigger { padding: 12px var(--s2) 12px 12px; min-height: 76px; }
  .svc-icon-wrap { width: 48px; height: 48px; }
  .svc-name { font-size: 1.4rem; }
}

.inspection-banner {
  margin-top: var(--s5); display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--navy); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: var(--s4) var(--s5);
  background-image: linear-gradient(115deg, var(--navy) 60%, var(--navy-soft));
}
.inspection-banner h3 { color: #fff; font-size: 2rem; margin-bottom: var(--s1); }
.inspection-banner p { margin: 0; max-width: 56ch; }
.inspection-banner strong { color: #fff; }
.inspection-banner .btn { flex: none; white-space: nowrap; }
@media (max-width: 800px) { .inspection-banner { flex-direction: column; align-items: flex-start; padding: var(--s4); } .inspection-banner .btn { width: 100%; } }

/* ---------- Split feature ---------- */
.split-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s6); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-media::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: 0;
}
.split-media img { position: relative; z-index: 1; }
.split-reverse .split-media::before { inset: 20px 20px -20px -20px; }
.split-copy p { font-size: 1.125rem; }
@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .split-reverse .split-media { order: 0; }
  .split-media::before, .split-reverse .split-media::before { inset: 14px -10px -14px 10px; }
}

.check-list { display: grid; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-navy .check-list strong { color: #fff; }
.check-list-dark strong { color: var(--ink); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.process li { border-top: 3px solid var(--navy); padding-top: var(--s3); }
.process-step { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--gold); margin-bottom: var(--s2); }
.process h3 { margin-bottom: var(--s1); }
.process p { margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); row-gap: var(--s5); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: .85fr 1fr; gap: var(--s6); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-photo figcaption {
  position: absolute; left: var(--s3); bottom: var(--s3);
  background: rgba(11, 26, 50, .85); color: #fff; padding: 8px 14px; border-radius: var(--radius);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem;
}
.about-lede { font-size: 1.35rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.about-quote {
  margin: var(--s4) 0 0; padding: var(--s4); background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.about-quote p { font-size: 1.3rem; font-style: italic; color: var(--ink); line-height: 1.5; }
.about-quote footer { display: flex; flex-direction: column; }
.signature { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.sig-role { font-size: .95rem; color: var(--gold-dark); font-weight: 600; }
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .about-photo { position: relative; top: 0; max-width: 520px; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s6); border-top: 1px solid var(--line); }
.values li { padding: var(--s4) var(--s3) 0; border-left: 1px solid var(--line); }
.values li:first-child { border-left: 0; padding-left: 0; }
.values strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.25rem; line-height: 1; color: var(--navy); margin-bottom: var(--s1); }
.values span { font-size: 1rem; }
@media (max-width: 800px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li { border-left: 0; padding-left: 0; }
}

/* ---------- Before / After ---------- */
.ba-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s6); align-items: center; }
.ba-copy p { font-size: 1.125rem; }
.ba-figure { margin: 0; }
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--line);
  user-select: none; -webkit-user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: var(--s2); z-index: 2; pointer-events: none;
  padding: 6px 14px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .14em;
  transition: opacity .2s var(--ease);
}
.ba-label-before { left: var(--s2); background: rgba(11, 26, 50, .85); color: #fff; }
.ba-label-after { right: var(--s2); background: var(--gold); color: var(--navy-deep); }
.ba[data-near="left"] .ba-label-before, .ba[data-near="right"] .ba-label-after { opacity: 0; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 4px; margin-left: -2px;
  background: #fff; box-shadow: 0 0 0 1px rgba(11, 26, 50, .25), 0 0 16px rgba(0, 0, 0, .35); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep); border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font-size: 1.5rem;
  transition: transform .15s var(--ease);
}
.ba-knob svg { stroke-width: 2.5; }
.ba:hover .ba-knob, .ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.08); }

/* The range input covers the whole image: drag or tap anywhere, plus full keyboard support */
.ba-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 56px; height: 100%; border: 0; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--navy); outline-offset: 3px; }

.ba-caption {
  margin-top: var(--s2); font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink);
}
@media (max-width: 900px) { .ba-inner { grid-template-columns: 1fr; gap: var(--s5); } }
@media (max-width: 480px) { .ba-knob { width: 48px; height: 48px; } .ba-label { font-size: .85rem; padding: 4px 10px; } }

/* ---------- Gallery ---------- */
.gallery-controls { display: flex; align-items: center; gap: var(--s2); }
.gallery-count { font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; color: #fff; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.icon-btn {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; font-size: 1.4rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: var(--s3);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--s3), (100vw - 1200px) / 2) var(--s2);
  scroll-padding-inline: max(var(--s3), (100vw - 1200px) / 2);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.gallery-item { margin: 0; scroll-snap-align: start; position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.gallery-item figcaption {
  margin-top: var(--s2); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: #fff;
}

/* ---------- Trust ---------- */
.trust-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: center; }
.promise-list { display: grid; gap: var(--s4); margin-top: var(--s4); }
.promise-list li { display: flex; gap: var(--s3); }
.promise-list svg { font-size: 2rem; color: var(--gold-dark); stroke-width: 1.7; margin-top: 2px; }
.promise-list h3 { font-size: 1.4rem; margin-bottom: 4px; }
.promise-list p { margin: 0; }
.trust-badges { display: grid; grid-template-columns: .8fr 1fr; gap: var(--s4); align-items: center; }
.seal { width: 100%; max-width: 240px; justify-self: center; filter: drop-shadow(0 12px 20px rgba(11, 26, 50, .2)); }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); text-align: center; }
.review-card img { width: 180px; margin: 0 auto var(--s2); }
.review-card .btn { width: 100%; }
@media (max-width: 900px) { .trust-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trust-badges { grid-template-columns: 1fr; } .seal { max-width: 180px; } }

/* ---------- Areas ---------- */
.areas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.areas-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s4) 0; }
.areas-cols h3 { font-size: 1.3rem; color: var(--gold-dark); border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: var(--s2); }
.areas-cols li { padding: 4px 0; color: var(--ink); font-weight: 500; }
.areas-note a { color: var(--navy); font-weight: 600; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .areas-inner { grid-template-columns: 1fr; } .map-frame { aspect-ratio: 4 / 3; } }

/* Town chips (home page + location pages) */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips a, .area-chips span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.area-chips a { background: #fff; color: var(--navy); border: 1.5px solid var(--line); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.area-chips a:hover { border-color: var(--gold); background: #fffaf0; }
.area-chips a svg { color: var(--gold-dark); }
.area-chips span { color: var(--body); border: 1.5px dashed #d6ccb8; font-weight: 500; }
.area-chips .area-chip-all { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-chips .area-chip-all:hover { background: var(--navy-soft); }
.area-chips .area-chip-all svg { color: var(--gold-light); }
.area-chips-sm { gap: 8px; }
.area-chips-sm a, .area-chips-sm span { min-height: 40px; padding: 6px 14px; font-size: .95rem; }
.areas-cols .area-chips li { padding: 0; }
.areas-also { margin: var(--s2) 0 0; font-size: .98rem; }
.areas-also strong { color: var(--ink); }
.areas-group h3 { font-size: 1.3rem; color: var(--gold-dark); border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: var(--s2); }
.areas-inner .areas-cols { grid-template-columns: 1fr; gap: var(--s4); }
.areas-note a + a { margin-left: 6px; }

/* ---------- Location pages ---------- */
.hero-sub { min-height: auto; padding: var(--s6) 0; }
.hero-sub h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); max-width: 16ch; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; margin-bottom: var(--s3); }
.breadcrumbs li { color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--gold-light); }

.focus-list { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--s1); }
.focus-list li { position: relative; padding-left: 18px; color: #fff; font-weight: 500; }
.focus-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.local-about { display: grid; grid-template-columns: 300px 1fr; gap: var(--s6); align-items: center; }
.local-about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); }
.local-about p { font-size: 1.125rem; }
.local-quote { margin: var(--s3) 0 0; padding-left: var(--s3); border-left: 4px solid var(--gold); font-size: 1.25rem; font-style: italic; color: #fff; line-height: 1.5; }
.local-quote span { display: block; margin-top: var(--s1); font-style: normal; font-size: 1rem; color: var(--gold-light); font-weight: 600; }
@media (max-width: 800px) { .local-about { grid-template-columns: 1fr; gap: var(--s4); } .local-about img { max-width: 280px; } }

.hub-group + .hub-group { margin-top: var(--s6); }
.hub-group h2 { border-bottom: 3px solid var(--gold); padding-bottom: var(--s1); margin-bottom: var(--s4); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s2); }
.area-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: var(--s3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.area-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.area-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.area-card-meta { font-size: .95rem; color: var(--body); }
.hub-more { margin-top: var(--s3); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: var(--s3) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--gold);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq-list details p { padding-bottom: var(--s3); margin: 0; max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s6); align-items: start; }
.contact-copy p { font-size: 1.15rem; }
.contact-phone {
  display: inline-flex; flex-direction: column; margin: var(--s3) 0 var(--s4); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; color: #fff;
}
.contact-phone span { font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; font-weight: 600; }
.contact-phone:hover { color: var(--gold-light); }
.contact-details { display: grid; gap: var(--s2); }
.contact-details li { display: flex; gap: var(--s2); align-items: flex-start; }
.contact-details svg { font-size: 1.4rem; color: var(--gold); margin-top: 3px; }
.contact-details a { color: #fff; }

.contact-form { background: var(--paper); color: var(--body); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.section-navy .contact-form h3 { color: var(--ink); }
.contact-form h3 { font-size: 1.9rem; margin-bottom: var(--s3); }
.contact-form :focus-visible { outline-color: var(--navy); }
.field { margin-bottom: var(--s3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc7b6; border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 160, 79, .45); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-error { color: #b42318; font-size: .95rem; font-weight: 500; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-error-summary { background: #fdecea; border: 1px solid #f3b8b1; color: #8a1c12; border-radius: var(--radius); padding: var(--s2); margin-bottom: var(--s3); }
.form-error-summary ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.form-error-summary a { color: inherit; }
.form-status { margin: var(--s2) 0 0; font-weight: 600; }
.form-status.is-success { color: #1d6b3a; }
.form-status.is-error { color: #b42318; }
.form-status:empty { display: none; }
.form-note { font-size: .9rem; color: #5b6575; margin: var(--s2) 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form { padding: var(--s3); } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: #07122a; color: var(--on-dark-muted); padding: var(--s6) 0 var(--s3); font-size: 1rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { background: var(--paper); border-radius: var(--radius-lg); padding: 14px 18px; display: inline-block; margin-bottom: var(--s3); }
.footer-logo img { height: 72px; width: auto; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: 1.15rem; color: var(--gold-light); letter-spacing: .16em; margin-bottom: var(--s2); }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); font-size: .95rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 26, 50, .97); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 1.05rem; }
  body { padding-bottom: 72px; }
}

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
