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

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2a1c12;
  --ink-soft: #4a3426;
  --night: #12100e;
  --night-2: #1a120d;
  --forest: #142018;
  --forest-2: #1c2c22;
  --paper: #f3e6cc;
  --paper-2: #f7efe0;
  --gold: #f0d7a4;
  --gold-deep: #e0b56a;
  --ember: #e36a32;
  --line: rgba(42, 28, 18, 0.14);
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header: 64px;
  --wrap: 1080px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(90, 58, 28, 0.35), transparent 60%),
    var(--night);
  color: #f6edd9;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
}

img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #e7b15a; color: #1a120d; }

:focus-visible {
  outline: 3px solid #e7b15a;
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}
[id] { scroll-margin-top: 80px; }

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c47a32, var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress {
      animation: grow linear;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes grow { to { transform: scaleX(1); } }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #16110d;
  border-bottom: 1px solid rgba(240, 215, 164, 0.14);
}
.top.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.nav { display: flex; gap: 16px; align-items: center; }
.nav a {
  color: #f6edd9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(80% 50% at 50% 18%, rgba(92, 62, 28, 0.45), transparent 70%),
    radial-gradient(40% 40% at 0% 80%, rgba(24, 58, 36, 0.7), transparent 70%),
    radial-gradient(40% 40% at 100% 75%, rgba(24, 58, 36, 0.65), transparent 70%),
    linear-gradient(180deg, #24180f 0%, #152018 58%, #10140f 100%);
}
.hero-scene {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 18px 0 8px;
}
.layer { position: absolute; inset: 0; pointer-events: none; }
.pines-far { z-index: 1; opacity: 0.9; }
.pines-front { z-index: 3; }
@media (max-width: 799px) {
  .pines-front { z-index: 1; }
}
.pines svg { width: 100%; height: 100%; display: block; }
.sway { width: 100%; height: 100%; transform-origin: 50% 100%; }
.frame-wrap {
  position: relative;
  z-index: 2;
  width: min(420px, 86vw, 46vh);
}
.frame-wrap::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16px;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  pointer-events: none;
}
.frame {
  padding: 11px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(90deg, #6d462b 0 3px, #5a3820 3px 8px, #7c5334 8px 12px, #4e3018 12px 16px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(243, 215, 161, 0.35);
}
.plates {
  position: relative;
  aspect-ratio: 1206 / 1100;
  overflow: hidden;
  border-radius: 3px;
  background: #6d9448;
  box-shadow: inset 0 0 0 1px rgba(240, 210, 150, 0.4);
}
.plate { position: absolute; inset: 0; margin: 0; }
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plate-winter { opacity: 0; }
.glow {
  position: absolute;
  left: 67%;
  top: 63%;
  width: 30%;
  height: 26%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 176, 70, 0.55), rgba(255, 110, 40, 0.12) 42%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
#motes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 8px 0 28px;
}
.eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}
.wordmark {
  width: min(560px, 86vw);
  height: auto;
  margin: 8px auto 0;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
.hero h1 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #f8ecd8;
}
.subhead {
  margin: 8px 0 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  color: var(--gold);
  line-height: 1.15;
}
.deck {
  margin: 14px auto 0;
  max-width: 38rem;
  color: #eadcc4;
  font-size: 1.08rem;
}
.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  min-width: 230px;
  padding: 11px 20px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6e2bc, #e0b56a);
  color: #2a1c12;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
p.store-badge { margin: 0; cursor: default; }
.store-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.store-name {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.45rem;
  line-height: 1.05;
}
.age {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 215, 164, 0.45);
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
}
.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #eadcc4;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.scrollcue svg { display: block; }

/* Ribbon */
.ribbon {
  overflow: hidden;
  background: #3a2616;
  color: #f6e7c8;
  border-block: 1px solid rgba(240, 215, 164, 0.22);
}
.ribbon-track {
  display: flex;
  width: max-content;
}
.ribbon p {
  margin: 0;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Gallery */
.gallery-sec {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 48px),
    #24180f;
  padding: 64px 0 36px;
  overflow: hidden;
}
.center { text-align: center; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a3e12;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.center .kicker { justify-content: center; }
.center .kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.chapter-night .kicker,
.gallery-sec .kicker,
.play .kicker,
.close .kicker,
.hero .eyebrow { color: var(--gold); }
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.lede {
  margin: 12px 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.center .lede { margin-inline: auto; }
.chapter-night .lede,
.gallery-sec .lede,
.play .lede,
.close .lede { color: #eadcc4; }

.gal-track {
  display: flex;
  gap: 22px;
  width: 100%;
  margin-top: 4px;
  padding: 12px max(16px, calc((100% - min(74vw, 300px)) / 2)) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gal-track:focus-visible { outline-offset: -4px; }
.gal-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 auto;
  width: min(74vw, 300px);
  scroll-snap-align: center;
  margin: 0;
}
.phone {
  background: #1a120c;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 0 0 1px #6b5344,
    0 22px 40px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 220, 170, 0.18);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #2a2118;
}
.gal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px 4px;
}
.gal-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 215, 164, 0.4);
  background: #3a2616;
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gal-btn:disabled { opacity: 0.35; cursor: default; }
.gal-btn svg { display: block; }
.gal-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: center;
}
.gal-dot {
  width: 32px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.gal-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(240, 215, 164, 0.4);
  transform: translate(-50%, -50%);
}
.gal-dot[aria-current="true"]::before {
  width: 22px;
  background: var(--gold);
}
.gal-count {
  margin: 0;
  min-width: 3.2rem;
  text-align: center;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Chapters */
.chapter { padding: 72px 0; }
.chapter-paper {
  background:
    radial-gradient(rgba(90, 60, 30, 0.05) 0.7px, transparent 0.7px),
    linear-gradient(180deg, #f7efe0, var(--paper));
  background-size: 4px 4px, 100% 100%;
  color: var(--ink);
}
.chapter-night {
  background:
    radial-gradient(600px 240px at 80% 0%, rgba(227, 106, 50, 0.08), transparent 70%),
    var(--forest);
  color: #f6edd9;
}
.chapter-grid { display: grid; gap: 28px; align-items: center; }
.chapter h2 { color: inherit; }
.chapter-copy p:last-child { margin-bottom: 0; }
.chapter-art .phone { max-width: 300px; margin-inline: auto; }

.smith-shot { margin: 0; }
.smith-shot figcaption {
  margin: 12px 0 0;
  text-align: center;
  color: #eadcc4;
  font-size: 0.95rem;
}

/* Seasons */
.season-explorer { margin-top: 28px; }
.season-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 560px;
  margin: 0 auto 16px;
  padding: 5px;
  border-radius: 999px;
  background: #2a1c12;
}
.season-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #f6e7c8;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 4px;
}
.season-tabs button[aria-selected="true"] {
  background: var(--gold);
  color: #2a1c12;
}
.season-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1d3a24;
  box-shadow: var(--shadow);
}
.season-stage figure { margin: 0; }
.season-stage img { display: block; width: 100%; height: auto; }
.snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.snow i {
  position: absolute;
  top: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: 0.85;
}

/* Play + close */
.play {
  background: #1a140f;
  padding: 72px 0;
}
.modes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modes li {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 26px 14px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.modes strong {
  display: block;
  font-family: var(--display);
  font-weight: 620;
  font-size: 1.45rem;
  line-height: 1.1;
}
.modes span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.play .note {
  margin: 18px auto 0;
  max-width: 40rem;
  text-align: center;
  color: #eadcc4;
}
.close {
  position: relative;
  padding: 80px 0 72px;
  text-align: center;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(227, 106, 50, 0.16), transparent 70%),
    linear-gradient(180deg, #1a140f, #10140f);
}
.close .age { border-color: rgba(240, 215, 164, 0.45); }
.close h2 { margin-bottom: 0; }

/* Footer */
.foot {
  background: #0e0c0a;
  color: #e6d7c0;
  padding: 28px 0 22px;
  text-align: center;
  border-top: 1px solid rgba(240, 215, 164, 0.12);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}
.foot a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 650;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot a:hover { text-decoration: underline; }
.foot p { margin: 6px 0; }
.foot-note { color: #cbbba6; font-size: 0.92rem; }

/* Documents */
.doc {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 48px);
  margin: 28px auto 56px;
  box-shadow: var(--shadow);
  max-width: 760px;
}
.doc h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #3d2918;
}
.doc h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin: 1.6em 0 0.4em;
  color: #3d2918;
}
.doc h3 { margin: 1.2em 0 0.3em; font-size: 1.15rem; }
.doc p, .doc li { color: #3f2e22; }
.doc .meta { color: #5c4636; font-size: 0.98rem; margin-top: 0; }
.doc a { color: #7a3e12; }
.doc a:hover { color: #5c2e0c; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: 0.98rem; }
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  color: #3f2e22;
}
.doc th {
  font-family: var(--display);
  font-weight: 620;
  color: #3d2918;
}
.doc .contact {
  background: #efe2c8;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 8px;
}
details { border-bottom: 1px solid var(--line); }
details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
  min-height: 44px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #7a3e12;
  border-bottom: 2px solid #7a3e12;
  transform: rotate(45deg);
}
details[open] summary::after { transform: rotate(225deg); top: 26px; }
details p { margin: 0 0 14px; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .plate-winter { animation: winter-in 18s ease-in-out infinite; }
  .plates { animation: drift 36s ease-in-out infinite alternate; }
  .sway { animation: sway 8s ease-in-out infinite; }
  .pines-far .sway { animation-duration: 11s; }
  .glow { animation: flicker 2.8s ease-in-out infinite; }
  .ribbon-track { animation: marquee 42s linear infinite; }
  .ribbon:hover .ribbon-track,
  .ribbon:focus-within .ribbon-track { animation-play-state: paused; }
  .scrollcue svg { animation: bob 1.6s ease-in-out infinite; }
  .smoke { animation: smoke 3.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  .smoke.d2 { animation-delay: 1.1s; }
  .smoke.d3 { animation-delay: 2.1s; }
  .forge { animation: flicker 1.6s ease-in-out infinite; }
  .snow i { animation: fall linear infinite; }
  .hero-copy .eyebrow,
  .hero-copy .wordmark,
  .hero-copy h1,
  .hero-copy .subhead,
  .hero-copy .deck,
  .hero-copy .cta-row,
  .hero-copy .scrollcue {
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-copy .wordmark { animation-delay: 0.05s; }
  .hero-copy h1 { animation-delay: 0.12s; }
  .hero-copy .subhead { animation-delay: 0.18s; }
  .hero-copy .deck { animation-delay: 0.24s; }
  .hero-copy .cta-row { animation-delay: 0.32s; }
  .hero-copy .scrollcue { animation-delay: 0.4s; }
  @supports (animation-timeline: view(inline)) {
    .slide {
      animation: gal-focus linear both;
      animation-timeline: view(inline);
    }
  }
  a.store-badge { transition: transform 0.2s ease; }
  a.store-badge:hover { transform: translateY(-2px); }
  .modes li { transition: transform 0.25s ease; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

.hero.is-quiet .plate-winter,
.hero.is-quiet .plates,
.hero.is-quiet .sway,
.hero.is-quiet .glow { animation-play-state: paused; }

@keyframes winter-in {
  0%, 32% { opacity: 0; }
  50%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-0.35deg); }
  50% { transform: rotate(0.4deg); }
}
@keyframes flicker {
  0%, 100% { opacity: 0.45; }
  45% { opacity: 0.9; }
  70% { opacity: 0.35; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes smoke {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: 0.55; }
  100% { transform: translateY(-28px) scale(1.35); opacity: 0; }
}
@keyframes fall {
  to { transform: translateY(340px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes gal-focus {
  0%, 100% { transform: scale(0.94); opacity: 0.72; }
  42%, 58% { transform: scale(1); opacity: 1; }
}

.snow i:nth-child(1) { left: 6%; animation-duration: 7.5s; }
.snow i:nth-child(2) { left: 16%; animation-duration: 9s; animation-delay: 1s; width: 4px; height: 4px; }
.snow i:nth-child(3) { left: 28%; animation-duration: 6.5s; animation-delay: 0.4s; }
.snow i:nth-child(4) { left: 40%; animation-duration: 8.2s; animation-delay: 1.6s; width: 5px; height: 5px; }
.snow i:nth-child(5) { left: 52%; animation-duration: 7s; animation-delay: 0.2s; }
.snow i:nth-child(6) { left: 63%; animation-duration: 9.4s; animation-delay: 2s; width: 4px; height: 4px; }
.snow i:nth-child(7) { left: 74%; animation-duration: 6.8s; animation-delay: 0.8s; }
.snow i:nth-child(8) { left: 86%; animation-duration: 8.6s; animation-delay: 1.2s; }
.snow i:nth-child(9) { left: 33%; animation-duration: 10s; animation-delay: 2.4s; width: 3px; height: 3px; }
.snow i:nth-child(10) { left: 93%; animation-duration: 7.2s; animation-delay: 0.6s; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .modes li:hover { transform: translateY(-4px); }
}

@media (min-width: 720px) {
  .gal-count { display: none; }
}
@media (max-width: 719px) {
  .gal-dots { display: none; }
}

@media (min-width: 800px) {
  .modes { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 800px) and (min-height: 680px) {
  .hero {
    height: calc(100svh - var(--header));
    min-height: 620px;
    display: grid;
    grid-template-rows: minmax(200px, 1fr) auto;
  }
  .hero-scene {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: 8px 0 0;
  }
  .hero-copy {
    margin-top: 0;
    padding: 4px 0 16px;
    background: none;
  }
  .frame-wrap { width: min(500px, 44vh, 40vw); }
  .wordmark { width: min(500px, 44vw); }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 4.2rem); }
  .subhead { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
  .deck { margin-top: 8px; }
  .cta-row { margin-top: 14px; }
}

@media (min-width: 960px) {
  .chapter { padding: 104px 0; }
  .chapter-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
  .chapter-flip .chapter-copy { order: 2; }
  .gallery-sec { padding-top: 88px; }
}

@media (max-width: 380px) {
  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .nav { gap: 10px; }
  .nav a { font-size: 0.92rem; }
  .wrap { width: min(var(--wrap), calc(100% - 24px)); }
}

@media (prefers-reduced-motion: reduce) {
  .plate-winter { animation: none; opacity: 0; }
  .plates, .sway, .glow, .ribbon-track, .scrollcue svg, .smoke, .forge, .snow i,
  .hero-copy .eyebrow, .hero-copy .wordmark, .hero-copy h1, .hero-copy .subhead,
  .hero-copy .deck, .hero-copy .cta-row, .hero-copy .scrollcue, .slide {
    animation: none;
  }
  .ribbon-track { transform: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .ribbon p:last-child { display: none; }
  .ribbon p { white-space: normal; text-align: center; padding: 12px 16px; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .snow { display: none; }
}

@media (max-width: 640px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: none; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td:first-child { font-weight: 700; color: var(--ink); }
}

@media print {
  .top, .ribbon, .progress, .scrollcue, .gal-bar, #motes, .snow { display: none !important; }
  body { background: white; color: black; }
  .hero, .chapter-night, .gallery-sec, .play, .close, .foot { background: white; color: black; }
  .doc { box-shadow: none; }
  a { color: black; }
}
