/* PLY Roofing: site styles, built on the Sitebound base kit (base.css).
   One idea runs through everything: a single roof pitch of 38.7 degrees
   (rise 0.8 over half the span), used for the hero gable, image frames,
   service badges and the peaked bands. */

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

:root {
  /* Brand palette: heritage green with a brass accent, like a signwritten trade van */
  --primary:      #1E3A33;
  --primary-mid:  #2B5047;
  --primary-dark: #13261F;
  --accent:       #D4A43A;
  --accent-mid:   #B8892A;

  /* Neutrals */
  --bg:         #F1F2EC;
  --surface:    #ffffff;
  --border:     #D3D8CF;
  --text:       #1A2420;
  --text-soft:  #46534D;
  --text-muted: #5E6A64;
  --on-dark:      #F4F1E6;
  --on-dark-soft: #CBD5CF;

  /* Typography */
  --font-display: 'Libre Caslon Text', Georgia, serif;
  --font-body:    'Libre Franklin', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --radius:      3px;
  --radius-lg:   8px;

  /* The roof pitch: a small peak 2.5rem high over 3.125rem half-span */
  --peak-rise: 2.5rem;
  --peak-half: 3.125rem;

  /* base.css hooks */
  --color-bg: var(--bg);
  --color-surface: var(--surface);
  --color-text: var(--text);
  --color-muted: var(--text-soft);
  --color-accent: var(--primary);
  --color-accent-text: #ffffff;
  --color-line: #B9C2BB;
  --focus: var(--primary-dark);
}

.on-dark { --focus: var(--accent); }
[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--primary-dark);
}
h3 { font-weight: 700; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* Email addresses only ever break at the @ */
a.email-link,
a.email-link[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.skip-link { background: var(--accent); color: var(--primary-dark); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-dark); color: #ffffff; }
.btn-gold { background: var(--accent); color: var(--primary-dark); }
.btn-gold:hover { background: #E3BA5C; color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: #7C968D; }
.btn-ghost:hover { border-color: var(--accent); color: #ffffff; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary-dark);
  color: var(--on-dark);
  border-bottom: 1px solid #2E4A41;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand toggle" "nav nav";
  align-items: center;
  column-gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.6rem;
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.brand:hover { color: #ffffff; }
.brand svg { width: 2.25rem; height: auto; flex: none; }
.brand-mark path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }

.menu-toggle {
  grid-area: toggle;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.5rem 0.9rem;
  background: var(--primary-dark);
  color: var(--on-dark);
  border: 1px solid #4E6B61;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.menu-toggle:hover { border-color: var(--accent); color: #ffffff; }
.menu-icon {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.menu-icon::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}
.menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transform: rotate(-45deg);
}

.site-nav { grid-area: nav; }
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
}
.nav-links a {
  display: block;
  padding: 0.85rem 0.25rem;
  border-top: 1px solid #2E4A41;
  color: #E2E7E2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #ffffff; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-call a { color: var(--accent); font-weight: 600; }

.header-phone { display: none; }

@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "nav brand phone";
    min-height: 5rem;
  }
  .menu-toggle { display: none; }
  .nav-links {
    flex-direction: row;
    gap: clamp(1.1rem, 2.5vw, 2.2rem);
    padding: 0;
  }
  .nav-links a {
    position: relative;
    padding: 0.6rem 0;
    border-top: 0;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.25rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }
  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { color: var(--on-dark); }
  .nav-call { display: none; }
  .brand { font-size: 1.3rem; }
  .header-phone {
    grid-area: phone;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: var(--on-dark);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
  .header-phone svg { width: 1rem; height: 1rem; fill: var(--accent); }
  .header-phone:hover { color: var(--accent); }
}

/* ---------- The gable: hero signature ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(2rem, 4vw, 2.75rem) clamp(3.5rem, 7vw, 5.5rem);
}
.gable {
  position: relative;
  width: min(100%, 44rem);
  margin-inline: auto;
  aspect-ratio: 5 / 2;           /* matches the 250 x 100 viewBox: no distortion */
}
.gable-fill {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(to bottom, transparent 0 0.85rem, rgba(212, 164, 58, 0.13) 0.85rem calc(0.85rem + 1px)),
    #244438;
}
.gable-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.gable-line .pitch {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gable-line .fascia {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.8;
  opacity: 0.55;
}
.gable-line .finial {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
}

.crest {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  max-width: none;
  white-space: nowrap;
}
.crest-inner { display: flex; flex-direction: column; align-items: center; }
.crest-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.2rem + 4.6vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--on-dark);
}
.crest-sub {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 0.1rem;
  font-weight: 600;
  font-size: clamp(0.72rem, 0.62rem + 0.45vw, 1rem);
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.crest-sub::before,
.crest-sub::after {
  content: "";
  width: 0.8em;
  height: 1px;
  background: currentColor;
}
.crest-sub::after { margin-left: -0.3em; } /* balance the trailing letter-space */

.hero-wall {
  max-width: 46rem;
  margin-inline: auto;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
.hero h1 {
  font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1.18;
}
.hero h1 .line { display: block; }
.hero-lede {
  margin: 1.1rem auto 0;
  max-width: 38rem;
  color: var(--on-dark-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}
.hero-actions {
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* Inner page hero: the same gable, smaller */
.page-hero {
  background: var(--primary);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(2.75rem, 6vw, 4.25rem);
}
.gable--small { width: min(55%, 13rem); }
.gable--small .pitch { stroke-width: 3.2; }
.page-hero h1 {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(2.05rem, 1.6rem + 2vw, 3.2rem);
}
.page-hero .hero-lede { font-size: var(--step-0); max-width: 36rem; }

/* Hero entrance: line draws eaves to ridge, headline rises up the slope.
   Runs only with scripts on (see the noscript rule in each page head)
   and only for visitors who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .gable-line .pitch {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-line 1s cubic-bezier(0.55, 0, 0.3, 1) 0.1s forwards;
  }
  .gable-line .finial { animation: finial-in 0.35s ease-out 0.95s both; }
  .crest-inner { animation: crest-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }

  .gable--small .pitch { animation-duration: 0.7s; }
}
/* Motion only: text and buttons are always at full opacity */
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes finial-in { from { transform: scale(0.2); } to { transform: scale(1); } }
@keyframes crest-in { from { transform: translateY(1.5rem); } to { transform: none; } }

/* ---------- Section basics ---------- */
.section { padding-block: var(--section-pad); }
.section--surface { background: var(--surface); }
.section-head { text-align: center; max-width: 42rem; margin-inline: auto; }
.section-head p { margin: 1rem auto 0; color: var(--text-soft); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.9rem); }

/* Ridge rule: a line with one roof peak at its centre, drawn as it scrolls into view */
.ridge-rule {
  display: flex;
  align-items: flex-end;
  width: min(100% - 2 * var(--gutter), 40rem);
  margin-inline: auto;
}
.ridge-rule::before,
.ridge-rule::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--accent-mid);
}
.ridge-rule svg { width: 2.5rem; height: 1rem; flex: none; overflow: visible; margin-bottom: -0.75px; }
.ridge-rule path {
  fill: none;
  stroke: var(--accent-mid);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* Slim slate strip: the services-page slate pattern as a divider */
.slate-strip {
  height: 0.9rem;
  border-block: 2px solid var(--accent-mid);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Crect width='60' height='36' fill='%232F3A3F'/%3E%3Crect x='0.5' y='0' width='29' height='17' fill='%2357656C'/%3E%3Crect x='30.5' y='0' width='29' height='17' fill='%23516068'/%3E%3Crect x='-14.5' y='18' width='29' height='17' fill='%234D5B62'/%3E%3Crect x='15.5' y='18' width='29' height='17' fill='%23596870'/%3E%3Crect x='45.5' y='18' width='29' height='17' fill='%234D5B62'/%3E%3C/svg%3E") 0 0 / 60px 36px repeat;
}

/* ---------- Home: the schedule of services ---------- */
.schedule {
  list-style: none;
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.schedule li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.25rem 1.25rem;
  align-items: start;
  padding-block: 1.6rem;
  border-top: 1px solid var(--border);
}
.schedule h3 { font-size: var(--step-1); }
.schedule p { margin-top: 0.35rem; color: var(--text-soft); }
.schedule-link { text-align: center; margin-top: clamp(2rem, 4vw, 2.75rem); }

@media (min-width: 768px) {
  .schedule {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 6vw, 5rem);
  }
  .schedule li:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: center;
    justify-self: center;
    width: min(100%, 32rem);
    text-align: center;
    border-top-color: var(--accent-mid);
  }
  .schedule li:last-child .badge { margin-bottom: 0.75rem; }
}

/* Gable-end badge: same pitch as the hero */
.badge {
  display: grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.badge svg { width: 62%; height: auto; margin-top: 22%; overflow: visible; }
.badge path, .badge rect, .badge circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Split layout with gable-framed visual ---------- */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3rem);
  align-items: center;
}
.split-text > * + * { margin-top: 1.1rem; }
.split-text p { color: var(--text-soft); }
.split-text .btn { margin-top: 1.6rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6.5rem); }
  .split--flip .pitch-frame { order: 2; }
}

.pitch-frame {
  position: relative;
  width: min(100%, 26rem);
  margin-inline: auto;
  aspect-ratio: 1;
}
.pitch-frame > img,
.pitch-frame > .designed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
}
.frame-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.frame-line path {
  fill: none;
  stroke: var(--accent-mid);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* ---------- Home: area covered ---------- */
.area-line {
  margin: clamp(2rem, 5vw, 3.25rem) auto 0;
  max-width: 56rem;
}
.area-line svg { width: 100%; height: auto; overflow: visible; }
.area-line .roofscape {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.area-line .base-pin { fill: var(--accent-mid); }
.area-labels {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.area-labels li { line-height: 1.35; }
.area-labels li:nth-child(1) { text-align: left; }
.area-labels li:nth-child(2) { text-align: center; }
.area-labels li:nth-child(3) { text-align: right; }
.area-labels strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--primary-dark);
}
.area-labels span { display: block; margin-top: 0.2rem; font-size: var(--step--1); color: var(--text-muted); }
.area-labels li:nth-child(2) strong { font-size: var(--step-0); font-family: var(--font-body); font-weight: 600; color: var(--text-soft); }

/* ---------- Call-to-action band with a single roof peak ---------- */
.peak-wrap { background: var(--surface); }
.peak-wrap--bg { background: var(--bg); }
.cta-band {
  background: var(--primary);
  color: var(--on-dark);
  text-align: center;
  padding-block: calc(var(--peak-rise) + clamp(3rem, 6vw, 4.5rem)) clamp(3.5rem, 7vw, 5rem);
  clip-path: polygon(
    0 var(--peak-rise),
    calc(50% - var(--peak-half)) var(--peak-rise),
    50% 0,
    calc(50% + var(--peak-half)) var(--peak-rise),
    100% var(--peak-rise),
    100% 100%,
    0 100%
  );
}
.cta-band p { margin: 1rem auto 0; color: var(--on-dark-soft); max-width: 34rem; }
.cta-phone {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.2;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.cta-phone:hover { color: #E3BA5C; text-decoration: underline; text-decoration-thickness: 2px; }
.cta-band .hero-actions { margin-top: 1.5rem; }
.cta-email { margin-top: 1.25rem; }
.cta-band a.email-link { color: var(--on-dark); }
.cta-band a.email-link:hover { color: var(--accent); }

/* ---------- Services page ---------- */
.jump {
  margin-top: 1.75rem;
}
/* Phones: a tidy two-column grid, no separators to wrap onto a line start */
.jump ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
  max-width: 21rem;
  margin-inline: auto;
}
.jump li { display: flex; align-items: center; justify-content: center; }
.jump li:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .jump ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0;
    max-width: none;
  }
  .jump li:last-child { grid-column: auto; }
  .jump li + li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-inline: 0.55rem;
    border-top: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
    transform: translateY(0.15rem) rotate(45deg);
  }
}
.jump a {
  display: inline-block;
  padding: 0.55rem 0.2rem;
  color: var(--on-dark);
  text-decoration-color: rgba(212, 164, 58, 0.6);
  font-weight: 500;
}
.jump a:hover { color: var(--accent); }

.service { padding-block: clamp(3.5rem, 7vw, 6.5rem); scroll-margin-top: 5rem; }
.service--dark { background: var(--primary); color: var(--on-dark); }
.service--dark .split-text p { color: var(--on-dark-soft); }
.service--dark .frame-line path { stroke: var(--accent); }

.service h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.75rem); }
.list-intro { font-weight: 600; color: var(--text) !important; }
.service--dark .list-intro { color: var(--on-dark) !important; }

.pitch-list { list-style: none; }
.pitch-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  border-bottom: 1px solid var(--border);
}
.pitch-list li:first-child { border-top: 1px solid var(--border); }
.pitch-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 1.15rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid var(--accent-mid);
  border-left: 2px solid var(--accent-mid);
  transform: rotate(45deg);
}

/* Designed visuals (no photos needed) */
.designed { display: block; background: var(--primary-mid); }
.designed svg { width: 100%; height: 100%; }

.designed--reroof {
  background:
    repeating-linear-gradient(to bottom, #24332F 0 1.1rem, #A07C3E 1.1rem 1.35rem) top / 100% 52% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Crect width='60' height='36' fill='%232F3A3F'/%3E%3Crect x='0.5' y='0' width='29' height='17' fill='%2357656C'/%3E%3Crect x='30.5' y='0' width='29' height='17' fill='%23516068'/%3E%3Crect x='-14.5' y='18' width='29' height='17' fill='%234D5B62'/%3E%3Crect x='15.5' y='18' width='29' height='17' fill='%23596870'/%3E%3Crect x='45.5' y='18' width='29' height='17' fill='%234D5B62'/%3E%3C/svg%3E") 0 0 / 60px 36px repeat;
}
.designed--reroof::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 52%;
  height: 3px;
  background: var(--accent);
}

.designed--repair {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='54'%3E%3Crect width='90' height='54' fill='%23253230'/%3E%3Crect x='0.75' y='0' width='43.5' height='25.5' rx='1' fill='%23677470'/%3E%3Crect x='45.75' y='0' width='43.5' height='25.5' rx='1' fill='%235F6C68'/%3E%3Crect x='-21.75' y='27' width='43.5' height='25.5' rx='1' fill='%235B6864'/%3E%3Crect x='23.25' y='27' width='43.5' height='25.5' rx='1' fill='%23697672'/%3E%3Crect x='68.25' y='27' width='43.5' height='25.5' rx='1' fill='%235B6864'/%3E%3C/svg%3E") 0 0 / 90px 54px repeat;
}
.designed--repair .gap,
.designed--repair .slipped {
  position: absolute;
  left: 180.75px;
  top: 162px;
  width: 43.5px;
  height: 25.5px;
}
.designed--repair .gap { background: #151E1C; }
.designed--repair .slipped {
  background: #75837F;
  outline: 2px solid var(--accent);
  outline-offset: 0;
  transform: translate(6px, 15px) rotate(10deg);
  box-shadow: 0 6px 10px rgba(10, 20, 17, 0.45);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.contact-card {
  background: var(--primary);
  color: var(--on-dark);
  padding: calc(var(--peak-rise) + 2rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  clip-path: polygon(
    0 var(--peak-rise),
    calc(50% - var(--peak-half)) var(--peak-rise),
    50% 0,
    calc(50% + var(--peak-half)) var(--peak-rise),
    100% var(--peak-rise),
    100% 100%,
    0 100%
  );
}
.contact-card h2 { font-size: var(--step-3); }
.contact-list { margin-top: 1.75rem; }
.contact-list div { padding-block: 1.1rem; border-top: 1px solid #3A5A50; }
.contact-list dt { font-weight: 600; font-size: var(--step--1); color: var(--accent); }
.contact-list dd { margin-top: 0.25rem; }
.contact-list a { color: var(--on-dark); }
.contact-list a:hover { color: var(--accent); }
.contact-list .big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.contact-list .big:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-list .email-link { font-size: var(--step-1); }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-panel h2 { font-size: var(--step-3); }
.form-panel > p { margin-top: 0.85rem; color: var(--text-soft); }
.enquiry-form { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 600px) {
  .enquiry-form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label { color: var(--text); font-size: var(--step--1); }
.field .optional { font-weight: 400; color: var(--text-muted); }
.enquiry-form input:not([type="checkbox"]):not([type="radio"]),
.enquiry-form textarea {
  background: var(--bg);
  border-color: #A9B4AC;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.enquiry-form input:not([type="checkbox"]):not([type="radio"]):hover,
.enquiry-form textarea:hover { border-color: var(--primary-mid); }
.enquiry-form input:not([type="checkbox"]):not([type="radio"]):focus,
.enquiry-form textarea:focus { background: #ffffff; border-color: var(--primary); }
.enquiry-form textarea { min-height: 9rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot p { font-size: var(--step--1); color: var(--text-muted); max-width: 26rem; }

.form-thanks { padding-block: 1rem 0.5rem; text-align: center; }
.form-thanks:focus { outline: none; }
.form-thanks svg { width: 4rem; height: auto; margin: 0 auto 1rem; overflow: visible; }
.form-thanks path { fill: none; stroke: var(--accent-mid); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.form-thanks p { margin: 0.75rem auto 0; color: var(--text-soft); }

/* ---------- Privacy ---------- */
.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 0.85rem; color: var(--text-soft); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--on-dark-soft);
  text-align: center;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  border-top: 3px solid var(--accent);
}
.footer-brand .brand { font-size: 1.45rem; }
.footer-brand p { margin: 0.6rem auto 0; max-width: 32rem; }
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  margin-top: 1.75rem;
}
.footer-nav a, .footer-contact a {
  display: inline-block;
  padding-block: 0.45rem;
  color: var(--on-dark);
  text-decoration-color: rgba(212, 164, 58, 0.55);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.75rem;
  margin-top: 0.75rem;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2E4A41;
  font-size: var(--step--1);
}
.footer-base p { max-width: none; }
.footer-base a { color: var(--on-dark-soft); }
.footer-base a:hover { color: var(--accent); }

/* ---------- Mobile navigation: keep last in the file ----------
   Under 768px the links stay hidden until the menu button adds .is-open,
   whatever state the header is in. */
@media (max-width: 767.98px) {
  .site-header .nav-links { display: none; }
  .site-header .nav-links.is-open { display: flex; }
}
