/* Maplewood Isle HOA — Custom Site */

:root {
  --forest: #1f4332;
  --forest-deep: #142e22;
  --forest-soft: #2d5d46;
  --gold: #b8973f;
  --gold-light: #d4b574;
  --gold-deep: #8a6f2a;
  --paper: #faf6ed;
  --paper-card: #ffffff;
  --paper-warm: #f3ecdc;
  --ink: #1d2a23;
  --ink-soft: #4d5a52;
  --ink-mute: #768378;
  --line: rgba(31, 67, 50, 0.16);
  --line-soft: rgba(31, 67, 50, 0.08);
  --shadow-lg: 0 30px 80px -30px rgba(20, 46, 34, 0.35);
  --shadow-md: 0 14px 40px -16px rgba(20, 46, 34, 0.22);
  --shadow-sm: 0 4px 14px -6px rgba(20, 46, 34, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --font-display: "Playfair Display", "Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--forest-deep);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
em.gold, .gold-text { color: var(--gold-deep); font-style: italic; font-family: var(--font-display); }
.muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper-warm { background: var(--paper-warm); }
.section--forest { background: var(--forest-deep); color: rgba(255, 255, 255, 0.88); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: white; }
.section--forest .eyebrow { color: var(--gold-light); }
.section--forest .eyebrow::before { background: var(--gold-light); }

.divider-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.05rem;
}
.divider-rule::before, .divider-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 237, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--forest-deep);
  line-height: 1.1;
}
.brand__mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.brand__mark img, .brand__mark svg { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.005em;
  color: var(--forest-deep);
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 2px;
}
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.nav a:hover { color: var(--forest); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--forest); font-weight: 600; }
.nav .btn { padding: 10px 18px; }
.nav .btn::after { display: none; }

/* Nav dropdown */
.nav-group { position: relative; }
.nav-group__toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  position: relative;
}
.nav-group__toggle svg { width: 12px; height: 12px; }
.nav-group__toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 14px; bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.nav-group:hover .nav-group__toggle::after,
.nav-group.is-open .nav-group__toggle::after { transform: scaleX(1); }
.nav-group__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 240px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 5;
}
.nav-group:hover .nav-group__menu,
.nav-group.is-open .nav-group__menu { display: block; }
.nav-group__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--ink);
}
.nav-group__menu a:hover { background: var(--paper-warm); color: var(--forest); }
.nav-group__menu a::after { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 8px 20px -10px rgba(31, 67, 50, 0.55);
}
.btn--primary:hover {
  background: var(--forest-deep);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(31, 67, 50, 0.55);
}
.btn--gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 8px 20px -10px rgba(184, 151, 63, 0.55);
}
.btn--gold:hover {
  background: var(--gold-deep);
  color: white;
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: white;
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); color: white; }
.btn svg { width: 16px; height: 16px; }

/* Hero — photo displayed in TRUE proportion (no stretch, no crop).
   The .hero-band is a full-width dark band; the .hero inside is capped
   at the photo's display ceiling so the height stays sensible. Aspect-ratio
   matches the source (932×450) exactly, so background-size: cover behaves
   identically to contain — the image never gets cropped or stretched. */
.hero-band {
  background: var(--forest-deep);
  width: 100%;
}
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  aspect-ratio: 932 / 450;
  display: flex;
  align-items: flex-end;
  color: white;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("images/entrance.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}
@media (max-width: 720px) {
  /* Mobile: keep the overlay layout (text on photo) but anchor content from
     the TOP with enough padding to clear the sticky header. Hero grows
     vertically as needed so nothing gets clipped. */
  .hero {
    aspect-ratio: auto;
    min-height: 560px;
    max-height: none;
    align-items: flex-start;
  }
  .hero__inner { padding: 110px 22px 44px; }
  .hero__bg { background-position: 70% center; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 16px; }
  .hero__lead { font-size: 0.98rem; margin-bottom: 24px; }
  .hero__copy .eyebrow { font-size: 0.7rem; padding: 6px 12px; margin-bottom: 18px; }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(20, 46, 34, 0.85) 0%, rgba(20, 46, 34, 0.55) 38%, rgba(20, 46, 34, 0.18) 62%, rgba(20, 46, 34, 0.05) 100%),
    linear-gradient(180deg, rgba(20, 46, 34, 0.05) 0%, rgba(20, 46, 34, 0.55) 100%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 28px clamp(40px, 6vw, 80px);
  width: 100%;
  position: relative;
}
.hero__copy { max-width: 720px; }
.hero__copy .eyebrow {
  color: var(--gold-light);
  background: rgba(20, 46, 34, 0.6);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 116, 0.45);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__copy .eyebrow::before { background: var(--gold-light); }
.hero h1 {
  color: white;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.7);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  filter: drop-shadow(0 2px 12px rgba(20, 46, 34, 0.75));
}
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stat plinth — sits below hero, anchored to overlap visually */
.hero-stats {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -64px;
  position: relative;
  z-index: 4;
  align-items: center;
}
.hero-stats__item { text-align: center; padding: 4px 8px; }
.hero-stats__item + .hero-stats__item { border-left: 1px solid var(--line); }
.hero-stats__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.hero-stats__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; gap: 18px; padding: 28px; margin-top: -40px; }
  .hero-stats__item + .hero-stats__item { border-left: none; border-top: 1px solid var(--line); padding-top: 18px; }
}

/* Emergency callout */
.emergency {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: white;
  padding: 28px 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--gold);
}
.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(184, 151, 63, 0.25), transparent 50%);
  pointer-events: none;
}
.emergency__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(184, 151, 63, 0.25);
  border: 1px solid rgba(212, 181, 116, 0.4);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.emergency__icon svg { width: 28px; height: 28px; color: var(--gold-light); }
.emergency__copy { position: relative; z-index: 1; flex: 1; }
.emergency__copy h3 { color: white; margin: 0 0 6px; font-size: 1.2rem; }
.emergency__copy p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.94rem; }
.emergency__phone {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}
.emergency__phone:hover { color: var(--gold-light); }

/* Quick-link tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  color: var(--forest);
}
.tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  color: var(--forest);
}
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--forest-deep);
}
.tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tile__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tile__arrow svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.tile:hover .tile__arrow svg { transform: translateX(4px); }

/* Board grid */
.board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.board__member {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
}
.board__member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}
.board__initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.board__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 4px;
  line-height: 1.2;
}
.board__role {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

/* Document list */
.doc-section { margin-bottom: 48px; }
.doc-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 24px;
}
.doc-section__head h2 { margin: 0 0 4px; }
.doc-section__head p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; max-width: 600px; }
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.doc-link:hover {
  border-color: var(--gold);
  background: var(--paper-warm);
  transform: translateX(4px);
  color: var(--forest);
}
.doc-link__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.doc-link__body { flex: 1; min-width: 0; }
.doc-link__title {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--forest-deep);
  margin-bottom: 2px;
  line-height: 1.3;
}
.doc-link__meta {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.doc-link__arrow { color: var(--ink-mute); transition: transform 0.2s ease, color 0.2s ease; }
.doc-link:hover .doc-link__arrow { transform: translateX(2px); color: var(--gold); }
.doc-link__arrow svg { width: 16px; height: 16px; }

/* Two-col content */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
.two-col__main p, .article p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.1em; color: var(--ink); }
.two-col__main h2, .article h2 { margin-top: 1.8em; margin-bottom: 0.6em; }
.two-col__main h2:first-child, .article h2:first-child { margin-top: 0; }

.side-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.side-card h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}
.side-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.side-card ul li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.side-card ul li:last-child { border-bottom: none; }
.side-card ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.94rem;
  color: var(--ink);
}
.side-card ul li a:hover { color: var(--gold-deep); }
.side-card ul li a::after {
  content: "→";
  color: var(--ink-mute);
  font-size: 0.85em;
}

/* Article cards (board, committees) */
.committee-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.committee {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease;
}
.committee:hover { border-color: var(--gold); }
.committee h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.committee h3 .roman {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  font-weight: 600;
}
.committee p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* Contact panel */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.contact-card .role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 16px 0 4px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
}
.contact-card dd a { color: var(--forest); border-bottom: 1px solid var(--gold); }
.contact-card dd a:hover { color: var(--gold-deep); }

/* Forms */
.form-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}
.form-card .field { margin-bottom: 18px; }
.form-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--forest-deep);
  letter-spacing: 0.04em;
}
.form-card label .req { color: var(--gold-deep); margin-left: 4px; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: 400 0.98rem var(--font-body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper-card);
  box-shadow: 0 0 0 4px rgba(184, 151, 63, 0.15);
}
.form-card textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.form-card .conditional { display: none; }
.form-card .conditional.is-visible { display: block; }
.form-card .conditional .field { padding-top: 4px; }
.form-card .conditional-group {
  background: var(--paper-warm);
  border-radius: 10px;
  padding: 20px 22px 4px;
  margin-bottom: 18px;
  border-left: 3px solid var(--gold);
}
.form-card .conditional-group .label-head {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.form-card button[type="submit"] {
  width: 100%;
  justify-content: center;
  padding: 16px;
  margin-top: 8px;
}
.form-card .hp { position: absolute; left: -9999px; }
.form-card .help {
  font-size: 0.84rem;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 1.5;
}
.form-card legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 14px;
  padding: 0;
}
@media (max-width: 720px) {
  .form-card { padding: 26px; }
  .form-card .row { grid-template-columns: 1fr; }
}

/* Notice / callout */
.notice {
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.notice .label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 6px;
}
.notice h4 { margin: 0 0 6px; font-size: 1.1rem; font-family: var(--font-display); }
.notice p { margin: 0; font-size: 0.96rem; color: var(--ink); }
.notice ul { margin: 8px 0 0; padding-left: 22px; font-size: 0.96rem; }
.notice ul li { margin-bottom: 4px; }

/* Map */
.map-stage {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-md);
}
.map-stage__inner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-warm);
}
.map-stage__img {
  width: 100%;
  height: auto;
  display: block;
}
.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.map-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); }
.map-pin.is-hidden { opacity: 0; }
.map-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 4px 4px;
}
.map-controls label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.map-controls select {
  flex: 1;
  min-width: 260px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 500 0.96rem var(--font-body);
  background: var(--paper-card);
  color: var(--ink);
  cursor: pointer;
}
.map-controls select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 151, 63, 0.2);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 100%);
  color: white;
  padding: clamp(56px, 8vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 151, 63, 0.18), transparent 50%),
    radial-gradient(circle at 88% 80%, rgba(184, 151, 63, 0.12), transparent 50%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 28px; }
.cta-band h2 { color: white; }
.cta-band h2 em { color: var(--gold-light); font-style: italic; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin: 14px 0 32px; }
.cta-band__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 30px;
}
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: var(--gold-light); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__brand-row { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: white;
  line-height: 1.2;
}
.footer__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}
.footer__brand p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); margin: 0; line-height: 1.55; max-width: 320px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; font-size: 0.92rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper-card);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bars {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle.is-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Responsive */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .doc-list { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .side-card { position: static; }
  .committee-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .emergency { flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 20px;
    background: var(--paper-card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px -10px rgba(20, 46, 34, 0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a:not(.btn), .nav-group__toggle {
    display: block;
    padding: 14px;
    font-size: 1.02rem;
    border-radius: 8px;
    width: 100%;
    text-align: left;
  }
  .nav a:not(.btn)::after, .nav-group__toggle::after { display: none; }
  .nav-group__menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--paper-warm);
    margin: 4px 0;
    display: block;
    padding: 4px;
  }
  .nav-group__menu a { padding-left: 30px; }
  .nav .btn { margin-top: 8px; justify-content: center; padding: 14px; }
  .tiles { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .site-header__inner { position: relative; }
  .brand__name { font-size: 1.02rem; }
  .brand__mark { width: 44px; height: 44px; }
}
