:root {
  color-scheme: light;
  --ink: #292822;
  --muted: #706b62;
  --line: #d9d0c2;
  --paper: #f7f3e9;
  --paper-2: #eee7dc;
  --gold: #9a7b4e;
  --accent: #36342e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body[data-theme="women"] { --paper: #f7f3e9; --paper-2: #f1e5e1; --accent: #34322c; --gold: #9a7b4e; }
body[data-theme="men"] { --paper: #242622; --paper-2: #2d302b; --ink: #eee8db; --muted: #c1b8a9; --line: #555348; --accent: #d8bd82; --gold: #d8bd82; }
a { color: inherit; }
a:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid #bd965a; outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--paper); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header {
  min-height: 66px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.wordmark { text-decoration: none; font-size: .73rem; letter-spacing: .13em; font-weight: 650; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.header-tag, .header-link { color: var(--muted); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.header-link:hover { color: var(--gold); }
main { display: block; }
.eyebrow { margin: 0 0 18px; font-size: .67rem; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.hero {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(54px, 8vw, 104px) 0 clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, .75fr);
  align-items: center;
  gap: clamp(40px, 9vw, 130px);
}
.hero-copy { max-width: 570px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 { max-width: 600px; margin-bottom: 18px; font-size: clamp(3.05rem, 6.5vw, 5.45rem); }
h1 em, h2 em, .lead { color: var(--gold); font-style: italic; }
.lead { margin: 0 0 18px; font: italic 1.2rem/1.45 var(--serif); }
.hero-body { max-width: 480px; color: var(--muted); font-size: .96rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 20px;
  margin: 14px 0 13px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .68rem;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease;
}
body[data-theme="men"] .button { color: #242622; }
.button:hover { transform: translateY(-2px); }
.micro { margin: 3px 0 0; color: var(--muted); font-size: .72rem; }
.journal-figure { position: relative; width: min(100%, 390px); justify-self: center; margin: 0; padding: 10px; }
.journal-figure::before { content: ""; position: absolute; inset: 3% -7% -4% 9%; border: 1px solid color-mix(in srgb, var(--gold) 56%, transparent); border-radius: 48% 48% 2px 2px; transform: rotate(4deg); }
.journal-figure img { position: relative; display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; box-shadow: 0 18px 36px rgb(25 24 20 / 19%); }
.journal-figure figcaption { position: relative; margin-top: 17px; text-align: center; color: var(--muted); font-size: .6rem; letter-spacing: .17em; text-transform: uppercase; }
.edition-band { display: flex; justify-content: space-between; gap: 20px; padding: 15px max(24px, calc((100% - 1180px) / 2)); background: var(--paper-2); color: var(--muted); font-size: .61rem; letter-spacing: .15em; text-transform: uppercase; }
.story { width: min(810px, calc(100% - 48px)); margin: 0 auto; padding: clamp(68px, 9vw, 110px) 0; }
.story h2, .signup-copy h2, .message-panel h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 5vw, 4.1rem); }
.story-copy { max-width: 640px; color: var(--muted); }
.theme-list { list-style: none; padding: 0; margin: 34px 0 28px; border-top: 1px solid var(--line); }
.theme-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.theme-list li span:first-child { color: var(--gold); font-size: .7rem; letter-spacing: .12em; }
.small-disclosure { max-width: 700px; color: var(--muted); font-size: .78rem; }
.signup-section { padding: clamp(52px, 8vw, 88px) 24px; background: var(--paper-2); }
.signup-inner { width: min(920px, 100%); margin: 0 auto; }
.signup-copy { max-width: 660px; margin-bottom: 28px; }
.signup-copy p:not(.eyebrow) { color: var(--muted); }
.form-card { padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 35px rgb(30 28 24 / 7%); }
.form-card-title { margin-bottom: 14px; color: var(--muted); font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; }
.form-frame-wrap { position: relative; min-height: 500px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.form-frame-wrap iframe { display: block; width: 100%; height: 680px; max-width: 100%; border: 0; background: #fff; }
.submission-shield {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgb(247 243 233 / 74%);
  text-align: center;
  cursor: not-allowed;
}
body[data-theme="men"] .submission-shield { background: rgb(36 38 34 / 73%); }
.shield-card { width: min(360px, 100%); padding: 18px 20px; border: 1px solid var(--gold); background: var(--paper); color: var(--ink); box-shadow: 0 10px 28px rgb(0 0 0 / 12%); }
.shield-card strong { display: block; margin-bottom: 8px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.shield-card p { margin: 0; font-size: .86rem; }
.consent-note, .privacy-note { margin: 15px 0 0; color: var(--muted); font-size: .78rem; }
.privacy-note a { text-underline-offset: 3px; }
.preview-alert { margin: 20px 0; padding: 13px 16px; border-left: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--paper)); color: var(--ink); font-size: .8rem; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 25px max(24px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.message-main { width: min(920px, calc(100% - 48px)); min-height: 68vh; margin-inline: auto; padding: clamp(68px, 9vw, 118px) 0; }
.message-panel { max-width: 760px; padding: clamp(24px, 5vw, 50px); border: 1px solid var(--line); background: var(--paper-2); }
.message-panel > p:not(.eyebrow) { max-width: 640px; color: var(--muted); }
.message-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.secondary-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); text-decoration: none; font-size: .76rem; }
.secondary-link:hover { border-color: var(--gold); }
.file-list { list-style: none; margin: 26px 0; padding: 0; border-top: 1px solid var(--line); }
.file-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font: .83rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.index-main { width: min(980px, calc(100% - 48px)); min-height: 78vh; margin: 0 auto; padding: clamp(58px, 8vw, 100px) 0 64px; }
.index-main h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(3.1rem, 7vw, 5.7rem); }
.index-intro { max-width: 660px; color: var(--muted); }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.choice-card { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; text-decoration: none; border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease; }
.choice-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.choice-women { background: #f0e2df; color: #292822; }
.choice-men { background: #242622; color: #eee8db; }
.choice-number { margin-bottom: auto; color: var(--gold); font-size: .65rem; letter-spacing: .16em; }
.choice-title { padding-right: 30px; font: 2rem/1.1 var(--serif); }
.choice-copy { margin-top: 10px; color: inherit; opacity: .78; font: italic 1rem/1.35 var(--serif); }
.choice-arrow { position: absolute; right: 24px; bottom: 25px; font-size: 1.25rem; }
.index-footer { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .form-frame-wrap iframe { height: 540px; }
}
@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); min-height: 58px; }
  .header-tag, .header-link { font-size: .57rem; letter-spacing: .08em; }
  .hero { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 30px; padding: 50px 0 45px; }
  .hero h1 { max-width: 500px; font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-body { max-width: 540px; }
  .journal-figure { width: min(76%, 290px); }
  .edition-band { padding: 13px 18px; font-size: .52rem; letter-spacing: .09em; }
  .story { width: calc(100% - 40px); padding: 62px 0; }
  .signup-section { padding: 54px 18px; }
  .form-card { padding: 14px; }
  .form-frame-wrap { min-height: 680px; }
  .form-frame-wrap iframe { height: 720px; }
  .site-footer { flex-direction: column; padding: 22px 18px; }
  .footer-links { justify-content: flex-start; }
  .message-main { width: calc(100% - 36px); min-height: 72vh; padding: 54px 0; }
  .message-panel { padding: 23px 19px; }
  .choice-list { grid-template-columns: 1fr; }
  .choice-card { min-height: 185px; }
  .index-main { width: calc(100% - 36px); padding: 50px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
