@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #201b17;
  --paper: #f4ecdc;
  --paper-deep: #e7dbc5;
  --orange: #e85d32;
  --orange-dark: #b83e22;
  --green: #123f38;
  --green-light: #1f5c50;
  --yellow: #f0bd45;
  --line: rgba(32, 27, 23, 0.18);
  --shadow: 0 24px 70px rgba(35, 24, 15, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(232, 93, 50, 0.08), transparent 24rem),
    var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.info-page .site-header > a:last-child { color: var(--orange-dark); font-size: .82rem; font-weight: 700; }
.info-main { width: min(850px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0; }
.info-main > h1 { margin-bottom: 1.5rem; font-size: clamp(3.2rem, 8vw, 6.5rem); }
.info-lead { max-width: 720px; margin-bottom: 4rem; font-size: 1.15rem; }
.info-main section { margin-top: 1rem; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 4vw, 2.2rem); background: rgba(255,255,255,.22); }
.info-main section h2 { margin-bottom: .8rem; font: 600 2rem "Fraunces", serif; }
.info-main section a { color: var(--orange-dark); font-weight: 700; }
.info-main section li + li { margin-top: .55rem; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: 74px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 236, 220, 0.84);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 5;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--paper); background: var(--orange); border-radius: 50% 42% 48% 44%;
  font-family: "DM Mono", monospace; font-size: 0.8rem; transform: rotate(-5deg);
}
.site-header nav { display: flex; gap: 1.6rem; }
.site-header nav a { text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.site-header nav a:hover { color: var(--orange-dark); }
.sound-toggle {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 0.8rem;
  background: transparent; cursor: pointer; display: flex; gap: 0.45rem; align-items: center;
}

.hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 720px;
  padding: 6rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange-dark);
  font: 500 0.75rem/1.4 "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1, h2 { font-family: "Fraunces", serif; }
h1 { margin-bottom: 1.5rem; max-width: 770px; font-size: clamp(3.3rem, 7vw, 6.7rem); letter-spacing: -0.055em; }
h1 em { color: var(--orange); font-weight: 600; }
.hero-lead { max-width: 620px; margin: 0 0 2rem; font-size: 1.1rem; }

.primary-cta, .secondary-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  border: 0; border-radius: 999px; padding: 0.95rem 1.35rem;
  color: #fff9ec; background: var(--green); text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px rgba(18, 63, 56, 0.2); cursor: pointer;
}
.primary-cta:hover { background: var(--green-light); transform: translateY(-2px); }

.time-window {
  width: min(470px, 100%); aspect-ratio: 1; justify-self: center;
  display: grid; place-items: center; position: relative; border-radius: 50%;
  color: var(--paper); background: var(--green); box-shadow: var(--shadow);
  overflow: hidden; isolation: isolate;
}
.time-window::before {
  content: ""; position: absolute; width: 63%; height: 63%; border-radius: 50%;
  border: 1px dashed rgba(244,236,220,.38); animation: spin 28s linear infinite;
}
.time-window::after {
  content: ""; position: absolute; inset: 11%; border: 1px solid rgba(244,236,220,.18); border-radius: 44% 56% 48% 52%;
}
.orbit { position: absolute; border-radius: 50%; border: 2px solid var(--orange); opacity: 0.72; }
.orbit-one { width: 76%; height: 28%; transform: rotate(28deg); }
.orbit-two { width: 28%; height: 76%; transform: rotate(28deg); }
.year-stack { z-index: 2; display: grid; place-items: center; font-family: "DM Mono", monospace; }
.year-stack span { opacity: 0.42; font-size: 1rem; }
.year-stack strong { color: var(--yellow); font-size: clamp(3.5rem, 9vw, 6rem); line-height: 1.2; }
.dial { position: absolute; inset: 5%; }
.dial span { position: absolute; left: 50%; top: 0; width: 2px; height: 12px; background: var(--paper); transform-origin: 0 190px; }
.dial span:nth-child(2) { transform: rotate(60deg); }.dial span:nth-child(3) { transform: rotate(120deg); }
.dial span:nth-child(4) { transform: rotate(180deg); }.dial span:nth-child(5) { transform: rotate(240deg); }
.dial span:nth-child(6) { transform: rotate(300deg); }
.time-window > p { position: absolute; bottom: 8%; margin: 0; font: 0.65rem "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }

.time-machine {
  padding: 7rem max(1.25rem, calc((100vw - 1050px) / 2));
  color: var(--paper); background: var(--green); text-align: center; position: relative; overflow: hidden;
}
.time-machine::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 99px, rgba(255,255,255,.035) 100px); }
.section-heading { position: relative; max-width: 650px; margin: 0 auto 3.5rem; }
.section-heading h2, .year-intro h2, .gift-copy h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.section-heading p:last-child { opacity: .7; }
.time-machine .eyebrow { color: var(--yellow); }

.year-picker { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 4vw, 3rem); position: relative; }
.year-step { width: 54px; height: 54px; border: 1px solid rgba(244,236,220,.32); border-radius: 50%; background: transparent; color: var(--paper); font-size: 1.7rem; cursor: pointer; }
.year-step:hover { color: var(--green); background: var(--yellow); border-color: var(--yellow); }
.selected-year { display: grid; gap: .25rem; }
.selected-year span { font: .7rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; opacity: .6; }
.selected-year output { min-width: 4.3ch; color: var(--yellow); font: 600 clamp(4.5rem, 12vw, 8rem)/1 "Fraunces", serif; }
.range-wrap { max-width: 770px; margin: 2.5rem auto 3rem; position: relative; }
input[type="range"] { width: 100%; accent-color: var(--orange); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; margin-top: .65rem; color: rgba(244,236,220,.5); font: .65rem "DM Mono", monospace; }
.travel-button {
  position: relative; border: 0; border-radius: 999px; padding: 1rem 1.4rem;
  color: var(--ink); background: var(--yellow); font-weight: 700; cursor: pointer;
}
.travel-light { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; margin-right: .5rem; box-shadow: 0 0 0 6px rgba(232,93,50,.15); }
.travel-button.is-travelling .travel-light { animation: pulse .5s ease-in-out infinite; }
.travel-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .75rem; position: relative; }
.random-year-button { border: 1px solid rgba(244,236,220,.35); border-radius: 999px; padding: .95rem 1.2rem; color: var(--paper); background: transparent; font-weight: 700; cursor: pointer; }
.random-year-button:hover { color: var(--green); background: var(--paper); }

.year-experience { padding: 7rem max(1rem, calc((100vw - 1180px) / 2)); }
.year-intro { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 4rem; margin-bottom: 3rem; }
.year-intro h2 { margin-bottom: 0; }
.year-intro > p { max-width: 560px; font-size: 1.05rem; }
.visual-story { margin-bottom: 3rem; }
.visual-story-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 3rem; margin-bottom: 1.25rem; }
.visual-story-heading h3 { margin: 0; font: 600 clamp(2.3rem, 4vw, 3.6rem)/1 "Fraunces", serif; letter-spacing: -.035em; }
.visual-story-heading > p { max-width: 560px; margin-bottom: 0; color: rgba(32,27,23,.68); font-size: .85rem; }
.visual-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 1rem; }
.visual-card { min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-deep); overflow: hidden; }
.visual-card-media { position: relative; min-height: 260px; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.visual-card:first-child .visual-card-media { min-height: 340px; }
.visual-card-media::before, .visual-card-media::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.visual-card-media::before { width: 210px; height: 210px; border: 24px solid currentColor; opacity: .22; transform: translate(35%, -20%); }
.visual-card-media::after { width: 130px; height: 130px; background: currentColor; opacity: .13; transform: translate(-70%, 70%); }
.visual-card-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.visual-symbol { color: rgba(255,255,255,.92); font: 700 clamp(3rem, 7vw, 6rem)/1 "Fraunces", serif; text-shadow: 0 8px 28px rgba(0,0,0,.16); }
.visual-object-icon { position: absolute; top: 1rem; left: 1rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 1.2rem; }
.visual-card-copy { padding: 1.25rem; }
.visual-card-copy h4 { margin: .45rem 0 .8rem; font: 600 1.35rem/1.1 "Fraunces", serif; }
.visual-card-copy .card-label { margin: 0; }
.visual-credit { min-height: 1.2em; margin: 0; color: rgba(32,27,23,.55); font-size: .65rem; }
.visual-credit a { color: var(--orange-dark); }
.visual-grid.fifties .visual-card-media { color: #7a2f2a; background: linear-gradient(145deg,#c9b48f,#6c7a67); filter: sepia(.2); }
.visual-grid.sixties .visual-card-media { color: #f0ce5b; background: linear-gradient(145deg,#27666b,#de7341); }
.visual-grid.seventies .visual-card-media { color: #f1b54a; background: linear-gradient(145deg,#8b4129,#cf8b38); }
.visual-grid.eighties .visual-card-media { color: #ff6d91; background: linear-gradient(145deg,#172d5b,#6c3a83); }
.visual-grid.nineties .visual-card-media { color: #ffe04f; background: linear-gradient(145deg,#16756e,#d24f38); }
.visual-grid.millennium .visual-card-media { color: #9ee8ff; background: linear-gradient(145deg,#3b4f77,#8d96ab); }
.memory-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.memory-card { border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; min-height: 310px; background: rgba(255,255,255,.18); overflow: hidden; }
.memory-card h3 { font-family: "Fraunces", serif; font-size: 2rem; margin-bottom: 1rem; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--orange); font: 500 .9rem "DM Mono", monospace; margin-bottom: 3rem; }
.card-label { color: var(--orange-dark); text-transform: uppercase; letter-spacing: .12em; font: 500 .68rem "DM Mono", monospace; }
.music-card { grid-column: span 4; }.news-card { grid-column: span 4; }.price-card { grid-column: span 4; }
.culture-card { grid-column: span 12; min-height: 350px; display: grid; grid-template-columns: .8fr 1fr; gap: 3rem; align-items: center; background: var(--paper-deep); }
.text-button { border: 0; padding: 0; background: transparent; color: var(--orange-dark); font-size: .8rem; font-weight: 700; cursor: pointer; }
.text-button { display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; }
.text-button:hover { color: var(--orange); }
.content-list { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.content-list li { padding: .7rem 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; }
.content-list li:first-child { border-top: 0; padding-top: 0; }
.content-list li::before { content: "•"; color: var(--orange); margin-right: .55rem; }
.content-list.music-list li { display: flex; align-items: center; gap: .65rem; }
.content-list.music-list li::before { display: none; }
.music-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 650; }
.music-link::before { content: "▶"; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--paper); background: var(--orange); font-size: .58rem; }
.music-link:hover { color: var(--orange-dark); }
.card-hint { color: rgba(32,27,23,.62); font-size: .72rem; line-height: 1.5; }
.price-list { margin: 2.4rem 0 0; }
.price-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.price-list dt { font-size: .85rem; }.price-list dd { max-width: 58%; margin: 0; font: .72rem/1.45 "DM Mono", monospace; color: var(--orange-dark); text-align: right; }
.source-link { margin-top: 1.25rem; }
.tv-frame { position: relative; width: min(400px, 100%); aspect-ratio: 4/3; margin: auto; border: 18px solid var(--green); border-bottom-width: 38px; border-radius: 34px; background: radial-gradient(circle, #f0bd45, #c44b2c); box-shadow: 12px 18px 0 rgba(18,63,56,.14); display: grid; place-items: center; }
.tv-frame span { color: var(--paper); font: 600 6rem "Fraunces", serif; }
.tv-frame i { position: absolute; bottom: -29px; right: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }

.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.detail-card { border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; background: var(--paper-deep); }
.detail-card h3 { margin-bottom: .8rem; font-family: "Fraunces", serif; font-size: 1.65rem; }
.detail-card > p:last-child { margin-bottom: 0; }
.age-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; }
.age-form label { grid-column: 1 / -1; font: .68rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .09em; }
.age-form input { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; color: var(--ink); background: var(--paper); font: inherit; }
.age-form button { border: 0; border-radius: 12px; padding: .85rem 1rem; color: var(--paper); background: var(--green); font-weight: 700; cursor: pointer; }
.age-result { min-height: 1.5em; color: var(--orange-dark); font-weight: 700; }
.source-note { margin-top: 1rem; border: 1px dashed rgba(32, 27, 23, .25); border-radius: 18px; padding: 1rem 1.2rem; color: rgba(32, 27, 23, .72); background: rgba(255,255,255,.2); font-size: .78rem; line-height: 1.6; }
.source-note a { color: var(--orange-dark); font-weight: 700; }

.capsule-section { margin-top: 1rem; border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.3rem, 4vw, 2.4rem); background: rgba(255,255,255,.22); }
.capsule-heading { display: grid; grid-template-columns: 1fr minmax(240px, .7fr); gap: 2rem; align-items: end; margin-bottom: 1.4rem; }
.capsule-heading h3 { font: 600 clamp(2rem, 4vw, 3.3rem)/1 "Fraunces", serif; }
.capsule-heading > p { margin: 0; color: rgba(32,27,23,.65); font-size: .78rem; }
.capsule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.capsule-card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem; background: var(--paper); }
.capsule-card h4 { display: flex; gap: .55rem; align-items: center; margin-bottom: .8rem; font: 600 1.35rem "Fraunces", serif; }
.capsule-card ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.capsule-card li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; padding-top: .65rem; border-top: 1px solid var(--line); }
.capsule-card li:first-child { padding-top: 0; border-top: 0; }
.capsule-thumb { width: 48px; aspect-ratio: 3/4; border-radius: 8px; object-fit: cover; background: var(--paper-deep); }
.capsule-item-copy { min-width: 0; }
.capsule-item-copy a, .capsule-item-copy strong { display: block; color: var(--ink); font-size: .79rem; font-weight: 800; }
.capsule-item-copy a:hover { color: var(--orange-dark); }
.capsule-item-copy small { display: block; margin-top: .2rem; color: rgba(32,27,23,.62); font-size: .65rem; line-height: 1.45; }

.quiz-section { margin: 0 auto 5rem; width: min(1180px, calc(100% - 2rem)); border-radius: 30px; padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; color: var(--ink); background: var(--yellow); overflow: hidden; }
.quiz-intro h2 { margin-bottom: 1rem; font: 600 clamp(3rem, 5vw, 5rem)/1 "Fraunces", serif; letter-spacing: -.045em; }
.quiz-intro .eyebrow { color: var(--orange-dark); }
.quiz-stats { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.quiz-stats span { border: 1px solid rgba(32,27,23,.2); border-radius: 999px; padding: .55rem .8rem; background: rgba(255,255,255,.18); font-size: .72rem; }
.quiz-stats strong { font-family: "DM Mono", monospace; }
.quiz-console { min-height: 460px; border: 12px solid var(--green); border-bottom-width: 30px; border-radius: 30px; padding: clamp(1.5rem, 4vw, 2.7rem); color: var(--paper); background: #18302e; box-shadow: 14px 18px 0 rgba(32,27,23,.15); }
.quiz-start, .quiz-result { min-height: 365px; display: grid; align-content: center; justify-items: start; }
.quiz-start h3, .quiz-result h3, .quiz-game h3 { margin-bottom: .8rem; font: 600 clamp(2rem, 4vw, 3rem)/1 "Fraunces", serif; }
.quiz-tape { display: inline-block; margin-bottom: 1.4rem; border: 1px solid rgba(244,236,220,.35); border-radius: 6px; padding: .45rem .65rem; font: .65rem "DM Mono", monospace; letter-spacing: .12em; }
.quiz-start button, .quiz-result-actions button, .quiz-next { border: 0; border-radius: 999px; padding: .85rem 1.1rem; color: var(--ink); background: var(--yellow); font-weight: 800; cursor: pointer; }
.quiz-progress { display: flex; justify-content: space-between; gap: 1rem; font: .7rem "DM Mono", monospace; }
.quiz-progress-track { height: 5px; margin: .65rem 0 2rem; border-radius: 999px; background: rgba(244,236,220,.15); overflow: hidden; }
.quiz-progress-track i { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .3s ease; }
.quiz-game .card-label, .quiz-result .card-label { color: var(--yellow); }
.quiz-game blockquote { min-height: 3.5em; margin: 1rem 0 1.4rem; padding: 0; border: 0; color: var(--yellow); font: 600 1.25rem/1.35 "Fraunces", serif; }
.quiz-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.quiz-options button { border: 1px solid rgba(244,236,220,.3); border-radius: 14px; padding: .9rem .6rem; color: var(--paper); background: rgba(255,255,255,.04); font: 600 1rem "DM Mono", monospace; cursor: pointer; }
.quiz-options button:hover:not(:disabled) { border-color: var(--yellow); background: rgba(240,189,69,.12); }
.quiz-options button.correct { border-color: #80d6a6; color: #123f38; background: #80d6a6; }
.quiz-options button.wrong { border-color: #ff8d78; color: #fff; background: #a74333; }
.quiz-options button:disabled { cursor: default; }
.quiz-feedback { min-height: 1.5em; color: var(--paper); font-size: .8rem; }
.quiz-next { display: block; margin-left: auto; }
.quiz-next[hidden] { display: none; }
.quiz-result > strong { color: var(--yellow); font: 700 clamp(5rem, 10vw, 8rem)/1 "Fraunces", serif; }
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.quiz-result-actions button:last-child { border: 1px solid rgba(244,236,220,.35); color: var(--paper); background: transparent; }
.quiz-share-status { min-height: 1.4em; color: var(--yellow); font-size: .75rem; }

.viral-section { margin: 0 auto 5rem; width: min(1180px, calc(100% - 2rem)); border-radius: 30px; padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; color: var(--paper); background: var(--green); overflow: hidden; }
.viral-copy h2 { margin-bottom: 1rem; font: 600 clamp(2.7rem, 5vw, 4.8rem)/1.03 "Fraunces", serif; letter-spacing: -.04em; }
.viral-copy .eyebrow { color: var(--yellow); }
.viral-form { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 2rem; }
.viral-form label { font: .65rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.viral-form label span { opacity: .55; text-transform: none; }
.viral-form input { min-width: 0; border: 1px solid rgba(244,236,220,.35); border-radius: 12px; padding: .85rem; color: var(--paper); background: rgba(255,255,255,.08); font: inherit; }
.viral-form input::placeholder { color: rgba(244,236,220,.48); }
.viral-form button { grid-column: 1 / -1; border: 0; border-radius: 12px; padding: .95rem; color: var(--ink); background: var(--yellow); font-weight: 800; cursor: pointer; }
.share-card-wrap { min-width: 0; }
.share-card { position: relative; min-height: 420px; border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.5rem); color: var(--ink); background: var(--paper); box-shadow: 18px 22px 0 rgba(0,0,0,.13); overflow: hidden; }
.share-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 210px; height: 210px; border: 24px solid var(--orange); border-radius: 50%; opacity: .25; }
.share-card-top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); font: 700 .63rem "DM Mono", monospace; letter-spacing: .1em; }
.share-card > p { position: relative; z-index: 1; }
.share-card > strong { display: block; position: relative; z-index: 1; margin: .25rem 0; color: var(--orange); font: 700 clamp(5rem, 10vw, 8.5rem)/.95 "Fraunces", serif; }
.share-card h3 { position: relative; z-index: 1; max-width: 500px; margin-bottom: 1.4rem; font: 600 clamp(1.6rem, 3vw, 2.25rem)/1.05 "Fraunces", serif; }
.share-card-facts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .55rem; }
.share-card-facts span { border: 1px solid var(--line); border-radius: 999px; padding: .55rem .75rem; background: var(--paper-deep); font-size: .7rem; }
.share-challenge { margin-top: 2rem; color: var(--orange-dark); font-weight: 800; }
.share-actions { display: flex; gap: .65rem; margin-top: 1.8rem; }
.share-actions button { flex: 1; border: 1px solid rgba(244,236,220,.4); border-radius: 999px; padding: .85rem 1rem; color: var(--paper); background: transparent; font-weight: 750; cursor: pointer; }
.share-actions button:first-child { border-color: var(--yellow); color: var(--ink); background: var(--yellow); }
.share-status { min-height: 1.4em; margin-bottom: 0; color: var(--yellow); font-size: .78rem; text-align: center; }
.share-card.share-pop { animation: sharePop .6s ease both; }

.gift-section { margin: 0 auto 5rem; width: min(1180px, calc(100% - 2rem)); border-radius: 30px; padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: .85fr 1fr; gap: 5rem; align-items: center; color: var(--paper); background: var(--orange); overflow: hidden; }
.poster-preview { min-height: 410px; position: relative; }
.poster-paper { position: absolute; inset: 6% 12%; background: #f7efdf; color: var(--ink); box-shadow: var(--shadow); }
.poster-back { transform: rotate(-9deg) translate(-12px, 8px); background: var(--yellow); }
.poster-front { transform: rotate(3deg); padding: 1.5rem; display: flex; flex-direction: column; }
.poster-front > span { font: 700 .8rem "DM Mono", monospace; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.poster-front strong { color: var(--orange); font: 700 clamp(4rem, 9vw, 7rem)/1 "Fraunces", serif; margin-top: 2rem; }
.poster-front p { font: 500 .65rem "DM Mono", monospace; letter-spacing: .12em; }
.poster-lines { flex: 1; margin-top: 1rem; background: repeating-linear-gradient(#201b17 0 1px, transparent 1px 13px); opacity: .17; }
.gift-copy .eyebrow { color: var(--yellow); }
.gift-copy p:not(.eyebrow) { max-width: 560px; }
.secondary-cta { margin-top: 1rem; background: var(--paper); color: var(--ink); box-shadow: none; }
.secondary-cta:disabled { opacity: .75; cursor: default; }

footer { padding: 2.5rem max(1rem, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.footer-brand { margin-right: auto; }.prototype-note { font: .65rem "DM Mono", monospace; opacity: .55; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--orange-dark); font-size: .72rem; font-weight: 700; }
.music-meta { display:block; margin-top:.22rem; color:var(--orange-dark); font:500 .62rem "DM Mono",monospace; opacity:.78; }
.mobile-nav { display: none; }

.year-article { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 4rem); }
.year-article header { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.year-article header .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.year-article h2 { font: 600 clamp(2.4rem, 5vw, 4.8rem)/1.02 "Fraunces", serif; letter-spacing: -.035em; }
.article-lead { margin: 0; color: var(--orange-dark); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 650; }
.article-columns { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 20px; background: var(--line); overflow: hidden; }
.article-columns section { padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); }
.article-columns h3 { margin: 0 0 .8rem; font: 600 1.35rem/1.1 "Fraunces", serif; }
.article-columns p { margin: 0; }
.article-index { width:min(1100px,calc(100% - 2rem)); margin:0 auto; padding:clamp(8rem,14vw,11rem) 0 5rem; }
.article-index > h1 { max-width:850px; margin:0 0 1rem; font:600 clamp(3.5rem,9vw,7.5rem)/.92 "Fraunces",serif; letter-spacing:-.05em; }
.article-index > p:not(.eyebrow) { max-width:720px; font-size:1.1rem; }
.article-index section { margin-top:3rem; }
.article-index section h2 { margin-bottom:1rem; font:600 2.1rem "Fraunces",serif; }
.article-index-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:.75rem; }
.article-index-grid a { min-height:120px; border:1px solid var(--line); border-radius:16px; padding:1rem; display:grid; align-content:space-between; color:var(--ink); background:var(--paper-deep); text-decoration:none; transition:transform .2s ease,background .2s ease; }
.article-index-grid a:hover { transform:translateY(-3px); background:white; }
.article-index-grid strong { color:var(--orange); font:700 2rem "Fraunces",serif; }
.article-index-grid span { font-size:.76rem; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }
@keyframes arrive { 0% { opacity: .25; transform: translateY(16px); } 100% { opacity: 1; transform: none; } }
@keyframes sharePop { 0% { transform: rotate(-1deg) scale(.96); } 65% { transform: rotate(.6deg) scale(1.02); } 100% { transform: none; } }
.year-experience.arrive { animation: arrive .7s ease both; }

@media (max-width: 850px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; padding: 5rem 1rem; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .time-window { margin-top: 2rem; max-width: 380px; }
  .year-intro { grid-template-columns: 1fr; gap: 1rem; }
  .visual-story-heading { grid-template-columns: 1fr; gap: .75rem; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-card:first-child .visual-card-media, .visual-card-media { min-height: 260px; }
  .music-card, .news-card, .price-card { grid-column: span 12; }
  .memory-card { min-height: auto; }
  .culture-card, .gift-section, .viral-section, .quiz-section { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .capsule-heading { grid-template-columns: 1fr; gap: .5rem; }
  .capsule-grid { grid-template-columns: 1fr 1fr; }
  .gift-section { gap: 1rem; }
  footer { flex-wrap: wrap; }.prototype-note { width: 100%; }
  .year-article header { grid-template-columns: 1fr; gap: 1rem; }
  .year-article header .eyebrow { margin-bottom: 0; }
  .article-columns { grid-template-columns: 1fr; }
  .article-index-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 520px) {
  body { padding-bottom: 74px; }
  .site-header { top: .45rem; width: calc(100% - .9rem); min-height: 58px; border-radius: 15px; padding: .55rem .75rem; }
  .brand-mark { width: 34px; height: 34px; }.sound-label { display: none; }
  .hero { padding: 3.75rem 1rem 3rem; gap: 1rem; }.hero h1 { font-size: clamp(2.75rem, 14vw, 3.6rem); }
  .hero-lead { font-size: .98rem; }
  .time-window { min-height: 300px; transform: scale(.94); }
  .time-machine, .year-experience { padding-top: 3.6rem; padding-bottom: 3.6rem; }
  .time-machine { padding-left: 1rem; padding-right: 1rem; }
  .section-heading h2,.year-intro h2 { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .year-picker { gap: .5rem; }.year-step { width: 48px; min-width: 48px; height: 48px; }.selected-year output { font-size: 3.8rem; }
  .travel-actions { display: grid; grid-template-columns: 1fr; }.travel-button,.random-year-button { width: 100%; min-height: 50px; justify-content: center; }
  .range-labels span:nth-child(even) { display: none; }
  .year-experience { width: min(100% - 1rem, 1180px); }
  .memory-card,.detail-card,.capsule-card { border-radius: 18px; }
  .memory-card { padding: 1.25rem; }.content-list li { padding: .72rem 0; }
  .culture-card { padding: 1rem; gap: 1.2rem; }.tv-frame span { font-size: 4.5rem; }
  .visual-card-media { min-height: 220px; }.visual-card-copy { padding: 1rem; }
  .capsule-section { padding: 1.25rem; border-radius: 20px; }.capsule-card { padding: 1rem; }
  .year-article h2 { font-size: 2.45rem; }.article-columns section { padding: 1.15rem; }
  .article-index { padding-top:6rem; }.article-index-grid { grid-template-columns:1fr 1fr; gap:.5rem; }.article-index-grid a { min-height:105px; padding:.8rem; }
  .gift-section { margin-bottom: 2rem; }.poster-preview { min-height: 320px; }
  .gift-section,.viral-section,.quiz-section { width: calc(100% - 1rem); border-radius: 20px; padding: 1.4rem; }
  .viral-form { grid-template-columns: 1fr; }.viral-form button { grid-column: auto; }
  .share-actions { flex-direction: column; }
  .quiz-options { grid-template-columns: 1fr; }
  .capsule-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1rem; gap: .8rem; }.footer-links { width: 100%; }
  .mobile-nav { position: fixed; z-index: 50; left: .45rem; right: .45rem; bottom: .45rem; height: 62px; display:grid; grid-template-columns:repeat(4,1fr); border:1px solid rgba(255,255,255,.16); border-radius:18px; padding:.3rem; color:var(--paper); background:rgba(22,75,67,.96); box-shadow:0 12px 35px rgba(0,0,0,.25); backdrop-filter:blur(16px); }
  .mobile-nav a { display:grid; place-items:center; align-content:center; gap:1px; border-radius:13px; color:inherit; text-decoration:none; font-size:.62rem; font-weight:800; }
  .mobile-nav a:active { background:rgba(255,255,255,.12); }.mobile-nav span { color:var(--yellow); font:700 1.05rem "DM Mono",monospace; }
}

@media print {
  body > * { display: none !important; }
  body > main { display: block !important; }
  main > * { display: none !important; }
  .viral-section { display: block !important; width: 100%; margin: 0; padding: 0; background: #fff; }
  .viral-copy, .share-actions, .share-status { display: none !important; }
  .share-card-wrap { display: block; }
  .share-card { width: 180mm; min-height: 250mm; margin: 0 auto; border: 2px solid #201b17; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
