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

:root {
  --flour: #f7efe1;
  --crumb: #efe2c9;
  --paint: #fbf8f1;
  --morning: #f3dfbd;
  --noon: #fbf7ef;
  --afternoon: #f0d9b0;
  --ink: #2b1e15;
  --ink-2: #5e4b3c;
  --ink-3: #806b58;
  --sun: #ea8a2b;
  --sun-deep: #c4630f;
  --sun-pale: #fff4d6;
  --eye: #b8c46a;
  --brick: #a94f34;
  --dusk: #3a2730;
  --night: #1c1925;
  --midnight: #14121b;
  --cream-2: #e2d6c3;
  --cream-3: #a99c8c;
  --line: rgba(43, 30, 21, 0.16);
  --display: "Fraunces", Georgia, serif;
  --text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --soft: "SOFT" 100, "WONK" 1;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--morning);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "tnum" 1;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-variation-settings: var(--soft); font-optical-sizing: auto; }
h1 { font-size: clamp(48px, 5.5vw, 90px); font-weight: 800; line-height: 0.96; letter-spacing: -0.03em; }
h1 span { display: block; text-wrap: balance; }
h2 { font-size: clamp(42px, 5.6vw, 88px); font-weight: 800; line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }

/* The sun's position, used as each section's stamp */
.phase { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink-2); font: italic 400 18px/1.2 var(--display); font-variation-settings: "SOFT" 60; }
.phase svg { flex: none; width: 36px; height: 20px; overflow: visible; }
.phase .arc { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 2 3; opacity: 0.6; }
.phase .horizon { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.phase .dot { fill: var(--sun); stroke: var(--ink); stroke-width: 1.2; }
.phase .moon { fill: var(--sun-pale); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 15px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-sun { color: var(--ink); background: var(--sun); box-shadow: 0 3px 0 var(--ink); }
.btn-sun:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn-sun:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-line { color: inherit; background: transparent; border-color: currentColor; }
.btn-line:hover { background: rgba(234, 138, 43, 0.14); }

/* Overlays */
.grain {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: 0.08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.13 0 0 0 0 0.05 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blinds { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: repeat(9, 1fr); pointer-events: none; }
.blinds i { display: block; background: #eadcc2; border-bottom: 2px solid #d6c3a3; box-shadow: inset 0 -10px 14px -12px rgba(60, 35, 10, 0.5); transform: scaleY(0); transform-origin: top; }
.blinds span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: var(--ink); font: italic 500 clamp(24px, 3vw, 34px)/1 var(--display); opacity: 0; white-space: nowrap; }
body.blinding .blinds i { animation: slat 0.8s cubic-bezier(0.7, 0, 0.2, 1) both; animation-delay: calc(var(--i) * 24ms); }
body.blinding .blinds span { animation: blind-label 0.8s ease both; }
@keyframes slat { 0% { transform: scaleY(0); } 42%, 58% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes blind-label { 0%, 30% { opacity: 0; } 45%, 60% { opacity: 1; } 75%, 100% { opacity: 0; } }
.laser { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #ff3a2a; box-shadow: 0 0 8px 3px rgba(255, 58, 42, 0.5), 0 0 22px 6px rgba(255, 58, 42, 0.18); pointer-events: none; opacity: 0; transition: opacity 0.3s, width 0.15s, height 0.15s, margin 0.15s; }
.laser.on { opacity: 1; }
.laser.hover { width: 18px; height: 18px; margin: -9px 0 0 -9px; }

/* Top bar */
.topbar {
  position: fixed; z-index: 30; inset: 14px 16px auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(247, 239, 225, 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -22px rgba(60, 35, 10, 0.6);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-mark { flex: none; width: 36px; height: 36px; }
.brand-name { font: 750 23px/1 var(--display); font-variation-settings: var(--soft); letter-spacing: -0.02em; }
.brand-ticker { color: var(--ink-3); font: 600 13px/1 var(--text); }
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 2px no-repeat; transition: background-size 0.25s ease; padding-bottom: 2px; }
.topbar nav a:hover { background-size: 100% 2px; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.top-actions .btn { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.ca-chip { padding: 9px 14px; border: 1px dashed var(--ink-3); border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-chip.set { border-style: solid; color: var(--ink); cursor: pointer; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(28px, 5vw, 90px);
  padding: 128px clamp(20px, 6vw, 96px) 72px;
  background: var(--morning);
}
.beam { position: absolute; pointer-events: none; }
.beam svg { width: 100%; height: 100%; }
.beam polygon { fill: var(--sun-pale); }
.beam-hero { z-index: -1; left: 18%; top: -4%; width: 64%; height: 112%; opacity: 0.8; filter: blur(5px); transform: translateY(calc(var(--scroll, 0) * 60px)) skewX(calc(var(--scroll, 0) * -6deg)); }
.mote { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: #fffaf0; box-shadow: 0 0 6px 2px rgba(255, 238, 190, 0.9); animation: mote var(--d) ease-in-out infinite alternate; }
@keyframes mote { 0% { translate: 0 0; opacity: 0.2; } 50% { opacity: 1; } 100% { translate: 26px -40px; opacity: 0.35; } }

.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); padding: 0 0 26px; margin-bottom: 40px; }
.window-frame {
  position: relative; margin: 0; overflow: hidden;
  border: 16px solid var(--paint);
  border-radius: 999px 999px 14px 14px / 40% 40% 14px 14px;
  background: var(--paint);
  box-shadow: 0 0 0 1.5px rgba(43, 30, 21, 0.14), inset 0 0 0 1.5px rgba(43, 30, 21, 0.1), 0 40px 70px -40px rgba(90, 50, 10, 0.55);
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}
.window-frame img { width: 100%; aspect-ratio: 921 / 1150; object-fit: cover; }
.pat { position: absolute; left: 24%; top: 33%; width: 30%; height: 25%; border: 0; border-radius: 45%; background: transparent; cursor: pointer; }
.pat:focus-visible { outline-offset: -4px; }
.sill-ledge { position: absolute; left: -9%; right: -9%; bottom: 0; height: 26px; border-radius: 6px 6px 10px 10px; background: var(--paint); box-shadow: inset 0 -5px 0 rgba(43, 30, 21, 0.07), 0 18px 24px -14px rgba(90, 50, 10, 0.5); }
.sticker { position: absolute; z-index: 3; margin: 0; display: grid; place-items: center; text-align: center; }
.sticker-round { left: -8%; top: 12%; width: 116px; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); font: 600 17px/1.05 var(--display); font-variation-settings: var(--soft); transform: rotate(-12deg); box-shadow: 0 2px 0 var(--ink); border: 1.5px solid var(--ink); }
.sticker-round b { font-weight: 800; font-size: 20px; }
.sticker-tag { right: -10%; bottom: 17%; padding: 14px 18px 14px 30px; border: 1.5px solid var(--ink); border-radius: 6px 26px 26px 6px; background: var(--flour); color: var(--ink); font: 700 17px/1.15 var(--display); font-variation-settings: var(--soft); transform: rotate(7deg); box-shadow: 0 2px 0 var(--ink); }
.sticker-tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--morning); }
.sticker-tag small { color: var(--ink-2); font: italic 400 15px/1.2 var(--display); }
.pencil-note { position: absolute; left: 4%; bottom: -54px; z-index: 3; margin: 0; padding: 4px 8px; color: var(--ink); font: italic 500 18px/1.15 var(--display); transform: rotate(-2deg); }
.pencil-note span { color: var(--ink-2); font-weight: 400; font-size: 15px; }
.pencil-note::after { content: ""; position: absolute; left: 6px; right: 14px; bottom: -4px; height: 6px; border-bottom: 2px solid var(--ink-2); border-radius: 0 0 50% 50%; transform: rotate(-2deg); }

.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.lede { max-width: 560px; margin: 26px 0 30px; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.purr-toggle { min-height: 46px; padding: 0 18px; border: 1.5px dashed var(--ink-2); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.purr-toggle span { color: var(--ink-3); }
.purr-toggle[aria-pressed="true"] { border-style: solid; background: var(--paint); }
.purr-toggle[aria-pressed="true"] span { color: var(--sun-deep); }
.status { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 40px 0 0; padding: 0; list-style: none; color: var(--ink-3); font-size: 14px; }
.status li + li::before { content: "·"; margin-right: 18px; color: var(--ink-3); }

/* Recipe */
.recipe { position: relative; padding: 140px clamp(20px, 7vw, 120px) 150px; background: var(--flour); }
.recipe-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px 60px; align-items: end; max-width: 1240px; margin: 0 auto; }
.recipe-head .phase, .recipe-head h2 { grid-column: 1; }
.recipe-intro { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.recipe-card {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  max-width: 1240px; margin: 72px auto 0;
  border: 1.5px solid var(--ink); border-radius: 8px;
  background-color: #fffaf1;
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(169, 79, 52, 0.1) 33px 34px);
  box-shadow: 0 3px 0 var(--ink), 0 40px 70px -46px rgba(70, 40, 10, 0.6);
  transform: rotate(-0.4deg);
}
.ingredients { padding: 32px 28px; border-right: 1.5px dashed rgba(43, 30, 21, 0.3); }
.ingredients h3 { margin-bottom: 18px; font: italic 500 26px/1 var(--display); }
.ingredients ul { margin: 0; padding: 0; list-style: none; }
.ingredients li { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 8px 0; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.ingredients b { color: var(--sun-deep); font: 800 22px/1 var(--display); font-variation-settings: var(--soft); }
.method { min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1.5px solid rgba(43, 30, 21, 0.25); }
.step-tab { display: flex; align-items: baseline; gap: 10px; padding: 18px 20px 14px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px; background: transparent; color: var(--ink-3); text-align: left; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.step-tab b { font: 800 30px/1 var(--display); font-variation-settings: var(--soft); }
.step-tab span { font-weight: 600; font-size: 15px; }
.step-tab:hover { color: var(--ink); }
.step-tab.active { color: var(--ink); border-bottom-color: var(--sun); }
.step-tab.active b { color: var(--sun-deep); }
.step-stage { position: relative; min-height: 360px; }
.step { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 36px; align-items: center; padding: 40px 44px 52px; }
.step.active { animation: step-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes step-in { from { opacity: 0; transform: translateX(26px); } }
.step-note { display: inline-block; margin: 0 0 18px; padding-bottom: 3px; border-bottom: 1.5px dashed currentColor; color: var(--brick); font: italic 500 17px/1.3 var(--display); }
.step h3 { margin-bottom: 18px; font-size: clamp(34px, 3.5vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.step-copy p:last-child { max-width: 560px; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.step-art { width: 100%; max-width: 320px; justify-self: center; overflow: visible; }
.step-art path, .step-art circle { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-label { fill: var(--ink-3); font: italic 400 17px var(--display); }
.art-tiles .frost { stroke: var(--ink-3); stroke-width: 2.2; }
.art-tiles .warm-tile { fill: var(--sun-pale); stroke: var(--sun); }
.art-window .sun-disc { fill: var(--sun); stroke: var(--ink); stroke-width: 2.4; }
.art-window .fence { stroke: var(--ink-3); stroke-width: 2.2; }
.art-window .light { fill: var(--sun-pale); stroke: var(--sun); stroke-width: 2.2; }
.art-window .sill { fill: var(--paint); }
.art-loaf .eye-lid { fill: var(--eye); stroke-width: 2.4; }
.art-loaf .thin { stroke-width: 2.2; }
.art-tag { position: relative; display: grid; justify-items: center; padding-top: 10px; }
.strap { width: 100%; height: 34px; border-radius: 17px; background: #8f4c28; box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 -6px 0 rgba(0, 0, 0, 0.12); background-image: linear-gradient(90deg, transparent 0 calc(50% - 11px), #c9a256 calc(50% - 11px) calc(50% + 11px), transparent calc(50% + 11px)); position: relative; }
.strap::after { content: ""; position: absolute; inset: 7px 14px; border-top: 2px dashed rgba(255, 228, 190, 0.45); border-bottom: 2px dashed rgba(255, 228, 190, 0.45); }
.tag { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 176px; aspect-ratio: 1; margin-top: 30px; border: 1.5px solid var(--ink); border-radius: 50%; background: #d9a948; box-shadow: inset 0 0 0 9px #e7bd62, inset 0 0 0 10.5px rgba(43, 30, 21, 0.4), 0 3px 0 var(--ink); text-align: center; transform-origin: 50% -30px; animation: tag-swing 4.5s ease-in-out infinite; }
.tag::before { content: ""; position: absolute; top: -32px; left: 50%; width: 20px; height: 36px; margin-left: -10px; border: 3px solid #b88a35; border-radius: 10px; }
.tag b { color: #5b3b0d; font: 800 26px/1 var(--display); font-variation-settings: var(--soft); }
.tag span { color: #6e4b16; font: italic 400 14px/1.25 var(--display); }
@keyframes tag-swing { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.step-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(43, 30, 21, 0.08); }
.step-progress span { display: block; width: 25%; height: 100%; background: var(--sun); transition: width 0.4s ease; }

/* Field notes */
.notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--noon); }
.notes-photo { position: relative; align-self: start; }
.notes-photo img { width: 100%; transition: filter 0.6s ease; }
.notes.cat-vision .notes-photo img { filter: url(#cat-vision); }
.cat-vision-filter { position: absolute; }
.marker {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paint); color: var(--ink);
  font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 2px 0 var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.marker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(234, 138, 43, 0.6); animation: marker-ping 2.4s ease-out infinite; }
.marker:hover { transform: translateY(-2px); }
.marker.active { background: var(--ink); color: var(--flour); }
@keyframes marker-ping { 70% { box-shadow: 0 0 0 10px rgba(234, 138, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 138, 43, 0); } }
.notes-copy { position: sticky; top: 0; align-self: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(24px, 6vw, 100px) 80px; }
.fact { min-height: 210px; margin: 44px 0 28px; padding: 4px 0 4px 26px; border-left: 3px solid var(--sun); }
.fact-label { margin: 0 0 8px; color: var(--brick); font: italic 500 17px/1.2 var(--display); }
.fact h3 { margin-bottom: 12px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 750; line-height: 1.05; }
.fact p:last-child { max-width: 520px; margin: 0; color: var(--ink-2); line-height: 1.6; }
.vision-toggle { align-self: flex-start; }
.vision-toggle[aria-pressed="true"] { color: var(--flour); background: var(--ink); border-color: var(--ink); }
.vision-caption { max-width: 480px; margin: 16px 0 0; color: var(--ink-3); font-size: 15px; }

/* Sunbeam route */
.route { padding: 140px clamp(20px, 6vw, 96px) 150px; background: var(--afternoon); }
.route-head { max-width: 1240px; margin: 0 auto; }
.route-head h2 { max-width: 900px; }
.route-head > p:last-child { max-width: 560px; margin: 26px 0 0; color: var(--ink-2); font-size: 18px; }
.route-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 32px; align-items: center; max-width: 1240px; margin: 64px auto 0; }
.plan { position: relative; }
.plan svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 560; border: 1.5px solid var(--ink); border-radius: 10px; background: #f9eed8; box-shadow: 0 3px 0 var(--ink), 0 40px 70px -46px rgba(70, 40, 10, 0.6); }
.plan path, .plan circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plan-walls path { stroke: var(--ink); stroke-width: 6; }
.plan-windows path { stroke: var(--ink-2); stroke-width: 2; }
.plan-furniture path, .plan-furniture circle { stroke: var(--ink-3); stroke-width: 2.4; }
.plan-patches path { fill: rgba(255, 233, 176, 0.95); stroke: var(--sun); stroke-width: 1.6; }
.plan-labels text { fill: var(--ink-3); font: italic 400 22px var(--display); }
.route-path { stroke: var(--sun-deep); stroke-width: 4; stroke-dasharray: 0.014 0.01; animation: route-dash 26s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -1; } }
.route-sun circle { fill: var(--sun) !important; stroke: var(--ink) !important; stroke-width: 2.4; }
.route-sun path { stroke: var(--sun-deep); stroke-width: 3; }
.plan-stops { display: none; }
.plan-stops circle { fill: var(--flour) !important; stroke: var(--ink); stroke-width: 2.4; }
.plan-stops text { fill: var(--ink); font: 700 17px var(--text); text-anchor: middle; }
.stop {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: grid; gap: 2px; padding: 8px 13px 9px; text-align: left;
  border: 1.5px solid var(--ink); border-radius: 12px; background: var(--flour); color: var(--ink);
  box-shadow: 0 2px 0 var(--ink); cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s, color 0.2s;
}
.stop span { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.stop b { font: 750 17px/1.1 var(--display); font-variation-settings: var(--soft); }
.stop:hover { transform: translateY(-2px); }
.stop.active { background: var(--ink); color: var(--flour); }
.stop.active span { color: var(--sun-pale); }
.stop-card { padding: 30px 28px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--flour); box-shadow: 0 3px 0 var(--ink); }
.stop-time { margin: 0 0 10px; color: var(--brick); font-weight: 600; font-size: 14px; }
.stop-card h3 { margin-bottom: 14px; font-size: clamp(32px, 2.8vw, 42px); font-weight: 800; line-height: 1; }
.stop-card p { color: var(--ink-2); }
.stop-status { display: inline-block; margin: 8px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink) !important; font-weight: 600; font-size: 14px; }

/* Sill clock and the note */
.clock { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 130px clamp(20px, 6vw, 96px); background: var(--dusk); color: var(--flour); }
.sill-clock { padding: 18px; border: 2px solid var(--ink); border-radius: 26px; background: var(--paint); color: var(--ink); box-shadow: 0 4px 0 #120c09, 0 50px 80px -40px rgba(0, 0, 0, 0.6); }
.clock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 14px; }
.clock-top span:first-child { font: italic 500 19px/1 var(--display); }
.clock-where { padding: 6px 12px; border-radius: 999px; background: var(--crumb); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.scene { display: block; width: 100%; height: auto; border-radius: 16px; clip-path: inset(0 round 16px); }
.scene-wall { fill: var(--wall, #efe3cc); transition: fill 0.4s; }
.scene-floor { fill: var(--floor, #c99c6c); transition: fill 0.4s; }
.scene-boards { fill: none; stroke: rgba(43, 30, 21, 0.18); stroke-width: 2; }
.scene-sky { fill: var(--sky, #cfe3ee); transition: fill 0.4s; }
.scene-sun { fill: var(--sun-fill, #ffd27a); transition: fill 0.4s; }
.scene-fence { fill: none; stroke: #8e8f8a; stroke-width: 10; }
.scene-blind { fill: #eadcc2; transform-box: fill-box; transform-origin: top; transform: scaleY(0); transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1); }
.sill-clock.blind .scene-blind { transform: scaleY(1); }
.scene-frame { fill: none; stroke: var(--paint); stroke-width: 12; }
.scene-beam { fill: var(--beam, rgba(255, 238, 186, 0.85)); transition: fill 0.4s, opacity 0.4s; mix-blend-mode: screen; }
.sill-clock.blind .scene-beam { opacity: 0; }
.scene-sill { fill: var(--paint); stroke: rgba(43, 30, 21, 0.18); stroke-width: 1.5; }
.scene-cat path { fill: var(--ink); }
.scene-cat .scene-eyes { fill: var(--eye); transform-box: fill-box; transform-origin: 50% 0; }
.scene-cat .scene-tail { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.scene-cat { transition: opacity 0.35s, transform 0.35s; }
.scene-cat.away { opacity: 0; transform: translateY(8px); }
.scene-cat.blink .scene-eyes { animation: blink 1.4s ease-in-out; }
.scene-cat.hop { animation: hop 0.6s cubic-bezier(0.3, 0, 0.3, 1); }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 35%, 65% { transform: scaleY(0.08); } }
@keyframes hop { 40% { transform: translateY(-22px); } }
.clock-read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 20px 6px 6px; }
.clock-read output { font: 800 clamp(44px, 5vw, 64px)/1 var(--display); font-variation-settings: var(--soft); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clock-read p { flex: 1 1 260px; margin: 0; color: var(--ink-2); line-height: 1.5; }
#clock-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 10px 0 14px; background: transparent; cursor: ew-resize; }
#clock-slider::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, #2a2840 0%, #f4b98a 12%, #cfe3ee 32%, #dbeaf0 58%, #f3a45a 82%, #4a3a52 92%, #2a2840 100%); }
#clock-slider::-moz-range-track { height: 12px; border-radius: 999px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, #2a2840 0%, #f4b98a 12%, #cfe3ee 32%, #dbeaf0 58%, #f3a45a 82%, #4a3a52 92%, #2a2840 100%); }
#clock-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10.5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); box-shadow: 0 2px 0 var(--ink); }
#clock-slider::-moz-range-thumb { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); box-shadow: 0 2px 0 var(--ink); }
.clock-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.key { display: grid; gap: 4px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--flour); text-align: left; cursor: pointer; box-shadow: 0 2px 0 var(--ink); transition: transform 0.15s, background 0.2s, color 0.2s; }
.key b { font: 750 18px/1.1 var(--display); font-variation-settings: var(--soft); }
.key span { color: var(--ink-3); font-size: 13px; }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.key[aria-pressed="true"] { background: var(--ink); color: var(--flour); }
.key[aria-pressed="true"] span { color: var(--cream-3); }

.note-form .phase { color: var(--cream-2); }
.note-form .phase .dot { stroke: var(--flour); }
.note-form h2 { color: var(--flour); }
.note-form > p:not(.phase) { max-width: 520px; margin: 22px 0 0; color: var(--cream-2); font-size: 18px; }
.note-form label { display: block; margin: 34px 0 10px; color: var(--cream-2); font-weight: 600; font-size: 15px; }
.note-form textarea { width: 100%; min-height: 150px; padding: 18px 20px; resize: vertical; border: 1.5px solid rgba(247, 239, 225, 0.5); border-radius: 14px; background: rgba(247, 239, 225, 0.06); color: var(--flour); font: 400 20px/1.45 var(--text); }
.note-form textarea::placeholder { color: rgba(247, 239, 225, 0.45); }
.note-form textarea:focus { border-color: var(--sun); outline: none; }
.note-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; }
.note-foot span { color: var(--cream-3); font-size: 14px; }
.receipt { margin-top: 26px; padding: 20px 24px; border: 1.5px dashed var(--sun); border-radius: 12px; background: var(--flour); color: var(--ink); transform: rotate(-1deg); }
.receipt p { margin: 0; font: italic 500 18px/1.3 var(--display); }
.receipt strong { display: block; margin: 8px 0 10px; color: var(--sun-deep); font: 800 38px/1 var(--display); font-variation-settings: var(--soft); }
.receipt button { padding: 0; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer; }

/* Catch */
.catch { position: relative; min-height: 900px; overflow: hidden; padding: 130px clamp(20px, 8vw, 130px); background: var(--night); color: var(--flour); }
.night-window { position: absolute; right: 8%; top: 90px; height: 78%; width: auto; pointer-events: none; }
.night-window path { fill: none; stroke: rgba(247, 239, 225, 0.14); stroke-width: 4; stroke-linejoin: round; }
.night-window .moon { fill: rgba(255, 226, 160, 0.55); stroke: none; }
.catch .phase { position: relative; z-index: 2; color: var(--cream-2); }
.catch .phase .dot { stroke: var(--flour); }
.catch h2 { position: relative; z-index: 2; max-width: 820px; }
.catch-intro { position: relative; z-index: 2; max-width: 520px; margin: 24px 0 0; color: var(--cream-2); font-size: 18px; }
.catchables { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.catchable {
  position: absolute; display: grid; place-items: center; width: 96px; aspect-ratio: 1; padding: 0;
  border: 1.5px solid rgba(247, 239, 225, 0.32); border-radius: 50%; background: rgba(247, 239, 225, 0.05);
  color: var(--flour); cursor: pointer; pointer-events: auto;
  animation: drift 6s ease-in-out infinite;
  transition: opacity 0.4s, scale 0.4s, color 0.2s, border-color 0.2s;
}
.catchable svg { width: 58%; height: 58%; }
.catchable:hover, .catchable:focus-visible { color: var(--sun); border-color: var(--sun); scale: 1.1; }
.catchable.caught { opacity: 0; scale: 0.2; pointer-events: none; }
.c-moth { right: 30%; top: 15%; }
.c-leaf { left: 9%; bottom: 14%; animation-delay: -1.5s; --tilt: -14deg; }
.c-feather { right: 20%; bottom: 13%; animation-delay: -3s; }
.c-tie { left: 44%; bottom: 8%; animation-delay: -4s; --clip: var(--flour); }
.c-cap { right: 7%; top: 46%; animation-delay: -2.2s; }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: var(--tilt, 0deg); } 50% { translate: 10px -24px; rotate: calc(var(--tilt, 0deg) + 9deg); } }
.pocket { position: fixed; z-index: 35; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--flour); color: var(--ink); box-shadow: 0 3px 0 var(--ink); font-size: 14px; font-weight: 600; }
.pocket svg { width: 20px; height: 20px; color: var(--sun-deep); }
.pocket b { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--flour); font-weight: 700; }
.pocket i { font-style: normal; }
.pocket { transition: translate 0.35s ease, opacity 0.35s ease; }
.pocket.tuck { translate: 0 140%; opacity: 0; }
.pocket.bump { animation: bump 0.4s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }

/* Footer */
.footer { position: relative; display: flex; flex-direction: column; align-items: center; padding: 140px 24px 30px; background: var(--midnight); color: var(--flour); text-align: center; }
.footer-mark { width: 96px; height: 96px; margin-bottom: 26px; --ink: #f7efe1; }
.footer .phase { color: var(--cream-2); }
.footer .phase .dot { stroke: var(--flour); }
.footer h2 { max-width: 900px; font-size: clamp(46px, 6.4vw, 100px); }
.footer-copy { max-width: 560px; margin: 26px 0 0; color: var(--cream-2); font-size: 18px; }
.ca-box { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; max-width: 100%; margin-top: 40px; padding: 12px 14px 12px 20px; border: 1.5px dashed rgba(247, 239, 225, 0.4); border-radius: 16px; }
.ca-label { color: var(--cream-3); font-size: 14px; }
.ca-box code { max-width: 100%; overflow-wrap: anywhere; color: var(--flour); font: 600 16px/1.3 var(--text); }
.ca-box .btn { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.footer-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 22px 0 110px; }
.soon-x { color: var(--cream-3); font-size: 15px; }
.footer-bottom { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(247, 239, 225, 0.14); color: var(--cream-3); font-size: 13px; }
.footer-bottom .nfa { font-size: 11px; color: #8a7f73; }
.footer-bottom button { padding: 0; border: 0; background: transparent; color: var(--cream-2); font-size: 13px; cursor: pointer; }
.footer-bottom button:hover { color: var(--sun); }

/* Toast and the reveal */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--flour); font-weight: 600; font-size: 15px; text-align: center; opacity: 0; transform: translate(-50%, 24px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { width: min(760px, calc(100% - 28px)); padding: clamp(32px, 6vw, 64px); border: 1.5px solid var(--ink); border-radius: 22px; background: var(--flour); color: var(--ink); text-align: center; box-shadow: 0 4px 0 var(--ink); }
.reveal::backdrop { background: rgba(20, 18, 27, 0.82); backdrop-filter: blur(6px); }
.reveal > button { position: absolute; right: 14px; top: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
.reveal > svg { width: 84px; height: 84px; margin: 0 auto 16px; }
.reveal p.phase { justify-content: center; text-wrap: balance; }
.reveal h2 { font-size: clamp(40px, 6vw, 72px); }
.reveal p:not(.phase) { max-width: 540px; margin: 22px auto 0; color: var(--ink-2); font-size: 18px; }
.reveal small { display: block; margin-top: 22px; color: var(--brick); font: italic 500 18px var(--display); }

.reveal-ready { opacity: 0; translate: 0 32px; transition: opacity 0.7s ease, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-ready.is-visible { opacity: 1; translate: none; }

/* Narrower screens */
@media (max-width: 1060px) {
  .topbar nav { display: none; }
  .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 120px; }
  .hero-copy { order: -1; }
  .hero-visual { width: min(86%, 480px); }
  .recipe-head { grid-template-columns: minmax(0, 1fr); }
  .recipe-intro { grid-column: 1; grid-row: auto; max-width: 600px; }
  .recipe-card { grid-template-columns: minmax(0, 1fr); }
  .ingredients { border-right: 0; border-bottom: 1.5px dashed rgba(43, 30, 21, 0.3); }
  .ingredients ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .notes-photo { max-width: 640px; margin: 0 auto; width: 100%; }
  .notes-copy { position: static; min-height: 0; padding-top: 60px; padding-bottom: 100px; }
  .route-body { grid-template-columns: minmax(0, 1fr); }
  .clock { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(32px, 11vw, 52px); }
  .status li + li::before { display: none; }
  .laser { display: none; }
  .topbar { inset: 10px 10px auto; padding: 6px 6px 6px 10px; border-radius: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 20px; }
  .ca-chip { padding: 8px 11px; font-size: 13px; }
  .hero { padding: 104px 18px 56px; gap: 40px; }
  .hero-visual { width: 84%; }
  .sticker-round { width: 92px; left: -12%; font-size: 14px; }
  .sticker-round b { font-size: 16px; }
  .sticker-tag { right: -12%; font-size: 14px; padding: 11px 14px 11px 26px; }
  .sticker-tag small { font-size: 13px; }
  .pencil-note { left: 0; bottom: -50px; font-size: 16px; }
  .pencil-note span { font-size: 13px; }
  .status { margin-top: 30px; }
  .recipe { padding: 100px 16px 110px; }
  .recipe-card { margin-top: 48px; transform: none; }
  .ingredients { padding: 24px 20px; }
  .ingredients ul { grid-template-columns: minmax(0, 1fr); }
  .step-tab { flex-direction: column; gap: 4px; padding: 14px 10px 10px; }
  .step-tab b { font-size: 24px; }
  .step-tab span { font-size: 13px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 20px 40px; }
  .step-art { max-width: 240px; }
  .notes-copy { padding: 48px 18px 90px; }
  .marker { padding: 5px 10px 5px 7px; font-size: 12px; }
  .marker::before { width: 8px; height: 8px; }
  .route { padding: 100px 16px 110px; }
  .route-body { margin-top: 40px; gap: 20px; }
  .plan-stops { display: inline; }
  .stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .stop { position: static; translate: none; white-space: normal; }
  .stop-card { padding: 24px 20px; }
  .clock { padding: 100px 16px; }
  .sill-clock { padding: 12px; border-radius: 20px; }
  .clock-keys { grid-template-columns: minmax(0, 1fr); }
  .key { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px; }
  .catch { min-height: 820px; padding: 100px 18px; }
  .night-window { right: -24%; top: auto; bottom: 0; height: 46%; }
  .catchable { width: 72px; }
  .c-moth { right: 8%; top: auto; bottom: 34%; }
  .c-leaf { left: 6%; bottom: 20%; }
  .c-feather { right: 30%; bottom: 6%; }
  .c-tie { left: 36%; bottom: 24%; }
  .c-cap { right: 6%; top: auto; bottom: 12%; }
  .footer { padding-top: 110px; }
  .footer-actions { margin-bottom: 80px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pocket { right: 10px; bottom: 10px; }
  .pocket span { display: none; }
}
@media (max-width: 420px) {
  .brand-ticker { display: none; }
  .ca-chip .long { display: none; }
  .hero-visual { width: 80%; }
}
@media (min-width: 421px) {
  .ca-chip .short { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mote, .marker::before, .route-path, .catchable, .tag, .step.active { animation: none !important; }
  .beam-hero { transform: none; }
  .reveal-ready { opacity: 1; translate: none; transition: none; }
  .laser { display: none; }
}
