/* ============================================================
   Tulip Chapter — 82d Airborne Division Association
   Stylesheet v5.0  |  Creative Direction: Heritage and Depth
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --orange:   #C87820;
  --blue:     #2E6DB4;
  --red:      #821520;
  --black:    #111110;
  --ink:      #1E1D1B;
  --white:    #FFFFFF;
  --parchment:#F4F0E8;
  --linen:    #EAE5DA;
  --stone:    #D4CCBE;
  --muted:    #857E74;

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', Arial, sans-serif;
  --font-cond:    'Barlow Condensed', 'Arial Narrow', sans-serif;

  --max-w: 1120px;
  --nav-h: 62px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.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;
}

/* ── Container ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--black);
  height: var(--nav-h);
  border-bottom: 3px solid var(--red);
  /* needed so absolute-positioned open menu is contained */
  position: sticky;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo-box {
  width: 42px;
  height: 42px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.55));
}
.nav-logo-box img { width: 100%; height: 100%; object-fit: contain; }

.nav-chapter {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--white);
  display: block;
  line-height: 1.1;
}
.nav-assoc {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  display: block;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 1.05rem;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--orange);
  background: rgba(255,255,255,0.04);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  margin-right: -0.75rem;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

/* ════════════════════════════════════════════════════════════
   HERO — photo background
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Gradient overlay — sits above the parallax image, below all text */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(17,17,16,0.72) 0%,
    rgba(17,17,16,0.58) 40%,
    rgba(17,17,16,0.90) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Parallax image layer — JS translates this on scroll */
.hero-bg {
  position: absolute;
  /* Extra vertical room so the image never gaps at top or bottom during parallax travel */
  top: -25%;
  bottom: -25%;
  left: 0;
  right: 0;
  background: url('hero-jumpers.jpg') center 30% / cover no-repeat;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.hero-year {
  position: absolute;
  top: -0.15em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(18rem, 30vw, 38rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.06);
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.hero-designation {
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 2;
}
.hero-designation-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-designation-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}
.hero-designation-text {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.hero-body {
  position: relative;
  z-index: 3;
  padding-bottom: 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
  display: block;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.8rem;
  max-width: 14ch;
}
.hero-h1 .accent { color: var(--orange); display: block; }

.hero-rule {
  width: 64px;
  height: 4px;
  background: var(--red);
  margin-bottom: 1.6rem;
}

.hero-mission {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 44ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-logo-badge {
  width: 200px;
  height: 200px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65)) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.hero-logo-badge img { width: 100%; height: 100%; object-fit: contain; }

.hero-patch {
  width: 80px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

/* ════════════════════════════════════════════════════════════
   INTRO SECTION
   ════════════════════════════════════════════════════════════ */
.intro {
  background: var(--parchment);
  padding: 6rem 0 5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: start;
}

.label-tag {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.9rem;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.98;
  color: var(--black);
  margin-bottom: 1.4rem;
}

.prose p {
  font-size: 1rem;
  line-height: 1.82;
  color: #3A3530;
  margin-bottom: 1.15rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose--light p { color: rgba(255,255,255,0.78); }

.now-forming {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem;
  border-top: 5px solid var(--orange);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.now-forming-flag {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--orange);
  display: block;
  margin-bottom: 0.25rem;
}

.now-forming-sub {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  display: block;
  margin-bottom: 1.5rem;
}

.now-forming p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════════════════
   HISTORY BAND
   ════════════════════════════════════════════════════════════ */
.history-band {
  background: var(--blue);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.history-band::before {
  content: 'NIJMEGEN';
  position: absolute;
  bottom: -0.25em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.history-band-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.history-label {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 1rem;
}

.history-date {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.history-place {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--orange);
  display: block;
  margin-bottom: 2rem;
}

.history-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.3rem;
}

.history-photo {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.85;
  margin-bottom: 2rem;
}

.pq {
  border-left: 5px solid var(--orange);
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  background: rgba(0,0,0,0.18);
}
.pq p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   THREE PILLARS
   ════════════════════════════════════════════════════════════ */
.pillars {
  background: var(--parchment);
  padding: 6rem 0;
  border-top: 1px solid var(--stone);
}

.pillars-header { margin-bottom: 3.5rem; }

.pillars-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--black);
  margin-top: 0.75rem;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
}

.pillar {
  padding: 2.5rem 2rem 2.5rem 1.75rem;
  border-right: 1px solid var(--stone);
}
.pillar:last-child { border-right: none; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--stone);
  display: block;
  margin-bottom: 0.25rem;
}

.pillar-accent { width: 32px; height: 4px; margin-bottom: 1rem; }
.pillar:nth-child(1) .pillar-accent { background: var(--blue); }
.pillar:nth-child(2) .pillar-accent { background: var(--red); }
.pillar:nth-child(3) .pillar-accent { background: var(--orange); }

.pillar-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 0.85rem;
}

.pillar p { font-size: 1.05rem; line-height: 1.75; color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   RED BAND
   ════════════════════════════════════════════════════════════ */
.red-band {
  background: var(--red);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.red-band::before {
  content: 'ALL THE WAY';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 18rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
}

.red-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.red-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--white);
}
.red-band h2 span { color: rgba(255,255,255,0.55); display: block; font-size: 0.78em; letter-spacing: 0.06em; }

.red-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-top: 1.2rem;
  max-width: 44ch;
  line-height: 1.75;
}

.red-band-actions { display: flex; flex-direction: column; gap: 0.85rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.16s;
  white-space: nowrap;
}

.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: #a8641a; border-color: #a8641a; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.38); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--white); }

.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: #245a96; border-color: #245a96; }

/* ════════════════════════════════════════════════════════════
   PAGE HEADER  (inner pages)
   ════════════════════════════════════════════════════════════ */
.page-header {
  background: var(--black);
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.page-header-ghost {
  position: absolute;
  bottom: -0.2em;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.page-header .wrap { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-top: 0.75rem;
}

.page-header-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 50ch;
  margin-top: 1.1rem;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════
   CONTENT SECTIONS
   ════════════════════════════════════════════════════════════ */
.section { padding: 6rem 0; }
.section--parchment { background: var(--parchment); }
.section--white     { background: var(--white); }
.section--linen     { background: var(--linen); }
.section--blue      { background: var(--blue); color: var(--white); }
.section--dark      { background: var(--ink); color: var(--white); }
.section--red       { background: var(--red); color: var(--white); }

.section--dark .label-tag { color: var(--orange); }

.section--blue  .section-h2,
.section--dark  .section-h2,
.section--red   .section-h2 { color: var(--white); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.two-col--wide   { grid-template-columns: 3fr 2fr; }
.two-col--narrow { grid-template-columns: 2fr 3fr; }

.divider { width: 48px; height: 4px; background: var(--orange); margin: 0.9rem 0 1.5rem; }
.divider--red { background: var(--red); }

/* ════════════════════════════════════════════════════════════
   MEMBERSHIP
   ════════════════════════════════════════════════════════════ */
.mem-tier {
  background: var(--white);
  border-top: 5px solid var(--blue);
  padding: 2rem 2.25rem;
  margin-bottom: 1.25rem;
}
.mem-tier--orange { border-top-color: var(--orange); }

.mem-tier-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.benefit-list { list-style: none; }
.benefit-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--linen);
  font-size: 1.05rem;
  color: #3A3530;
  position: relative;
  line-height: 1.5;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* ════════════════════════════════════════════════════════════
   EVENTS
   ════════════════════════════════════════════════════════════ */
.event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  background: var(--white);
  border: 1px solid var(--stone);
  margin-bottom: 1.25rem;
}

.event-date {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
}
.event-date .month {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.event-date .day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.event-body { padding: 1.25rem 1.5rem; }
.event-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.event-meta {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.event-body p { font-size: 1rem; color: #3A3530; line-height: 1.65; }

.event-rsvp {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  padding: 0.55rem 1.25rem;
  transition: all 0.16s;
}
.event-rsvp:hover { background: #a8641a; border-color: #a8641a; }

.event-illustration {
  width: 100%;
  display: block;
  margin-bottom: 1.5rem;
  border: 1px solid var(--stone);
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-pip {
  width: 5px;
  background: var(--orange);
  align-self: stretch;
  min-height: 44px;
  flex-shrink: 0;
}
.contact-body strong {
  display: block;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-body a   { color: var(--blue); font-size: 1rem; }
.contact-body a:hover { text-decoration: underline; }
.contact-body span { font-size: 1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--stone);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  transition: border-color 0.15s;
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(46,109,180,0.2);
  outline-offset: 1px;
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 4.5rem 0 2rem;
  border-top: 5px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.footer-sub {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 1.1rem;
}

.footer-brand p { font-size: 1rem; line-height: 1.7; max-width: 26ch; }

.footer-email {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--orange);
  transition: color 0.15s;
}
.footer-email:hover { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 1rem; color: rgba(255,255,255,0.52); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-motto {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--orange);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile dropdown now handled by .nav-drawer — see bottom of file */

  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge-wrap { display: none; }

  .intro-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .now-forming        { position: static; }
  .history-band-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pillars-row        { grid-template-columns: 1fr; }
  .pillar             { border-right: none; border-bottom: 1px solid var(--stone); }
  .pillar:last-child  { border-bottom: none; }
  .red-band-inner     { grid-template-columns: 1fr; gap: 2.5rem; }
  .red-band-actions   { flex-direction: column; align-items: stretch; }
  .red-band-actions .btn { text-align: center; }
  .two-col, .two-col--wide, .two-col--narrow { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-header        { padding: 3.5rem 0 4.5rem; }
  .benefits-grid      { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .wrap              { padding: 0 1.25rem; }
  .section           { padding: 4rem 0; }
  .hero-h1           { font-size: clamp(3.2rem, 10vw, 5rem); }
  .history-date      { font-size: clamp(4rem, 16vw, 8rem); }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .event-card        { grid-template-columns: 70px 1fr; }
  .hero-designation-inner { padding: 0 1.25rem; }
  /* Hide the association sub-line in nav on very small screens
     so the hamburger button has breathing room */
  .nav-assoc         { display: none; }
  .hero-actions      { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}

/* ════════════════════════════════════════════════════════════
   SKIP NAV — accessibility
   ════════════════════════════════════════════════════════════ */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* ════════════════════════════════════════════════════════════
   HAMBURGER → X ANIMATION
   ════════════════════════════════════════════════════════════ */
/* When the toggle is aria-expanded=true, morph the three bars into an X */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════
   NAV OVERLAY — full-viewport scrim behind mobile drawer
   ════════════════════════════════════════════════════════════ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   NAV DRAWER — mobile slide-down panel (lives outside <nav>)
   ════════════════════════════════════════════════════════════ */
.nav-drawer {
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.open { pointer-events: auto; }

  .nav-drawer {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--black);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    /* Slide animation via max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-drawer.open {
    max-height: 400px; /* generous ceiling — 5 items need ~320px */
  }

  .nav-drawer ul {
    list-style: none;
    padding: 0.5rem 0 0.75rem;
    margin: 0;
  }

  .nav-drawer a {
    display: block;
    padding: 0.95rem 2rem;
    font-family: var(--font-cond);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    background: var(--black);
    border-left: 4px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    text-decoration: none;
  }
  .nav-drawer li:last-child a {
    border-bottom: none;
  }
  .nav-drawer a:hover,
  .nav-drawer a.active {
    color: var(--white);
    border-left-color: var(--orange);
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER — dark variant (memorial)
   ════════════════════════════════════════════════════════════ */
.page-header--dark {
  background: var(--ink);
  color: var(--white);
}
.page-header--dark h1 {
  color: var(--white);
}
.page-header--dark .page-header-ghost {
  color: rgba(255,255,255,0.04);
}

/* ════════════════════════════════════════════════════════════
   MEMORIAL — categories grid
   ════════════════════════════════════════════════════════════ */
.memorial-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.memorial-cat {
  border-top: 3px solid var(--orange);
  padding-top: 1.25rem;
}
.memorial-cat-icon {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.2em;
}
.memorial-cat h3 {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.memorial-cat p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
}

/* ════════════════════════════════════════════════════════════
   MEMORIAL — callout card (right column)
   ════════════════════════════════════════════════════════════ */
.memorial-callout {
  display: flex;
  align-items: flex-start;
}
.memorial-callout-inner {
  background: var(--ink);
  color: var(--white);
  padding: 2.25rem 2rem;
  border-top: 4px solid var(--red);
  width: 100%;
}
.memorial-flame {
  color: var(--orange);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
.memorial-callout-quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.memorial-callout-attribution {
  font-family: var(--font-cond);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.memorial-callout-line {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.5rem;
}
.memorial-callout-note {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.70);
  margin-bottom: 1.25rem;
}
.memorial-vcl-btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  transition: background 0.15s;
}
.memorial-vcl-btn:hover {
  background: #6a1018;
}

/* ════════════════════════════════════════════════════════════
   MEMORIAL FORM
   ════════════════════════════════════════════════════════════ */
.memorial-form {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}
.form-fieldset legend {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--stone);
  width: 100%;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: 0;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,109,180,0.18);
}
.form-group 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' stroke='%23857E74' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-required {
  color: var(--red);
  font-weight: 700;
  margin-left: 1px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.form-check span {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 1rem;
}
.form-note a { color: var(--blue); }

/* Process list */
.memorial-process-list {
  padding-left: 1.25rem;
  margin: 0;
}
.memorial-process-list li {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}

/* ════════════════════════════════════════════════════════════
   VETERANS CRISIS LINE — full band
   ════════════════════════════════════════════════════════════ */
.memorial-vcl-band {
  border-top: 4px solid var(--red);
}
.memorial-vcl-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.memorial-vcl-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.memorial-vcl-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 1.25rem 1.5rem;
  min-width: 140px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.15s, border-color 0.15s;
}
.memorial-vcl-action:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--orange);
}
.memorial-vcl-action-label {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}
.memorial-vcl-action-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.memorial-vcl-action-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ════════════════════════════════════════════════════════════
   FOOTER — VCL block
   ════════════════════════════════════════════════════════════ */
.footer-vcl {
  margin-top: 1.5rem;
}
.footer-vcl h4 {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem;
}
.footer-vcl-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.footer-vcl-link strong {
  color: var(--orange);
  display: block;
  font-family: var(--font-cond);
  letter-spacing: 0.06em;
}
.footer-vcl-link:hover { color: var(--white); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — memorial
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .memorial-categories    { grid-template-columns: 1fr 1fr; }
  .memorial-vcl-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .memorial-vcl-ctas      { justify-content: flex-start; }
  .nav-drawer.open        { max-height: 440px; } /* extra item in memorial nav */
}
@media (max-width: 600px) {
  .memorial-categories    { grid-template-columns: 1fr; }
  .memorial-form          { padding: 1.75rem 1.25rem; }
  .memorial-callout-inner { padding: 1.75rem 1.25rem; }
  .memorial-vcl-ctas      { flex-direction: column; }
  .memorial-vcl-action    { min-width: unset; width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   Elements start hidden/offset; JS adds .is-visible on entry.
   ════════════════════════════════════════════════════════════ */

[data-reveal] {
  /* Slightly longer duration for content that earns attention */
  transition:
    opacity 0.70s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.70s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Starting states — hidden and offset */
[data-reveal="up"] {
  opacity: 0;
  transform: translateY(44px);
}
[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-52px);
}
[data-reveal="right"] {
  opacity: 0;
  transform: translateX(52px);
}

/* Revealed state — JS adds this class */
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Accessibility: respect user's motion preference ──────── */
/* Anyone who has reduced motion enabled in their OS settings  */
/* gets the content immediately, with no animation at all.     */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════
   INTRO SECTION — photo + now-forming right column
   ════════════════════════════════════════════════════════════ */
.intro-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.intro-photo-frame {
  position: relative;
  overflow: hidden;
  line-height: 0;
  border-top: 4px solid var(--orange);
}
.intro-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  filter: saturate(0.85);
  transition: filter 0.4s;
}
.intro-photo-frame:hover .intro-photo {
  filter: saturate(1.0);
}
.intro-photo-caption {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  line-height: 1;
}

/* ════════════════════════════════════════════════════════════
   GAVIN PORTRAIT — history band left column
   ════════════════════════════════════════════════════════════ */
.gavin-portrait {
  margin-top: 1.75rem;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}
.gavin-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.90;
  margin-bottom: 1rem;
}
.gavin-quote {
  margin: 0;
  padding: 0;
}
.gavin-quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
  margin: 0 0 0.6rem;
}
.gavin-quote cite {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-style: normal;
  display: block;
}

/* ════════════════════════════════════════════════════════════
   PARALLAX CINEMATIC BAND
   Used for: Waal Crossing, Albany skyline
   ════════════════════════════════════════════════════════════ */
.parallax-band {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}

/* The image layer — JS applies translateY for parallax */
.parallax-band-bg {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  right: 0;
  background-size: cover;
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Dark overlay on the image */
.parallax-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,16,0.68);
  z-index: 1;
}
/* Slightly lighter overlay for color photos (Albany) */
.parallax-band-overlay--lighter {
  background: rgba(17,17,16,0.58);
}

/* Text content */
.parallax-band-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 720px;
}
.parallax-band-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.85rem;
}
.parallax-band-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.parallax-band-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 56ch;
}

/* Variant: "Our Home" Albany band — centered text */
.parallax-band--place .parallax-band-content {
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.parallax-band--place .parallax-band-heading {
  color: var(--white);
}
.parallax-band--place .parallax-band-sub {
  max-width: 52ch;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .parallax-band   { min-height: 340px; }
  .gavin-img       { max-width: 160px; }
}
@media (max-width: 600px) {
  .parallax-band         { min-height: 280px; }
  .parallax-band-content { padding: 3rem 0; }
  .intro-photo           { height: 180px; }
  .gavin-img             { max-width: 130px; }
}

/* ── Reduced motion: freeze all parallax backgrounds ── */
@media (prefers-reduced-motion: reduce) {
  .parallax-band-bg,
  .hero-bg {
    top: 0;
    bottom: 0;
    transform: none !important;
    will-change: auto;
  }
}

/* ════════════════════════════════════════════════════════════
   MEMORIAL — slower, gentler reveal timing
   The memorial page uses only data-reveal="up" (no lateral
   slides). Transitions are extended slightly as a mark of
   respect for the subject matter.
   ════════════════════════════════════════════════════════════ */
.memorial-categories [data-reveal],
.memorial-callout[data-reveal],
.two-col .memorial-callout[data-reveal],
.memorial-vcl-inner[data-reveal],
.memorial-form ~ *[data-reveal] {
  transition-duration: 0.85s;
}

/* ════════════════════════════════════════════════════════════
   FORM FEEDBACK — success + error states (Formspree AJAX)
   ════════════════════════════════════════════════════════════ */
.form-success {
  background: var(--parchment);
  border-top: 4px solid var(--blue);
  padding: 2rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink);
}
.form-success strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}

/* Memorial success uses red accent */
.memorial-form ~ .form-success,
#memorial-form + .form-success {
  border-top-color: var(--red);
}
.memorial-form ~ .form-success strong,
#memorial-form + .form-success strong {
  color: var(--red);
}

.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #fdf0f0;
  border-left: 4px solid var(--red);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--red);
  line-height: 1.6;
}
