/* ============================================
   Fair Winds Plumbing - components.css
   Buttons, cards, hero, sections
   ============================================ */

/* ---------- Buttons - navy primary, ghost secondary ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--navy);                 /* deep navy fill */
  color: var(--cream);
  background-image: none;
  transition: transform var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  box-shadow: 0 4px 0 var(--navy-deep), 0 6px 16px rgba(19, 28, 37, 0.26);
}
.btn:hover {
  background: var(--navy-soft);           /* lighter sea-blue on hover */
  color: var(--cream);                    /* override global a:hover color (was matching new bg → invisible text) */
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--navy-deeper), 0 10px 22px rgba(19, 28, 37, 0.32);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--navy-deep), 0 2px 8px rgba(19, 28, 37, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: 0 4px 0 var(--sand-deep), 0 4px 12px rgba(19, 28, 37, 0.08);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 6px 0 var(--navy-deeper), 0 8px 18px rgba(19, 28, 37, 0.20);
}
.btn--ghost:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--sand-deep), 0 2px 6px rgba(19, 28, 37, 0.08);
}

.btn svg { width: 18px; height: 18px; }

/* ---------- Homepage brand splash - prominent logo + name above the hero ---------- */
.home-splash {
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}
.home-splash__inner {
  display: grid;
  place-items: center;
  gap: 1.1rem;
}
.home-splash__mark {
  width: clamp(118px, 16vw, 180px);
  height: clamp(118px, 16vw, 180px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--bronze);
  box-shadow: var(--shadow-lift);
  background: var(--paper);
}
.home-splash__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-splash__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.home-splash__owner {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0.2rem 0 0;
  max-width: none;
  line-height: 1;
}
.home-splash__owner-name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--sage);
  letter-spacing: -0.02em;
  display: inline-block;
  line-height: 1;
  margin-inline-start: 0.25rem;
  vertical-align: -0.1em;
  font-variation-settings: "opsz" 96;
}
.home-splash__sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0.6rem 0 0;
  max-width: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}
.hero__copy .hero__headline {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}
/* Kill the italic em - accent em in deep navy, not brass (headings stay dark) */
.hero__copy .hero__headline em {
  font-style: normal;
  color: var(--sage);
  font-weight: 700;
}
.hero__lede { margin-top: 1.4rem; }
.hero__quote {
  margin-top: 1.6rem;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.3;
}
.hero__cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--bronze); }

/* Hero art block - harbor photo frame */
.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(1deg);
  box-shadow: var(--shadow-lift);
  border: 2px solid var(--border);
}
/* Inset frame - brass on navy, harbor-sign feel */
.hero__art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 134, 63, 0.45);
  border-radius: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__art-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  /* Cool-dark gradient - navy fog, not warm sand */
  background:
    radial-gradient(circle at 30% 25%, rgba(24, 63, 89, 0.30) 0, transparent 55%),
    linear-gradient(160deg, var(--sage) 0%, var(--navy-mid) 60%);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
}
.hero__art-inner svg {
  width: 88px; height: 88px;
  margin-bottom: 1rem;
  color: var(--bronze-soft);              /* brass icon on navy bg */
}
.hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Sticker → brass plaque / harbor sign */
.hero__sticker {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 120px; height: 120px;
  border-radius: var(--radius-sm);
  background: var(--sage);                 /* deep navy background */
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 1rem;
  transform: rotate(-5deg);
  /* Brass border = plaque edge */
  border: 3px solid var(--bronze);
  box-shadow: var(--shadow-lift);
  z-index: 3;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--sage);                 /* navy band */
  border-block: none;
  padding-block: 1.8rem;
}
.trust__list {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);                     /* cream on navy */
  font-style: normal;
}
.trust__list svg {
  width: 24px; height: 24px;
  color: var(--bronze-soft);              /* brass icons on navy */
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .trust { text-align: center; }
  .trust__list {
    display: flex;
    flex-direction: column;
    align-items: center;          /* center each li horizontally in the column */
    justify-content: flex-start;
    gap: 1rem;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }
  .trust__list li {
    display: inline-flex;         /* shrink li to icon+text width so align-items can center it */
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;               /* belt-and-suspenders centering */
    text-align: left;             /* keep multi-word text rag-left next to the icon */
  }
}

/* ---------- Section header ---------- */
.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
}
.section-head .lede { margin-top: 1rem; margin-inline: auto; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left .lede { margin-inline: 0; }

/* ---------- Cards - bold icon tile, editorial rhythm ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem 1.8rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
/* Decorative brass corner - breaks the rectangular sameness */
.card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 72px; height: 72px;
  background:
    linear-gradient(225deg, rgba(184, 134, 63, 0.18) 0%, rgba(184, 134, 63, 0) 55%);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(184, 134, 63, 0.55);
}
.card__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--sage);                 /* solid navy tile */
  color: var(--bronze-soft);               /* brass icon on navy */
  margin-bottom: 1.3rem;
  box-shadow: 0 4px 12px rgba(24, 63, 89, 0.18);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover .card__icon {
  background: var(--bronze);
  color: var(--cream);
  transform: rotate(-2deg);
}
.card__icon svg { width: 32px; height: 32px; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  font-variation-settings: "opsz" 72;
  line-height: 1.2;
}
.card__body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .card::before,
  .card__icon { transition: none; }
  .card:hover .card__icon { transform: none; }
}
/* Subtle off-axis rotations kept - handcrafted, not corporate */
.card--rotate-l { transform: rotate(-0.3deg); }
.card--rotate-r { transform: rotate(0.4deg); }
.card--rotate-l:hover,
.card--rotate-r:hover { transform: rotate(0) translateY(-3px); }

/* Project / image card */
.project {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.project__media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 25% 25%, rgba(24, 63, 89, 0.22) 0, transparent 50%),
    linear-gradient(160deg, var(--sage) 0%, var(--navy-mid) 70%);
  display: grid;
  place-items: center;
  color: var(--bronze-soft);              /* brass icon on navy placeholder */
  position: relative;
  overflow: hidden;
}
.project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project__body { padding: 1.5rem 1.5rem 1.7rem; }
/* Project tag - cream label with brass border */
.project__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  background: var(--paper);
  padding: 0.28em 0.7em;
  border-radius: 0;
  border: 1px solid rgba(184, 134, 63, 0.45);
  margin-bottom: 0.8rem;
}
.project__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 72;
}
.project__desc {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* ---------- About teaser ---------- */
.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .about-teaser__inner { grid-template-columns: 1fr; }
}
.about-teaser__art {
  aspect-ratio: 5 / 6;
  background:
    radial-gradient(circle at 65% 25%, rgba(24, 63, 89, 0.28) 0, transparent 55%),
    linear-gradient(160deg, var(--sage) 0%, var(--navy-mid) 70%);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  transform: rotate(-0.8deg);
  display: grid;
  place-items: center;
  color: var(--cream);                     /* cream icon on navy art block */
  position: relative;
}
/* Brass inset frame */
.about-teaser__art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 134, 63, 0.40);
  border-radius: 0;
  pointer-events: none;
}
.about-teaser__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 1.5rem 0;
  padding-left: 1.4rem;
  border-left: 4px solid var(--bronze);   /* brass accent stripe */
  font-variation-settings: "opsz" 72;
}
.pull-quote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ---------- Testimonials - navy wall, framed quote ---------- */
.testimonial {
  background: var(--sage);                 /* deep navy background */
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(184, 134, 63, 0.20);  /* subtle brass frame */
}
.testimonial::before,
.testimonial::after {
  content: "\201C";
  position: absolute;
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(184, 134, 63, 0.12);        /* faint brass quote marks */
  line-height: 0.7;
}
.testimonial::before { top: 1.2rem; left: 1.5rem; }
.testimonial::after { content: "\201D"; bottom: -2rem; right: 1.5rem; }
.testimonial__slide {
  display: none;
  font-family: var(--font-display);
  font-style: normal;                      /* no italic */
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  max-width: 40ch;
  margin: 0 auto;
  font-variation-settings: "opsz" 72;
}
.testimonial__slide.is-active { display: block; animation: fade var(--dur) var(--ease); }
.testimonial__author {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-soft);              /* lighter brass attribution on navy */
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Review CTA - prompt to leave Google / Facebook review ---------- */
.review-cta {
  margin: 2.5rem auto 0;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.review-cta__eyebrow {
  margin-bottom: 0.25rem;
}
.review-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 32ch;
}
.review-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.4rem;
}
.btn--review {
  background: var(--cream);
  color: var(--navy);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--sand-deep), 0 4px 12px rgba(19, 28, 37, 0.10);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 0.8rem 1.35rem;
}
.btn--review:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--navy-deep), 0 8px 18px rgba(19, 28, 37, 0.18);
}
.btn--review:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--sand-deep), 0 2px 6px rgba(19, 28, 37, 0.10);
}
.btn--review svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sand);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--border);
  border-left: 4px solid var(--bronze);   /* brass left stripe - not too thick */
  position: relative;
}
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; border-left: 1px solid var(--border); border-top: 4px solid var(--bronze); }
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band__buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 800px) { .cta-band__buttons { justify-content: center; } }

/* ---------- Service list (services page) ---------- */
.service-group { margin-top: 3rem; }
.service-group:first-of-type { margin-top: 0; }
.service-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 72;
}
.service-group__lede { color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Process strip ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  margin-top: 3rem;
}
@media (max-width: 800px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.process__step {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  counter-increment: step;
}
.process__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sage);                      /* navy numeral - not brass (decorative, large) */
  margin-bottom: 0.3rem;
}
.process__step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.process__step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}
.page-hero h1 { margin-top: 1rem; }
.page-hero p { margin: 1.4rem auto 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.2rem; }
/* Honeypot: completely off-screen, no display:none (some bots skip hidden inputs). */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__field { display: grid; gap: 0.4rem; }
.form__field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form__field input,
.form__field textarea {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  font-family: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__field input:focus-visible,
.form__field textarea:focus-visible {
  border-color: var(--sage);
  /* Solid brass ring matching the global :focus-visible — meets WCAG 1.4.11
     non-text contrast on cream paper. Low-alpha box-shadows wash out here. */
  outline: 3px solid var(--bronze);
  outline-offset: 2px;
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__row {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form button[type="submit"] { justify-self: start; margin-top: 0.6rem; }
.form__hint {
  display: inline-block;
  margin-left: 0.4em;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-mute);
}
.form__error {
  background: rgba(138, 58, 34, 0.08);
  border: 1px solid rgba(138, 58, 34, 0.4);
  color: var(--rust);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin: 0;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-variation-settings: "opsz" 72;
}
.contact-card dl { display: grid; gap: 1rem; }
.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.contact-card dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------- Values list (about) ---------- */
.values {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.value {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--bronze);   /* thin brass stripe */
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 72;
}
.value p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Reveal animation ----------
   Progressive enhancement: only hide when JS has set html.has-anim.
   Without the gate, a JS failure / no-JS user sees blank sections. */
html.has-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity   var(--dur-lg, 480ms) var(--ease-rugged-out, var(--ease)),
    transform var(--dur-lg, 480ms) var(--ease-rugged-out, var(--ease));
}
html.has-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.has-anim .reveal { opacity: 1; transform: none; }
}

/* ---------- Section dividers - long low swell ---------- */
.divider-wave {
  display: block;
  width: 100%;
  height: 40px;
  margin-bottom: -1px;                     /* flush seam with adjacent surface */
  color: var(--sage);                      /* navy swell fill by default */
}
/* Variant: cream swell on navy background */
.divider-wave--cream {
  color: var(--cream);
}

/* ---------- Photo grid (about) ---------- */
.photo-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid figure {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(24, 63, 89, 0.25) 0, transparent 55%),
    linear-gradient(160deg, var(--sage) 0%, var(--navy-mid) 70%);
  display: grid;
  place-items: center;
  color: var(--bronze-soft);              /* brass icon on navy placeholder */
  box-shadow: var(--shadow-soft);
}
.photo-grid figure:nth-child(2) { transform: rotate(0.6deg); }
.photo-grid figure:nth-child(1) { transform: rotate(-0.5deg); }
.photo-grid figure:nth-child(3) { transform: rotate(0.3deg); }
.photo-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Feature split (photo + list) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; }
}
.feature-split__media {
  aspect-ratio: 4 / 5;
  border-radius: 24px 24px 24px 80px;       /* organic radius */
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lift);
  transform: rotate(-1deg);
}
.feature-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feature-split__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.2rem;
}
.feature-split__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.feature-split__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-split__list h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  font-variation-settings: "opsz" 72;
}
.feature-split__list p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.feature-split__bullet {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Numbered row (water quality section) ---------- */
.numbered-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
@media (max-width: 800px) {
  .numbered-row { grid-template-columns: 1fr; }
}
.numbered-row__item {
  position: relative;
  padding: 2rem 1.5rem 1.8rem;
  border-top: 2px solid var(--bronze);
  background: transparent;
}
.numbered-row__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 0.9rem;
  font-variation-settings: "opsz" 144;
  font-style: italic;
  opacity: 0.85;
}
.numbered-row__item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
  font-variation-settings: "opsz" 72;
}
.numbered-row__item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Mobile centering pass
   Centers hero copy, page-hero, CTAs, and footer
   so single-column layouts read tidy on phones.
   ============================================ */
@media (max-width: 700px) {
  .hero__copy { text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__meta { justify-content: center; }
  .hero__meta span { justify-content: center; }

  .page-hero { text-align: center; }
  .page-hero .lede { margin-inline: auto; }

  .section-head,
  .section-head--left { text-align: center; }
  .section-head--left .lede { margin-inline: auto; }

  .about-teaser__inner { text-align: center; }
  .about-teaser__inner .pull-quote { text-align: center; margin-inline: auto; }

  .cta-band { text-align: center; }
  .cta-band__buttons { justify-content: center; }

  .form button[type="submit"] { justify-self: center; }

  .site-footer__grid { text-align: center; }
  .site-footer__brand .brand { justify-content: center; }
  .site-footer h4 { display: inline-block; }
}
