/* Garrison Adventures Outdoors
   Dark, premium, Minnesota dusk palette drawn from the logo. */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #10192a;
  --navy: #0a1628;
  --purple: #3a1548;
  --magenta: #7a2a6a;
  --sunset: #ff7a1a;
  --amber: #ffb02a;
  --gold: #ffd45a;
  --ice: #9ec9e0;
  --ice-bright: #d7eef8;
  --pine: #0e3a28;
  --lake: #0a3d5c;
  --chrome: #d5d8de;
  --wood: #8a5a32;
  --cream: #f3ece0;
  --text: #f4efe6;
  --muted: #b7b3aa;
  --line: rgba(158, 201, 224, 0.16);
  --header-h: 4.5rem;
  --radius: 1.15rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--amber);
  text-underline-offset: 0.18em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--amber);
  color: #1a0d00;
  padding: 0.5rem 0.9rem;
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.35rem;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(7, 11, 20, 0.72), rgba(7, 11, 20, 0.28));
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1200px, calc(100% - 1.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}

.site-nav {
  display: flex;
  gap: 0.15rem 1.35rem;
  align-items: center;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sunset), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: rgba(16, 25, 42, 0.7);
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--cream);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero
   -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 8%, rgba(90, 30, 90, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 48%, rgba(255, 140, 40, 0.28), transparent 55%),
    linear-gradient(180deg,
      #050814 0%,
      #12081c 18%,
      #3a1548 42%,
      #7a2a55 58%,
      #c45a28 72%,
      #ffb02a 82%,
      #0a2a48 83%,
      #070b14 100%
    );
}

.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background: url("images/noise.png") repeat;
  opacity: 0.11;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(5, 8, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, transparent 25%, transparent 70%, rgba(7, 11, 20, 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  width: min(960px, calc(100% - 1.75rem));
  text-align: center;
  padding: 6.5rem 0 5.5rem;
}

.hero-logo-wrap {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 880px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 8% 18%;
  background: radial-gradient(ellipse at center, rgba(255, 176, 42, 0.32), rgba(255, 122, 26, 0.08) 45%, transparent 70%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

.hero-logo {
  width: 100%;
  height: auto;
  margin-inline: auto;
  animation: logoIn 1.1s ease-out both;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.hero-kicker {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: var(--cream);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  animation: logoIn 1.1s ease-out 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: logoIn 1.1s ease-out 0.25s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.86rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--sunset) 100%);
  color: #1a0d00;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #1a0d00;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 176, 42, 0.45);
}

.btn-ghost {
  background: rgba(7, 11, 20, 0.35);
  color: var(--cream);
  border-color: rgba(255, 212, 90, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  border-color: var(--gold);
  background: rgba(255, 176, 42, 0.12);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--ice-bright);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.scroll-cue:hover { color: #fff; opacity: 1; }

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

/* Sections
   -------------------------------------------------- */
.section {
  position: relative;
  padding: 5.5rem 0 5rem;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/noise.png") repeat;
  opacity: 0.04;
  pointer-events: none;
}

.about { background: linear-gradient(180deg, #070b14 0%, #0b1220 100%); }
.trips { background: radial-gradient(ellipse at top left, rgba(14, 58, 40, 0.28), transparent 50%), #0b1220; }
.sponsors { background: linear-gradient(180deg, #0b1220 0%, #10192a 50%, #0b1220 100%); }
.ice-houses { background: radial-gradient(ellipse at 80% 20%, rgba(10, 61, 92, 0.35), transparent 50%), #0b1220; }
.contact { background: linear-gradient(180deg, #0b1220 0%, #070b14 100%); }

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--amber);
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.section-lead {
  margin: 0 0 2.4rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 42rem;
}

.prose a { font-weight: 600; }

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 780px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.trips-panel,
.partner-panel {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
  background:
    linear-gradient(180deg, rgba(16, 25, 42, 0.9), rgba(11, 18, 32, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}

/* Placeholders
   -------------------------------------------------- */
.placeholder-note {
  background: rgba(138, 90, 50, 0.12);
  border: 1px solid rgba(255, 176, 42, 0.28);
  border-left: 4px solid var(--amber);
  border-radius: 0.85rem;
  padding: 1rem 1.1rem 1.05rem;
  color: var(--cream);
}

.placeholder-label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.placeholder-note p:last-child { margin-bottom: 0; }

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

.contact-list li {
  padding: 0.25rem 0;
  color: var(--cream);
}

/* Sponsors
   -------------------------------------------------- */
.sponsor-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .sponsor-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sponsor-wall {
    grid-template-columns: repeat(6, 1fr);
  }
  .sponsor-wall li:nth-child(1) { grid-column: 1 / 3; }
  .sponsor-wall li:nth-child(2) { grid-column: 3 / 5; }
  .sponsor-wall li:nth-child(3) { grid-column: 5 / 7; }
  .sponsor-wall li:nth-child(4) { grid-column: 2 / 4; }
  .sponsor-wall li:nth-child(5) { grid-column: 4 / 6; }
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(22, 32, 52, 0.95), rgba(10, 16, 28, 0.95));
  border: 1px solid rgba(158, 201, 224, 0.16);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 176, 42, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  color: inherit;
  transform: translateY(-6px);
  border-color: rgba(255, 176, 42, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 176, 42, 0.2),
    0 18px 40px rgba(255, 122, 26, 0.18),
    0 0 36px rgba(158, 201, 224, 0.12);
}

.sponsor-card:hover::before,
.sponsor-card:focus-visible::before {
  opacity: 1;
}

.sponsor-logo {
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  margin-bottom: 1rem;
}

.sponsor-logo img {
  max-height: 5.25rem;
  width: auto;
  max-width: 86%;
  margin-inline: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.logo-on-light {
  background: #f6f1e8;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  min-height: 7.5rem;
}

.logo-on-light img {
  max-height: 4.4rem;
  filter: none;
}

.logo-round img {
  max-height: 7.25rem;
  max-width: 7.25rem;
  border-radius: 50%;
}

.sponsor-meta {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  margin-top: auto;
}

.sponsor-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
}

.sponsor-blurb {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.sponsor-link-hint {
  color: var(--ice);
  font-size: 0.82rem;
}

/* Footer
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050814;
  padding: 2.6rem 0 2.8rem;
  text-align: center;
}

.footer-mark {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #fff;
}

.footer-place,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  justify-content: center;
  margin: 1rem 0 1.2rem;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

/* Reveals
   -------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Mobile nav
   -------------------------------------------------- */
@media (max-width: 799px) {
  :root { --header-h: 4.15rem; }

  .brand img { width: 138px; }

  .nav-toggle { display: grid; place-items: center; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 1rem 1.1rem;
    background: rgba(7, 11, 20, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  body.nav-open .site-nav { display: flex; }

  .site-nav a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .hero-content { padding: 5.6rem 0 4.8rem; }
  .section { padding: 4.2rem 0 3.8rem; }
}

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