/* Mobile readability refinement. Brand recipes and approved media stay intact. */
:root {
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --copy-size: 1.125rem;
  --detail-size: 1rem;
  --label-size: .8125rem;
}

body { font-size: var(--copy-size); }
.page-shell { max-width: 560px; padding-inline: clamp(16px, 4.8vw, 28px); }
.masthead { min-height: 6.5rem; height: auto; padding-block: var(--space-4); }
.brand img { width: min(196px, 58vw); }
.masthead-right { flex-shrink: 0; }
.location-mark { font-size: var(--label-size); }
.motion-control { width: 48px; height: 48px; }
.portal-layout { padding-block: clamp(44px, 7vw, 64px) var(--space-12); }
.welcome-top { flex-wrap: wrap; gap: var(--space-3); }
.eyebrow { font-size: var(--label-size); letter-spacing: .1em; line-height: 1.5; }
.season-stamp { font-size: .75rem; letter-spacing: .04em; padding: 8px 12px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 12vw, 3.625rem); line-height: 1.1; margin-block: var(--space-6); overflow-wrap: anywhere; }
.welcome-copy { font-size: var(--copy-size); line-height: 1.7; }
.hero-skull { margin-top: var(--space-6); min-height: 20rem; }
.paths { margin-top: var(--space-12); }
.section-label { align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-4); }
.section-label h2, .section-label > span { font-size: var(--label-size); line-height: 1.5; letter-spacing: .07em; }
.section-label > span { flex-shrink: 0; }
.season-card { padding: clamp(20px, 5.8vw, 32px); container-type: inline-size; }
.feature-eyebrow { font-size: var(--label-size); line-height: 1.6; letter-spacing: .075em; }
.feature-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
.feature-copy { display: contents; }
.feature-copy h3 { grid-column: 1 / -1; }
.feature-copy .feature-description { grid-column: 1; }
.season-card h3 { font-size: clamp(2.375rem, 9vw, 2.75rem); line-height: 1.12; margin-block: var(--space-6) var(--space-4); overflow-wrap: anywhere; }
.feature-description { font-size: var(--copy-size); line-height: 1.65; }
.offer-ghost { grid-column: 2; grid-row: 2; width: clamp(96px, 29vw, 132px); margin: 0 -6px 0 0; pointer-events: none; }
.offer-ghost img { display: block; width: 100%; height: auto; }
.offer-ghost img { transform-origin: 50% 75%; animation: ghost-drift 5.2s ease-in-out infinite; }
.offer { margin-top: var(--space-6); }
.offer-price { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 8px; align-items: baseline; }
.offer-price > span { font-size: var(--detail-size); }
.offer-price strong { font-size: clamp(2.5rem, 11vw, 3.125rem); font-size: min(3.125rem, 14cqi); line-height: 1.3; }
.gift { font-size: var(--detail-size); line-height: 1.6; gap: .5rem; margin-top: var(--space-3); }
.gift svg { width: 1.25rem; height: 1.25rem; }
.countdown-block { margin-top: var(--space-8); padding-top: var(--space-6); }
.countdown-kicker { font-size: var(--label-size); line-height: 1.7; letter-spacing: .055em; margin-bottom: var(--space-4); }
.countdown { width: 100%; max-width: none; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 3.25rem), 1fr)); }
.countdown-value { font-size: clamp(1.75rem, 8.6vw, 2.75rem); }
.countdown-label { font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.countdown-deadline { font-size: .875rem; line-height: 1.65; color: var(--muted); margin-top: var(--space-4); }
.feature-cta { font-size: 1.25rem; min-height: 3.75rem; padding: 1rem; margin-top: var(--space-8); }
.offer-condition { font-size: var(--detail-size); line-height: 1.7; margin-top: var(--space-6); }
.desktop-break { display: none; }
.reel-section { margin-top: var(--space-8); padding-top: var(--space-6); }
.reel-section figcaption { font-size: var(--label-size); line-height: 1.7; letter-spacing: .055em; }
.reel-frame { margin-top: var(--space-6); max-width: 18rem; }
.link-list { gap: var(--space-4); margin-top: var(--space-6); }
.path-link { padding: 20px 16px; min-height: 7rem; gap: 14px; align-items: center; }
.path-copy { gap: .5rem; }
.path-copy strong { font-size: 1.375rem; line-height: 1.35; }
.path-copy > span { font-size: var(--detail-size); line-height: 1.6; overflow-wrap: anywhere; }
.path-icon { width: 32px; height: 36px; }
.path-arrow { width: 20px; height: 20px; }
.location-link { font-size: 1.25rem; line-height: 1.5; padding: 24px 18px; margin-top: var(--space-8); gap: 14px; align-items: flex-start; border: 1px solid var(--gold-line); border-radius: 20px; background: var(--gold-whisper); transition: background .25s ease, border-color .25s ease; }
.location-link:hover { background: var(--gold-soft); border-color: var(--gold-400); }
.location-link > svg { margin-top: .25rem; width: 1.625rem; height: 1.625rem; }
.location-title { display: block; font-weight: 400; }
.location-detail { font-size: 1.0625rem; line-height: 1.65; margin-top: .5rem; }
.location-map-label { display: inline-block; margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--gold-light); text-decoration: underline; text-underline-offset: .25em; }

/* Banner first; the temporary reveal gets its own space below, never over a link. */
.halloween-play { margin: var(--space-12) 0 0; padding: 0; border: 0; background: none; }
.magic-controls { padding: 24px 18px 12px; border: 1px solid var(--gold-soft); border-radius: 1.375rem; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.halloween-play .magic-button { font-size: clamp(1.75rem, 7.8vw, 2.125rem); line-height: 1.25; min-height: 4.5rem; padding: 1rem .75rem; }
.halloween-play .magic-meta { margin-top: 1rem; align-items: flex-start; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9375rem; line-height: 1.6; }
.magic-meta > span { flex: 1 1 9rem; padding-block: .5rem; }
.sound-control { font-size: .9375rem; line-height: 1.5; padding: .5rem 0; gap: .5rem; min-height: 3rem; }
.halloween-play .haunt-scene { height: 0; opacity: 0; margin: 0; border-radius: 1.375rem; transition: height .4s ease, opacity .4s ease, margin .4s ease; }
.halloween-play .haunt-scene.active { height: 20rem; opacity: 1; margin-top: var(--space-6); background: radial-gradient(ellipse at bottom, var(--gold-whisper), transparent 70%); }
.halloween-play .haunt-scene::after { inset: 0; background-position: center; }
.footer { display: grid; justify-items: stretch; gap: var(--space-6); padding-block: var(--space-8); font-size: .875rem; line-height: 1.6; letter-spacing: .05em; }
.footer-pumpkin { position: relative; isolation: isolate; width: min(13.5rem, 58%); margin: 0 auto; pointer-events: none; }
.footer-pumpkin::before { content: ''; position: absolute; z-index: -1; inset: 35% 5% 10%; background: radial-gradient(ellipse, rgba(255,216,55,.28), transparent 70%); filter: blur(20px); animation: lantern-light 4.8s ease-in-out infinite; }
.footer-pumpkin img { display: block; width: 100%; height: auto; }
.pumpkin-lantern-light { position: absolute; inset: 0; display: block; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .15; animation: lantern-light 4.8s ease-in-out infinite; }
.footer > .footer-meta { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; font-size: .875rem; letter-spacing: .035em; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-4); font-size: 1rem; letter-spacing: 0; }
.footer-links a { display: inline-flex; min-height: 2.75rem; align-items: center; }

@keyframes ghost-drift {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  25% { transform: translate(5px, -9px) rotate(1deg); }
  50% { transform: translate(0, -16px) rotate(3deg); }
  75% { transform: translate(-5px, -7px) rotate(-1deg); }
}
@keyframes lantern-light {
  0%, 100% { opacity: .12; }
  20% { opacity: .4; }
  45% { opacity: .95; }
  62% { opacity: .65; }
  82% { opacity: 1; }
}
[data-motion=off] .offer-ghost img { animation: none; transform: none; }
[data-motion=off] .pumpkin-lantern-light, [data-motion=off] .footer-pumpkin::before { animation: none; opacity: .45; }

@media (max-width: 370px) {
  .welcome-top { row-gap: .75rem; }
  .feature-intro { column-gap: 0; }
  .offer-ghost { width: 96px; margin-right: -8px; }
  .season-card { padding: 20px 16px; }
  .path-link { gap: 12px; padding-inline: 14px; }
  .path-icon { width: 28px; }
  .path-arrow { width: 16px; }
}

/* Reflow follows available text space, including a larger default font setting. */
@container (max-width: 11rem) {
  .feature-intro { display: flex; flex-direction: column; align-items: stretch; }
  .offer-ghost { align-self: center; margin-top: 16px; }
  .offer-price { display: flex; flex-wrap: wrap; }
  .offer-price > span:first-child { flex-basis: 100%; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .portal-layout { display: block; }
  .paths { margin-top: var(--space-12); }
}

@media (min-width: 961px) {
  .page-shell { max-width: 1216px; padding-inline: 40px; }
  .masthead { min-height: 8rem; }
  .brand img { width: 224px; }
  .location-mark { font-size: .8125rem; letter-spacing: .1em; }
  .portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 4rem; align-items: start; padding-block: 4rem; }
  .paths { margin-top: 0; }
  h1 { font-size: clamp(3.625rem, 5.4vw, 4.5rem); }
  .hero-skull { min-height: 26rem; }
  .halloween-play { margin: 0; }
  .offer-ghost { width: 132px; }
  .footer { grid-template-columns: 8rem minmax(0, 1fr); align-items: center; }
  .footer-pumpkin { width: 8rem; margin: 0; }
  .footer > .footer-meta { flex-direction: row; justify-content: space-between; text-align: start; }
  [data-season=signature] .footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .halloween-play .haunt-scene { transition: none; }
  .offer-ghost img { animation: none; transform: none; }
  .pumpkin-lantern-light, .footer-pumpkin::before { animation: none; opacity: .45; }
}
