:root {
  color-scheme: light;
  --paper: #fafafa;
  --ink: #2a2a2a;
  --accent: #5c5c5c;
  --muted: #646464;
  --rule: #dedede;
  --serif: "Baskervville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1,h2,p,figure,ol { margin: 0; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { width: min(1192px, calc(100% - clamp(40px, 11vw, 172px))); margin-inline: auto; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #f3f3f3; color: #242424; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.76) 39%, rgba(255,255,255,.08) 72%, transparent 100%); }
.hero-inner { position: relative; z-index: 1; min-height: clamp(390px,36vw,530px); padding-block: clamp(32px,4vw,70px); }
.eyebrow { font: 500 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 16px -.035em; font: 400 clamp(2.4rem,5.25vw,5.35rem)/1.02 var(--serif); letter-spacing: -.06em; text-shadow: 0 1px 3px #ffffff40; }
h1 em { font-weight: 400; }
.workspace { padding-block: 28px; }
.panels { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0,1fr); gap: 20px; }
.sheet { position: relative; border: 1px solid var(--rule); border-radius: 5px; padding: 25px clamp(20px,2.4vw,36px) 25px; }
.question-sheet { background: #ffffff; }
.card-label { margin-bottom: 12px; display: flex; gap: 9px; align-items: center; color: var(--accent); font-size: .75rem; }
.card-label .icon { width: 16px; height: 16px; }
.sheet h2 { font: 400 clamp(1.65rem,2.45vw,2.35rem)/1.12 var(--serif); letter-spacing: -.05em; overflow-wrap: anywhere; }
#answer-form { margin-top: 19px; }
textarea { display: block; width: 100%; border: 1px solid #c6c6c6; border-radius: 3px; background: #fcfcfc; color: var(--ink); padding: 12px 14px; font: 1rem/1.45 var(--sans); min-height: 66px; resize: vertical; }
textarea::placeholder { color: #6d6d6d; }
.primary { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; background: #ededed; color: var(--ink); border: 1px solid #8a8a8a; border-radius: 3px; font: 500 .91rem/1.4 var(--sans); cursor: pointer; text-decoration: none; }
.primary:hover { background: #e1e1e1; }
:focus-visible { outline: 2px solid #646464; outline-offset: 3px; }
h2[tabindex="-1"]:focus { outline: none; }
.validation { font-size: .9rem; color: #515151; }
.validation:not(:empty) { margin-top: 8px; }
#continue { margin-top: 14px; }
.gift-sheet { background: #f5f5f5; overflow: hidden; isolation: isolate; min-height: 236px; }
.gift-sheet::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#70707012 1px, transparent 1px), linear-gradient(90deg,#70707012 1px,transparent 1px); background-size: 19px 19px; mask-image: linear-gradient(135deg, transparent 25%, #000); }
.gift-sheet h2 { font-size: clamp(1.65rem, 2.15vw, 2.05rem); }
.gift-sheet p, .reveal-copy { margin-top: 10px; color: #565656; line-height: 1.52; }
.parcel { width: clamp(98px,10.5vw,160px); display: block; margin: -1px -11px -15px auto; transform: rotate(-5deg); }
.reveal-copy { max-width: 47ch; }
.gift-sheet.unlocked { padding-bottom: 26px; }
.gift-sheet.unlocked h2 { font-weight: 700; }
.delivery-status { font-weight: 600; color: #454545; margin-top: 18px; }
.tracker-note { font-size: .95rem; }
.tracking-action { margin-top: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .panels { gap: 16px; grid-template-columns: 1.45fr 1fr; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { min-height: clamp(335px,98vw,470px); padding-block: 24px; }
  .hero::after { background: linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.76) 35%,rgba(255,255,255,.04) 67%,transparent 100%); }
  h1 { margin-bottom: 10px; font-size: clamp(2.15rem,10vw,3.8rem); }
  .workspace { padding-top: 23px; }
  .panels { grid-template-columns: 1fr; gap: 14px; }
  .sheet { padding: 21px; }
  .gift-sheet { min-height: 165px; }
  .gift-sheet:not(.unlocked) { padding-right: 100px; }
  .parcel { position: absolute; bottom: 10px; right: 11px; width: 100px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.delivery-steps { list-style: none; padding: 0; margin-top: 12px; }
.delivery-steps li { position: relative; margin-left: 4px; padding: 1px 0 9px 18px; border-left: 1px solid #cccccc; color: #656565; font-size: .85rem; }
.delivery-steps li::before { content: ""; position: absolute; top: 6px; left: -4px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #878787; background: #f5f5f5; }
.delivery-steps li:last-child { padding-bottom: 0; border-color: transparent; }
.delivery-steps .reached::before { background: #5c5c5c; }
.delivery-steps [aria-current] { color: #383838; font-weight: 600; }
.quiz-controls { text-align: center; margin-top: 6px; }
.restart { min-height: 44px; padding: 6px 3px; border: 0; background: transparent; color: var(--muted); font: .78rem/1.35 var(--sans); cursor: pointer; }
.restart:hover, .restart:focus-visible { text-decoration: underline; }
