/* ==========================================================================
   Beacon House — site.css
   One stylesheet for the whole site. Tokens first; see /brand/ for usage.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core palette (carried over from the Divi global colors) */
  --ink: #2a2720;          /* body text, headings */
  --paper: #f2ecdf;        /* page background */
  --cream: #faf6ec;        /* cards, text on dark */
  --forest-900: #212a1e;   /* deepest sections, hero overlays */
  --forest-700: #3e4e38;   /* buttons, footer */
  --moss: #5c7355;         /* accents */
  --sage: #8ca484;         /* logo, decorative */
  --sage-200: #b8c7b0;     /* eyebrows on dark */
  --brass: #b8894a;        /* rules, numerals, large accents only */
  --stone: #887f6d;        /* decorative muted */
  --line: #d9d0bb;         /* borders, inputs */

  /* Accessible text variants (each tuned to pass WCAG AA at small sizes) */
  --moss-ink: #55694e;     /* links on paper/cream   5.1:1 */
  --brass-ink: #87622f;    /* small brass text on light 4.7:1 */
  --brass-soft: #dcb984;   /* small brass text on dark  4.8:1+ */
  --stone-ink: #6f6754;    /* muted small text on light 4.8:1 */

  /* Type */
  --font-display: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.8125rem;                          /* 13px */
  --step-0: 1rem;                                /* 16px body */
  --step-1: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --step-2: clamp(1.4rem, 1.2rem + .9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  --step-5: clamp(2.6rem, 1.8rem + 3.6vw, 4.25rem);

  /* Space & layout */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --section: clamp(64px, 9vw, 128px);
  --header-h: 72px;
  --radius: 0px;           /* the brand is square-cornered */
  --shadow: 0 1px 2px rgb(33 42 30 / .06), 0 8px 24px rgb(33 42 30 / .06);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--moss-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--brass-soft); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--forest-900); color: var(--cream); padding: 12px 18px;
  font: 500 var(--step--1)/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest-700); color: var(--cream); }
.section--deep { background: var(--forest-900); color: var(--cream); }
.on-dark a:not(.btn) { color: var(--cream); }
.on-dark a:not(.btn):hover { color: var(--sage-200); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--top { align-items: start; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  font: 500 .75rem/1.5 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 1.25rem;
}
.on-dark .eyebrow { color: var(--sage-200); }
.lede { font-size: var(--step-1); max-width: 46ch; }
.muted { color: var(--stone-ink); }
.on-dark .muted { color: var(--sage-200); }
.mono { font-family: var(--font-mono); }
.numeral { font: 500 .75rem/1 var(--font-mono); color: var(--brass-ink); letter-spacing: .12em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 14px 22px;
  font: 500 .75rem/1.2 var(--font-mono);
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--forest-700); border-radius: var(--radius);
  background: var(--forest-700); color: var(--cream);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--forest-900); border-color: var(--forest-900); color: var(--cream); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--forest-900); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--forest-900); }
.btn--ghost { background: transparent; color: var(--forest-700); }
.btn--ghost:hover { background: var(--forest-700); color: var(--cream); }
.on-dark .btn--ghost, .btn--ghost-light { background: transparent; color: var(--cream); border-color: rgb(250 246 236 / .45); }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { border-color: var(--cream); background: rgb(250 246 236 / .08); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.text-link {
  font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--moss-ink);
  display: inline-block; padding-block: 12px;  /* 44px+ tap target */
}
.text-link:hover { color: var(--forest-900); text-decoration: underline; }
.on-dark .text-link { color: var(--sage-200); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(242 236 223 / .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
}
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 112px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__list a {
  display: block; padding: 26px 10px;
  font: 600 .72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav__list a:hover { color: var(--moss-ink); }
.nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--brass);
}
.nav__list .n { color: var(--brass-ink); margin-right: .35em; font-weight: 500; }
.nav__list--secondary { padding-left: 14px; margin-left: 10px; border-left: 1px solid var(--line); }
.nav__list--secondary a { font-weight: 500; color: var(--stone-ink); }
.header-cta { margin-left: 16px; min-height: 44px; padding: 12px 18px; }
.nav-toggle {
  display: none; margin-left: 12px; width: 48px; height: 48px;
  background: none; border: 0; padding: 12px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; flex: none; }
.nav-toggle { flex: none; }
.header-cta { flex: 0 1 auto; min-width: 0; }
.mobile-nav { display: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-cta { margin-left: auto; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--paper); overflow-y: auto;
    padding: 16px var(--gutter) 40px;
  }
  .mobile-nav[data-open] { display: block; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav li a {
    display: flex; align-items: baseline; gap: .6em; padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font: 400 var(--step-2)/1.2 var(--font-display); color: var(--ink); text-decoration: none;
  }
  .mobile-nav li a .n { font: 500 .75rem/1 var(--font-mono); color: var(--brass-ink); }
  .mobile-nav__secondary a { font-size: var(--step-1) !important; color: var(--stone-ink) !important; }
  .mobile-nav__meta { margin-top: 28px; font-size: var(--step--1); color: var(--stone-ink); }
  body.nav-open { overflow: hidden; }
}
.cta-short { display: none; }
.header-cta { white-space: nowrap; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 480px) {
  .brand img { width: 92px; }
  .header-cta { padding: 12px 14px; letter-spacing: .12em; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--cream);
  min-height: min(78vh, 720px); display: grid; align-items: end;
  padding-block: clamp(96px, 14vw, 160px) clamp(56px, 8vw, 96px);
  background: var(--forest-900);
}
.hero--short { min-height: min(56vh, 520px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(33 42 30 / .92) 0%, rgb(33 42 30 / .78) 45%, rgb(33 42 30 / .35) 100%),
    linear-gradient(0deg, rgb(33 42 30 / .6) 0%, rgb(33 42 30 / 0) 50%);
}
.hero--right::before {
  background:
    linear-gradient(270deg, rgb(33 42 30 / .97) 0%, rgb(33 42 30 / .85) 45%, rgb(33 42 30 / .1) 85%),
    linear-gradient(0deg, rgb(33 42 30 / .5) 0%, rgb(33 42 30 / 0) 40%);
}
.hero--right .hero__content { margin-left: auto; }
.hero__content { max-width: 640px; }
.hero h1 { color: var(--cream); margin-bottom: .35em; }
.hero p { font-size: var(--step-1); color: rgb(250 246 236 / .92); max-width: 52ch; }
.hero .eyebrow { color: var(--sage-200); }
@media (max-width: 899px) {
  .hero::before, .hero--right::before {
    background: linear-gradient(0deg, rgb(33 42 30 / .95) 0%, rgb(33 42 30 / .8) 55%, rgb(33 42 30 / .45) 100%);
  }
  .hero--right .hero__content { margin-left: 0; }
}

/* ---------- Cards ---------- */
.card { background: var(--cream); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink); }
.card__body .text-link { margin-top: auto; }

/* ---------- Statement / intro ---------- */
.statement h2 { font-size: var(--step-4); }
.statement__aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }

/* ---------- Visit / map ---------- */
.visit { background: var(--forest-900); color: var(--cream); }
.visit address { font: 400 var(--step-2)/1.3 var(--font-display); font-style: normal; margin-bottom: 12px; }
.visit__map { border: 1px solid rgb(250 246 236 / .12); }
.visit__credit { font: 500 .6875rem/1 var(--font-mono); letter-spacing: .12em; color: var(--sage-200); text-align: right; margin-top: 8px; }
.visit__credit a { color: var(--sage-200); }

/* ---------- Forms ---------- */
.inquiry { scroll-margin-top: calc(var(--header-h) + 8px); }
.form-card {
  background: var(--cream); padding: clamp(24px, 4vw, 44px);
  border-top: 3px solid var(--brass); box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 20px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend, .fieldset legend {
  font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest-700);
}
.field .req { color: var(--brass-ink); }
.field .hint { font-size: var(--step--1); color: var(--stone-ink); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233e4e38' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #8f876f; }
.field [aria-invalid="true"] { border-color: #9b3b2a; }
.field .error { color: #9b3b2a; font-size: var(--step--1); margin: 0; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: .9375rem; cursor: pointer;
}
.choice input:checked + span { background: var(--forest-700); border-color: var(--forest-700); color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-actions .muted { font-size: var(--step--1); margin: 0; }
.form-status { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--moss); background: var(--paper); }
.form-status[hidden] { display: none; }
.form-status--error { border-left-color: #9b3b2a; }
.form-status p:last-child { margin-bottom: 0; }
.form-success { text-align: left; }
.form-success h3 { margin-bottom: .4em; }

/* ---------- Rooms (event rental) ---------- */
.glance { width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--cream); }
.glance caption { text-align: left; }
.glance th, .glance td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance thead th { font: 500 .7rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--forest-700); background: var(--paper); }
.glance tbody th { font: 400 1.125rem/1.2 var(--font-display); }
.glance a { white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
@media (max-width: 720px) {
  .glance thead { display: none; }
  .glance, .glance tbody, .glance tr, .glance th, .glance td { display: block; width: 100%; }
  .glance tr { padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
  .glance th, .glance td { border: 0; padding: 4px 16px; }
  .glance tbody th { padding-top: 12px; font-size: 1.25rem; }
  .glance td::before { content: attr(data-label) " · "; font: 500 .68rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-ink); }
  .table-scroll { border: 0; }
}
.room { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.room:first-of-type { border-top: 0; }
.room__meta { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .75rem; }
.room__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.room__photos > :first-child { grid-column: 1 / -1; }
.room__photos button { all: unset; cursor: zoom-in; display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.room__photos button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.room__photos img { width: 100%; height: 100%; object-fit: cover; }
.room__photos .more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgb(33 42 30 / .74); color: var(--cream);
  font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.facts { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts li b { font: 500 .7rem/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-ink); padding-top: 2px; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 400 var(--step-1)/1.35 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem/1 var(--font-mono); color: var(--brass-ink);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; max-width: 64ch; }

/* ---------- Quote ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; font: italic 400 var(--step-3)/1.3 var(--font-display); }
.quote figcaption { margin-top: 1.25rem; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-200); }

/* ---------- Coworking ---------- */
.amenities { columns: 2 220px; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.amenities li { break-inside: avoid; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 1px; background: var(--brass); }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plan { background: var(--cream); display: flex; flex-direction: column; }
.plan__media { aspect-ratio: 3 / 2; overflow: hidden; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; }
.plan__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.plan__price { font: 400 var(--step-3)/1 var(--font-display); margin: .25em 0 .2em; }
.plan__price small { font: 500 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-ink); }
.plan__term { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 1rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.photo-strip { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photo-strip button { all: unset; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; display: block; background: var(--line); }
.photo-strip button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-strip button:hover img { transform: scale(1.04); }

/* ---------- Counselors ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.filter__label { font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone-ink); margin-right: 6px; }
.filter button {
  min-height: 44px; padding: 10px 16px; cursor: pointer;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink);
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.filter button[aria-pressed="true"] { background: var(--forest-700); border-color: var(--forest-700); color: var(--cream); }
.counselor {
  background: var(--cream); display: grid; gap: clamp(20px, 3vw, 36px);
  padding: clamp(22px, 3vw, 36px); margin-bottom: 20px;
}
@media (min-width: 760px) { .counselor { grid-template-columns: 220px 1fr; } }
.counselor[hidden] { display: none; }
.counselor__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); max-width: 260px; }
.counselor__photo img { width: 100%; height: 100%; object-fit: cover; }
.counselor h3 { margin-bottom: .2em; }
.counselor__cred { font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1rem; }
.tags li { font-size: .8125rem; padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); }
.tags--ages li { border-color: var(--sage); background: rgb(140 164 132 / .14); }
.counselor .bio { max-width: 68ch; }

/* ---------- Story timeline ---------- */
.timeline { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: clamp(32px, 5vw, 56px); }
.timeline div { border-top: 1px solid rgb(250 246 236 / .25); padding-top: 16px; }
.timeline .year { font: italic 400 var(--step-2)/1 var(--font-display); color: var(--brass-soft); display: block; margin-bottom: 10px; }
.timeline p { font-size: .9375rem; color: rgb(250 246 236 / .88); margin: 0; }
.badge-callout { display: inline-block; font: 500 .75rem/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--brass); color: var(--brass-ink); padding: 10px 14px; }

/* ---------- Galleries ---------- */
.gallery-grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.gallery-card { text-decoration: none; color: var(--ink); display: block; }
.gallery-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); margin-bottom: 14px; }
.gallery-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-card:hover .gallery-card__media img { transform: scale(1.04); }
.gallery-card h2 { font-size: var(--step-2); margin: 0 0 .2em; }
.gallery-card p { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-ink); margin: 0; }
.gallery-card--cta { background: var(--forest-700); color: var(--cream); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; aspect-ratio: auto; }
.gallery-card--cta .eyebrow { color: var(--sage-200); }
.gallery-card--cta h2 { color: var(--cream); }
.gallery-card--cta p { color: rgb(250 246 236 / .9); text-transform: none; letter-spacing: 0; font: 400 1rem/1.6 var(--font-body); margin-bottom: 1rem; }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry button { all: unset; display: block; width: 100%; margin-bottom: 12px; cursor: zoom-in; break-inside: avoid; background: var(--line); }
.masonry button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.masonry img { width: 100%; height: auto; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.pager a { text-decoration: none; }
.pager small { display: block; font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone-ink); }
.pager span { font: 400 var(--step-1)/1.3 var(--font-display); color: var(--ink); }
.pager .next { text-align: right; margin-left: auto; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none;
  height: 100dvh; background: rgb(20 25 18 / .96); color: var(--cream);
}
.lightbox::backdrop { background: rgb(20 25 18 / .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 12px; position: relative; }
.lightbox__stage img { max-width: calc(100vw - 24px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { padding: 12px 20px 18px; text-align: center; font-size: .875rem; color: var(--sage-200); min-height: 3em; }
.lightbox button {
  background: none; border: 1px solid rgb(250 246 236 / .3); color: var(--cream);
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
}
.lightbox button:hover { border-color: var(--cream); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgb(20 25 18 / .5) !important; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.eco-strip { background: var(--forest-900); color: var(--cream); }
.eco-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; align-items: center; }
.eco-strip p { margin: 0; font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-soft); }
.eco-strip nav { font-size: .9375rem; }
.eco-strip nav a { color: var(--cream); text-decoration: none; padding: 8px 2px; }
.eco-strip nav a:hover { text-decoration: underline; }
.eco-strip nav span[aria-current] { color: var(--brass-soft); }
.site-footer { background: var(--forest-700); color: var(--cream); padding-block: clamp(48px, 6vw, 72px) 28px; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer img { width: 150px; margin-bottom: 18px; }
.site-footer .tagline { font: italic 400 var(--step-2)/1.25 var(--font-display); margin-bottom: 1rem; max-width: 18ch; }
.site-footer h2 { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; color: rgb(250 246 236 / .92); text-decoration: none; font-size: .9375rem; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .9375rem; line-height: 1.6; }
.site-footer address a { color: var(--cream); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(250 246 236 / .18); font-size: .8125rem; color: rgb(250 246 236 / .82); }
.site-footer__base a { color: rgb(250 246 236 / .92); }

/* ---------- Brand guide page ---------- */
.swatches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.swatch { background: var(--cream); border: 1px solid var(--line); }
.swatch__chip { height: 96px; }
.swatch__info { padding: 12px 14px; font-size: .8125rem; }
.swatch__info b { display: block; font: 400 1.05rem/1.3 var(--font-display); }
.swatch__info code { font: 500 .75rem/1.5 var(--font-mono); color: var(--stone-ink); }
.specimen { border-top: 1px solid var(--line); padding-block: 24px; display: grid; gap: 12px; }
@media (min-width: 760px) { .specimen { grid-template-columns: 220px 1fr; } }
.specimen code, .token { font: 500 .75rem/1.6 var(--font-mono); color: var(--stone-ink); }
.do-dont { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.do-dont > div { padding: 22px; background: var(--cream); border-top: 3px solid var(--moss); }
.do-dont > div.dont { border-top-color: #9b3b2a; }
.logo-panel { display: grid; place-items: center; padding: 40px; min-height: 180px; }
.logo-panel img { width: 240px; }

/* ---------- Stat tiles (meeting page) ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid rgb(250 246 236 / .2); }
.stat { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid rgb(250 246 236 / .2); }
.stat__label { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-200); }
.stat__value { font: 400 var(--step-2)/1.15 var(--font-display); color: var(--cream); white-space: nowrap; }
.card__body ul { padding-left: 1.1em; margin: 0; }
.card__body li + li { margin-top: .5em; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.maxw-60 { max-width: 60ch; }
.stack > * + * { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .mobile-nav, .eco-strip, .site-footer, .hero__media, .lightbox { display: none !important; }
  .hero { color: var(--ink); min-height: 0; padding: 24px 0; background: none; }
  .hero h1, .hero p { color: var(--ink); }
}

/* reCAPTCHA v3: the notice under each form replaces Google's floating badge */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { font-size: .75rem; margin: 16px 0 0; }
