:root {
  --red: #f4513b;
  --yellow: #ffe467;
  --paper: #f8f8f3;
  --ink: #25251f;
  --green: #26715b;
  --display: "Archivo Black", Impact, sans-serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.page-shell { max-width: 1800px; margin: 0 auto; }
.masthead { height: 94px; margin: 0 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); gap: 20px; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 26px; font-weight: 700; }
.wordmark span { color: var(--red); }
.date-tag { border: 1px solid var(--ink); padding: 9px 13px; font-size: 12px; font-weight: 700; transform: rotate(3deg); background: var(--yellow); }
.answer-section { position: relative; text-align: center; padding: 57px 20px 43px; overflow: hidden; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 0; }
h1 { margin: 0; font-size: 36px; font-weight: 500; }
.answer-layout { display: grid; grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 28px; align-items: center; width: min(1040px, 100%); margin: 4px auto 0; }
.danny-portrait { display: block; width: 100%; height: auto; aspect-ratio: 771 / 1151; object-fit: contain; }
.danny-portrait-left { transform: scaleX(-1); }
.answer-layout .spark { display: none; }
body.is-birthday .answer-layout { grid-template-columns: minmax(0, 1fr); max-width: 670px; }
body.is-birthday .danny-portrait { display: none; }
.answer-wrap { position: relative; width: min(670px, 100%); margin: 4px auto 0; }
.big-answer { font-family: var(--display); font-size: 196px; line-height: 1.14; margin: 0; color: var(--red); text-shadow: 5px 5px 0 var(--ink); }
.answer-dot { color: var(--ink); text-shadow: none; }
.answer-copy { margin: 12px 0 0; font-size: 18px; }
.spark { position: absolute; color: var(--red); font-size: 68px; line-height: 1; }
.spark-left { left: -12px; top: 18px; transform: rotate(12deg); }
.spark-right { right: -12px; bottom: 8px; font-size: 47px; color: var(--green); transform: rotate(-12deg); }
.answer-stamp { position: absolute; top: 3px; right: -4px; display: grid; place-content: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; width: 100px; height: 100px; font-size: 11px; line-height: 1.5; font-weight: 700; transform: rotate(12deg); }
.bunting { position: absolute; display: flex; gap: 13px; top: -12px; left: -30px; width: 280px; border-top: 2px solid var(--ink); padding-top: 2px; transform: rotate(-17deg); }
.bunting i { width: 22px; height: 40px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); flex-shrink: 0; }
.bunting i:nth-child(3n + 2) { background: var(--yellow); }
.bunting i:nth-child(3n) { background: var(--green); }
.countdown-section { position: relative; background: var(--yellow); border-block: 1px solid var(--ink); padding: 35px 20px 38px; background-image: radial-gradient(#25251f15 0.7px, transparent 0.7px); background-size: 9px 9px; }
.countdown-inner { text-align: center; max-width: 560px; margin: 0 auto; }
h2 { font-size: 14px; font-weight: 600; margin: 0 0 21px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.time-unit { display: flex; flex-direction: column; gap: 7px; border-right: 1px solid #25251f40; }
.time-unit:last-child { border: none; }
.time-unit > span:first-child { font-family: var(--display); font-size: 54px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.unit-label { font-size: 12px; }
.target-date { font-size: 11px; margin: 23px 0; }
.target-date > span { padding: 0 5px; }
.party-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.action-button { min-height: 46px; border: 1px solid var(--ink); border-radius: 4px; padding: 11px 19px; font-family: var(--body); font-size: 13px; font-weight: 700; background: var(--ink); color: var(--paper); cursor: pointer; display: inline-flex; gap: 24px; align-items: center; transition: background 160ms, transform 160ms; }
.action-button:hover { background: var(--green); transform: translateY(-2px); }
.action-button > span { font-size: 20px; line-height: 1; }
.cake-sticker { position: absolute; right: max(3%, calc((100% - 1200px) / 2)); top: 40px; margin: 0; width: 172px; transform: rotate(9deg); }
.cake-sticker img { display: block; width: 172px; height: 172px; object-fit: cover; border: 6px solid var(--paper); border-radius: 50%; box-shadow: 2px 3px 0 var(--ink); }
.cake-sticker figcaption { position: relative; margin: -12px -9px 0; background: var(--paper); border: 1px solid var(--ink); padding: 8px; text-align: center; font-size: 12px; font-weight: 700; transform: rotate(-13deg); }
.small-spark { position: absolute; left: 9%; top: 76px; color: var(--green); font-size: 82px; }
footer { padding: 23px 5%; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; }
.footer-note { color: #64645c; }
.birthday-message p { margin: 12px 0 17px; font-size: 16px; }
.birthday-label { display: inline-block; font-size: 11px; font-weight: 700; padding: 8px 13px; background: var(--yellow); transform: rotate(-3deg); }
.party-content h2 { font-family: var(--display); font-size: 26px; margin-bottom: 8px; }
.party-content p { font-size: 14px; margin: 0; }
.party-number { font-family: var(--display); font-size: 88px; line-height: 1.3; color: var(--red); }
.party-number span { color: var(--green); }
body.is-birthday .big-answer { color: var(--green); }
body.is-birthday .bunting { width: 400px; }
.balloons { display: none; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
body.is-birthday .balloons { display: block; }
body.is-birthday .balloons.is-paused .balloon { animation-play-state: paused; }
.balloon { --balloon-color: var(--red); position: absolute; top: 100%; width: 70px; height: 92px; border: 1px solid var(--ink); border-radius: 50% 50% 46% 46%; background: radial-gradient(ellipse at 30% 25%, #ffffff80 0%, #ffffff00 45%), var(--balloon-color); transform: translate(-50%, 30px); transform-origin: 50% 100%; }
.balloon::before { content: ""; position: absolute; top: 100%; left: calc(50% - 4px); width: 8px; height: 8px; background: var(--balloon-color); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.balloon::after { content: ""; position: absolute; top: calc(100% + 7px); left: calc(50% - 14px); width: 16px; height: 100px; border-right: 1px solid var(--ink); border-radius: 0 50% 50% 0; }
.balloon-green { --balloon-color: var(--green); }
.balloon-pink { --balloon-color: #f29ec2; }
.noscript { padding: 20px; text-align: center; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes balloon-rise { from { transform: translate(-50%, 30px) rotate(-8deg); } to { transform: translate(-50%, calc(-100vh - 240px)) rotate(8deg); } }
@media (prefers-reduced-motion: no-preference) { .big-answer { animation: arrive 500ms ease-out both; } .countdown-inner { animation: arrive 500ms 100ms ease-out both; } body.is-birthday .balloon { animation-name: balloon-rise; animation-duration: 7s; animation-timing-function: linear; animation-fill-mode: both; animation-iteration-count: infinite; } }
@media (min-width: 1500px) { .answer-section { padding-top: 76px; padding-bottom: 64px; } }
@media (max-width: 1050px) {
  .answer-layout { grid-template-columns: 125px minmax(0, 1fr) 125px; gap: 24px; }
  body:not(.is-birthday) .big-answer { font-size: 154px; }
  body.is-birthday .big-answer { font-size: 154px; }
  .cake-sticker { width: 112px; right: 3%; top: 65px; }
  .cake-sticker img { width: 112px; height: 112px; }
  .cake-sticker figcaption { font-size: 10px; }
  .small-spark { left: 4%; font-size: 50px; }
  .countdown-inner { max-width: 480px; }
}
@media (max-width: 760px) {
  .masthead { height: 76px; }
  .wordmark { font-size: 21px; }
  .date-tag { font-size: 10px; padding: 7px 8px; }
  .answer-section { padding-top: 48px; padding-bottom: 32px; }
  h1 { font-size: 28px; }
  .answer-layout { grid-template-columns: 54px minmax(0, 1fr) 54px; gap: 10px; max-width: 460px; margin-top: 16px; }
  .answer-layout { margin-top: 62px; }
  body:not(.is-birthday) .big-answer { font-size: 84px; }
  body.is-birthday .big-answer { font-size: 80px; }
  .answer-wrap { max-width: 390px; margin-top: 16px; }
  .big-answer { font-size: 118px; text-shadow: 3px 3px 0 var(--ink); }
  .answer-stamp { width: 70px; height: 70px; font-size: 8px; right: 0; top: -19px; }
  .answer-layout .answer-stamp { width: 60px; height: 60px; top: -64px; }
  .spark-left { left: 0; top: 10px; font-size: 33px; }
  .spark-right { right: 8px; font-size: 28px; }
  .answer-copy { font-size: 15px; margin-top: 15px; }
  .bunting { width: 175px; gap: 7px; }
  .bunting i { width: 17px; height: 27px; }
  .countdown-section { padding: 28px 20px 145px; }
  .balloon { width: 42px; height: 56px; }
  .balloon::after { height: 60px; }
  .countdown-inner { max-width: 460px; }
  .time-unit > span:first-child { font-size: 40px; }
  .target-date { max-width: 270px; margin: 20px auto; line-height: 1.7; }
  .cake-sticker { width: 88px; top: auto; bottom: 19px; right: calc(50% - 44px); }
  .cake-sticker img { width: 88px; height: 88px; border-width: 4px; }
  .cake-sticker figcaption { white-space: nowrap; margin-inline: -18px; }
  .small-spark { top: auto; bottom: 40px; left: 16%; font-size: 38px; }
  footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-block: 21px; }
}
@media (max-width: 360px) { .wordmark { font-size: 18px; } .big-answer { font-size: 102px; } body:not(.is-birthday) .big-answer { font-size: 66px; } body.is-birthday .big-answer { font-size: 66px; } .answer-layout { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; } .time-unit > span:first-child { font-size: 34px; } .answer-stamp { right: -8px; } .answer-layout .answer-stamp { right: 4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } body.is-birthday .balloons { display: none; } }