/* ==========================================================================
   Ridgeline Finishes LLC — site stylesheet
   Single hand-authored stylesheet. No framework, no preprocessor.
   ========================================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Design tokens ---- */
:root {
  /* Brand — design package §2 */
  --green:      #325F38;
  --evergreen:  #183C27;
  --forest:     #254C30;
  --bone:       #F5F3EC;
  --snow:       #FFFFFF;
  --stone:      #D8D8D0;
  --storm:      #59615D;
  --charcoal:   #202522;
  --cedar:      #A36F4B;

  /* Type — design package §3 */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-h1:    clamp(2.5rem, 1.6rem + 4.2vw, 4.25rem);
  --step-h2:    clamp(2rem, 1.5rem + 2.2vw, 2.875rem);
  --step-h3:    clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-h4:    1.25rem;
  --step-body:  1.0625rem;
  --step-small: 0.9375rem;
  --step-label: 0.75rem;

  --tracking-label: 0.12em;
  --leading-body: 1.6;
  --leading-tight: 1.15;
  --measure: 66ch;

  /* Spacing */
  --space-1: .5rem;  --space-2: 1rem;   --space-3: 1.5rem;
  --space-4: 2rem;   --space-6: 3rem;   --space-8: 4rem;
  --space-12: 6rem;  --space-16: 8rem;

  --radius: 4px;
  --radius-lg: 6px;
  --border: 1px solid var(--stone);
  --maxw: 1200px;

  --header-h: 76px;
  --action-bar-h: 60px;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-3));
}
body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: var(--leading-body);
  color: var(--charcoal);
  background: var(--snow);
  padding-bottom: var(--action-bar-h);
}
@media (min-width: 780px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: var(--leading-tight);
  color: var(--charcoal);
  text-wrap: balance;
}
h1 { font-size: var(--step-h1); font-weight: 800; }
h2 { font-size: var(--step-h2); font-weight: 700; }
h3 { font-size: var(--step-h3); font-weight: 700; }
h4 { font-size: var(--step-h4); font-weight: 600; }

p { max-width: var(--measure); }
p.lede { font-size: 1.125rem; color: var(--storm); }

a { text-decoration: none; }
a.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--green);
}
a.text-link:hover { color: var(--forest); }

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

/* ---- Fonts (self-hosted, latin subset) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
@media (min-width: 780px) {
  .container { padding-inline: var(--space-6); }
}

.section { padding-block: var(--space-8); }
@media (min-width: 780px) {
  .section { padding-block: var(--space-12); }
}
.section--tight { padding-block: var(--space-6); }
.section--bone { background: var(--bone); }
.section--stone { background: #ECEAE1; }
.section--evergreen { background: var(--evergreen); color: var(--snow); }
.section--evergreen h2, .section--evergreen h3 { color: var(--snow); }
.section--evergreen p { color: #C9D3CB; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--step-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-2);
}
.section--evergreen .eyebrow { color: #9FC2A8; }

.eyebrow .ridge {
  display: inline-block;
  width: 22px; height: 8px;
}

.section-head { max-width: 44rem; margin-bottom: var(--space-6); }
.section-head p { color: var(--storm); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--evergreen);
  color: var(--snow);
  padding: var(--space-2) var(--space-3);
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-small);
  padding: .85em 1.5em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--snow);
}
.btn-primary:hover { background: var(--forest); }
.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-secondary:hover { background: rgba(0,0,0,.05); }
.section--evergreen .btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

.tel-link { font-weight: 600; color: inherit; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--snow);
  border-bottom: var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
}
.brand .brand-logo { height: 56px; width: auto; }
@media (max-width: 480px) {
  .brand .brand-logo { height: 46px; }
}

.nav-primary {
  display: none;
}
@media (min-width: 900px) {
  .nav-primary {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .nav-primary a {
    font-size: var(--step-small);
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--charcoal);
    padding: .5em 0;
    border-bottom: 1.5px solid transparent;
    transition: color .15s ease, border-color .15s ease;
  }
  .nav-primary a:hover,
  .nav-primary a[aria-current="page"] {
    border-bottom-color: var(--green);
    color: var(--green);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.header-call {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: var(--step-small);
}
@media (min-width: 900px) {
  .header-call { display: none; }
}
.header-actions .btn-primary {
  display: none;
}
@media (min-width: 900px) {
  .header-actions .btn-primary { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: var(--border);
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}
.nav-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--snow);
  z-index: 99;
  padding: var(--space-4) var(--space-3);
  display: none;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.nav-mobile ul a {
  display: block;
  padding: var(--space-2) 0;
  border-bottom: var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}
.nav-mobile .btn-primary { margin-top: var(--space-4); width: 100%; justify-content: center; }
@media (min-width: 900px) {
  .nav-mobile { display: none !important; }
}

/* ---- Mobile action bar ---- */
.action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--action-bar-h);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--evergreen);
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 780px) {
  .action-bar { display: none; }
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  color: var(--snow);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.1);
}
.action-bar a:last-child { border-right: none; }
.action-bar svg { width: 18px; height: 18px; }

/* ---- Hero (full-bleed image + directional evergreen gradient, per Hero Design Guide) ---- */
.hero {
  position: relative;
  color: var(--snow);
  min-height: min(90vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center; /* keep the built subject (right side) in frame */
}
/* Left-to-right evergreen overlay: 80% @ left edge, 40% @ mid, 0% @ right edge */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(24,60,39,0.86) 0%,
    rgba(24,60,39,0.80) 30%,
    rgba(24,60,39,0.42) 52%,
    rgba(24,60,39,0.06) 78%,
    rgba(24,60,39,0.00) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-copy {
  max-width: 640px;
  padding-block: var(--space-8);
}
.hero .eyebrow { color: #DCE7DE; }
.hero h1 {
  color: var(--snow);
  font-size: clamp(2.75rem, 1.5rem + 5vw, 4.75rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.hero p.lede { color: #EAF0EA; margin-bottom: var(--space-4); max-width: 34rem; }
.hero .btn-row { margin-bottom: var(--space-3); }
.hero .tel-link {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--snow); font-size: 1.05rem; font-weight: 600;
}
.hero .tel-link svg { width: 18px; height: 18px; }

/* Cedar accent rule */
.accent-rule {
  border: 0;
  width: 60px;
  height: 3px;
  background: var(--cedar);
  margin: 0 0 var(--space-3);
}
.hero .accent-rule { margin-bottom: var(--space-4); }

/* On narrow screens the copy overlays the whole frame — deepen the wash for legibility */
@media (max-width: 760px) {
  .hero-media img { object-position: 62% center; }
  .hero-media::after {
    background: linear-gradient(180deg,
      rgba(24,60,39,0.78) 0%,
      rgba(24,60,39,0.72) 45%,
      rgba(24,60,39,0.82) 100%);
  }
  .hero-copy { max-width: 100%; }
}

/* Page header (non-hero pages) */
.page-header {
  background: var(--bone);
  border-bottom: var(--border);
  padding-block: var(--space-6);
}
.page-header h1 { margin-bottom: var(--space-1); }
.page-header p.lede { margin: 0; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: var(--step-label);
  color: var(--storm);
  margin-bottom: var(--space-2);
}
.breadcrumbs a { color: var(--storm); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs .sep { margin: 0 .4em; }

/* ---- Grids ---- */
.grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Service card ---- */
.card {
  background: var(--snow);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--storm); font-size: var(--step-small); }
.card .card-link {
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--green);
  font-size: var(--step-small);
}
.card .card-link:hover { color: var(--forest); }

/* ---- Feature points (Cat 5 section) ---- */
.feature-points {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
@media (min-width: 640px) {
  .feature-points { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .feature-points { grid-template-columns: repeat(3, 1fr); }
}
.feature-point {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: var(--space-2);
}
.feature-point h4 { color: var(--snow); font-size: 1rem; margin-bottom: .3rem; }
.feature-point p { color: #C9D3CB; font-size: var(--step-small); margin: 0; }
.attribution-note {
  margin-top: var(--space-4);
  font-size: var(--step-label);
  color: #9FAEA4;
  max-width: var(--measure);
}
.attribution-note a { color: #C9D3CB; text-decoration: underline; }

/* ---- Project / field-work cards ---- */
.project-card {
  background: var(--snow);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card .project-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}
.project-card .project-strip img,
.project-card .project-strip .img-placeholder {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.img-placeholder {
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--storm);
  font-size: var(--step-label);
  text-align: center;
  padding: var(--space-1);
}
.project-card .project-body { padding: var(--space-3); }
.project-card .project-location {
  font-size: var(--step-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--green);
}
.project-card h3 { font-size: 1.2rem; margin-top: .3rem; }
.project-card p { color: var(--storm); font-size: var(--step-small); margin-top: .4rem; }
.project-tag {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--storm);
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: .25em .8em;
}
.project-sequence {
  margin-top: var(--space-2);
  font-size: var(--step-label);
  color: var(--storm);
}

/* ---- Featured project showcase ---- */
.project-feature {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 820px) {
  .project-feature { grid-template-columns: 1.5fr 1fr; gap: var(--space-6); }
}
.feature-hero a { display: block; }
.feature-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: var(--border);
}
.feature-body .project-location {
  font-size: var(--step-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--green);
}
.feature-body h2 { font-size: var(--step-h3); margin: .3rem 0 var(--space-2); }
.feature-body p { color: var(--storm); font-size: var(--step-small); }
.feature-callout {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--cedar);
  background: var(--bone);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-callout strong {
  display: block;
  font-family: var(--font-head);
  color: var(--charcoal);
  margin-bottom: .25rem;
}
.feature-body .project-tag { margin-top: var(--space-3); }

.field-seq-head {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--step-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--storm);
}
.field-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .field-grid { grid-template-columns: repeat(3, 1fr); }
}
.field-grid figure { margin: 0; }
.field-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
}
.field-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.field-grid a:hover img { transform: scale(1.04); }
.field-grid figcaption {
  margin-top: .5rem;
  font-size: var(--step-label);
  line-height: 1.4;
  color: var(--storm);
}
.field-grid .is-flashing a { border-color: var(--cedar); box-shadow: 0 0 0 1.5px var(--cedar); }
.field-grid .is-flashing figcaption { color: var(--cedar); }
.field-grid .is-flashing figcaption b { font-weight: 700; }

/* Collapsible extra photo rows: show exactly one row, expand for the rest.
   Pure-CSS checkbox toggle (one row = 2 tiles mobile, 3 desktop). With CSS
   or JS off, the checkbox is inert and every photo simply shows. */
.seq-toggle {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 719px) {
  .seq-toggle:not(:checked) ~ .field-grid figure:nth-child(n+3) { display: none; }
}
@media (min-width: 720px) {
  .seq-toggle:not(:checked) ~ .field-grid figure:nth-child(n+4) { display: none; }
}
.field-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: var(--space-4);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--evergreen);
  padding: .55em 1em;
  border: 1px solid var(--stone);
  border-radius: 999px;
  transition: background .2s ease;
}
.field-more-btn:hover { background: var(--bone); }
.field-more-btn::after {
  content: "";
  width: .45em;
  height: .45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.12em) rotate(45deg);
}
.seq-toggle:checked ~ .field-more-btn::after { transform: translateY(.12em) rotate(-135deg); }
.seq-toggle:focus-visible ~ .field-more-btn { outline: 2px solid var(--evergreen); outline-offset: 2px; }
.field-more-btn .m-close { display: none; }
.seq-toggle:checked ~ .field-more-btn .m-open { display: none; }
.seq-toggle:checked ~ .field-more-btn .m-close { display: inline; }

/* ---- Before / During / After module ---- */
.bda {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
@media (min-width: 640px) {
  .bda { grid-template-columns: repeat(3, 1fr); }
}
.bda figure { margin: 0; }
.bda .img-placeholder,
.bda img { aspect-ratio: 4/3; width: 100%; }
.bda figcaption {
  margin-top: .5rem;
  font-size: var(--step-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--storm);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24,37,34,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 90vw; width: auto; border-radius: var(--radius); }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: var(--snow);
  border: none;
  border-radius: 999px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: var(--space-3); right: var(--space-3); }
.lightbox-prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: var(--space-3);
  left: 0; right: 0;
  text-align: center;
  color: #E9EEE9;
  font-size: var(--step-small);
  padding-inline: var(--space-6);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--evergreen);
  color: var(--snow);
  padding-block: var(--space-8);
}
.site-footer a { color: #C9D3CB; }
.site-footer a:hover { color: var(--snow); }
.footer-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-6); }
}
.footer-logo {
  height: 68px;
  width: auto;
  margin-bottom: var(--space-3);
}
.footer-brand p { color: #C9D3CB; font-size: var(--step-small); }
.footer-col h4 { color: var(--snow); font-size: var(--step-label); letter-spacing: var(--tracking-label); text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; font-size: var(--step-small); }
.footer-statement {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  line-height: 1.2;
  color: var(--snow);
}
.footer-cred {
  margin-top: var(--space-2);
  font-size: var(--step-small);
  font-weight: 600;
  color: #9FC2A8;
}
.footer-bottom {
  margin-top: var(--space-6);
  font-size: var(--step-label);
  color: #9FAEA4;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  justify-content: space-between;
}

/* ---- Ridge motif ---- */
.ridge-divider {
  height: 28px;
  width: 100%;
  color: var(--stone);
}
.section--evergreen .ridge-divider { color: rgba(255,255,255,.15); }

/* ---- CTA band (evergreen, before footer) ---- */
.cta-band {
  position: relative;
  background: var(--evergreen);
  color: var(--snow);
  overflow: hidden;
}
.cta-band .container {
  position: relative;
  z-index: 1;
  padding-block: var(--space-12);
  text-align: center;
}
.cta-band h2 { color: var(--snow); }
.cta-band p { color: #C9D3CB; margin: var(--space-2) auto var(--space-4); }
.cta-band .btn-row { justify-content: center; }
.cta-band .accent-rule { margin: 0 auto var(--space-3); }
.cta-band .ridge-bg {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 120px;
  color: rgba(255,255,255,.06);
  z-index: 0;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 780px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-method {
  display: block;
  padding: var(--space-3);
  border: var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
}
.contact-method h3 { font-size: 1.1rem; }
.contact-method .value { color: var(--green); font-weight: 600; font-size: 1.1rem; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
