/* Shared palette, type, navigation and form. Each story has its own stylesheet. */
:root {
  --red: #BA3B2B; --cream: #F6F2EA; --ink: #1B1916; --peach: #E7AB90;
  --muted: #F0D1C6; --line: #F6F2EA40; --ease: cubic-bezier(.22,1,.36,1);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--cream); font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(calc(100% - 64px), 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; background: var(--cream); color: var(--red); z-index: 100; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.masthead { position: absolute; inset: 0 0 auto; z-index: 20; height: 92px; padding: 25px 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--cream); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 500; line-height: 1; letter-spacing: -.018em; text-decoration: none; }
.masthead nav { display: flex; align-items: center; gap: 26px; }
.masthead nav a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; opacity: .8; }
.masthead nav a:hover { opacity: 1; }
.edition { font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.header-join { background: transparent; color: inherit; border: 1px solid #F6F2EA65; border-radius: 999px; padding: 11px 18px; min-height: 44px; display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; }
.header-join:hover { background: #F6F2EA18; }
.story-section { position: relative; padding: 105px 32px 110px; scroll-margin-top: 20px; }
.ideas-section.story-section { padding: 0; }
.story-copy { width: min(100%, 980px); margin: 0 auto; text-align: center; }
.section-eyebrow { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 24px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(42px, 6.8vw, 98px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(43px, 5.7vw, 82px); line-height: 1.04; font-weight: 550; letter-spacing: -.025em; text-wrap: balance; }
.section-description { margin: 25px auto 0; max-width: 650px; font-size: 19px; line-height: 1.55; letter-spacing: -.02em; }
.join-button { width: min(100%, 270px); border: 0; border-radius: 6px; min-height: 55px; display: flex; justify-content: center; align-items: center; gap: 28px; background: var(--cream); color: var(--red); font-size: 15px; font-weight: 600; padding: 15px 22px; transition: transform .2s var(--ease), background .2s; }
.join-button svg { width: 19px; height: 19px; }
.join-button:hover { transform: translateY(-2px); background: #FFF9F0; }
.join-button:active { transform: none; }
.footer { padding: 12px 0 20px; background: var(--red); color: #F6F2EAA6; width: 100%; display: flex; align-items: center; justify-content: space-between; padding-inline: 40px; font-size: 11px; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 3px; }
.noscript-copy { padding: 80px 0; text-align: center; }
.noscript-copy p { font-size: 20px; line-height: 1.6; }
dialog { color: var(--cream); background: var(--red); border: 1px solid var(--line); border-radius: 4px; padding: 44px; width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; box-shadow: 0 25px 100px #240e0b55; }
dialog::backdrop { background: rgba(44, 12, 8, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.close { position: absolute; right: 15px; top: 15px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--cream); display: grid; place-items: center; font-size: 28px; font-weight: 300; }
.dialog-mark { display: block; margin-bottom: 24px; font-size: 22px; font-weight: 500; line-height: 1; letter-spacing: -.018em; }
dialog h2 { font-size: 42px; line-height: 1.04; letter-spacing: -.025em; font-weight: 550; margin: 0 0 12px; }
.form-intro { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0 0 27px; }
label { display: block; font-size: 14px; margin-bottom: 8px; }
input[type=email] { width: 100%; color: var(--cream); font-size: 17px; padding: 15px 13px; background: rgba(246, 242, 234, .05); border: 1px solid rgba(246, 242, 234, .5); border-radius: 3px; min-height: 54px; }
input::placeholder { color: #e8b6a9; }
input:focus { outline-color: var(--cream); }
.form-button { margin-top: 12px; }
.form-button:disabled { opacity: .65; cursor: wait; transform: none; }
.feedback { font-size: 14px; line-height: 1.4; min-height: 20px; margin: 12px 0 0; }
.consent { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.trap { display: none; }
.success[hidden], form[hidden] { display: none; }
.success p { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 20px 0 30px; }


@media (max-width: 700px) {
  .masthead { height: 76px; padding: 18px 20px; }
  .brand { font-size: 20px; }
  .masthead nav { gap: 14px; }
  .masthead nav a, .masthead .edition { display: none; }
  .header-join { font-size: 11px; padding: 10px 14px; gap: 10px; }
  .story-section { padding: 70px 20px 76px; }
  .section-eyebrow { margin-bottom: 20px; font-size: 10px; }
  .section-description { font-size: 17px; line-height: 1.5; margin-top: 22px; }
  .footer { padding-inline: 24px; }
  dialog { padding: 32px 24px; }
  dialog h2 { font-size: 36px; }
}
@media (max-width: 360px) {
  .masthead { padding-inline: 16px; }
  .story-section { padding-inline: 16px; }
  h1 { font-size: 39px; }
  h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
