@font-face {
  font-family: Fraunces;
  src: url("./assets/fraunces.ttf") format("truetype");
  font-display: block;
  font-style: normal;
  font-weight: 600;
}
:root {
  color-scheme: light;
  --paper: #ddc9aa;
  --lighter-paper: #e8d7be;
  --ink: #352b22;
  --rust: #4e3a2b;
  --rule: #776a5180;
  --cream: #f9e2b9;
  --soft-cream: #eed3a2;
  --serif: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, a, nav, button, label, input, select, textarea {
  font-family: "Fraunces", serif;
  font-synthesis: none;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 600 1.12rem/1.6 "Fraunces", serif;
}
h1, h2, h3, p { margin: 0; font-weight: 600; }
h1, h2, h3 { line-height: 1.02; text-wrap: balance; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .6rem; left: .6rem; transform: translateY(-200%); padding: .5rem 1rem; background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header, footer { background: var(--paper); }
.site-header { border-bottom: 3px double var(--rule); }
.topbar { display: flex; align-items: center; gap: clamp(1rem, 4vw, 3.2rem); min-height: 85px; padding-block: .8rem; }
.brand { flex: 0 0 auto; display: block; width: clamp(159px, 23vw, 236px); }
.brand img { display: block; width: 100%; height: auto; }
.topbar .brand { margin-right: auto; }
nav, .footer { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a, .footer > a { color: var(--rust); text-decoration: none; }
nav a:hover, nav a:focus-visible, .footer > a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; padding: .3rem 0; color: var(--rust); font-weight: 600; line-height: 1.2; text-decoration: underline; text-decoration-color: #6e3b24a8; }
.button:hover { text-decoration-thickness: 2px; }
.hero .button, .video .button { color: var(--cream); text-decoration-color: #eac58ba6; }

.hero, .video { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; }
.hero { min-height: clamp(525px, 78svh, 810px); background: #33251b; color: var(--cream); }
.backdrop, .hero-motion, .hero-shade, .video::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.backdrop { z-index: -3; object-fit: cover; max-width: none; filter: saturate(.83) brightness(.87); }
.hero-image { object-position: 50% 55%; }
.hero-motion { z-index: -2; pointer-events: none; }
.hero-shade { z-index: -1; background: linear-gradient(0deg, #271910bc, transparent 27%), linear-gradient(90deg, #21160dd9, #2b1b1252 46%, #21160e00 78%); }
.hero-content { padding-block: 5.85rem 6.4rem; }
h1 { font: 600 clamp(3.8rem, 7.4vw, 7.5rem)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: initial; }
h1 em { color: #f0bd80; }
.hero p { max-width: 420px; margin: 1.12rem 0 .65rem; font-size: clamp(1.17rem, 2vw, 1.48rem); color: var(--soft-cream); }
.hero .button { font-size: 1.18rem; }
.motion-toggle { position: absolute; right: max(52px, calc((100vw - 1180px) / 2)); bottom: 1.3rem; min-height: 44px; padding: .4rem .1rem; border: 0; color: var(--cream); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: .24em; text-decoration-color: #eac58b94; }
.motion-toggle:hover { text-decoration-color: currentColor; }

.section-heading { padding-block: clamp(2.7rem, 5.3vw, 4.65rem) 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1.8rem; }
.section-heading h2, .about h2 { font-size: clamp(2.55rem, 5.6vw, 4.55rem); letter-spacing: -.015em; }
.section-heading p { color: var(--rust); font-size: 1.06rem; font-style: italic; }
.video { min-height: clamp(400px, 40vw, 595px); width: min(1360px, calc(100% - 52px)); margin: 0 auto clamp(.8rem, 2.7vw, 2.25rem); background: #34241b; color: var(--cream); border: 1px solid #493226; }
.video-bunkhouse { background: #29232a; }
.video-campfire { background: #32231e; }
.video .backdrop { object-position: 50% 57%; }
.video::after { content: ""; z-index: -1; background: linear-gradient(90deg, #24170eea, #24170e88 39%, #24170e06 76%), linear-gradient(0deg, #24170eb8, transparent 34%); pointer-events: none; }
.video-copy { padding-block: 4.5rem; }
.video h3 { max-width: 565px; font-size: clamp(3.1rem, 6vw, 5.8rem); letter-spacing: -.015em; text-wrap: initial; }
.video p { margin: .7rem 0 .54rem; font-size: clamp(1.16rem, 1.7vw, 1.38rem); color: var(--soft-cream); }

.about { width: min(1180px, calc(100% - 104px)); margin-inline: auto; border-top: 3px double var(--rule); padding-block: clamp(2.8rem, 7vw, 5.8rem); text-align: center; }
.about-inner { width: min(870px, 100%); display: grid; grid-template-columns: minmax(185px, 325px) 1fr; align-items: center; gap: clamp(1.2rem, 5vw, 4.3rem); text-align: left; }
.chloe-portrait { display: block; width: 100%; height: auto; mix-blend-mode: multiply; border-radius: 48%; mask-image: radial-gradient(ellipse closest-side, #000 89%, transparent 100%); filter: saturate(.82); }
.about h2 { color: var(--rust); font-style: italic; }
.about p { max-width: 460px; margin: .85rem 0 .6rem; font-size: 1.26rem; }
.footer { padding-block: 1.17rem 1.6rem; border-top: 3px double var(--rule); }
.footer .brand { margin-right: auto; width: clamp(146px, 19vw, 194px); }

.episode-dialog { padding: 0; border: 3px double #6e4733; background: var(--lighter-paper); color: var(--ink); width: min(640px, calc(100% - 2rem)); max-height: 90dvh; box-shadow: 0 15px 48px #25170ec0; }
.episode-dialog::backdrop { background: #21150ec4; }
.episode-dialog form { position: absolute; top: .52rem; right: .52rem; z-index: 1; }
.close { min-width: 44px; min-height: 44px; border: 1px solid #72543b; color: var(--ink); background: var(--lighter-paper); cursor: pointer; font: 1.6rem/1 var(--serif); }
.dialog-cover { display: block; width: 100%; aspect-ratio: 1.88; object-fit: cover; }
.dialog-copy { padding: 1.25rem 1.55rem 1.4rem; }
.episode-status { color: var(--rust); margin-bottom: .36rem; font-style: italic; }
.dialog-copy h2 { font-size: clamp(2.05rem, 6vw, 3.2rem); letter-spacing: -.015em; }
.episode-description { margin: .58rem 0 .45rem; }

@media (max-width: 840px) {
  .wrap, .about { width: calc(100% - 52px); }
  .motion-toggle { right: 26px; }
  .hero-image { object-position: 65% 53%; }
}
@media (max-width: 620px) {
  .wrap, .about { width: calc(100% - 36px); }
  .topbar { flex-wrap: wrap; gap: .1rem 1.1rem; align-items: center; min-height: auto; padding-block: .8rem .55rem; }
  .topbar nav { width: 100%; gap: 1.35rem; }
  .topbar nav a { display: inline-flex; min-height: 44px; align-items: center; }
  .hero { min-height: 610px; min-height: max(570px, 84svh); align-items: end; }
  .hero-image { object-position: 88% 50%; }
  .hero-shade { background: linear-gradient(0deg, #25180f, #25180fe8 14%, #25180f99 39%, transparent 68%), linear-gradient(180deg, #25180f2b, transparent 20%); }
  .hero-content { padding-block: 6rem 5.2rem; }
  h1 { font-size: clamp(3.12rem, 10.7vw, 5.4rem); }
  .hero p { margin-block: .8rem .38rem; }
  .motion-toggle { right: 18px; bottom: .8rem; }
  .section-heading { padding-top: 2rem; }
  .video { width: calc(100% - 24px); align-items: end; min-height: clamp(390px, 105vw, 545px); }
  .video .backdrop { object-position: 76% 50%; }
  .video-campfire .backdrop { object-position: 79% 50%; }
  .video::after { background: linear-gradient(0deg, #26180ff5, #26180fce 22%, #26180f55 48%, transparent 74%); }
  .video-copy { padding-block: 1.65rem 1.55rem; }
  .video h3 { font-size: clamp(2.75rem, 10vw, 4.25rem); }
  .about-inner { grid-template-columns: 1fr; gap: .3rem; text-align: center; }
  .chloe-portrait { width: min(70%, 228px); justify-self: center; }
  .about p { margin-inline: auto; }
  .footer { gap: .7rem 1rem; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
