/* =========================================================
   Sterling Ridge HOA — Design System
   Palette: Forest & Stone — deep forest / moss / limestone / brass
   ---------------------------------------------------------
   Deliberately distinct from the Eastbrooke Coach Homes system
   (espresso/walnut/clay/cream), which is in use on another site.
   Do not reintroduce browns or golds here.

   Contrast (verified against WCAG 2.1):
     ink   on stone   15.90  AA
     moss  on stone    5.31  AA   <- body copy
     muted on stone    5.00  AA   <- small print
     brass-text/stone  5.08  AA   <- eyebrows, small accents
     stone on forest  14.59  AA   <- dark panels
   `--brass` itself is DECORATIVE ONLY (icons, rules, dots, fills).
   For accent TEXT use `--brass-text`, which is darkened to pass AA.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* --- Color --- */
  --stone:        #F4F2ED;   /* page background — limestone */
  --stone-deep:   #E9E6DE;
  --stone-mid:    #DCD8CE;
  --white:        #FFFFFF;
  --forest-deep:  #14231C;   /* darkest — dark panels, footer */
  --forest:       #22392E;   /* primary — buttons, headings */
  --moss:         #4A6B57;   /* body copy */
  --sage:         #8FA398;   /* muted text on dark panels */
  --brass:        #A8823C;   /* decorative accent only */
  --brass-text:   #806228;   /* accent text — AA on stone */
  --brass-light:  #C9A867;
  --brass-wash:   rgba(168, 130, 60, .12);
  --ink:          #101A15;
  --muted:        #5E6B62;
  --line:         rgba(20, 35, 28, .10);
  --line-strong:  rgba(20, 35, 28, .18);

  /* --- Surfaces --- */
  --surface:      #FCFBF8;
  --glass:        rgba(252, 251, 248, .72);
  --glass-dark:   rgba(20, 35, 28, .55);

  /* --- Shadow --- */
  --shadow-sm:  0 1px 2px rgba(20,35,28,.05), 0 2px 6px rgba(20,35,28,.04);
  --shadow-md:  0 2px 4px rgba(20,35,28,.04), 0 12px 28px rgba(20,35,28,.07);
  --shadow-lg:  0 4px 8px rgba(20,35,28,.04), 0 24px 60px rgba(20,35,28,.10);
  --shadow-xl:  0 8px 16px rgba(20,35,28,.05), 0 40px 100px rgba(20,35,28,.14);

  /* --- Radius --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* --- Type --- */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Motion --- */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .6s;

  /* --- Layout --- */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  --header-h: 92px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--forest);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brass-light); color: var(--ink); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 40, 'SOFT' 0, 'WONK' 0;
}

.display  { font-size: clamp(2.9rem, 7.2vw, 6rem); line-height: .98; letter-spacing: -.035em; }
.h1       { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.03em; }
.h2       { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.025em; }
.h3       { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.h4       { font-size: 1.125rem; letter-spacing: -.01em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--moss);
  font-weight: 300;
  max-width: 60ch;
}

.body-sm { font-size: .9375rem; color: var(--moss); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.is-plain::before { display: none; }

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: clamp(72px, 11vw, 148px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--stone { background: var(--stone); }
.section--deep  { background: var(--stone-deep); }
.section--white { background: var(--surface); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head__text { max-width: none; flex: 1 1 min(640px, 100%); }
.section-head__text > h2,
.section-head__text > h1 { max-width: 20ch; }
.section-head__text > p:not(.eyebrow) { max-width: 58ch; }
@media (min-width: 1100px) {
  .section-head__text > h2 { max-width: 26ch; }
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 0; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.divider { height: 1px; background: var(--line); border: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--forest-deep);
  --btn-fg: var(--stone);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s ease, color .3s ease;
  box-shadow: var(--shadow-sm);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--brass) 0%, var(--brass-light) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
/* Hover fills with the brass gradient, so the label must flip to ink —
   stone-on-brass is only 3.17:1 and fails AA. ink-on-brass is 5.02:1. */
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); --btn-fg: var(--ink); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { --btn-fg: var(--ink); }

.btn--light {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
}
.btn--light:hover { --btn-fg: var(--ink); }
.btn--light::after { background: var(--brass-light); }

.btn--lg { padding: 18px 38px; font-size: 1rem; }
.btn--sm { padding: 11px 22px; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s ease;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--brass-text); }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   Header — sticky glass
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease), height .4s var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { box-shadow: 0 1px 30px rgba(46,33,26,.06); }

.header__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  /* No hover effect on the logo or the association name, by request. */
  transition: none;
}
/* Header logo. The supplied PNG carries its own light background, so there is
   no tile behind it. Sized generously — 42px was too small for the mark to
   read. No hover transform, by request. */
.brand__mark {
  height: 62px;
  width: auto;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand__mark img {
  height: 62px;
  width: auto;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand__sub {
  font-size: .5625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-text);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 450;
  color: var(--moss);
  transition: color .3s ease, background .3s ease;
}
.nav__link:hover { color: var(--ink); background: var(--brass-wash); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brass);
  transform: translateX(-50%);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  flex-direction: column; gap: 5px;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn--login { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 880;
  background: var(--stone);
  padding: 32px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer__link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, padding-left .4s var(--ease);
}
.drawer__link:hover { color: var(--brass-text); padding-left: 8px; }
.drawer .btn { margin-top: 28px; }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"]  { transform: none; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.955); }

/* Line-by-line heading reveal */
.reveal-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.reveal-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.is-in .reveal-mask > span,
.reveal-mask.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-mask > span { transform: none !important; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(175deg, var(--stone) 0%, var(--stone-deep) 62%, var(--stone-mid) 100%);
}
.hero__glow {
  position: absolute;
  width: 62vw; height: 62vw;
  max-width: 820px; max-height: 820px;
  right: -12vw; top: -14vw;
  background: radial-gradient(circle, rgba(214,181,131,.42) 0%, rgba(214,181,131,0) 68%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__glow--2 {
  left: -18vw; right: auto; top: auto; bottom: -22vw;
  background: radial-gradient(circle, rgba(176,136,86,.24) 0%, rgba(176,136,86,0) 70%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: 100%;
}
.hero__title {
  margin: 22px 0 26px;
  /* The association's full legal name is long; step the size down from
     .display so it still breaks into three clean lines on a laptop. */
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -.032em;
}
.hero__title em {
  font-style: italic;
  color: var(--brass-text);
  font-variation-settings: 'WONK' 1;
}
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 38px;
}
.hero__meta {
  display: flex; gap: clamp(24px, 4vw, 52px);
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__visual img,
.hero__visual .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero__badge {
  position: absolute;
  left: -26px; bottom: 42px;
  padding: 18px 24px;
  border-radius: var(--r-md);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.hero__badge svg { color: var(--brass); flex-shrink: 0; }
.hero__badge p { font-size: .8125rem; line-height: 1.45; color: var(--forest); }
.hero__badge strong { display: block; color: var(--ink); font-size: .875rem; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16 / 11; order: -1; }
  .hero__badge { left: 16px; bottom: 16px; }
}

/* Placeholder art (no external images required) */
.ph {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, var(--brass-light) 0%, var(--brass) 38%, var(--forest) 100%);
  position: relative;
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,253,249,.72);
  text-align: center;
  padding: 0 16px;
}
.ph--alt { background: linear-gradient(160deg, var(--stone-mid) 0%, var(--brass-light) 55%, var(--moss) 100%); }
.ph--deep { background: linear-gradient(160deg, var(--moss) 0%, var(--forest) 50%, var(--forest-deep) 100%); }

/* =========================================================
   Cards
   ========================================================= */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s ease;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), var(--brass-wash), transparent 45%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176,136,86,.32); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brass-wash);
  color: var(--brass-text);
  margin-bottom: 22px;
  transition: transform .55s var(--ease), background .4s ease, color .4s ease;
}
.card:hover .card__icon { transform: scale(1.08) rotate(-5deg); background: var(--forest-deep); color: var(--brass-light); }
.card h3 { margin-bottom: 10px; font-size: 1.1875rem; }
.card p { font-size: .9375rem; color: var(--moss); }

.card--feature { display: flex; flex-direction: column; }
.card--feature .card__foot { margin-top: auto; padding-top: 22px; }

/* =========================================================
   Events carousel
   ========================================================= */
.carousel { position: relative; }
.carousel__nav { display: flex; align-items: center; gap: 10px; }
.cbtn {
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm);
  color: var(--ink);
  transition: transform .4s var(--ease), background .3s ease, color .3s ease, opacity .3s ease;
}
.cbtn:hover:not(:disabled) { background: var(--forest-deep); color: var(--stone); transform: scale(1.06); }
.cbtn:disabled { opacity: .32; cursor: not-allowed; }

.carousel__viewport {
  overflow: hidden;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 8px 24px;
}
.carousel__track {
  display: flex;
  gap: 22px;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.carousel__track.no-anim { transition: none; }

.event-card {
  flex: 0 0 auto;
  width: clamp(268px, 27vw, 336px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176,136,86,.3); }

.event-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.event-date {
  width: 62px;
  padding: 10px 0;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--stone);
  text-align: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.event-date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
}
.event-date span {
  display: block;
  margin-top: 3px;
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.tag {
  display: inline-block;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--brass-wash);
  color: var(--forest);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--meeting     { background: rgba(176,136,86,.14); color: #7A5A32; }
.tag--maintenance { background: rgba(150,102,74,.13); color: #7A4D33; }
.tag--social      { background: rgba(122,140,96,.15); color: #4F5F38; }
.tag--deadline    { background: rgba(168,74,62,.12); color: #8C3A2E; }

.event-card h3 { font-size: 1.1875rem; line-height: 1.22; }
.event-card__meta { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.event-card__meta li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem;
  color: var(--moss);
}
.event-card__meta svg { color: var(--brass); flex-shrink: 0; }

.carousel__progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.carousel__progress i {
  display: block;
  height: 100%;
  background: var(--brass);
  border-radius: 2px;
  transition: width .5s var(--ease), transform .5s var(--ease);
}

@media (max-width: 620px) {
  .event-card { width: 82vw; }
}

/* =========================================================
   Split / feature panels
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
.split__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img, .split__media .ph { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
}

.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: .9375rem; color: var(--moss); }
.checklist svg { color: var(--brass); flex-shrink: 0; margin-top: 3px; }

/* =========================================================
   Portal CTA (dark panel)
   ========================================================= */
.portal {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(140deg, var(--forest) 0%, var(--forest-deep) 58%, #1B120C 100%);
  color: var(--stone);
  padding: clamp(44px, 6vw, 88px);
  isolation: isolate;
}
.portal::before {
  content: '';
  position: absolute;
  width: 640px; height: 640px;
  right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(214,181,131,.28), transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.portal h2 { color: var(--stone); }
.portal .lead { color: rgba(250,245,236,.72); }
.portal__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.portal__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portal__feature {
  padding: 22px;
  border-radius: var(--r-md);
  background: rgba(250,245,236,.055);
  border: 1px solid rgba(250,245,236,.10);
  backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), background .4s ease, border-color .4s ease;
}
.portal__feature:hover { transform: translateY(-4px); background: rgba(250,245,236,.09); border-color: rgba(214,181,131,.34); }
.portal__feature svg { color: var(--brass-light); margin-bottom: 14px; }
.portal__feature h4 { color: var(--stone); font-size: .9375rem; margin-bottom: 5px; font-family: var(--font-body); font-weight: 600; }
.portal__feature p { font-size: .8125rem; color: rgba(250,245,236,.6); line-height: 1.5; }
@media (max-width: 860px) { .portal__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .portal__features { grid-template-columns: 1fr; } }

/* =========================================================
   Gallery
   ========================================================= */
.masonry {
  columns: 3;
  column-gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

.masonry__item {
  break-inside: avoid;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  display: block;
  width: 100%;
  text-align: left;
}
.masonry__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.masonry__item img, .masonry__item .ph { width: 100%; transition: transform .8s var(--ease); }
.masonry__item:hover img, .masonry__item:hover .ph { transform: scale(1.045); }
.masonry__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 20px 18px;
  background: linear-gradient(transparent, rgba(26,18,13,.78));
  color: var(--stone);
  font-size: .875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.masonry__item:hover .masonry__cap { opacity: 1; transform: none; }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.gallery-strip > * { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 700px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(26,18,13,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  max-width: 1100px; width: 100%;
  transform: scale(.96);
  transition: transform .5s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__stage img, .lightbox__stage .ph {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
  border-radius: var(--r-lg);
  aspect-ratio: 3/2;
}
.lightbox__cap { color: var(--stone); text-align: center; margin-top: 18px; font-size: .9375rem; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(250,245,236,.10);
  border: 1px solid rgba(250,245,236,.2);
  color: var(--stone);
  backdrop-filter: blur(10px);
  transition: background .3s ease, transform .4s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(250,245,236,.22); transform: scale(1.06); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -25px; }

/* =========================================================
   FAQ / Accordion
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  transition: color .3s ease;
}
.faq__q:hover { color: var(--brass-text); }
.faq__icon {
  position: relative;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background .4s ease, box-shadow .4s ease, transform .5s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 10px auto 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform .5s var(--ease), opacity .3s ease;
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--forest-deep); color: var(--stone); box-shadow: none; transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p {
  padding-bottom: 28px;
  max-width: 68ch;
  color: var(--moss);
  font-size: .9688rem;
}

/* =========================================================
   Forms
   ========================================================= */
.field { position: relative; margin-bottom: 18px; }
.field__input {
  width: 100%;
  padding: 17px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .3s ease, box-shadow .35s var(--ease), background .3s ease;
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-wash);
}
.field__input:user-invalid { border-color: #B4564A; }
textarea.field__input { min-height: 148px; resize: vertical; }

/* Floating label */
.field--float .field__input { padding-top: 24px; padding-bottom: 10px; }
.field--float label {
  position: absolute;
  left: 19px; top: 17px;
  font-size: .9375rem;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s ease;
}
.field--float .field__input:focus + label,
.field--float .field__input:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.76);
  color: var(--brass-text);
}

.field__hint { font-size: .8125rem; color: var(--muted); margin-top: 7px; }
.field__error { font-size: .8125rem; color: #B4564A; margin-top: 7px; display: none; }
.field.has-error .field__input { border-color: #B4564A; }
.field.has-error .field__error { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-note {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--brass-wash);
  font-size: .8125rem;
  color: var(--forest);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.form-note svg { color: var(--brass); flex-shrink: 0; margin-top: 2px; }

.form-status {
  display: none;
  padding: 15px 18px;
  border-radius: var(--r-md);
  font-size: .875rem;
  margin-bottom: 18px;
}
.form-status.is-visible { display: block; }
.form-status--ok  { background: rgba(122,140,96,.14); color: #46552F; }
.form-status--err { background: rgba(180,86,74,.12); color: #8C3A2E; }

/* Upload dropzone */
.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 38px 24px;
  text-align: center;
  background: var(--stone);
  transition: border-color .3s ease, background .3s ease;
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brass); background: var(--brass-wash); }
.dropzone svg { color: var(--brass); margin: 0 auto 14px; }

/* =========================================================
   Auth modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s var(--ease), visibility .42s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,18,13,.52);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.modal__panel {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92svh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-xl);
  background: var(--stone);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(.97);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .45s var(--ease);
  scrollbar-width: thin;
}
/* Lenis swallows wheel events inside overlays unless told otherwise; the
   [data-lenis-prevent] attribute on the panel is what actually restores
   scrolling here. These rules just stop the scrollbar looking bolted on. */
.modal__panel::-webkit-scrollbar { width: 10px; }
.modal__panel::-webkit-scrollbar-track { background: transparent; }
.modal__panel::-webkit-scrollbar-thumb {
  background: var(--stone-mid);
  border-radius: 999px;
  border: 3px solid var(--stone);
}
.modal__panel::-webkit-scrollbar-thumb:hover { background: var(--sage); }
.modal__panel { scrollbar-color: var(--stone-mid) transparent; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }

.modal__head {
  position: relative;
  padding: 40px 34px 34px;
  text-align: center;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--stone);
}
.modal__head::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: rgba(214,181,131,.28);
}
/* Reversed lockup: the modal header is already deep forest, so the mark
   inverts to a limestone tile with a forest ridge — same logic as
   assets/img/logo/mark-ridgeline-reversed.svg. */
.modal__mark {
  width: 74px; height: 74px;
  border-radius: 21px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--stone);
  color: var(--forest);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.modal__head h2 {
  color: var(--stone);
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.modal__head p {
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(250,245,236,.12);
  border: 1px solid rgba(250,245,236,.24);
  color: var(--stone);
  transition: background .3s ease, transform .4s var(--ease);
}
.modal__close:hover { background: rgba(250,245,236,.26); transform: rotate(90deg); }

.modal__body { padding: 28px 34px 36px; }

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--stone-deep);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 28px;
  position: relative;
}
.segmented__btn {
  position: relative;
  z-index: 1;
  padding: 12px 10px;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--moss);
  transition: color .35s ease;
}
.segmented__btn[aria-selected="true"] { color: var(--stone); }
.segmented__thumb {
  position: absolute;
  top: 5px; left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 7px);
  border-radius: var(--r-pill);
  background: var(--forest-deep);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease);
}
.segmented[data-active="1"] .segmented__thumb { transform: translateX(calc(100% + 4px)); }

.pane { display: none; }
.pane.is-active { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.pane > h3 { font-size: 1.875rem; margin-bottom: 24px; }

.modal .field { margin-bottom: 14px; }
.modal .btn { margin-top: 12px; }

.text-link {
  font-size: .875rem;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color .3s ease, text-decoration-color .3s ease;
}
.text-link:hover { color: var(--brass-text); text-decoration-color: var(--brass-text); }

.modal__foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
}

.pwd-wrap { position: relative; }
.pwd-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  color: var(--muted);
  transition: color .3s ease, background .3s ease;
}
.pwd-toggle:hover { color: var(--ink); background: var(--brass-wash); }

.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: .8125rem; color: var(--moss); margin: 6px 0 4px; }
.checkbox input { margin-top: 3px; accent-color: var(--brass); width: 16px; height: 16px; flex-shrink: 0; }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(60px, 8vw, 110px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background: linear-gradient(170deg, var(--stone-deep) 0%, var(--stone) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  right: -220px; top: -320px;
  background: radial-gradient(circle, rgba(214,181,131,.34), transparent 68%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero .lead { margin-top: 22px; }
.crumbs { display: flex; gap: 9px; font-size: .8125rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--brass-text); }

/* =========================================================
   Board cards
   ========================================================= */
.board-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  display: flex;
  flex-direction: column;
}
.board-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.board-card__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--stone-mid); }
.board-card__photo img, .board-card__photo .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.board-card:hover .board-card__photo img, .board-card:hover .board-card__photo .ph { transform: scale(1.05); }
.board-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.board-card__role {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-text);
  font-weight: 600;
}
.board-card h3 { font-size: 1.25rem; }
.board-card p { font-size: .875rem; color: var(--moss); }
.board-card__mail { margin-top: auto; padding-top: 12px; }

/* =========================================================
   Events page
   ========================================================= */
.toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
  backdrop-filter: blur(12px);
}
.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--stone);
  font-size: .9375rem;
  transition: border-color .3s ease, box-shadow .35s var(--ease);
}
.search input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-wash); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--moss);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: all .35s var(--ease);
}
.chip:hover { color: var(--ink); background: var(--brass-wash); }
.chip[aria-pressed="true"] {
  background: var(--forest-deep);
  color: var(--stone);
  box-shadow: none;
}

.event-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s ease;
}
.event-row:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: rgba(176,136,86,.3); }
.event-row.is-past { opacity: .62; }
.event-row__cal {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--r-md);
  background: var(--stone-deep);
}
.event-row__cal strong { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); line-height: 1; }
.event-row__cal span { display: block; margin-top: 4px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.event-row h3 { font-size: 1.25rem; margin-bottom: 8px; }
.event-row__meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: .875rem; color: var(--moss); }
.event-row__meta li { display: flex; align-items: center; gap: 7px; }
.event-row__meta svg { color: var(--brass); }
@media (max-width: 720px) {
  .event-row { grid-template-columns: 72px 1fr; }
  .event-row > .tag { grid-column: 2; justify-self: start; }
}

.empty {
  padding: 72px 24px;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
}
.empty svg { margin: 0 auto 16px; color: var(--brass); opacity: .6; }

/* Month calendar */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px,2.4vw,30px); box-shadow: var(--shadow-sm); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cal__head h3 { font-size: 1.375rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow {
  text-align: center;
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 8px;
}
.cal__day {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: .875rem;
  color: var(--moss);
  transition: background .3s ease, color .3s ease, transform .4s var(--ease);
}
.cal__day.is-muted { opacity: .3; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--ink); font-weight: 600; }
.cal__day.has-event { cursor: pointer; color: var(--ink); font-weight: 500; }
.cal__day.has-event:hover { background: var(--forest-deep); color: var(--stone); transform: scale(1.06); }
.cal__day.has-event:hover i { background: var(--brass-light); }
.cal__day i { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); display: block; }

/* =========================================================
   Contact
   ========================================================= */
.info-list { display: flex; flex-direction: column; gap: 4px; }
.info-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brass-wash);
  color: var(--brass-text);
  flex-shrink: 0;
}
.info-item h4 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.info-item p, .info-item a { font-size: 1rem; color: var(--ink); }
.info-item a:hover { color: var(--brass-text); }

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--stone-deep);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: clamp(320px, 44vw, 480px); border: 0; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table td { padding: 14px 0; font-size: .9375rem; }
.hours-table td:last-child { text-align: right; color: var(--moss); }
.hours-table tr.is-now td { color: var(--brass-text); font-weight: 600; }

/* =========================================================
   Documents / downloads
   ========================================================= */
.doc-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease);
}
.doc-row:hover { transform: translateX(4px); border-color: rgba(176,136,86,.34); box-shadow: var(--shadow-md); }
.doc-row__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brass-wash);
  color: var(--brass-text);
  flex-shrink: 0;
}
.doc-row__body { flex: 1; min-width: 0; }
.doc-row h4 { font-size: .9688rem; font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.doc-row span { font-size: .8125rem; color: var(--muted); }
.doc-row .lock { color: var(--muted); flex-shrink: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: linear-gradient(180deg, var(--forest-deep) 0%, #1B120C 100%);
  color: rgba(250,245,236,.66);
  padding-block: clamp(56px, 7vw, 92px) 34px;
  font-size: .9375rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(250,245,236,.12);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

.footer .brand__name { color: var(--stone); }
.footer h4 {
  font-family: var(--font-body);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer a { transition: color .3s ease, padding-left .35s var(--ease); }
.footer ul a:hover { color: var(--stone); padding-left: 5px; }
.footer p { font-size: .875rem; line-height: 1.65; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: .8125rem;
  color: rgba(250,245,236,.45);
}
.footer__bottom a:hover { color: var(--stone); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* =========================================================
   Utilities
   ========================================================= */
.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;
  top: -60px; left: var(--gutter);
  z-index: 1000;
  padding: 12px 22px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--forest-deep);
  color: var(--stone);
  font-size: .875rem;
  transition: top .35s var(--ease);
}
.skip-link:focus { top: 0; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2.25rem; }
.mt-8 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.is-hidden { display: none !important; }

/* Scroll progress bar */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  z-index: 950;
  pointer-events: none;
}

/* Marquee band */
.band {
  padding-block: 22px;
  background: var(--forest-deep);
  color: var(--stone);
  overflow: hidden;
  white-space: nowrap;
}
.band__track { display: inline-flex; gap: 56px; animation: marquee 36s linear infinite; }
.band__track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: rgba(250,245,236,.82);
}
.band__track span::after { content: '✦'; color: var(--brass); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
