/* frozenlake.app — warm cabin-light theme */

:root {
  --lodge-cream: #FAF3E6;
  --lodge-paper: #FFFBF3;
  --lodge-frost: #F0E6D2;
  --lodge-line: #E3D6BE;
  --lodge-espresso: #2B1E16;
  --lodge-cocoa: #57402C;
  --lodge-amber: #D97E2B;
  --lodge-gold: #E9A23B;
  --lodge-ember: #B93A2A;
  --lodge-ice: #9DBFD0;
  --lodge-shadow: 0 18px 40px rgba(87, 64, 44, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--lodge-espresso);
  background: var(--lodge-cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lodge-ember); }

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────── */

.sitestrip {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    repeating-linear-gradient(90deg, rgba(87, 64, 44, 0.045) 0 2px, transparent 2px 26px),
    var(--lodge-cream);
  border-bottom: 1px solid var(--lodge-line);
}

.sitestrip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-mark img { height: auto; }

.page-nav { margin-left: auto; }

.page-nav__list {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-nav__list a {
  color: var(--lodge-cocoa);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.page-nav__list a:hover { color: var(--lodge-ember); }

/* ── Buttons ────────────────────────────────────────────── */

.jump-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--lodge-amber), var(--lodge-ember));
  box-shadow: 0 10px 24px rgba(217, 126, 43, 0.35);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jump-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 126, 43, 0.45);
}

.jump-cta--big {
  padding: 17px 44px;
  font-size: 1.05rem;
  animation: firelight 3.2s ease-in-out infinite;
}

.pulse-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: line-sweep 1.1s ease-in-out infinite;
}

/* ── Hero ───────────────────────────────────────────────── */

.stage {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 56px;
}

.lead-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--lodge-frost);
  border: 1px solid var(--lodge-line);
  color: var(--lodge-cocoa);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.title-lead {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0 0 26px;
  max-width: 34em;
  color: var(--lodge-cocoa);
  font-size: 1.08rem;
}

.stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--lodge-cocoa);
  font-weight: 500;
  font-size: 0.92rem;
}

.stage-meta span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lodge-amber);
  vertical-align: 1px;
}

.stage-art img {
  border: 10px solid var(--lodge-paper);
  border-radius: 18px;
  box-shadow: var(--lodge-shadow);
  transform: rotate(1.2deg);
}

/* ── Bands ──────────────────────────────────────────────── */

.band {
  padding: 52px 0;
  border-top: 1px solid var(--lodge-line);
}

.band-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--lodge-ember);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.band-copy { max-width: 46em; margin: 0 0 18px; color: var(--lodge-cocoa); }

.band-cta { margin-top: 30px; }

/* ── Tally (facts strip) ────────────────────────────────── */

.tally {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--lodge-line);
  border-radius: 16px;
  background: var(--lodge-paper);
}

.tally-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 3px solid var(--lodge-amber);
}

.tally-key {
  color: var(--lodge-cocoa);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tally-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
}

.tally-val small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--lodge-cocoa);
}

/* ── Reasons (perk cards) ───────────────────────────────── */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.reason {
  position: relative;
  border: 1px solid var(--lodge-line);
  border-radius: 16px;
  background: var(--lodge-paper);
  padding: 18px 20px 24px;
  box-shadow: 0 8px 22px rgba(87, 64, 44, 0.08);
}

.reason-fig {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.reason-num {
  position: absolute;
  top: 6px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lodge-espresso);
  color: var(--lodge-gold);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(43, 30, 22, 0.4);
}

.reason-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.reason-copy { margin: 0; color: var(--lodge-cocoa); font-size: 0.95rem; }

/* ── Timeline ───────────────────────────────────────────── */

.timeline {
  position: relative;
  margin: 26px 0 6px;
  padding: 0;
  list-style: none;
  counter-reset: round;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 17px;
  width: 2px;
  background: var(--lodge-line);
}

.timeline-step {
  position: relative;
  padding: 0 0 22px 58px;
  counter-increment: round;
}

.timeline-step:last-child { padding-bottom: 4px; }

.timeline-step::before {
  content: counter(round);
  position: absolute;
  left: 0;
  top: -3px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lodge-amber);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(217, 126, 43, 0.35);
}

/* ── Note / callout ─────────────────────────────────────── */

.note {
  margin-top: 10px;
  padding: 20px 24px;
  border-left: 5px solid var(--lodge-amber);
  border-radius: 0 14px 14px 0;
  background: var(--lodge-frost);
  color: var(--lodge-cocoa);
}

/* ── Fire band (dark banner) ────────────────────────────── */

.fire-band {
  position: relative;
  width: 100vw;
  margin: 46px 0 0 calc(50% - 50vw);
  padding: 64px 24px;
  text-align: center;
  color: #f4ead9;
  background: var(--lodge-espresso);
  overflow: hidden;
}

.fire-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../gfx/frozen-lake-peaks.webp") center / cover no-repeat,
    linear-gradient(rgba(43, 30, 22, 0.82), rgba(43, 30, 22, 0.9));
  background-blend-mode: multiply;
  opacity: 0.55;
}

.fire-band > * { position: relative; z-index: 1; }

.fire-band__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.fire-band__copy { margin: 0 0 28px; color: rgba(244, 234, 217, 0.85); }

/* ── Accordion (FAQ) ────────────────────────────────────── */

.accordion {
  border: 1px solid var(--lodge-line);
  border-radius: 14px;
  background: var(--lodge-paper);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-title {
  position: relative;
  padding: 18px 56px 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.08rem;
  list-style: none;
}

.accordion-title::-webkit-details-marker { display: none; }

.accordion-title::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--lodge-amber);
  transition: transform 0.25s ease;
}

.accordion[open] .accordion-title::after { transform: translateY(-50%) rotate(45deg); }

.accordion-body {
  padding: 0 22px 18px;
  color: var(--lodge-cocoa);
}

/* ── Footer ─────────────────────────────────────────────── */

.page-foot {
  margin-top: 64px;
  padding: 46px 0 34px;
  background: var(--lodge-espresso);
  color: rgba(244, 234, 217, 0.8);
}

.page-foot__inner { display: flex; flex-direction: column; gap: 26px; }

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.foot-links a {
  color: #f4ead9;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.foot-note p { margin: 0 0 8px; font-size: 0.88rem; }

.foot-note a { color: var(--lodge-gold); }

.foot-legal {
  padding-top: 20px;
  border-top: 1px solid rgba(244, 234, 217, 0.15);
  font-size: 0.88rem;
}

.foot-legal a { color: var(--lodge-gold); text-decoration: none; }

/* ── Sticky mobile bar ──────────────────────────────────── */

.sticky-play {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(43, 30, 22, 0.96);
  border-top: 1px solid rgba(244, 234, 217, 0.15);
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-play .jump-cta { width: 100%; max-width: 420px; justify-content: center; }

.sticky-play.is-stowed {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 761px) {
  .sticky-play { display: none; }
}

/* ── Keyframes ──────────────────────────────────────────── */

@keyframes firelight {
  0%, 100% { box-shadow: 0 10px 24px rgba(217, 126, 43, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(217, 126, 43, 0.65), 0 0 0 6px rgba(233, 162, 59, 0.12); }
}

@keyframes line-sweep {
  0% { left: -70%; }
  55%, 100% { left: 130%; }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 960px) {
  .stage { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 40px; }
  .stage-art img { transform: none; }
  .tally { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .reasons { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 760px) {
  .page-nav { display: none; }
  .brand-mark img { width: 170px; }
  .sitestrip__inner { gap: 16px; }
  .jump-cta { padding: 12px 24px; font-size: 0.88rem; }
  .tally { grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .fire-band { padding: 48px 22px; }
  .band { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-sweep::after, .jump-cta--big { animation: none; }
  html { scroll-behavior: auto; }
}
