/* ==========================================================================
   BuildWell Creations Group
   Header + Hero
   ========================================================================== */

:root {
  --blue: #0B3A9E;          /* from the logo */
  --blue-dark: #082C7A;
  --paper: #FAF8F4;         /* warm white */
  --stone: #EFEBE4;
  --ink: #16202E;
  --text: #444C58;
  --line: #E3DED5;
  --slate: #4E6489;         /* muted blue-gray companion to the brand blue */

  --font-head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1280px;
  --gutter: 20px;
  --header-h: 76px;

  --ease: cubic-bezier(0.25, 0.6, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 92px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 56px; --header-h: 104px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  border-radius: 3px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-lg { height: 56px; padding: 0 30px; font-size: 14px; }
.btn-block { width: 100%; height: 56px; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary { border-color: #C9C2B6; color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled,
body.menu-open .site-header { border-bottom-color: var(--line); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { flex: none; display: block; }
.brand img { width: auto; height: 40px; }

@media (min-width: 768px)  { .brand img { height: 48px; } }
@media (min-width: 1200px) { .brand img { height: 56px; } }

.primary-nav {
  display: none;
  margin-left: auto;
  gap: clamp(22px, 2.4vw, 36px);
}
.primary-nav a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--blue); }
.primary-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s var(--ease);
}
.header-phone span { display: none; }
.header-phone:hover { color: var(--blue); }

.icon-phone {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.menu-toggle > span {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}
.menu-toggle i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.menu-toggle i:nth-child(1) { top: 0; }
.menu-toggle i:nth-child(2) { top: 6px; }
.menu-toggle i:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .header-actions { gap: 16px; }
}

@media (min-width: 1100px) {
  .primary-nav { display: flex; }
  .header-actions { margin-left: 16px; gap: 28px; }
  .menu-toggle { display: none; }
  .header-phone { width: auto; height: auto; }
  .header-phone span { display: inline; }
}

/* Tighten when nav + phone + CTA share a mid-size screen */
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .header-inner { gap: 28px; }
  .header-actions { gap: 20px; }
  .primary-nav { gap: 22px; }
  .primary-nav a, .header-phone { font-size: 15px; }
  .header-phone .icon-phone { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease), visibility 0s;
}

.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}
.mobile-menu-nav a[aria-current="page"] { color: var(--blue); }

.mobile-menu-footer { display: grid; gap: 12px; }
.mobile-menu-address {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.mobile-menu-address a { color: var(--ink); }

@media (min-width: 1100px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   Type-led: the headline owns the top of the frame, the supporting copy and
   actions sit on a single rule at the bottom. The space between is the point.
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  min-height: min(calc(100svh - var(--header-h)), 960px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding-top: clamp(40px, 9vh, 72px);
  padding-bottom: 32px;
}

.hero-kicker {
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 10.6vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-title { text-wrap: balance; }
.hero-dot { color: var(--blue); }
.br-wide { display: none; }

.hero-foot {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-lede {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero-inner {
    padding-top: clamp(64px, 11vh, 120px);
    padding-bottom: 48px;
  }
  .hero-title { font-size: clamp(52px, 8.4vw, 72px); }
  .br-wide { display: inline; }
  .hero-title { text-wrap: initial; white-space: nowrap; }
  .hero-foot { padding-top: 36px; }
  .hero-lede { font-size: 18px; }
  .hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: clamp(72px, 14vh, 160px);
    padding-bottom: clamp(48px, 8vh, 80px);
  }

  .hero-kicker { font-size: 17px; margin-bottom: 24px; }

  .hero-title {
    font-size: clamp(64px, 6.7vw, 104px);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
    padding-top: 40px;
  }
  .hero-lede { max-width: 31em; }
  .hero-actions { flex: none; margin-top: 0; }
}

/* --------------------------------------------------------------------------
   Section 2: What we do
   Three full-width divisions on thin rules. Category names lead; the
   individual services sit quietly beside them.
   -------------------------------------------------------------------------- */

.services {
  padding-top: 72px;
  padding-bottom: 80px;
  scroll-margin-top: var(--header-h);
}

.section-label {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.section-title {
  margin: 0;
  font-family: var(--font-head);
  /* second line ("Complete property care.") is ~11.4em wide; keep it on one line */
  font-size: min(calc((100vw - 2 * var(--gutter)) / 12.4), 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.services-intro-copy {
  max-width: 34em;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
}

/* Rows */
.service-rows {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 32px 0 36px;
  border-top: 1px solid var(--line);
}

/* Custom line icons, drawn on a 48px grid to match the thin rules */
.service-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--blue);
}
.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
  overflow: visible;
}
.service-icon .fill { fill: currentColor; stroke: none; }
.service-icon .nozzle { stroke-width: 3.2; stroke-linecap: butt; }
.service-icon .spray { stroke-dasharray: 2 2.8; stroke-linecap: round; }

.service-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.service-detail { margin-top: 12px; }
.service-detail p {
  max-width: 30em;
  font-size: 16px;
  line-height: 1.6;
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--slate);
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .services { padding-top: 96px; padding-bottom: 104px; }
  .section-title { font-size: clamp(40px, 6.2vw, 52px); text-wrap: initial; }
  .services-intro-copy { font-size: 18px; }
  .service-rows { margin-top: 72px; }
  .service-row {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 40px 0 44px;
  }
  .service-icon { margin-bottom: 0; }
  .service-detail { grid-column: 2; margin-top: 14px; }
  .service-name { font-size: 34px; }
  .service-list { grid-template-columns: repeat(2, max-content); column-gap: 32px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .services {
    padding-top: clamp(96px, 12vh, 136px);
    padding-bottom: clamp(104px, 13vh, 144px);
  }

  .services-intro {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 64px;
    align-items: end;
  }
  .section-title { font-size: clamp(44px, 3.9vw, 56px); }
  .services-intro-copy { margin-top: 0; width: min(100%, 470px); max-width: none; justify-self: end; }

  .service-rows { margin-top: 88px; }

  /* number | name | detail, on the same 7/5 grid as the intro */
  .service-row {
    grid-template-columns: 88px minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 0;
    align-items: start;
    padding: 48px 0 52px;
  }
  .service-icon { width: 56px; height: 56px; margin-top: -4px; }
  .service-name {
    padding-right: 64px;
    font-size: clamp(36px, 3.3vw, 46px);
    line-height: 1.05;
    transition: color 0.25s var(--ease);
  }
  .service-detail {
    grid-column: 3;
    margin-top: 0;
    padding-top: 4px;
    justify-self: end;
    width: min(100%, 470px);
  }
  .service-row:hover .service-name { color: var(--blue); }
}

/* --------------------------------------------------------------------------
   Section 3: Who we serve
   One stone band split by a single vertical rule. Both halves mirror each
   other exactly so neither side outranks the other.
   -------------------------------------------------------------------------- */

/* Section 2 already ends with generous bottom padding, so no top padding here */
.audience { scroll-margin-top: var(--header-h); }

.section-intro-copy {
  max-width: 34em;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
}

.audience-band {
  margin-top: 56px;
  background: var(--stone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.audience-half {
  display: flex;
  flex-direction: column;
  padding: 48px 0 56px;
  scroll-margin-top: var(--header-h);
}


/* Section photos */
.audience-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin: 0 0 36px;
  overflow: hidden;
  background: #E3DDD2;
}
.audience-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-name {
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid #DAD3C8;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
}

.audience-title {
  margin: 0;
  max-width: 15em;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

.audience-copy {
  max-width: 30em;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
}

.audience-examples { margin-top: 32px; }
.audience-examples-label {
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #7A7F87;
}
.audience-examples ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--slate);
}

.audience-cta {
  align-self: flex-start;
  margin-top: 36px;
  border-color: #BDB5A8;
}

/* The spine: a narrow column of BuildWell blue between the two halves,
   like a structural member holding both sides of the business. */
.audience-spine {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-inline: calc(var(--gutter) * -1);
  background: var(--blue);
}
.audience-spine span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .section-intro-copy { font-size: 18px; }
  .audience-band { margin-top: 72px; }
  .audience-half { padding: 56px 0 64px; }
  .audience-title { font-size: 34px; }
  .audience-examples ul { grid-template-columns: repeat(2, max-content); column-gap: 40px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .section-intro {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 64px;
    align-items: end;
  }
  .section-intro-copy { margin-top: 0; width: min(100%, 470px); max-width: none; justify-self: end; }

  .audience-band { margin-top: 88px; }

  /* Two equal halves, one rule down the middle */
  .audience-grid { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); }
  .audience-half {
    padding: 72px 72px 80px 0;
  }
  .audience-half ~ .audience-half {
    padding: 72px 0 80px 72px;
  }

  .audience-spine {
    height: auto;
    margin-inline: 0;
  }
  .audience-spine span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .audience-name { margin-bottom: 40px; }
  .audience-photo { aspect-ratio: 3 / 2; margin-bottom: 48px; }
  .audience-title { font-size: clamp(32px, 2.8vw, 40px); }
  .audience-copy { font-size: 16.5px; }

  /* Push examples + CTA to a shared baseline so both halves end level */
  .audience-examples { margin-top: auto; padding-top: 44px; }
}

/* ---------- Section 3 in BuildWell blue, entering on a layered wave ---------- */

.audience {
  --on-blue: rgba(255, 255, 255, 0.8);
  --on-blue-soft: rgba(255, 255, 255, 0.58);
  --on-blue-line: rgba(255, 255, 255, 0.2);
  --blue-tint: #AFC1EA;
  position: relative;
  background: var(--blue);
  color: var(--on-blue);
}

.audience-wave {
  display: block;
  width: 100%;
  height: clamp(56px, 9vw, 140px);
  margin-bottom: -1px; /* hide the sub-pixel seam against the blue below */
  overflow: visible;
  position: relative;
  z-index: 1;
  background: var(--paper);
}
.audience-wave .w1 { fill: #C9D4EE; }
.audience-wave .w2 { fill: #6F8ED3; }
.audience-wave .w3 { fill: var(--blue); }

.audience .section-intro { padding-top: clamp(24px, 4vw, 48px); }
.audience .section-label { color: var(--blue-tint); }
.audience .section-title { color: #fff; }
.audience .section-intro-copy { color: var(--on-blue); }

.audience .audience-band {
  background: transparent;
  border-top: 1px solid var(--on-blue-line);
  border-bottom: 0;
}
.audience .audience-name { color: var(--blue-tint); border-bottom-color: var(--on-blue-line); }
.audience .audience-title { color: #fff; }
.audience .audience-copy { color: var(--on-blue); }
.audience .audience-examples-label { color: var(--on-blue-soft); }
.audience .audience-examples ul { color: #DCE4F5; }

.audience .audience-photo { background: rgba(255, 255, 255, 0.08); }

.audience .audience-cta {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.audience .audience-cta:hover { background: #fff; border-color: #fff; color: var(--blue); }

/* The spine: no solid column, just a hairline with the phrase set into it */
.audience .audience-spine {
  position: relative;
  background: none;
}
.audience .audience-spine::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--on-blue-line);
}
.audience .audience-spine span {
  position: relative;
  padding: 0 16px;
  background: var(--blue);
  color: var(--blue-tint);
}
@media (min-width: 1024px) {
  .audience .audience-spine::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .audience .audience-spine span { padding: 20px 0; }
}

/* Bottom wave: the blue section settles back onto the warm white page */
.audience-wave-bottom {
  margin: -1px 0 0;
  background: var(--blue);
  transform: scaleX(-1);
}
.audience-wave-bottom .b1 { fill: #6F8ED3; }
.audience-wave-bottom .b2 { fill: #C9D4EE; }
.audience-wave-bottom .b3 { fill: var(--paper); }

/* --------------------------------------------------------------------------
   Section 4: About
   -------------------------------------------------------------------------- */

.about {
  padding: 56px 0 88px;
  scroll-margin-top: var(--header-h);
}

.about-copy p + p { margin-top: 16px; }
.about .section-intro { align-items: start; }

.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.principles li {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}
.principles li::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: -25px 0 23px;
  background: var(--blue);
}
.principles h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.principles p {
  max-width: 22em;
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .about { padding: 72px 0 112px; }
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin-top: 72px;
  }
}

@media (min-width: 1024px) {
  .about { padding: clamp(72px, 9vh, 104px) 0 clamp(112px, 14vh, 152px); }
  .principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 48px;
    margin-top: 96px;
  }
  .principles li { padding-bottom: 0; }
  .principles h3 { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Section 5: Contact / Request a quote
   -------------------------------------------------------------------------- */

.contact {
  padding: 72px 0 88px;
  background: var(--stone);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 48px;
}

.contact-lede {
  max-width: 30em;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
}

.contact-details {
  margin: 36px 0 0;
  border-top: 1px solid #D9D2C6;
}
.contact-details div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #D9D2C6;
}
.contact-details dt {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.contact-details dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-details a { transition: color 0.2s var(--ease); }
.contact-details a:hover { color: var(--blue); }

/* Form */
.quote-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 28px 20px 32px;
  margin-inline: calc(var(--gutter) * -1);
  background: var(--paper);
  border-top: 3px solid var(--blue);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend {
  padding: 0;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.optional { font-weight: 400; color: #8A8F97; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D6CFC3;
  border-radius: 3px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 136px; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316202E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 58, 158, 0.12);
}
.field .is-invalid,
.field.is-invalid .choice-row label span { border-color: #B3261E; }

/* Property type: two segmented options */
.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.choice-row label { position: relative; cursor: pointer; }
.choice-row input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D6CFC3;
  border-radius: 3px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.choice-row input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice-row input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.form-foot {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.form-foot .btn { width: 100%; }
.form-foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.5em; font-size: 15px; line-height: 1.5; }
.form-status.is-success { color: #1D6B3A; }
.form-status.is-error { color: #B3261E; }

@media (min-width: 640px) {
  .contact { padding: 96px 0 112px; }
  .contact-lede { font-size: 18px; }
  .quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 22px;
    padding: 40px;
    margin-inline: 0;
  }
  .field-full { grid-column: 1 / -1; }
  .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .form-foot .btn { width: auto; }
}

@media (min-width: 1024px) {
  .contact { padding: clamp(96px, 12vh, 136px) 0 clamp(104px, 13vh, 144px); }
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 80px;
    align-items: start;
  }
  .contact-info { position: sticky; top: calc(var(--header-h) + 40px); }
  .contact-details { margin-top: 48px; }
  .quote-form { padding: 48px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  isolation: isolate;
  padding: 64px 0 28px;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Fine paper-like grain over the blue, generated in SVG (no image file) */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.footer-brand img { width: auto; height: 44px; }
.footer-brand p { max-width: 24em; margin-top: 20px; }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: #AFC1EA;
}
.footer-col a { color: #fff; overflow-wrap: anywhere; transition: opacity 0.2s var(--ease); }
.footer-col a:hover { opacity: 0.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-quote {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}
.footer-quote:hover { border-color: #fff; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}

@media (min-width: 1024px) {
  .site-footer { padding: 88px 0 32px; }
  .footer-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2.4fr) minmax(0, 3fr);
    gap: 48px;
  }
  .footer-brand img { height: 52px; }
  .footer-bottom { margin-top: 80px; }
}

/* Service row photos: sit under the category name, quiet and consistent */
.service-photo {
  position: relative;
  margin: 20px 0 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--stone);
}
.service-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .service-photo { grid-column: 2; max-width: 520px; }
}

@media (min-width: 1024px) {
  .service-icon { grid-row: 1; }
  .service-name { grid-column: 2; grid-row: 1; }
  .service-photo {
    grid-column: 2;
    grid-row: 2;
    width: min(100% - 64px, 400px);
    margin-top: 28px;
  }
  .service-detail { grid-row: 1 / span 2; }
  .service-row:hover .service-photo img { transform: scale(1.03); }
  .service-photo img { transition: transform 0.8s var(--ease); }
}

/* Scroll reveal (only when JS is available) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero photo: sits under the copy, aligned left, bleeding right ---------- */
.hero {
  display: block;
  min-height: 0;
  border-bottom: 0;
}
.hero-inner { justify-content: flex-start; }

.hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 58%;
}

@media (min-width: 640px) {
  .hero-photo {
    aspect-ratio: 16 / 9;
    margin-left: var(--gutter);
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    gap: clamp(56px, 9vh, 104px);
    padding-top: clamp(56px, 9vh, 112px);
    padding-bottom: clamp(48px, 7vh, 72px);
  }
  .hero-photo {
    aspect-ratio: auto;
    height: clamp(440px, 66vh, 720px);
    margin-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
}

/* --------------------------------------------------------------------------
   Load motion: a quiet fade, nothing more
   -------------------------------------------------------------------------- */

.js .fade { opacity: 0; transform: translateY(10px); }

.is-loaded .fade {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
