:root {
  color-scheme: light;
  --paper: #f3dfbb;
  --ink: #2b1b12;
  --red: #8b301e;
  --cream: #fff4da;
  --rule: #ad8966;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #8b301e; outline-offset: 4px; }
.pilot-bar { background: var(--ink); color: var(--cream); font-size: .86rem; }
.pilot-bar p { width: min(72rem, calc(100% - 3rem)); margin: 0 auto; padding: .5rem 0; display: flex; gap: .7rem; align-items: baseline; }
.pilot-bar strong { font-family: ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff5df; padding: .08rem .4rem; border-radius: 2px; flex-shrink: 0; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead, nav { display: flex; align-items: center; gap: clamp(.65rem, 3vw, 2rem); }
.masthead { min-height: 4.7rem; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.masthead a { text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.brand, .byline, .episode-top, .role { font-family: ui-monospace, monospace; }
.brand { font-size: clamp(.9rem, 2vw, 1.1rem); letter-spacing: .05em; text-transform: uppercase; font-weight: 800; }
.brand span { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; background: var(--red); margin-right: .3rem; }

.hero { display: grid; grid-template-columns: 1.07fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(2.4rem, 7vw, 5.6rem); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: .94; letter-spacing: -.075em; }
h1 { font-size: clamp(3.9rem, 10vw, 8.9rem); font-weight: 900; }
h1 em { color: var(--red); font-style: normal; }
.byline { margin-bottom: .9rem; color: var(--red); font-weight: 700; font-size: clamp(.85rem, 1.8vw, 1rem); }
.lead { max-width: 37ch; margin-top: 1rem; font-size: clamp(1rem, 2vw, 1.16rem); }
.button { display: inline-flex; gap: .8rem; align-items: center; justify-content: center; padding: .75rem 1rem; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: #fff5df; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: #6d2416; }
.button:disabled { opacity: .75; cursor: wait; }
.hero .button { margin-top: 1.35rem; }

.art { background: #352116; padding: clamp(.6rem, 1.8vw, 1.15rem); border: 1px solid #23150f; box-shadow: .48rem .48rem #b78a60; border-radius: .55rem; }
.cover img { display: block; width: 100%; height: auto; border-radius: .24rem; }
.duck-note { margin-top: 1.3rem; }
.duck-note figcaption { margin-top: .45rem; font-size: .88rem; }
.duck { width: min(9rem, 100%); position: relative; aspect-ratio: 1.15; overflow: hidden; border-radius: .24rem; }
.duck img { position: absolute; width: 473%; max-width: none; height: auto; left: 0; top: 0; transform: translate(-.6%, -48%); }
.tape-reels { display: flex; width: 68%; align-items: center; margin: .9rem auto .15rem; gap: .4rem; }
.tape-reels i { width: 1.38rem; aspect-ratio: 1; border: 3px dotted #dfa771; outline: 1px solid #dfa771; border-radius: 50%; }
.tape-reels span { flex: 1; height: .35rem; background: #a24a2e; border-radius: 9px; }

.episode { border-block: 1px solid var(--rule); padding: clamp(1.45rem, 4vw, 3rem) 0; }
.episode-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--red); font-weight: 700; margin-bottom: .8rem; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.episode p, .story-intro p { margin-top: .85rem; max-width: 53ch; }
.stories { display: grid; grid-template-columns: 1fr 1.12fr; background: #e7b983; padding: clamp(1.25rem, 4.4vw, 3.2rem); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 6vw, 4rem); border: 1px solid #a97952; }
.stories form > label:first-child { display: block; font-weight: 800; }
.stories form p { font-size: .9rem; }
#story { display: block; width: 100%; min-height: 9rem; resize: vertical; color: var(--ink); background: var(--cream); border: 1px solid #785338; border-radius: 3px; margin: .55rem 0 .75rem; padding: .6rem .75rem; }
.consent { display: flex; align-items: start; gap: .55rem; margin-bottom: .9rem; }
.consent input { accent-color: var(--red); width: 1.12rem; height: 1.12rem; margin: .22rem 0 0; flex-shrink: 0; }
.privacy, .feedback:not(:empty) { margin-top: .6rem; }
.feedback { font-weight: 750; }

.people { padding: clamp(2.5rem, 6vw, 4.8rem) 0; }
.people h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.4rem; }
.profiles article { border-top: 1px solid var(--rule); padding-top: .7rem; }
.role { color: var(--red); font-size: .8rem; font-weight: 700; }
footer { border-top: 1px solid var(--rule); padding-block: 1.2rem; font-size: .9rem; }

@media (max-width: 690px) {
  .wrap, .pilot-bar p { width: calc(100% - 2rem); }
  .hero, .stories, .profiles { grid-template-columns: 1fr; }
  .hero { gap: 1.8rem; }
  .art { max-width: 29rem; }
  .duck { width: 6.75rem; }
  .masthead { min-height: 3.8rem; font-size: .84rem; }
  .masthead nav { gap: .65rem; }
  .brand span { margin-right: .08rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
