/* Layout: hero above the fold; then one pinned scene that scrolling changes (people, phones, gatherings, a season of evenings, capturing a moment), words beside it on wide screens and beneath it on tall ones. One scroll direction. */
:root {
  --bg: #1A1311;
  --deep: #120D0B;
  --card: #261B17;
  --border: #3A2B23;
  --dashed: #6E5D50;
  --present: #F2A541;
  --ember: #E8843C;
  --core: #FFE1A1;
  --on-present: #1A1408;
  --together: #E8D2B0;
  --track: #6E4E33;
  --text: #F5EEE4;
  --soft: #D9CABB;
  --muted: #B9A99A;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --vh: 100vh;
  color-scheme: dark;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1160px; margin: 0 auto; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
a { color: var(--present); }
:focus-visible { outline: 2px solid var(--present); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.site-nav { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--serif); font-size: 30px; font-variation-settings: "opsz" 40; }
.brand img { width: 46px; height: 46px; border-radius: 12px; }
.brand { gap: 12px; }
.site-nav nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav nav a { color: var(--muted); text-decoration: none; transition: color 160ms var(--ease-out); }
.site-nav nav a:hover { color: var(--text); }

/* Store buttons (placeholders for the official badges) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-block; line-height: 0; border-radius: 10px; transition: transform 140ms var(--ease-out), opacity 160ms var(--ease-out); }
.store:hover { opacity: 0.88; }
.store:active { transform: scale(0.97); }
.store img { display: block; height: 52px; width: auto; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 0.78fr; gap: 56px; align-items: center; padding-block: 24px 80px; }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 20px; font-weight: 300; font-variation-settings: "opsz" 144; }
.hero h1 b { font-weight: 500; }
.hero .lede { font-size: 19px; color: var(--soft); max-width: 32ch; margin: 0 0 28px; }
.hero .small { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.phone { width: min(330px, 100%); margin: 0 auto; border-radius: 42px; padding: 12px; background: #0b0807; border: 1px solid var(--border); box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 120px rgba(242,165,65,0.10); }

/* ---------- The scene ---------- */
.story { position: relative; }
#story1 { border-top: 1px solid var(--border); }
.cal { height: var(--vh); position: relative; }
.cal-in { height: 100%; display: grid; grid-template-columns: 58% 42%; align-items: center; }
.calbox { width: min(82vh, 54vw); justify-self: center; container-type: inline-size; position: relative; }
.calbox .season { position: relative; left: auto; top: auto; translate: none; width: 100%; }
.card.static { position: static; opacity: 1; visibility: visible; translate: none; width: auto; max-width: 30rem; padding: 0; background: none; pointer-events: auto; }
.scene { position: sticky; top: 0; height: var(--vh); display: grid; grid-template-columns: 58% 42%; align-items: center; overflow: hidden; }
.box { position: relative; width: min(82vh, 54vw); aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.beats { margin-top: calc(var(--vh) * -1); position: relative; z-index: 2; }
.beat { height: var(--vh); display: grid; grid-template-columns: 58% 42%; align-items: center; }
.card { position: fixed; top: 50%; left: calc((100vw - 40px) * 0.58 + 20px); width: min(30rem, calc((100vw - 40px) * 0.42 - 16px)); z-index: 3;
  display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; pointer-events: none; }
.card .kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--present); margin: 0; }
.card h2 { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; margin: 0; font-variation-settings: "opsz" 144; }
.card p { color: var(--soft); margin: 0; font-size: 18px; max-width: 36ch; }

/* Warm light in the middle of the group */
.hearthglow { position: absolute; left: 50%; top: 52%; width: 70%; transition: left 833ms var(--spring), top 833ms var(--spring), width 833ms var(--spring); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,165,65,0.30) 0%, rgba(232,132,60,0.10) 35%, rgba(26,19,17,0) 65%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%,100% { scale: 1; } 50% { scale: 1.06; } }

/* People */
.person { position: absolute; translate: -50% -50%; aspect-ratio: 1;
  container-type: inline-size;
  transition: left 833ms var(--spring), top 833ms var(--spring), width 750ms var(--spring), opacity 417ms var(--ease-out), scale 583ms var(--spring); }
.person .in { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 42cqi;
  background: var(--card); color: var(--muted); border: 2px solid var(--border);
  animation: float var(--fd, 6s) ease-in-out var(--fdel, 0s) infinite;
  transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out), border-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.person.on .in { background: var(--c); color: var(--on-present); border-color: var(--c); box-shadow: 0 0 5cqw color-mix(in srgb, var(--c) 40%, transparent); }
.person.call .in { border-color: var(--together); color: var(--together); }
/* Headshots: a little muted until the phone goes down, full colour once present */
.person .in { overflow: hidden; border-width: 3px; }
.person .in img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.55) brightness(0.8); transition: filter 500ms var(--ease-out); }
.person.on .in img { filter: none; }
.person .nm { position: absolute; top: 104%; left: 50%; translate: -50% 0; font-size: clamp(11px, 1.6vmin, 14px); color: var(--muted); white-space: nowrap; transition: opacity 300ms var(--ease-out); }
@keyframes float { 0%,100% { translate: 0 0; } 33% { translate: 0.6cqw -0.9cqw; } 66% { translate: -0.6cqw 0.5cqw; } }
.tag { position: absolute; translate: -50% 0; font-size: 2.5cqw; white-space: nowrap; padding: 0.5cqw 1.8cqw; border-radius: 99px; background: var(--deep); color: var(--together); border: 1px solid var(--border); transition: opacity 300ms var(--ease-out); }
.ph { position: absolute; width: 4.2%; aspect-ratio: 9 / 16; translate: -50% -50%; border-radius: 0.9cqw; border: 0.35cqw solid #4a3a30; background: var(--together); z-index: 2;
  box-shadow: 0 0 3cqw rgba(232,210,176,0.55);
  transition: left 667ms var(--ease-out), top 667ms var(--ease-out), rotate 667ms var(--ease-out), opacity 333ms var(--ease-out), background-color 333ms var(--ease-out), box-shadow 333ms var(--ease-out); }
.ph.ring { animation: ring 0.5s ease-in-out 3; }
@keyframes ring { 0%,100% { translate: -50% -50%; } 25% { translate: -62% -50%; } 75% { translate: -38% -50%; } }
.tbl { position: absolute; translate: -50% -50%; background: #2E211B; border: 0.4cqw solid var(--track); opacity: 0; box-shadow: inset 0 0 6cqw rgba(0,0,0,0.35), 0 0 10cqw rgba(242,165,65,0.10);
  transition: left 833ms var(--spring), top 833ms var(--spring), width 833ms var(--spring), height 833ms var(--spring), border-radius 833ms var(--ease-out), opacity 417ms var(--ease-out); }
.tbl .board { position: absolute; inset: 22%; border-radius: 1cqw; background: conic-gradient(#C8742A 0 25%, #6E4E33 0 50%, #E8D2B0 0 75%, #8C3B23 0); opacity: 0; transition: opacity 500ms var(--ease-out); }
.tbl.game .board { opacity: 0.55; }
.gather { position: absolute; inset: 0; transition: opacity 500ms var(--ease-out); }
.gather.fadeout { opacity: 0 !important; }
.ph.dark { background: #0b0807; box-shadow: none; }
.caption { position: absolute; left: 50%; translate: -50% 0; font-size: 3cqw; color: var(--soft); font-style: italic; font-family: var(--serif); white-space: nowrap; transition: opacity 300ms var(--ease-out); }
.occasion { position: absolute; left: 50%; top: 1%; z-index: 3; transition: left 833ms var(--spring), top 833ms var(--spring); translate: -50% 0; text-align: center; white-space: nowrap; }
.occasion b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 5.6cqw; color: var(--present); line-height: 1.2; transition: opacity 217ms var(--ease-out), translate 350ms var(--ease-out); }
.occasion small { display: block; font-size: 2.6cqw; color: var(--muted); font-variant-numeric: tabular-nums; }

/* A season of evenings */
.season { position: absolute; left: 50%; top: 50%; width: 88%; translate: -50% -50%; background: var(--card); border-radius: 3cqw; padding: 4cqw; }
.season .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; margin-bottom: 2.6cqw; }
.season .hd span { font-family: var(--serif); font-size: 4.4cqw; }
.season .hd small { color: var(--muted); font-size: 2.6cqw; }
.months { display: grid; grid-template-columns: repeat(26, 1fr); font-size: 2.2cqw; color: var(--muted); margin-bottom: 1cqw; }
.months span { grid-column: span 4; }
.months span:first-child { grid-column: span 5; }
.heat { display: grid; grid-template-columns: repeat(26, 1fr); grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 0.55cqw; }
.heat i { aspect-ratio: 1; border-radius: 0.45cqw; background: var(--border); transition: background-color 220ms var(--ease-out); }
.season .tot { display: flex; gap: 6cqw; margin-top: 3cqw; font-size: 2.6cqw; color: var(--muted); }
.season .tot b { display: block; font-size: 6cqw; line-height: 1.1; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Capturing a moment: a recreation of the app's session page */
.mph { position: absolute; left: 50%; top: 50%; width: 47%; aspect-ratio: 390 / 875; translate: -50% -50%; border-radius: 6.5cqw; padding: 1.6cqw; background: #0b0807; border: 1px solid var(--border);
  box-shadow: 0 5cqw 10cqw rgba(0,0,0,0.5); }
.ms { position: relative; width: 100%; height: 100%; border-radius: 5cqw; overflow: hidden; background: var(--bg); container-type: inline-size; }
.ms .pg { position: absolute; inset: 0; padding: 10cqw 6cqw; display: flex; flex-direction: column; gap: 4cqw; }
.ms .t1 { text-align: center; font-family: var(--serif); font-size: 7cqw; }
.ms .t2 { text-align: center; font-size: 4cqw; color: var(--muted); margin-top: -3cqw; }
.ms .stat { text-align: center; font-weight: 600; font-size: 11cqw; line-height: 1; font-variant-numeric: tabular-nums; }
.ms .stat small { display: block; font-weight: 400; font-size: 3.6cqw; color: var(--muted); margin-top: 1.4cqw; }
.ms .lbl { font-size: 3.4cqw; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 1cqw; }
.ms .tiles { display: flex; gap: 3cqw; }
.ms .tile { flex: 1; height: 26cqw; border: 0.5cqw dashed var(--dashed); border-radius: 5cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqw; font-size: 3.8cqw; color: var(--soft); transition: opacity 300ms var(--ease-out); }
.ms .tile svg { width: 7cqw; height: 7cqw; }
.ms .photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 4cqw; overflow: hidden; display: none; }
.ms .photo svg, .vf svg, .pv svg, .ms .photo img, .vf img, .pv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms .note { display: none; background: var(--card); border-radius: 4cqw; padding: 3.4cqw 4cqw; font-size: 3.8cqw; color: var(--soft); line-height: 1.4; }
.ms .note b { display: block; color: var(--muted); font-weight: 400; font-size: 3.2cqw; margin-top: 1.6cqw; }
.ms .show { display: block; animation: pop 500ms var(--ease-out); }
@keyframes pop { from { opacity: 0; translate: 0 2cqw; } to { opacity: 1; translate: 0 0; } }
.ms .layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 260ms var(--ease-out); }
.ms .layer.on { opacity: 1; }
.dialog { background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; padding: 8cqw; }
.dialog .dlg { width: 100%; background: #2B201B; border-radius: 6cqw; padding: 6cqw; display: flex; flex-direction: column; gap: 4.5cqw; font-size: 4.2cqw; }
.dialog .dlg h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 5.6cqw; }
.dialog .dlg span { color: var(--present); }
.dialog .dlg span.c { color: var(--muted); }
.vf { background: #000; }
.vf .view { position: absolute; left: 0; right: 0; top: 12%; height: 66%; overflow: hidden; }
.vf .view img, .vf .view svg { transition: scale 2s var(--ease-out); }
.vf.on .view img, .vf.on .view svg { scale: 1.08; }
.vf .shutter { position: absolute; left: 50%; bottom: 7%; width: 17cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 1.2cqw solid #fff; background: rgba(255,255,255,0.9); background-clip: content-box; padding: 1cqw; }
.flash { background: #fff; transition: opacity 150ms linear; }
.pv { padding: 10cqw 6cqw; display: flex; flex-direction: column; gap: 5cqw; background: var(--bg); }
.pv h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 7cqw; }
.pv .ph2 { border-radius: 4cqw; overflow: hidden; aspect-ratio: 4 / 3; }
.btn { border-radius: 99px; text-align: center; padding: 3.4cqw; font-size: 4.2cqw; font-weight: 600; background: var(--present); color: var(--on-present); }
.btn.sec { background: transparent; color: var(--together); border: 0.4cqw solid var(--together); font-weight: 500; }
.sheet { background: rgba(0,0,0,0.55); }
.sheet .sh { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bg); border-radius: 6cqw 6cqw 0 0; padding: 4cqw 5cqw 8cqw; translate: 0 100%; transition: translate 380ms var(--ease-out); }
.sheet.on .sh { translate: 0 0; }
.sh .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4cqw; font-size: 4cqw; }
.sh .row b { font-family: var(--serif); font-weight: 600; font-size: 5.2cqw; }
.sh .row .save { background: var(--present); color: var(--on-present); border-radius: 99px; padding: 1.6cqw 4cqw; font-weight: 600; }
.sh .row .cancel { color: var(--muted); }
.sh .input { min-height: 30cqw; border: 0.4cqw solid var(--border); border-radius: 4cqw; padding: 3.4cqw; font-size: 4.2cqw; color: var(--text); line-height: 1.45; }
.sh .input .ph3 { color: var(--muted); }
.sh .caret { display: inline-block; width: 0.5cqw; height: 4.6cqw; background: var(--present); vertical-align: -0.8cqw; margin-left: 0.3cqw; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sh .kb { margin-top: 4cqw; height: 40cqw; border-radius: 3cqw; background: repeating-linear-gradient(90deg, #2B201B 0 8.6cqw, #1f1714 8.6cqw 9.6cqw); opacity: 0.7; }
.finger { position: absolute; width: 11cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: rgba(245,238,228,0.28); border: 0.5cqw solid rgba(245,238,228,0.7); opacity: 0; pointer-events: none; z-index: 5;
  transition: left 500ms var(--ease-out), top 500ms var(--ease-out), opacity 200ms var(--ease-out), scale 160ms var(--ease-out); }
.finger.on { opacity: 1; }
.finger.press { scale: 0.75; background: rgba(242,165,65,0.45); }

/* A fan of app screens */
.fan { position: relative; width: 100%; max-width: 1000px; height: clamp(340px, 48vw, 580px); container-type: inline-size; }
.fp { position: absolute; left: 50%; bottom: 9%; width: clamp(150px, 22cqw, 232px); border-radius: 13% / 6%; padding: 6px;
  background: #0b0807; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform-origin: 50% 150%; transform: translateX(-50%) rotate(0deg); transition: transform 1000ms var(--spring) var(--dl, 0ms); }
.fan.open .fp { transform: translateX(calc(-50% + var(--x))) translateY(var(--y, 0%)) rotate(var(--r)); }
@media (hover: hover) { .fan.open:hover .fp { transform: translateX(calc(-50% + var(--x) * 1.15)) translateY(var(--y, 0%)) rotate(calc(var(--r) * 1.15)); transition-delay: 0ms; transition-duration: 600ms; } }
.fp.f1 { --x: -21cqw; --y: 9%; --r: -12deg; --dl: 120ms; z-index: 1; }
.fp.f2 { --x: -11cqw; --y: 2.5%; --r: -6deg; --dl: 60ms; z-index: 2; }
.fp.f3 { --x: 0cqw; --r: 0deg; z-index: 3; }
.fp.f4 { --x: 11cqw; --y: 2.5%; --r: 6deg; --dl: 60ms; z-index: 2; }
.fp.f5 { --x: 21cqw; --y: 9%; --r: 12deg; --dl: 120ms; z-index: 1; }
@media (max-width: 600px) {
  .fan { height: clamp(300px, 92vw, 440px); }
  .fp { width: 40cqw; }
  .fp.f1, .fp.f5 { display: none; }
  .fp.f2 { --x: -19cqw; --y: 5%; --r: -8deg; }
  .fp.f4 { --x: 19cqw; --y: 5%; --r: 8deg; }
}
.fs { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 11.5% / 5.3%; background: var(--bg); container-type: inline-size;
  padding: 13cqw 7cqw 8cqw; display: flex; flex-direction: column; gap: 4cqw; font-size: 4.4cqw; line-height: 1.35; text-align: left; color: var(--text); }
.fs.deep { background: var(--deep); }
.fs .h { font-family: var(--serif); font-size: 7.6cqw; line-height: 1.15; }
.fs .c { text-align: center; }
.fs .m { color: var(--muted); font-size: 3.8cqw; }
.fs .big { font-weight: 600; font-size: 13cqw; line-height: 1; font-variant-numeric: tabular-nums; }
.fs .big small { display: block; font-weight: 400; font-size: 3.6cqw; color: var(--muted); margin-top: 1.6cqw; }
.fs .lbl { font-size: 3.2cqw; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fs .barx { height: 2.6cqw; border-radius: 99px; background: var(--track); overflow: hidden; }
.fs .barx i { display: block; height: 100%; background: var(--present); border-radius: 99px; }
.fs .row { display: flex; align-items: center; gap: 2.6cqw; font-size: 4.2cqw; }
.fs .row .r { margin-left: auto; color: var(--soft); font-variant-numeric: tabular-nums; font-size: 3.8cqw; }
.fs .dot { width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center; background: var(--present); color: var(--on-present); font-weight: 600; font-size: 3.6cqw; flex: none; }
.fs .dot.t { background: var(--together); }
.fs .dot.o { background: var(--card); color: var(--muted); border: 0.4cqw solid var(--together); }
.fs .pill { margin-left: auto; font-size: 3.2cqw; padding: 0.8cqw 2.4cqw; border-radius: 99px; background: var(--card); color: var(--present); }
.fs .pill.u { color: var(--together); }
.fs .firebox { position: relative; width: 58%; aspect-ratio: 1; margin: -3cqw auto -6cqw; }
.fs .stats { display: flex; gap: 4cqw; }
.fs .stats div { flex: 1; background: var(--card); border-radius: 4cqw; padding: 3cqw; font-size: 3.2cqw; color: var(--muted); }
.fs .stats b { display: block; font-size: 6cqw; color: var(--text); font-weight: 600; }
.fs .stats .p b { color: var(--present); }
.fs .faces { display: flex; justify-content: center; gap: 2cqw; }
.fs .btnx { margin-top: auto; border-radius: 99px; background: var(--present); color: var(--on-present); text-align: center; font-weight: 600; padding: 3.6cqw; font-size: 4.2cqw; }
.fs .note { background: var(--card); border-radius: 4cqw; padding: 3cqw 3.6cqw; font-size: 3.8cqw; color: var(--soft); }
.fs .note b { color: var(--text); font-weight: 500; }
.fs .note small { display: block; color: var(--muted); font-size: 3.2cqw; margin-top: 1cqw; }
.fs .hm { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 0.9cqw; }
.fs .hm i { aspect-ratio: 1; border-radius: 0.8cqw; background: var(--border); }
.fs.lock { background: linear-gradient(170deg, #3a2a22 0%, #1a1311 45%, #0b0807 100%); padding-top: 18cqw; }
.fs .lt { font-size: 22cqw; font-weight: 300; text-align: center; line-height: 1; letter-spacing: -0.02em; }
.fs .ln { margin-top: 6cqw; background: rgba(38,27,23,0.85); border-radius: 5cqw; padding: 4cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.fs .ln .hd { display: flex; align-items: center; gap: 2cqw; font-size: 3.6cqw; color: var(--soft); }
.fs .ln .hd i { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: radial-gradient(circle at 50% 65%, #FFE1A1, #F2A541 45%, #E8843C 70%); }
@media (prefers-reduced-motion: reduce) { .fp { transition: none; } }

/* Closing */
.close { border-top: 1px solid var(--border); padding-block: 72px 96px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
.close .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; order: -1; }
.close .fan { min-width: 0; }
.close p { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.2; margin: 0; max-width: 18ch; font-weight: 300; }
.close .fan { height: clamp(340px, 40vw, 560px); }
.close p em { color: var(--present); }
.site-foot { border-top: 1px solid var(--border); padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--soft); text-decoration: none; }
.note-card { margin: 0 auto 40px; max-width: 1160px; padding: 16px 18px; border: 1px dashed var(--track); border-radius: 14px; color: var(--soft); font-size: 14px; }

/* Fire (hero phone only) */
.fire { position: absolute; inset: 0; pointer-events: none; }
.fire .glow { position: absolute; left: 50%; top: 62%; width: 130%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(242,165,65,0.42) 0%, rgba(232,132,60,0.16) 32%, rgba(26,19,17,0) 62%); border-radius: 50%; opacity: 0.65; animation: breathe 6s ease-in-out infinite; }
.fire img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fire .back { transform-origin: 50% 70%; animation: sway 5.2s ease-in-out infinite; }
.fire .front { transform-origin: 50% 70%; animation: sway 4.1s ease-in-out infinite reverse; }
.fire .core { transform-origin: 50% 72%; animation: swell 2.8s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-1.6deg) scaleY(1); } 50% { transform: rotate(1.6deg) scaleY(1.03); } }
@keyframes swell { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  .fire *, .hearthglow, .person .in, .sh .caret { animation: none !important; }
  .person { transition: opacity 200ms linear; }
}

/* Tall screens (phones, portrait tablets): scene on top, words pinned underneath and fading between sections */
@media (max-aspect-ratio: 1/1) {
  body { font-size: 16px; }
  .site-nav { padding-block: 14px; }
  .site-nav nav { gap: 14px; font-size: 14px; }
  .site-nav nav .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 8px 64px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 56px); margin-bottom: 14px; }
  .hero .lede { font-size: 17px; margin-bottom: 20px; }
  .scene { grid-template-columns: 1fr; align-items: start; }
  .box { width: min(94vw, calc(var(--vh) * 0.5), 540px); margin-top: calc(var(--vh) * 0.03); }
  .beat { display: block; }
  .card { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; z-index: 3; max-width: none; margin: 0;
    padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(var(--vh) * 0.05 + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: linear-gradient(rgba(26,19,17,0), var(--bg) 28px); opacity: 0; pointer-events: none; }
  .card > * { max-width: 34rem; margin-left: auto; margin-right: auto; width: 100%; }
  .card h2 { font-size: clamp(26px, 7.4vw, 40px); }
  .card p { font-size: 16px; }
  .close { padding-block: 64px 72px; grid-template-columns: 1fr; text-align: center; }
  .close .copy { align-items: center; order: 2; }
  .close .stores { justify-content: center; }
  .cal-in { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 28px; }
  .calbox { width: min(94vw, calc(var(--vh) * 0.5), 540px); }
  .card.static { margin: 0 auto; max-width: 34rem; }
}
@media (max-width: 420px) {
  .store img { height: 46px; }
}

/* Rebuilt app screens inside the frames */
.phone .screen-slot { border-radius: 32px; }
.fp .screen-slot { border-radius: 11.5% / 5.3%; }
.mph .screen-slot { border-radius: 5.5cqw; }
.ms .msc { position: absolute; left: 0; right: 0; top: 46px; bottom: 0; overflow: hidden; scroll-behavior: smooth; }

@media (max-width: 420px) { .brand { font-size: 26px; } .brand img { width: 40px; height: 40px; } }
