:root {
  color-scheme: light;
  --ink: #151517;
  --muted: #747479;
  --line: #e8e8ed;
  --soft: #f5f5f7;
  --blue: #0068d8;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
canvas:focus-visible {
  outline: 3px solid #0068d8;
  outline-offset: 5px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
}
[hidden] {
  display: none !important;
}
.site-header {
  height: 76px;
  max-width: 1440px;
  padding: 0 6%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 5;
}
.wordmark {
  font-size: 13px;
  letter-spacing: 0.13em;
  font-weight: 750;
  white-space: nowrap;
}
.brand-dot {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-button {
  color: #606066;
  font-size: 14px;
  padding: 8px 0;
  background: none;
}
.nav-button:hover {
  color: var(--ink);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.6;
}
.gate-view {
  max-width: 1220px;
  margin: auto;
  padding: 54px 40px 18px;
}
.gate-intro {
  text-align: center;
}
.gate-intro h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 650;
  margin: 20px 0;
}
.gate-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 55px;
  gap: 20px;
}
.challenge-card {
  text-align: left;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  min-height: 338px;
}
.challenge-card:hover {
  transform: translateY(-5px);
  border-color: #c9c9cf;
  box-shadow: 0 16px 35px #00000007;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.game-badge {
  font-size: 12px;
  letter-spacing: 0;
  padding: 3px 7px;
  border-radius: 20px;
  background: var(--soft);
  white-space: nowrap;
}
.game-badge.done {
  color: #006d53;
  background: #e9f6ef;
}
.card-visual {
  height: 83px;
  display: flex;
  align-items: center;
  margin: 12px 0 5px;
  font-size: 65px;
  letter-spacing: -0.07em;
  line-height: 1;
}
.flight-symbol {
  color: var(--blue);
  font-size: 64px;
}
.hanoi-symbol {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: flex-start;
}
.hanoi-symbol i {
  height: 9px;
  background: var(--ink);
  border-radius: 4px;
  display: block;
  margin-left: 10px;
  width: 38px;
}
.hanoi-symbol i:nth-child(2) {
  width: 58px;
  margin-left: 0;
}
.hanoi-symbol i:nth-child(3) {
  width: 78px;
  margin-left: 0;
}
.trivia-symbol {
  font-size: 58px;
  letter-spacing: -0.11em;
  color: #6d5de7;
}
.card-title {
  font-size: 27px;
  letter-spacing: -0.045em;
  font-weight: 600;
  line-height: 1.2;
  margin: 5px 0 12px;
}
.card-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.card-action {
  font-size: 14px;
  color: var(--blue);
  margin-top: 24px;
  font-weight: 500;
}
.gate-progress {
  text-align: center;
  padding-top: 30px;
  font-size: 14px;
}
.gate-progress > span {
  font-weight: 600;
}
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0;
}
.progress-dots span {
  height: 5px;
  width: 25px;
  border-radius: 6px;
  background: #e5e5eb;
}
.progress-dots span.done {
  background: var(--blue);
}
.gate-progress p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.secret-skip {
  display: block;
  margin: 24px auto 0;
  padding: 12px 18px;
  color: #fff;
  background: #fff;
  font-size: 13px;
  min-height: 44px;
  border-radius: 10px;
}
.secret-skip:focus-visible {
  color: var(--ink);
  background: var(--soft);
}
.gate-view.leaving {
  animation: leave 0.3s both;
}
@keyframes leave {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}
.invitation-view {
  animation: arrive 0.6s both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.invitation-hero {
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 75px 24px 38px;
  position: relative;
}
.hero-content {
  margin: auto 0;
}
.invitation-hero h1 {
  font-size: clamp(68px, 12.5vw, 176px);
  font-weight: 650;
  letter-spacing: -0.078em;
  line-height: 1.05;
  margin: 25px 0;
  overflow-wrap: anywhere;
}
.invitation-hero h1 span {
  color: var(--blue);
}
.hero-subtitle {
  font-size: clamp(28px, 4.3vw, 60px);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: #818186;
}
.hero-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}
.scroll-cue {
  font-size: 12px;
  color: var(--muted);
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-cue span {
  width: 1px;
  height: 30px;
  background: linear-gradient(#c0c0c5, transparent);
}
.scroll-chapter {
  min-height: 190svh;
  background: var(--soft);
}
.chapter-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 1050px;
  margin: auto;
  padding: 100px 40px;
}
.chapter-heading {
  font-size: clamp(36px, 5.7vw, 76px);
  letter-spacing: -0.055em;
  line-height: 1.15;
  font-weight: 600;
  margin: 22px 0 30px;
}
.scroll-line {
  display: block;
  color: #c4c4ca;
  transition: color 0.45s;
}
.scroll-line.active {
  color: var(--ink);
}
.chapter-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
}
.photo-section {
  padding: 80px 5%;
  background: var(--soft);
}
.photo-reveal {
  max-width: 1280px;
  margin: auto;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 460px;
}
.photo-reveal img {
  width: 100%;
  height: clamp(440px, 65vw, 780px);
  display: block;
  object-fit: cover;
  object-position: center 56%;
}
.photo-reveal:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #0009);
}
.photo-caption {
  position: absolute;
  bottom: 7%;
  left: 6%;
  z-index: 1;
  color: #fff;
}
.photo-caption .eyebrow {
  color: #e2d6cd;
}
.photo-caption h2 {
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 550;
  letter-spacing: -0.05em;
  margin-top: 18px;
}
.section-width {
  max-width: 1080px;
  margin: auto;
  padding: 140px 40px;
}
.section-title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 22px 0 30px;
}
.message-section {
  text-align: center;
  max-width: 880px;
}
.event-message {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 450;
  line-height: 1.55;
  color: #717176;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.event-subtitle {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.details-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  padding-top: 75px;
  padding-bottom: 160px;
}
.details-list {
  padding-top: 10px;
}
.detail-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 29px 0;
}
.detail-row > span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.07em;
  padding-top: 5px;
}
.detail-row h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.detail-row p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rsvp-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding-top: 130px;
  padding-bottom: 130px;
}
.rsvp-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.signature {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
}
.rsvp-card {
  background: var(--soft);
  padding: 35px;
  border-radius: 24px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.field {
  font-size: 14px;
  font-weight: 550;
  display: block;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #d7d7dc;
  border-radius: 11px;
  margin-top: 9px;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
  min-height: 48px;
}
.field textarea {
  resize: vertical;
  line-height: 1.55;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.reply-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.reply-choice {
  position: relative;
  cursor: pointer;
}
.reply-choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.reply-choice span {
  display: block;
  text-align: center;
  border: 1px solid #d7d7dc;
  background: #fff;
  border-radius: 10px;
  padding: 12px 4px;
  font-size: 14px;
}
.reply-choice input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.reply-choice input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.choice-joke {
  font-size: 13px;
  color: var(--muted);
  margin-top: -9px;
  min-height: 0;
}
.primary-button {
  background: var(--blue);
  color: #fff;
  padding: 14px 21px;
  border-radius: 30px;
  font-size: 15px;
  min-height: 48px;
  font-weight: 500;
  text-align: center;
}
.primary-button:hover:not(:disabled) {
  background: #0058b7;
}
.secondary-button {
  background: var(--soft);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 30px;
  border: 1px solid var(--line);
  font-size: 14px;
  min-height: 44px;
}
.text-button {
  font-size: 14px;
  background: none;
  color: var(--blue);
  padding: 9px 0;
  min-height: 40px;
}
.privacy-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}
.notice,
.saved-notice,
.form-error {
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  background: #fff4df;
  color: #735320;
}
.notice p {
  margin: 0;
}
.error-notice,
.form-error {
  background: #fff0ee;
  color: #9c3327;
}
.form-error {
  margin: 0;
}
.saved-notice {
  color: #1d6a51;
  background: #e9f6ef;
}
.host-section {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  padding-bottom: 70px;
}
.host-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.host-top h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-top: 10px;
}
.host-top > div:last-child {
  display: flex;
  gap: 10px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.summary-grid strong {
  font-size: 38px;
  font-weight: 500;
  display: block;
  letter-spacing: -0.04em;
}
.summary-grid span,
#empty-replies {
  font-size: 14px;
  color: var(--muted);
}
.reply-table {
  overflow-x: auto;
  margin-top: 22px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
td,
th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 550;
  color: var(--muted);
}
.message-cell {
  white-space: pre-wrap;
  min-width: 160px;
  overflow-wrap: anywhere;
}
.site-footer {
  padding: 30px 6%;
  background: var(--soft);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.site-footer > span:first-child {
  letter-spacing: 0.1em;
  font-weight: 650;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}
.js-reveal .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  color: var(--ink);
  padding: 30px;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 25px 90px #0002;
}
dialog::backdrop {
  background: #15151755;
  backdrop-filter: blur(8px);
}
.game-dialog {
  width: min(640px, calc(100% - 24px));
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.close-dialog {
  border-radius: 50%;
  background: var(--soft);
  font-size: 24px;
  color: #626269;
  width: 36px;
  height: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.close-dialog:hover {
  color: #000;
}
dialog h2 {
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 4px 0 13px;
}
dialog form {
  margin-top: 20px;
}
.dialog-description {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.game-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.game-stats > span:first-child {
  color: var(--ink);
  font-weight: 550;
}
.game-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.game-feedback {
  font-size: 14px;
  color: var(--muted);
  min-height: 42px;
  margin-top: 15px;
  line-height: 1.6;
}
.game-back {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 14px;
  width: 100%;
  text-align: left;
}
.editor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
#flappy-canvas {
  width: 100%;
  max-width: 420px;
  max-height: 49dvh;
  aspect-ratio: 420/400;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 17px;
  background: var(--soft);
  touch-action: none;
}
.hanoi-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 20px 0 0;
}
.hanoi-tower {
  position: relative;
  height: 210px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 16px;
  min-width: 0;
}
.hanoi-tower.selected {
  border-color: var(--blue);
  background: #edf5ff;
}
.tower-pole {
  position: absolute;
  bottom: 42px;
  left: calc(50% - 2px);
  width: 4px;
  height: 112px;
  border-radius: 4px;
  background: #d1d1d7;
}
.hanoi-disks {
  position: absolute;
  inset: auto 7px 43px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 5px;
}
.hanoi-disk {
  height: 24px;
  border-radius: 7px;
  background: #353539;
  border: 1px solid #fff5;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.disk-1 {
  width: 42%;
  background: #0068d8;
}
.disk-2 {
  width: 67%;
  background: #545458;
}
.disk-3 {
  width: 92%;
  background: #171719;
}
.selected-disk {
  box-shadow: 0 0 0 3px #66a9ef;
}
.tower-label {
  position: absolute;
  bottom: 11px;
  left: 0;
  right: 0;
  font-size: 14px;
  color: #616169;
}
.tower-label small {
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-left: 5px;
}
.hint-note {
  font-size: 13px;
  color: var(--muted);
  padding: 15px;
  background: var(--soft);
  border-radius: 10px;
  margin-top: 10px;
}
.trivia-question {
  background: var(--soft);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 15px;
}
.meme-scene {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  font-weight: 500;
}
.trivia-question h3 {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.trivia-options {
  display: grid;
  gap: 9px;
}
.trivia-option {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 15px 18px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  color: var(--ink);
  min-height: 52px;
}
.trivia-option > span:first-child {
  color: var(--muted);
  font-size: 12px;
}
.trivia-option:hover {
  border-color: var(--blue);
}
.trivia-option.correct {
  background: #e9f6ef;
  border-color: #57a584;
}
.trivia-option.wrong {
  background: #fff0ee;
  border-color: #dba29b;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #151517;
  color: #fff;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 10px 35px #0002;
  font-size: 14px;
  max-width: calc(100% - 24px);
  z-index: 50;
  text-align: center;
}
@media (max-width: 900px) {
  .challenge-grid {
    gap: 12px;
  }
  .challenge-card {
    padding: 19px;
  }
  .card-copy {
    font-size: 13px;
  }
  .card-title {
    font-size: 24px;
  }
  .card-top {
    font-size: 10px;
  }
  .details-section,
  .rsvp-section {
    gap: 35px;
  }
  .section-width {
    padding-left: 30px;
    padding-right: 30px;
  }
  .rsvp-card {
    padding: 25px;
  }
  .detail-row {
    grid-template-columns: 80px 1fr;
    gap: 15px;
  }
}
@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 0 6%;
    align-items: center;
  }
  nav {
    gap: 12px;
  }
  .nav-button {
    font-size: 12px;
  }
  .wordmark {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .gate-view {
    padding: 35px 24px 12px;
  }
  .gate-intro h1 {
    font-size: 48px;
    margin: 17px 0;
  }
  .gate-description {
    font-size: 16px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 12px;
  }
  .challenge-card {
    min-height: 0;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 62px;
    gap: 0 12px;
    position: relative;
  }
  .card-top {
    grid-column: 1/3;
    font-size: 11px;
    margin-bottom: 17px;
  }
  .card-visual {
    grid-column: 2;
    grid-row: 2/5;
    height: 80px;
    margin: 0;
    justify-content: center;
    align-self: center;
    font-size: 50px;
  }
  .hanoi-symbol {
    transform: scale(0.75);
    transform-origin: center;
  }
  .card-title {
    grid-column: 1;
    font-size: 26px;
    margin: 0 0 10px;
  }
  .card-copy {
    grid-column: 1;
    font-size: 14px;
  }
  .card-action {
    grid-column: 1;
    margin-top: 16px;
  }
  .gate-progress {
    padding-top: 25px;
  }
  .invitation-hero {
    min-height: calc(100svh - 68px);
    padding: 75px 20px 25px;
  }
  .invitation-hero h1 {
    font-size: clamp(57px, 14vw, 94px);
    letter-spacing: -0.07em;
  }
  .hero-subtitle {
    font-size: 38px;
  }
  .hero-meta {
    max-width: 280px;
  }
  .scroll-chapter {
    min-height: 165svh;
  }
  .chapter-sticky {
    padding: 90px 24px;
  }
  .chapter-heading {
    font-size: clamp(30px, 7.5vw, 47px);
    line-height: 1.2;
    margin: 24px 0;
  }
  .chapter-description {
    font-size: 16px;
  }
  .photo-section {
    padding: 25px 16px 45px;
  }
  .photo-reveal {
    border-radius: 19px;
    min-height: 380px;
  }
  .photo-reveal img {
    height: 460px;
  }
  .photo-caption {
    left: 8%;
    bottom: 8%;
  }
  .photo-caption h2 {
    font-size: 37px;
  }
  .photo-caption .eyebrow {
    font-size: 10px;
  }
  .section-width {
    padding: 90px 24px;
  }
  .section-title {
    font-size: 48px;
  }
  .event-message {
    font-size: 23px;
  }
  .details-section,
  .rsvp-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .details-section {
    padding-top: 35px;
    padding-bottom: 90px;
  }
  .details-list {
    padding-top: 0;
  }
  .detail-row {
    grid-template-columns: 85px 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .detail-row h3 {
    font-size: 21px;
  }
  .rsvp-section {
    padding-top: 85px;
  }
  .rsvp-card {
    padding: 24px;
    border-radius: 19px;
  }
  .rsvp-heading {
    padding-bottom: 12px;
  }
  .reply-choices {
    gap: 7px;
  }
  .reply-choice span {
    font-size: 13px;
  }
  .host-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-grid span {
    font-size: 12px;
  }
  .site-footer {
    padding: 25px 24px;
  }
  .game-dialog {
    padding: 23px 20px;
  }
  .game-stats {
    font-size: 11px;
  }
  .game-stats > span:last-child {
    text-align: right;
    max-width: 55%;
  }
  .hanoi-board {
    gap: 8px;
  }
  .hanoi-tower {
    height: 185px;
    border-radius: 12px;
  }
  .hanoi-disks {
    left: 3px;
    right: 3px;
    gap: 4px;
  }
  .hanoi-disk {
    height: 22px;
  }
  .trivia-question {
    padding: 21px;
  }
  .meme-scene {
    font-size: 21px;
  }
  .editor-row {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
  .scroll-line {
    color: var(--ink);
  }
}

@media (max-width: 680px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }
  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 65%;
    gap: 3px 12px;
  }
  .nav-button {
    padding: 5px 0;
  }
}

.days-section {
  background: var(--soft);
}
.days-intro {
  padding-top: 105px;
  padding-bottom: 45px;
}
.days-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}
.day-navigation {
  display: flex;
  flex-wrap: wrap;
  max-width: none;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 30px;
}
.day-navigation a {
  font-size: 14px;
  padding: 10px 17px;
  border: 1px solid #d9d9e0;
  border-radius: 30px;
  background: #fff;
  color: var(--muted);
}
.day-navigation a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.day-program {
  padding-top: 0;
  padding-bottom: 75px;
}
.day-chapter {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 55px;
  padding: 65px 0;
  border-top: 1px solid #dedee5;
  scroll-margin-top: 30px;
}
.day-number {
  font-size: 95px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.07em;
  color: #c7c7ce;
}
.day-chapter h3 {
  font-size: clamp(30px, 4.4vw, 55px);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 15px 0 20px;
}
.day-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 610px;
  white-space: pre-wrap;
}
.day-time {
  font-size: 14px;
  color: #57575d;
  margin-top: 20px;
}
.days-field {
  border-top: 1px solid #dddde3;
  border-bottom: 1px solid #dddde3;
  padding: 17px 0 19px;
}
.days-field legend {
  padding-top: 8px;
}
.days-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 7px;
}
.days-selection-actions .text-button {
  font-size: 13px;
  padding: 2px 0;
  min-height: 30px;
}
.attendance-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.attendance-day {
  position: relative;
  display: block;
  cursor: pointer;
}
.attendance-day input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.attendance-day-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid #d7d7dc;
  background: #fff;
  border-radius: 12px;
  min-height: 78px;
}
.attendance-day-body strong {
  font-size: 14px;
  font-weight: 550;
}
.attendance-day-body small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.attendance-day input:checked + .attendance-day-body {
  border-color: var(--blue);
  background: #eaf3ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.attendance-day input:checked + .attendance-day-body strong {
  color: #0058b7;
}
.attendance-day input:focus-visible + .attendance-day-body {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.days-field > .privacy-note {
  margin-top: 12px;
}
.host-day-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 20px;
}
.day-summary {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.day-summary span {
  font-size: 13px;
  color: var(--muted);
}
.day-summary strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.day-summary small {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 680px) {
  .days-intro {
    padding-top: 80px;
    padding-bottom: 35px;
  }
  .days-description {
    font-size: 16px;
  }
  .day-program {
    padding-bottom: 35px;
  }
  .day-chapter {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    padding: 45px 0;
  }
  .day-number {
    font-size: 51px;
  }
  .day-chapter h3 {
    font-size: 33px;
    margin: 12px 0 16px;
  }
  .day-description {
    font-size: 16px;
  }
  .day-time {
    font-size: 13px;
  }
  .host-day-summary {
    grid-template-columns: 1fr 1fr;
  }
  .day-navigation {
    gap: 8px;
  }
  .day-navigation a {
    padding: 9px 14px;
    font-size: 13px;
  }
}

.editor-dates .editor-row {
  margin-top: 12px;
}
.editor-dates {
  padding-top: 8px;
}
.hero-meta {
  line-height: 1.8;
}
