/* Liquid glass / refined system aesthetic */
:root {
  --glass-bg: rgba(12, 18, 30, 0.22);
  --glass-bg-strong: rgba(12, 18, 30, 0.32);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  --text-primary: #d9d9d9;
  --text-secondary: rgba(217, 217, 217, 0.72);
  --text-on-dark: #d9d9d9;
  --text-muted-on-dark: rgba(217, 217, 217, 0.72);
  --accent: #c79b3b;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --space-section: clamp(4rem, 10vw, 7rem);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Full-page monochrome photo on black, with a scrim for text legibility */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #000000;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.4) 45%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    url("assets/OZK-forest-2.svg");
  background-size: cover, auto 67%;
  background-position: center, center bottom;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.wrap--hero {
  max-width: min(1240px, 100% - 2rem);
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.75rem);
}

/* Glass panel */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-inner code,
.map-intro code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(199, 155, 59, 0.14);
  color: var(--accent);
  border: 1px solid rgba(199, 155, 59, 0.32);
}

/* Hidden SVG defs for feDisplacementMap (hero only) */
.ozk-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/*
 * Hero liquid glass: backdrop-filter: url(#svg) — SVG filter runs on the snapshot
 * behind the panel (refraction + light blur), not on the DOM subtree.
 * https://codepen.io/Esther-k/pen/XJbxKQq · https://frontendmasters.com/blog/liquid-glass-on-the-web/?ref=dailydev
 */
.liquid-glass--hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.133);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.148);
  color: var(--text-primary);
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.liquid-glass__filter {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: url(#ozk-backdrop-glass);
  backdrop-filter: url(#ozk-backdrop-glass);
  transform: translateZ(0);
}

.liquid-glass__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.082) 0%,
    rgba(255, 255, 255, 0.021) 40%,
    rgba(255, 255, 255, 0.016) 72%,
    rgba(255, 255, 255, 0.006) 100%
  );
}

.liquid-glass__specular {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.386),
    inset -1px -1px 0 rgba(255, 255, 255, 0.074), inset 0 0 48px rgba(255, 255, 255, 0.045);
}

.liquid-glass__content {
  position: relative;
  z-index: 3;
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(2rem, 6vw, 4rem);
}

/* Hero mostly left viewport — slightly more frost still reads fine */
.site-header.is-hero-receding .liquid-glass--hero {
  border-color: rgba(255, 255, 255, 0.193);
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.208);
}

.site-header.is-hero-receding .liquid-glass__filter {
  -webkit-backdrop-filter: url(#ozk-backdrop-glass-receding);
  backdrop-filter: url(#ozk-backdrop-glass-receding);
}

.site-header.is-hero-receding .liquid-glass__tint {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.133) 0%,
    rgba(255, 255, 255, 0.041) 44%,
    rgba(255, 255, 255, 0.015) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .liquid-glass__filter {
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
  }

  .site-header.is-hero-receding .liquid-glass__filter {
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
  }
}

/* Header */
.site-header {
  padding: clamp(3.5rem, 12vw, 6rem) 0 var(--space-section);
  text-align: center;
}

.hero-brand {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.hero-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-logo-link:hover {
  transform: scale(1.04);
  opacity: 0.95;
}

.hero-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-logo {
  width: clamp(144px, 28vw, 224px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

.site-header .site-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7.25rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 36px rgba(0, 0, 0, 0.45),
    0 12px 48px rgba(0, 0, 0, 0.25);
}

/* Pill “white label” under hero title */
.hero-white-label {
  display: inline-block;
  margin: 0 0 1.35rem;
  padding: 0.27rem 1.1rem;
  background: #ffffff;
  color: rgba(28, 28, 32, 0.82);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .site-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(1.0625rem, 2.4vw, 1.3125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 24px rgba(0, 0, 0, 0.42);
}

/* Sections */
section {
  padding-bottom: var(--space-section);
}

.section-inner.glass {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
  background: rgba(12, 18, 30, 0.12);
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-family: var(--font);
}

.section-body p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.map-intro {
  margin-bottom: 0;
}

.map-intro span {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Park map image */
.map-shell {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  margin: 1.25rem auto 0;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
}

.park-map-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(620px, 75vh);
}

.map-caption {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 560px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 880px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(12, 18, 30, 0.26);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.team-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.team-name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.team-role {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.team-bio {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Timeline — zigzag rail with scroll-driven progress fill */
.tl {
  position: relative;
  margin-top: 2rem;
  padding-left: 2.75rem;
}

.tl-rail {
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 12px;
}

.tl-rail__mask {
  position: relative;
  width: 12px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  /* height + mask-image are set in JS to fit the rendered rail */
}

.tl-rail__track {
  position: absolute;
  inset: 0;
  background: rgba(217, 217, 217, 0.18);
}

.tl-rail__progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(199, 155, 59, 0.55);
  transition: height 0.2s ease-linear;
  /* fade the leading edge so the fill doesn't end on a hard line */
  -webkit-mask-image: linear-gradient(
    black 0%,
    black calc(100% - 8px),
    transparent 100%
  );
  mask-image: linear-gradient(
    black 0%,
    black calc(100% - 8px),
    transparent 100%
  );
}

.tl-events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-event {
  position: relative;
  padding-bottom: 2rem;
}

.tl-event:last-child {
  padding-bottom: 0;
}

.tl:not(.is-expanded) .tl-event--more {
  display: none;
}

.tl-toggle {
  display: block;
  margin: 1.5rem 0 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(199, 155, 59, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tl-toggle:hover,
.tl-toggle:focus-visible {
  background: rgba(199, 155, 59, 0.12);
  border-color: var(--accent);
}

.tl-event__date {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.tl-event.is-reached .tl-event__date {
  color: var(--accent);
}

.tl-event__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.tl-event__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .tl-rail__progress {
    transition: none;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.site-footer p {
  margin: 0;
}

