@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-italic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --night: #101b39;
  --ivory: #fff6e6;
  --gold: #efd193;
  --gutter: clamp(24px, 6.6vw, 144px);
  --header-height: 74px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #ffd88c;
  outline-offset: 4px;
}
.skip-link { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 10px; background: var(--night); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.masthead {
  position: relative;
  z-index: 2;
  min-height: var(--header-height);
  padding: 10px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 1rem;
  border-bottom: 1px solid #c2a66c52;
  background: #0d162e;
}
.brand, .header-nav, .header-nav a, .clock-caption { display: inline-flex; align-items: center; }
.brand { justify-self: start; gap: 11px; }
.compass { color: var(--gold); width: 39px; height: 39px; }
.brand-name { font: 19px/1 var(--serif); text-transform: uppercase; letter-spacing: .16em; }
.brand-name small { display: block; margin-top: 7px; color: #d0c9bc; font: 9px/1 var(--sans); letter-spacing: .25em; }
.header-nav { gap: 24px; font-size: 14px; }
.header-nav a { white-space: nowrap; gap: 4px; min-height: 44px; }
.header-nav a:is(:active, [aria-current="page"], [aria-current="location"]),
body:has(#how-to-play:target) .header-nav a[href="#how-to-play"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: .35em;
}
.home-nav-toggle { display: none; }
.clock-caption > span { color: var(--gold); }
.choice-button svg, .clock-caption svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: calc(100svh - var(--header-height));
}
.landscape {
  position: relative;
  z-index: -1;
  grid-area: 1 / 1 / 2 / -1;
  align-self: stretch;
  overflow: hidden;
  background: #101c3b;
}
.landscape img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
@media (prefers-reduced-motion: no-preference) {
  .snowfall { position: absolute; inset: 0; pointer-events: none; }
  .snowfall::before, .snowfall::after {
    content: "";
    position: absolute;
    inset: calc(0px - var(--fall)) -24px 0;
    background-size: var(--spacing) var(--fall);
    animation: snowfall var(--duration) linear infinite;
  }
  .snowfall::before {
    --spacing: 293px;
    --fall: 251px;
    --drift: 9px;
    --duration: 9s;
    opacity: .53;
    background-image:
      radial-gradient(circle at 8% 19%, #eff5ff .7px, transparent 1.6px),
      radial-gradient(circle at 32% 89%, #eff5ff 1px, transparent 2px),
      radial-gradient(circle at 57% 44%, #fff .9px, transparent 1.8px),
      radial-gradient(circle at 86% 6%, #fff .7px, transparent 1.6px);
  }
  .snowfall::after {
    --spacing: 419px;
    --fall: 337px;
    --drift: -18px;
    --duration: 6s;
    opacity: .76;
    background-image:
      radial-gradient(circle at 14% 37%, #fff 1.2px, transparent 2.8px),
      radial-gradient(circle at 38% 8%, #f3f7ff 1.5px, transparent 3.2px),
      radial-gradient(circle at 50% 74%, #fff 1px, transparent 2.5px),
      radial-gradient(circle at 73% 26%, #fff 1px, transparent 2.3px),
      radial-gradient(circle at 94% 91%, #f3f7ff 1.3px, transparent 3px);
  }
  @keyframes snowfall {
    from { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(var(--drift), calc(var(--fall) / 2), 0); }
    to { transform: translate3d(0, var(--fall), 0); }
  }
}
.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08132c96, #0c18331f 42%, transparent 59%), linear-gradient(0deg, #09163175, transparent 18%);
}
.stage {
  display: grid;
  grid-area: 1 / 1;
  align-content: center;
  min-width: 0;
  gap: clamp(14px, 2.6vh, 25px);
  padding: clamp(27px, 4.5vh, 58px) 0 clamp(32px, 5vh, 60px) var(--gutter);
}
.entry { width: min(100%, 570px); }
.setting, .clock-caption { font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.setting { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gold); }
.setting span { font-size: 18px; line-height: 1; }
.entry h1 { margin: 0; font: 400 clamp(2.5rem, 6vw, 5rem)/1 var(--serif); letter-spacing: -.055em; }
.hero-prefix { display: block; margin-bottom: .55em; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
h1 em { display: block; width: fit-content; padding-right: .12em; color: #f6d69f; font-weight: 400; }
.invitation { max-width: 365px; margin: 26px 0; color: #e0e0e0; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.6; text-wrap: pretty; }
.game-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 24rem); }
.game-choices > :is(.choice-primary, [data-continue-game], .save-status, .player-note) { grid-column: 1 / -1; }
.save-status { margin: .2rem 0 0; text-align: center; color: #fff; font-size: 13px; font-weight: 500; text-shadow: 0 1px 4px #07152c; overflow-wrap: anywhere; }
.player-note {
  justify-self: center;
  min-height: 32px;
  max-width: 100%;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: .22em;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.choice-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid #ffffff8c;
  border-radius: 9px;
  color: #FFFFFF;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}
.choice-button[hidden], .player-note[hidden] { display: none; }
.choice-button svg { width: 18px; height: 18px; flex: none; }
.choice-primary { background: #b82d42; border-color: #e87b87; font-size: 16px; }
.christmas-clock { display: flex; width: fit-content; flex-direction: column; gap: 8px; color: #fff5e2; text-shadow: 0 1px 7px #07152c; }
.clock-caption { gap: 8px; font-size: 10px; letter-spacing: .14em; }
.clock-caption svg { width: 15px; height: 15px; color: var(--gold); }
.clock-values { display: flex; align-items: baseline; gap: 11px; font-variant-numeric: tabular-nums; }
.clock-values b { font: 700 22px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.clock-values small { margin-left: 4px; font-size: 12px; }
.clock-values i { color: #edd8b3b0; font: 14px var(--serif); }
@media (hover: hover) {
  .choice-button:hover { background: #ffffff18; border-color: #fff; }
  .choice-primary:hover { background: #cb3e51; }
  .header-nav a:hover, .christmas-clock:hover .clock-caption { color: var(--gold); }
}
.choice-button:active { background: #ffffff24; }
.choice-primary:active { background: #a32235; }
@media (min-aspect-ratio: 21/10) and (min-width: 801px) {
  .landscape::after { background: linear-gradient(90deg, #08132cbb, #0c183366 28%, transparent 54%); }
}
@media (min-width: 801px) and (max-height: 760px) {
  :root { --header-height: 58px; }
  .stage { padding-top: 20px; }
  .setting { margin-bottom: 12px; }
  .invitation { margin-block: 16px; }
}
@media (max-width: 800px) {
  .game-choices { grid-template-columns: 1fr 1fr; gap: 12px; }
  .masthead[data-nav-ready="true"] { flex-wrap: nowrap; }
  .masthead[data-nav-ready="true"] .home-nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid #ffffff75;
    border-radius: 8px;
  }
  .masthead[data-nav-ready="true"] .header-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: var(--gutter);
    display: none;
    width: min(220px, calc(100% - 2 * var(--gutter)));
    padding: 5px 12px;
    background: #0d162e;
    border: 1px solid #ffffff63;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px #050d2080;
  }
  .masthead[data-nav-ready="true"] .home-nav-toggle[aria-expanded="true"] + .header-nav { display: grid; gap: 0; }
  .masthead[data-nav-ready="true"] .header-nav a + a { border-top: 1px solid #ffffff24; }
}
@media (max-width: 768px), (max-width: 800px) and (max-aspect-ratio: 6/5), (max-aspect-ratio: 1/1) {
  :root { --gutter: clamp(20px, 6vw, 48px); --header-height: 62px; }
  .masthead { padding-block: 8px; }
  .brand { gap: 7px; }
  .compass { width: 30px; height: 30px; }
  .brand-name { font-size: 15px; }
  .brand-name small { font-size: 7px; margin-top: 5px; }
  .header-nav { font-size: 13px; }
  .scene { display: flex; flex-direction: column; min-height: 0; }
  .landscape { flex: none; height: min(87.8vw, 35.5svh); }
  .landscape img { object-position: right 28%; }
  .landscape::after { background: linear-gradient(0deg, var(--night), transparent 24%); }
  .stage { gap: 18px; padding: 4px var(--gutter) 24px; }
  .entry { width: 100%; padding: 0; }
  .setting { font-size: 9px; margin-top: 24px; margin-bottom: 14px; }
  .entry h1 { font-size: clamp(46px, 11vw, 88px); line-height: .98; }
  .hero-prefix { font-size: clamp(23px, 5.5vw, 36px); }
  h1 em { display: inline; }
  .invitation { margin: 14px 0 18px; max-width: 40ch; font-size: 15px; }
  .christmas-clock { padding-top: 14px; width: 100%; border-top: 1px solid #f1d6a633; }
  .clock-values { gap: clamp(8px, 2.4vw, 14px); }
  .clock-values > span { display: grid; gap: 4px; min-width: 37px; }
  .clock-values small { margin: 0; font-size: 12px; }
  .clock-values b { font-size: 21px; }
  .clock-values i { display: none; }
}
@media (max-width: 400px) {
  .brand-name { font-size: clamp(12px, 4vw, 15px); }
}
@media (max-height: 470px) and (min-aspect-ratio: 3/2) {
  :root { --header-height: 49px; }
  .masthead { padding-block: 4px; }
  .header-nav a { min-height: 40px; }
  .entry { padding-block: 0; }
  .stage { padding-top: 12px; }
  .setting { font-size: 9px; margin-bottom: 8px; }
  h1 em { display: inline; }
  .invitation { margin: 10px 0 12px; font-size: 14px; }
}
@media (max-width: 768px) {
  .stage { order: -1; gap: 16px; padding: 0 20px; }
  .setting { margin-top: 16px; margin-bottom: 10px; }
  .entry h1 { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.2; }
  .hero-prefix { font-size: .62em; }
  .invitation { margin-block: 1.5rem 14px; font-size: .95rem; }
  .game-choices { gap: 8px; }
  .choice-button { min-height: 48px; gap: 6px; padding-inline: 6px; line-height: 1.2; }
  .choice-secondary { white-space: nowrap; }
  .christmas-clock { padding-block: 10px 12px; }
  .landscape { height: clamp(180px, 50vw, 360px); }
  .landscape::after { background: linear-gradient(var(--night), transparent 16%); }
}
@media (max-width: 380px) {
  .masthead { padding-inline: 12px; column-gap: 6px; }
  .choice-secondary { font-size: 13px; }
  .choice-secondary svg { width: 15px; height: 15px; }
}

.home-guide-content {
  --guide-text: #e0e4ef;
  --guide-rule: #b8c5df40;
  --guide-accent: #efd193;
  background: var(--night);
  color: var(--guide-text);
  font: 400 1rem/1.6 var(--sans);
}
.home-guide-content > section { padding-block: clamp(42px, 6vw, 88px); }
.home-guide-content .wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 800px;
  margin-inline: auto;
}
.home-guide-content .paper-section, .home-guide-content .route-guide {
  --guide-text: #343b48;
  --guide-rule: #a2a9af77;
  --guide-accent: #765126;
  color: var(--guide-text);
  background: #f8f3e8;
}
.home-guide-content h2, .home-guide-content h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}
.home-guide-content h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.06; letter-spacing: -.045em; }
.home-guide-content h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.home-guide-content p { max-width: 68ch; margin: .75rem 0 0; }
.home-guide-content a { color: var(--guide-accent); text-decoration: underline; text-underline-offset: .2em; }
.home-guide-content .eyebrow {
  margin: 0 0 .85rem;
  font: 650 .7rem/1.4 var(--sans);
  color: var(--guide-accent);
  letter-spacing: .14em;
}
.home-guide-content .journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  padding: 0;
  margin: clamp(22px, 3vw, 40px) 0;
  list-style: none;
}
.home-guide-content .journey-steps li {
  padding: 1rem;
  border: 1px solid var(--guide-rule);
  border-radius: .5rem;
  background: #fffaf0;
}
.home-guide-content .step-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
  color: var(--guide-accent);
}
.home-guide-content .step-marker svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-guide-content .journey-steps h3 { font-size: clamp(21px, 2vw, 26px); }
.home-guide-content .journey-steps p { margin-top: .35rem; }
.home-guide-content .step-number {
  font: 700 1rem/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .home-guide-content .journey-steps li:hover { border-color: #aa7b36; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-guide-content .journey-steps li { transition: border-color .18s ease, transform .18s ease; }
  .home-guide-content .journey-steps li:hover { transform: translateY(-3px); }
}
.home-guide-content > .guide-heading.wrap, .home-guide-content .route-guide .wrap { max-width: 47rem; }
.home-guide-content > .guide-heading { padding-bottom: 0; }
.home-guide-content .differences-heading { max-width: 47rem; }
.home-guide-content .differences-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem clamp(24px, 5vw, 72px); margin-top: 2.25rem;
}
.home-guide-content .differences-grid article { border-top: 1px solid var(--guide-rule); padding-top: 1rem; }
.home-guide-content .route-guide + .detailed-route { padding-top: 0; }
.home-guide-content .detailed-route .wrap { border-top: 1px solid var(--guide-rule); padding-top: 2rem; }
.home-guide-content .guide-steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.home-guide-content .guide-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; margin-top: 1.8rem; }
.home-guide-content .guide-number { padding-top: .22rem; color: var(--guide-accent); font-weight: 650; font-variant-numeric: tabular-nums; }
.home-guide-content .faq-section { border-top: 1px solid var(--guide-rule); }
.home-guide-content .faq-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: clamp(24px, 5vw, 70px); }
.home-guide-content details { border-block-end: 1px solid var(--guide-rule); }
.home-guide-content details:first-child { border-block-start: 1px solid var(--guide-rule); }
.home-guide-content summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; list-style: none; cursor: pointer; font-weight: 650; }
.home-guide-content summary::-webkit-details-marker { display: none; }
.home-guide-content summary span { color: var(--guide-accent); font-size: 1.2rem; line-height: 1; }
.home-guide-content details[open] summary span { transform: rotate(45deg); }
.home-guide-content details p { margin: 0 0 1rem; }
@media (max-width: 700px) {
  .home-guide-content .faq-layout, .home-guide-content .differences-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-guide-content .journey-steps { grid-template-columns: 1fr; }
  .home-guide-content .guide-steps li { grid-template-columns: 1.6rem 1fr; gap: .45rem; }
}
.home-guide-content .keys-reference { border-block: 1px solid var(--guide-rule); margin-top: 2.4rem; }
.home-guide-content .keys-reference summary { justify-content: flex-start; }
.home-guide-content .keys-reference summary::after { content: "+"; color: var(--guide-accent); margin-left: auto; }
.home-guide-content .keys-reference[open] summary::after { content: "−"; }
.home-guide-content .keys-reference dl { margin: 0 0 1.25rem; }
.home-guide-content .keys-reference dl > div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding-block: .25rem; }
.home-guide-content kbd { padding: .08em .35em; border: 1px solid var(--guide-rule); border-radius: .22em; font: 600 .85em var(--sans); }
.home-guide-content .keys-reference dt { font-weight: 650; }
.home-guide-content .keys-reference dd { margin: 0; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding: .75rem var(--gutter);
  border-top: 1px solid #c2a66c52;
  background: #0d162e;
  color: var(--gold);
  font-size: .875rem;
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover, .privacy-policy a { text-decoration: underline; text-underline-offset: .2em; }
.privacy-policy {
  max-width: 72ch;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  overflow-wrap: break-word;
}
.privacy-policy h1, .privacy-policy h2 { font-family: var(--serif); line-height: 1.2; }
.privacy-policy h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4rem); }
.privacy-policy h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.privacy-policy section { margin-top: 2rem; }
.privacy-policy p { margin: 0 0 .9rem; }
.privacy-policy .policy-date { margin-block: .75rem 1.5rem; color: #d0c9bc; }
.privacy-policy a { color: var(--gold); }
