/* Hamel House Creations.
   The whole site has two states: lights off (white, like the printed box) and lights on (dark, amber).
   Every colour comes from the variables below, so one class on <html> flips everything. */

:root { --amber: #ff9d1b; --nav-h: 60px; }
body {
  --bg: #f3f2ee; --fg: #151515; --muted: #68645c; --card: #fff; --line: #d6d3ca;
  --panel: #eceae3; --relief: #dedbd2; --accent: #151515; --accent-fg: #f3f2ee;
  margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.55 Archivo, sans-serif;
  transition: background-color 0.6s, color 0.6s;
}
.lit body {
  --bg: #15110d; --fg: #f3f2ee; --muted: #b9ad9c; --card: #fbfaf7; --line: #3a322a;
  --panel: #ff9d1b; --relief: #b35c00; --accent: #ff9d1b; --accent-fg: #15110d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
.defs { position: absolute; width: 0; height: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.lit #embers { opacity: 1; }

/* ---------- Menu bar ---------- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color 0.6s, border-color 0.6s; }
.logo { font: 400 clamp(0.72rem, 3.1vw, 0.95rem) "Archivo Black", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav .nav-cta { display: none; }
.menu-btn { padding: 7px 14px; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--fg); background: transparent; border: 2px solid var(--fg); border-radius: 6px; cursor: pointer; transition: border-color 0.6s, color 0.6s; }
.nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 4px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-links.open { display: flex; }
.nav-links a { padding: 16px 0; font: 400 1.6rem/1 "Archivo Black", sans-serif; letter-spacing: -0.02em; text-decoration: none; border-top: 1px solid var(--line); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Type ---------- */
h1, h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 12vw, 5.6rem); line-height: 0.96; }
h2 { font-size: clamp(1.9rem, 7.4vw, 3.2rem); line-height: 1.02; }
.page-title { font-size: clamp(2.4rem, 9.5vw, 4.4rem); line-height: 0.98; }
.over { margin-bottom: 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.6s; }
.g { transition: color 0.6s; }
.lit .g { color: var(--amber); }
.text-link { padding: 0; font: inherit; font-weight: 600; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Words rise out of a blur when the page loads (used when the extra motion is off) */
.w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(0.35em); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.w:nth-child(2) { animation-delay: 0.09s; }
.w:nth-child(3) { animation-delay: 0.18s; }
.w:nth-child(4) { animation-delay: 0.27s; }
.w:nth-child(5) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; filter: blur(0); transform: none; } }

/* Blocks fade up as they scroll into view */
.reveal { opacity: 0; filter: blur(8px); transform: translateY(26px); transition: opacity 0.8s, filter 0.8s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; white-space: nowrap; padding: 16px 28px; font: inherit; font-weight: 600; text-decoration: none; color: var(--accent-fg); background: var(--accent); border: 2px solid var(--accent); border-radius: 6px; cursor: pointer; transition: background-color 0.6s, color 0.6s, border-color 0.6s, transform 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-line { color: var(--fg); background: transparent; border-color: var(--fg); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.small { padding: 9px 16px; font-size: 0.9rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.btn:focus-visible, .text-link:focus-visible, .menu-btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- The light switch ---------- */
.control { display: flex; align-items: center; gap: 14px; }
.switch { position: relative; flex: none; width: 92px; height: 46px; padding: 0; background: var(--card); border: 2px solid var(--fg); border-radius: 999px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; }
.switch:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.knob { position: absolute; top: 3px; left: 3px; width: 36px; height: 36px; background: #151515; border-radius: 50%; transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1); }
.lit .switch { background: var(--amber); border-color: var(--amber); }
.lit .knob { transform: translateX(46px); }
.switch.mini { width: 54px; height: 28px; }
.mini .knob { top: 2px; left: 2px; width: 20px; height: 20px; }
.lit .mini .knob { transform: translateX(26px); }
.state { min-width: 6em; font-weight: 600; }
.on-l, .lit .off-l { display: none; }
.lit .on-l { display: inline; }

/* ---------- The box: white plastic with a photo panel ---------- */
.box { padding: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; transition: border-color 0.6s, background-color 0.6s; }
.panel { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 3px; background: var(--panel); color: var(--relief); transition: background-color 0.6s, color 0.6s, box-shadow 0.6s; }
.panel svg { width: 48%; aspect-ratio: 4 / 3; }
.box.big { width: min(86%, 400px); padding: 16px; border-radius: 10px; }

/* Flicker: the glow breathes slightly while the lights are on */
@keyframes flicker {
  0%, 100% { box-shadow: 0 0 46px rgba(255, 157, 27, 0.45); }
  18% { box-shadow: 0 0 54px rgba(255, 157, 27, 0.55); }
  31% { box-shadow: 0 0 40px rgba(255, 157, 27, 0.36); }
  47% { box-shadow: 0 0 58px rgba(255, 157, 27, 0.58); }
  62% { box-shadow: 0 0 44px rgba(255, 157, 27, 0.42); }
  80% { box-shadow: 0 0 52px rgba(255, 157, 27, 0.52); }
}
.lit .panel { box-shadow: 0 0 46px rgba(255, 157, 27, 0.45); animation: flicker 3.4s ease-in-out infinite; }
.lit .grid6 .box:nth-child(2n) .panel { animation-duration: 2.9s; }
.lit .grid6 .box:nth-child(3n) .panel { animation-duration: 4.1s; }

/* ---------- Home: hero ---------- */
.hero { display: grid; gap: 40px; padding: 36px 20px 72px; max-width: 1160px; margin: 0 auto; }
.lede { max-width: 26em; margin-top: 20px; }
.stage-hero { display: flex; flex-direction: column; align-items: center; gap: 26px; perspective: 900px; }

/* ---------- Home: scroll story. The stage stays put while the three steps scroll past ---------- */
.story { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.story-stage { position: sticky; top: var(--nav-h); z-index: 2; display: grid; place-items: center; height: 50vh; background: var(--bg); transition: background-color 0.6s; }
.stage { width: min(100%, 660px); }

.step { min-height: 62vh; padding: 8vh 0; opacity: 0.25; transition: opacity 0.5s; }
.step.active { opacity: 1; }
/* Step 2 is taller than the others, so the print takes longer to scroll through.
   Its words stay in view the whole time. motion.js measures this height, so the
   animation follows whatever is set here: a bigger number means a slower print.
   Only when the printer animation is running (motion.js adds "gsap-on"). */
.gsap-on .step-long { min-height: 210vh; }
.gsap-on .step-hold { position: sticky; top: calc(var(--nav-h) + 53vh); }
.step b { display: block; margin-bottom: 10px; font: 400 1rem "Archivo Black", sans-serif; color: var(--muted); }
.step p { max-width: 26em; margin-top: 14px; }

/* The 3D printer drawing */
.printer { display: block; width: 100%; height: auto; max-height: 43vh; margin: 0 auto; overflow: visible; }
/* The printer itself keeps its real colours in both light states; only the box follows the lights. */
.p-tip { fill: #ffb44a; }
.p-screen { font: 600 11px Archivo, sans-serif; letter-spacing: 0.06em; fill: #ffb44a; }
.p-box { fill: var(--card); stroke: var(--line); transition: fill 0.6s, stroke 0.6s; }
.p-panel { fill: var(--panel); transition: fill 0.6s; }
.p-inside { fill: #c8c4bb; }
.p-cup { fill: #f7f4ee; stroke: #b7b3aa; stroke-width: 0.8; }
.p-flame { fill: #ffb44a; }
.p-icon { color: var(--relief); transition: color 0.6s; }
.p-lines { stroke: rgba(0, 0, 0, 0.09); }
.p-shot { fill: #3f9d9b; }
.p-shot-icon { color: #d9f2ec; }
.lit .p-panel { filter: drop-shadow(0 0 16px rgba(255, 157, 27, 0.7)); }
/* Without the extra motion, the three scenes simply swap */
#p-shot { opacity: 0; transition: opacity 0.5s; }
#p-print, #p-rig { transition: opacity 0.5s; }
.stage[data-scene="1"] #p-shot { opacity: 1; }
.stage[data-scene="1"] #p-print { opacity: 0; }
.stage[data-scene="3"] #p-rig { opacity: 0; }
.gsap-on #p-shot, .gsap-on #p-print, .gsap-on #p-rig { transition: none; }

/* ---------- Home: wall of six ---------- */
.wall { display: grid; gap: 34px; padding: 40px 20px 90px; max-width: 1160px; margin: 0 auto; }
.wall-copy p { max-width: 24em; margin: 14px 0 24px; }
.grid6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; width: min(100%, 440px); margin: 0 auto; }
.grid6 .box:nth-child(2) .panel { transition-delay: 0.12s; }
.grid6 .box:nth-child(3) .panel { transition-delay: 0.24s; }
.grid6 .box:nth-child(4) .panel { transition-delay: 0.36s; }
.grid6 .box:nth-child(5) .panel { transition-delay: 0.48s; }
.grid6 .box:nth-child(6) .panel { transition-delay: 0.6s; }

/* ---------- Closing band (bottom of each page) ---------- */
.closing { padding: 90px 20px 110px; text-align: center; border-top: 1px solid var(--line); transition: border-color 0.6s; }
.closing .row { justify-content: center; }

/* ---------- Order page ---------- */
.order-page { display: grid; gap: 36px; padding: 44px 20px 90px; max-width: 1160px; margin: 0 auto; }
.three { list-style: none; margin: 26px 0 0; padding: 0; }
.three li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 2px solid var(--fg); font-size: 1.1rem; font-weight: 600; transition: border-color 0.6s; }
.three li:last-child { border-bottom: 2px solid var(--fg); }
.three b { flex: none; font: 400 1.5rem "Archivo Black", sans-serif; }
.order-note { max-width: 28em; margin-top: 18px; color: var(--muted); transition: color 0.6s; }

/* The form is always "lights off" so it stays easy to read */
.order-form {
  --bg: #fff; --fg: #151515; --muted: #68645c; --card: #fff; --line: #d6d3ca; --accent: #151515; --accent-fg: #f3f2ee;
  width: 100%; max-width: 540px; margin: 0 auto; padding: 24px 22px; color: #151515; background: #fff; border: 1px solid #d6d3ca; border-radius: 14px;
}
.order-form h2 { font-size: 1.8rem; }
.mode { margin: 8px 0 20px; font-size: 0.95rem; color: var(--muted); }
.mode .text-link { color: #151515; }

fieldset { margin: 0 0 16px; padding: 0; border: 0; }
legend, .group-label { margin: 18px 0 8px; padding: 0; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 9px 18px; font-weight: 600; background: #fff; border: 2px solid var(--line); border-radius: 999px; }
.chips input:checked + span { color: #f3f2ee; background: #151515; border-color: #151515; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.form-field { display: block; margin-bottom: 12px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; font: inherit; font-size: 16px; font-weight: 400; color: #151515; background: #fff; border: 2px solid var(--line); border-radius: 8px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: #151515; }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }

.photo-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; text-align: center; background: #f3f2ee; border: 2px dashed #151515; border-radius: 8px; cursor: pointer; }
.photo-drop:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
#photo-text { font-weight: 600; text-decoration: underline; }
.photo-drop small { color: var(--muted); }

/* See your own photo glow */
.glow-box { display: block; width: min(100%, 320px); padding: 16px; background: #e6e4dd; border-radius: 8px; transition: background-color 0.5s; }
.glow-box.on { background: #15110d; }
.glow-frame { display: block; padding: 8px; background: #fff; border-radius: 6px; }
.glow-frame img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 2px; filter: grayscale(1) contrast(0.22) brightness(1.65); transition: filter 0.6s, box-shadow 0.6s; }
.glow-box.on img { filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(-10deg) contrast(1.12); box-shadow: 0 0 34px rgba(255, 157, 27, 0.55); }
.glow-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.glow-switch, .lit .glow-switch { background: #fff; border-color: #151515; }
.glow-switch .knob, .lit .glow-switch .knob { transform: none; }
.glow-switch[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); }
.glow-switch[aria-pressed="true"] .knob { transform: translateX(26px); }

.amount-note { margin: 4px 0 16px; font-size: 0.95rem; }
.draft { display: inline-block; padding: 1px 8px; font-size: 0.72rem; font-weight: 600; color: #8a4b00; border: 1px dashed #c9780c; border-radius: 999px; vertical-align: middle; }
.lit .draft { color: #ffc978; border-color: #ffc978; }
.order-form .draft { color: #8a4b00; border-color: #c9780c; }
.hp { position: absolute; left: -9999px; }
.form-error { margin: 0 0 12px; padding: 12px 14px; font-weight: 600; color: #8a2a12; background: #fde4dc; border-radius: 8px; }
.fine { margin-top: 12px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.notice { position: fixed; left: 50%; bottom: 20px; z-index: 20; width: min(92vw, 460px); padding: 14px 18px; transform: translateX(-50%); text-align: center; font-weight: 600; color: #f3f2ee; background: #151515; border-radius: 8px; }

/* ---------- About page ---------- */
.us, .money, .faq { display: grid; gap: 34px; padding: 80px 20px; max-width: 1160px; margin: 0 auto; border-top: 1px solid var(--line); transition: border-color 0.6s; }
.first { padding-top: 48px; border-top: 0; }
.us p:not(.over), .money > div > p:not(.over), .faq > div > p:not(.over) { max-width: 30em; margin-top: 16px; }
/* Headshots and bios. Each .shot is a stand-in; put an <img> inside it when the real photo arrives. */
.team { display: grid; gap: 48px; padding: 0 20px 80px; max-width: 1160px; margin: 0 auto; }
.shot { display: grid; place-items: center; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); color: var(--relief); border: 1px solid var(--line); border-radius: 8px; font: 400 6rem "Archivo Black", sans-serif; transition: background-color 0.6s, color 0.6s, border-color 0.6s; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.person h2 { margin-top: 20px; font-size: clamp(1.7rem, 6vw, 2.2rem); }
.person p { max-width: 30em; margin-top: 10px; }

/* Money: pick an amount, watch the bar split */
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks button { padding: 9px 18px; font: inherit; font-weight: 600; color: var(--fg); background: transparent; border: 2px solid var(--fg); border-radius: 999px; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.6s; }
.picks button[aria-pressed="true"] { color: var(--accent-fg); background: var(--accent); border-color: var(--accent); }
.picks button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.bar { display: flex; height: 58px; margin-top: 22px; overflow: hidden; border: 2px solid var(--fg); border-radius: 6px; transition: border-color 0.6s; }
.seg-make { width: 100%; background: var(--line); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.6s; }
.seg-give { width: 0; background: var(--accent); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.6s; }
.split-lines { margin: 18px 0 0; }
.split-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 2px solid var(--fg); transition: border-color 0.6s; }
.split-lines div:last-child { border-bottom: 2px solid var(--fg); }
.split-lines dt { font-weight: 600; }
.split-lines dd { margin: 0; font: 400 1.7rem/1 "Archivo Black", sans-serif; }
.lit #give-amt { color: var(--amber); }
.small-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQ page: plain rows that open ---------- */
.faq-list details { border-top: 2px solid var(--fg); transition: border-color 0.6s; }
.faq-list details:last-child { border-bottom: 2px solid var(--fg); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 400 1.15rem/1.2 "Archivo Black", sans-serif; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 400 1.7rem/1 Archivo, sans-serif; transition: transform 0.25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.faq-list details p { max-width: 34em; padding: 0 0 20px; }

/* ---------- Footer with one giant wordmark ---------- */
.foot { overflow: hidden; padding: 28px 20px 0; border-top: 1px solid var(--line); transition: border-color 0.6s; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { font-weight: 600; }
.giant { margin: 26px 0 -0.14em; font: 400 calc((100vw - 40px) / 7.9)/0.8 "Archivo Black", sans-serif; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap; text-align: center; transition: color 0.6s; }
.lit .giant { color: var(--amber); }

/* ---------- Small standalone pages (thank-you, privacy) ---------- */
.simple { max-width: 660px; margin: 0 auto; padding: 56px 20px 80px; }
.simple h1 { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1; }
.simple h2 { margin-top: 32px; font-size: 1.35rem; letter-spacing: -0.01em; }
.simple p { margin-top: 12px; }
.simple .btn { margin-top: 30px; }
.order-code { padding: 3px 10px; font: 400 1.2rem "Archivo Black", sans-serif; background: var(--card); color: #151515; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- Extra motion (GSAP). Rules under .gsap-on apply only when motion.js is running ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.ch { display: inline-block; will-change: transform; }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.word { display: inline-block; will-change: transform; }
.gsap-on .w { animation: none; opacity: 1; filter: none; transform: none; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }

@media (min-width: 860px) {
  .nav { padding: 14px 32px; }
  .nav-links { display: flex; position: static; flex-direction: row; gap: 30px; margin-left: 44px; padding: 0; background: none; border: 0; }
  .nav-links a { padding: 0; font: 600 0.95rem Archivo, sans-serif; letter-spacing: 0; border: 0; }
  .nav-links a[aria-current="page"] { text-decoration-thickness: 2px; }
  .menu-btn { display: none; }
  .nav .nav-cta { display: inline-block; }
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 64px 32px 110px; }
  .story { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; padding: 0 32px; }
  .story-stage { order: 2; top: 0; height: 100vh; background: transparent; }
  .printer { max-height: 80vh; }
  .step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .gsap-on .step-long { min-height: 340vh; justify-content: flex-start; }
  .gsap-on .step-hold { top: 50vh; transform: translateY(-50%); }
  .wall { grid-template-columns: 0.9fr 1.1fr; align-items: center; padding: 60px 32px 130px; }
  .closing { padding: 120px 32px 140px; }
  .order-page { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 64px; padding: 72px 32px 120px; }
  .order-how { position: sticky; top: calc(var(--nav-h) + 40px); }
  .order-form { padding: 32px 30px; }
  .us { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: end; padding: 110px 32px 90px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 64px; padding: 0 32px 120px; }
  .money, .faq { grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding: 110px 32px; }
  .first { padding-top: 80px; }
  .foot { padding: 34px 32px 0; }
  .giant { font-size: calc((100vw - 64px) / 7.9); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .w, .reveal { opacity: 1; filter: none; transform: none; }
  .step { opacity: 1; }
  #embers { display: none; }
}
