.hero-grid { position: relative; z-index: 1; }
.hero-grid h1 { max-width: 15ch; font-size: clamp(3.2rem, 5.35vw, 5.6rem); }
.hero-visual { aspect-ratio: 4 / 3; container-type: inline-size; }
.hero-image { object-position: center; }
.site-snow {
  --fall: calc(100vh + 1rem);
  position: fixed;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
}
@supports (height: 100dvh) {
  .site-snow { --fall: calc(100dvh + 1rem); }
}

.site-snow span {
  position: absolute;
  top: -.35rem;
  left: var(--x);
  width: var(--size, 2.5px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff7e7;
  box-shadow: 0 0 0 .55px #274f4863;
  opacity: 0;
  animation: ceia-snow var(--duration, 25s) linear var(--delay) infinite;
}
.site-snow span:nth-child(1) { --x: 2%; --delay: -2s; --drift: 15px; }
.site-snow span:nth-child(2) { --x: 7%; --delay: -10s; --size: 1.5px; --drift: -9px; }
.site-snow span:nth-child(3) { --x: 14%; --delay: -20s; --duration: 24s; --drift: -17px; }
.site-snow span:nth-child(4) { --x: 30%; --delay: -15s; --size: 1.5px; --drift: 12px; --snow-opacity: .34; }
.site-snow span:nth-child(5) { --x: 48%; --delay: -9s; --size: 1.5px; --drift: 20px; --snow-opacity: .3; }
.site-snow span:nth-child(6) { --x: 68%; --delay: -6s; --size: 2px; --drift: -15px; --snow-opacity: .35; }
.site-snow span:nth-child(7) { --x: 84%; --delay: -18s; --duration: 28s; --drift: 18px; }
.site-snow span:nth-child(8) { --x: 92%; --delay: -13s; --size: 3px; --drift: -18px; }
.site-snow span:nth-child(9) { --x: 97%; --delay: -23s; --duration: 29s; --drift: -14px; }
.site-snow span:nth-child(10) { --x: 4%; --delay: -11s; --size: 3.5px; --drift: 10px; }
.site-snow span:nth-child(11) { --x: 18%; --delay: -8s; --size: 2px; --drift: 22px; }
.site-snow span:nth-child(12) { --x: 25%; --delay: -22s; --drift: -19px; }
.site-snow span:nth-child(13) { --x: 39%; --delay: -20s; --size: 2px; --drift: 8px; --snow-opacity: .33; }
.site-snow span:nth-child(14) { --x: 56%; --delay: -4s; --size: 1.5px; --drift: 10px; --snow-opacity: .3; }
.site-snow span:nth-child(15) { --x: 72%; --delay: -19s; --duration: 31s; --size: 2px; --drift: 13px; }
.site-snow span:nth-child(16) { --x: 86%; --delay: -10s; --drift: -19px; }
.site-snow span:nth-child(17) { --x: 95%; --delay: -3s; --size: 3.5px; --drift: 8px; }
.site-snow span:nth-child(18) { --x: 99%; --delay: -15s; --size: 2px; --drift: -16px; }

@keyframes ceia-snow {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  13%, 82% { opacity: var(--snow-opacity, .56); }
  100% { opacity: 0; transform: translate3d(var(--drift), var(--fall), 0); }
}

.hero-controls {
  display: flex;
  justify-content: flex-end;
  font-size: .79rem;
}
.motion-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .38rem;
  padding: 0 .2rem;
  border: 0;
  color: #ffe0a5;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #efca8780;
  text-underline-offset: .18rem;
}
.motion-toggle::before {
  content: "";
  width: .4rem;
  height: .55rem;
  border-inline: 1.5px solid currentColor;
}
html[data-motion-paused] .motion-toggle::before {
  border: 0;
  width: .43rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
}
html[data-motion-paused] { scroll-behavior: auto; }
html[data-motion-paused] .site-snow { display: none; }
html[data-page-hidden] .site-snow span { animation-play-state: paused; }
html[data-motion-paused] :is(.hero-ambient, .plans-spectrum),
html[data-motion-paused] .hero::before { animation-play-state: paused; }
html[data-motion-paused] .quiz-answer { animation: none; }
html[data-motion-paused].motion-ready [data-reveal-on-scroll] {
  opacity: 1;
  transform: none;
  transition: none;
}

.closing { position: relative; }
.closing::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #efca877a 36% 64%, transparent);
  content: "";
}
.closing::after {
  position: absolute;
  top: -.33rem;
  left: calc(50% - .33rem);
  width: .66rem;
  aspect-ratio: 1;
  background: #efca87;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  content: "";
  pointer-events: none;
}
.photo-card-lettering {
  position: absolute;
  top: 46.5%;
  left: 48%;
  width: 22%;
  transform: translate(-50%, -50%) rotate(-5.5deg);
  color: #562525;
  text-align: center;
  pointer-events: none;
}
.photo-card-lettering small, .photo-card-lettering b { display: block; white-space: nowrap; }
.photo-card-lettering small {
  font: 800 clamp(.32rem, 1vw, .55rem)/1.1 system-ui, sans-serif;
  font-size: clamp(.31rem, 1.5cqi, .55rem);
  letter-spacing: .06em;
}
.photo-card-lettering b {
  margin-top: .18rem;
  font: italic 700 clamp(.61rem, 1.65vw, 1.1rem)/1.06 var(--serif);
  font-size: clamp(.57rem, 2.7cqi, 1.02rem);
}

.showcase {
  padding-block: clamp(2rem, 5vw, 3.75rem);
  background: #f6eddb;
  color: var(--ink);
}
.showcase-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .45rem 1.5rem;
  margin-bottom: 1.2rem;
}
.showcase-intro h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.showcase h2 em, .scene h2 em, .occasions h2 em,
.steps h2 em, .evidence h2 em { color: #8b2337; }
.showcase-intro p, .scene-copy p:not(.overline),
.occasions .section-heading p, .evidence .section-heading p { color: #485246; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.42rem, 1.4vw, 1rem);
}
.showcase-item {
  display: flex;
  flex-direction: column;
  gap: .46rem;
  min-width: 0;
  color: #283c2e;
  text-decoration: none;
  font-weight: 750;
  font-size: clamp(.83rem, 1.42vw, .96rem);
  line-height: 1.25;
}
.sample-face {
  display: grid;
  place-content: center;
  gap: .26rem;
  min-height: clamp(5.8rem, 12vw, 8.2rem);
  padding: .4rem .28rem;
  text-align: center;
  background: #fff8e8;
  border: 1px solid #b3976d68;
  border-radius: .52rem;
  outline: 1px solid #997e536a;
  outline-offset: -.3rem;
  transition: transform .26s ease, box-shadow .26s ease;
}
.sample-face b {
  font-size: clamp(.56rem, 1.1vw, .77rem);
  letter-spacing: .09em;
}
.sample-face i {
  font: italic 700 clamp(.94rem, 2.2vw, 1.35rem)/1.03 var(--serif);
  letter-spacing: -.03em;
}
.sample-cover, .sample-gift { background: #153627; color: #f6d99c; }
.sample-quiz, .sample-tag { background: #94283b; color: #fff1ce; }
.sample-bingo { background: #f0d69b; color: #324b3a; }
.sample-mime { background: #e8edde; color: #274d38; }
.showcase-item:focus-visible, .scene :focus-visible,
.evidence :focus-visible { outline-color: #93283c; }
.showcase-item:hover .sample-face {
  transform: translateY(-3px);
  box-shadow: 0 .34rem .8rem #3b2c281f;
}
.showcase-item:hover > span:last-child { text-decoration: underline; text-underline-offset: .2rem; }

.scene { background: #fff9ee; color: var(--ink); }
.scene-grid, .host-grid, .decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 5vw, 4.6rem);
  align-items: center;
}
.scene-picture { margin: 0; }
.scene-picture img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: 52% 48%;
  border-radius: .7rem 2.35rem .7rem .7rem;
  background: #d6c2a5;
}
.scene-copy .overline, .evidence .overline { color: #8b2337; }
.scene-copy h2, .host h2, .occasion-decision h2 { margin-block: .65rem .85rem; }
.scene-copy p:not(.overline), .host-grid p:not(.overline),
.occasion-decision p:not(.overline) { line-height: 1.6; max-width: 33rem; }
.scene .text-link, .evidence .text-link {
  color: #8b2337;
  text-decoration-color: #8b233782;
}

.occasions { background: #f1e3cb; color: var(--ink); }
.occasions-grid, .steps-grid, .evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.35rem);
}
.occasions-grid article, .steps-grid li, .evidence-grid article {
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid #6e552e36;
  border-radius: .75rem;
  background: #fff8e9;
}
.occasions-grid article > span, .host-shape, .step-number {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  aspect-ratio: 1;
  margin-bottom: .7rem;
  border-radius: 50%;
  background: #922a3d;
  color: #ffefd0;
  font-weight: 800;
}
.occasions-grid h3, .steps-grid h3, .evidence-grid h3, .host-options h3 {
  margin-bottom: .35rem;
  font: 700 clamp(1.22rem, 2.5vw, 1.56rem)/1.1 var(--serif);
  letter-spacing: -.025em;
}
.occasions-grid p, .steps-grid p, .evidence-grid p { color: #465147; line-height: 1.53; }
.plan-sample-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  color: var(--gold-light);
  font-size: .9rem;
  font-weight: 650;
  text-underline-offset: .22rem;
}
.occasions-grid .gift-clue {
  scroll-margin-top: 1rem;
  margin-top: .85rem;
  padding: .68rem .8rem;
  border-inline-start: 2px solid #942b43;
  border-radius: .25rem;
  color: #472a34;
  background: #f3e5d8;
}
.gift-clue strong { display: block; margin-bottom: .22rem; font-size: .84rem; }
.contents-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.contents-action .content-caption { margin-top: 0; }
.contents-action .button, .decision-kits .button { text-decoration: none; }

.quiz-progress {
  appearance: none;
  display: block;
  color: #9c293f;
  accent-color: #9c293f;
  width: 6.8rem;
  height: .35rem;
  margin: .42rem 0 .8rem;
  border: 0;
  border-radius: 1rem;
  background: #e7d5b7;
  overflow: hidden;
}
.quiz-progress::-webkit-progress-bar { background: #e7d5b7; border-radius: 1rem; }
.quiz-progress::-webkit-progress-value { background: #a52c41; border-radius: 1rem; }
.quiz-progress::-moz-progress-bar { background: #a52c41; border-radius: 1rem; }
.quiz-instruction {
  margin: -.46rem 0 .65rem;
  color: #485448;
  font-size: .93rem;
  line-height: 1.42;
}
.quiz-kit-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .4rem;
  color: #6e2638;
  font-weight: 720;
  text-underline-offset: .25rem;
}
.quiz-choices [data-correct-choice] {
  padding-inline: .48rem;
  border-radius: .35rem;
  border-bottom-color: transparent;
  background: #dceadc;
  color: #264432;
  font-weight: 750;
}

.host {
  background: radial-gradient(ellipse at 85% 20%, #315440, transparent 58%), #132f24;
  color: var(--paper);
}
.host-options { display: grid; gap: .86rem; }
.host-options > div {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem;
  border: 1px solid #f1d2a156;
  border-radius: .65rem;
  background: #091c174d;
}
.host-shape { flex: none; margin: .1rem 0 0; background: #f0cf93; color: #672630; }
.host-options p, .host-grid > div:first-child p:not(.overline) { color: #e3e6d6; }

.steps { background: #fff8e9; color: var(--ink); }
.steps-grid { margin: 0; padding: 0; list-style: none; }
.steps-grid li { background: #f8ebd3; }
.step-number { background: #1d4935; }
.occasion-decision {
  color: #fff7e9;
  background: radial-gradient(ellipse at 26% 80%, #a53e4a6e, transparent 62%), #722335;
}
.occasion-decision p:not(.overline) { color: #ffded0; }
.decision-kits {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #efca878b;
  border-radius: .8rem;
  background: #32192073;
}
.decision-kits dl { margin: 0; }
.decision-kits dl div { padding: .65rem 0; border-bottom: 1px solid #f3d5b242; }
.decision-kits dt { display: flex; justify-content: space-between; gap: .5rem; font-weight: 800; }
.decision-kits dt strong { color: #ffe0a5; white-space: nowrap; }
.decision-kits dd { margin: .3rem 0 0; color: #ffdfd0; font-size: .95rem; }
.decision-kits .button { margin-top: 1.12rem; }
.evidence { background: #e8edde; color: var(--ink); }
.evidence-grid article { display: flex; flex-direction: column; }
.evidence-grid .text-link { align-self: flex-start; margin-top: auto; padding-top: .85rem; }

@media (max-width: 740px) {
  .site-snow span:nth-child(n + 11) { display: none; }
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem .55rem; }
  .scene-grid, .host-grid, .decision-grid { grid-template-columns: minmax(0, 1fr); }
  .scene-copy { grid-row: 1; }
  .occasions-grid, .steps-grid, .evidence-grid { grid-template-columns: minmax(0, 1fr); }
  .sample-face { min-height: 5.9rem; }
  .sample-face i { font-size: clamp(1rem, 4vw, 1.2rem); }
  .hero-grid h1 { max-width: 15ch; font-size: clamp(2.59rem, 10.8vw, 4.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .site-snow { display: none; }
  .motion-toggle { display: none; }
  .sample-face { transition: none; }
  .showcase-item:hover .sample-face { transform: none; }
}
