/* Bluebird: an example café site by Lightplan.
   The page is a wall with gravity. A cup gets knocked over at the top and the
   coffee runs down the whole page, collecting on ledges (the top of the menu,
   the bakery shelf) and dropping off their ends, so it leads you to every
   section. The coffee is drawn live by bluebird.js in one fixed layer; the
   layout's only duty to it is keeping text out of its lanes. */

:root {
  /* the bird: sky-blue back, rusty breast, cream belly */
  --sky:        #C4DCEA;
  --sky-2:      #AFCDE0;
  --ink:        #11202D;
  --ink-soft:   #3A5062;
  --rust:       #B3441B;
  --rust-dk:    #933716;
  --on-rust:    #FFF6EA;
  --paper:      #FCF8F0;
  --paper-ink:  #1B1A17;
  --paper-soft: #5E574C;
  --coffee:     #24130A;
  --coffee-2:   #3A1F0F;
  --crema:      #C99560;
  --on-coffee:  #F6E9D6;
  --on-coffee-soft: #D3BEA4;
  --wood:       #C28A55;
  --wood-dk:    #8E5A30;

  --sc-canvas: var(--sky);
  --sc-surface: var(--paper);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--rust);
  --sc-accent-ink: var(--on-rust);
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text: "Figtree", system-ui, sans-serif;
  --sc-shadow-color: 205 45% 14%;

  /* where the coffee falls. Copy never sits in a lane. */
  --lane-a: 56vw;       /* off the counter, through "oops", onto the menu */
  --lane-c: 54vw;       /* off the end of the shelf, past the regulars */

  --lip: 61svh;                         /* the counter's front edge */
  --cup-h: clamp(150px, 22svh, 240px);
  --cup-w: calc(var(--cup-h) * 1.3725);
  --near-a: 86.4%; --near-b: 88.4%;     /* where the counter strip starts */
  --surf: 8.8%;                         /* cup's footprint, up from the lip */
  --note-h: 40px;
  --r: 3px;
  --soft: "SOFT" 100, "WONK" 0;
}
@media (max-width: 760px) {
  :root {
    --lane-a: 88vw;
    --lane-c: 90vw;
    --lip: 54svh;
    --cup-h: clamp(100px, 14.5svh, 136px);
    --near-a: 85.6%; --near-b: 87.6%;
    --surf: 8.8%;
  }
}

/* ---- ground ------------------------------------------------------------ */
html { scroll-padding-top: 24px; }
body {
  background: var(--sky);
  color: var(--ink);
  overflow-x: clip;
}
body::before {
  /* plaster, barely there */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.13  0 0 0 0 0.18  0 0 0 0.09 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
::selection { background: var(--rust); color: var(--on-rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
h1, h2, h3 { font-variation-settings: var(--soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--rust); color: var(--on-rust); cursor: pointer;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 2px 4px rgb(60 20 5 / .2), 0 8px 18px -6px rgb(60 20 5 / .35);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn--cream { background: var(--on-coffee); color: var(--coffee); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--rust-dk); }
  .btn--cream:hover { background: #fff; }
}

/* the honesty strip */
.note {
  position: relative; z-index: 45; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px;
  padding: 10px var(--sc-gutter);
  font-size: var(--sc-t-xs); line-height: 1.4; color: var(--ink-soft);
  background: rgb(17 32 45 / .07);
  border-bottom: 1px solid rgb(17 32 45 / .08);
}
.note a { color: var(--ink); text-underline-offset: 3px; }
.note__back { font-weight: 600; white-space: nowrap; }

/* the coffee */
.spill-layer {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 30; pointer-events: none;
}

/* ======================================================= 1. the spill == */
.spill__stage { background: var(--sky); }
.bar {
  position: absolute; left: 50%; bottom: calc(100% - var(--lip));
  width: max(100%, calc(var(--lip) * 2.5413));
  aspect-ratio: 2000 / 787;
  transform: translateX(-50%);
}
.bar > picture, .bar > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bar__far img { transform-origin: 50% 100%; will-change: transform; }
.bar__near img {
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--near-a), #000 var(--near-b));
  mask-image: linear-gradient(to bottom, transparent var(--near-a), #000 var(--near-b));
}
/* the lip throws a shadow onto the counter front */
.bar::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(30 55 75 / .32), rgb(30 55 75 / .1) 40%, transparent);
}

/* the wordmark stands behind the counter, its feet hidden by the marble */
.word {
  position: absolute; margin: 0;
  left: calc(50% - 50vw + var(--sc-gutter));
  bottom: calc(11% - 0.07em);
  font-family: var(--sc-font-display);
  font-size: clamp(5rem, 15vw, 16.5rem);
  font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  line-height: .8; letter-spacing: -0.045em;
  color: var(--rust);
  white-space: nowrap;
  will-change: transform;
}
.word__in { display: block; }

.cup {
  position: absolute;
  bottom: var(--surf);
  left: calc(50% - 50vw + var(--lane-a) + 20px + var(--cup-h) * 0.7563);
  width: var(--cup-w); height: var(--cup-h);
  transform-origin: 16.3% 100%;
  will-change: transform;
  filter: drop-shadow(0 2px 3px rgb(40 30 20 / .18));
}
.cup img { width: 100%; height: 100%; }
.cup__shadow {
  position: absolute; bottom: calc(var(--surf) - 6px); height: 15px;
  left: calc(50% - 50vw + var(--lane-a) + 20px + var(--cup-h) * 0.7563 + var(--cup-w) * 0.08);
  width: calc(var(--cup-w) * 0.62);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(40 30 20 / .46), rgb(40 30 20 / .12) 70%, transparent);
  transform-origin: 20% 50%;
}
.croissant {
  position: absolute; bottom: calc(var(--surf) - 2px);
  right: calc(50% - 50vw - 2vw);
  width: calc(var(--cup-h) * 0.95); height: auto;
  filter: drop-shadow(0 4px 4px rgb(60 40 20 / .22));
}
.ohno {
  position: absolute; margin: 0;
  bottom: calc(var(--surf) + var(--cup-h) + 18px);
  left: calc(50% - 50vw + var(--lane-a) + 20px + var(--cup-h) * 0.7563 + var(--cup-w) * 0.15);
  font-family: var(--sc-font-display); font-style: italic; font-weight: 500;
  font-size: var(--sc-t-xl); color: var(--ink);
  opacity: 0; transform: translateY(10px) rotate(-4deg);
}
.spill__front {
  position: absolute; left: var(--sc-gutter); top: calc(var(--lip) + clamp(28px, 6svh, 64px));
  max-width: calc(var(--lane-a) - var(--sc-gutter) - 8vw);
}
.spill__tag {
  margin: 0; font-family: var(--sc-font-display); font-weight: 500;
  font-size: var(--sc-t-xl); line-height: 1.12; letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "opsz" 48;
}
.spill__status {
  margin: 14px 0 0; display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--sc-t-sm); font-weight: 500; color: var(--ink-soft);
}
.spill__status.is-open::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2F7D52;
  box-shadow: 0 0 0 3px rgb(47 125 82 / .18);
}

@media (max-width: 760px) {
  .bar { aspect-ratio: 900 / 1058; width: max(100%, calc(var(--lip) * 0.8507)); }
  .bar::after { height: 20px; }
  .croissant { display: none; }
  .cup { left: calc(50% - 50vw + var(--lane-a) - 20px - var(--cup-h) * 2.1286); transform-origin: 83.7% 100%; }
  .cup img { transform: scaleX(-1); }
  .cup__shadow { left: calc(50% - 50vw + var(--lane-a) - 20px - var(--cup-h) * 2.1286 + var(--cup-w) * .3); transform-origin: 80% 50%; }
  .ohno { left: calc(50% - 50vw + var(--lane-a) - 20px - var(--cup-h) * 2.1286); }
  /* on a phone the wordmark lives on the counter front, under the lip */
  .word { bottom: auto; top: calc(100% + clamp(18px, 3.4svh, 34px)); font-size: 19.5vw; line-height: .86; }
  .spill__front { top: calc(var(--lip) + 19.5vw + clamp(34px, 6svh, 56px)); max-width: calc(var(--lane-a) - var(--sc-gutter) - 6vw); }
  .spill__tag { font-size: 1.32rem; }
}

/* ============================================================ 2. oops == */
.oops {
  position: relative;
  padding: clamp(5rem, 16vh, 11rem) var(--sc-gutter) clamp(6rem, 22vh, 14rem);
  max-width: calc(var(--lane-a) - 4vw);
}
.oops__h {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700;
  font-size: clamp(2.8rem, 1.6rem + 4.4vw, 6rem); line-height: .95; letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  text-wrap: balance;
}
.oops__p {
  margin: clamp(1.6rem, 4vh, 2.6rem) 0 0; max-width: 46ch;
  font-size: var(--sc-t-lg); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty;
}
.oops__follow {
  margin: 1.6rem 0 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 500;
  font-size: var(--sc-t-lg); color: var(--rust);
}
@media (max-width: 760px) {
  .oops__h { font-size: var(--sc-t-2xl); }
  .oops { max-width: calc(var(--lane-a) - 2vw); }
}

/* ============================================================ 3. menu == */
.menu { position: relative; padding: clamp(3rem, 8vh, 6rem) 5vw clamp(7rem, 22vh, 14rem); overflow-x: clip; }
.card {
  position: relative; margin: 0 auto; max-width: 1320px;
  padding: clamp(28px, 4.4vw, 72px);
  background: var(--paper); color: var(--paper-ink);
  border-radius: 2px;
  rotate: -1deg; transform-origin: 0 0;
  box-shadow: 0 1px 1px rgb(20 40 60 / .12), 0 10px 24px -8px rgb(20 40 60 / .28), 0 30px 70px -30px rgb(20 40 60 / .35);
}
.card::before {
  /* paper tooth */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.3  0 0 0 0 0.22  0 0 0 0.08 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.card__corner { position: absolute; top: 0; width: 1px; height: 1px; pointer-events: none; }
.card__corner[data-corner="tl"] { left: 0; }
.card__corner[data-corner="tr"] { right: 0; }
.card__head { position: relative; max-width: 56%; }
.card__head h2 {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700;
  font-size: var(--sc-t-4xl); line-height: .9; letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.card__head p { margin: 16px 0 0; color: var(--paper-soft); max-width: 36ch; }
.print {
  margin: 0; background: #fff; padding: 10px 10px 0; box-shadow: 0 1px 1px rgb(20 30 40 / .14), 0 12px 26px -10px rgb(20 30 40 / .4);
}
.print img { width: 100%; height: auto; }
.print figcaption { padding: 9px 2px 11px; font-size: var(--sc-t-xs); color: var(--paper-soft); }
.print--menu {
  position: absolute; right: clamp(28px, 4vw, 64px); top: clamp(-40px, -2vw, -20px);
  width: min(23vw, 300px); rotate: 3.5deg;
}
.print--menu::before {
  /* tape */
  content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 26px; translate: -50% 0; rotate: -4deg;
  background: rgb(240 232 214 / .82); box-shadow: 0 1px 2px rgb(0 0 0 / .08);
}
.card__cols {
  position: relative; margin-top: clamp(40px, 7vw, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 3.6vw, 60px);
}
.col h3 {
  margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--paper-ink);
  font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-xl); letter-spacing: -0.02em;
}
.col h3:not(:first-child) { margin-top: 44px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 8px;
  padding: 11px 0 10px; border-bottom: 1px solid rgb(27 26 23 / .1);
}
.row__n { font-weight: 500; }
.row__p { font-variant-numeric: tabular-nums; font-weight: 600; }
.row__d { grid-column: 1 / -1; font-size: var(--sc-t-sm); color: var(--paper-soft); margin-top: 2px; }
/* the dotted leader, and the coffee that soaks along it */
.row__l {
  position: relative; height: 2px; align-self: center; translate: 0 4px; min-width: 18px; overflow: hidden;
  background-image: radial-gradient(circle, rgb(27 26 23 / .35) 1px, transparent 1.4px);
  background-size: 6px 2px; background-repeat: repeat-x;
}
.row__l::after {
  content: ""; position: absolute; inset: -1px 0; border-radius: 2px;
  background: linear-gradient(90deg, #6A3A18, #8C5326 70%, #A8693A);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 700ms var(--sc-ease-out);
}
.row.is-wet .row__l::after { transform: scaleX(1); }
.row.is-wet .row__p { color: #6A3A18; transition: color 400ms 300ms; }
.card__foot {
  margin-top: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
}
.card__foot p { margin: 0; color: var(--paper-soft); max-width: 52ch; }
@media (max-width: 1080px) {
  .card__cols { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
  .card__cols .col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; align-items: start; }
  .card__cols .col:last-child h3:not(:first-child) { margin-top: 0; }
  .card__cols .col:last-child h3:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .card__cols .col:last-child .rows:last-of-type { grid-column: 2; grid-row: 2; }
}
@media (max-width: 760px) {
  .menu { padding-inline: 5vw; }
  .card { rotate: -0.5deg; padding: 26px 18px 28px; margin: 0 0 0 0; width: 89vw; }
  .card__head { max-width: none; }
  .card__head h2 { font-size: var(--sc-t-3xl); }
  .print--menu { position: relative; right: auto; top: auto; width: 78%; margin: 22px auto 0; rotate: 2deg; }
  .card__cols, .card__cols .col:last-child { display: block; }
  .col + .col { margin-top: 40px; }
  .card__cols .col:last-child h3:not(:first-child) { margin-top: 40px; }
}

/* ============================================= 4. the oven, sideways == */
.oven__stage { overflow: hidden; }
.track {
  --tw: 300vw;
  position: absolute; top: 0; left: 0; height: 100%; width: var(--tw);
  will-change: transform;
}
.oven__intro {
  position: absolute; left: 9vw; top: 15svh; width: 38vw;
}
.oven__intro h2 {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700;
  font-size: var(--sc-t-3xl); line-height: .95; letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-wrap: balance;
}
.oven__intro p { margin: 20px 0 0; max-width: 38ch; color: var(--ink-soft); font-size: var(--sc-t-base); }
.shelf {
  position: absolute; top: 64svh; left: 0; height: 24px; width: 255vw;
  background: linear-gradient(to bottom, #DDB283 0, #DDB283 3px, var(--wood) 4px, #B57D49 60%, var(--wood-dk));
  border-radius: 0 3px 3px 0;
  box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 3px 4px rgb(20 40 60 / .2), 0 18px 26px -10px rgb(20 40 60 / .32);
}
.shelf__br {
  position: absolute; top: 100%; width: 14px; height: 54px;
  background: linear-gradient(90deg, #2B3A46, #45586A 60%, #2B3A46);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 26%);
}
.shelf__br--a { left: 22vw; } .shelf__br--b { left: 120vw; } .shelf__br--c { right: 9vw; }
.bakes { list-style: none; margin: 0; padding: 0; }
.bake { position: absolute; top: 0; height: 100%; width: 30vw; }
.bake img {
  position: absolute; bottom: calc(36svh + 1px); left: 50%; translate: -50% 0;
  width: auto; height: var(--h); max-width: none;
  filter: drop-shadow(0 6px 5px rgb(60 35 15 / .28));
  transform-origin: 50% 100%;
}
.bake.is-hit img { animation: hop 520ms var(--sc-ease-out); }
@keyframes hop { 0% { transform: none; } 30% { transform: translateY(-14px) rotate(-3deg); } 60% { transform: translateY(0) rotate(1.5deg); } 100% { transform: none; } }
.bake__t, .bake__w { position: absolute; left: 50%; translate: -50% 0; margin: 0; text-align: center; width: 24vw; }
.bake__t {
  top: calc(64svh + 52px);
  font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: var(--ink-soft); transition: color 300ms var(--sc-ease-out);
}
.bake.is-hit .bake__t, .bake.is-past .bake__t { color: var(--rust); }
.bake__w { top: calc(64svh + 52px + 1.1 * var(--sc-t-3xl)); font-size: var(--sc-t-base); color: var(--ink-soft); }
.bake--1 { left: 50vw;  --h: 31svh; }
.bake--2 { left: 92vw;  --h: 19svh; }
.bake--3 { left: 134vw; --h: 21svh; }
.bake--4 { left: 176vw; --h: 11svh; }
.oven__end {
  position: absolute; top: 18svh; left: calc(200vw + 9vw); width: 36vw;
}
.oven__end p {
  margin: 0 0 22px; font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-3xl);
  line-height: .95; letter-spacing: -0.035em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
@media (max-width: 760px) {
  .track { --tw: 520vw; }
  .oven__intro { left: 7vw; top: 9svh; width: 80vw; }
  .shelf { top: 62svh; width: 510vw; }
  .shelf__br--a { left: 30vw; } .shelf__br--b { left: 250vw; }
  .bake { width: 72vw; }
  .bake img { bottom: calc(38svh + 1px); }
  .bake__t, .bake__w { width: 64vw; }
  .bake__t { top: calc(62svh + 46px); }
  .bake__w { top: calc(62svh + 46px + 1.1 * var(--sc-t-3xl)); }
  .bake--1 { left: 96vw;  --h: 24svh; }
  .bake--2 { left: 176vw; --h: 15svh; }
  .bake--3 { left: 256vw; --h: 16svh; }
  .bake--4 { left: 336vw; --h: 9svh; }
  .oven__end { left: calc(420vw + 7vw); top: 12svh; width: 76vw; }
}

/* ======================================================= 5. regulars == */
.regs {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14vw; align-items: center;
  padding: clamp(6rem, 20vh, 13rem) 5vw clamp(6rem, 26vh, 16rem);
}
.regs__copy { max-width: calc(var(--lane-c) - 10vw); }
.regs h2 {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-3xl);
  line-height: .95; letter-spacing: -0.035em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.regs__dogs {
  margin: 10px 0 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 500;
  font-size: var(--sc-t-2xl); color: var(--rust); letter-spacing: -0.02em;
}
.regs__p { margin: 24px 0 0; color: var(--ink-soft); max-width: 34ch; }
.print--regs { rotate: 2deg; overflow: hidden; padding-bottom: 10px; }
.print--regs img { scale: 1.12; }
@media (max-width: 760px) {
  .regs { grid-template-columns: 1fr; row-gap: 40px; padding-right: calc(100vw - var(--lane-c) + 4vw); }
  .regs__copy { max-width: none; }
}

/* ================================================ 6. the fresh one == */
.fresh__stage { color: var(--on-coffee); }
.flood { position: absolute; inset: 0; pointer-events: none; }
.flood__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flood__body { fill: var(--coffee); }
.flood__crema { fill: none; stroke: var(--crema); stroke-linecap: round; }
.flood__shine { fill: none; stroke: rgb(255 240 220 / .35); stroke-width: 1.5; }
.fresh__cup {
  position: absolute; right: 6vw; top: 50%; width: min(34vw, 560px); height: auto;
  translate: 0 -50%;
  filter: drop-shadow(0 18px 30px rgb(0 0 0 / .45));
  opacity: 0; will-change: transform;
}
.fresh__copy {
  position: absolute; left: var(--sc-gutter); top: 13svh; width: min(52vw, 760px);
}
.fresh__copy h2 {
  margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-4xl);
  line-height: .93; letter-spacing: -0.04em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--on-coffee); text-wrap: balance;
}
.fresh__status { margin: 18px 0 0; color: var(--on-coffee-soft); font-size: var(--sc-t-base); }
.fresh__info {
  position: absolute; left: var(--sc-gutter); bottom: 12svh; width: min(56vw, 860px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  font-size: var(--sc-t-sm); line-height: 1.55;
}
.fresh__info h3 {
  margin: 0 0 10px; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--crema);
}
.fresh__info p { margin: 0 0 8px; }
.fresh__info .small { color: var(--on-coffee-soft); font-size: var(--sc-t-xs); }
.fresh__info .btn { margin-top: 8px; }
.phone { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: 5px 0; text-align: left; font-weight: 400; border-bottom: 1px solid rgb(246 233 214 / .14); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 600; }
@media (max-width: 1080px) {
  .fresh__info { grid-template-columns: 1fr 1fr; width: 62vw; }
  .fresh__info > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fresh__copy { top: 8svh; width: 86vw; }
  .fresh__copy h2 { font-size: var(--sc-t-2xl); }
  .fresh__cup { right: -8vw; top: 37svh; width: 58vw; }
  .fresh__info { bottom: 10svh; width: 88vw; grid-template-columns: 1fr 1fr; gap: 14px 18px; font-size: .86rem; }
  .fresh__info > div:nth-child(2) { display: none; }
  .fresh__info > div:last-child { grid-column: auto; }
  .fresh__info .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
}

/* ============================================================ footer == */
.foot {
  position: relative; background: var(--coffee); color: var(--on-coffee-soft);
  padding: clamp(3rem, 8vh, 5rem) var(--sc-gutter) calc(clamp(3rem, 8vh, 5rem) + 76px);
  font-size: var(--sc-t-sm);
}
.foot__word {
  margin: 0 0 clamp(1.5rem, 4vh, 3rem); font-family: var(--sc-font-display); font-weight: 800;
  font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -0.05em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; color: var(--crema);
}
.foot__row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; }
.foot__row p { margin: 0; }
.foot a { color: var(--on-coffee); }
@media (max-width: 760px) { .foot__row { grid-template-columns: 1fr 1fr; } .foot__made { grid-column: 1 / -1; } }

/* ============================================================== dock == */
.dock {
  position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: flex; align-items: center; gap: 2px;
  padding: 5px 5px 5px 8px; border-radius: 999px;
  background: rgb(17 32 45 / .9); color: var(--on-rust);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 1px 0 rgb(255 255 255 / .1) inset, 0 10px 30px -8px rgb(10 20 30 / .5);
  font-size: .95rem;
}
.dock__cup { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 999px; }
.dock__cup svg { width: 34px; height: 28px; overflow: visible; }
.dock__level { fill: #8A532A; }
.dock__cup-line { fill: none; stroke: var(--on-coffee); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.dock__link {
  display: grid; place-items: center; height: 40px; padding: 0 13px; border-radius: 999px;
  color: var(--on-coffee); text-decoration: none; font-weight: 500;
  transition: background-color 140ms var(--sc-ease-out);
}
.dock__order {
  margin-left: 4px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--rust); color: var(--on-rust); font-weight: 600; white-space: nowrap;
  transition: background-color 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.dock__order:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .dock__link:hover, .dock__cup:hover { background: rgb(255 255 255 / .1); }
  .dock__order:hover { background: var(--rust-dk); }
}
@media (max-width: 420px) {
  .dock { font-size: .86rem; padding-left: 4px; }
  .dock__cup { width: 38px; }
  .dock__link { padding: 0 9px; }
  .dock__order { padding: 0 13px; }
}

/* ============================================================= order == */
.order {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 30px 80px -20px rgb(10 20 30 / .55);
}
.order::backdrop { background: rgb(17 32 45 / .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.order__form { display: flex; flex-direction: column; max-height: inherit; }
.order__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 8px; }
.order__head h2 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.03em; }
.order__x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(27 26 23 / .06); cursor: pointer; display: grid; place-items: center; }
.order__x svg { width: 18px; height: 18px; }
.order__body { overflow: auto; padding: 0 22px; }
.order__intro { margin: 0 0 12px; color: var(--paper-soft); }
.pick { list-style: none; margin: 0; padding: 0; }
.pick li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgb(27 26 23 / .1); }
.pick__p { color: var(--paper-soft); font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 34px; height: 34px; border: 1px solid rgb(27 26 23 / .2); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.qty output { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.order__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 6px; }
.order__fields label { display: grid; gap: 6px; font-size: var(--sc-t-sm); color: var(--paper-soft); }
.order__fields input, .order__fields select { height: 44px; padding: 0 12px; border: 1px solid rgb(27 26 23 / .2); border-radius: 8px; background: #fff; color: var(--paper-ink); }
.order__done { padding: 6px 22px 22px; }
.order__done h3 { margin: 0 0 10px; font-family: var(--sc-font-display); font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.order__done p { margin: 0 0 18px; color: var(--paper-soft); }
.order__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px 20px; border-top: 1px solid rgb(27 26 23 / .1); margin-top: 10px; }
.order__total { margin: 0; font-weight: 600; }
.order__total output { font-variant-numeric: tabular-nums; }

/* ==================================================== reduced motion == */
/* No pinning, no pour: the spill is already over, and the page reads as an
   ordinary scroll. The coffee layer draws the aftermath once and holds it. */
.rm .spill__stage { position: relative; height: 100svh; }
.rm .ohno { opacity: 1; transform: rotate(-4deg); }
.rm .oven__stage { position: relative; height: auto; overflow-x: auto; overflow-y: hidden; }
.rm .track { position: relative; height: 100svh; min-height: 640px; }
.rm .fresh__stage { position: relative; height: auto; min-height: 100svh; padding: 12svh 0 16svh; background: var(--coffee); }
.rm .fresh__copy, .rm .fresh__info, .rm .fresh__cup { position: relative; left: auto; top: auto; bottom: auto; right: auto; translate: none; opacity: 1; margin: 0 var(--sc-gutter) 40px; }
.rm .fresh__cup { width: min(60vw, 420px); }
.rm .flood { display: none; }
