/* ============================================================
   Fort Burnside — main.css
   Design direction: muted military heritage
   Palette: aged linen, deep navy, brass gold, concrete gray
   ============================================================ */

/* --- Custom properties --- */
:root {
  --navy:      #1a2539;
  --navy-mid:  #253247;
  --brass:     #b8913a;
  --brass-lt:  #d4a84b;
  --linen:     #f5f0e8;
  --linen-dk:  #e8e0d0;
  --concrete:  #8a8a82;
  --concrete-lt: #c8c8c0;
  --ink:       #2a2a28;
  --white:     #ffffff;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Courier New', monospace;

  --max-w: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 3px;
  --transition: 220ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--linen);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--brass); }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p + p { margin-top: 1em; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .65em 1.4em;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brass);
  color: var(--navy);
  border-color: var(--brass);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--brass);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Header --- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  padding: .3rem .45rem;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
}
.site-logo img { height: 44px; width: auto; }
.site-nav ul {
  display: flex;
  list-style: none;
  gap: clamp(.5rem, 2vw, 1.75rem);
  align-items: center;
}
.site-nav a {
  color: var(--concrete-lt);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  background: var(--brass);
  color: var(--navy);
  padding: .4em 1em;
  border-radius: var(--radius);
  font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--brass-lt); }
.nav-toggle { display: none; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center start;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.55);
}
.hero-content {
  position: relative;
  max-width: 680px;
  padding: var(--gutter);
  margin-left: var(--gutter);
  color: var(--white);
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: .75rem;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.75rem;
  max-width: 55ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn-outline {
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
}
.hero-actions .btn-outline:hover {
  background: var(--brass-lt);
  color: var(--navy);
  border-color: var(--brass-lt);
}

/* --- Facts bar --- */
.section-facts {
  background: var(--navy-mid);
  padding: 1.5rem 0;
}
.fact-row {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0;
  justify-content: space-around;
}
.fact-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.fact-row li:last-child { border-right: none; }
.fact-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brass-lt);
}
.fact-label {
  font-size: .8rem;
  color: var(--concrete-lt);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .25rem;
  max-width: 18ch;
}

/* --- Section defaults --- */
.section {
  padding-block: clamp(3rem, 7vw, 5rem);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin-bottom: 2rem;
}
.section-intro {
  font-size: 1.1rem;
  max-width: 65ch;
  margin-bottom: 2.5rem;
  color: #555;
}

/* --- Grid layouts --- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
@media (max-width: 768px) {
  .grid-2col { grid-template-columns: 1fr; }
}

/* --- About section --- */
.section-about { background: var(--white); }
.about-image img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.about-text .btn-text { margin-top: .5rem; }

/* --- Collection preview grid --- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.collection-card {
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--linen-dk);
  transition: box-shadow var(--transition), transform var(--transition);
}
.collection-card:hover {
  box-shadow: 0 6px 24px rgba(26,37,57,.12);
  transform: translateY(-2px);
}
.collection-card-img {
  aspect-ratio: 4/3;
  background: var(--linen-dk);
  overflow: hidden;
}
.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card-info {
  padding: .875rem 1rem;
}
.collection-card h2,
.collection-card h3,
.collection-card-title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 .25rem;
}
.collection-card-idno,
.collection-card-date,
.collection-card-type {
  font-size: .8rem;
  color: var(--concrete);
  display: block;
}
.collection-loading,
.collection-empty,
.collection-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--concrete);
}

/* --- Visit section --- */
.section-visit { background: var(--linen-dk); }
.visit-map iframe {
  width: 100%;
  border-radius: var(--radius);
  border: none;
}
.visit-info h2 { margin-bottom: 1rem; }
.visit-details {
  list-style: none;
  margin-bottom: 1.5rem;
}
.visit-details li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--concrete-lt);
  font-size: .95rem;
}

/* --- Membership tiers --- */
.membership-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .membership-tiers { grid-template-columns: 1fr; max-width: 400px; }
}
.tier {
  background: var(--white);
  border: 1px solid var(--linen-dk);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.tier-featured {
  border-color: var(--brass);
  border-width: 2px;
  position: relative;
}
.tier-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brass);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2em .8em;
  border-radius: 0 0 var(--radius) var(--radius);
}
.tier h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: .25rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.tier ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.tier li {
  padding: .35rem 0;
  font-size: .92rem;
  border-bottom: 1px solid var(--linen-dk);
}
.tier li::before { content: '✓  '; color: var(--brass); font-weight: bold; }

/* --- News grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--brass);
  padding: 1.25rem 1.5rem;
}
.news-card time {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--concrete);
  display: block;
  margin-bottom: .4rem;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.news-card h3 a { text-decoration: none; color: var(--navy); }
.news-card h3 a:hover { color: var(--brass); }
.news-card p { font-size: .9rem; color: #555; }

/* --- Posts --- */
.post-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  border-bottom: 3px solid var(--brass);
}
.post-hero time,
.post-list time {
  display: block;
  color: var(--brass-lt);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.post-hero h1 {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1rem;
}
.post-hero p {
  max-width: 68ch;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}
.post-back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.post-back:hover { color: var(--white); }
.post-featured {
  margin-top: clamp(2rem, 5vw, 3rem);
}
.post-featured img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--linen-dk);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.post-content {
  max-width: 780px;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.post-content > * + * { margin-top: 1.1rem; }
.post-content h2,
.post-content h3 {
  margin-top: 2rem;
}
.post-content ul,
.post-content ol {
  padding-left: 1.4rem;
}
.post-content li + li {
  margin-top: .35rem;
}
.post-content a {
  color: var(--brass);
  font-weight: 600;
}
.post-list {
  display: grid;
  gap: 1.5rem;
}
.post-list-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--linen-dk);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-list-image {
  background: var(--linen-dk);
  display: block;
}
.post-list-image img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: contain;
  padding: 1rem;
}
.post-list-body {
  padding: 1.25rem 1.5rem 1.35rem;
}
.post-list-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: .65rem;
}
.post-list-body h2 a {
  text-decoration: none;
  color: var(--navy);
}
.post-list-body p {
  color: #555;
  margin-bottom: 1rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  color: var(--brass-lt);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--white); }
.footer-about p { font-size: .88rem; line-height: 1.6; margin-top: .75rem; }
.footer-social { margin-top: 1.25rem; }
.footer-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-grid;
  width: 2.15rem !important;
  height: 2.15rem !important;
  place-items: center;
  overflow: hidden;
  color: var(--navy);
  background: var(--brass-lt);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a svg {
  display: block;
  flex: 0 0 1.2rem;
  width: 1.2rem !important;
  min-width: 1.2rem;
  max-width: 1.2rem;
  height: 1.2rem !important;
  min-height: 1.2rem;
  max-height: 1.2rem;
}
.footer-social a:hover { color: var(--navy); background: var(--white); transform: translateY(-2px); }
.footer-social a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.footer-logo {
  max-width: 150px;
  padding: .45rem;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
}
.footer-newsletter form {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}
.footer-newsletter input {
  flex: 1;
  padding: .5em .75em;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-radius: var(--radius);
  font-size: .9rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter button {
  padding: .5em 1em;
  background: var(--brass);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background var(--transition);
}
.footer-newsletter button:hover { background: var(--brass-lt); }
.newsletter-status {
  flex-basis: 100%;
  min-height: 1.35em;
  margin-top: .25rem;
  font-size: .85rem;
  line-height: 1.35;
}
.newsletter-status--success { color: var(--brass-lt); }
.newsletter-status--error { color: #f1b3a8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* --- Page hero (interior pages) --- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  border-bottom: 3px solid var(--brass);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 65ch;
}
.page-hero--image {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: clamp(4rem, 10vw, 7rem) 0 3rem;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,16,27,.78), rgba(10,16,27,.48));
  z-index: -1;
}
.page-hero--history { background-image: url('/images/hecp-mansion.jpg'); }
.page-hero--visit { background-image: url('/images/beavertail-lighthouse.jpg'); }
.page-hero--image .hero-eyebrow {
  color: var(--brass-lt);
  margin-bottom: .75rem;
}
.page-hero--image h1 {
  max-width: 760px;
}
.page-hero-action {
  margin-top: 1.5rem;
}

/* --- Site announcement --- */
.site-announcement {
  background: var(--brass-lt);
  color: var(--navy);
  border-bottom: 1px solid rgba(26,37,57,.2);
}
.site-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem 1.5rem;
  padding: .7rem 0;
  text-align: center;
}
.site-announcement p {
  font-size: .92rem;
  font-weight: 600;
}
.site-announcement a {
  color: var(--navy);
  font-size: .86rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: .15em;
  white-space: nowrap;
}

/* --- History and visit content --- */
.section-white { background: var(--white); }
.split-lede,
.history-feature,
.visit-grid,
.visit-two {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.split-lede,
.visit-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  align-items: center;
}
.history-feature {
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  align-items: center;
}
.history-feature--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
}
.history-feature--reverse .wide-media { order: 2; }
.history-copy h2,
.visit-main h2,
.visit-two h2,
.research-notes h2 {
  margin-bottom: 1rem;
}
.history-copy .btn { margin-top: 1.25rem; }
.media-card,
.wide-media {
  background: var(--white);
  border: 1px solid var(--linen-dk);
  border-radius: var(--radius);
  overflow: hidden;
}
.section-white .media-card,
.section-white .wide-media {
  background: var(--linen);
}
.media-card img,
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card img { aspect-ratio: 4 / 3; }
.wide-media img { aspect-ratio: 16 / 10; }
figcaption {
  padding: .8rem 1rem;
  font-size: .85rem;
  line-height: 1.5;
  color: #565650;
}
.section-history-timeline {
  background: var(--linen-dk);
}
.timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(26,37,57,.18);
}
.timeline time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.timeline h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.section-battery {
  background: var(--navy-mid);
  color: rgba(255,255,255,.78);
}
.section-battery h2,
.section-battery h3 {
  color: var(--white);
}
.section-battery .media-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.section-battery figcaption {
  color: rgba(255,255,255,.72);
}
.research-notes {
  background: var(--linen-dk);
}
.research-notes p {
  max-width: 72ch;
}
.visit-card {
  background: var(--white);
  border: 1px solid var(--linen-dk);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.visit-card h2 { margin-bottom: 1rem; }
.visit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.visit-photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.visit-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.visit-list {
  display: grid;
  gap: 1rem;
}
.visit-list article {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--linen-dk);
}
.visit-list h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.section-visit-map {
  background: var(--linen-dk);
}
.section-tour-request {
  background: var(--navy-mid);
}
.tour-request-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  color: rgba(255,255,255,.82);
}
.tour-request-copy h2 {
  color: var(--white);
  margin-bottom: .75rem;
}
.tour-request-copy > p:last-of-type {
  max-width: 65ch;
}
.tour-request-note {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: rgba(255,255,255,.07);
}
.tour-request-note strong {
  color: var(--brass-lt);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}
.tour-request-note p {
  margin-top: .35rem;
}
.tour-request-card.sib-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border-top: 4px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  text-align: left;
}
.tour-request-card .sib-form-container,
.tour-request-card #sib-container {
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
}
.tour-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tour-request-card .sib-form-block {
  padding: 0;
}
.tour-form-field--wide {
  grid-column: 1 / -1;
}
.tour-request-card .entry__label {
  display: block;
  margin-bottom: .35rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
}
.tour-request-card .entry__field {
  border: 1px solid var(--concrete-lt);
  border-radius: var(--radius);
  background: var(--linen);
}
.tour-request-card .entry__field:focus-within {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184,145,58,.18);
}
.tour-request-card .entry__field .input {
  min-height: 46px;
  padding: .7rem .8rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
}
.tour-request-card .sib-sms-input {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: .65rem;
}
.tour-request-card .entry__specification {
  display: block;
  margin-top: .3rem;
  color: #67675f;
  font-size: .76rem;
}
.tour-request-card .entry__error {
  margin-top: .35rem;
  color: #8a2020;
  font-size: .8rem;
}
.tour-request-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
  padding: .85em 1.4em;
}
.tour-request-disclaimer {
  margin-top: .75rem;
  color: #5e5e58;
  font-size: .8rem;
  text-align: center;
}
.tour-form-message {
  max-width: none;
  margin-bottom: 1rem;
  padding: .8rem 1rem;
  border: 1px solid;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
}
.tour-form-message--error {
  color: #681f1f;
  background: #fff0f0;
  border-color: #d9a0a0;
}
.tour-form-message--success {
  color: #184f35;
  background: #edf8f1;
  border-color: #9ac7aa;
}
.tour-form-message--success .sib-form-message-panel__inner-text {
  display: grid;
  gap: .45rem;
}
.tour-form-message--success strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: normal;
  line-height: 1.25;
}
.tour-form-message--success:focus {
  outline: 3px solid rgba(184,145,58,.35);
  outline-offset: 3px;
}
.tour-request-card--submitted {
  align-self: center;
}
.tour-request-card--submitted #sib-container {
  display: none !important;
}
.tour-request-card--submitted .tour-form-message--success {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}
.btn-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,.72);
}
.btn-outline-light:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}
.tour-closed-contact { margin-top: 1.4rem; }
.tour-closed-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-top: 4px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.tour-closed-card .hero-eyebrow { color: var(--brass-lt); }
.tour-closed-card h3 { color: var(--white); margin-bottom: .7rem; }
.tour-closed-card .btn { margin-top: 1.25rem; }

/* --- Upcoming events --- */
.section-upcoming-events { background: var(--linen-dk); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading .hero-eyebrow { color: var(--brass); margin-bottom: .5rem; }
.section-heading h2 { margin-bottom: .65rem; }
.news-section-heading { margin-bottom: 1.5rem; }
.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.upcoming-event-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-top: 4px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(26,37,57,.09);
}
.upcoming-event-card time {
  color: var(--concrete);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.upcoming-event-card h3 { margin: .6rem 0; }
.upcoming-event-card p { color: #55554f; }
.upcoming-event-card .upcoming-event-meta {
  margin: -.15rem 0 .75rem;
  color: var(--concrete);
  font-size: .85rem;
  font-weight: 700;
}
.upcoming-event-card .btn { margin-top: auto; padding-top: .85rem; }
.upcoming-events-empty {
  max-width: 720px;
  padding: 1.1rem 1.25rem;
  color: #4c4d4a;
  background: rgba(255,255,255,.68);
  border-left: 3px solid var(--brass);
}

/* --- Visit request confirmation --- */
.confirmation-hero {
  background: var(--navy-mid);
}
.confirmation-hero-content {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}
.confirmation-mark {
  display: grid;
  flex: 0 0 auto;
  width: clamp(4rem, 10vw, 6rem);
  height: clamp(4rem, 10vw, 6rem);
  place-items: center;
  color: var(--navy);
  background: var(--brass-lt);
  border-radius: 50%;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(212,168,75,.14);
}
.confirmation-hero .hero-eyebrow {
  color: var(--brass-lt);
  margin-bottom: .55rem;
}
.confirmation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.confirmation-kicker {
  margin-bottom: .45rem;
  color: var(--brass);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.confirmation-main h2,
.confirmation-contact h2,
.confirmation-directions-copy h2 {
  margin-bottom: .8rem;
}
.confirmation-steps {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
  list-style: none;
}
.confirmation-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.confirmation-steps li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 700;
}
.confirmation-steps strong {
  color: var(--navy);
}
.confirmation-steps p {
  margin-top: .15rem;
  color: #55554f;
}
.confirmation-contact {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border-top: 4px solid var(--brass);
  box-shadow: 0 10px 28px rgba(26,37,57,.12);
}
.confirmation-email {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--navy);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.confirmation-contact-note {
  margin-top: .65rem;
  color: #62625c;
  font-size: .85rem;
}
.section-confirmation-directions {
  background: var(--linen-dk);
}
.confirmation-directions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.confirmation-map {
  overflow: hidden;
  border: 1px solid var(--concrete-lt);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(26,37,57,.13);
}
.confirmation-map iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
}
.confirmation-directions-list {
  display: grid;
  gap: .65rem;
  margin: 1.25rem 0 0 1.2rem;
}
.confirmation-arrival-note {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  background: rgba(184,145,58,.13);
  border-left: 3px solid var(--brass);
}
.confirmation-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.confirmation-actions--center {
  justify-content: center;
  margin-top: 0;
}

/* --- Collection controls --- */
.collection-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
#collection-search {
  flex: 1;
  min-width: 200px;
  padding: .6em 1em;
  border: 1px solid var(--concrete-lt);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
}

/* --- Pagination --- */
.collection-pagination {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.page-btn {
  padding: .4em .8em;
  border: 1px solid var(--concrete-lt);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  transition: background var(--transition);
}
.page-btn.active,
.page-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- Image credits --- */
.credits-page h2 { margin-bottom: 1rem; }
.credits-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 760px;
}
.credits-list li {
  display: grid;
  gap: .35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--linen-dk);
}
.credits-list strong { color: var(--navy); }
.credits-list span { color: #555; }

/* --- Responsive nav --- */
@media (max-width: 768px) {
  .split-lede,
  .history-feature,
  .history-feature--reverse,
  .visit-grid,
  .visit-two,
  .visit-photo-row,
  .tour-request-layout,
  .confirmation-grid,
  .confirmation-directions-grid {
    grid-template-columns: 1fr;
  }
  .confirmation-hero-content {
    align-items: flex-start;
  }
  .site-announcement-content { flex-direction: column; gap: .25rem; }
  .tour-form-grid { grid-template-columns: 1fr; }
  .tour-form-field--wide { grid-column: auto; }
  .history-feature--reverse .wide-media { order: 0; }
  .timeline li {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .post-list-card {
    grid-template-columns: 1fr;
  }
  .post-list-image img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem var(--gutter);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Contact and board --- */
.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; }
.section-contact { background: var(--white); }
.contact-grid, .board-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-intro h2, .board-heading h2 { margin-bottom: .8rem; }
.contact-kicker { margin-bottom: .45rem; color: var(--brass); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.contact-card { padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--linen); border-top: 4px solid var(--brass); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(26,37,57,.1); font-style: normal; }
.contact-detail { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linen-dk); }
.contact-detail:first-child { padding-top: 0; }
.contact-detail:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-label { color: var(--concrete); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail a { font-weight: 700; overflow-wrap: anywhere; }
.section-board { background: var(--linen-dk); }
.board-heading p:last-child { color: #555; }
.board-roster { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(26,37,57,.12); }
.board-roster table { width: 100%; border-collapse: collapse; text-align: left; }
.board-roster thead { background: var(--navy); }
.board-roster thead th { padding: .85rem 1.25rem; color: var(--brass-lt); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.board-roster tbody th, .board-roster tbody td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--linen-dk); }
.board-roster tbody tr:last-child th, .board-roster tbody tr:last-child td { border-bottom: 0; }
.board-roster tbody th { width: 42%; color: var(--concrete); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.board-roster tbody td { color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; }
.board-roster tbody tr:nth-child(even) { background: rgba(232,224,208,.35); }
@media (max-width: 768px) { .contact-grid, .board-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .contact-detail { grid-template-columns: 1fr; gap: .2rem; }
  .board-roster thead { display: none; }
  .board-roster table, .board-roster tbody, .board-roster tr, .board-roster th, .board-roster td { display: block; width: 100%; }
  .board-roster tbody tr { padding: .9rem 1rem; border-bottom: 1px solid var(--linen-dk); }
  .board-roster tbody tr:last-child { border-bottom: 0; }
  .board-roster tbody th, .board-roster tbody td { padding: 0; border: 0; }
  .board-roster tbody td { margin-top: .15rem; }
}

/* --- Restart campaign --- */
.page-restart .site-footer { margin-top: 0; }
.restart-hero {
  position: relative;
  min-height: min(720px, 78vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.restart-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,16,27,.92) 0%, rgba(10,16,27,.7) 52%, rgba(10,16,27,.2) 100%);
}
.restart-hero-media { position: absolute; inset: 0; z-index: -2; }
.restart-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.restart-hero-content { width: 100%; padding-block: clamp(3.5rem, 9vw, 7rem); }
.restart-hero h1 { max-width: 760px; margin-bottom: 1rem; color: var(--white); }
.restart-hero-lede { max-width: 54ch; color: rgba(255,255,255,.86); font-size: clamp(1rem, 2vw, 1.2rem); }
.restart-hero-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.restart-hero-ask > span { display: flex; flex-direction: column; color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.restart-hero-ask strong { color: var(--brass-lt); font-family: var(--font-display); font-size: 2rem; font-weight: normal; letter-spacing: 0; line-height: 1; }
.restart-kicker { margin-bottom: .45rem; color: var(--brass); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.restart-now { background: var(--white); }
.restart-now-grid,
.restart-give-grid,
.restart-trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.restart-now h2,
.restart-give h2,
.restart-trust h2 { margin-bottom: .8rem; }
.campaign-progress { padding: clamp(1.4rem, 3vw, 2rem); background: var(--linen); border-top: 4px solid var(--brass); box-shadow: 0 10px 28px rgba(26,37,57,.1); }
.campaign-progress-heading { display: flex; justify-content: space-between; gap: 1rem; color: var(--navy); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.campaign-progress-track { height: .75rem; margin: 1rem 0 .7rem; overflow: hidden; background: var(--linen-dk); border-radius: 999px; }
.campaign-progress-track span { display: block; width: var(--campaign-progress, 0%); height: 100%; background: var(--brass); }
.campaign-progress-total strong { color: var(--navy); }
.campaign-progress-update { margin-top: .45rem; color: #62625c; font-size: .78rem; line-height: 1.5; }
.campaign-progress-update a { color: var(--navy); font-weight: 700; text-underline-offset: .18em; }
.campaign-progress-cta { margin-top: 1.1rem; }
.campaign-progress p { color: #62625c; font-size: .85rem; }
.restart-use { background: var(--linen-dk); }
.restart-section-heading { max-width: 680px; margin-bottom: 2rem; }
.restart-section-heading h2 { margin-bottom: .55rem; }
.restart-use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.restart-use-card { padding: 1.4rem; background: var(--white); border-top: 3px solid var(--concrete-lt); }
.restart-use-card--primary { border-top-color: var(--brass); }
.restart-use-card > span { color: var(--concrete); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.restart-use-card h3 { margin: .45rem 0 .55rem; font-family: var(--font-body); font-size: 1rem; font-weight: 800; }
.restart-use-card p { color: #55554f; font-size: .9rem; line-height: 1.55; }
.restart-give { scroll-margin-top: 64px; color: rgba(255,255,255,.82); background: var(--navy-mid); }
.restart-give h2 { color: var(--white); }
.restart-give .restart-kicker { color: var(--brass-lt); }
.restart-tax-note { margin-top: 1.25rem; color: rgba(255,255,255,.62); font-size: .82rem; }
.restart-donation-card { min-height: 190px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; place-items: center; background: var(--white); border-top: 4px solid var(--brass); box-shadow: 0 16px 40px rgba(0,0,0,.22); color: var(--ink); text-align: center; }
.restart-donation-card h3 { margin-bottom: .35rem; }
.restart-donation-intro { margin-bottom: 1.25rem; color: #55554f; font-size: .95rem; }
.restart-donation-security { margin-top: 1rem; color: var(--concrete); font-size: .75rem; }
.restart-donation-security a { color: var(--navy); font-weight: 700; text-underline-offset: .18em; }
.restart-membership-option { width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem 1rem; border-top: 1px solid var(--linen-dk); }
.restart-membership-option span { color: var(--concrete); font-size: .85rem; }
.restart-trust { background: var(--white); }
.restart-trust-cta { margin-top: 1.25rem; }
.restart-ridem-note { padding: 1.5rem; background: var(--linen); border-left: 3px solid var(--brass); }
.restart-ridem-note strong { color: var(--navy); }
.restart-ridem-note p { margin-top: .4rem; color: #55554f; }
.restart-share { background: var(--linen-dk); }
.restart-share-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem 4rem; }
.restart-share h2 { max-width: 650px; margin-bottom: .35rem; }
.restart-share-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; min-width: min(100%, 360px); }
.restart-share-status { flex-basis: 100%; min-height: 1.4em; color: #55554f; font-size: .82rem; text-align: right; }
@media (max-width: 900px) {
  .restart-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .restart-hero { min-height: 650px; }
  .restart-hero::after { background: linear-gradient(0deg, rgba(10,16,27,.94) 0%, rgba(10,16,27,.66) 70%, rgba(10,16,27,.28) 100%); }
  .restart-hero-media img { object-position: 58% center; }
  .restart-now-grid,
  .restart-give-grid,
  .restart-trust-grid { grid-template-columns: 1fr; }
  .restart-share-inner { align-items: flex-start; flex-direction: column; }
  .restart-share-actions { justify-content: flex-start; }
  .restart-share-status { text-align: left; }
}
@media (max-width: 520px) {
  .restart-hero { min-height: calc(100svh - 64px); }
  .restart-use-grid { grid-template-columns: 1fr; }
  .restart-hero-ask,
  .restart-hero-ask .btn,
  .restart-share-actions,
  .restart-share-actions .btn { width: 100%; }
  .restart-hero-ask .btn,
  .restart-share-actions .btn { justify-content: center; }
}

.restart-hero-ask .btn { background: var(--brass); color: var(--navy); border-color: var(--brass); }
.restart-hero-ask .btn:hover { background: var(--brass-lt); color: var(--navy); border-color: var(--brass-lt); }
