@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #5A3418;
  --ink-soft: #7A5638;
  --cream: #FFF6E8;
  --paper: #FBE9D2;
  --sand: #F5D9AE;
  --orange: #E8884A;
  --orange-deep: #C9622A;
  --grass: #C2B427;
  --sky: #CFE7F2;
  --line: rgba(90, 52, 24, 0.14);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(90, 52, 24, 0.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--orange-deep); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 6px; }
h2.title { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; font-weight: 900; margin: 0 0 14px; letter-spacing: -0.5px; }
p.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); margin: 0 0 28px; max-width: 38em; }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.bar img { height: 44px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.bar nav { display: none; gap: 22px; font-weight: 800; font-size: 16px; }
.bar nav a { color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.bar .pill { padding: 9px 18px; font-size: 15px; }
.bar.solid { background: rgba(255, 246, 232, .96); box-shadow: 0 2px 16px rgba(90,52,24,.15); backdrop-filter: blur(6px); }
.bar.solid nav a { color: var(--ink); text-shadow: none; }
.bar.solid img { filter: none; }
@media (min-width: 860px) { .bar nav { display: flex; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 900; font-size: 17px; text-decoration: none; border: 3px solid var(--ink); transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--orange); color: #fff; border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn.primary:hover { background: var(--orange-deep); }
.btn.cream { background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }
.pill { border-radius: 999px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 880px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -2; background: #8fb7c9 center/cover no-repeat; animation: drift 28s ease-in-out infinite alternate; }
.hero video.bg { width: 100%; height: 100%; object-fit: cover; animation: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,22,8,.45) 0%, rgba(40,22,8,.12) 38%, rgba(40,22,8,.55) 100%); }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
.hero .inner { padding: 110px 16px 150px; max-width: 900px; }
.hero .logo { width: min(560px, 82vw); height: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,.35)); }
.hero h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; margin: 6px 0 10px; text-shadow: 0 3px 14px rgba(0,0,0,.45); line-height: 1.2; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); margin: 0 auto 26px; max-width: 36em; text-shadow: 0 2px 10px rgba(0,0,0,.5); font-weight: 700; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero small { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.scroll-cue { position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: 2px; text-decoration: none; opacity: .9; }
.scroll-cue::after { content: ""; display: block; width: 14px; height: 14px; margin: 6px auto 0; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

/* ---------- sections ---------- */
section.block { position: relative; padding: 72px 0; }
section.block.cream { background: var(--cream); }
section.block.sand { background: var(--sand); }
.wave { display: block; width: 100%; height: 60px; }

/* ---------- features slideshow ---------- */
.slides { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 18px; padding: 6px 2px 18px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.slide figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 4px solid var(--ink); box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--sand); }
.slide figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .num { font-size: 15px; font-weight: 900; color: var(--orange-deep); letter-spacing: 1px; }
.slide h3 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; line-height: 1.1; margin: 4px 0 10px; }
.slide p { margin: 0; color: var(--ink-soft); font-size: 18px; }
@media (min-width: 900px) { .slide { grid-template-columns: 7fr 4fr; gap: 34px; } }
.controls { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); font-size: 22px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; font-family: inherit; }
.arrow:hover { background: #fff; }
.dots { display: flex; gap: 8px; margin-left: 6px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--orange); }

/* ---------- characters ---------- */
.cast { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 900px) { .cast { grid-template-columns: 5fr 6fr; } }
.stage { position: relative; display: grid; place-items: center; }
.stage .disc { width: min(400px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFE3B3, var(--orange) 72%); border: 5px solid var(--ink); box-shadow: var(--shadow); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; margin: 0 auto; }
.stage .disc img { width: 96%; height: auto; display: block; margin: 0 auto -2px; transition: opacity .2s; }
.who .name { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; margin: 0; line-height: 1.05; }
.who .role { font-weight: 800; color: var(--orange-deep); margin: 6px 0 16px; }
.who blockquote { margin: 0 0 22px; padding: 18px 22px; background: var(--cream); border: 3px solid var(--ink); border-radius: 18px; font-size: 20px; font-weight: 700; position: relative; }
.who blockquote::before { content: ""; position: absolute; left: 36px; top: -14px; width: 22px; height: 22px; background: var(--cream); border-left: 3px solid var(--ink); border-top: 3px solid var(--ink); transform: rotate(45deg); }
.picker { display: flex; flex-wrap: wrap; gap: 10px; }
.picker button { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sand); padding: 0; overflow: hidden; cursor: pointer; transition: transform .12s; }
.picker button img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; transform: scale(1.15); transform-origin: center 30%; }
.picker button:hover { transform: translateY(-3px); }
.picker button[aria-pressed="true"] { background: var(--orange); box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--orange-deep); }

/* ---------- valley band ---------- */
.valley { position: relative; color: #fff; text-align: center; padding: 120px 0; background: #6d8f4a center/cover no-repeat; isolation: isolate; }
.valley::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,22,8,.35), rgba(40,22,8,.55)); }
.valley h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 900; margin: 0 0 12px; text-shadow: 0 3px 14px rgba(0,0,0,.4); }
.valley p { max-width: 36em; margin: 0 auto; font-size: 19px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.stat { background: rgba(255,246,232,.94); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; padding: 14px 8px; }
.stat b { display: block; font-size: clamp(22px, 4vw, 34px); font-weight: 900; line-height: 1.1; }
.stat span { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.stats[hidden] { display: none; }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 820px) { .news { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 0 var(--ink); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .12s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 16/9; object-fit: cover; display: block; border-bottom: 3px solid var(--ink); }
.card div { flex: 1 1 auto; }
.card div { padding: 16px 18px 20px; }
.card time { font-size: 13px; font-weight: 900; color: var(--orange-deep); letter-spacing: 1px; text-transform: uppercase; }
.card h3 { margin: 4px 0 6px; font-size: 21px; font-weight: 900; line-height: 1.2; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- join ---------- */
.join { text-align: center; }
.join .box { background: var(--cream); border: 4px solid var(--ink); border-radius: 28px; padding: 40px 22px; box-shadow: var(--shadow); position: relative; }
.join .box img.wren { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--ink); background: var(--orange); margin-top: -100px; object-fit: cover; object-position: center bottom; }
.join .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* ---------- press (subpage) ---------- */
.presshead { background: var(--sand); padding: 120px 0 56px; position: relative; }
.presshead .wrap { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 900px) { .presshead .wrap { grid-template-columns: 7fr 5fr; } }
.presshead .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.presshead .logo-card { background: var(--cream); border: 4px solid var(--ink); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); text-align: center; }
.presshead .logo-card img { width: 100%; max-width: 380px; height: auto; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 5fr 7fr; } }
.panel { background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 5px 0 var(--ink); }
.panel h3 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.panel p { margin: 0 0 12px; color: var(--ink-soft); }
.panel p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0; }
@media (min-width: 520px) { .facts { grid-template-columns: 120px 1fr; } }
.facts dt { font-weight: 900; padding-top: 8px; }
.facts dd { margin: 0; color: var(--ink-soft); padding: 8px 0; border-bottom: 2px dashed var(--line); }
@media (min-width: 520px) { .facts dt { border-bottom: 2px dashed var(--line); padding-bottom: 8px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); box-shadow: inset 0 0 0 4px var(--cream); }
.ticks b { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .12s; }
.gallery a:hover { transform: translateY(-3px); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.gallery span { position: absolute; right: 10px; bottom: 10px; background: var(--cream); color: var(--ink); font-weight: 900; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.castrow { display: flex; flex-wrap: wrap; gap: 16px 18px; justify-content: center; }
.castrow figure { margin: 0; width: 96px; text-align: center; }
.castrow img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 50% 40%, #FFE3B3, var(--orange) 75%); object-fit: cover; object-position: center bottom; display: block; }
.castrow figcaption { font-size: 13px; font-weight: 800; margin-top: 6px; line-height: 1.25; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--sand); padding: 40px 0 46px; font-size: 15px; }
footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
footer img { height: 48px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 800; }
footer nav a { color: var(--cream); text-decoration: none; }
footer nav a:hover { color: var(--orange); }
footer p { margin: 4px 0; opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  .hero .bg { animation: none; }
  .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 520px) {
  .bar .wrap { height: 60px; }
  .bar img { height: 38px; }
  .bar .pill { padding: 8px 14px; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
  .btn { padding: 13px 20px; font-size: 16px; }
}
