:root {
  color-scheme: light;
  --cobalt: #133fa8;
  --navy: #0a2a55;
  --paper: #f5ebd6;
  --beige: #e7dcc4;
  --pink: #f3a7b3;
  --coral: #e9573f;
  --muted: #3b506e;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  background: var(--cobalt);
  color: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(#f5ebd625 .6px, transparent .9px) 0 0 / 5px 5px,
    linear-gradient(146deg, #194bc1, var(--cobalt) 49%, #123587);
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: default; }
:focus-visible { outline: 3px solid #875221; outline-offset: 4px; }
.masthead :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--pink); }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 64px, 1140px); margin-inline: auto; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.masthead { min-height: 76px; border-bottom: 1px solid #f5ebd67a; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.nav { font: 700 12px var(--mono); padding: 9px 12px; border: 1px solid #f5ebd67a; border-radius: 4px; }
.nav:hover, .footer a:hover { color: var(--pink); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 30px; padding: 53px 0 54px; }
.eyebrow, .label, .sheet-top, .sheet-foot { font: 800 11px/1.45 var(--mono); letter-spacing: .09em; }
.tag { display: inline-block; padding: 7px 10px; background: var(--pink); color: var(--navy); transform: rotate(-1.5deg); }
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 8.9vw, 120px);
  line-height: .88;
  font-weight: 700;
  letter-spacing: -.081em;
  margin: 18px 0 22px -.045em;
}
.hero em { color: var(--pink); }
.lede { max-width: 365px; font-size: 17px; line-height: 1.52; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
}
.primary { background: var(--coral); color: #091f42; box-shadow: 3px 3px 0 var(--navy); }
.primary:hover:not(:disabled) { background: #ff8069; }
.primary:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.hero-cta { margin-top: 20px; }
.secondary { background: #fff6e7; }
.secondary:hover:not(:disabled) { background: #fff; }
.collage { position: relative; min-height: 304px; isolation: isolate; display: grid; align-items: center; justify-items: center; }
.halftone {
  position: absolute;
  inset: 12% 0 6% 11%;
  z-index: -1;
  transform: rotate(8deg);
  background: radial-gradient(#9a407c 1px, transparent 1.6px) 0 0 / 6px 6px, var(--pink);
  clip-path: polygon(0 4%, 14% 1%, 22% 4%, 34% 0, 47% 3%, 62% 0, 74% 3%, 89% 0, 99% 4%, 98% 34%, 100% 61%, 98% 98%, 85% 96%, 72% 100%, 59% 97%, 41% 100%, 24% 96%, 12% 99%, 0 97%, 2% 78%, 0 53%, 2% 27%);
}
.archive-sheet {
  width: 88%;
  padding: 14px 16px;
  background: var(--beige);
  color: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 8px 8px 0 #0a2a5580;
  transform: rotate(-7deg);
}
.sheet-top, .sheet-foot { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: clamp(7px, 1vw, 10px); }
.sheet-center { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 11px; margin-block: 9px; padding-block: 11px; border-block: 1px solid var(--navy); }
.sheet-center svg { display: block; width: 100%; }
.sheet-center strong { font-family: Georgia, serif; font-size: clamp(19px, 3.4vw, 47px); line-height: .88; letter-spacing: -.075em; }
.stamp {
  position: absolute;
  right: 0;
  bottom: 11%;
  display: grid;
  place-content: center;
  width: 81px;
  height: 81px;
  transform: rotate(11deg);
  text-align: center;
  border: 3px double var(--navy);
  border-radius: 50%;
  background: var(--coral);
  color: #091f42;
  font: 900 13px/1 var(--mono);
}
.workspace { padding: clamp(18px, 3vw, 33px); background: var(--beige); color: var(--navy); border: 1px solid var(--navy); box-shadow: 6px 7px 0 var(--navy); scroll-margin-top: 18px; }
.section-head { display: flex; justify-content: space-between; gap: 10px 22px; align-items: end; border-bottom: 1px solid #0a2a5560; padding-bottom: 15px; margin-bottom: 18px; }
.section-head h2 { font: 700 clamp(32px, 4.8vw, 51px)/1 Georgia, serif; letter-spacing: -.065em; margin-top: 4px; }
.section-head > p { font-size: 14px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel { padding: clamp(16px, 2.6vw, 28px); background: var(--paper); color: var(--navy); border: 1px solid #0a2a5560; border-top: 5px solid var(--cobalt); }
.verify-panel { border-top-color: #bd4877; }
.step { display: inline-block; background: #d6e1f7; padding: 4px 7px; }
.verify-panel .step { background: var(--pink); }
.panel h3 { font: 700 clamp(27px, 3.5vw, 42px)/1 Georgia, serif; letter-spacing: -.064em; margin-top: 10px; }
.panel-intro, .note, .feedback { font-size: 14px; color: var(--muted); line-height: 1.48; }
.panel-intro { margin: 8px 0 19px; min-height: 42px; }
.label { display: block; margin-bottom: 6px; }
.file-row { margin-bottom: 14px; }
.file-control { min-width: 0; display: flex; gap: 8px; align-items: center; }
.file-control button { flex-shrink: 0; }
.file-control span { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.inline-button, .text-link { color: var(--cobalt); font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.inline-button { background: none; padding: 9px 0 3px; border: 0; }
select, input:not([type=file]) { width: 100%; min-height: 44px; color: var(--navy); background: #fff6e7; border: 1px solid #0a2a5590; border-radius: 4px; padding: 9px 12px; }
select { appearance: none; cursor: pointer; }
.note { font-size: 12px; margin: 8px 0 11px; }
.feedback:not(:empty) { margin-top: 13px; font-weight: 650; overflow-wrap: anywhere; }
.receipt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.receipt-actions:not(:empty) > :not([hidden]), #registrant:not([hidden]) { margin-top: 10px; display: inline-flex; }
.privacy { border-top: 1px solid #0a2a5560; margin-top: 18px; padding-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.privacy strong { color: var(--navy); margin-right: 7px; }
.footer { margin-top: 32px; padding: 17px 0 25px; border-top: 1px solid #f5ebd67a; flex-wrap: wrap; }
.footer nav { display: flex; gap: 14px; flex-wrap: wrap; font: 700 12px var(--mono); }
.admin { max-width: 650px; padding-block: 30px; }
.admin .panel { margin-top: 20px; box-shadow: 6px 7px 0 var(--navy); }
.admin h1 { font: 700 clamp(34px, 6vw, 59px)/.95 Georgia, serif; letter-spacing: -.06em; margin: 9px 0; }
.admin label { display: block; margin: 16px 0 7px; font-weight: 800; }
.admin p:not(.eyebrow) { line-height: 1.5; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 11px 0 17px; }
.admin-actions button:not(.primary) { min-height: 40px; border: 1px solid var(--navy); border-radius: 4px; background: #fff6e7; color: var(--navy); padding: 7px 11px; font-weight: 750; }
#status { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 63px; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding: 35px 0 22px; }
  .hero h1 { font-size: clamp(55px, 12vw, 86px); }
  .collage { width: min(100%, 440px); min-height: 205px; margin-inline: auto; }
  .halftone { inset: 11% 3% 9% 10%; }
  .stamp { right: 4%; bottom: 10%; width: 62px; height: 62px; font-size: 11px; }
  .section-head { display: grid; }
  .cards { grid-template-columns: 1fr; }
  .panel-intro { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
