:root {
  --bg: #071410;
  --surface: #0e1f1a;
  --rail: #134436;
  --accent: #c46a2b;
  --accent2: #e8a05a;
  --text: #e8e3d3;
  --muted: #8a9c93;
  --copper: #d3ae37;
  --max: 1080px;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--copper);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.corner-nav {
  position: fixed;
  left: var(--pad);
  bottom: var(--pad);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: rgba(14, 31, 26, 0.92);
  border: 1px solid rgba(196, 106, 43, 0.35);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.corner-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.corner-nav a:hover {
  color: var(--accent2);
}

.hero-band {
  position: relative;
  padding: calc(var(--pad) * 2) var(--pad) var(--pad);
  min-height: 92vh;
  display: grid;
  gap: 2rem;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(196, 106, 43, 0.12), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(19, 68, 54, 0.55), transparent 50%),
    linear-gradient(160deg, #0a2d23 0%, #071410 55%, #0e1f1a 100%);
  z-index: 0;
}

.hero-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(90deg, rgba(232, 227, 211, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(232, 227, 211, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-inset,
.hero-gallery,
.section {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-inset {
  background: rgba(14, 31, 26, 0.88);
  border: 1px solid rgba(196, 106, 43, 0.4);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
}

.hero-inset h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 650;
}

.hero-tagline {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 160, 90, 0.25);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(19, 68, 54, 0.8);
}

.section {
  padding: calc(var(--pad) * 1.5) var(--pad);
}

.section-intro {
  text-align: left;
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  gap: 1rem;
}

.quote-card {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.quote-card blockquote {
  margin: 0;
}

.quote-card blockquote p {
  margin: 0;
  font-size: 1.02rem;
}

.quote-card footer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  font-weight: 700;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  border-radius: calc(var(--radius) + 2px);
  border: 2px solid rgba(196, 106, 43, 0.35);
  background: #0a2d23;
}

.carousel-slide figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.legal-expand {
  background: var(--surface);
  border: 1px solid rgba(19, 68, 54, 0.9);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.legal-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.legal-toggle-hint {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.legal-body {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(138, 156, 147, 0.25);
}

.legal-body p {
  margin: 0 0 0.85rem;
}

.legal-summary {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-expand.is-open .legal-summary {
  display: none;
}

.site-footer {
  padding: 2rem var(--pad) 5.5rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(19, 68, 54, 0.7);
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-muted {
  opacity: 0.75;
}

@media (min-width: 768px) {
  .hero-band {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }

  .hero-inset {
    grid-column: 1;
  }

  .hero-gallery {
    grid-column: 2;
    grid-template-columns: 1fr;
    align-self: center;
  }

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

@media (max-width: 520px) {
  .hero-gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .corner-nav {
    right: var(--pad);
    left: auto;
    align-items: flex-end;
  }
}
