/* Better Forever - brand tokens taken from the client's existing preview site */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #005745;
  --color-primary-dark: #004536;
  --color-secondary: #cfe6bf;
  --color-secondary-dark: #bce0a6;
  --color-warm-gray: #cbc3bb;
  --color-off-white: #fefbf5;
  --color-white: #ffffff;
  --color-black: #2d2a26;

  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --fs-hero: clamp(2.25rem, 6vw, 4rem);
  --fs-h1: clamp(1.875rem, 4vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.125rem);
  --fs-h3: clamp(1.125rem, 2.2vw, 1.5rem);
  --fs-body: clamp(.9375rem, 1.4vw, 1.0625rem);
  --fs-small: clamp(.8125rem, 1.2vw, .9375rem);

  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --container: 1200px;
  --gutter: 1.25rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);
  --shadow-primary: 0 8px 24px rgba(0, 87, 69, .25);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 72px;

  /* Hero photo: drop the file in /img/. If it is missing the gradient still looks intentional. */
  --hero-img: url("/img/hero.jpg");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-black);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-underline-offset: .18em; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  letter-spacing: -.01em;
}
h1, h2 { font-weight: 800; text-transform: uppercase; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 var(--space-md); }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--color-primary); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-md); transition: top .15s var(--ease); }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { display: inline-block; vertical-align: -.2em; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(254, 251, 245, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(203, 195, 187, .55);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand__name { font-family: var(--font-heading); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); font-size: .9rem; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__group { display: flex; gap: 1.25rem; }
.site-nav a:not(.btn) {
  font-family: var(--font-heading); font-weight: 700; font-size: .8125rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--color-primary);
  padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .15s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--color-primary); }
.site-nav__divider { width: 1px; height: 1.5rem; background: var(--color-warm-gray); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: .95rem 1.6rem; border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .65rem 1.1rem; font-size: .75rem; }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; box-shadow: var(--shadow-primary); }
.btn--light { background: var(--color-secondary); color: var(--color-primary-dark); }
.btn--light:hover { background: var(--color-secondary-dark); color: var(--color-primary-dark); }
.btn--ghost { color: #fff; border-color: transparent; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; padding-inline: 1rem; }
.btn--ghost:hover { color: var(--color-secondary); }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--space-lg); }
.btn-row--center { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(0, 69, 54, .62) 0%, rgba(0, 69, 54, 0) 100%),
    linear-gradient(180deg, rgba(0, 69, 54, .42) 0%, rgba(0, 69, 54, .5) 100%),
    var(--hero-img) 50% 12% / cover no-repeat,
    var(--color-primary);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero--tall { padding-block: clamp(5rem, 14vw, 10rem); text-align: center; }
.hero--short { padding-block: clamp(3rem, 7vw, 5rem); }
.hero__inner { position: relative; }
.hero--tall .hero__inner { max-width: 820px; }
.hero__title { color: #fff; font-size: var(--fs-hero); margin-bottom: 1.25rem; }
.hero__text { font-size: clamp(1.0625rem, 2vw, 1.3125rem); max-width: 40rem; opacity: .96; }
.hero--tall .hero__text { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 2rem; }
.hero--tall .hero__actions { justify-content: center; }
.eyebrow { font-family: var(--font-heading); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .75rem; }
.eyebrow--light { color: var(--color-secondary); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, var(--space-2xl)); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.section--white { background: var(--color-white); }
.section--sage { background: var(--color-secondary); }
.section-head { max-width: 46rem; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }
.lede--strong { font-weight: 700; color: var(--color-primary); }
.statement { font-size: clamp(1.625rem, 4vw, 2.5rem); max-width: 26ch; }
.center .statement, .section-head--center .statement { margin-inline: auto; }
.prose-wide { max-width: 52rem; }
.prose-wide.center { margin-inline: auto; }
.subhead { margin: var(--space-lg) 0 var(--space-md); }
.center-row { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: var(--space-lg); text-align: center; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { align-items: start; }
.card--wide { grid-column: 1 / -1; }

/* ---------- cards & panels ---------- */
.card, .stat-card, .info-card, .stat {
  background: var(--color-white); border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md); border: 1px solid rgba(203, 195, 187, .45);
}
.section--white .card { background: var(--color-off-white); box-shadow: none; }
.card__title { font-size: 1.25rem; text-transform: none; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: var(--color-black); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--color-black); }
.card--link .card__title { text-transform: uppercase; font-weight: 800; }
.card__more { margin-top: auto; padding-top: .5rem; font-family: var(--font-heading); font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); }
.stat-card { border-top: 6px solid var(--color-primary); }
.stat-card__h { font-size: 1.125rem; text-transform: none; font-weight: 800; }
.stat-card p:last-child, .card p:last-child { margin-bottom: 0; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1; margin-bottom: .5rem; }
.stat__label { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.panel { background: var(--color-white); border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.panel--green { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-primary); }
.panel--green h2, .panel--green h3 { color: #fff; }
.panel--green a { color: var(--color-secondary); }
.panel--center { text-align: center; }
.panel--center .lede { max-width: 44rem; margin-inline: auto; }

.check-list { list-style: none; margin: 0 0 var(--space-md); display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--color-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005745' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.panel--green .check-list li::before { background-color: var(--color-secondary); }
.def dt { font-weight: 700; color: var(--color-primary); margin-top: .75rem; }
.def dd { margin: 0; }

.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.chips li { font-family: var(--font-heading); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; padding: .7rem 1.2rem; border-radius: var(--radius-full); background: var(--color-primary); color: #fff; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: var(--space-lg); }
.compare__col { border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2rem); }
.compare__col h3 { text-transform: uppercase; }
.compare__col ul { list-style: none; display: grid; gap: .75rem; }
.compare__col li { padding-left: 1.75rem; position: relative; }
.compare__col--old { background: var(--color-white); border: 1px dashed var(--color-warm-gray); }
.compare__col--old li::before { content: "\2715"; position: absolute; left: 0; color: #8a7f74; font-weight: 700; }
.compare__col--new { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-primary); }
.compare__col--new h3 { color: #fff; }
.compare__col--new li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-secondary); font-weight: 800; }

.cta-band { background: var(--color-primary); color: #fff; text-align: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band__inner { max-width: 44rem; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.125rem; }

/* ---------- carousel ---------- */
.carousel { max-width: 46rem; margin-inline: auto; }
.story { background: var(--color-white); border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); border: 1px solid rgba(203, 195, 187, .45); margin-bottom: 1rem; }
.story__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; margin-bottom: 1rem; }
.story__name { text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.story__body p { margin-bottom: .5rem; }
.story__body p:first-child { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); font-size: 1.25rem; }
.story__tag { margin-top: 1rem; font-weight: 700; color: var(--color-primary); }
.story__count { font-size: var(--fs-small); color: #6b6258; margin: 1rem 0 0; }
.js .carousel__track { display: grid; }
.js .story { grid-area: 1 / 1; margin-bottom: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.js .story.is-active { opacity: 1; visibility: visible; }
.carousel__controls { display: none; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.js .carousel__controls { display: flex; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--color-primary); background: transparent; color: var(--color-primary); font-size: 1.25rem; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.carousel__btn:hover { background: var(--color-primary); color: #fff; }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--color-primary); background: transparent; cursor: pointer; position: relative; }
.carousel__dot::after { content: ""; position: absolute; inset: -10px; } /* bigger tap target */
.carousel__dot[aria-current="true"] { background: var(--color-primary); }

/* ---------- team ---------- */
.team-list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.member { display: grid; grid-template-columns: 160px 1fr; gap: clamp(1rem, 3vw, 2rem); background: var(--color-white); border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-md); border: 1px solid rgba(203, 195, 187, .45); }
.member__avatar { width: 160px; height: 160px; border-radius: var(--radius-xl); background: var(--color-primary); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.member__initials { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; letter-spacing: .04em; }
.member__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__name { font-size: clamp(1.25rem, 2.6vw, 1.75rem); margin-bottom: .25rem; text-transform: none; }
.member__role { font-family: var(--font-heading); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #5a5148; }
.member__more { margin: 0 0 1rem; }
.member__more summary { cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); list-style: none; display: inline-block; padding: .25rem 0; }
.member__more summary::-webkit-details-marker { display: none; }
.member__more summary::after { content: " +"; }
.member__more[open] summary::after { content: " \2212"; }
.member__more .when-open, .member__more[open] .when-closed { display: none; }
.member__more[open] .when-open { display: inline; }
.member__bio { margin-top: .75rem; }

/* ---------- booking & contact ---------- */
.picks { list-style: none; display: grid; gap: .75rem; margin-top: 1.25rem; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem 1.25rem; border-radius: var(--radius-lg); background: var(--color-off-white); border: 1px solid rgba(203, 195, 187, .6); }
.pick h3 { font-size: 1.0625rem; margin: 0; text-transform: none; }
.pick p { margin: 0; font-size: var(--fs-small); color: #5a5148; }
.contact-cards { display: grid; gap: 1rem; }
.info-card h2 { font-size: .8125rem; letter-spacing: .12em; margin-bottom: .5rem; }
.info-card p { margin: 0; font-size: 1.125rem; font-weight: 600; }

.form { display: grid; gap: 1rem; margin-top: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--color-black); background: #fff;
  border: 2px solid var(--color-warm-gray); border-radius: var(--radius-md); padding: .8rem .9rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(0, 87, 69, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form__status { margin: 0; min-height: 1.5em; font-weight: 600; }
.panel--green .field label { color: var(--color-secondary); }
.panel--green .form__status { color: #fff; }
.panel--green .btn--primary { background: var(--color-secondary); color: var(--color-primary-dark); }
.panel--green .btn--primary:hover { background: var(--color-secondary-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #e9efe9; padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.site-footer a { color: var(--color-secondary); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 2rem; }
.site-footer__logo { width: 48px; height: auto; margin-bottom: 1rem; }
.site-footer__name { font-family: var(--font-heading); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0; }
.site-footer__tag { color: var(--color-secondary); margin: 0; }
.site-footer__h { font-size: .75rem; letter-spacing: .14em; color: var(--color-secondary); margin-bottom: 1rem; }
.site-footer__list { list-style: none; display: grid; gap: .5rem; }
.site-footer__addr { font-style: normal; line-height: 1.9; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--fs-small); color: #b9c8bf; }
.site-footer__legal p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; background: transparent; border: 2px solid var(--color-primary);
    color: var(--color-primary); border-radius: var(--radius-md); padding: .5rem .8rem; cursor: pointer;
    font-family: var(--font-heading); font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease); }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-off-white); border-bottom: 1px solid var(--color-warm-gray); box-shadow: var(--shadow-lg); padding: .5rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__group { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(203, 195, 187, .5); font-size: .9375rem; }
  .site-nav__divider { display: none; }
  .site-nav__cta { margin-top: 1rem; }
  .member { grid-template-columns: 1fr; }
  .member__avatar { width: 112px; height: 112px; }
  .compare, .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: .78rem; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero--tall .hero__actions { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .card--link:hover { transform: none; }
}

@media (max-width: 700px) { .hero { background-position: 0 0, 0 0, 8% 12%, 0 0; } }

/* Home: hero height follows the photo's shape so the logo wall and the weights both stay in frame */
.hero--home { min-height: min(62vw, 92vh); display: flex; align-items: center; background-position: 0 0, 0 0, 50% 40%, 0 0; }
@media (max-width: 700px) {
  /* Phone: whole photo at full width pinned to the bottom, top edge fades into the green, headline sits above it */
  .hero--home {
    min-height: 0; padding-bottom: calc(56vw + 1rem);
    background:
      linear-gradient(180deg, var(--color-primary-dark) 0%, rgba(0, 69, 54, 0) 32%) 0 100% / 100% 62vw no-repeat,
      linear-gradient(180deg, rgba(0, 69, 54, .18), rgba(0, 69, 54, .18)) 0 100% / 100% 62vw no-repeat,
      var(--hero-img) 0 100% / 100% auto no-repeat,
      var(--color-primary-dark);
  }
}

/* ---------- photos ---------- */
.photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--color-sage, #cfe6bf); }
.photo img { display: block; width: 100%; height: auto; }
.photo--tall { max-width: 26rem; margin-inline: auto; }
.photo--mt { margin-top: var(--space-lg); }
.grid--center { align-items: center; }
.photo--banner { grid-column: 1 / -1; margin-top: var(--space-md, 1.5rem); }
.photo--banner img { aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 58%; }
@media (max-width: 860px) { .photo--banner img { aspect-ratio: 4 / 3; } }
.photo--floor img { object-position: 50% 62%; }
.photo--db img { object-position: 50% 40%; }
.photo--wide img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 560px) {
  .text-link, .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
}

/* "Built by" credit in the footer */
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; }
.site-footer__credit { margin: 0; }
.site-footer__credit a { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.site-footer { padding-bottom: 5rem; }
@media (max-width: 560px) { .site-footer { padding-bottom: 9rem; } }

/* hidden Joel review page */
.draft-note { background: var(--color-secondary); border-radius: var(--radius-xl); padding: clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 2rem); }
.draft-note p:last-child { margin-bottom: 0; }
.joel-intro { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.joel-intro__photo { position: relative; aspect-ratio: 6 / 7; background: var(--color-primary); color: #fff; border-radius: var(--radius-xl); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-md); }
.joel-intro__photo .member__initials { font-size: 4rem; }
.joel-intro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .joel-intro { grid-template-columns: 1fr; } .joel-intro__photo { max-width: 280px; } }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h2 { margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal__date { font-size: var(--fs-small); margin-block: 1.25rem; }
.todo { background: #fff3b0; color: var(--color-black); padding: 0 .25em; border-radius: 3px; }
.form__note { margin: 0; font-size: var(--fs-small); }
.panel--green .form__note, .form-on-dark .form__note { color: #fff; }
.site-footer__links { display: flex; gap: 1.25rem; }
