/* Beehaven: one page, no dependencies. */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #1c1408;
  --ink-2: #2a1d0c;
  --ink-3: #3a2a14;
  --cream: #fff6dc;
  --dim: #d9c8a2;
  --gold: #ffcc38;
  --gold-deep: #e9a916;
  --leaf: #6fae3c;
  --line: rgba(255, 204, 56, 0.28);
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-weight: 620; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; color: var(--gold); }
p { margin: 0 0 1.1em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(900px, 100% - 40px); }
.center { text-align: center; }
.eyebrow { color: var(--gold); font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 0.9em; }
.intro { color: var(--dim); font-size: 1.15rem; max-width: 760px; margin-inline: auto; margin-bottom: 2.4em; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(28, 20, 8, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 640; font-size: 1.3rem; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); }
.nav nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 0.98rem; opacity: 0.88; }
.nav nav a:hover { color: var(--gold); opacity: 1; }
.nav nav a.pill { border: 2px solid var(--gold); color: var(--gold); padding: 5px 16px; border-radius: 999px; opacity: 1; }
.nav nav a.pill:hover { background: var(--gold); color: var(--ink); }
.nav-toggle { display: none; font: inherit; font-weight: 560; color: var(--gold); background: transparent; border: 2px solid var(--gold); border-radius: 999px; padding: 6px 18px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 14, 5, 0.86) 0%, rgba(20, 14, 5, 0.55) 38%, rgba(20, 14, 5, 0) 68%),
  linear-gradient(0deg, rgba(28, 20, 8, 1) 0%, rgba(28, 20, 8, 0) 34%); }
.hero-text { position: relative; width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 150px 0 clamp(56px, 9vh, 110px); }
.hero-text h1 { text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45); }
.lede { max-width: 560px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #fff3d2; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8em 0 1.2em; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 14px; border: 2px solid var(--gold); color: var(--gold); background: rgba(24, 24, 27, 0.72); text-decoration: none; font-weight: 560; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-2px); background: rgba(40, 38, 34, 0.9); }
.btn.solid { background: var(--gold); color: var(--ink); }
.btn.solid:hover { background: #ffd95e; }
.platforms { color: var(--dim); font-size: 0.98rem; margin: 0; }

/* ---------- facts strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.strip div { background: var(--ink-2); padding: 26px 20px; text-align: center; }
.strip strong { display: block; color: var(--gold); font-size: 1.35rem; font-weight: 620; }
.strip span { color: var(--dim); font-size: 0.95rem; }

/* ---------- sections ---------- */
.block { padding: clamp(64px, 10vw, 120px) 0; }
.block.alt { background: var(--ink-2); border-block: 1px solid rgba(255, 204, 56, 0.12); }
.two { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two.flip { grid-template-columns: 1.08fr 1fr; }
.two.top { align-items: start; margin-top: clamp(28px, 5vw, 56px); grid-template-columns: 1fr 1fr; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(32px, 5vw, 60px); }
.stack { display: grid; gap: 22px; }
.copy p { color: #f3e6c4; }
.ticks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--cream); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 20px; background: var(--gold); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- pictures ---------- */
figure { margin: 0; }
.zoom { display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; cursor: zoom-in; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.zoom img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zoom:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
figcaption { color: var(--dim); font-size: 0.95rem; margin-top: 12px; }

.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.seasons figcaption strong { display: block; color: var(--gold); font-size: 1.15rem; font-weight: 620; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.cards article { background: var(--ink-2); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 26px 12px; }
.block.alt .cards article { background: var(--ink); }
.cards article p { color: var(--dim); font-size: 1rem; }

/* ---------- facts list ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 44px; margin: 2em 0 0; }
.facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--gold); font-weight: 600; font-size: 1.12rem; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--dim); font-size: 1rem; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; background: #150f06; }
.foot { display: grid; gap: 8px; justify-items: center; text-align: center; }
.foot p { margin: 0; color: var(--dim); font-size: 0.95rem; }
.foot .small { font-size: 0.85rem; opacity: 0.75; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 7, 3, 0.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 56px clamp(8px, 2vw, 28px) 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: calc(100svh - 150px); width: auto; max-width: 100%; border-radius: 12px; border: 2px solid var(--gold); }
.lightbox figcaption { color: var(--cream); text-align: center; max-width: 760px; margin: 0; }
.lightbox button { font: inherit; color: var(--gold); background: rgba(24, 24, 27, 0.85); border: 2px solid var(--gold); border-radius: 12px; cursor: pointer; }
.lb-close { position: absolute; top: 12px; right: 16px; padding: 7px 18px; font-weight: 560; }
.lb-prev, .lb-next { width: 52px; height: 64px; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: var(--gold); color: var(--ink); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .zoom, .btn { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .two, .two.flip, .two.top { grid-template-columns: 1fr; }
  .two.flip .copy { order: -1; }
  .seasons { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .hero-shade { background:
    linear-gradient(0deg, rgba(28, 20, 8, 1) 0%, rgba(20, 14, 5, 0.78) 45%, rgba(20, 14, 5, 0.15) 100%); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: inline-block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(28, 20, 8, 0.97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 204, 56, 0.12); font-size: 1.05rem; }
  .nav nav a.pill { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--gold); }
  .cards, .facts { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; padding-top: 64px; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lightbox img { max-height: calc(100svh - 230px); }
}
@media (max-width: 480px) {
  .seasons, .grid { grid-template-columns: 1fr; }
}
