/* Peppermint Quill, site v2: "Santa's Mail Room".
   Original CSS/SVG art only. Fonts: SIL Open Font License 1.1 (assets/fonts/OFL-*.txt).
   v4: progressive-enhancement JS in assets/js/magic.js (sleigh flight, night-sky canvas, sound toggle); audio lazy-loads from assets/js/audio.js. */
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/PlayfairDisplay-VariableFont_wght.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/EBGaramond-VariableFont_wght.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("assets/fonts/EBGaramond-Italic-VariableFont_wght.woff2") format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("assets/fonts/PinyonScript-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --moon: 104px; --moon-top: 11%;
  --red:#9B2335; --dred:#6E1424; --green:#1F4D3A; --lgreen:#2E6A50; --gold:#B8893B; --lgold:#E8C982;
  --ink:#2B2320; --muted:#6A5D55; --paper:#FBF6EC; --parch:#F3E6C8; --night:#0B1430; --night2:#16264F;
  --serif:"Playfair Display", Georgia, serif; --book:"EB Garamond", Georgia, serif; --script:"Pinyon Script", cursive;
  --sans:"Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--book); color: var(--ink); background: var(--night); font-size: 19px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .45em; font-weight: 700; }
.script { font-family: var(--script); font-weight: 400; }

/* Tiny "For grown-ups" link: deliberately quiet */
.grownups-link { position: absolute; top: 14px; right: 18px; z-index: 20; font-family: var(--sans); font-size: 13px; letter-spacing: .04em;
  color: rgba(255,255,255,.62); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.35); padding-bottom: 1px; }
.grownups-link:hover, .grownups-link:focus { color: #fff; }
.brand-mini { position: absolute; top: 12px; left: 18px; z-index: 20; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8);
  font-family: var(--serif); font-size: 15px; text-decoration: none; }
.brand-mini img { width: 26px; height: 26px; }

/* ================= NIGHT SKY HERO ================= */
.sky { position: relative; overflow: hidden; min-height: max(760px, 100vh); color: #fff;
  background: linear-gradient(180deg, #070D24 0%, #0E1A3F 38%, #1D3266 72%, #2F4A82 100%); isolation: isolate; }
.stars, .stars::after { position: absolute; inset: 0; z-index: -3; content: "";
  background-image:
    radial-gradient(1.4px 1.4px at 7% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 18% 30%, #fff 60%, transparent),
    radial-gradient(1.6px 1.6px at 27% 8%, #fff 60%, transparent), radial-gradient(1px 1px at 35% 22%, #dfe8ff 60%, transparent),
    radial-gradient(1.2px 1.2px at 44% 6%, #fff 60%, transparent), radial-gradient(1px 1px at 52% 18%, #fff 60%, transparent),
    radial-gradient(1.8px 1.8px at 61% 10%, #fff7d6 60%, transparent), radial-gradient(1px 1px at 69% 27%, #fff 60%, transparent),
    radial-gradient(1.3px 1.3px at 76% 5%, #fff 60%, transparent), radial-gradient(1px 1px at 88% 20%, #fff 60%, transparent),
    radial-gradient(1.5px 1.5px at 94% 9%, #fff 60%, transparent), radial-gradient(1px 1px at 12% 44%, #fff 60%, transparent),
    radial-gradient(1px 1px at 83% 40%, #fff 60%, transparent), radial-gradient(1.2px 1.2px at 57% 35%, #fff 60%, transparent),
    radial-gradient(1px 1px at 3% 28%, #fff 60%, transparent), radial-gradient(1px 1px at 40% 40%, #dfe8ff 60%, transparent); }
.stars::after { transform: translate(3%, 4%) scale(1.1); opacity: .6; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .8; } }


.moon { position: absolute; z-index: -2; right: 9%; top: 11%; width: var(--moon); height: var(--moon); border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #FFFBEA, #F4E7B8 60%, #E6D497); box-shadow: 0 0 60px 18px rgba(255,244,200,.25); }
.moon::after { content: ""; position: absolute; width: 16px; height: 16px; left: 52%; top: 56%; border-radius: 50%; background: rgba(210,190,130,.35); box-shadow: -30px -22px 0 -3px rgba(210,190,130,.3), -12px 14px 0 -5px rgba(210,190,130,.3); }


/* Falling snow: three layers of CSS dots */
.snow { position: absolute; inset: -600px 0 0 0; pointer-events: none; z-index: 5; }
.snow.s1 { background-image: radial-gradient(3px 3px at 20px 40px, #fff 50%, transparent 52%), radial-gradient(2.6px 2.6px at 80px 300px, #fff 50%, transparent 52%), radial-gradient(3.2px 3.2px at 180px 360px, #fff 50%, transparent 52%), radial-gradient(2.4px 2.4px at 270px 140px, #fff 50%, transparent 52%), radial-gradient(2.8px 2.8px at 340px 210px, #fff 50%, transparent 52%), radial-gradient(2.5px 2.5px at 120px 160px, #fff 50%, transparent 52%), radial-gradient(3px 3px at 220px 80px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 300px 260px, #fff 50%, transparent 52%), radial-gradient(3px 3px at 360px 30px, #fff 50%, transparent 52%);
  background-size: 400px 400px; opacity: .9; animation: fall 14s linear infinite; }
.snow.s2 { background-image: radial-gradient(2px 2px at 60px 90px, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 120px 230px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 210px 110px, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 280px 40px, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 100px 160px, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 170px 20px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 250px 190px, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 30px 260px, #fff 50%, transparent 52%);
  background-size: 300px 300px; opacity: .7; animation: fall2 20s linear infinite; }
.snow.s3 { background-image: radial-gradient(4.5px 4.5px at 80px 120px, rgba(255,255,255,.95) 45%, transparent 55%), radial-gradient(4px 4px at 420px 330px, rgba(255,255,255,.9) 45%, transparent 55%);
  background-size: 560px 560px; opacity: .8; filter: blur(.6px); animation: fall3 11s linear infinite; }
@keyframes fall  { from { transform: translate(0, 0); } to { transform: translate(40px, 400px); } }
@keyframes fall2 { from { transform: translate(0, 0); } to { transform: translate(-30px, 300px); } }
@keyframes fall3 { from { transform: translate(0, 0); } to { transform: translate(60px, 560px); } }

.hero-copy { position: relative; z-index: 6; text-align: center; padding: 92px 20px 0; max-width: 900px; margin: 0 auto; }
.hero-copy .kicker { font-family: var(--serif); font-variant: small-caps; letter-spacing: .35em; color: var(--lgold); font-size: 15px; margin: 0 0 6px; }
.hero-copy h1 { font-family: var(--script); font-weight: 400; font-size: clamp(54px, 9vw, 112px); line-height: 1.05; color: #FFF6DF;
  text-shadow: 0 0 28px rgba(255,220,140,.35), 0 2px 0 rgba(0,0,0,.25); margin: 0; }
/* v4: always break as "Welcome to Santa's / Mail Room" so the title never runs under the moon on 861-1200px screens */
@media (min-width: 861px) { .hero-copy h1 { max-width: 7.4em; margin-inline: auto; } }
.hero-copy .sub { font-size: clamp(19px, 2.2vw, 23px); color: #E6ECFF; max-width: 640px; margin: 14px auto 0; font-style: italic; }

.village { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 4; width: 100%; height: max(clamp(260px, 36vw, 440px), calc(100vw * 440 / 1440 + 2px)); }
.glow { animation: glow 3.5s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
.bulbs circle { animation: glow 1.8s ease-in-out infinite alternate; }
.bulbs circle:nth-child(3n) { animation-delay: .6s; } .bulbs circle:nth-child(3n+1) { animation-delay: 1.2s; }

.peek { display: inline-block; margin-top: 26px; color: #FFF6DF; text-decoration: none; font-family: var(--serif); font-size: 17px; letter-spacing: .06em; border: 1px solid rgba(255,246,223,.45); padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(2px); }
.peek:hover { background: rgba(255,255,255,.14); }

/* Welcome note pinned to the hero */
.welcome { position: absolute; z-index: 7; left: max(28px, 4vw); bottom: clamp(150px, 17vw, 250px); width: min(380px, 30vw); text-align: left; background: var(--parch); color: var(--ink);
  border-radius: 4px; padding: 26px 32px 22px; transform: rotate(-1.2deg); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background-image: radial-gradient(circle at 20% 15%, rgba(255,255,255,.55), transparent 40%), radial-gradient(circle at 85% 90%, rgba(184,137,59,.18), transparent 45%); }
.welcome p { margin: 0 0 .5em; font-size: 17.5px; line-height: 1.5; }
.welcome .sig { font-family: var(--script); color: var(--red); font-size: 38px; line-height: 1; margin: 4px 0 0; }
.welcome .seal { position: absolute; right: -22px; bottom: -26px; width: 88px; transform: rotate(-12deg); filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }

/* ================= SANTA'S DESK ================= */
.desk { position: relative; background: #3A2318; color: #F7EDD8; padding: 90px 0 100px;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 120px), linear-gradient(180deg, #2B1912, #4A2D1F 30%, #3A2318); }
.desk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 45%, rgba(255,190,90,.22), transparent 55%); pointer-events: none; }
.desk .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--serif); font-variant: small-caps; letter-spacing: .3em; font-size: 15px; color: var(--lgold); margin: 0 0 8px; }
.desk h2 { font-size: clamp(34px, 4.5vw, 50px); color: #FFF3D6; }
.desk p { color: #EBDDC2; }
.desk .from { font-family: var(--script); color: var(--lgold); font-size: 36px; margin-top: 4px; }

.writing { position: relative; }
.sheet { position: relative; background: var(--paper); color: var(--ink); border-radius: 3px; padding: 40px 44px 56px; min-height: 360px; transform: rotate(-2deg);
  box-shadow: 0 22px 40px rgba(0,0,0,.45); border: 1px solid #E5D6B5; }
.sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); pointer-events: none; }
.sheet .head { text-align: center; font-family: var(--serif); color: var(--red); font-size: 22px; letter-spacing: .05em; }
.sheet .head small { display: block; font-variant: small-caps; color: var(--green); letter-spacing: .3em; font-size: 12px; }
.sheet .line { font-family: var(--book); font-size: 20px; line-height: 1.55; white-space: nowrap; position: relative; }
.sheet .line::after { content: ""; position: absolute; inset: -2px -4px; background: var(--paper); transform-origin: right center; animation: write 2.4s steps(42, end) forwards; animation-delay: inherit; }
.sheet .line.dear { font-family: var(--script); color: var(--red); font-size: 30px; margin-top: 12px; }
.sheet .line.dear::after { animation-duration: 1.2s; }
.sheet .l1::after { animation-delay: .4s; } .sheet .l2::after { animation-delay: 1.8s; } .sheet .l3::after { animation-delay: 4.2s; } .sheet .l4::after { animation-delay: 6.6s; } .sheet .l5::after { animation-delay: 9s; }
@keyframes write { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.quill { position: absolute; width: 120px; right: 6%; bottom: 8%; transform: rotate(8deg); transform-origin: bottom left; animation: scribble 1.1s ease-in-out infinite alternate; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); }
@keyframes scribble { from { transform: rotate(6deg) translateX(0); } to { transform: rotate(11deg) translateX(-6px); } }
.candle { position: absolute; width: 74px; left: -34px; bottom: -18px; }
.flame { animation: flicker .18s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom center; }
@keyframes flicker { from { transform: scale(1, 1); } to { transform: scale(.92, 1.08) rotate(2deg); } }
.mug { position: absolute; width: 88px; right: -30px; top: -76px; overflow: visible; }

/* ================= ELVES AT WORK ================= */
.workshop { position: relative; background: linear-gradient(180deg, #1F4D3A, #173D2E); color: #EEF3EC; padding: 90px 0 100px; overflow: hidden; }
.workshop::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.06) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.05) 0 2px, transparent 3px); background-size: 140px 140px, 200px 200px; }
.workshop h2 { text-align: center; font-size: clamp(34px, 4.5vw, 50px); color: #FFF3D6; }
.workshop .lead { text-align: center; max-width: 640px; margin: 0 auto 50px; color: #D6E4DA; }
.bunting { position: absolute; top: 0; left: 0; right: 0; height: 40px; }
.elves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.elf-card { background: var(--parch); color: var(--ink); border-radius: 6px; padding: 26px 24px 28px; text-align: center; position: relative; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.elf-card:nth-child(1) { transform: rotate(-1.5deg); } .elf-card:nth-child(2) { transform: rotate(1deg) translateY(14px); } .elf-card:nth-child(3) { transform: rotate(-.6deg); }
.elf-card svg { width: 150px; height: 170px; margin: -70px auto 6px; }
.elf-card h3 { font-family: var(--script); font-weight: 400; font-size: 42px; color: var(--red); margin: 0; line-height: 1.1; }
.elf-card .job { font-family: var(--serif); font-variant: small-caps; letter-spacing: .2em; color: var(--green); font-size: 14px; margin-bottom: 10px; }
.elf-card p { margin: 0; font-size: 18px; }
.pin { position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e46a7b, var(--red)); box-shadow: 0 2px 3px rgba(0,0,0,.3); }
.bob { animation: bob 3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom center; }
@keyframes bob { to { transform: translateY(-4px) rotate(1.5deg); } }

/* ================= NOTICE BOARD ================= */
.board-sec { background: linear-gradient(180deg, #2A1A12, #3B261A); padding: 90px 0; color: #F7EDD8; }
.board-sec h2 { text-align: center; font-size: clamp(32px, 4.2vw, 46px); color: #FFF3D6; }
.board { margin: 40px auto 0; max-width: 980px; background: #A97E55; border: 14px solid #5C3A24; border-radius: 8px; padding: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background-image: radial-gradient(rgba(0,0,0,.12) 1px, transparent 1.5px), radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 9px 9px, 13px 13px; box-shadow: inset 0 0 30px rgba(0,0,0,.35), 0 20px 40px rgba(0,0,0,.4); }
.note { background: #FFF9E8; color: var(--ink); padding: 26px 18px 18px; font-size: 17px; line-height: 1.45; position: relative; box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.note:nth-child(odd) { transform: rotate(-2.5deg); } .note:nth-child(even) { transform: rotate(2deg); background: #F3E6C8; }
.note .who { display: block; font-family: var(--script); color: var(--green); font-size: 24px; margin-top: 6px; text-align: right; }
.note .pin { top: 6px; }
.note.list { background: #fff; }
.note.list ul { margin: 0; padding-left: 18px; }

/* ================= KIDS' CLOSING ================= */
.goodnight { isolation: isolate; position: relative; background: linear-gradient(180deg, #16264F, #0B1430); color: #fff; text-align: center; padding: 90px 20px 0; overflow: hidden; }
.goodnight h2 { font-family: var(--script); font-weight: 400; font-size: clamp(46px, 7vw, 80px); color: #FFF6DF; margin: 0; }
.goodnight p { max-width: 620px; margin: 10px auto 0; color: #DCE4FF; font-size: 20px; }
.goodnight .hills { display: block; width: calc(100% + 40px); max-width: none; height: 140px; margin: 50px -20px 0; }
.site-foot { background: #F7FAFF; color: #4A5470; font-family: var(--sans); font-size: 14px; text-align: center; padding: 6px 20px 30px; }
.site-foot a { color: #3A4A78; }
.site-foot .small { opacity: .8; font-size: 12.5px; margin-top: 6px; }

@media (max-width: 860px) {
  .desk .wrap { grid-template-columns: 1fr; gap: 50px; }
  .elves { grid-template-columns: 1fr; gap: 80px; max-width: 420px; margin: 70px auto 0; }
  .elf-card:nth-child(n) { transform: none; }
  .board { grid-template-columns: 1fr 1fr; padding: 20px; gap: 18px; border-width: 10px; }
  .welcome { position: relative; left: auto; bottom: auto; width: auto; max-width: 520px; margin: 26px 18px 0; }
  .sky { display: flex; flex-direction: column; min-height: 0; }
  .snowfield { order: 3; background: #F4F8FF; padding: 0 0 46px; position: relative; z-index: 7; }
  .sky .welcome { margin: -34px auto 0; width: calc(100% - 36px); }
  .sky { --moon: 46px; --moon-top: 50px; }
  .moon { top: var(--moon-top); right: 14px; }
  .hero-copy { padding-top: 96px; }
  .hero-copy .kicker { font-size: 11.5px; letter-spacing: .16em; }
  .sheet { padding: 28px 24px 34px; } .sheet .line { font-size: 16px; }
  .hero-copy { padding-top: 76px; }
}
@media (max-width: 480px) { body { font-size: 18px; } .board { grid-template-columns: 1fr; } .mug { width: 64px; right: -6px; top: -62px; } .candle { left: -8px; width: 58px; } .welcome .seal { right: -8px; width: 70px; } }

/* ================= PARENTS' CORNER (parents.html) ================= */
.parents { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; }
.p-top { position: relative; background: linear-gradient(180deg, #0E1A3F, #1D3266); color: #fff; padding: 70px 20px 90px; text-align: center; overflow: hidden; }
.p-top .snow { z-index: 1; opacity: .5; }
.p-top > * { position: relative; z-index: 2; }
.p-top h1 { font-family: var(--script); font-weight: 400; color: #FFF6DF; font-size: clamp(48px, 7vw, 78px); margin: 0; }
.p-top p { max-width: 640px; margin: 8px auto 0; color: #DCE4FF; font-family: var(--book); font-size: 20px; font-style: italic; }
.p-top .back { position: absolute; top: 14px; left: 18px; z-index: 3; color: rgba(255,255,255,.75); font-size: 14px; text-decoration: none; }
.p-top .back:hover { color: #fff; }
.p-top .edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; width: 100%; z-index: 2; }
.p-main { padding: 40px 0 70px; }
.p-main .wrap { max-width: 860px; }
.p-main h2 { font-family: var(--serif); color: var(--green); font-size: 30px; margin: 56px 0 14px; display: flex; align-items: center; gap: 12px; }
.p-main h2::before { content: ""; width: 28px; height: 28px; flex: none; background: url("assets/img/seal.svg") center/contain no-repeat; }
.p-main p, .p-main li { line-height: 1.65; }
.reassure { background: #fff; border: 1px solid #E8DCC4; border-left: 5px solid var(--green); border-radius: 8px; padding: 18px 22px; margin-top: 10px; }
.reassure strong { color: var(--green); }
.option { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; background: #fff; border: 1px solid #E8DCC4; border-radius: 10px; padding: 22px 24px; margin-top: 14px; }
.option h3 { font-family: var(--serif); font-size: 21px; color: var(--dred); margin: 0; font-weight: 600; }
.option .price { font-family: var(--serif); color: var(--ink); font-size: 18px; margin-left: 6px; font-weight: 400; color: var(--muted); }
.option p { margin: 4px 0 0; color: var(--muted); font-size: 16px; grid-column: 1; }
.option .choose { grid-row: 1 / span 2; grid-column: 2; font-family: var(--sans); font-size: 15px; color: var(--green); border: 1.5px solid var(--green); padding: 10px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.option .choose:hover { background: var(--green); color: #fff; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list > li { counter-increment: s; position: relative; padding: 4px 0 14px 52px; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--parch); color: var(--dred); font-family: var(--serif); font-weight: 700; display: grid; place-items: center; border: 1px solid #E2CF9F; }
.dates { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #E8DCC4; border-radius: 10px; }
.dates li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid #F0E6D2; }
.dates li:last-child { border-bottom: 0; }
.dates .d { font-family: var(--serif); color: var(--dred); font-size: 19px; }
.p-main details { border-bottom: 1px solid #E8DCC4; padding: 14px 2px; }
.p-main summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.p-main summary::-webkit-details-marker { display: none; }
.p-main summary::after { content: "+"; position: absolute; right: 2px; top: -3px; font-size: 22px; color: var(--green); }
.p-main details[open] summary::after { content: "\2212"; }
.p-main details p { margin: 8px 0 0; color: var(--muted); }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.samples figure { margin: 0; } .samples img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.12); border: 1px solid #E8DCC4; }
.samples figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.fields { columns: 2; padding-left: 20px; margin: 8px 0; } .fields li { padding: 1px 0; }
.p-foot { background: #EFE5D0; color: #5d5246; font-size: 14px; text-align: center; padding: 26px 20px; }
.p-foot a { color: var(--dred); }
@media (max-width: 600px) {
  .option { grid-template-columns: 1fr; } .option .choose { grid-row: auto; grid-column: 1; text-align: center; margin-top: 10px; }
  .dates li { grid-template-columns: 1fr; gap: 2px; } .samples { grid-template-columns: 1fr; } .fields { columns: 1; }
}

/* Privacy page (shares parents styles) */
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #EFE5D0; vertical-align: top; }
.doc th { background: var(--parch); }
.doc .summary { background: #fff; border-left: 5px solid var(--green); border-radius: 8px; padding: 16px 22px; }
@media (max-width: 600px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td { border: 0; padding: 3px 12px; } .doc tr { border-bottom: 1px solid #EFE5D0; padding: 8px 0; } .doc td:first-child { font-weight: 700; } }

/* Respect reduced motion: everything visible and still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sheet .line::after { display: none; }
  .snow.s3 { display: none; }
  /* calm, not dead: slow twinkles and soft light only (no travel, no falling) */
  .tw { animation: tw 9s ease-in-out infinite !important; animation-delay: var(--d, 0s) !important; }
  .stars::after { animation: twinkle 12s ease-in-out infinite alternate !important; }
  .glow, .bulbs circle, .mantel-lights .gl { animation: glow 6s ease-in-out infinite alternate !important; }
  .fire-light, .board::after { animation: hearthCalm 7s ease-in-out infinite alternate !important; }
  .fire-glow, .hearth-glow, .coal { animation: glow 4s ease-in-out infinite alternate !important; }
  .fl { animation: flameCalm 3.2s ease-in-out infinite alternate !important; }
  .wisp { animation: steamCalm 8s ease-in-out infinite !important; }
}

/* ===================== v3 motion layer (transform/opacity only) ===================== */
/* Northern lights: layered soft ribbons + shimmering curtain rays. No blur filters (cheap on phones). */
.aurora { position: absolute; z-index: -2; inset: 0 0 auto 0; height: 72%; pointer-events: none; overflow: hidden; }
.aurora .rb { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.aurora .r1 { left: -15%; top: -6%; width: 85%; height: 52%; background: radial-gradient(closest-side, rgba(120,255,190,.55), rgba(70,225,195,.28) 55%, rgba(70,225,195,0)); transform: rotate(-12deg) skewX(-24deg);
  animation: flowA 19s ease-in-out infinite alternate, breathe 7s ease-in-out infinite alternate; }
.aurora .r2 { left: 22%; top: 4%; width: 90%; height: 44%; background: radial-gradient(closest-side, rgba(110,245,210,.42), rgba(120,140,255,.22) 60%, rgba(120,140,255,0)); transform: rotate(7deg) skewX(18deg);
  animation: flowB 23s ease-in-out infinite alternate, breathe 9s ease-in-out -3s infinite alternate; }
.aurora .r3 { left: 5%; top: 22%; width: 70%; height: 26%; background: radial-gradient(closest-side, rgba(200,130,255,.28), rgba(110,235,200,.16) 60%, rgba(110,235,200,0)); transform: rotate(-4deg) skewX(-10deg);
  animation: flowA 27s ease-in-out -8s infinite alternate-reverse, breathe 11s ease-in-out -5s infinite alternate; }
.aurora .r4 { left: 45%; top: -10%; width: 60%; height: 34%; background: radial-gradient(closest-side, rgba(150,255,200,.35), rgba(150,255,200,0)); transform: rotate(14deg);
  animation: flowB 31s ease-in-out -12s infinite alternate-reverse, breathe 8s ease-in-out -2s infinite alternate; }
.aurora .rays { position: absolute; inset: -5% -15% 20% -15%; opacity: .55;
  background: repeating-linear-gradient(97deg, rgba(160,255,215,0) 0 16px, rgba(160,255,215,.16) 21px, rgba(160,255,215,0) 28px, rgba(160,255,215,0) 44px, rgba(150,230,255,.10) 50px, rgba(150,230,255,0) 58px);
  -webkit-mask-image: radial-gradient(ellipse 55% 38% at 42% 30%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 55% 38% at 42% 30%, #000 25%, transparent 72%);
  animation: rays 17s ease-in-out infinite alternate, shimmer 4.5s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes flowA { 0% { transform: translateX(-5%) rotate(-12deg) skewX(-24deg) scaleY(.9); } 50% { transform: translateX(4%) rotate(-7deg) skewX(-6deg) scaleY(1.15); } 100% { transform: translateX(9%) rotate(-3deg) skewX(12deg) scaleY(.95); } }
@keyframes flowB { 0% { transform: translateX(6%) rotate(7deg) skewX(18deg) scaleY(1); } 50% { transform: translateX(-3%) rotate(11deg) skewX(4deg) scaleY(1.25); } 100% { transform: translateX(-9%) rotate(4deg) skewX(-14deg) scaleY(.85); } }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
@keyframes rays { from { transform: translateX(-5%) skewX(-6deg); } to { transform: translateX(5%) skewX(6deg); } }
@keyframes shimmer { from { opacity: .3; } to { opacity: .7; } }

/* Extra twinkling stars */
.tw { position: absolute; z-index: -2; width: 14px; height: 14px; margin: -7px; pointer-events: none;
  background: radial-gradient(circle, #fff 0 1.4px, rgba(255,255,255,0) 2.6px), linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)) center/100% 1px no-repeat, linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)) center/1px 100% no-repeat;
  animation: tw 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes tw { 0%, 100% { opacity: .15; transform: scale(.55) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Santa's flight (v4): assets/js/magic.js moves .flight along a smooth spline that crosses the moon, banking with
   the direction of travel and easing off into the distance. CSS only sizes it; it stays hidden until JS places it. */
.flight { position: absolute; z-index: -1; left: 0; top: 0; width: 170px; height: 46px; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.sleigh-fly { width: 100%; height: 100%; filter: drop-shadow(0 0 2.5px rgba(255,236,190,.5)); overflow: visible; }
.sleigh-fly .rd, .sleigh-static .rd { animation: gallop .62s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.16s); }
@keyframes gallop { from { transform: translateY(1.2px); } to { transform: translateY(-1.6px); } }
.sleigh-dust { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.sleigh-dust i { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px; border-radius: 50%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle, #FFFBEA 0 22%, rgba(255,226,150,.75) 38%, rgba(255,214,120,0) 70%); }
.sleigh-dust i.st { background: radial-gradient(circle, #fff 0 1.2px, rgba(255,255,255,0) 2.4px), linear-gradient(90deg, rgba(255,248,220,0), rgba(255,248,220,.95), rgba(255,248,220,0)) center/100% 1px no-repeat, linear-gradient(0deg, rgba(255,248,220,0), rgba(255,248,220,.95), rgba(255,248,220,0)) center/1px 100% no-repeat; }
.sleigh-static { display: none; position: absolute; z-index: -1; width: 150px; right: calc(9% - 28px); top: calc(var(--moon-top) + var(--moon) / 2 - 20px); }

/* Snow: three parallax layers. Each = sway wrapper (side-to-side drift) + falling tile (seamless loop). */
.snowlayer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.snowlayer .flakes { position: absolute; left: -60px; right: -60px; will-change: transform; }
.snowlayer.far  { z-index: 2; animation: sway 9s ease-in-out infinite alternate; }
.snowlayer.mid  { z-index: 4; animation: sway 6.5s ease-in-out -2s infinite alternate; --sw: 22px; }
.snowlayer.near { z-index: 6; animation: sway 5s ease-in-out -1s infinite alternate; --sw: 36px; }
.snowlayer.far .flakes  { top: -300px; bottom: 0; background-image: radial-gradient(circle at 142px 197px, rgba(255,255,255,0.59) 0, rgba(255,255,255,0.59) 0.8px, rgba(255,255,255,0) 1.9px), radial-gradient(circle at 3px 112px, rgba(255,255,255,0.79) 0, rgba(255,255,255,0.79) 0.7px, rgba(255,255,255,0) 1.5px), radial-gradient(circle at 207px 180px, rgba(255,255,255,0.75) 0, rgba(255,255,255,0.75) 0.8px, rgba(255,255,255,0) 1.8px), radial-gradient(circle at 44px 132px, rgba(255,255,255,0.82) 0, rgba(255,255,255,0.82) 0.6px, rgba(255,255,255,0) 1.4px), radial-gradient(circle at 18px 246px, rgba(255,255,255,0.76) 0, rgba(255,255,255,0.76) 0.6px, rgba(255,255,255,0) 1.3px), radial-gradient(circle at 101px 121px, rgba(255,255,255,0.56) 0, rgba(255,255,255,0.56) 0.9px, rgba(255,255,255,0) 2.0px), radial-gradient(circle at 18px 275px, rgba(255,255,255,0.58) 0, rgba(255,255,255,0.58) 0.8px, rgba(255,255,255,0) 1.7px), radial-gradient(circle at 296px 284px, rgba(255,255,255,0.68) 0, rgba(255,255,255,0.68) 0.6px, rgba(255,255,255,0) 1.3px), radial-gradient(circle at 41px 94px, rgba(255,255,255,0.60) 0, rgba(255,255,255,0.60) 0.8px, rgba(255,255,255,0) 1.8px), radial-gradient(circle at 209px 15px, rgba(255,255,255,0.79) 0, rgba(255,255,255,0.79) 0.6px, rgba(255,255,255,0) 1.4px), radial-gradient(circle at 120px 126px, rgba(255,255,255,0.69) 0, rgba(255,255,255,0.69) 0.8px, rgba(255,255,255,0) 1.8px), radial-gradient(circle at 115px 9px, rgba(255,255,255,0.84) 0, rgba(255,255,255,0.84) 0.9px, rgba(255,255,255,0) 1.9px), radial-gradient(circle at 293px 199px, rgba(255,255,255,0.66) 0, rgba(255,255,255,0.66) 0.7px, rgba(255,255,255,0) 1.6px), radial-gradient(circle at 207px 202px, rgba(255,255,255,0.62) 0, rgba(255,255,255,0.62) 0.6px, rgba(255,255,255,0) 1.3px), radial-gradient(circle at 109px 153px, rgba(255,255,255,0.70) 0, rgba(255,255,255,0.70) 0.9px, rgba(255,255,255,0) 2.0px), radial-gradient(circle at 8px 247px, rgba(255,255,255,0.71) 0, rgba(255,255,255,0.71) 0.7px, rgba(255,255,255,0) 1.6px), radial-gradient(circle at 67px 128px, rgba(255,255,255,0.78) 0, rgba(255,255,255,0.78) 0.7px, rgba(255,255,255,0) 1.6px), radial-gradient(circle at 31px 165px, rgba(255,255,255,0.76) 0, rgba(255,255,255,0.76) 0.6px, rgba(255,255,255,0) 1.4px), radial-gradient(circle at 11px 83px, rgba(255,255,255,0.74) 0, rgba(255,255,255,0.74) 0.7px, rgba(255,255,255,0) 1.5px), radial-gradient(circle at 16px 138px, rgba(255,255,255,0.63) 0, rgba(255,255,255,0.63) 0.6px, rgba(255,255,255,0) 1.4px), radial-gradient(circle at 143px 288px, rgba(255,255,255,0.84) 0, rgba(255,255,255,0.84) 0.8px, rgba(255,255,255,0) 1.7px), radial-gradient(circle at 50px 277px, rgba(255,255,255,0.61) 0, rgba(255,255,255,0.61) 0.7px, rgba(255,255,255,0) 1.6px), radial-gradient(circle at 225px 274px, rgba(255,255,255,0.63) 0, rgba(255,255,255,0.63) 0.5px, rgba(255,255,255,0) 1.2px), radial-gradient(circle at 231px 103px, rgba(255,255,255,0.55) 0, rgba(255,255,255,0.55) 0.6px, rgba(255,255,255,0) 1.4px), radial-gradient(circle at 12px 186px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 1.0px, rgba(255,255,255,0) 2.2px), radial-gradient(circle at 151px 7px, rgba(255,255,255,0.79) 0, rgba(255,255,255,0.79) 0.7px, rgba(255,255,255,0) 1.5px); background-size: 300px 300px; opacity: .75; animation: fallT 30s linear infinite; --tile: 300px; }
.snowlayer.mid .flakes  { top: -420px; bottom: 0; background-image: radial-gradient(circle at 349px 269px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 201px 263px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 376px 68px, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.92) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 117px 396px, rgba(255,255,255,0.87) 0, rgba(255,255,255,0.87) 1.4px, rgba(255,255,255,0) 3.0px), radial-gradient(circle at 296px 90px, rgba(255,255,255,0.76) 0, rgba(255,255,255,0.76) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 287px 292px, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.92) 1.2px, rgba(255,255,255,0) 2.6px), radial-gradient(circle at 177px 101px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.3px, rgba(255,255,255,0) 2.9px), radial-gradient(circle at 235px 262px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 319px 175px, rgba(255,255,255,0.93) 0, rgba(255,255,255,0.93) 1.4px, rgba(255,255,255,0) 3.1px), radial-gradient(circle at 331px 244px, rgba(255,255,255,0.79) 0, rgba(255,255,255,0.79) 1.3px, rgba(255,255,255,0) 2.8px), radial-gradient(circle at 309px 237px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 1.1px, rgba(255,255,255,0) 2.4px), radial-gradient(circle at 380px 335px, rgba(255,255,255,0.93) 0, rgba(255,255,255,0.93) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 225px 331px, rgba(255,255,255,0.72) 0, rgba(255,255,255,0.72) 1.3px, rgba(255,255,255,0) 2.9px), radial-gradient(circle at 148px 131px, rgba(255,255,255,0.87) 0, rgba(255,255,255,0.87) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 227px 261px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 1.1px, rgba(255,255,255,0) 2.5px); background-size: 420px 420px; opacity: .9; animation: fallT 15s linear infinite; --tile: 420px; }
.snowlayer.near .flakes { top: -640px; bottom: 0; background-image: radial-gradient(circle at 448px 252px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 2.2px, rgba(255,255,255,0) 5.0px), radial-gradient(circle at 207px 439px, rgba(255,255,255,0.77) 0, rgba(255,255,255,0.77) 2.2px, rgba(255,255,255,0) 4.8px), radial-gradient(circle at 200px 445px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 2.7px, rgba(255,255,255,0) 6.0px), radial-gradient(circle at 598px 234px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 2.1px, rgba(255,255,255,0) 4.6px), radial-gradient(circle at 284px 115px, rgba(255,255,255,0.82) 0, rgba(255,255,255,0.82) 2.6px, rgba(255,255,255,0) 5.8px), radial-gradient(circle at 153px 210px, rgba(255,255,255,0.75) 0, rgba(255,255,255,0.75) 2.9px, rgba(255,255,255,0) 6.4px); background-size: 640px 640px; opacity: .85; animation: fallT 8.5s linear infinite; --tile: 640px; }
@keyframes fallT { from { transform: translateY(0); } to { transform: translateY(var(--tile)); } }
@keyframes sway { from { transform: translateX(calc(var(--sw, 12px) * -1)); } to { transform: translateX(var(--sw, 12px)); } }

/* Village in two planes so the mid snow falls between buildings and foreground trees */
.sky { --vh-village: max(clamp(260px, 36vw, 440px), calc(100vw * 440 / 1440 + 2px)); }
.village-wrap { position: absolute; left: 0; right: 0; bottom: -2px; height: var(--vh-village); }
@media (min-width: 861px) { .sky { min-height: max(760px, 100vh, calc(var(--vh-village) * .66 + 560px)); } }
.village-wrap .village { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-back { z-index: 3; } .v-front { z-index: 5; }

/* Mid-size desktops (e.g. 1280px laptops): keep Santa's note clear of the subtitle */
@media (min-width: 861px) and (max-width: 1500px) {
  .welcome { width: min(300px, 25vw); padding: 20px 24px 18px; bottom: clamp(110px, 10vw, 150px); }
  .welcome p { font-size: 15.5px; } .welcome .sig { font-size: 32px; } .welcome .seal { width: 72px; right: -16px; bottom: -20px; }
}
/* Chimney smoke: soft puffs rise, grow, drift with the wind and fade */
.smoke circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: puff 7.2s cubic-bezier(.3,.1,.5,1) infinite; will-change: transform, opacity; }
.smoke.small circle { animation-name: puffSmall; animation-duration: 6.4s; }
@keyframes puff { 0% { transform: translate(0,0) scale(.3); opacity: 0; } 10% { opacity: .55; } 40% { transform: translate(10px,-50px) scale(1.5); opacity: .42; } 70% { transform: translate(30px,-100px) scale(2.4); opacity: .22; } 100% { transform: translate(58px,-150px) scale(3.3); opacity: 0; } }
@keyframes puffSmall { 0% { transform: translate(0,0) scale(.3); opacity: 0; } 12% { opacity: .5; } 50% { transform: translate(12px,-36px) scale(1.7); opacity: .3; } 100% { transform: translate(32px,-76px) scale(2.8); opacity: 0; } }

@media (max-width: 860px) {
  .village-wrap { position: relative; order: 2; height: clamp(300px, 82vw, 360px); margin-top: 10px; left: auto; right: auto; bottom: auto; }
  .flight { width: 96px; height: 26px; }
  .sleigh-static { width: 84px; right: 2px; top: calc(var(--moon-top) + var(--moon) / 2 - 12px); }
  .snowlayer.near .flakes { opacity: .6; }
  .aurora .rays { opacity: .4; }
}

/* ===================== Grown-ups transition (added by assets/js/mailroom.js) ===================== */
.pq-tx { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; overflow: hidden; pointer-events: auto; cursor: pointer; }
.pq-tx.go { display: grid; }
.pq-tx .dim { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(22,38,79,.82), rgba(7,13,36,.96)); opacity: 0; }
.pq-tx.go .dim { animation: txDim .3s ease-out forwards; }
.pq-tx .flurry { position: absolute; left: -10%; right: -10%; top: -640px; bottom: 0; background-image: radial-gradient(circle at 448px 252px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 2.2px, rgba(255,255,255,0) 5.0px), radial-gradient(circle at 207px 439px, rgba(255,255,255,0.77) 0, rgba(255,255,255,0.77) 2.2px, rgba(255,255,255,0) 4.8px), radial-gradient(circle at 200px 445px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 2.7px, rgba(255,255,255,0) 6.0px), radial-gradient(circle at 598px 234px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 2.1px, rgba(255,255,255,0) 4.6px), radial-gradient(circle at 284px 115px, rgba(255,255,255,0.82) 0, rgba(255,255,255,0.82) 2.6px, rgba(255,255,255,0) 5.8px), radial-gradient(circle at 153px 210px, rgba(255,255,255,0.75) 0, rgba(255,255,255,0.75) 2.9px, rgba(255,255,255,0) 6.4px), radial-gradient(circle at 349px 269px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 201px 263px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 376px 68px, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.92) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 117px 396px, rgba(255,255,255,0.87) 0, rgba(255,255,255,0.87) 1.4px, rgba(255,255,255,0) 3.0px), radial-gradient(circle at 296px 90px, rgba(255,255,255,0.76) 0, rgba(255,255,255,0.76) 1.2px, rgba(255,255,255,0) 2.7px), radial-gradient(circle at 287px 292px, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.92) 1.2px, rgba(255,255,255,0) 2.6px), radial-gradient(circle at 177px 101px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.3px, rgba(255,255,255,0) 2.9px), radial-gradient(circle at 235px 262px, rgba(255,255,255,0.94) 0, rgba(255,255,255,0.94) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 319px 175px, rgba(255,255,255,0.93) 0, rgba(255,255,255,0.93) 1.4px, rgba(255,255,255,0) 3.1px), radial-gradient(circle at 331px 244px, rgba(255,255,255,0.79) 0, rgba(255,255,255,0.79) 1.3px, rgba(255,255,255,0) 2.8px), radial-gradient(circle at 309px 237px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 1.1px, rgba(255,255,255,0) 2.4px), radial-gradient(circle at 380px 335px, rgba(255,255,255,0.93) 0, rgba(255,255,255,0.93) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 225px 331px, rgba(255,255,255,0.72) 0, rgba(255,255,255,0.72) 1.3px, rgba(255,255,255,0) 2.9px), radial-gradient(circle at 148px 131px, rgba(255,255,255,0.87) 0, rgba(255,255,255,0.87) 1.6px, rgba(255,255,255,0) 3.5px), radial-gradient(circle at 227px 261px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 1.1px, rgba(255,255,255,0) 2.5px); background-size: 640px 640px, 420px 420px; opacity: 0; --tile: 640px; }
.pq-tx.go .flurry { animation: txFlurryIn .4s ease-out forwards, fallT 1.6s linear infinite; }
.pq-tx .stage { position: relative; width: min(440px, 82vw); aspect-ratio: 1.55; perspective: 1100px; }
.pq-tx .env { position: absolute; inset: 0; transform: translate3d(0, 46vh, 0) scale(.18) rotate(-18deg); opacity: 0; }
.pq-tx.go .env { animation: txFly .9s cubic-bezier(.18,.9,.32,1.12) forwards; }
.pq-tx .back { position: absolute; inset: 0; border-radius: 6px; background: #E9D7AE; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.pq-tx .letter { position: absolute; z-index: 1; left: 7%; right: 7%; top: 8%; height: 84%; background: #FBF6EC; border-radius: 3px; padding: 7% 8%; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.pq-tx .letter b { display: block; font-family: var(--serif); color: var(--red); font-size: clamp(15px, 3.6vw, 21px); }
.pq-tx .letter small { display: block; font-family: var(--serif); font-variant: small-caps; letter-spacing: .25em; color: var(--green); font-size: 11px; }
.pq-tx .letter span { display: block; font-family: var(--script); color: var(--red); font-size: clamp(22px, 5.4vw, 34px); margin-top: 6%; }
.pq-tx .letter i { display: block; height: 2px; background: #E5D6B5; margin: 7% 6% 0; }
.pq-tx.go .letter { animation: txRise .5s cubic-bezier(.3,.7,.3,1) 1.25s forwards; }
.pq-tx .front { position: absolute; inset: 0; border-radius: 6px; background: #F3E6C8; clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); display: grid; place-items: end center; padding-bottom: 5%; z-index: 2; }
.pq-tx .front em { font-family: var(--script); font-style: normal; color: var(--dred); font-size: clamp(20px, 5vw, 30px); }
.pq-tx .flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; transform-origin: top center; background: linear-gradient(180deg, #EBDCB8, #E2CFA2); clip-path: polygon(0 0, 100% 0, 50% 100%); z-index: 3; backface-visibility: visible; }
.pq-tx.go .flap { animation: txFlap .45s ease-in-out 1s forwards; }
.pq-tx .wax { position: absolute; left: 50%; top: 53%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 4; }
.pq-tx .wax img { width: 100%; }
.pq-tx.go .wax { animation: txWax .35s ease-in .82s forwards; }
.pq-tx .sp { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: radial-gradient(circle, #FFF6D8 0 35%, rgba(255,210,110,0) 70%); opacity: 0; }
.pq-tx.go .sp { animation: txSpark .8s ease-out .75s forwards; }
.pq-tx .bloom { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: radial-gradient(circle, #FFFDF5 0, #FBF6EC 45%, rgba(251,246,236,0) 70%); transform: scale(0); opacity: 0; }
.pq-tx.go .bloom { animation: txBloom .65s cubic-bezier(.5,0,.75,0) 1.55s forwards; }
.pq-tx .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes txDim { to { opacity: 1; } }
@keyframes txFlurryIn { to { opacity: .9; } }
@keyframes txFly { 0% { opacity: 0; } 15% { opacity: 1; } 100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); opacity: 1; } }
@keyframes txWax { 0% { transform: translate(-50%,-50%) scale(1); opacity: 1; } 40% { transform: translate(-50%,-50%) scale(1.25); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1.6) rotate(25deg); opacity: 0; } }
@keyframes txFlap { 0% { transform: perspective(900px) rotateX(0deg); z-index: 3; } 49% { z-index: 3; } 50% { z-index: 0; } 100% { transform: perspective(900px) rotateX(178deg); z-index: 0; } }
@keyframes txRise { to { transform: translateY(-42%) scale(1.04); } }
@keyframes txSpark { 0% { transform: translate(0,0) scale(.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.2); opacity: 0; } }
@keyframes txBloom { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(90); opacity: 1; } }

/* ===================== Parents' Corner entrance (CSS only) ===================== */
.curtain { position: fixed; inset: 0; z-index: 900; background: #FBF6EC; pointer-events: none; animation: curtainOut .9s ease-out .15s forwards; }
@keyframes curtainOut { to { opacity: 0; visibility: hidden; } }
.p-top .settle { position: absolute; left: -5%; right: -5%; top: -640px; bottom: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(circle at 448px 252px, rgba(255,255,255,0.83) 0, rgba(255,255,255,0.83) 2.2px, rgba(255,255,255,0) 5.0px), radial-gradient(circle at 207px 439px, rgba(255,255,255,0.77) 0, rgba(255,255,255,0.77) 2.2px, rgba(255,255,255,0) 4.8px), radial-gradient(circle at 200px 445px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 2.7px, rgba(255,255,255,0) 6.0px), radial-gradient(circle at 598px 234px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 2.1px, rgba(255,255,255,0) 4.6px), radial-gradient(circle at 284px 115px, rgba(255,255,255,0.82) 0, rgba(255,255,255,0.82) 2.6px, rgba(255,255,255,0) 5.8px), radial-gradient(circle at 153px 210px, rgba(255,255,255,0.75) 0, rgba(255,255,255,0.75) 2.9px, rgba(255,255,255,0) 6.4px); background-size: 640px 640px; --tile: 640px;
  animation: fallT 1.8s cubic-bezier(.2,.6,.4,1) 1 forwards, settleFade 2.2s ease-out forwards; }
@keyframes settleFade { 0% { opacity: .95; } 100% { opacity: 0; } }
.p-top h1, .p-top p { animation: riseIn .9s cubic-bezier(.2,.7,.3,1) both; }
.p-top h1 { animation-delay: .35s; } .p-top p { animation-delay: .55s; }
.p-main .wrap > * { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both; }
.p-main .wrap > *:nth-child(1) { animation-delay: .6s; } .p-main .wrap > *:nth-child(2) { animation-delay: .7s; } .p-main .wrap > *:nth-child(3) { animation-delay: .78s; }
.p-main .wrap > *:nth-child(4) { animation-delay: .86s; } .p-main .wrap > *:nth-child(5) { animation-delay: .94s; } .p-main .wrap > *:nth-child(n+6) { animation-delay: 1s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .flight { display: none; } .sleigh-static { display: block; }
  .snowlayer.near { display: none; }
  .curtain, .p-top .settle, .pq-tx { display: none !important; }
}

/* ===================== Parent details form (details.html) ===================== */
.dform h2 { margin-top: 44px; }
.dform .card { background: #fff; border: 1px solid #E8DCC4; border-radius: 12px; padding: 22px 24px; margin: 14px 0 0; min-width: 0; }
.dform fieldset.card { position: relative; }
.dform legend { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--dred); padding: 0 6px; margin-left: -6px; }
.dform legend .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 15px; margin-right: 4px; vertical-align: 2px; }
.dform legend small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.dform .sr, .pq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dform .eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.dform .tier-line { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; color: var(--green); }
.dform .tier-price { font-size: 17px; color: var(--muted); margin-left: 6px; }
.dform .f { display: block; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 16px; }
.dform .f small { font-weight: 400; color: var(--muted); }
.dform input:not([type=radio]):not([type=checkbox]), .dform select, .dform textarea {
  display: block; width: 100%; margin-top: 6px; font: 400 18px/1.4 var(--book); color: var(--ink); background: #FFFDF8;
  border: 1.5px solid #D9CBAE; border-radius: 8px; padding: 10px 12px; transition: border-color .2s, box-shadow .2s; }
.dform textarea { resize: vertical; min-height: 64px; }
.dform input:focus, .dform select:focus, .dform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,77,58,.18); }
.dform [aria-invalid=true] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(155,35,53,.14) !important; }
.dform ::placeholder { color: #B3A68F; font-style: italic; }
.dform .hint { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 0; }
.dform .count { white-space: nowrap; }
.dform .count.near { color: var(--red); }
.dform .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.dform .grid2 .f-age { max-width: 140px; }
.dform .child .grid2 { grid-template-columns: 1fr 140px; }
.dform .grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.dform .say { font-family: var(--book); font-size: 16px; color: var(--green); background: #F6F1E4; border-radius: 8px; padding: 8px 12px; margin: 8px 0 0; }
.dform .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dform .pill input, .dform .style-card input { position: absolute; opacity: 0; pointer-events: none; }
.dform .pill span { display: inline-block; font-family: var(--sans); font-size: 14.5px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #D9CBAE; background: #FFFDF8; cursor: pointer; transition: all .15s; }
.dform .pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.dform .pill input:focus-visible + span, .dform .style-card input:focus-visible + span { outline: 3px solid rgba(31,77,58,.35); outline-offset: 2px; }
.dform .pron .lbl { font-family: var(--sans); font-size: 15px; font-weight: 700; }
.dform .styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.dform .style-card span { display: block; height: 100%; background: #fff; border: 1.5px solid #E8DCC4; border-radius: 12px; padding: 14px 16px 14px 44px; cursor: pointer; position: relative; transition: all .15s; }
.dform .style-card span::before { content: ""; position: absolute; left: 14px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #CDBB97; background: #fff; }
.dform .style-card input:checked + span { border-color: var(--green); box-shadow: 0 0 0 2px rgba(31,77,58,.18); background: #FBFDF9; }
.dform .style-card input:checked + span::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 45%, #fff 50%); }
.dform .style-card b { display: block; font-family: var(--serif); color: var(--dred); font-size: 18px; }
.dform .style-card small { display: block; font-family: var(--sans); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.dform .style-card em { display: block; font-style: normal; font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.dform .add-child, .dform .link { font-family: var(--sans); font-size: 15px; background: none; border: 1.5px dashed var(--green); color: var(--green); border-radius: 10px; padding: 10px 16px; margin-top: 12px; cursor: pointer; }
.dform .link { border: 0; padding: 0; text-decoration: underline; position: absolute; right: 22px; top: 22px; margin: 0; font-size: 13.5px; color: var(--red); }
.dform .env-preview { font-family: var(--book); margin: 12px 0 0; padding: 12px 16px; border: 1px dashed #D9CBAE; border-radius: 8px; background: #FFFDF8; }
.dform .env-preview .lbl { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dform .env-preview b { font-size: 19px; } .dform .env-family { display: block; color: var(--muted); }
.dform .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.dform .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.dform .errors { margin-top: 22px; background: #FFF4F4; border: 1px solid #E8B9C0; border-left: 5px solid var(--red); border-radius: 8px; padding: 12px 18px; font-family: var(--sans); font-size: 15px; color: var(--dred); }
.dform .errors ul { margin: 6px 0 0; padding-left: 20px; }
.dform .submit-row { margin-top: 26px; text-align: center; }
.dform .send { font-family: var(--serif); font-size: 20px; color: #fff; background: var(--red); border: 0; border-radius: 999px; padding: 14px 34px; cursor: pointer; box-shadow: 0 6px 16px rgba(155,35,53,.25); transition: transform .15s, box-shadow .15s; }
.dform .send:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(155,35,53,.3); }
.dform .send:focus-visible { outline: 3px solid rgba(155,35,53,.4); outline-offset: 3px; }
.dform .done { margin-top: 26px; border-left: 5px solid var(--green); }
.dform .done h3 { font-family: var(--serif); color: var(--green); font-size: 24px; }
.dform .json { white-space: pre-wrap; font-size: 12.5px; background: #F6F1E4; border-radius: 8px; padding: 12px; max-height: 340px; overflow: auto; }
.dform [hidden] { display: none !important; }
@media (max-width: 640px) {
  .dform .card { padding: 18px 16px; }
  .dform .grid2, .dform .grid3, .dform .child .grid2 { grid-template-columns: 1fr; }
  .dform .grid2 .f-age { max-width: none; }
  .dform .link { position: static; display: block; margin-top: 6px; }
}
/* 404 */
.nf { text-align: center; } .nf .lost { width: 220px; margin: 10px auto 8px; animation: lostFloat 4s ease-in-out infinite alternate; }
.nf-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.nf .choose { font-family: var(--sans); font-size: 15px; color: var(--green); border: 1.5px solid var(--green); padding: 10px 18px; border-radius: 8px; text-decoration: none; }
.nf .choose:hover { background: var(--green); color: #fff; }
@keyframes lostFloat { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-8px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .nf .lost { animation: none; } }
.dform .say .warn { display: block; color: var(--red); font-family: var(--sans); font-size: 13px; font-style: normal; }


/* ===================================================================================================
   v4 polish: cocoa steam, fireplace, goodnight sky, sound toggle, offscreen pausing
   =================================================================================================== */
/* Offscreen sections pause their CSS animations (class toggled by magic.js via IntersectionObserver) */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* The letter writes itself when the desk scrolls into view (JS only; without JS it plays on load as before) */
.pq-js .desk:not(.seen) .sheet .line::after { animation-play-state: paused; }

/* ---- Hot cocoa: rising, curling steam + bobbing marshmallows */
.mug .wisp { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; animation: steam 4.2s ease-in-out infinite; will-change: transform, opacity; }
.mug .w2 { animation-delay: -1.4s; animation-duration: 4.8s; } .mug .w3 { animation-delay: -2.9s; animation-duration: 4s; }
@keyframes steam { 0% { opacity: 0; transform: translate(0, 10px) scale(.7, .5); }
  20% { opacity: .75; } 55% { opacity: .5; transform: translate(3px, -8px) scale(1, 1) skewX(-6deg); }
  100% { opacity: 0; transform: translate(-4px, -26px) scale(1.25, 1.15) skewX(8deg); } }
@keyframes steamCalm { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .55; transform: translateY(-4px); } }
.mug .mallow { transform-box: fill-box; transform-origin: 50% 80%; animation: mallow 3.4s ease-in-out infinite alternate; }
.mug .m2 { animation-delay: -1.7s; animation-duration: 2.9s; }
@keyframes mallow { from { transform: translateY(.6px) rotate(-5deg); } to { transform: translateY(-1.1px) rotate(4deg); } }
.mug .cocoa-sheen { animation: glow 2.6s ease-in-out infinite alternate; }

/* ---- Notes from the North Pole: fireplace + warm flickering light on the room and the board */
.board-sec { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 26px; }
.board-sec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #4A2C1C 0 3px, #2E1A10 3px, #24140C); box-shadow: 0 -8px 24px rgba(255,140,50,.08); }
.board-sec .wrap { position: relative; z-index: 1; }
.fire-light { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(255,150,60,.34), rgba(255,120,40,.12) 55%, rgba(255,120,40,0) 80%);
  animation: hearth 2.8s linear infinite; will-change: opacity; }
.board { position: relative; }
.board::after { content: ""; position: absolute; inset: -14px; border-radius: 8px; pointer-events: none; z-index: 2;
  background: linear-gradient(0deg, rgba(255,150,60,.2), rgba(255,150,60,.05) 45%, rgba(255,150,60,0) 70%);
  animation: hearth 2.8s linear -1.1s infinite; }
@keyframes hearth { 0% { opacity: .85; } 9% { opacity: 1; } 17% { opacity: .78; } 26% { opacity: .95; } 38% { opacity: .72; } 47% { opacity: .9; }
  58% { opacity: 1; } 66% { opacity: .8; } 74% { opacity: .93; } 85% { opacity: .76; } 100% { opacity: .85; } }
@keyframes hearthCalm { from { opacity: .8; } to { opacity: 1; } }
.fireplace { position: relative; width: min(560px, 100%); margin: 56px auto 0; }
.hearth { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 -6px 30px rgba(255,140,50,.18)); }
.hearth .fl { transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; }
.hearth .f1 { animation: flameA 1.3s ease-in-out infinite alternate; }
.hearth .f2 { animation: flameB 1.1s ease-in-out -.4s infinite alternate; }
.hearth .f3 { animation: flameB 1.5s ease-in-out -.9s infinite alternate; }
.hearth .f4 { animation: flameA 1.2s ease-in-out -.2s infinite alternate; }
.hearth .f5 { animation: flameC .8s ease-in-out -.3s infinite alternate; }
.hearth .f6 { animation: flameC .6s ease-in-out infinite alternate; }
@keyframes flameA { 0% { transform: scale(1, 1) skewX(0deg); } 35% { transform: scale(.94, 1.08) skewX(-4deg); } 70% { transform: scale(1.04, .93) skewX(3deg); } 100% { transform: scale(.96, 1.12) skewX(-2deg); } }
@keyframes flameB { 0% { transform: scale(1, .95) skewX(2deg); } 40% { transform: scale(.95, 1.1) skewX(-3deg); } 100% { transform: scale(1.05, 1) skewX(4deg); } }
@keyframes flameC { 0% { transform: scale(1, 1); opacity: .95; } 50% { transform: scale(.9, 1.14) skewX(-3deg); opacity: 1; } 100% { transform: scale(1.06, .92) skewX(3deg); opacity: .85; } }
@keyframes flameCalm { from { transform: scale(1, .97); } to { transform: scale(.98, 1.03); } }
.hearth .fire-glow { animation: hearth 2.2s linear infinite; }
.hearth .hearth-glow { animation: hearth 2.8s linear -.6s infinite; }
.hearth .coal { animation: glow 1.4s ease-in-out infinite alternate; }
.hearth .spark { opacity: 0; transform-box: fill-box; animation: spark2 2.4s ease-out infinite; animation-delay: calc(var(--i) * -.41s); }
@keyframes spark2 { 0% { opacity: 0; transform: translate(0, 30px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -70px); } }
.mantel-lights .gl { animation: glow 1.8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.37s); }
.embers { position: absolute; left: 0; right: 0; bottom: 18%; height: 420px; pointer-events: none; z-index: 2; }
.embers i { position: absolute; bottom: 0; width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #FFF1C4 0 32%, #FFA54A 58%, rgba(255,120,40,0) 78%); box-shadow: 0 0 8px 2px rgba(255,150,60,.6);
  animation: ember var(--d) cubic-bezier(.25,.6,.4,1) var(--dl) infinite; will-change: transform, opacity; }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 8% { opacity: 1; }
  35% { transform: translate(calc(var(--dx) * .5), -140px) scale(.9); }
  65% { opacity: .75; transform: translate(calc(var(--dx) * -.2), -260px) scale(.7); }
  100% { opacity: 0; transform: translate(var(--dx), -400px) scale(.4); } }

/* ---- Sweet dreams: canvas night sky (stars twinkle individually, snow falls with drift); CSS layers are the no-JS fallback */
.goodnight > * { position: relative; }
.goodnight .stars { position: absolute; }
.goodnight .tw { position: absolute; z-index: -1; }
.goodnight .snowlayer.gn { position: absolute; z-index: -1; }
.goodnight .night-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; display: block; max-width: none; }
.goodnight h2, .goodnight p { z-index: 1; }
.pq-js .goodnight.has-canvas .snowlayer.gn, .pq-js .goodnight.has-canvas .tw { display: none; }

/* ---- Sound toggle: a little brass jingle bell, fixed bottom-right. OFF by default. */
.sound-toggle { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 var(--sans); letter-spacing: .02em; color: #FFF6DF;
  background: linear-gradient(180deg, rgba(22,38,79,.92), rgba(11,20,48,.94)); border: 1.5px solid rgba(232,201,130,.7);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .3s; }
.sound-toggle[hidden] { display: none; }
.sound-toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12); }
.sound-toggle:focus-visible { outline: 3px solid #FFD782; outline-offset: 3px; }
.sound-toggle .st-bell { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255,215,130,.22), rgba(255,215,130,0) 70%); }
.sound-toggle .st-bell svg { width: 36px; height: 36px; overflow: visible; }
.sound-toggle .st-swing { transform-box: view-box; transform-origin: 24px 10px; }
.sound-toggle .st-clapper { transform-box: view-box; transform-origin: 24px 12px; }
.sound-toggle .st-state { display: inline-block; min-width: 30px; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.12); color: #DCE4FF; }
.sound-toggle .st-on { display: none; }
.sound-toggle[aria-pressed="true"] { background: linear-gradient(180deg, #2E6A50, #1F4D3A); border-color: #FFD782; }
.sound-toggle[aria-pressed="true"] .st-on { display: inline; } .sound-toggle[aria-pressed="true"] .st-off { display: none; }
.sound-toggle[aria-pressed="true"] .st-state { background: #FFD782; color: #3A2318; }
.sound-toggle[aria-pressed="true"] .st-swing { animation: bellSwing 2.4s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .st-clapper { animation: bellSwing 2.4s ease-in-out -.15s infinite; }
.sound-toggle[aria-pressed="false"] .st-swing { animation: bellNudge 6s ease-in-out 2.5s 3; }
@keyframes bellSwing { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(12deg); } 45% { transform: rotate(-10deg); } 65% { transform: rotate(6deg); } 85% { transform: rotate(-3deg); } }
@keyframes bellNudge { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(10deg); } 94% { transform: rotate(-8deg); } 97% { transform: rotate(4deg); } }
.sound-toggle .st-notes { position: absolute; left: 14px; top: -4px; width: 30px; height: 10px; pointer-events: none; }
.sound-toggle .st-notes i { position: absolute; left: 0; bottom: 0; font-style: normal; font-size: 15px; color: #FFD782; opacity: 0; text-shadow: 0 0 6px rgba(255,215,130,.6); }
.sound-toggle[aria-pressed="true"] .st-notes i { animation: noteFloat 3s ease-out infinite; }
.sound-toggle .st-notes i:nth-child(2) { left: 12px; animation-delay: 1s !important; } .sound-toggle .st-notes i:nth-child(3) { left: 22px; animation-delay: 2s !important; }
@keyframes noteFloat { 0% { opacity: 0; transform: translate(0, 0) rotate(-8deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-10px, -38px) rotate(10deg); } }
.sound-toggle.loading .st-state { opacity: .6; }
@media (max-width: 480px) { .sound-toggle { padding: 4px 12px 4px 4px; font-size: 14px; } .site-foot { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle .st-notes { display: none; } .sound-toggle:hover { transform: none; } }
