:root {
  --ink: #17192f;
  --night: #11162c;
  --night-light: #1e2444;
  --paper: #fff8e8;
  --cream: #f7e5b7;
  --yellow: #f7c85b;
  --coral: #ef6f67;
  --purple: #b787f1;
  --purple-dark: #8157ce;
  --purple-text: #5b329d;
  --mint: #8ed6b5;
  --white: #fffdf8;
  --shadow: #090c1c;
  --pixel-border: 4px;
  --scene-sky-top: rgba(129, 87, 206, 0.08);
  --scene-sky-bottom: rgba(247, 200, 91, 0.16);
  --season-accent: #b787f1;
  --holiday-accent: #f7c85b;
}

html[data-time="dawn"] {
  --scene-sky-top: rgba(183, 135, 241, 0.2);
  --scene-sky-bottom: rgba(239, 111, 103, 0.26);
}

html[data-time="day"] {
  --scene-sky-top: rgba(111, 184, 204, 0.22);
  --scene-sky-bottom: rgba(247, 200, 91, 0.24);
}

html[data-time="dusk"] {
  --scene-sky-top: rgba(96, 70, 145, 0.25);
  --scene-sky-bottom: rgba(239, 111, 103, 0.26);
}

html[data-season="spring"] { --season-accent: #8ed6b5; }
html[data-season="summer"] { --season-accent: #f7c85b; }
html[data-season="fall"] { --season-accent: #ef8067; }
html[data-season="winter"] { --season-accent: #b8d8ee; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(183, 135, 241, 0.18), transparent 26rem),
    linear-gradient(180deg, var(--night) 0%, #161a34 55%, #0d1022 100%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.6;
  min-height: 100vh;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--yellow);
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  overflow: hidden;
}

.hero,
.game-shell,
.seo-section,
footer {
  width: min(100% - 2rem, 940px);
  margin-inline: auto;
}

.hero {
  position: relative;
  padding: 2rem 0 0;
  text-align: center;
}

.fortune-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
  color: var(--yellow);
}

.brand-lockup:focus-visible,
.main-site-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.main-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 2px solid rgba(255, 243, 201, 0.72);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-site-link:hover {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.brand-key {
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--purple-dark);
}

.eyebrow,
.step-label,
.tip-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--yellow);
}

.step-label,
.tip-label {
  color: var(--purple-text);
}

.hero .eyebrow {
  margin-top: 3.5rem;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: var(--white);
  font-size: clamp(2.45rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.050em;
  text-shadow: 5px 5px 0 rgba(129, 87, 206, 0.72);
}

.hero-copy {
  max-width: 620px;
  margin: 1.4rem auto 0;
  color: #cbcce1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 330px;
  max-width: 720px;
  margin: 1.25rem auto -2px;
  background:
    linear-gradient(180deg, var(--scene-sky-top), var(--scene-sky-bottom) 58%, rgba(38, 88, 91, 0.42) 59%, rgba(28, 65, 52, 0.86) 100%);
  border: 3px solid rgba(247, 229, 183, 0.18);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: inset 0 -18px 0 rgba(9, 12, 28, 0.22);
  contain: paint;
  image-rendering: auto;
}

.landscape-backdrop,
.weather-layer,
.weather-canvas,
.wind-layer,
.season-layer,
.holiday-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landscape-backdrop { z-index: 1; }

.pixel-mountain {
  position: absolute;
  bottom: 102px;
  width: 260px;
  height: 138px;
  background: linear-gradient(135deg, #4c6d78 0 45%, #314e61 46% 68%, #243d52 69%);
  clip-path: polygon(0 100%, 10% 78%, 22% 68%, 35% 43%, 48% 12%, 57% 9%, 69% 42%, 82% 67%, 92% 79%, 100% 100%);
  opacity: 0.9;
}

.pixel-mountain::after {
  position: absolute;
  top: 14px;
  left: 122px;
  width: 52px;
  height: 34px;
  background: #d7e4dc;
  clip-path: polygon(0 100%, 18% 45%, 35% 67%, 53% 0, 100% 100%);
  content: "";
  opacity: 0.72;
}

.mountain-left { left: -58px; transform: scale(0.84); }
.mountain-center { bottom: 95px; left: 50%; transform: translateX(-50%) scale(1.08); }
.mountain-right { right: -62px; transform: scale(0.88); }

.meadow-band {
  position: absolute;
  right: -4%;
  bottom: 53px;
  left: -4%;
  height: 89px;
  background: #315f4d;
  clip-path: polygon(0 38%, 7% 28%, 14% 36%, 22% 19%, 30% 30%, 39% 14%, 47% 31%, 56% 22%, 66% 38%, 76% 18%, 87% 31%, 94% 22%, 100% 34%, 100% 100%, 0 100%);
}

.meadow-near {
  bottom: 0;
  height: 82px;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(247, 200, 91, 0.16) 18px 21px, transparent 21px 39px),
    #244b3e;
  clip-path: polygon(0 17%, 8% 5%, 18% 15%, 29% 3%, 39% 18%, 52% 5%, 64% 17%, 76% 4%, 89% 16%, 100% 7%, 100% 100%, 0 100%);
}

.weather-layer {
  z-index: 6;
  opacity: 0;
  transition: opacity 400ms ease;
}

html[data-weather="storm"] .weather-layer {
  opacity: 1;
  background: rgba(26, 34, 58, 0.26);
}

html[data-weather="fog"] .weather-layer {
  opacity: 1;
  background: linear-gradient(180deg, transparent 15%, rgba(226, 229, 226, 0.11) 38%, rgba(226, 229, 226, 0.21) 76%, transparent);
}

.weather-canvas {
  z-index: 8;
  width: 100%;
  height: 100%;
}

.wind-layer { display: none; }

.season-layer {
  z-index: 5;
  overflow: hidden;
}

.season-mote {
  position: absolute;
  top: 126px;
  left: 20%;
  width: 7px;
  height: 7px;
  color: var(--season-accent);
  opacity: 0.58;
  background: currentColor;
  box-shadow: 2px 2px 0 rgba(9, 12, 28, 0.55);
  transform: rotate(45deg);
  animation: season-drift 7.2s ease-in-out infinite alternate;
}

.mote-two { top: 164px; right: 16%; left: auto; width: 5px; height: 5px; animation-delay: -1.2s; }
.mote-three { top: 91px; left: 12%; width: 5px; height: 5px; animation-delay: -2.8s; }
.mote-four { top: 116px; right: 10%; left: auto; width: 6px; height: 6px; animation-delay: -4.6s; }

html[data-season="spring"] .season-mote { color: #ef9bb5; border-radius: 50% 0; animation-name: spring-petal-drift; }
html[data-season="summer"] .season-mote { width: 4px; height: 4px; color: #f7c85b; border-radius: 50%; box-shadow: 0 0 8px currentColor; animation-name: summer-firefly; }
html[data-season="fall"] .season-mote { color: #ef8067; border-radius: 60% 0; animation-name: fall-leaf-drift; }
html[data-season="winter"] .season-mote { color: #d9edf7; background: transparent; box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor, -4px 0 0 currentColor, 4px 0 0 currentColor; animation-name: winter-sparkle; }

.holiday-layer {
  z-index: 7;
  overflow: hidden;
  opacity: 0;
  transition: opacity 400ms ease;
}

html[data-holiday]:not([data-holiday="none"]) .holiday-layer { opacity: 1; }

.holiday-mote {
  position: absolute;
  top: 56px;
  left: 12%;
  width: 6px;
  height: 6px;
  color: var(--holiday-accent);
  background: currentColor;
  opacity: 0.66;
  box-shadow: 2px 2px 0 rgba(9, 12, 28, 0.42);
  animation: holiday-float 5.8s ease-in-out infinite alternate;
}

.holiday-two { top: 88px; right: 13%; left: auto; animation-delay: -1.8s; }
.holiday-three { top: 150px; left: 8%; animation-delay: -3.2s; }
.holiday-four { top: 162px; right: 8%; left: auto; animation-delay: -4.4s; }

.holiday-garland,
.holiday-roof-decor,
.holiday-yard-decor,
.holiday-door-decor,
.easter-basket,
.turkey {
  position: absolute;
  display: none;
}

.holiday-garland {
  z-index: 9;
  top: 192px;
  left: 50%;
  width: 322px;
  height: 7px;
  transform: translateX(-50%);
  border-top: 2px solid #3f302b;
  image-rendering: pixelated;
}

.holiday-garland::before,
.holiday-garland::after {
  position: absolute;
  top: -2px;
  width: 190px;
  height: 7px;
  border-top: 2px solid #3f302b;
  background: inherit;
  content: "";
}

.holiday-garland::before {
  left: 0;
  transform: rotate(-28deg);
  transform-origin: left center;
}

.holiday-garland::after {
  right: 0;
  transform: rotate(28deg);
  transform-origin: right center;
}

.holiday-roof-decor {
  z-index: 9;
  top: 101px;
  left: 50%;
  width: 174px;
  height: 16px;
  transform: translateX(-50%);
}

.holiday-yard-decor {
  z-index: 9;
  bottom: 28px;
  width: 42px;
  height: 42px;
}

.decor-left { left: 15%; }
.decor-right { right: 14%; }

html[data-holiday-theme="lights"] .holiday-garland,
html[data-holiday-theme="diwali"] .holiday-garland,
html[data-holiday-theme="hanukkah"] .holiday-garland,
html[data-holiday-theme="kwanzaa"] .holiday-garland,
html[data-holiday-theme="confetti"] .holiday-garland,
html[data-holiday-theme="patriotic"] .holiday-garland,
html[data-holiday-theme="hearts"] .holiday-garland,
html[data-holiday-theme="crescent"] .holiday-garland,
html[data-holiday-theme="moon"] .holiday-garland,
html[data-holiday-theme="dragonboat"] .holiday-garland {
  display: block;
  background: repeating-linear-gradient(90deg, #ef6f67 0 5px, transparent 5px 16px, #f7c85b 16px 21px, transparent 21px 32px, #8ed6b5 32px 37px, transparent 37px 48px);
  filter: drop-shadow(2px 2px 0 rgba(45, 31, 36, 0.52));
  animation: garland-twinkle 2.8s steps(2, end) infinite;
}

.holiday-layer > span,
.holiday-layer > span::before,
.holiday-layer > span::after {
  image-rendering: pixelated;
}

html[data-holiday-theme="lanterns"] .holiday-roof-decor,
html[data-holiday-theme="bon"] .holiday-roof-decor {
  display: block;
  border-top: 3px solid #5f3b36;
  background: repeating-linear-gradient(90deg, transparent 0 10px, #d95045 10px 19px, #f3b94f 19px 22px, transparent 22px 36px);
  box-shadow: 0 7px 0 -5px rgba(239, 111, 103, 0.75);
  animation: lantern-sway 3.8s ease-in-out infinite alternate;
}

html[data-holiday-theme="halloween"] .holiday-yard-decor,
html[data-holiday-theme="harvest"] .holiday-yard-decor,
html[data-holiday-theme="marigold"] .holiday-yard-decor {
  display: block;
  width: 22px;
  height: 17px;
  background: #e67d3d;
  border: 4px solid #6b4432;
  border-radius: 2px;
  clip-path: polygon(20% 0, 80% 0, 100% 25%, 100% 75%, 80% 100%, 20% 100%, 0 75%, 0 25%);
  box-shadow: 24px 11px 0 -3px #f2ab45, 24px 11px 0 0 #6b4432;
}

html[data-holiday-theme="holi"] .holiday-yard-decor,
html[data-holiday-theme="confetti"] .holiday-yard-decor {
  display: block;
  width: 15px;
  height: 7px;
  background: #e75f83;
  border-radius: 0;
  box-shadow: 12px -3px 0 #f4c84e, 24px 2px 0 #6fc79c, 6px 7px 0 #8f75de, 19px 8px 0 #ef8067;
}

html[data-holiday-theme="water"] .holiday-yard-decor {
  display: block;
  width: 34px;
  height: 10px;
  background: #63afd2;
  border: 3px solid #315f7a;
  border-radius: 1px;
  clip-path: polygon(12% 25%, 88% 25%, 100% 50%, 88% 75%, 12% 75%, 0 50%);
  box-shadow: 12px -17px 0 -5px #9bd9e8;
}

html[data-holiday-theme="bamboo"] .holiday-yard-decor {
  display: block;
  width: 8px;
  height: 52px;
  background: repeating-linear-gradient(180deg, #65a566 0 10px, #315f4d 10px 13px);
  box-shadow: 12px 8px 0 #497a56, 19px -4px 0 #76ad69;
}

html[data-holiday-theme="lotus"] .holiday-yard-decor,
html[data-holiday-theme="spring-holiday"] .holiday-yard-decor {
  display: block;
  width: 10px;
  height: 10px;
  background: #ef9bb5;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 11px 4px 0 #f6c2d0, 22px -2px 0 #8ed6b5, 30px 6px 0 #ef9bb5;
}

html[data-holiday-theme="diwali"] .holiday-yard-decor,
html[data-holiday-theme="crescent"] .holiday-yard-decor,
html[data-holiday-theme="moon"] .holiday-yard-decor,
html[data-holiday-theme="hanukkah"] .holiday-yard-decor {
  display: block;
  width: 18px;
  height: 8px;
  background: #d99a42;
  border-radius: 1px;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
  box-shadow: 0 -7px 0 -3px #ffe79a, 24px 8px 0 #d99a42, 24px 1px 0 -3px #ffe79a;
  filter: drop-shadow(0 0 4px rgba(247, 200, 91, 0.65));
}

html[data-holiday-theme="dragonboat"] .holiday-yard-decor {
  display: block;
  width: 47px;
  height: 11px;
  background: #b94f49;
  border-bottom: 4px solid #f1be4e;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 12% 100%);
}

html[data-holiday-theme="hearts"] .holiday-mote,
html[data-holiday-theme="holi"] .holiday-mote { color: #ef8eac; border-radius: 50% 0; }
html[data-holiday-theme="lanterns"] .holiday-mote,
html[data-holiday-theme="bon"] .holiday-mote { color: #ef6f67; }
html[data-holiday-theme="moon"] .holiday-mote,
html[data-holiday-theme="crescent"] .holiday-mote,
html[data-holiday-theme="diwali"] .holiday-mote { color: #f7d978; border-radius: 50%; box-shadow: 0 0 7px currentColor; }
html[data-holiday-theme="water"] .holiday-mote { color: #83c9e1; border-radius: 50% 50% 50% 0; }
html[data-holiday-theme="bamboo"] .holiday-mote,
html[data-holiday-theme="lotus"] .holiday-mote { color: #8ed6b5; }

/* Holiday details live on the cottage and in the yard instead of in a badge. */
.holiday-door-decor {
  z-index: 10;
  bottom: 47px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border: 5px solid #5f8a58;
  border-radius: 1px;
  background: transparent;
  box-shadow: 0 0 0 2px rgba(38, 35, 48, 0.58), 0 2px 5px rgba(9, 12, 28, 0.42);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
}

.holiday-door-decor::after {
  position: absolute;
  right: -3px;
  bottom: -5px;
  width: 8px;
  height: 7px;
  background: #c84e4e;
  border-radius: 0;
  clip-path: polygon(0 0, 50% 28%, 100% 0, 78% 100%, 50% 72%, 22% 100%);
  content: "";
}

html[data-holiday]:not([data-holiday="none"]) .holiday-door-decor { display: block; }

html[data-holiday="new-year"] .holiday-door-decor,
html[data-holiday="diwali"] .holiday-door-decor { border-color: #e9b83f; background: radial-gradient(circle, transparent 38%, rgba(255, 229, 140, 0.58) 42% 60%, transparent 64%); }
html[data-holiday="valentines"] .holiday-door-decor,
html[data-holiday="qixi"] .holiday-door-decor { border-color: #dd7898; }
html[data-holiday="easter"] .holiday-door-decor,
html[data-holiday="nowruz"] .holiday-door-decor,
html[data-holiday="vesak"] .holiday-door-decor { border-color: #ef9bb5; box-shadow: -3px -2px 0 #f4d171, 3px 1px 0 #8ed6b5, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="memorial"] .holiday-door-decor,
html[data-holiday="independence"] .holiday-door-decor,
html[data-holiday="labor"] .holiday-door-decor { border-color: #e76262; box-shadow: -3px -2px 0 #f8f5e8, 3px 2px 0 #6c96cc, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="halloween"] .holiday-door-decor { border-color: #e7803c; background: #392942; }
html[data-holiday="thanksgiving"] .holiday-door-decor,
html[data-holiday="vaisakhi"] .holiday-door-decor,
html[data-holiday="double-ninth"] .holiday-door-decor { border-color: #d18b43; box-shadow: -3px -2px 0 #a75c3f, 3px 2px 0 #e8b64e, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="christmas"] .holiday-door-decor { width: 25px; height: 25px; border-width: 6px; border-color: #3f7652; box-shadow: -3px -2px 0 #6fa865, 3px 2px 0 #275c43, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="lunar-new-year"] .holiday-door-decor,
html[data-holiday="lantern-festival"] .holiday-door-decor,
html[data-holiday="dragon-boat"] .holiday-door-decor { border-color: #cf4f46; box-shadow: 0 0 0 3px #eab84a, 0 2px 5px rgba(9, 12, 28, 0.42); }
html[data-holiday="qingming"] .holiday-door-decor,
html[data-holiday="tanabata"] .holiday-door-decor { border-color: #68a366; }
html[data-holiday="holi"] .holiday-door-decor { border-color: #dc5e8d; box-shadow: -3px -2px 0 #f1c94c, 3px 2px 0 #61b894, 0 0 0 3px #8068cf; }
html[data-holiday="songkran"] .holiday-door-decor { border-color: #69b7d0; box-shadow: -3px -2px 0 #f0d070, 3px 2px 0 #ef9bb5, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="obon"] .holiday-door-decor { border-color: #d76854; box-shadow: 0 0 7px rgba(247, 200, 91, 0.78), 0 0 0 2px #f0b845; }
html[data-holiday="mid-autumn"] .holiday-door-decor { border-color: #e3b947; background: rgba(255, 232, 151, 0.58); }
html[data-holiday="eid-al-fitr"] .holiday-door-decor,
html[data-holiday="eid-al-adha"] .holiday-door-decor { border-color: #d7bd67; box-shadow: -3px -2px 0 #5b9271, 3px 2px 0 #f2de91, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="hanukkah"] .holiday-door-decor { border-color: #75a7d5; box-shadow: -3px -2px 0 #f2f2e9, 3px 2px 0 #4f79b3, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="dia-de-muertos"] .holiday-door-decor { border-color: #ef913f; box-shadow: -3px -2px 0 #e5b642, 3px 2px 0 #d46789, 0 0 0 2px rgba(38, 35, 48, 0.5); }
html[data-holiday="kwanzaa"] .holiday-door-decor { border-color: #b64943; box-shadow: -3px -2px 0 #3c8a58, 3px 2px 0 #2d2b31, 0 0 0 2px rgba(38, 35, 48, 0.5); }

.easter-basket {
  z-index: 10;
  bottom: 26px;
  left: calc(50% - 116px);
  width: 35px;
  height: 20px;
  border: 4px solid #75513c;
  border-top: 0;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, #c18a54 0 5px, #e0ad69 5px 9px);
  filter: drop-shadow(2px 3px 0 rgba(9, 12, 28, 0.35));
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.easter-basket::before {
  position: absolute;
  top: -15px;
  left: 3px;
  width: 11px;
  height: 15px;
  border: 3px solid #75513c;
  border-bottom: 0;
  border-radius: 0;
  content: "";
  box-shadow: 14px 8px 0 -3px #8fcbaa, 5px 7px 0 -3px #ed93ac, 22px 6px 0 -3px #e9c950;
}

html[data-holiday="easter"] .easter-basket { display: block; }

html[data-holiday="christmas"] .holiday-yard-decor {
  display: block;
  width: 25px;
  height: 22px;
  border: 3px solid #f0d783;
  background: #b94f4b;
  box-shadow: 27px 9px 0 -1px #487a59, 27px 9px 0 2px #f0d783;
}

html[data-holiday="valentines"] .holiday-yard-decor,
html[data-holiday="dia-de-muertos"] .holiday-yard-decor {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: #e47b9c;
  box-shadow: 10px -4px 0 #f2ba46, 20px 2px 0 #d66b50, 30px -5px 0 #8e6ac4, 17px 9px 0 #ef9545;
}

.turkey {
  z-index: 10;
  bottom: 22px;
  width: 24px;
  height: 17px;
  border: 3px solid #4e342b;
  border-radius: 2px;
  background: #8a5637;
  filter: drop-shadow(2px 2px 0 rgba(9, 12, 28, 0.38));
  transform-origin: 50% 100%;
  clip-path: polygon(16% 0, 84% 0, 100% 28%, 100% 76%, 78% 100%, 18% 100%, 0 72%, 0 28%);
}

.turkey::before {
  position: absolute;
  top: -11px;
  right: -6px;
  width: 10px;
  height: 13px;
  border: 2px solid #4e342b;
  border-radius: 1px;
  background: #b77949;
  content: "";
}

.turkey::after {
  position: absolute;
  top: -8px;
  left: -13px;
  width: 16px;
  height: 24px;
  border: 3px solid #5b382d;
  border-radius: 0;
  background: conic-gradient(from 210deg, #a7583e, #d28a42, #74402f, #c8733e, #a7583e);
  content: "";
  clip-path: polygon(50% 0, 75% 14%, 100% 38%, 88% 72%, 58% 100%, 20% 88%, 0 55%, 13% 22%);
}

.turkey-one { left: 8%; animation: turkey-roam-one 12s ease-in-out infinite alternate; }
.turkey-two { right: 7%; bottom: 33px; transform: scale(0.86); animation: turkey-roam-two 14s ease-in-out infinite alternate; }
.turkey-three { left: 24%; bottom: 17px; transform: scale(0.72); animation: turkey-peck 2.8s ease-in-out infinite; }
html[data-holiday="thanksgiving"] .turkey { display: block; }

.rare-key {
  position: absolute;
  z-index: 9;
  right: 24%;
  bottom: 46px;
  display: none;
  color: var(--yellow);
  font-size: 1.45rem;
  text-shadow: 3px 3px 0 var(--coral);
  animation: rare-glow 900ms steps(2, end) infinite;
}

html.has-rare-key .rare-key { display: block; }

.pixel-house {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  width: min(96%, 500px);
  transform: translateX(-50%);
  filter: drop-shadow(8px 9px 0 rgba(7, 8, 22, 0.34));
}

.scene-tree { transform-box: fill-box; transform-origin: 50% 100%; }
.tree-crown { transition: fill 500ms ease; }
html[data-season="spring"] .tree-crown { fill: #5b8d72; }
html[data-season="summer"] .tree-crown { fill: #3f765c; }
html[data-season="fall"] .tree-crown { fill: #a85d48; }
html[data-season="winter"] .tree-crown { fill: #617084; }
html[data-season="fall"] .tree-highlight { fill: #d68a52; }
html[data-season="winter"] .tree-highlight { fill: #8290a2; }

html[data-weather="wind"] .scene-tree,
html[data-weather="storm"] .scene-tree { animation: tree-sway 2.5s ease-in-out infinite alternate; }
html[data-weather="storm"] .scene-tree { animation-duration: 1.55s; }
.tree-right { animation-delay: -900ms !important; }

.house-roof { transition: fill 500ms ease; }
.fortune-mascot { transform-box: fill-box; transform-origin: 50% 100%; animation: mascot-window-peek 7s steps(2, end) infinite; }
.fortune-mascot-camo { animation-delay: -3.5s; }
html[data-season="spring"] .house-roof { fill: #ae696f; }
html[data-season="summer"] .house-roof { fill: #b65f55; }
html[data-season="fall"] .house-roof { fill: #a9564f; }
html[data-season="winter"] .house-roof { fill: #7d6078; }
html[data-time="day"] .house-window { fill: #d9f0eb; }
html[data-time="night"] .house-window,
html[data-time="dusk"] .house-window { filter: drop-shadow(0 0 6px rgba(247, 229, 166, 0.88)); }
html.has-rare-key .house-door { fill: var(--yellow); filter: drop-shadow(0 0 8px rgba(247, 200, 91, 0.9)); }

.path {
  position: absolute;
  z-index: 3;
  bottom: -20px;
  left: 50%;
  width: 118px;
  height: 91px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(165deg, rgba(232, 190, 116, 0.58) 0 9px, rgba(188, 136, 78, 0.5) 9px 13px);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.chimney-smoke {
  position: absolute;
  z-index: 5;
  top: 47px;
  left: calc(50% + 70px);
  width: 35px;
  height: 65px;
}

.chimney-smoke span {
  position: absolute;
  bottom: 0;
  width: 9px;
  height: 9px;
  background: rgba(221, 224, 225, 0.38);
  box-shadow: 6px -6px 0 rgba(221, 224, 225, 0.22);
  animation: chimney-rise 5s steps(8, end) infinite;
}
.chimney-smoke span:nth-child(2) { animation-delay: -1.7s; }
.chimney-smoke span:nth-child(3) { animation-delay: -3.4s; }

.moon {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 10%;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  box-shadow: 0 0 35px rgba(247, 200, 91, 0.3), 6px 6px 0 var(--purple-dark);
  clip-path: polygon(20% 0, 80% 0, 80% 10%, 100% 10%, 100% 70%, 90% 70%, 90% 90%, 70% 90%, 70% 100%, 20% 100%, 20% 90%, 10% 90%, 10% 20%, 20% 20%);
}

html[data-time="day"] .moon,
html[data-time="dawn"] .moon { background: #f7c85b; box-shadow: 0 0 40px rgba(247, 200, 91, 0.38), 6px 6px 0 #ef9e67; }
html[data-time="day"] .star,
html[data-time="dawn"] .star { opacity: 0.08; animation: none; }

.star { position: absolute; z-index: 2; color: var(--cream); animation: twinkle 2.6s steps(2, end) infinite; }
.star-one { top: 38px; left: 18%; font-size: 1.5rem; }
.star-two { top: 82px; left: 7%; color: var(--purple); }
.star-three { top: 103px; right: 8%; font-size: 2rem; }

.motion-control { display: grid; justify-items: center; margin-top: 0.8rem; }
.motion-toggle { display: grid; min-width: min(330px, 92vw); grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; border: 2px solid rgba(247,229,183,.72); padding: 0.65rem 0.75rem; color: var(--cream); background: rgba(17,22,44,.86); box-shadow: 4px 4px 0 rgba(123,84,196,.72); text-align: left; cursor: pointer; transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease; }
.motion-toggle:hover, .motion-toggle:focus-visible { color: var(--cream); background: #2b3150; outline: 3px solid var(--yellow); outline-offset: 3px; transform: translateY(-1px); }
.motion-toggle-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid currentColor; color: var(--yellow); font-size: .7rem; }
.motion-toggle-copy { display: grid; gap: .16rem; }
.motion-toggle-copy strong { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.motion-toggle-copy small { color: #d3d6e4; font-family: system-ui, sans-serif; font-size: .7rem; letter-spacing: 0; }
.motion-toggle-switch { position: relative; width: 42px; height: 23px; border: 2px solid var(--cream); background: #4e536b; }
.motion-toggle-switch span { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; background: var(--cream); transition: transform 180ms ease, background 180ms ease; }
.motion-toggle.is-on .motion-toggle-switch { background: var(--teal-dark); }
.motion-toggle.is-on .motion-toggle-switch span { background: var(--yellow); transform: translateX(17px); }
.motion-toggle:not(.is-on) .motion-toggle-icon { color: #b9bdcf; }
.motion-help { margin: .65rem 0 0; color: #b9bdcf; font-family: system-ui, sans-serif; font-size: .72rem; text-align: center; }

.game-shell {
  position: relative;
  z-index: 3;
  max-width: 690px;
  margin-bottom: 7rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--pixel-border) solid var(--ink);
  box-shadow: 12px 12px 0 var(--purple-dark), 16px 16px 0 var(--ink);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  color: var(--cream);
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-light {
  width: 10px;
  height: 10px;
  background: var(--mint);
  box-shadow: 2px 2px 0 #396d59;
  animation: blink 2s steps(2, end) infinite;
}

.game-panel {
  padding: clamp(1.35rem, 5vw, 3.25rem);
}

.game-panel h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.030em;
}

.seo-section h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.6rem, 5vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.030em;
}

.panel-copy {
  margin: 0.7rem 0 0.8rem;
  color: #575367;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  align-content: center;
  cursor: pointer;
  border: 3px solid var(--ink);
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 4px 4px 0 var(--ink);
  text-align: left;
  overflow: hidden;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.choice-card::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  background: currentColor;
  box-shadow: -9px 0 0 currentColor, 0 -9px 0 currentColor;
  opacity: 0.12;
  content: "";
}

.choice-card[data-category="buy"] { background: #fff0c8; }
.choice-card[data-category="rent"] { background: #dcefe9; }
.choice-card[data-category="sell"] { background: #f7d5ca; }
.choice-card[data-category="invest"] { background: #e4dcf0; }
.choice-card[data-category="stay"] { background: #dcebd6; }
.choice-card[data-category="surprise"] { background: #f5ddeb; }

.choice-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.choice-card:focus-visible,
.primary-button:focus-visible,
.text-button:focus-visible,
.contact-link:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: 3px;
}

.choice-card.selected {
  color: var(--ink);
  background: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.choice-icon {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--purple-text);
  font-size: 1.45rem;
  line-height: 1;
}

.choice-card span:nth-child(2) {
  align-self: end;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.choice-card small {
  color: #5e586a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.personalization-panel {
  scroll-margin-top: 0.75rem;
  margin-top: 1rem;
  border: 3px solid var(--ink);
  border-radius: 4px;
  padding: clamp(0.85rem, 2.5vw, 1.15rem);
  background: #fffaf1;
  box-shadow: 5px 5px 0 var(--purple);
}

.personalization-panel h3 {
  margin: 0.3rem 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.1;
}

.personalization-copy {
  margin: 0 0 0.75rem;
  color: #5e586a;
  font-size: 0.88rem;
}

.intent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.intent-button {
  min-height: 48px;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  font: 800 0.84rem/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.intent-button:hover,
.intent-button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  transform: translate(-1px, -1px);
}

.intent-button.selected {
  background: var(--yellow);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.primary-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  cursor: pointer;
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 1rem 1.1rem;
  color: var(--ink);
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary-button:not(:disabled):hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.primary-button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.reveal-panel {
  scroll-margin-top: 0.75rem;
  text-align: center;
}

.reveal-panel.is-entering {
  animation: panel-in 500ms steps(6, end) both;
}

.fortune-cookie {
  position: relative;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  margin: 1.2rem auto;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--purple-dark);
  transform: rotate(3deg);
}

.fortune-door {
  font-size: 3.4rem;
}

.fortune-spark {
  position: absolute;
  color: var(--coral);
  font-size: 1.25rem;
  animation: twinkle 1s steps(2, end) infinite;
}

.spark-left {
  top: -15px;
  left: -25px;
}

.spark-right {
  right: -22px;
  bottom: -12px;
  animation-delay: 300ms;
}

.fortune-kicker {
  margin: 1.4rem 0 0.5rem;
  color: var(--purple-text);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fortune-message {
  max-width: 560px;
  margin-inline: auto !important;
}

.fortune-tip {
  margin: 1.8rem 0;
  border: 3px dashed var(--purple-dark);
  padding: 1.1rem;
  background: #f1e8ff;
  text-align: left;
}

.fortune-tip p {
  margin: 0.35rem 0 0;
  color: #4b4659;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tip-label {
  color: var(--purple-text);
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.result-actions .primary-button {
  margin-top: 0;
}

.daily-fortune-note {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: #5a5566;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.fortune-reminder-prompt {
  margin-top: 1.1rem;
}

.reminder-prompt-button {
  display: grid;
  width: 100%;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--coral);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.reminder-prompt-button span {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reminder-prompt-button small {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 650;
}

.reminder-prompt-button:hover,
.reminder-prompt-button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  transform: translateY(-1px);
}

.fortune-reminder {
  margin-top: 1.35rem;
  border: 3px solid var(--ink);
  padding: clamp(1rem, 4vw, 1.45rem);
  color: var(--ink);
  background: #fff8e8;
  box-shadow: 5px 5px 0 var(--yellow);
  text-align: left;
}

.fortune-reminder-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reminder-moon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid var(--ink);
  color: var(--cream);
  background: var(--purple-dark);
  box-shadow: 3px 3px 0 var(--coral);
  font-size: 1.6rem;
}

.fortune-reminder .step-label {
  margin: 0 0 0.25rem;
}

.fortune-reminder h3 {
  margin: 0;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  line-height: 1.2;
}

.fortune-reminder-copy {
  margin: 0.85rem 0 1rem;
  color: #514d5c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.fortune-reminder-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem;
}

.fortune-reminder-fields label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fortune-reminder-fields label span {
  color: #6f6879;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: none;
}

.fortune-reminder-fields input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0.75rem;
  color: var(--ink);
  background: var(--white);
  font: 500 1rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fortune-reminder-fields input:focus-visible,
.fortune-tips-option input:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: 2px;
}

.fortune-tips-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.9rem;
  cursor: pointer;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fortune-tips-option input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--purple-dark);
}

.fortune-tips-option strong,
.fortune-tips-option small {
  display: block;
}

.fortune-tips-option strong {
  font-size: 0.84rem;
  line-height: 1.4;
}

.fortune-tips-option small {
  margin-top: 0.2rem;
  color: #625d6c;
  font-size: 0.72rem;
  line-height: 1.45;
}

.fortune-reminder-actions {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.fortune-reminder-actions .primary-button {
  margin: 0;
  padding: 0.78rem 0.9rem;
  justify-content: center;
  font-size: 0.72rem;
}

.fortune-reminder-actions p {
  margin: 0;
  color: #625d6c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  line-height: 1.45;
}

.fortune-reminder-actions a {
  color: var(--purple-text);
  font-weight: 750;
}

.fortune-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.fortune-reminder-status {
  min-height: 1.25rem;
  margin: 0.8rem 0 0;
  color: #315846;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.45;
}

.fortune-reminder-status.is-error {
  color: #8b2f2f;
}

.fortune-reminder.is-complete form > :not(.fortune-reminder-status) {
  display: none;
}

.text-button {
  cursor: pointer;
  border: 0;
  padding: 1rem 0.4rem;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.contact-link {
  display: inline-block;
  margin-top: 1.65rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.entertainment-note,
.live-message {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #6b6675;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  text-align: center;
}

.live-message {
  min-height: 1.4rem;
  padding-bottom: 0.8rem;
  color: #315846;
  font-weight: 700;
}

.seo-section {
  max-width: 940px;
  margin-bottom: 6rem;
}

.connect-section {
  display: grid;
  width: min(100% - 2rem, 940px);
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin: 0 auto 7rem;
}

.connect-intro {
  padding-top: 1.4rem;
}

.connect-section h2 {
  margin: 0.6rem 0 1rem;
  color: var(--white);
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.connect-intro > p:not(.eyebrow) {
  color: #c5c7da;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
}

.headshot-frame {
  width: 92px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex: 0 0 auto;
  border: 3px solid var(--cream);
  box-shadow: 5px 5px 0 var(--purple-dark);
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.agent-profile strong,
.agent-profile span {
  display: block;
}

.agent-profile strong {
  color: var(--white);
  font-size: 0.9rem;
}

.agent-profile span {
  margin-top: 0.25rem;
  color: #adb0c6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  line-height: 1.45;
}

.contact-card {
  border: 4px solid var(--ink);
  padding: clamp(1.3rem, 4vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--coral);
}

.contact-card-label {
  margin: 0;
  color: var(--purple-text);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0.45rem 0 1.2rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 3px solid var(--ink);
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-action:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.contact-action-primary {
  background: var(--yellow);
}

.contact-action-booking {
  color: var(--white);
  background: #6333a5;
}

.contact-action small {
  color: #3f3a4b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
  text-transform: none;
}

.contact-action.contact-action-booking small {
  color: var(--white);
}

.scheduling-note {
  margin: 1.15rem 0 0;
  border-left: 3px solid var(--purple-dark);
  padding-left: 0.8rem;
  color: #686272;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
}

.seo-section > h2 {
  max-width: 680px;
  color: var(--white);
}

.seo-section > p:not(.eyebrow):not(.prototype-note) {
  max-width: 680px;
  color: #c5c7da;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.info-grid article {
  border: 3px solid #373c63;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
}

.info-grid article > span {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
}

.info-grid h3 {
  margin: 0.7rem 0 0.3rem;
  font-size: 1rem;
}

.info-grid p {
  margin: 0;
  color: #b7b9cd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
}

.prototype-note {
  margin-top: 2rem;
  border-left: 4px solid var(--coral);
  padding-left: 1rem;
  color: var(--cream);
  font-size: 0.74rem;
}

footer {
  border-top: 1px solid #373c63;
  padding: 1.4rem 0 2.5rem;
  color: #8589a5;
  font-size: 0.7rem;
}

.footer-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--cream);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.license-details {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.3rem;
  border-top: 1px dashed #373c63;
  padding-top: 1rem;
  color: #a8abc0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
}

.license-details p {
  margin: 0;
}

.license-details .consumer-notice-copy {
  max-width: 980px;
  margin-top: 0.75rem;
  border-top: 1px dashed #373c63;
  padding-top: 0.8rem;
  color: #c8cad8;
  line-height: 1.65;
}

.consumer-notice-copy strong {
  color: var(--yellow);
}

[hidden] {
  display: none !important;
}

@keyframes twinkle {
  0%, 45% { opacity: 1; }
  46%, 70% { opacity: 0.25; }
  71%, 100% { opacity: 1; }
}

@keyframes blink {
  0%, 72% { opacity: 1; }
  73%, 100% { opacity: 0.35; }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rain-fall {
  from { background-position: 0 -42px, 11px -67px, 7px -29px; }
  to { background-position: -10px 78px, 1px 91px, -5px 104px; }
}

@keyframes snow-fall {
  from { background-position: 0 -58px, 28px -54px; }
  to { background-position: 18px 58px, 4px 74px; }
}

@keyframes storm-flash {
  0%, 72%, 75%, 100% { filter: brightness(1); }
  73% { filter: brightness(1.7); }
  74% { filter: brightness(1.18); }
}

@keyframes cloud-drift {
  from { background-position: -8% 0, 12% 0; }
  to { background-position: 20% 0, -12% 0; }
}

@keyframes wind-cloud-cross {
  from { transform: translateX(0); }
  to { transform: translateX(760px); }
}

@keyframes wind-leaf-cross {
  0% { transform: translate(-20px, -4px) rotate(0deg); opacity: 0; }
  12% { opacity: 0.82; }
  48% { transform: translate(310px, 16px) rotate(190deg); }
  88% { opacity: 0.76; }
  100% { transform: translate(650px, -3px) rotate(380deg); opacity: 0; }
}

@keyframes tree-sway {
  from { transform: skewX(-1deg) rotate(-1deg); }
  to { transform: skewX(3deg) rotate(2deg); }
}

@keyframes chimney-rise {
  0% { transform: translate(0, 0) scale(0.7); opacity: 0; }
  18% { opacity: 0.55; }
  100% { transform: translate(15px, -58px) scale(1.45); opacity: 0; }
}

@keyframes turkey-roam-one {
  0% { transform: translateX(0) scaleX(1); }
  46% { transform: translateX(72px) scaleX(1); }
  52% { transform: translateX(72px) scaleX(-1); }
  100% { transform: translateX(18px) scaleX(-1); }
}

@keyframes turkey-roam-two {
  0% { transform: translateX(0) scale(0.86) scaleX(-1); }
  45% { transform: translateX(-54px) scale(0.86) scaleX(-1); }
  52% { transform: translateX(-54px) scale(0.86) scaleX(1); }
  100% { transform: translateX(-8px) scale(0.86) scaleX(1); }
}

@keyframes turkey-peck {
  0%, 58%, 100% { transform: scale(0.72) rotate(0deg); }
  68%, 82% { transform: scale(0.72) rotate(9deg) translateY(3px); }
}

@keyframes season-drift {
  from { transform: translateY(-2px) rotate(-5deg); }
  to { transform: translateY(8px) rotate(7deg); }
}

@keyframes spring-petal-drift {
  from { transform: translate(-3px, -5px) rotate(25deg); }
  to { transform: translate(12px, 17px) rotate(155deg); }
}

@keyframes summer-firefly {
  0%, 18% { transform: translate(-2px, 3px) scale(0.75); opacity: 0.28; }
  42%, 70% { transform: translate(8px, -8px) scale(1); opacity: 0.9; }
  100% { transform: translate(-5px, 6px) scale(0.72); opacity: 0.34; }
}

@keyframes fall-leaf-drift {
  from { transform: translate(-5px, -8px) rotate(12deg); }
  to { transform: translate(14px, 20px) rotate(172deg); }
}

@keyframes winter-sparkle {
  0%, 34% { transform: scale(0.72) rotate(0deg); opacity: 0.38; }
  35%, 68% { transform: scale(1) rotate(45deg); opacity: 0.88; }
  69%, 100% { transform: scale(0.82) rotate(90deg); opacity: 0.48; }
}

@keyframes holiday-float {
  from { transform: translateY(-4px) rotate(-8deg); }
  to { transform: translateY(9px) rotate(10deg); }
}

@keyframes heart-float {
  from { transform: translateY(9px) scale(0.82); opacity: 0.44; }
  to { transform: translateY(-11px) scale(1); opacity: 0.84; }
}

@keyframes bat-flutter {
  0%, 100% { transform: translate(-3px, 2px) rotate(-14deg) scaleX(1); }
  50% { transform: translate(8px, -7px) rotate(12deg) scaleX(0.68); }
}

@keyframes garland-twinkle {
  0%, 49% { opacity: 0.58; }
  50%, 100% { opacity: 0.9; }
}

@keyframes lantern-sway {
  from { transform: translateY(-3px) rotate(-5deg); opacity: 0.55; }
  to { transform: translateY(7px) rotate(5deg); opacity: 0.88; }
}

@keyframes moon-glimmer {
  0%, 30% { transform: scale(0.78); opacity: 0.42; }
  31%, 72% { transform: scale(1); opacity: 0.9; }
  73%, 100% { transform: scale(0.86); opacity: 0.58; }
}

@keyframes marigold-float {
  from { transform: translate(-3px, 5px) rotate(-8deg); opacity: 0.5; }
  to { transform: translate(8px, -8px) rotate(14deg); opacity: 0.86; }
}

@keyframes rare-glow {
  0%, 49% { transform: scale(1); }
  50%, 100% { transform: scale(1.12); }
}

@keyframes mascot-window-peek {
  0%, 82%, 100% { transform: translateY(0); }
  88%, 94% { transform: translateY(-2px); }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 1.2rem;
  }

  .hero .eyebrow {
    margin-top: 2.7rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .scene {
    height: 286px;
  }

  .pixel-house {
    width: min(108%, 440px);
  }

  .mote-four,
  .holiday-four,
  .wind-leaf.leaf-three,
  .wind-cloud.cloud-two {
    display: none;
  }

  .wind-cloud {
    animation-duration: 14s;
  }

  .holiday-garland {
    top: 169px;
    width: 284px;
  }

  .holiday-garland::before,
  .holiday-garland::after { width: 168px; }

  .holiday-roof-decor { top: 90px; width: 148px; }
  .chimney-smoke { top: 42px; left: calc(50% + 60px); }

  .game-shell {
    margin-bottom: 5.5rem;
    box-shadow: 7px 7px 0 var(--purple-dark), 10px 10px 0 var(--ink);
  }

  .choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .choice-card {
    min-height: 88px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .connect-section {
    width: min(100% - 1.25rem, 940px);
    grid-template-columns: 1fr;
    margin-bottom: 5.5rem;
  }

  .contact-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .contact-action small {
    text-align: left;
  }

  .footer-topline {
    flex-direction: column;
  }

  .fortune-reminder-fields,
  .fortune-reminder-actions {
    grid-template-columns: 1fr;
  }

  .fortune-reminder-actions {
    gap: 0.65rem;
  }
}

@media (max-width: 420px) {
  .hero,
  .game-shell,
  .seo-section,
  footer {
    width: min(100% - 1.25rem, 940px);
  }

  .fortune-topbar {
    gap: 0.55rem;
  }

  .brand-lockup {
    gap: 0.4rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .main-site-link {
    padding-inline: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .choice-card {
    min-height: 84px;
    grid-template-columns: 25px minmax(0, 1fr);
    column-gap: 0.5rem;
    padding: 0.65rem;
  }

  .choice-icon { font-size: 1.2rem; }
  .choice-card span:nth-child(2) { font-size: 0.78rem; }
  .choice-card small { font-size: 0.64rem; line-height: 1.22; }
  .intent-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .intent-button { min-height: 44px; padding: 0.45rem 0.5rem; font-size: 0.72rem; }
  .personalization-copy { font-size: 0.78rem; }

  .result-actions {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .scene { height: 255px; }
  .pixel-house { width: 390px; }
  .pixel-mountain { bottom: 82px; transform: scale(0.72); }
  .mountain-center { bottom: 76px; transform: translateX(-50%) scale(0.9); }
  .holiday-garland { top: 149px; width: 251px; }
  .holiday-garland::before,
  .holiday-garland::after { width: 148px; }
  .holiday-roof-decor { top: 82px; width: 132px; }
  .holiday-yard-decor { bottom: 21px; transform: scale(0.82); }
  .motion-toggle { min-height: 40px; }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html:not(.motion-override-on) *,
  html:not(.motion-override-on) *::before,
  html:not(.motion-override-on) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html:not(.motion-override-on) .weather-layer,
  html:not(.motion-override-on) .wind-layer,
  html:not(.motion-override-on) .season-layer,
  html:not(.motion-override-on) .holiday-layer,
  html:not(.motion-override-on) .scene-tree {
    will-change: auto !important;
  }

  html:not(.motion-override-on) .wind-cloud,
  html:not(.motion-override-on) .wind-leaf,
  html:not(.motion-override-on) .mote-three,
  html:not(.motion-override-on) .mote-four,
  html:not(.motion-override-on) .holiday-three,
  html:not(.motion-override-on) .holiday-four {
    display: none !important;
  }
}

html.motion-disabled *,
html.motion-disabled *::before,
html.motion-disabled *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
