* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(var(--paper), var(--paper)),
    url("/assets/topo.svg") center top / 1100px repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

strong,
span,
small,
p,
h1,
h2,
h3,
a {
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  background: rgba(244, 239, 227, 0.9);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/topo.svg") center top / 920px repeat;
  opacity: 0.19;
  pointer-events: none;
}

.page-inner {
  background: transparent;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.section-grid > *,
.card-grid > *,
.resource-columns > *,
.notes-grid > *,
.story-grid > *,
.split-section > *,
.community-story > *,
.timeline > *,
.event-gallery > *,
.event-list > *,
.hero-stat-grid > *,
.glance-band > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 10px clamp(20px, 4vw, 32px);
  background: var(--spruce-deep);
  color: var(--birch);
  border-bottom: 2px solid var(--brass);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong,
.site-footer strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-copy span:last-child,
.site-footer p {
  color: #bcc7b8;
  font-size: 0.82rem;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  padding: 8px 11px;
  border-radius: var(--r-xs);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--birch);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

main {
  padding-bottom: var(--s-7);
}

main > section:not(.hero) {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 32px);
  padding-right: clamp(20px, 4vw, 32px);
}

.inner-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px) var(--s-7);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px clamp(20px, 4vw, 32px) 160px;
  background: var(--spruce-deep);
  color: var(--birch);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/topo-cream.svg") center / 1100px repeat;
  opacity: 0.1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background: url("/assets/ridgeline.svg") center bottom / cover no-repeat;
  pointer-events: none;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-family: var(--font-slab);
  font-style: italic;
  font-weight: 500;
  color: var(--brass-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--t-eyebrow);
}

.hero .eyebrow {
  color: var(--gold);
}

h1 {
  font-size: clamp(3rem, 6vw, var(--t-4xl));
  color: var(--spruce);
  margin-top: 10px;
  text-shadow: none;
}

.hero h1 {
  color: var(--cream);
  margin-top: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

h2 {
  font-size: clamp(2rem, 4vw, var(--t-2xl));
  color: var(--spruce);
}

h3 {
  font-size: var(--t-lg);
  color: var(--spruce);
}

.lede {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--text-mute);
  font-size: var(--t-md);
}

.hero .lede {
  color: #d6dccb;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur),
    color var(--dur),
    border-color var(--dur);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brass);
  color: var(--spruce-deep);
}

.button-secondary {
  background: transparent;
  color: var(--birch);
  border-color: rgba(241, 234, 215, 0.5);
}

.hero-points,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points {
  width: min(760px, 100%);
  margin: 0 auto;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-mute);
}

.hero-points li {
  color: #d6dccb;
}

.hero-points li + li,
.check-list li + li {
  margin-top: 10px;
}

.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero-card {
  width: min(940px, 100%);
  margin: 88px auto 0;
  padding: 92px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  text-align: left;
  overflow: visible;
}

.hero-emblem {
  position: absolute;
  left: 50%;
  top: -72px;
  width: 152px;
  height: 152px;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.hero-scene-photo {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-card-top,
.scene-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--pine);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-muted {
  background: var(--lake);
}

.scene-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--spruce);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.hero-stat-grid article {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.hero-stat-grid strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.hero-stat-grid span,
.info-card p,
.feature-panel p,
.resource-link small,
.note-card p,
.timeline p,
.gallery-copy p,
.event-copy p,
.stacked-lines,
.stacked-lines span {
  color: var(--text-mute);
}

.section-grid,
.card-grid,
.resource-columns,
.notes-grid,
.story-grid,
.split-section,
.community-story,
.timeline,
.event-gallery,
.event-list {
  display: grid;
  gap: 22px;
}

.section-grid,
.split-section,
.community-story {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-panel,
.info-card,
.note-card,
.event-card,
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feature-panel,
.info-card,
.note-card {
  padding: 24px;
}

.accent-panel {
  background:
    linear-gradient(rgba(23, 58, 45, 0.96), rgba(17, 42, 34, 0.96)),
    url("/assets/topo-cream.svg") center / 800px repeat;
  border-color: rgba(241, 234, 215, 0.12);
  color: var(--birch);
}

.accent-panel h2,
.accent-panel p,
.accent-panel li,
.accent-panel .section-kicker {
  color: var(--birch);
}

.accent-panel .section-kicker {
  color: var(--gold);
}

.content-band,
.club-life,
.field-notes,
.timeline-section {
  padding-top: var(--s-7);
}

.page-intro,
.section-heading {
  margin-bottom: var(--s-5);
}

.section-copy {
  max-width: 64ch;
  margin-bottom: 24px;
  color: var(--text-mute);
}

.section-actions {
  margin-top: 24px;
}

.page-intro {
  padding-top: var(--s-6);
}

.page-intro .lede {
  margin-left: 0;
  max-width: 64ch;
}

.intro-motifs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.intro-motifs span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lake);
}

.trail-divider {
  width: 100%;
  max-width: 280px;
  height: 18px;
  margin-top: 16px;
  background: url("/assets/treeline.svg") left center / auto 100% repeat-x;
}

.glance-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
  padding-top: var(--s-6);
}

.glance-band article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.glance-label,
.note-source,
.timeline-step {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.glance-band strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--spruce);
}

.glance-band p {
  margin-top: 8px;
  color: var(--text-mute);
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-panel {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

.story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(17, 42, 34, 0.82) 100%);
}

.story-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  background: rgba(17, 42, 34, 0.82);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-overlay h3,
.gallery-copy h2,
.gallery-copy h3 {
  margin-top: 10px;
  color: var(--cream);
}

.story-overlay p {
  margin-top: 8px;
  color: #d6dccb;
}

.community-story {
  align-items: center;
}

.community-story-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

.community-story-copy {
  padding: 10px 0;
  min-width: 0;
}

.community-story-copy h3 {
  margin: 8px 0 14px;
}

.community-story-copy p + p {
  margin-top: 12px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-top-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-top-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-top-grid .card-icon {
  margin-bottom: 14px;
}

.membership-top-grid h2 {
  margin-bottom: 16px;
}

.membership-top-grid .check-list li + li {
  margin-top: 6px;
}

.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}

.info-card-forest .card-icon {
  color: var(--pine);
}

.info-card-water .card-icon {
  color: var(--lake);
}

.info-card-target .card-icon {
  color: var(--brass-deep);
}

.info-card-paper .card-icon {
  color: var(--spruce);
}

.info-card-paper {
  background: var(--paper);
}

.link-stack {
  display: grid;
  gap: 0;
}

.resource-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.resource-link:last-child {
  border-bottom: 0;
}

.resource-link span {
  min-width: 0;
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--spruce);
}

.resource-link small {
  min-width: 0;
  margin-left: auto;
  text-align: right;
  font-size: 0.86rem;
}

.resource-link:hover span,
.text-link:hover {
  color: var(--brass-deep);
}

.notes-grid,
.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.note-card h3,
.timeline h3 {
  margin: 8px 0 10px;
}

.notice-strip {
  margin-top: var(--s-5);
  padding: 16px clamp(20px, 4vw, 32px);
  background: var(--brass);
  color: var(--spruce-deep);
  border-top: 2px solid var(--brass-deep);
  border-bottom: 2px solid var(--brass-deep);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-strip a {
  font-weight: 700;
  text-decoration: underline;
}

.event-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: var(--s-6);
}

.gallery-card {
  overflow: hidden;
  padding: 0;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-photo {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.gallery-copy {
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, rgba(23, 58, 45, 0.98), rgba(17, 42, 34, 0.98));
}

.gallery-copy p {
  margin-top: 8px;
  color: #d6dccb;
}

.event-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: var(--s-6);
}

.event-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px 22px;
}

.event-card-highlight {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.event-date {
  padding-top: 3px;
  text-align: right;
  color: var(--brass-deep);
}

.event-date span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-date strong {
  display: block;
  color: var(--text-mute);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
}

.event-copy {
  display: block;
  min-width: 0;
}

.event-copy h2 {
  font-size: var(--t-md);
}

.event-copy p {
  margin-top: 4px;
  font-size: var(--t-sm);
}

.event-copy small {
  display: block;
  margin-top: 8px;
  color: var(--text-mute);
  font-size: 0.86rem;
}

.event-icon {
  margin-bottom: 8px;
}

.resource-columns {
  grid-template-columns: 1fr;
}

.resource-section-card.info-card-paper {
  background: var(--surface);
}

.stacked-lines span {
  display: block;
}

.photo-galleries {
  display: grid;
  gap: var(--s-7);
}

.gallery-entry {
  display: grid;
  gap: 28px;
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)),
    var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.gallery-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/topo-cream.svg") center/460px auto repeat;
  opacity: 0.18;
  pointer-events: none;
}

.gallery-entry::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  background: url("/assets/treeline-spruce.svg") center bottom / auto 100% repeat-x;
  opacity: 0.28;
  pointer-events: none;
}

.gallery-entry > * {
  position: relative;
  z-index: 1;
}

.gallery-entry-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 26px;
  align-items: end;
}

.gallery-entry-title h2 {
  margin-top: 8px;
}

.gallery-entry-head p:last-child {
  margin-top: 10px;
  max-width: 68ch;
  color: var(--text-mute);
}

.gallery-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.gallery-entry-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(24, 53, 45, 0.12);
  background: rgba(244, 239, 226, 0.9);
  color: var(--spruce);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.gallery-feature-link {
  padding: 10px;
  background: rgba(255, 252, 245, 0.78);
  border: 1px solid rgba(24, 53, 45, 0.1);
  box-shadow: var(--shadow-sm);
}

.gallery-feature-image,
.gallery-photo-thumb {
  width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

.gallery-feature-image {
  aspect-ratio: 4 / 3;
}

.gallery-video-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.12)),
    var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

.gallery-video-card h3 {
  margin-bottom: 14px;
}

.gallery-video {
  width: 100%;
  display: block;
  border-radius: var(--r-sm);
  background: #000;
}

.gallery-video-card p {
  margin-top: 12px;
}

.gallery-feature-link,
.gallery-photo-link {
  display: block;
}

.gallery-feature-link {
  border-radius: var(--r-sm);
}

.gallery-results {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.14)),
    var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

.gallery-results-copy {
  display: grid;
  gap: 8px;
}

.gallery-results-copy p:last-child {
  color: var(--text-mute);
}

.results-groups {
  display: grid;
  gap: 18px;
}

.results-group {
  display: grid;
  gap: 12px;
}

.results-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.results-group-head h4 {
  font-size: 1.2rem;
}

.results-group-head span {
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.results-table-wrap {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid rgba(24, 53, 45, 0.12);
}

.results-table th,
.results-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(24, 53, 45, 0.1);
}

.results-table th {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spruce);
  background: rgba(216, 177, 63, 0.16);
}

.results-table td {
  font-size: 0.98rem;
}

.results-table .is-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.results-place {
  width: 72px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--spruce);
}

.results-table tbody tr.is-winner {
  background: rgba(216, 177, 63, 0.12);
}

.results-table tbody tr.is-winner .results-place::after {
  content: " Winner";
  color: var(--brass-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.results-table td.is-fastest-stage {
  background: rgba(47, 107, 130, 0.14);
  color: var(--spruce-deep);
  font-weight: 700;
}

.results-table td.is-fastest-stage::after {
  content: " Fastest stage";
  display: block;
  margin-top: 4px;
  color: var(--lake);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.results-table td.is-fastest-texas-star {
  background: rgba(216, 177, 63, 0.22);
  color: var(--spruce-deep);
  font-weight: 700;
}

.results-table td.is-fastest-texas-star::after {
  content: " Best Texas Star";
  display: block;
  margin-top: 4px;
  color: var(--brass-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.results-table tbody tr:last-child td {
  border-bottom: 0;
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-photo-card {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gallery-photo-link {
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(255, 252, 245, 0.84);
  border: 1px solid rgba(24, 53, 45, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-feature-link:hover,
.gallery-feature-link:focus-visible,
.gallery-photo-link:hover,
.gallery-photo-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-photo-thumb {
  aspect-ratio: 4 / 3;
}

.gallery-photo-card figcaption {
  color: var(--text-mute);
  font-size: 0.92rem;
  padding-inline: 4px;
}

.gallery-lightbox {
  width: min(94vw, 1120px);
  max-width: 1120px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(9, 14, 12, 0.96);
  color: var(--cream);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox::backdrop {
  background: rgba(8, 12, 11, 0.8);
  backdrop-filter: blur(4px);
}

.gallery-lightbox-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font: inherit;
  cursor: pointer;
}

.gallery-lightbox-figure {
  margin: 0;
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  margin: 0 auto;
}

.gallery-lightbox-caption {
  margin-top: 12px;
  text-align: center;
  color: #d6dccb;
}

.text-link {
  color: var(--lake);
  font-weight: 600;
  text-decoration: underline;
}

.site-footer {
  margin-top: var(--s-7);
  padding: 82px clamp(20px, 4vw, 32px) 30px;
  background: var(--spruce-deep);
  color: #aebaa9;
  border-top: 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  background: url("/assets/treeline-spruce.svg") center / auto 100% repeat-x;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.footer-brand .brand-mark {
  width: 66px;
  height: 66px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 0.9rem;
  color: #bcc7b8;
}

.footer-links a:hover {
  color: var(--cream);
}

@media (max-width: 1120px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-top-grid,
  .membership-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glance-band,
  .notes-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-entry-head {
    grid-template-columns: 1fr;
  }

  .gallery-entry-meta {
    justify-content: flex-start;
  }

  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .section-grid,
  .split-section,
  .community-story,
  .contact-top-grid,
  .resource-columns,
  .membership-top-grid,
  .timeline,
  .notes-grid,
  .hero-stat-grid,
  .event-list,
  .event-gallery,
  .story-grid,
  .card-grid,
  .glance-band {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .hero {
    padding-bottom: 130px;
  }

  .hero-card {
    margin-top: 72px;
    padding-top: 92px;
  }

  .hero-emblem {
    top: -62px;
    width: 132px;
    height: 132px;
  }

  .community-story-photo {
    min-height: 260px;
  }

  .gallery-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  main > section:not(.hero),
  .inner-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    text-align: left;
  }

  .card-grid,
  .glance-band,
  .notes-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .resource-link {
    display: block;
  }

  .resource-link small {
    display: block;
    margin: 6px 0 0;
    text-align: left;
  }

  .gallery-photo-grid {
    grid-template-columns: 1fr;
  }
}

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

html.theme-modern body {
  background: var(--surface);
}

html.theme-modern .page-shell {
  background: var(--surface);
}

html.theme-modern .page-shell::before {
  opacity: 0;
}

html.theme-modern .site-header {
  min-height: 74px;
  background: rgba(255, 253, 246, 0.92);
  color: var(--spruce);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(4px);
}

html.theme-modern .brand-copy strong,
html.theme-modern .site-footer strong {
  letter-spacing: 0.04em;
  color: var(--spruce);
}

html.theme-modern .brand-copy span:last-child {
  color: var(--lake);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

html.theme-modern .site-nav {
  gap: 4px;
  align-items: center;
}

html.theme-modern .site-nav a {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

html.theme-modern .site-nav a::after {
  display: none;
}

html.theme-modern .site-nav a:hover,
html.theme-modern .site-nav a.is-active {
  background: rgba(47, 107, 130, 0.08);
  color: var(--spruce);
}

html.theme-modern .site-nav a:last-child,
html.theme-modern .site-nav a.is-active:last-child {
  background: var(--spruce);
  color: var(--cream);
}

html.theme-modern .hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
  min-height: 580px;
  padding: 0;
  background: transparent;
  text-align: left;
}

html.theme-modern .hero::before,
html.theme-modern .hero::after {
  display: none;
}

html.theme-modern .hero-copy {
  width: auto;
  margin: 0;
  padding: 64px clamp(40px, 5vw, 84px);
  background: var(--spruce);
  color: var(--birch);
}

html.theme-modern .hero .eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
}

html.theme-modern .hero h1 {
  max-width: 12ch;
  color: var(--cream);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  text-shadow: none;
  margin-top: 0;
}

html.theme-modern .hero .lede {
  margin: 18px 0 0;
  max-width: 30ch;
  color: #cdd6c8;
}

html.theme-modern .cta-row {
  margin: 28px 0 22px;
  justify-content: flex-start;
}

html.theme-modern .button-primary {
  background: var(--spruce);
  color: var(--cream);
  border-color: transparent;
}

html.theme-modern .button-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(241, 234, 215, 0.28);
}

html.theme-modern .hero-points {
  margin: 10px 0 0;
  width: auto;
}

html.theme-modern .hero-points li {
  color: #d6dccb;
}

html.theme-modern .hero-card {
  margin: 0;
  width: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(160deg, var(--lake-deep), var(--pine) 60%, var(--spruce));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  min-height: 580px;
}

html.theme-modern .hero-emblem {
  position: static;
  width: 78px;
  height: 78px;
  transform: none;
  margin-bottom: 18px;
  filter: none;
}

html.theme-modern .hero-scene-photo {
  order: 3;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}

html.theme-modern .hero-card-top,
html.theme-modern .scene-tags {
  justify-content: flex-start;
}

html.theme-modern .hero-card-top {
  order: 1;
  margin: 0 0 20px;
}

html.theme-modern .scene-tags {
  order: 2;
  margin: 14px 0 18px;
}

html.theme-modern .pill {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
}

html.theme-modern .pill-muted {
  background: rgba(158, 195, 204, 0.22);
}

html.theme-modern .scene-tags span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
}

html.theme-modern .hero-stat-grid {
  order: 4;
  margin-top: 22px;
}

html.theme-modern .hero-stat-grid article {
  background: rgba(255, 253, 246, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

html.theme-modern .hero-stat-grid strong {
  color: var(--gold-light);
}

html.theme-modern .hero-stat-grid span {
  color: #e4eadf;
}

html.theme-modern .eyebrow,
html.theme-modern .section-kicker {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: var(--lake);
}

html.theme-modern .trail-divider {
  max-width: 64px;
  height: 3px;
  background: var(--brass);
}

html.theme-modern .section-copy {
  color: var(--ink-2);
}

html.theme-modern .section-grid,
html.theme-modern .split-section,
html.theme-modern .community-story {
  gap: 32px;
}

html.theme-modern .feature-panel,
html.theme-modern .info-card,
html.theme-modern .note-card,
html.theme-modern .event-card,
html.theme-modern .gallery-card {
  border-top-width: 1px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

html.theme-modern .accent-panel {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

html.theme-modern .accent-panel h2,
html.theme-modern .accent-panel p,
html.theme-modern .accent-panel li,
html.theme-modern .accent-panel .section-kicker {
  color: inherit;
}

html.theme-modern .glance-band {
  gap: 28px;
}

html.theme-modern .glance-band article {
  padding-top: 0;
  border-top: 0;
}

html.theme-modern .glance-label,
html.theme-modern .note-source,
html.theme-modern .timeline-step {
  color: var(--lake);
}

html.theme-modern .story-grid {
  gap: 28px;
}

html.theme-modern .story-panel {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

html.theme-modern .community-story {
  align-items: start;
}

html.theme-modern .community-story-photo {
  min-height: 360px;
  border-radius: var(--r-lg);
}

html.theme-modern .card-grid {
  gap: 22px;
}

html.theme-modern .card-icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--paper);
}

html.theme-modern .info-card-forest .card-icon {
  color: var(--pine);
}

html.theme-modern .info-card-water .card-icon {
  color: var(--lake);
}

html.theme-modern .info-card-target .card-icon {
  color: var(--brass-deep);
}

html.theme-modern .info-card-paper .card-icon {
  color: var(--spruce);
}

html.theme-modern .resource-link {
  padding: 0;
  border: 0;
}

html.theme-modern .resource-link span {
  font-size: 1.05rem;
}

html.theme-modern .field-notes .notes-grid,
html.theme-modern .timeline {
  gap: 20px;
}

html.theme-modern .note-card,
html.theme-modern .timeline article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

html.theme-modern .timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.theme-modern .notice-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: var(--r-md);
}

html.theme-modern .notice-strip a {
  color: var(--lake);
}

html.theme-modern .event-gallery {
  display: none;
}

html.theme-modern .event-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

html.theme-modern .event-card {
  grid-template-columns: 52px 1fr;
  align-items: start;
  padding: 24px;
}

html.theme-modern .event-date {
  display: none;
}

html.theme-modern .event-icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--paper);
}

html.theme-modern .event-card-highlight {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

html.theme-modern .event-copy h2 {
  font-size: var(--t-md);
}

html.theme-modern .resource-columns {
  gap: 24px;
}

html.theme-modern .gallery-video-card {
  border-top-width: 1px;
  border-radius: var(--r-lg);
}

html.theme-modern .gallery-feature-image,
html.theme-modern .gallery-photo-thumb,
html.theme-modern .gallery-video {
  border-radius: var(--r-lg);
}

html.theme-modern .site-footer {
  background: var(--spruce-deep);
  padding-top: 56px;
}

html.theme-modern .site-footer::before {
  display: none;
}

html.theme-modern .footer-links a {
  color: #bcc7b8;
}

@media (max-width: 1120px) {
  html.theme-modern .hero {
    grid-template-columns: 1fr;
  }

  html.theme-modern .hero-card {
    min-height: auto;
  }

  html.theme-modern .event-list,
  html.theme-modern .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  html.theme-modern .site-nav {
    display: flex;
  }

  html.theme-modern .site-nav a:not(:last-child) {
    display: none;
  }

  html.theme-modern .hero {
    grid-template-columns: 1fr;
  }

  html.theme-modern .event-list,
  html.theme-modern .timeline,
  html.theme-modern .resource-columns {
    grid-template-columns: 1fr;
  }
}
