/* Kora Coffee House: warm, cozy, low light. Light-brown theme with dark amber accents.
   Change the look by editing the variables below. */
:root {
  --hero-frame: clamp(6px, 1.15vw, 16px);
  --hero-cut: clamp(48px, 5vw, 58px);
  --script: "Rosaline", "Snell Roundhand", "Segoe Script", cursive;
  --bg: #efe0cb;          /* light brown page */
  --surface: #f8eedf;     /* cards */
  --line: #d9c3a5;
  --ink: #36200f;         /* dark brown text */
  --muted: #7a5a43;
  --accent: #b4521a;      /* dark orange (logo) */
  --accent-ink: #fff7ec;
  --accent-deep: #8a3d10;
  --night: #261710;       /* low-light sections */
  --night-ink: #f3e3cc;
  --glow: #f2a65a;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(54, 32, 15, .12);
  --display: "Khand", "Arial Narrow", system-ui, sans-serif;
  --sans: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.section { padding: 3.5rem 0; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent-deep); font-weight: 700; margin-bottom: .6rem; }
.night .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--glow); }
.night .note, .night blockquote footer { color: #c9ad8c; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Shared header: the edge cut and central tab sit over the first section. */
.site-header {
  position: relative;
  z-index: 50;
  height: var(--hero-frame);
  background: #000;
  color: #fff;
}
.site-header .wrap {
  position: absolute;
  z-index: 1;
  inset: 100% 0 auto;
  display: flex;
  align-items: flex-start;
  padding-top: .95rem;
  width: calc(100% - 2rem);
}
.site-header .nav {
  position: absolute;
  inset: 0 auto auto calc(50% - clamp(.2rem, .85vw, .8rem));
  transform: translateX(-50%);
  width: max-content;
  max-width: 100%;
  flex-wrap: nowrap;
}
.home-document, .home-page { background-color: #000; }
.home-page main { background-color: var(--bg); }
.home-page .site-header { position: absolute; inset: 0 0 auto; }
.light-header-brand .site-header .brand { color: var(--ink); }
body:not(.home-page) main > section:first-of-type {
  padding-top: calc(var(--hero-cut) + clamp(2rem, 5vw, 4rem));
}
.site-header::before {
  content: "";
  position: absolute;
  inset: calc(100% - 1px) 0 auto;
  height: 18px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V62Q994 16 978 16H22Q6 16 0 62Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: calc(100% - 1px) auto auto 50%;
  transform: translateX(-50%);
  width: min(100%, 34rem);
  height: var(--hero-cut);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H600V5C555 5 561 64 510 64H90C39 64 45 5 0 5Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
@media (max-width: 720px) {
  .site-header .wrap { padding-top: calc(var(--hero-cut) + .5rem); }
  body:not(.home-page) main > section:first-of-type {
    padding-top: calc(var(--hero-cut) + 4.8rem);
  }
}
.site-header .brand-mark { width: 50px; height: 55px; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 46px; padding: 4px; border-radius: 10px; background: #f7f5ee; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; }
.nav a { color: inherit; text-decoration: none; padding: .5rem .9rem; font-size: .95rem; white-space: nowrap; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; font: inherit; font-weight: 700; min-height: 48px; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost { background: transparent; color: var(--accent-deep); }
.btn.ghost:hover { background: rgba(180, 82, 26, .1); }
.btn.on-dark.ghost { color: var(--night-ink); border-color: var(--glow); }
.btn.on-dark.ghost:hover { background: rgba(242, 166, 90, .15); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero: a dim room with a warm lamp glow */
.hero { background: radial-gradient(ellipse at 75% 20%, rgba(242, 166, 90, .38), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(180, 82, 26, .35), transparent 50%), var(--night); color: var(--night-ink); padding: 4.5rem 0 4rem; }
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--hero-cut) + 9.75rem) 6rem;
  border-top: var(--hero-frame) solid #000;
  background: #1d130d;
  color: #fff;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; background: url("../img/kora/home-hero-evening.webp") center 54% / cover no-repeat; }
.hero p.lead { font-size: 1.2rem; max-width: 36rem; color: #e8d3b6; }
.home-hero .hero-copy { text-align: center; translate: 0 calc(-1 * clamp(1rem, 4svh, 3rem)); }
.home-hero .hero-copy :is(h1, .lead) { margin-inline: auto; }
.home-hero .actions { justify-content: center; }
.home-hero .hero-location { color: #fff; margin-bottom: .9rem; }
.home-hero h1 { width: min(100%, 32rem); margin-bottom: 1.15rem; line-height: .91; }
.hero-name { display: flex; justify-content: space-between; font-size: clamp(4.25rem, 10vw, 8.5rem); }
.hero-name-subtitle { display: block; margin-top: .25rem; font-family: var(--script); font-size: clamp(2.35rem, 6.8vw, 5rem); font-weight: 400; line-height: 1.08; }
.home-hero p.lead { max-width: 35ch; margin-bottom: 1.5rem; color: #fff; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.home-hero .today { position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 1.25rem; margin: 0; max-width: calc(100% - 2rem); background: #17110ed9; }
.home-hero .today .dot { flex: none; }
.home-hero .btn { border-radius: 12px; }
.home-hero .btn:not(.ghost) { color: #fff; background: #733b20; border-color: #a5653f; }
.home-hero .btn:not(.ghost):hover { background: #824426; border-color: #cb895f; }
.home-hero .btn.ghost { border-color: #fff9; color: #fff; background: #14100d55; }
.home-hero .btn.ghost:hover { background: #fff1dc26; }


@media (max-width: 640px) {
  .home-hero { padding-block: calc(var(--hero-cut) + 9.75rem) calc(8.75rem + env(safe-area-inset-bottom, 0px)); }
  .hero-scene { background-position: 53% 50%; }
  .home-hero .today { bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
}
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr); }
.hero-photo { margin: 0; border-radius: 18px; overflow: hidden; background: #2c1b12; box-shadow: 0 24px 50px rgba(0, 0, 0, .38); }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}
.hero :where(.today) { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(242, 166, 90, .35); padding: .45rem .9rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1.2rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #8a8a8a; }
.dot.open { background: #7bd88f; box-shadow: 0 0 8px #7bd88f; }
.dot.closed { background: #e07a5f; }
.page-head { background: var(--night); color: var(--night-ink); padding: 2.6rem 0 2.2rem; background-image: radial-gradient(ellipse at 85% 0%, rgba(242, 166, 90, .3), transparent 60%); }
.page-head p { color: #e8d3b6; margin: 0; max-width: 40rem; }

/* Cards and grids */
.grid { display: grid; gap: 1.2rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.night { background: var(--night); color: var(--night-ink); }
.night .card { background: #34221a; border-color: #4a3226; box-shadow: none; }
.night .muted { color: #c9ad8c; }
.night a { color: var(--glow); }

/* Photos */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #2c1b12; box-shadow: var(--shadow); aspect-ratio: var(--ratio, 4 / 3); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { position: absolute; inset: auto 0 0; padding: 1.6rem .95rem .75rem; background: linear-gradient(transparent, rgba(20, 12, 6, .82)); color: #f8e6cc; font-size: .85rem; line-height: 1.3; }
.photo.square { --ratio: 1; }
.photo.portrait { --ratio: 3 / 4; }
.photo.wide { --ratio: 16 / 9; }

/* Full-width illustrated menu in the café's paper palette. */
@font-face {
  font-family: "Gaegu";
  src: url("../vendor/gaegu/gaegu-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.menu-paper {
  --menu-paper: #fff0cb;
  --menu-red: #bf352b;
  --menu-blue: #2863aa;
  --menu-hand: "Gaegu", "Segoe Print", var(--display);
  padding-block: clamp(1.6rem, 5vw, 5.5rem);
  background: var(--menu-paper) radial-gradient(#a5702822 .55px, transparent .65px) 0 0 / 5px 5px;
  color: var(--menu-red);
}
.menu-sheet {
  display: grid;
  grid-template-columns: minmax(0, .51fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 5.5vw, 6rem);
  width: 100%;
  max-width: 1540px;
  min-height: min(100svh, 60rem);
  margin-inline: auto;
  padding-inline: clamp(.7rem, 2.3vw, 3rem) clamp(1.2rem, 5vw, 5rem);
}
.menu-sheet-art { align-self: start; pointer-events: none; }
.menu-sheet-art img {
  width: min(100%, clamp(15rem, 24.5vw, 24rem));
  height: auto;
  margin-inline: auto;
}
.menu-sheet--full .menu-sheet-art { position: sticky; top: 1rem; }
.menu-sheet--full .menu-sheet-art img {
  max-height: calc(100svh - 2rem);
  object-fit: contain;
  object-position: top center;
}
.menu-sheet-main { min-width: 0; }
.menu-sheet-header {
  margin-bottom: clamp(1.2rem, 5vw, 4rem);
  text-align: center;
}
.menu-sheet-header p {
  margin: 0 0 .3rem;
  color: var(--menu-red);
  font: 700 clamp(1rem, 3.3vw, 2.2rem)/1 var(--menu-hand);
  text-transform: uppercase;
  letter-spacing: .045em;
}
.menu-sheet-header :is(h1, h2) {
  margin: 0;
  font: 700 clamp(4rem, 15.5vw, 14rem)/.83 var(--menu-hand);
  letter-spacing: -.05em;
}
.menu-sheet :is(.menu-sheet-taste, .menu-sheet-list) { display: grid; gap: 1.1rem; }
.menu-sheet .menu-cat {
  margin: 0;
  padding-block: 0 .9rem;
  position: relative;
}
.menu-sheet .menu-cat:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: auto 0 -.2rem;
  height: 5px;
  border-top: 2px solid var(--menu-blue);
  border-radius: 52% 46% 48% 54%;
  rotate: -.2deg;
  pointer-events: none;
}
.menu-sheet .menu-cat:last-child { padding-bottom: 0; }
.menu-sheet .menu-cat > :is(h2, h3) {
  display: block;
  margin: 0 0 .3rem;
  padding: 0;
  border: 0;
  color: var(--menu-blue);
  font: 700 clamp(1.45rem, 4.1vw, 3.2rem)/.96 var(--menu-hand);
  letter-spacing: .005em;
}
.menu-sheet .menu-cat > h2 small { margin-inline-start: .6em; }
.menu-sheet .item {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .15rem .65rem;
  padding: .27rem 0;
  border: 0;
  font-size: clamp(.89rem, 2vw, 1.23rem);
  line-height: 1.35;
}
.menu-sheet .item .name { font-weight: 500; }
.menu-sheet .item .price { color: inherit; font-weight: 500; font-variant-numeric: tabular-nums; }
.menu-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  padding: .3rem 0;
  color: var(--menu-red);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.menu-sheet-link:is(:hover, :focus-visible) { color: var(--menu-blue); }
.menu-sheet-arrow-window { display: grid; place-items: center; width: 1.2em; height: 1.2em; overflow: hidden; }
.menu-sheet-arrow { display: block; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .menu-sheet-link:is(:hover, :focus-visible) .nav-reel-label {
    animation: nav-roll .42s cubic-bezier(.25, .75, .35, 1) both;
  }
  .menu-sheet-link:is(:hover, :focus-visible) .menu-sheet-arrow {
    animation: menu-arrow-loop .85s cubic-bezier(.38, .1, .25, 1) infinite;
  }
}
@keyframes menu-arrow-loop {
  0%, 85%, 100% { opacity: 1; translate: 0 0; }
  42% { opacity: 0; translate: 115% -115%; }
  43% { opacity: 0; translate: -115% 115%; }
}
.menu-discovery {
  margin-bottom: 1.65rem;
  padding-bottom: .8rem;
  border-bottom: 1px dashed #2863aa70;
}
.menu-tools { display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; }
.menu-search { flex: 1 1 13rem; min-width: 0; }
.menu-search label {
  margin: 0 0 .05rem;
  color: var(--menu-blue);
  font: 700 clamp(1.25rem, 2.5vw, 1.85rem)/1.15 var(--menu-hand);
}
.menu-search input {
  min-height: 44px;
  padding: .52rem .7rem;
  color: var(--menu-red);
  border: 1px solid var(--menu-blue);
  border-radius: 9px 12px 8px 11px;
  background: #fff7de;
  font: 700 clamp(1rem, 2vw, 1.25rem)/1.15 var(--menu-hand);
}
.menu-search input::placeholder { color: #735f54; }
.menu-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.menu-filters button {
  padding: .35rem .8rem;
  min-height: 44px;
  border: 1px solid var(--menu-red);
  border-radius: 13px 10px 15px 11px;
  background: transparent;
  color: var(--menu-red);
  font: 700 clamp(1rem, 2vw, 1.2rem)/1.1 var(--menu-hand);
  cursor: pointer;
}
.menu-filters button[aria-pressed="true"] { background: var(--menu-red); color: #fff7de; }
.menu-filters button:not([aria-pressed="true"]):hover { background: #bf352b13; }
.menu-discovery .chips { gap: .25rem 1.05rem; margin: .75rem 0 0; padding: 0; }
.menu-discovery .chips a {
  padding: .2rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--menu-blue);
  text-decoration: underline;
  text-decoration-color: #2863aa80;
  text-underline-offset: .2em;
  font: 700 clamp(1.18rem, 2.6vw, 1.75rem)/1.1 var(--menu-hand);
}
.menu-discovery .chips a:is(:hover, :focus-visible) { color: var(--menu-red); }
@media (prefers-reduced-motion: no-preference) {
  .menu-discovery .chips a:is(:hover, :focus-visible) .nav-reel-label {
    animation: nav-roll .42s cubic-bezier(.25, .75, .35, 1) both;
  }
}
.menu-result-count, .menu-result-empty {
  margin: .35rem 0 0;
  color: var(--menu-blue);
  font: 700 1.12rem/1.2 var(--menu-hand);
}
.menu-result-count:empty { margin: 0; }
@media (max-width: 710px) {
  .menu-sheet {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: clamp(.8rem, 3vw, 1.25rem);
    padding-inline: clamp(1rem, 4vw, 2rem);
  }
  .menu-sheet-main { display: contents; }
  .menu-sheet-header { grid-row: 1; margin: 0; }
  .menu-sheet-art, .menu-sheet--full .menu-sheet-art { grid-row: 2; position: static; }
  .menu-sheet .menu-sheet-art img {
    width: min(100%, 24rem);
    aspect-ratio: 640 / 180;
    max-height: none;
  }
  .menu-sheet .menu-tools { align-items: stretch; }
  .menu-sheet .item { gap: .15rem .35rem; }
}
@media print {
  .menu-paper.menu-section { padding: 0; background: none; }
  .menu-sheet {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    color: #000;
  }
  .menu-sheet-main { display: block; }
  .menu-sheet-header { margin-bottom: .6rem; }
  .menu-sheet-header p { display: none; }
  .menu-sheet-header h1 { font: 700 2rem/1 var(--display); }
  .menu-sheet .menu-cat::after { display: none; }
  .menu-sheet .menu-cat > h2 { color: #000; font: 700 1.2rem/1.1 var(--display); }
  .menu-sheet .item { font-size: .88rem; }
}

/* Our Story photo stream */
.story-stream {
  display: grid;
  grid-template-rows: auto auto clamp(10rem, min(38svh, 35vw), 33rem) auto;
  align-content: space-evenly;
  row-gap: clamp(.65rem, 1.5svh, 1rem);
  min-height: 100svh;
  padding-block: .35rem clamp(1.5rem, 4svh, 3rem);
  background: #140c08;
  color: #fff7ec;
  container-type: inline-size;
  overflow: clip;
}
.story-flags {
  position: relative;
  top: clamp(-.85rem, -1.5svh, -.4rem);
  display: grid;
  grid-template: minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
  aspect-ratio: 2400 / 368;
  overflow: clip;
  pointer-events: none;
}
.story-flag-strand { position: relative; min-width: 0; }
.story-flag-strand > :is(img, svg) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.story-flag-strand img {
  top: -8.6957%;
  height: 108.6957%;
  object-fit: contain;
  clip-path: polygon(0 38%, 6.35% 12.75%, 94.08% 9.5%, 100% 36%, 100% 100%, 0 100%);
}
.story-flag-strand:has(.story-flag-art) img { visibility: hidden; }
.story-flag-art { overflow: visible; }
@media screen and (prefers-reduced-motion: no-preference) {
  .story-flag-cloth {
    transform-origin: 0 0;
    animation: prayer-flag-flutter var(--flag-period) ease-in-out var(--flag-phase) infinite;
  }
}
@keyframes prayer-flag-flutter {
  0%, 100% { transform: matrix(1, 0, 0, .99, 0, 0); }
  24% { transform: matrix(1, 0, -.14, .89, 0, 0); }
  46% { transform: matrix(1, 0, .07, .97, 0, 0); }
  66% { transform: matrix(1, 0, .13, .85, 0, 0); }
  82% { transform: matrix(1, 0, -.04, .94, 0, 0); }
}

.story-stream-heading, .story-stream-copy { text-align: center; }
.story-stream-heading :is(h1, h2) {
  margin: 0;
  font-size: clamp(2.5rem, min(7.25vw, 10svh), 6.5rem);
  line-height: .95;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.story-stream-window {
  position: relative;
  overflow: hidden;
  pointer-events: none;
  background: url("../img/kora/gallery/dimmedlogo.webp") center / auto 100% no-repeat;
}
.story-stream.is-ready .story-stream-window { background: none; }
.story-stream-scene {
  --stream-unit: max(1cqw, 4.8px);
  position: absolute;
  inset: 0;
  perspective: calc(30 * var(--stream-unit));
  perspective-origin: center;
}
.story-stream-rails { position: absolute; inset: 0; transform-style: preserve-3d; }
.story-stream-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(18 * var(--stream-unit));
  aspect-ratio: 18 / 25;
  margin-left: calc(-9 * var(--stream-unit));
  translate: 0 -50%;
  overflow: hidden;
  border-radius: clamp(3px, .4cqw, 8px);
  background: #382318;
  backface-visibility: hidden;
}
.story-stream-card img { width: 100%; height: 100%; object-fit: cover; }
.story-stream-copy {
  color: #fff;
  font-size: clamp(1.075rem, 2.1vw, 1.6rem);
  line-height: 1.35;
}
.story-stream-copy p { max-width: 62ch; margin: 0 auto .65em; text-wrap: pretty; }
.story-stream-copy p:last-child { margin-bottom: 0; }
.story-stream-copy em { font: 400 1.6em/0 var(--script); padding-inline: .04em; }

@media (max-width: 710px) {
  .story-stream {
    grid-template-rows: auto auto clamp(10rem, 47vw, 18rem) auto;
    row-gap: clamp(.85rem, 2.3svh, 1.3rem);
  }
  .story-stream-scene { --stream-unit: 1cqw; }
  .story-stream-copy { line-height: 1.45; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    transition: opacity .58s ease-out, translate .72s cubic-bezier(.2, .75, .25, 1);
    transition-delay: var(--scroll-reveal-delay, 0ms);
  }
  .scroll-reveal-pending:not(:focus-within) { opacity: 0; translate: 0 1.1rem; }
  .story-flags.scroll-reveal { transition-property: opacity; }
  .story-flags.scroll-reveal-pending { translate: none; }
  .story-stream-copy > p + p { --scroll-reveal-delay: .085s; }
  .menu-cat .item { --scroll-reveal-delay: .05s; }
  .story-stream.is-ready .story-stream-window.is-revealed .story-stream-card img {
    animation: story-photo-reveal .55s ease-out var(--photo-reveal-delay) both;
  }
}
@keyframes story-photo-reveal {
  from { opacity: 0; scale: 1.05; }
  to { opacity: 1; scale: 1; }
}

/* The sign video on the visit page (portrait clip) */
.video-photo { margin: 0 auto; max-width: 320px; }
.video-photo video { width: 100%; height: auto; display: block; border-radius: var(--radius); background: #2c1b12; }
.video-photo figcaption { margin-top: .5rem; font-size: .9rem; text-align: center; }

/* Menu */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .95rem; }
.chips a:hover { border-color: var(--accent); }
.menu-cat { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.menu-cat > h2 { border-bottom: 2px solid var(--accent); padding-bottom: .4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-cat > h2 small { font-size: .9rem; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.item .name { font-weight: 700; }
.item .price { font-weight: 700; white-space: nowrap; color: var(--accent-deep); }
.item .desc { grid-column: 1; color: var(--muted); font-size: .95rem; margin: 0; }
.tag { display: inline-block; font-size: .7rem; padding: .05rem .5rem; border-radius: 999px; border: 1px solid var(--line); margin-left: .35rem; vertical-align: middle; color: var(--muted); }
.tag.today { border-color: var(--accent); color: var(--accent-deep); }
.note { font-size: .9rem; color: var(--muted); }

/* Hours table, forms, FAQ */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem .2rem; border-bottom: 1px solid var(--line); }
.hours tr.today { font-weight: 700; color: var(--accent-deep); }
.night .hours th, .night .hours td { border-color: #4a3226; }
.night .hours tr.today { color: var(--glow); }
form .field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
input, select, textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; font: inherit; color: var(--ink); min-height: 48px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .7rem; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: .5rem; }
blockquote { margin: 0; font-family: var(--display); font-size: 1.1rem; }
blockquote footer { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* The footer's café crew and ink wordmark */
.site-footer {
  --footer-ink: #fff0d9;
  --footer-soft: #cbbba8;
  --footer-rule: #4e3d30;
  background: #000;
  color: var(--footer-ink);
  padding-block: clamp(1rem, 2.3svh, 1.6rem) .8rem;
  overflow: clip;
}
.footer-width { width: min(1380px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.footer-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, .95fr);
  gap: clamp(1.25rem, 3vw, 3.25rem);
  align-items: start;
}
.footer-intro p { max-width: 33ch; margin: .65rem 0 0; color: var(--footer-soft); font-size: .95rem; }
.footer-brand {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: var(--footer-ink);
  font: 600 clamp(1.3rem, 2.2vw, 1.85rem)/1 var(--display);
  text-decoration: none;
}
.footer-brand img { width: 36px; height: 44px; padding: 3px; border-radius: 8px; background: #f7f5ee; object-fit: contain; }
.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.footer-columns h2 { margin: 0 0 .5rem; color: var(--glow); font: 700 .72rem/1.5 var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; }
.footer-columns li + li { margin-top: .3rem; }
.footer-columns a, .footer-bar a { color: var(--footer-ink); font-size: .89rem; text-decoration: none; text-underline-offset: .22em; }
.site-footer a:is(:hover, :focus-visible) { color: var(--glow); }
.footer-link-reel { position: relative; display: inline-block; vertical-align: bottom; }
.footer-link-window { display: block; overflow: hidden; padding-block: .08em; }
.footer-link-track { display: block; position: relative; }
.footer-link-copy { display: block; position: absolute; inset: 100% 0 auto; }
.footer-link-reel::after {
  content: "";
  position: absolute;
  inset: auto 0 -.25em;
  height: 5px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 5'%3E%3Cpath d='M0 2.5Q3.5 -.5 7 2.5T14 2.5' fill='none' stroke='%23f2a65a' stroke-width='1.4'/%3E%3C/svg%3E") left center / 14px 5px repeat-x;
  transform-origin: left;
  transform: scaleX(0);
}
.site-footer a:is(:hover, :focus-visible) .footer-link-reel::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .footer-link-reel::after { transition: transform .3s ease; }
  .site-footer a:is(:hover, :focus-visible) .footer-link-track { animation: nav-roll .42s cubic-bezier(.25, .75, .35, 1) both; }
}


.footer-stage {
  position: relative;
  isolation: isolate;
  width: calc(100% - clamp(1.25rem, 4vw, 4rem));
  padding-top: clamp(3rem, min(16vw, 16svh), 8rem);
  margin: .65rem auto .85rem;
}
.footer-defs { position: absolute; pointer-events: none; }
.footer-wordmark {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, clamp(5rem, min(22vw, 23svh), 13rem)));
  justify-content: space-between;
  gap: clamp(.65rem, 3vw, 3rem);
  color: var(--footer-ink);
}
.footer-wordmark-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.footer-letter-cell { position: relative; }
.footer-letter { position: relative; z-index: 1; display: block; transform-origin: 50% 100%; }
.footer-letter svg { width: 100%; fill: currentColor; }
.footer-letter path { filter: url(#footer-ink); }

.footer-person {
  position: absolute;
  z-index: 3;
  left: var(--seat-x, 50%);
  bottom: var(--seat-y, 0);
  width: var(--seat-width);
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  translate: -50% var(--seat-overlap, 0%);
  cursor: pointer;
  touch-action: manipulation;
}
.footer-person img { width: 100%; height: auto; }
.footer-person--barista { --seat-x: 47%; --seat-width: 51%; }
.footer-person--regular {
  --seat-y: 100%;
  --seat-width: 46%;
  --seat-overlap: 39%; /* The shoes hang over the O while the hips sit on its crown. */
}
.footer-person--baker { --seat-y: 100%; --seat-width: 66%; --seat-overlap: 8%; z-index: 0; }
.footer-person--reader { --seat-x: 56%; --seat-width: 48%; }
.footer-eye {
  position: absolute;
  aspect-ratio: 1.2;
  border-radius: 50%;
  translate: -50% -50%;
  background: #fff0d9;
  overflow: hidden;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.footer-eye > span { width: 52%; aspect-ratio: 1; border-radius: 50%; background: #18100c; }
.footer-bubble:empty { opacity: 0; padding: 0; border: 0; }
.footer-bubble {
  position: absolute;
  z-index: 5;
  bottom: var(--bubble-y, 85%);
  left: var(--bubble-x, 50%);
  width: max-content;
  max-width: min(15rem, 54%);
  transform: translateX(-50%);
  margin: 0;
  padding: .45rem .7rem;
  border: 1px solid #f2a65a;
  border-radius: 10px;
  background: #140c08;
  box-shadow: 3px 3px 0 #925324;
  color: var(--footer-ink);
  font-size: clamp(.73rem, 1.25vw, .96rem);
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}
.footer-doodles { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
.footer-doodle {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(22px, var(--art-size, 3.8vw), 52px);
  opacity: 0;
  cursor: crosshair;
  pointer-events: auto;
  touch-action: pan-y;
}
.footer-doodle img { width: 100%; height: auto; }

.footer-contact {
  justify-self: end;
  max-width: 25rem;
  text-align: right;
  scroll-margin-top: 1rem;
}
.footer-contact h2 {
  margin: 0 0 .5rem;
  color: var(--glow);
  font: 700 .72rem/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: .11em;
}
.footer-contact address {
  margin: 0;
  color: var(--footer-ink);
  font: 400 clamp(.92rem, 1.6vw, 1.12rem)/1.35 var(--sans);
}
.footer-contact-phone { margin: .35rem 0; font-size: .93rem; }
.footer-contact-hours { margin: 0 0 .45rem; color: var(--footer-soft); font-size: .8rem; }
.footer-contact-hours:empty { display: none; }
.footer-contact-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .3rem 1rem; font-size: .87rem; }
.footer-contact a { color: var(--footer-ink); text-decoration: none; }

.footer-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.35rem;
  border-top: 1px dashed var(--footer-rule);
  padding-top: .7rem;
}
.footer-bar p { margin: 0 auto 0 0; color: var(--footer-soft); font-size: .82rem; }
.footer-bar [data-back-top] { white-space: nowrap; }

@media (max-width: 680px) {
  .footer-directory { grid-template-columns: 1fr; gap: 1.45rem; }
  .footer-contact { width: 100%; }
  .footer-columns { gap: .75rem; }
  .footer-columns a { font-size: .82rem; }
  .footer-bar p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .footer-motion:not(.footer-entered) :is(.footer-letter, .footer-person) { opacity: 0; }
  .footer-motion:not(.footer-entered) .footer-person:focus-visible { opacity: 1; }
  .footer-entered .footer-letter { animation: footer-stamp .72s cubic-bezier(.2,.8,.28,1.1) var(--stamp-delay, .15s) both; }
  .footer-letter-cell:nth-of-type(2) .footer-letter { --stamp-delay: .24s; }
  .footer-letter-cell:nth-of-type(3) .footer-letter { --stamp-delay: .33s; }
  .footer-letter-cell:nth-of-type(4) .footer-letter { --stamp-delay: .42s; }
  .footer-entered .footer-letter::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 12%;
    background: radial-gradient(circle at 11% 65%, var(--footer-ink) 0 2px, transparent 3px),
      radial-gradient(circle at 29% 30%, var(--glow) 0 2px, transparent 3px),
      radial-gradient(circle at 76% 45%, var(--footer-ink) 0 2px, transparent 3px),
      radial-gradient(circle at 92% 70%, var(--glow) 0 2px, transparent 3px);
    pointer-events: none;
    animation: footer-ink-puff .48s ease-out calc(var(--stamp-delay, .15s) + .26s) both;
  }
  .footer-in-view .footer-eye {
    animation: footer-blink 5.8s step-end infinite;
  }
  .footer-in-view .footer-person img {
    animation: footer-pencil .5s steps(1, end) infinite;
  }
  .footer-letter-cell:nth-of-type(even) .footer-eye { animation-delay: -2.3s; }
  .footer-letter:hover svg { animation: footer-jiggle .45s ease-out; }
  .footer-entered .footer-person { animation: footer-arrive .68s cubic-bezier(.2,.8,.25,1.13) var(--crew-delay, .68s) both; }
  .footer-person--regular { --crew-delay: .78s; --crew-rise: -1.3rem; }
  .footer-person--baker { --crew-delay: .87s; }
  .footer-person--reader { --crew-delay: .96s; }
}
@keyframes footer-stamp {
  from { opacity: 0; transform: translateY(-28%) scale(1.1) rotate(-4deg); }
  57% { opacity: 1; transform: translateY(2%) scale(.98,.93); }
  to { opacity: 1; transform: none; }
}
@keyframes footer-arrive {
  from { opacity: 0; transform: translateY(var(--crew-rise, 1.4rem)) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes footer-ink-puff {
  from { opacity: 0; transform: scale(.6); }
  30% { opacity: .7; }
  to { opacity: 0; transform: translateY(-1.4rem) scale(1.15); }
}
@keyframes footer-pencil {
  43%, 84% { filter: url(#footer-pencil-shift); }
}
@keyframes footer-blink {
  0%, 41%, 100% { scale: 1; }
  39%, 40% { scale: 1 .15; }
}
@keyframes footer-jiggle {
  28% { transform: rotate(-2.5deg); }
  60% { transform: rotate(2deg) scale(1.025); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { width: 100%; gap: .15rem; }
  .nav a { padding: .5rem clamp(.25rem, 1.5vw, .75rem); font-size: .9rem; text-align: center; }
  .row2 { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .chips, .no-print, .hero, .page-head .actions { display: none !important; }
  body { background: #fff; color: #000; }
  body:not(.home-page) main > section:first-of-type { padding-top: 0; }
  .page-head { background: none; color: #000; padding: 0; }
  .page-head p { color: #333; }
  .item { break-inside: avoid; }
  /* The menu can grow onto more pages: a title stays with its first items, and photos stay on the website. */
  .menu-cat > h2 { break-after: avoid; }
  .menu-section .menu-sheet-list .menu-cat { break-inside: auto; }
  .menu-section img { display: none !important; }
  /* Name and contact details at the top of page 1, so they print however long the menu gets. */
  .print-only.print-head { display: flex; }
}
.print-only { display: none; }
.print-head { align-items: center; gap: 14px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #b4521a; }
.print-head img { width: 44px; height: 52px; object-fit: contain; }
.print-head strong { font-family: var(--display); font-size: 1.5rem; }
.print-head p { margin: 0; font-size: .85rem; color: #333; line-height: 1.4; }

/* Menu on dark sections (the home page taste) */
.night .item { border-color: #4a3226; }
.night .item .desc { color: #c9ad8c; }
.night .item .price { color: var(--glow); }
.night .menu-cat > h2 { border-color: var(--glow); }
.night .menu-cat > h2 small { color: #c9ad8c; }
.night .tag { border-color: #6a4a38; color: #d9bf9f; }
.night .tag.today { border-color: var(--glow); color: var(--glow); }

.btn.small { min-height: 34px; padding: .3rem .9rem; font-size: .85rem; margin-left: .8rem; }

/* Buttons keep their own text colour inside dark sections */
.night a.btn { color: var(--accent-ink); }
.night a.btn.on-dark.ghost { color: var(--night-ink); }
.night .grid > .card { align-self: start; }

/* Membership page */
.member-hero .wrap { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr); }
.member-hero .copy { min-width: 0; }
.member-photo { --ratio: 4 / 5; width: 100%; max-width: 420px; margin-inline: auto; }
@media (max-width: 820px) { .member-hero .wrap { grid-template-columns: 1fr; } }
.badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: 0; text-transform: none; padding: .15rem .6rem; border-radius: 999px; white-space: nowrap; }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--accent); margin: 0 0 .5rem; }
.level p { margin: 0 0 .6rem; }
.level-name { display: flex; justify-content: space-between; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--muted); }
.level-amount { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1.1; }
.level-off { font-size: 1.25rem; font-weight: 700; color: var(--accent-deep); }
.level .level-points { border-top: 1px dashed var(--line); padding-top: .6rem; margin: 0; color: var(--muted); }
.level.featured { background: var(--night); color: var(--night-ink); border-color: #4a3226; background-image: radial-gradient(ellipse at 85% 0%, rgba(242, 166, 90, .3), transparent 60%); }
.level.featured .level-name, .level.featured .level-off { color: var(--glow); }
.level.featured .level-points { color: #c9ad8c; border-color: #4a3226; }
.night .card h3 { color: #fff; }

/* Suggestion box */
#suggestions { scroll-margin-top: 8rem; }
textarea { resize: vertical; min-height: 150px; }
[data-suggestion-status] { margin: 1rem 0 0; }
[data-suggestion-status]:empty { display: none; }
[hidden] { display: none !important; }

/* Menu labels */
.tag.bestseller { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.menu-cat { scroll-margin-top: 9rem; }
.mobile-actions { display: none; }
@media (max-width: 640px) {
  html { scroll-padding-top: 8rem; }
  .home-document { scroll-padding-top: 0; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .mobile-actions { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: var(--night); border-top: 1px solid var(--glow); box-shadow: 0 -4px 18px rgba(0,0,0,.15); }
  .mobile-actions a { min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; color: var(--night-ink); font-weight: 700; }
  .mobile-actions a:first-child { background: var(--accent); color: var(--accent-ink); }
  .mobile-actions a:hover, .mobile-actions a:focus-visible { background: var(--accent-deep); color: var(--accent-ink); }
  body:has(input:focus, textarea:focus) .mobile-actions { display: none; }
}
@media print {
  .mobile-actions { display: none !important; }
  body { padding-bottom: 0; }
}

/* Keep the spam trap outside the visible form and keyboard order. */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .65; cursor: default; }

.terrain-panel { grid-column: 1 / -1; }
.terrain-map { width: 100%; height: clamp(300px, 55vw, 420px); margin-block: 1rem; border-radius: var(--radius); color: #252320; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.hero-photo, .photo) img { transition: transform .35s ease; }
  :is(.hero-photo, .photo):hover img { transform: scale(1.04); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: translate .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .btn:active { translate: 0 1px; }
  .nav-reel { display: block; overflow: hidden; }
  .nav-reel-label { position: relative; display: block; }
  .nav-reel-label::after { content: attr(data-label) / ""; position: absolute; inset: 100% 0 auto; }
  :is(.nav a, .home-hero .btn):focus-visible .nav-reel-label { animation: nav-roll .42s cubic-bezier(.25, .75, .35, 1) both; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.nav a, .home-hero .btn):hover .nav-reel-label { animation: nav-roll .42s cubic-bezier(.25, .75, .35, 1) both; }
  .btn:hover {
    translate: 0 -2px;
    box-shadow: var(--shadow);
  }
}

@keyframes nav-roll {
  to { transform: translateY(-100%); }
}

/* Café logo and upward curtain on direct visits and reloads. */
.home-preloader:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  transition: transform 1.1s cubic-bezier(.76, 0, .18, 1);
}
.home-preloader.is-leaving { transform: translateY(-101%); pointer-events: none; }
.preloader-brand { display: grid; justify-items: center; gap: 1.35rem; text-align: center; }
.preloader-brand p { margin: 0; font: 600 clamp(1.6rem, 5vw, 2.2rem)/1 var(--display); letter-spacing: .15em; text-transform: uppercase; }
.preloader-logo { width: clamp(4.25rem, 11vw, 7rem); height: auto; padding: .65rem; border-radius: 14px; background: #f7f5ee; }
.preloader-progress { position: absolute; inset: auto 0 0; }
.preloader-percent {
  display: flex;
  align-items: baseline;
  gap: .08em;
  margin-inline-start: max(clamp(1rem, 3vw, 3rem), env(safe-area-inset-left, 0px));
  margin-bottom: max(clamp(.8rem, 2vw, 2rem), env(safe-area-inset-bottom, 0px));
  font: 600 clamp(5.75rem, min(21vw, 26svh), 17rem)/.8 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.045em;
}
.preloader-percent span:last-child { font-size: .32em; letter-spacing: 0; }
.preloader-line { height: 3px; background: rgb(255 255 255 / .2); }
.preloader-line::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--loading-progress, 0)); }

/* The landing copy appears as the homepage curtain lifts. */
@media (prefers-reduced-motion: no-preference) {
  .hero-revealing .hero-scene { animation: scene-settle 1.6s cubic-bezier(.2, .65, .2, 1) both; }
  .hero-revealing .home-hero .hero-location { animation: hero-copy-arrive .65s .34s ease-out both; }
  .hero-revealing .hero-name > span { animation: letter-arrive .72s .39s cubic-bezier(.2, .78, .23, 1) both; }
  .hero-revealing .hero-name > span:nth-child(2) { animation-delay: .45s; }
  .hero-revealing .hero-name > span:nth-child(3) { animation-delay: .51s; }
  .hero-revealing .hero-name > span:nth-child(4) { animation-delay: .57s; }
  .hero-revealing .hero-name-subtitle { animation: lettering-reveal .8s .58s ease-out both; }
  .hero-revealing .home-hero .lead { animation: hero-copy-arrive .7s .68s ease-out both; }
  .hero-revealing .home-hero .btn { animation: button-arrive .7s .77s cubic-bezier(.2, .78, .23, 1) both; }
  .hero-revealing .home-hero .btn + .btn { animation-delay: .84s; }
}
@keyframes scene-settle {
  from { scale: 1.065; }
  to { scale: 1; }
}
@keyframes hero-copy-arrive {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes letter-arrive {
  from { opacity: 0; clip-path: inset(100% 0 0); translate: 0 .26em; }
  to { opacity: 1; clip-path: inset(0); translate: 0 0; }
}
@keyframes lettering-reveal {
  from { opacity: 0; clip-path: inset(-12px 100% -12px -12px); }
  to { opacity: 1; clip-path: inset(-12px); }
}
@keyframes button-arrive {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce), print {
  .home-preloader:not([hidden]) { display: none; }
}
