@font-face { font-family:'Manrope'; font-style:normal; font-weight:400 500; font-display:swap; src:url(../fonts/manrope-latin.woff2?v=8bd97e6bbb) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Newsreader'; font-style:normal; font-weight:400; font-display:swap; src:url(../fonts/newsreader-latin.woff2?v=673feb3560) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched stand-ins, so text does not move when the web fonts arrive. Measured in Chrome on a long mixed-case sample. */
@font-face { font-family:'Manrope Fallback'; src:local('Arial'); size-adjust:101.6%; ascent-override:105.4%; descent-override:29.5%; line-gap-override:0%; }
@font-face { font-family:'Newsreader Fallback'; src:local('Georgia'); size-adjust:94%; ascent-override:78.8%; descent-override:27.7%; line-gap-override:0%; }
:root {
  color-scheme:light;
  --paper:#f3efe8;
  --ink:#492d23;
  --hero-ink:#3b2b21;
  --muted:#725e50;
  --line:#d1c3b5;
  --print:#fdfbf7;
  --band:#492d23;
  --band-ink:#f3efe8;
  --band-muted:#e5d6c7;
  --open:#3f9b63;
  --sky-top:#cdcfd4;
  --shadow-rgb:73,45,35;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --sans:'Manrope','Manrope Fallback',Arial,sans-serif;
  --serif:'Newsreader','Newsreader Fallback',Georgia,serif;
  --screen-height:100vh;
  font-family:var(--sans);
  font-optical-sizing:auto;
  font-synthesis:none;
  color:var(--ink);
  background:var(--paper);
}
:root[data-phase="night"] {
  color-scheme:dark;
  --paper:#17110f;
  --ink:#f1e9dc;
  --hero-ink:#f4ecdf;
  --muted:#b5a596;
  --line:#3a2d27;
  --print:#efe9df;
  --band:#2b1d17;
  --band-ink:#f1e9dc;
  --band-muted:#cdbfae;
  --open:#6ed59a;
  --sky-top:#080b21;
  --shadow-rgb:0,0,0;
}
/* Top-row colours of the four backdrops (scripts/build-hero.py prints them); the tall frames serve portrait screens. */
@media (max-aspect-ratio:1/1) { :root { --sky-top:#bcbfc5; } :root[data-phase="night"] { --sky-top:#070a1f; } }
/* svh is the small, stable viewport height. dvh and 100% heights follow iPhone Safari's collapsing
   address bar, which resized the hero (and every section) while scrolling and caused the jank. */
@supports (height:100svh) { :root { --screen-height:100svh; } }
* { box-sizing:border-box; }
html { scrollbar-width:none; }
@media (hover:hover) and (pointer:fine) { html { scroll-behavior:smooth; } }
html::-webkit-scrollbar, body::-webkit-scrollbar { display:none; }
/* iPhone browsers fill the strip behind the status bar with the BODY's background colour, not the
   root's or the theme-color (checked in Safari on the iOS simulator). The body is therefore a copy of the
   colour at the very top of the hero photo (--sky-top, one value per phase and per framing), and main paints the page's
   paper itself so the sections below the hero never show it. The phase is chosen by a tiny inline script
   in the head before the first paint and never changes afterwards: changing page colours with
   JavaScript while the page loads made Brave on iPhone start the page scrolled down. */
body { margin:0; font-size:16px; line-height:1.65; background:var(--sky-top); }
main { background:var(--paper); }
button, input { font:inherit; }
a { color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; text-underline-offset:5px; }
button, a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
img { display:block; max-width:100%; }
h1, h2, h3, p, figure { margin:0; }
a:focus-visible, button:focus-visible { outline:2px solid currentColor; outline-offset:6px; }
::selection { background:color-mix(in srgb, var(--ink) 25%, transparent); color:var(--ink); }
.skip-link { position:absolute; top:10px; left:20px; z-index:20; transform:translateY(-150%); background:var(--paper); padding:12px 20px; }
.skip-link:focus { transform:translateY(0); }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#hometown-site { container-type:inline-size; overflow-wrap:break-word; }
.screen { min-block-size:var(--screen-height); }
.hero { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-rows:auto minmax(min-content,1fr) auto; background:var(--sky-top); color:var(--hero-ink); box-shadow:0 1px 0 var(--paper); }
.scene { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.scene__backdrop { position:absolute; inset:-3% -3% -1%; width:106%; height:104%; max-width:none; object-fit:cover; object-position:50% 100%; transition:opacity .7s var(--ease-out); }
/* The backdrops are generated photographs (scripts/build-hero.py) with the depth-of-field blur baked in, so no live filter runs. */
html.hero-loading .scene__backdrop { opacity:0; }
.scene__grain { position:absolute; inset:0; opacity:.55; background-size:160px 160px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Drawn on a canvas by js/lights.js, which sets its height. Decorative, and added by script: main.js adds is-on after the first frame. */
.scene__lights { position:absolute; inset:0 0 auto 0; width:100%; display:block; opacity:0; transition:opacity .4s var(--ease-out); }
.scene__lights.is-on { opacity:1; }
/* The bottom ramp ends at exactly --paper at full opacity so the hero melts into the menu with no seam.
   Its stops follow an ease-in curve, which avoids the visible band a straight two-stop fade leaves. */
.scene__veil { --fade:linear-gradient(180deg,color-mix(in srgb,var(--paper) 0%,transparent) 62%,color-mix(in srgb,var(--paper) 8%,transparent) 69%,color-mix(in srgb,var(--paper) 20%,transparent) 75%,color-mix(in srgb,var(--paper) 38%,transparent) 80%,color-mix(in srgb,var(--paper) 58%,transparent) 85%,color-mix(in srgb,var(--paper) 76%,transparent) 90%,color-mix(in srgb,var(--paper) 90%,transparent) 95%,color-mix(in srgb,var(--paper) 97%,transparent) 98%,var(--paper) 100%); position:absolute; inset:0; background:radial-gradient(ellipse 46% 28% at 50% 44%,rgba(250,246,236,.34),rgba(248,243,231,.12) 62%,rgba(248,243,231,0) 100%),var(--fade); }
:root[data-phase="night"] .scene__veil { background:radial-gradient(ellipse 90% 46% at 50% 6%,rgba(255,176,92,.10),rgba(255,176,92,0) 70%),var(--fade); }
.header { position:relative; z-index:6; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:clamp(.75rem,2.2svh,1.5rem) 6%; background:transparent; margin-top:var(--load-offset,0px); transition:margin-top .25s ease; }
.brand { display:inline-flex; flex:none; align-items:center; border-radius:50%; }
.brand img { width:clamp(2.75rem,8svh,4rem); height:auto; aspect-ratio:1; border-radius:50%; clip-path:circle(48.4% at 50% 50%); }
.nav { display:flex; align-items:center; flex-wrap:wrap; gap:30px; font-size:14px; font-weight:500; line-height:1.4; }
.nav a { position:relative; min-height:44px; display:inline-flex; align-items:center; }
.nav a::after { content:""; position:absolute; inset:calc(50% + .7em + 3px) 0 auto 0; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease-out); pointer-events:none; }
/* Announcement strip (scripts/build-content.mjs; js/timed.js shows each notice only during its times). It is the hero's
   first row, over the sky, with no background of its own, so the colour behind the iPhone status bar (the body's
   --sky-top) and the top of the hero stay one surface, and the header keeps its own margin-top (the Brave offset).
   While it shows, the scene (backdrop, lights, veil) starts below it: an absolutely positioned grid child takes its
   grid area as its containing block. The backdrop is overscanned for the parallax, so a short ramp from --sky-top hides
   the join, and the lights hang from below the text instead of crossing it. */
.hero:has(> .notices:not([hidden])) { grid-template-rows:auto auto minmax(min-content,1fr) auto; }
.hero:has(> .notices:not([hidden])) > .scene { grid-row:2 / -1; grid-column:1 / -1; }
.hero:has(> .notices:not([hidden])) > .scene::after { content:""; position:absolute; inset:0 0 auto; height:clamp(2.5rem,8svh,4.5rem); background:linear-gradient(180deg,var(--sky-top),color-mix(in srgb,var(--sky-top) 55%,transparent) 45%,color-mix(in srgb,var(--sky-top) 0%,transparent)); }
.notices { position:relative; z-index:6; display:grid; justify-items:center; gap:2px; padding:clamp(.625rem,1.6svh,.875rem) 6% clamp(.375rem,1svh,.625rem); color:var(--hero-ink); font-size:.8125rem; font-weight:500; line-height:1.45; text-align:center; text-wrap:balance; }
.notices[hidden], .notice[hidden] { display:none; }
.notice { max-width:44rem; }
.notice a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; white-space:nowrap; }
.notice a::after { content:" \2192"; }
.hero__copy { position:relative; z-index:4; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:clamp(.5rem,2svh,1.25rem) 6% clamp(1.5rem,6svh,3.5rem); text-align:center; }
.hero__title { position:relative; width:min(42rem,80vw,64vh); width:min(42rem,80cqw,64svh); max-width:100%; line-height:1; }
.hero__wordmark { display:block; width:100%; aspect-ratio:1616/817; background:currentColor; -webkit-mask:url(../assets/hometown-wordmark.svg?v=7abc570ec2) center/contain no-repeat; mask:url(../assets/hometown-wordmark.svg?v=7abc570ec2) center/contain no-repeat; }
/* Hero status: the dot shows only while open. The script sets data-open on every [data-open-status] element. */
.hero__status[data-open="true"]::before { content:""; display:inline-block; width:.5em; height:.5em; margin-left:.3em; margin-right:.7em; border-radius:50%; background:var(--open); box-shadow:0 0 0 .3em color-mix(in srgb, var(--open) 24%, transparent); vertical-align:.04em; }
.hero__byline { margin-top:clamp(.5rem,2svh,1.125rem); font-size:.9375rem; line-height:1.5; }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px 28px; margin-top:30px; }
.hero__copy .actions { justify-content:center; gap:12px 22px; margin-top:clamp(.75rem,3svh,1.5rem); }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:46px; max-width:100%; padding:12px 25px; border-radius:30px; background:var(--ink); color:var(--paper); font-size:14px; font-weight:500; line-height:1.4; text-align:center; transition:transform .2s var(--ease-out); }
.button:hover { background:color-mix(in srgb, var(--ink) 85%, var(--paper)); text-decoration:none; }
.text-link { display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:500; line-height:1.5; text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }
.icon-links { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.icon-link { display:inline-flex; flex:none; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; color:var(--ink); transition:transform .15s var(--ease-out); }
.icon-link svg { display:block; width:24px; height:24px; fill:currentColor; }
.icon-link:focus-visible { outline-offset:3px; }
.hero .icon-link { color:var(--hero-ink); }
.icon-link--directions { width:48px; height:48px; padding:0; border:0; background:transparent; }
.icon-link--directions svg { width:30px; height:30px; }
/* Directions chooser. One popover serves both directions buttons. On wider screens main.js anchors it
   under (or above) the button that opened it; without JS it stays centred, the browser default.
   On phones it is a bottom sheet with a Cancel row, the familiar native pattern. */
.directions-menu { width:236px; max-width:calc(100vw - 24px); margin:auto; padding:6px; border:1px solid var(--line); border-radius:14px; background:var(--paper); color:var(--ink); box-shadow:0 14px 34px rgba(var(--shadow-rgb),.16),0 2px 6px rgba(var(--shadow-rgb),.08); opacity:1; transform:none; transition:opacity .16s ease,transform .16s ease,overlay .16s allow-discrete,display .16s allow-discrete; }
.directions-menu:not(:popover-open) { opacity:0; transform:translateY(-4px); }
@starting-style { .directions-menu:popover-open { opacity:0; transform:translateY(-4px); } }
.directions-menu[data-anchored] { inset:auto; margin:0; translate:-50% 0; }
.directions-menu[data-anchored="above"] { translate:-50% -100%; }
.directions-menu::backdrop { background:transparent; }
.directions-menu__title { padding:8px 12px 6px; font-size:.75rem; line-height:1.4; letter-spacing:.02em; color:var(--muted); }
.directions-menu__option { display:flex; align-items:center; gap:12px; min-height:48px; padding:8px 12px; border-radius:9px; font-size:.9375rem; font-weight:500; line-height:1.3; }
.directions-menu__option:hover { background:color-mix(in srgb, var(--ink) 5%, transparent); text-decoration:none; }
.directions-menu__option:focus-visible { outline-offset:-2px; }
.directions-menu__option span { flex:1; }
.directions-menu__app { flex:none; width:30px; height:30px; border-radius:7px; clip-path:inset(0 round 7px); }
.directions-menu__out { flex:none; width:16px; height:16px; fill:none; stroke:var(--muted); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.directions-menu__cancel { display:none; }
@media (max-width:560px) {
  .directions-menu { inset:auto 0 0; width:auto; max-width:none; padding:10px 12px max(12px,env(safe-area-inset-bottom)); border:0; border-radius:20px 20px 0 0; box-shadow:0 -10px 30px rgba(var(--shadow-rgb),.14); }
  .directions-menu:not(:popover-open) { opacity:1; transform:translateY(100%); }
  @starting-style { .directions-menu:popover-open { opacity:1; transform:translateY(100%); } }
  .directions-menu, .directions-menu::backdrop { transition-duration:.24s; transition-timing-function:cubic-bezier(.2,.8,.2,1); }
  .directions-menu::backdrop { background:rgba(36,26,20,.38); transition:background-color .24s ease,overlay .24s allow-discrete,display .24s allow-discrete; }
  .directions-menu:not(:popover-open)::backdrop { background:transparent; }
  @starting-style { .directions-menu:popover-open::backdrop { background:transparent; } }
  .directions-menu__title { padding:6px 12px 10px; text-align:center; }
  .directions-menu__option { min-height:56px; font-size:1rem; }
  .directions-menu__cancel { display:flex; justify-content:center; align-items:center; width:100%; min-height:52px; margin-top:6px; border:0; border-top:1px solid var(--line); background:transparent; color:var(--muted); font-size:.9375rem; font-weight:500; }
}
.hero__essentials { position:relative; z-index:4; display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 24px; padding:clamp(.5rem,1.5svh,.875rem) 6% max(.875rem,env(safe-area-inset-bottom)); font-size:.75rem; line-height:1.5; }
.section { width:min(100%,1400px); margin-inline:auto; padding:88px 6%; scroll-margin-top:0; }
.section__heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:16px 28px; margin-bottom:34px; }
h2 { font-family:var(--serif); font-size:clamp(2.75rem,6.2vw,5rem); font-weight:400; line-height:1; letter-spacing:-.03em; }
h3 { font-size:22px; font-weight:500; line-height:1.3; letter-spacing:-.035em; }
.section--photos { --photos-width:min(76%,1000px); width:100%; max-width:none; padding:88px 0; }
.section--photos .section__heading { width:var(--photos-width); margin-inline:auto; margin-bottom:22px; }
/* Story: a quiet dedication band. Without a portrait the sentence is centred; with one (the generator writes .story__portrait) it is a two-column
   layout from 800px. The no-portrait layout is the default, so a browser without :has() still looks right. */
.label { font-family:var(--sans); font-size:12px; font-weight:500; line-height:1.4; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.story { background:var(--band); color:var(--band-ink); scroll-margin-top:0; }
.story__inner { display:grid; justify-items:center; gap:2.5rem; width:min(100%,1400px); margin-inline:auto; padding:clamp(5rem,14vh,10rem) 6%; text-align:center; }
.story__text { max-width:40rem; }
.story .label { color:var(--band-muted); }
.story__dedication { margin-top:1.5rem; font-family:var(--serif); font-size:clamp(1.5rem,2.6vw,2.25rem); font-weight:400; line-height:1.35; letter-spacing:-.01em; color:var(--band-ink); text-wrap:balance; }
.story__portrait { width:200px; aspect-ratio:4/5; overflow:hidden; border-radius:999px 999px 0 0; background:color-mix(in srgb, var(--band-ink) 8%, transparent); }
.story__portrait img, .story__portrait picture { display:block; width:100%; height:100%; }
.story__portrait img { object-fit:cover; max-width:none; }
.story__inner:has(.story__portrait) { justify-items:start; text-align:left; }
.story__inner:has(.story__portrait) .story__dedication { max-width:28ch; }
@media (min-width:800px) {
  .story__inner:has(.story__portrait) { grid-template-columns:auto auto; justify-content:center; align-items:center; gap:clamp(3rem,8vw,7rem); }
  .story__inner:has(.story__portrait) .story__portrait { width:min(320px,34vw); }
}
/* Visit: the rooftop photograph beside the details from 900px, stacked below. */
.visit { padding-block:clamp(4.5rem,11vh,9rem); }
.visit__layout { display:grid; gap:clamp(2rem,6vw,3rem); }
.visit__photo { aspect-ratio:4/3; overflow:hidden; border-radius:2px; background:color-mix(in srgb, var(--ink) 6%, transparent); }
.visit__photo picture, .visit__photo img { display:block; width:100%; height:100%; }
.visit__photo img { object-fit:cover; }
.visit__details { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.visit h2 { margin-bottom:clamp(1.25rem,2.4vw,2rem); }
address { font-style:normal; font-family:var(--serif); font-size:clamp(1.75rem,2.4vw,2.25rem); line-height:1.25; letter-spacing:-.015em; }
.visit__landmark { margin-top:10px; max-width:40ch; font-size:.8125rem; line-height:1.6; color:var(--muted); }
.visit__hours { display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin-top:1.5rem; }
.visit__status { display:inline-flex; align-items:center; padding:1px 12px; border:1px solid var(--line); border-radius:999px; font-size:.8125rem; line-height:1.6; color:var(--muted); }
.visit__status[hidden] { display:none; }
.visit__status[data-open="true"]::before { content:""; flex:none; width:.5em; height:.5em; margin-right:.8em; border-radius:50%; background:var(--open); box-shadow:0 0 0 .3em color-mix(in srgb, var(--open) 24%, transparent); }
.phone { display:inline-flex; align-items:center; min-height:44px; }
.visit__amenities { font-size:.8125rem; color:var(--muted); }
.visit__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:1.75rem; }
.pill { display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:0 22px 0 16px; border:1px solid var(--line); border-radius:30px; background:transparent; color:var(--ink); font:500 14px/1.4 var(--sans); transition:transform .15s var(--ease-out); }
.pill svg { flex:none; width:22px; height:22px; fill:currentColor; }
.pill:focus-visible { outline-offset:3px; }
/* Small interactions: hover only on fine pointers, pressed states everywhere. Only transforms move; nothing else is animated. */
@media (hover:hover) and (pointer:fine) {
  .nav a:hover { text-decoration:none; }
  .nav a:hover::after { transform:scaleX(1); }
  .button:hover { transform:translateY(-1px); }
  .icon-link:hover, .pill:hover { background:color-mix(in srgb, var(--ink) 6%, transparent); text-decoration:none; }
  .pill:hover { border-color:var(--ink); }
}
.button:active { transform:scale(.98); }
.icon-link:active, .pill:active { transform:scale(.97); }
@media (min-width:900px) {
  .visit__layout { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:clamp(3rem,6vw,6rem); }
}
/* The footer follows Visit directly. It paints the paper itself (it sits outside main, over the body's sky colour); the hairline is inset to the content width. */
.footer { display:flex; justify-content:space-between; align-items:center; gap:12px 24px; padding:12px max(6%,calc((100% - 1232px)/2)); background:linear-gradient(var(--line),var(--line)) center top/min(88%,1232px) 1px no-repeat, var(--paper); font-size:.8125rem; color:var(--muted); }
.footer a { display:inline-flex; min-height:44px; align-items:center; }
.footer > span { min-width:0; text-wrap:balance; }
.footer .icon-links { flex-wrap:nowrap; flex:none; }
/* Reveals: main.js adds reveal-armed only to a [data-reveal] element that is still below the fold, and swaps it for reveal-in when
   it is reached. Nothing here keys off data-reveal itself, so without the script nothing is ever hidden. */
.reveal-armed { opacity:0; transform:translateY(16px); }
.reveal-in { transition:opacity .7s var(--ease-out) calc(var(--i,0) * 70ms), transform .7s var(--ease-out) calc(var(--i,0) * 70ms); }
@media (max-width:740px) {
  .header { gap:18px; }
  .nav { gap:20px; }
  .nav__secondary { display:none !important; }
}
@media (max-width:560px) {
  .header { padding-inline:7%; gap:16px; }
  .nav { gap:18px; }
  .hero__copy { padding-inline:7%; }
  .hero__essentials { padding-inline:7%; flex-direction:column; gap:2px; }
  .section__heading { margin-bottom:26px; }
  .section--photos { --photos-width:74%; padding:64px 0; }
  .section--photos .section__heading { margin-bottom:26px; }
}
@media (max-height:520px) {
  .header { padding-block:.5rem; }
  .brand img { width:2.625rem; }
  .nav { gap:18px; font-size:.8125rem; }
  .hero__copy { padding-block:0 .75rem; }
  .hero__title { width:min(35rem,74cqw,60svh); }
  .hero__byline { margin-top:.375rem; font-size:.8125rem; }
  .hero__copy .actions { margin-top:.625rem; }
  .hero__essentials { flex-direction:row; padding-block:.375rem max(.5rem,env(safe-area-inset-bottom)); font-size:.6875rem; }
}
/* Hero entrance, counted from hero-ready. The hero script adds hero-loading first and swaps it for hero-ready, so if it never runs
   nothing is ever held back. Reduced motion skips all of it. */
@keyframes hero-rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes hero-write { from { -webkit-mask:linear-gradient(115deg,#000 48%,transparent 52%) 100% 100%/300% 300% no-repeat; mask:linear-gradient(115deg,#000 48%,transparent 52%) 100% 100%/300% 300% no-repeat; } to { -webkit-mask:linear-gradient(115deg,#000 48%,transparent 52%) 0% 0%/300% 300% no-repeat; mask:linear-gradient(115deg,#000 48%,transparent 52%) 0% 0%/300% 300% no-repeat; } }
@keyframes hero-exit { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(-48px); } }
@media (prefers-reduced-motion:no-preference) {
  html.hero-loading :is(.hero__title,.hero__byline,.hero__copy .actions,.hero__essentials) { opacity:0; }
  html.hero-ready .hero__byline { animation:hero-rise .7s var(--ease-out) 1.15s both; }
  html.hero-ready .hero__copy .actions { animation:hero-rise .7s var(--ease-out) 1.3s both; }
  html.hero-ready .hero__essentials { animation:hero-rise .7s var(--ease-out) 1.45s both; }
  /* Write-on: the title gets a second, separate mask whose position is animated; it exists only while the animation runs. */
  html.hero-ready .hero__title { animation:hero-write 1.3s cubic-bezier(.45,.05,.35,1) .2s backwards; }
  /* Leaving the hero: on the containers and the essentials' spans, never on an element that has an entrance animation. */
  @supports (animation-timeline:scroll()) {
    .hero__copy, .hero__essentials > span { animation:hero-exit linear both; animation-timeline:scroll(root block); animation-range:0 80svh; }
  }
}
@media (forced-colors:active) { .hero__wordmark { background:CanvasText; forced-color-adjust:none; } }
@media print { .hero__wordmark { -webkit-print-color-adjust:exact; print-color-adjust:exact; } .reveal-armed { opacity:1; transform:none; } }
/* Reduced motion, the one place for it in this file: no movement and no entrance fades. Hover and pressed states still change, instantly. */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .scene__backdrop { transform:none !important; }
  .scene__backdrop, .scene__lights, .header, .directions-menu, .directions-menu::backdrop { transition:none; }
  .directions-menu:not(:popover-open) { transform:none; }
  .reveal-armed { opacity:1; transform:none; }
  .reveal-in, .button, .icon-link, .pill, .nav a::after { transition:none; }
  .nav a::after { transform:none; opacity:0; }
  .nav a:hover::after { opacity:1; }
  .button:hover, .button:active, .icon-link:active, .pill:active { transform:none; }
}
/* 404.html: always the day colours, the logo, one line and a way home. Root-relative URLs, because the page is served at whatever address was missing. */
.notfound-page { background:var(--paper); }
.notfound { min-block-size:var(--screen-height); display:grid; grid-template-rows:auto 1fr; }
.notfound__body { display:grid; grid-template-columns:minmax(0,1fr); align-content:center; justify-items:center; gap:1.25rem; padding:0 6% 12svh; text-align:center; }
.notfound h1 { font-family:var(--serif); font-size:clamp(2.75rem,6.2vw,5rem); font-weight:400; line-height:1; letter-spacing:-.03em; text-wrap:balance; }
.notfound__body .button { margin-top:.75rem; }
