/* app.jonbobrow.com — one stylesheet for every page. */

@view-transition { navigation: auto; }

:root {
  --paper: #F4F3F1;
  --ink: #16171B;
  --muted: #62636A;
  --gutter: clamp(20px, 6.67vw, 96px);
  --ease: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.2, .9, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* ─── App themes ─── */
[data-app="now-departing"]  { --bg: #000000; --fg: #FFFFFF; --meta: #06E676; --btn-bg: #06E676; --btn-fg: #000000; }
[data-app="cookbo"]         { --bg: #FFC61A; --fg: #2A1B24; --meta: rgba(42, 27, 36, .8); --btn-bg: #2A1B24; --btn-fg: #FFC61A; }
[data-app="pointerpals"]    { --bg: #FFFFFF; --fg: #16171B; --meta: #62636A; --btn-bg: #16171B; --btn-fg: #FFFFFF; }
[data-app="evening-reader"] { --bg: #D98B3A; --fg: #2B1405; --meta: #2B1405; --btn-bg: #2B1405; --btn-fg: #F3B566; }
[data-app="audio-bubble"]   { --bg: #2B1B4A; --fg: #FFFFFF; --meta: rgba(255, 255, 255, .78); --btn-bg: #FFFFFF; --btn-fg: #2B1B4A; }
[data-app="nyc-parking"]    { --bg: #D6363B; --fg: #FFFFFF; --meta: rgba(255, 255, 255, .9); --btn-bg: #FFFFFF; --btn-fg: #B3232A; }

/* ─── Header / footer ─── */
.site-head {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px; padding: 28px var(--gutter) 0;
  font-size: 17px; font-weight: 500;
}
.brand { font-weight: 800; font-size: 19px; text-decoration: none; }
.site-head nav { display: flex; gap: 28px; }
.site-head a { text-decoration: none; }
.site-head a:hover { opacity: .7; }

.site-foot {
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center;
  padding: 44px var(--gutter) 48px; font-size: 17px;
}
.site-foot .brand { font-size: 17px; }
.site-foot p { margin: 0; color: var(--muted); }

/* ─── Intro ─── */
.intro { padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(72px, 8vw, 112px); }
.intro h1 {
  margin: 0; max-width: 10em;
  font-size: clamp(52px, 8.2vw, 124px); line-height: .95; font-weight: 800; letter-spacing: -.032em;
}
.intro p {
  margin: clamp(28px, 4vw, 56px) 0 0; max-width: 35em;
  font-size: clamp(21px, 2.25vw, 32px); line-height: 1.55; font-weight: 500; letter-spacing: -.012em; color: #2A2B30;
}

/* Words in the intro that nod to each app */
.kw { position: relative; display: inline-block; text-decoration: none; white-space: nowrap; isolation: isolate; }
.glyph { display: inline-block; vertical-align: -.14em; margin-left: .18em; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.glyph svg { display: block; overflow: visible; }

.kw-train .lamp { width: .62em; height: .94em; animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(6, 230, 118, 0)); } 50% { filter: drop-shadow(0 0 5px rgba(6, 230, 118, .95)); } }
.kw-train .pill {
  position: absolute; right: -.3em; bottom: 100%;
  padding: 3px 9px; border-radius: 9px; background: #000; color: #06E676;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.kw-train:hover .pill, .kw-train:focus-visible .pill { opacity: 1; transform: translateY(-2px); }
.kw-train:hover .glyph { transform: translateY(-3px); }

.kw-recipes .hl {
  position: absolute; left: -.15em; right: -.15em; bottom: .1em; height: .42em; z-index: -1;
  background: #FFC61A; border-radius: .2em; transform: rotate(-1.5deg);
  transition: height .35s cubic-bezier(.3, 1.4, .5, 1), transform .35s;
}
.kw-recipes:hover .hl, .kw-recipes:focus-visible .hl { height: 1.1em; transform: rotate(0); }

.kw-friends .glyph { position: relative; width: .95em; height: .8em; }
.kw-friends svg { position: absolute; width: .56em; height: .7em; }
.kw-friends .cur { left: 0; top: 0; animation: drift 3.2s ease-in-out infinite; }
.kw-friends .cur2 { left: .38em; top: .14em; opacity: 0; transform: translate(.5em, .38em); transition: opacity .3s, transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.kw-friends:hover .cur2, .kw-friends:focus-visible .cur2 { opacity: 1; transform: none; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }

.kw-evening { padding: 0 .26em; border-radius: .32em; background: #F6DDB8; color: #7A4518; transition: background .6s, color .6s; }
.kw-evening:hover, .kw-evening:focus-visible { background: #2B1405; color: #F3B566; }

.kw-loud .w { transition: letter-spacing .35s; }
.kw-loud svg { width: .94em; height: .75em; }
.kw-loud .bub { transform-box: fill-box; transform-origin: center; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.kw-loud:hover .w, .kw-loud:focus-visible .w { letter-spacing: .09em; }
.kw-loud:hover .b1, .kw-loud:focus-visible .b1 { transform: scale(1.35) translate(-1px, -1px); }
.kw-loud:hover .b2, .kw-loud:focus-visible .b2 { transform: scale(1.55) translate(2px, 1px); }

.kw-park .glyph { vertical-align: -.05em; }
.kw-park svg { width: .7em; height: .94em; transform-origin: 50% 0; transform: rotate(-8deg); }
.kw-park:hover svg, .kw-park:focus-visible svg { animation: swing 1.1s ease-in-out; }
@keyframes swing { 0% { transform: rotate(-8deg); } 25% { transform: rotate(16deg); } 50% { transform: rotate(-12deg); } 75% { transform: rotate(6deg); } 100% { transform: rotate(-8deg); } }

/* ─── Rooms (one band per app) ─── */
.room {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; column-gap: 40px;
  min-height: 440px; padding: 0 var(--gutter);
  color: var(--fg); text-decoration: none;
  scroll-margin-top: 24px;
}
.room-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.room-copy { display: flex; flex-direction: column; gap: 14px; padding: 56px 0; min-width: 0; }
.room-rest { display: flex; flex-direction: column; gap: 14px; }
.meta { font-size: 16px; font-weight: 500; color: var(--meta); }
.room h2, .hero h1 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.room h2 { font-size: clamp(50px, 6.1vw, 88px); }
.tagline { margin: 0; font-size: clamp(21px, 2.1vw, 30px); font-weight: 500; line-height: 1.25; max-width: 22em; }
.cta { margin-top: 10px; font-size: 18px; font-weight: 700; display: inline-flex; gap: .35em; }
.cta .arr { display: inline-block; transition: transform .3s var(--spring); }
.room:hover .cta .arr, .room:focus-visible .cta .arr { transform: translateX(6px); }
.room:focus-visible { outline-offset: -6px; }

.room-media { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; gap: 32px; min-width: 0; }
.room-media .low { align-self: flex-end; }

/* A phone screenshot rising from the bottom edge */
.peek {
  flex: 0 0 auto; align-self: flex-end;
  width: 216px; height: 384px; padding: 8px 8px 0;
  border-radius: 38px 38px 0 0; background: #111214;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px 30px 0 0; }
.peek.up { height: 344px; margin-bottom: 0; }

.globe { width: auto; height: 380px; animation: bigglow 3.2s ease-in-out infinite; }
@keyframes bigglow { 0%, 100% { filter: drop-shadow(0 -6px 24px rgba(6, 230, 118, .25)); } 50% { filter: drop-shadow(0 -6px 48px rgba(6, 230, 118, .55)); } }
.watch { height: 290px; width: auto; }
.app-icon { width: 150px; height: 150px; border-radius: 23%; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.tilt-l { transform: rotate(-5deg); }
.tilt-r { transform: rotate(4deg); }
.splitscreen { width: min(480px, 100%); height: auto; }
.bubbles { position: relative; flex: 0 0 auto; width: 250px; height: 100%; }
.bubbles span { position: absolute; border-radius: 50%; }
.bubbles .b1 { width: 230px; height: 230px; left: 0; top: calc(50% - 150px); background: #45A6F7; }
.bubbles .b2 { width: 170px; height: 170px; left: 110px; top: calc(50% - 40px); background: #F27A8A; mix-blend-mode: screen; opacity: .92; }

/* Cookbo's produce, dropped in like on cookbo.app */
.produce { display: inline-flex; align-items: baseline; margin-left: .2em; }
.produce .drop { display: inline-block; transform-origin: 50% 100%; transform: rotate(var(--rest)); }
.produce .drop + .drop { margin-left: -.05em; }
.produce svg { display: block; height: .7em; width: auto; overflow: visible; transform-origin: 50% 100%; }
.produce[data-drop] .drop { opacity: 0; }
.produce[data-drop].go .drop { animation: drop .95s var(--delay) both; }
.produce[data-drop].landed .drop { opacity: 1; animation: none; }
.room:hover .produce svg:hover, .hero .produce svg:hover { animation: rock .8s cubic-bezier(.3, .6, .4, 1); }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-260px) rotate(var(--spin)); animation-timing-function: cubic-bezier(.5, 0, 1, .55); }
  6% { opacity: 1; }
  52% { transform: translateY(0) rotate(calc(var(--rest) * .5)) scale(1.1, .8); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  68% { transform: translateY(-14%) rotate(calc(var(--rest) * 1.4)) scale(.96, 1.05); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  82% { transform: translateY(0) rotate(var(--rest)) scale(1.04, .95); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: translateY(0) rotate(var(--rest)); }
}
@keyframes rock { 0% { transform: rotate(0); } 18% { transform: rotate(9deg); } 38% { transform: rotate(-7deg); } 58% { transform: rotate(4deg); } 78% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }

/* ─── App page ─── */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--fg); min-height: min(800px, 100svh); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero .site-head { color: var(--fg); }
.hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 6vw, 80px); padding: 0 var(--gutter); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; padding: 48px 0 80px; min-width: 0; }
.hero-rest { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(56px, 8.4vw, 124px); line-height: .95; }
.hero .tagline { font-size: clamp(22px, 2.4vw, 34px); }
.desc { margin: 0; max-width: 32em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 27px; font-size: 17px; font-weight: 700; text-decoration: none; transition: transform .2s var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { box-shadow: inset 0 0 0 2px currentColor; }
.btn svg { width: 18px; height: 18px; }
.soon { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 27px; font-size: 17px; font-weight: 700; background: rgba(255, 255, 255, .14); }

.hero-media { align-self: end; display: flex; align-items: flex-end; gap: 28px; }
.hero-media.center { align-self: center; padding-bottom: 40px; }
.hero .peek { width: 300px; height: 600px; padding: 10px 10px 0; border-radius: 52px 52px 0 0; }
.hero .peek img { border-radius: 42px 42px 0 0; }
.hero .globe { height: 600px; }
.hero .splitscreen { width: min(620px, 44vw); }

.section { padding: clamp(80px, 9vw, 120px) var(--gutter) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.section h2 { margin: 0; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -.028em; }
.section-note { font-size: 17px; color: var(--muted); }

.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.shot { flex: 0 0 auto; width: clamp(210px, 22vw, 300px); aspect-ratio: 1320 / 2868; scroll-snap-align: start; border-radius: 34px; overflow: hidden; background: #111214; margin: 0; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }
.stage { border-radius: 40px; background: var(--stage, #111214); display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); }
.stage video, .stage img { max-height: 520px; width: auto; }

.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { margin: 0; background: #FFFFFF; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 340px; object-fit: cover; object-position: var(--pos, top); background: #111214; }
.card figcaption { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 17px; line-height: 1.5; color: #4A4B51; }

.story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.story ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 40px; }
.story li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
.story .num { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; background: var(--bg); color: var(--fg); font-weight: 800; font-size: 19px; }
[data-app="pointerpals"] .story .num { box-shadow: inset 0 0 0 2px var(--fg); }
.story h3 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.story p { margin: 0; font-size: 19px; line-height: 1.6; color: #3A3B40; max-width: 36em; }
.story .when { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 500; color: var(--muted); }

/* Drafts only show with ?draft in the URL */
html:not(.show-drafts) .draft { display: none; }
.draft-tag { display: inline-block; margin-left: 12px; padding: 4px 10px; border-radius: 8px; background: #FFE7A3; color: #5A4300; font-size: 14px; font-weight: 700; letter-spacing: 0; vertical-align: middle; }

.next { margin-top: clamp(96px, 10vw, 140px); }


/* ─── Placeholders (“slots”) ───
   A slot looks for a file at data-src + one of data-exts. If it exists, it shows it.
   If not, it shows a dashed placeholder with the expected path — only while drafts are visible. */
.slot { position: relative; border-radius: inherit; }
.slot-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 260px; height: 100%; padding: 24px; text-align: center;
  border: 2px dashed rgba(22, 23, 27, .22); border-radius: inherit;
  background: rgba(255, 255, 255, .55); color: #4A4B51; font-size: 17px; font-weight: 500;
}
.slot-ph code { font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(22, 23, 27, .07); color: #3A3B40; padding: 4px 8px; border-radius: 6px; word-break: break-all; }
.slot-ph.badge { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 0; height: auto; gap: 4px; padding: 10px 12px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .94); font-size: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.slot > img, .slot > video, .slot-fallback img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot-fallback { height: 100%; }
html:not(.show-drafts) .slot-ph.badge,
html:not(.show-drafts) .slot:not(.loaded):not(.has-fallback) { display: none; }
html:not(.show-drafts) .media-section:not(:has(.loaded, .shot, .stage > video)) { display: none; }

.stage .slot { width: min(420px, 100%); border-radius: 30px; overflow: hidden; }
.stage .slot > video, .stage .slot > img { height: auto; max-height: 560px; object-fit: contain; }
.stage .slot-ph { min-height: 480px; background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); }
.stage .slot-ph code { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.stage + .gallery { margin-top: 28px; }

.card .card-media { height: 340px; border-radius: 0; background: #EDECE8; }
.card .card-media > img, .card .card-media > video, .card .slot-fallback img { object-position: center 38%; }
.card .card-media .slot-ph:not(.badge) { border-radius: 0; border-width: 0 0 2px; min-height: 100%; background: #EDECE8; }

.prose { max-width: 40em; }
.prose > :first-child, .prose > .draft:first-child > :first-child { margin-top: 0; }
.prose h3 { margin: 44px 0 10px; font-size: clamp(24px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.prose p { margin: 0 0 18px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; color: #34353A; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose figure { margin: 32px 0; }
.prose figure .slot { border-radius: 22px; overflow: hidden; }
.prose figure .slot > img { height: auto; }
.prose figure .slot-ph { min-height: 300px; }
.prose figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.quote { margin: 28px 0; padding: 24px 28px; border-radius: 22px; background: #FFFFFF; }
.quote p { margin: 0 0 12px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.quote a { font-size: 15px; color: var(--muted); text-decoration: none; }
.story { align-items: start; }
.story-head { position: sticky; top: 32px; }

/* ─── About ─── */
.site-head nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.about-intro h1 { margin: 0; font-size: clamp(56px, 9vw, 136px); line-height: .92; font-weight: 800; letter-spacing: -.032em; }
.lede { margin: clamp(24px, 3vw, 40px) 0 0; max-width: 22em; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; font-weight: 500; letter-spacing: -.012em; }
.portrait { aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; }
.portrait .slot-ph { min-height: 100%; }
.about-body .prose p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.55; }
.room-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.chip { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 24px; background: var(--bg); color: var(--fg); text-decoration: none; transition: transform .25s var(--spring); }
[data-app="pointerpals"].chip { box-shadow: inset 0 0 0 1.5px rgba(22, 23, 27, .12); }
.chip:hover { transform: translateY(-3px); }
.chip img { width: 64px; height: 64px; border-radius: 15px; flex-shrink: 0; }
.chip > span { display: flex; flex-direction: column; gap: 2px; }
.chip strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.chip span span { font-size: 15px; opacity: .85; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.links a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 26px; background: #FFFFFF; font-size: 18px; font-weight: 700; text-decoration: none; transition: transform .2s var(--spring); }
.links a:hover { transform: translateY(-2px); }
.site-foot p a { color: var(--ink); }
[data-page="about"] main { padding-bottom: 40px; }

/* ─── Small screens ─── */
@media (max-width: 860px) {
  .room { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .room-copy { padding: 56px 0 0; }
  .room-media { justify-content: center; padding-top: 36px; min-height: 300px; align-items: flex-end; gap: 20px; }
  .room-media .hide-sm { display: none; }
  .peek { width: 168px; height: 290px; }
  .peek.up { height: 260px; }
  .globe { height: 250px; }
  .watch { height: 170px; align-self: center; }
  [data-app="now-departing"] .room-media { gap: 8px; }
  .app-icon { width: 110px; height: 110px; align-self: center; }
  .splitscreen { padding-bottom: 40px; align-self: center; }
  .bubbles { width: 200px; height: 260px; align-self: center; }
  .bubbles .b1 { width: 170px; height: 170px; top: 20px; }
  .bubbles .b2 { width: 130px; height: 130px; left: 80px; top: 110px; }

  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 40px 0 36px; }
  .hero-media { justify-self: center; }
  .hero-media.center { padding-bottom: 48px; }
  .hero .peek { width: 230px; height: 420px; }
  .hero .globe { height: 400px; }
  .hero .splitscreen { width: 100%; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-head { position: static; }
  .about-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .portrait { max-width: 360px; }
  .site-head nav { gap: 18px; }
}

/* ─── Room expands: the page transition ─── */
::view-transition-group(*) { animation-duration: .62s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
::view-transition-old(root) { animation: .28s ease both vt-out; }
::view-transition-new(root) { animation: .55s cubic-bezier(.2, .9, .25, 1) .2s both vt-rise; }
html:active-view-transition-type(to-home)::view-transition-new(root) { animation: .45s ease .15s both vt-in; }
::view-transition-new(*):only-child { animation: .35s ease .3s both vt-in; }
::view-transition-old(*):only-child { animation: .2s ease both vt-out; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@keyframes vt-rise { from { opacity: 0; transform: translateY(56px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .kw-train .lamp, .kw-friends .cur, .globe { animation: none; }
  .kw-park:hover svg, .produce svg:hover { animation: none; }
  .produce[data-drop] .drop { opacity: 1; animation: none !important; }
}
