/* Self-hosted fonts (OFL, latin subset) */
@font-face { font-family: "DM Serif Display"; src: url("../../assets/fonts/dm-serif-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../assets/fonts/dm-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../../assets/fonts/caveat-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Café Lumen: SAMPLE site by Godelic. Fictional business.
   v3 structure: a small multi-page site, one folder per page: Home · Menu · Order ahead · Loyalty card · Visit · About · 404.
   Header = oat bar on a wooden rail, hand-lettered nav (Caveat), wavy underline for the current page.
   Signature kept: chalk menu boards in wooden frames, taped polaroids on the oat wall, a till receipt that prints.
   Palette: Board #1F2B26 · Chalk #F3F0E6 · Chalk yellow #F2D57E · Chalk pink #F2B8A2 (decorative) · Oat #FFF8F0 · Espresso #3B2A22 · Caramel #A4562B · Paper #FFFEFA
   Fonts: Caveat (chalk lettering, with the #chalk SVG filter) + DM Serif Display (brand, oat-wall headings) + DM Sans (body, prices).
   All motion is off under prefers-reduced-motion. */
:root { --oat: #FFF8F0; --esp: #3B2A22; --car: #A4562B; --board: #1F2B26; --chalk: #F3F0E6; --chalk-soft: #D3D0C3; --yellow: #F2D57E; --pink: #F2B8A2; --wood: #7A5236; --paper: #FFFEFA; --ink: #2B2B2B; --line: #E4D8CA;
  --rv-from: translateY(22px); --rv-dur: 700ms; --rv-ease: ease;
  --hdr: 60px; --stick: 130px; --tabs-h: 0px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; --serif: "DM Serif Display", Georgia, serif; --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--stick); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--esp); font: 17px/1.6 "DM Sans", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, .brand { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .4em; }
h2 { font-size: clamp(30px, 6vw, 44px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
a { color: var(--car); }
:focus-visible { outline: 3px solid var(--car); outline-offset: 3px; border-radius: 4px; }
.board :focus-visible, .receipt :focus-visible, .hub-bar :focus-visible { outline-color: var(--yellow); }
svg { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
.svg-defs { position: absolute; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.tiny { font-size: 14px; margin-top: 10px; }

/* Header: oat bar with a wooden rail, hand-lettered nav, demo pill row underneath. */
.top { position: sticky; top: 40px; z-index: 50; background: #FFF8F0; border-bottom: 4px solid var(--wood); }
.wrap.top-in { max-width: 1180px; padding: 0 16px; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 2px solid var(--esp); border-radius: 6px 10px 7px 9px; background: transparent; color: var(--esp); font: 700 16px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x, .menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--board); border-bottom: 4px solid var(--wood); box-shadow: 0 12px 20px rgba(59,42,34,.3); padding: 6px 16px 14px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0 auto; padding: 0; max-width: 600px; }
.nav a { display: flex; align-items: center; min-height: 52px; padding: 4px 6px; color: var(--chalk); font: 700 30px/1 var(--hand); text-decoration: none; border-bottom: 2px dashed rgba(243,240,230,.28); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.nav a:focus-visible { outline-color: var(--yellow); outline-offset: -3px; }
.nav .nav-cta a { margin-top: 12px; justify-content: center; background: var(--car); color: #fff; border: 2px solid var(--chalk); border-radius: 8px; font-size: 28px; }
.nav .nav-cta a:hover { background: #8A4621; color: #fff; }
.demo-row { display: flex; justify-content: center; padding: 0 12px 5px; }
.demo-pill { margin: 0; background: var(--yellow); color: var(--board); font: 700 11px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; text-align: center; border: 1.5px solid var(--board); }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav ul { display: flex; align-items: center; gap: 2px; max-width: none; margin: 0; }
  .nav a { min-height: 44px; padding: 4px 12px; color: var(--esp); font-size: 27px; border: 0; }
  .nav a:hover { color: var(--car); }
  .nav a[aria-current="page"] { color: var(--esp); text-decoration: underline wavy var(--car) 2.5px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
  .nav a:focus-visible { outline-color: var(--car); outline-offset: 3px; }
  .nav .nav-cta a { margin: 0 0 0 10px; font-size: 24px; padding: 4px 18px; border-color: var(--car); }
  .nav .nav-cta a[aria-current="page"] { color: #fff; background: #8A4621; text-decoration: none; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; color: var(--esp); text-decoration: none; margin: 0; min-height: 44px; }
.cup { width: 22px; height: 22px; border-radius: 0 0 10px 10px; background: var(--car); position: relative; }
.cup::after { content: ""; position: absolute; right: -7px; top: 4px; width: 8px; height: 9px; border: 3px solid var(--car); border-left: 0; border-radius: 0 6px 6px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease; }
.btn-main { background: var(--car); color: #fff; }
.btn-main:hover { background: #8A4621; color: #fff; }
.btn-order { background: var(--car); color: #fff; border-color: var(--chalk); }
.btn-order:hover { background: #8A4621; }
.btn-order:disabled { opacity: .6; cursor: not-allowed; }
.btn-chalk { background: transparent; color: var(--chalk); border-color: var(--chalk); border-radius: 8px 12px 9px 11px; }
.btn-chalk:hover { background: var(--chalk); color: var(--board); }
.mini-cup { position: relative; width: 16px; height: 15px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 7px 7px; flex: none; margin-right: 4px; }
.mini-cup::after { content: ""; position: absolute; right: -7px; top: 1px; width: 5px; height: 6px; border: 2px solid currentColor; border-left: 0; border-radius: 0 4px 4px 0; }

/* The stage: oat wall around a board */
.stage { max-width: 1100px; margin: 0 auto; padding: 12px; }

/* Chalkboard in a wooden frame */
.board { position: relative; color: var(--chalk); padding: 22px 14px 28px; border: 16px solid var(--wood);
  border-image: repeating-linear-gradient(90deg, #7A5236 0 6px, #6B4730 6px 9px, #83593B 9px 14px) 16;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.04), transparent 50%), var(--board);
  box-shadow: inset 0 0 50px rgba(0,0,0,.35), 0 14px 30px rgba(59,42,34,.25); }
.board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 40% 16% at 62% 40%, rgba(255,255,255,.03), transparent), radial-gradient(ellipse 30% 22% at 20% 78%, rgba(255,255,255,.03), transparent); }
.board h1, .board h2, .board h3, .board h4 { font-family: var(--hand); font-weight: 700; filter: url(#chalk); }
.doodle svg { filter: url(#chalk); }
.board > * { position: relative; }

/* Chalk doodles: drawn on reveal */
.doodle { display: block; color: var(--chalk); }
.js .doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease; }
.js .doodle.in path { stroke-dashoffset: 0; }
.js .doodle.rv { opacity: 1; transform: none; }

/* ================= 1. THE CUP (hero) ================= */
.hero { padding: 14px 0 22px; }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hero h1 { margin: 0; }
.h-name { display: block; font: 700 clamp(54px, 15vw, 104px)/.95 var(--hand); color: var(--esp); text-decoration: underline wavy var(--car) 3px; text-underline-offset: 9px; text-decoration-skip-ink: none; }
.h-line { display: block; margin-top: 10px; font-family: "DM Sans", system-ui, sans-serif; font-size: clamp(18px, 4.4vw, 24px); font-weight: 600; line-height: 1.3; }
.h-sub { max-width: 34em; margin: 8px 0 0; font-size: 18px; }
.hero-grid { display: grid; gap: 14px; margin-top: 16px; align-items: center; }

.cupfig { --esp: .16; --milk: .4; --foam: .08; --sz: .92; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; }
.cup-wrap { width: 118px; aspect-ratio: 220 / 300; display: flex; align-items: flex-end; }
.cup-svg { width: 100%; height: auto; transform: scale(var(--sz)); transform-origin: 50% 100%; transition: transform .4s cubic-bezier(.3,.7,.3,1); overflow: visible; }
.sleeve-text { font: 700 27px "Caveat", cursive; }
.l-esp { transform: translateY(calc((1 - var(--esp)) * 202px)); }
.l-milk { transform: translateY(calc((1 - var(--esp) - var(--milk)) * 202px)); }
.l-foam { transform: translateY(calc((1 - var(--esp) - var(--milk) - var(--foam)) * 202px)); }
.l-esp, .l-milk, .l-foam { transition: transform .4s cubic-bezier(.3,.7,.3,1); }
.layers { transform-origin: 110px 280px; }
.cupfig.wob .layers { animation: wob .6s ease; }
@keyframes wob { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1.8deg); } 55% { transform: rotate(1.3deg); } 80% { transform: rotate(-.5deg); } }
.steam path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: steam 3.4s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .9s; } .steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes steam { 0% { stroke-dashoffset: 1; opacity: 0; } 30% { opacity: .9; } 70% { stroke-dashoffset: 0; opacity: .6; } 100% { stroke-dashoffset: -1; opacity: 0; } }
.cupfig.is-off .steam path { animation-play-state: paused; }
.cup-line { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; }

/* Cup builder: a small chalkboard of controls */
.b-board { border-width: 12px; border-image-width: 12px; padding: 14px 14px 18px; }
.b-title { font-size: 44px; line-height: 1; margin: 0 0 6px; }
.opt { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.opt legend, .opt-l { font: 700 28px/1 var(--hand); color: var(--yellow); padding: 0; margin: 0 0 4px; display: block; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.rchip { position: relative; display: block; }
.rchip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.rc-t { min-width: 48px; min-height: 46px; padding: 6px 14px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid var(--chalk); border-radius: 6px 10px 7px 9px; color: var(--chalk); line-height: 1.15; transition: background .15s ease, color .15s ease; }
.rc-t b { font-weight: 700; } .rc-t small { font-size: 14px; }
.rchip input:hover + .rc-t { background: rgba(243,240,230,.16); }
.rchip input:checked + .rc-t { background: var(--yellow); border-color: var(--yellow); color: var(--board); }
.rchip input:focus-visible + .rc-t { outline: 3px solid var(--chalk); outline-offset: 3px; }
.rchip input:disabled { cursor: not-allowed; }
.rchip input:disabled + .rc-t { opacity: .5; border-style: dashed; background: none; color: var(--chalk-soft); }
.b-milknote { margin: 6px 0 0; font-size: 15px; color: var(--chalk-soft); }
.opt:has(.shot) { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.opt-l { margin: 0; }
.shot { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 6px; border: 2px solid var(--chalk); border-radius: 999px; background: transparent; color: var(--chalk); font: 700 16px/1 "DM Sans", sans-serif; cursor: pointer; }
.shot::before { content: ""; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--chalk); background: transparent; transition: background .2s ease, transform .2s ease; }
.shot[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.shot[aria-pressed="true"]::before { background: var(--yellow); border-color: var(--yellow); transform: scale(1.1); }
.b-add { width: 100%; margin-top: 6px; }
.b-result { min-height: 1.5em; margin: 8px 0 0; font-weight: 700; color: var(--yellow); }
.b-small { margin: 4px 0 0; font-size: 14px; color: var(--chalk-soft); }
.js .b-nojs { display: none; }
.b-nojs { padding: 10px 14px; border: 2px dashed var(--car); border-radius: 8px; font-weight: 600; }

/* Polaroids taped to the oat wall */
.polas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 14px 6px 6px; }
.pol { position: relative; margin: 0; background: #fff; padding: 10px 10px 0; box-shadow: 0 8px 18px rgba(59,42,34,.22); transition: rotate .3s ease; }
.pol img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pol figcaption { height: 34px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--esp); }
.pol::before { content: ""; position: absolute; top: -11px; left: 50%; width: 64px; height: 22px; translate: -50% 0; rotate: -3deg; background: rgba(240,170,150,.72); z-index: 2; pointer-events: none; }
.p1 { rotate: -4deg; } .p2 { rotate: 3deg; } .p3 { rotate: 3deg; }
.p3 img { aspect-ratio: 4 / 3; }
.pol:hover, .pol:focus-within { rotate: 0deg; }
@media (min-width: 640px) {
  .hero-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 20px 30px; }
  .cupfig { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cup-wrap { width: 190px; }
  .cup-line { justify-content: center; }
  .polas { grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 330px minmax(0, 1fr) 210px; gap: 20px 36px; }
  .cup-wrap { width: 280px; }
  .polas { grid-column: auto; display: flex; flex-direction: column; gap: 26px; padding: 20px 0; max-width: none; }
  .p2 { margin-left: 20px; }
  .b-board { padding: 22px 26px 24px; }
}

/* ================= 2. PAGES: banner and sections ================= */
.banner { padding: 26px 0 8px; }
.pg-title { margin: 0; font: 700 clamp(48px, 13vw, 88px)/.95 var(--hand); color: var(--esp); text-decoration: underline wavy var(--car) 3px; text-underline-offset: 9px; text-decoration-skip-ink: none; }
.pg-lead { max-width: 36em; margin: 16px 0 0; font-size: 19px; }
.sec { padding: 26px 0 36px; }
.sec > .wrap > h2, .sec h2.h-sec { margin-bottom: .3em; }
.board h2 { margin-bottom: .15em; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.btn-line { background: transparent; color: var(--esp); border-color: var(--esp); }
.btn-line:hover { background: var(--esp); color: var(--oat); }
.board .btn-line { color: var(--chalk); border-color: var(--chalk); }
.board .btn-line:hover { background: var(--chalk); color: var(--board); }
.lead-link { font-weight: 700; }

/* 2a. Menu: chalk board */
.menu { padding-top: 6px; }
.menu-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-bottom: 8px; }
.menu-top h2 { margin: 0; font-size: clamp(54px, 11vw, 76px); line-height: 1; }
.doodle-line { width: 150px; color: var(--yellow); flex: 1 0 100%; order: 3; margin-top: -4px; }
.order-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 8px 18px; border-radius: 8px; border: 2px solid var(--chalk); background: var(--car); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.order-toggle:hover, .order-toggle[aria-expanded="true"] { background: var(--chalk); color: var(--board); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 12px; scrollbar-width: none; }
.chips a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 6px 16px; border: 2px solid var(--chalk); border-radius: 6px 10px 7px 9px; color: var(--chalk); font-weight: 700; text-decoration: none; }
.chips a:hover, .chips a:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--board); }
.cat { position: relative; padding: 12px 0 0; scroll-margin-top: calc(var(--stick) + var(--tabs-h) + 24px); }
.cat::after { content: ""; display: block; height: 10px; margin: 16px 0 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5q7.500-7 15 0t15 0 15 0 15 0' fill='none' stroke='%23F3F0E6' stroke-opacity='.45' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 60px 10px repeat-x; }
.cat h2, .cat h3 { font-size: 42px; line-height: 1; margin: 0 0 6px; color: var(--chalk); }
.cat:target h2, .cat:target h3 { color: var(--yellow); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; padding: 7px 0; align-items: baseline; }
.name { font-family: var(--hand); font-weight: 600; font-size: 30px; line-height: 1.1; filter: url(#chalk); }
.desc { grid-column: 1 / -1; font-size: 15px; color: var(--chalk-soft); }
.t-price, .price { font-weight: 600; color: var(--yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
.v { text-decoration: none; font: 700 12px/1 "DM Sans", sans-serif; border: 1.5px solid var(--chalk); color: var(--chalk); border-radius: 4px; padding: 2px 6px; margin-left: 4px; vertical-align: 3px; }
.has-th .th { position: absolute; top: 2px; right: 4px; width: 48px; height: 48px; object-fit: cover; background: #fff; border: 3px solid #fff; border-bottom-width: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.4); rotate: 4deg; }
.has-th ~ .has-th .th { right: 62px; rotate: -5deg; }
.key { font-size: 15px; color: var(--chalk); margin: 8px 0 0; grid-column: 1 / -1; }
@media (min-width: 700px) {
  .menu-static { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
  .cat::after { margin-top: 12px; }
}

/* 2b. Fresh today: bake tray */
.fresh-head { display: grid; gap: 18px; align-items: center; }
.fresh-intro { max-width: 32em; font-size: 18px; }
.picks { display: inline-block; margin: 0; padding: 10px 16px; background: var(--board); color: var(--chalk); border: 2px dashed rgba(243,240,230,.6); border-radius: 10px 14px 9px 13px; font-weight: 600; line-height: 1.45; }
.fresh-head .pol { max-width: 270px; justify-self: center; margin-top: 8px; }
.tray { position: relative; margin-top: 28px; padding: 14px 14px 10px; border-radius: 20px; background: linear-gradient(135deg, #C9CDCC, #A9AEAD); box-shadow: inset 0 0 0 4px #8F9594, 0 12px 22px rgba(59,42,34,.22); overflow: hidden; }
.tray::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 115%, rgba(255,150,50,.38), transparent 70%); animation: glow 5s ease-in-out infinite alternate; }
.tray.is-off::after { animation-play-state: paused; }
@keyframes glow { from { opacity: .25; } to { opacity: 1; } }
.bakes { position: relative; z-index: 1; list-style: none; margin: 0; padding: 16px; border-radius: 10px; display: grid; gap: 16px; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.35), transparent 40%), #F1E4CC; box-shadow: inset 0 0 0 2px rgba(122,82,54,.25); }
.bake { position: relative; height: 100%; display: grid; grid-template-columns: 88px 1fr; grid-auto-rows: min-content; column-gap: 14px; align-content: start; background: var(--paper); border-radius: 12px; padding: 14px; box-shadow: 0 4px 10px rgba(59,42,34,.2); }
.bake .ring { grid-row: 1 / span 4; width: 88px; height: 88px; }
.bake h3 { font: 700 32px/1 var(--hand); margin: 0; }
.b-price { margin: 2px 0 0; font-weight: 700; color: var(--car); }
.b-line { margin: 4px 0 8px; font-size: 15px; line-height: 1.4; }
.b-left { margin: 0; justify-self: start; padding: 2px 12px; border-radius: 999px; background: #F4E6D3; font-weight: 700; font-size: 14px; }
/* Sold out: the red stamp is the one visual signal; the pill text stays for screen readers only. */
.soldout .b-left { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.r-track { fill: none; stroke: #EADBC6; stroke-width: 8; }
.r-arc { fill: none; stroke: var(--car); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, .5)); transform: rotate(-90deg); transform-origin: 44px 44px; transition: stroke-dashoffset 1.1s ease .2s; }
.js .bake.rv:not(.in) .r-arc { stroke-dashoffset: 1; }
.bakes li:nth-child(1) .r-arc { --p: .1; } .bakes li:nth-child(2) .r-arc { --p: .4; } .bakes li:nth-child(3) .r-arc { --p: .6; } .bakes li:nth-child(4) .r-arc { --p: .9; }
.r-sm { font: 600 12px "DM Sans", sans-serif; fill: var(--esp); }
.r-big { font: 700 20px "DM Sans", sans-serif; fill: var(--esp); }
.soldout { padding-bottom: 72px; } /* reserved strip so the stamp never covers text */
.stamp { position: absolute; right: 20px; bottom: 22px; rotate: -11deg; padding: 3px 10px; border: 4px double #A12B22; border-radius: 6px; color: #A12B22; background: rgba(255,254,250,.88); font: 700 26px/1 var(--hand); text-transform: uppercase; filter: url(#chalk); pointer-events: none; animation: slam .45s cubic-bezier(.2,.8,.3,1) .5s both; }
@keyframes slam { from { opacity: 0; transform: scale(1.9) rotate(8deg); } }
.tray-note { position: relative; z-index: 1; margin: 12px 0 0; font-size: 14px; font-weight: 600; text-align: center; }
.owner-note { display: flex; gap: 12px; align-items: flex-start; max-width: 40em; margin: 20px 0 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.doodle-arrow2 { flex: none; width: 48px; color: var(--car); margin-top: 2px; }
@media (min-width: 640px) { .bakes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .fresh-head { grid-template-columns: 1fr 270px; gap: 36px; } }
@media (min-width: 1000px) { .bakes { grid-template-columns: repeat(4, 1fr); } .bake { grid-template-columns: 1fr; justify-items: start; } .bake .ring { grid-row: auto; margin-bottom: 8px; } }

/* 2c. Stamp card */
.card-in { display: grid; gap: 26px; align-items: center; }
.card-rules { font-size: 18px; max-width: 28em; }
.card-owner { font-weight: 600; max-width: 28em; }
.kraft { position: relative; max-width: 460px; padding: 18px 16px 16px; border-radius: 12px; color: var(--esp); background: repeating-linear-gradient(100deg, rgba(122,82,54,.07) 0 3px, transparent 3px 9px), #D9BC93; box-shadow: inset 0 0 0 3px rgba(107,71,48,.35), 0 12px 22px rgba(59,42,34,.25); }
.kraft-brand { margin: 0 0 12px; text-align: center; font: 700 36px/1 var(--hand); }
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp-c { position: relative; width: 100%; max-width: 72px; aspect-ratio: 1; justify-self: center; border-radius: 50%; border: 3px dashed #6B4730; display: grid; place-items: center; }
.sc-n { font: 700 24px/1 var(--hand); color: #5B3A26; }
.sc-i { position: absolute; inset: 13%; color: #7A2314; opacity: 0; rotate: -6deg; }
.sc-i svg { width: 100%; height: 100%; }
.stamp-c.on { border-style: solid; border-color: #7A2314; }
/* No JS: static 6 of 10 state, filled circles with the number visible */
html:not(.js) .stamp-c.on { background: #7A2314; }
html:not(.js) .stamp-c.on .sc-n { opacity: 1; color: #fff; }
.stamp-c.on .sc-n { opacity: 0; } .stamp-c.on .sc-i { opacity: 1; }
.stamp-c.thump .sc-i { animation: thump .5s cubic-bezier(.2,.8,.3,1) both; }
@keyframes thump { 0% { transform: scale(1.6) rotate(-12deg); opacity: 0; } 60% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
.ribbon { position: relative; isolation: isolate; overflow: hidden; margin: 14px 0 0; padding: 8px 12px; text-align: center; border: 3px dashed #6B4730; border-radius: 6px; color: #4A2F1E; font: 700 30px/1 var(--hand); transition: color .3s ease .3s; }
.ribbon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--car); transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.kraft.full .ribbon { color: #fff; border-style: solid; border-color: #7A2314; }
.kraft.full .ribbon::before { transform: scaleX(1); }
.kraft.nudge { animation: nudge .3s ease; }
@keyframes nudge { 40% { transform: translateY(2px); } }
.count { margin: 12px 0 0; text-align: center; font-size: 18px; font-weight: 700; }
.card-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.card .btn-chalk { color: var(--esp); border-color: var(--esp); }
.card .btn-chalk:hover { background: var(--esp); color: var(--oat); }
.card .btn-order { border-color: var(--car); }
.card-note { margin: 12px 0 0; font-size: 14px; max-width: 460px; }
@media (min-width: 800px) { .card-in { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* 2d. Sit & stay */
.stay-grid { display: grid; gap: 28px; margin-top: 8px; }
.where { margin-bottom: 10px; }
.plan { display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: 78px 170px; gap: 6px; padding: 10px; border: 6px solid var(--esp); border-radius: 10px; background: repeating-linear-gradient(90deg, #EBDCC6 0 38px, #E4D2B8 38px 40px); }
.zone { position: relative; display: block; min-height: 44px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: transparent; color: var(--esp); font: inherit; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.zone svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.z-window { grid-column: 1 / 3; grid-row: 1; }
.z-sofa { grid-column: 1; grid-row: 2; }
.z-table { grid-column: 2; grid-row: 2; }
.z-terrace { grid-column: 3; grid-row: 1 / 3; border: 3px dashed #4F7140; background: rgba(120,160,90,.14); }
.z-window svg { height: 44px; bottom: auto; }
.z-name { position: absolute; left: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 2px 5px; overflow-wrap: anywhere; hyphens: auto; border: 1.5px solid var(--esp); border-radius: 6px; background: rgba(255,254,250,.95); font-size: 14px; font-weight: 700; line-height: 1.15; text-align: left; }
.zone:hover { background: rgba(242,213,126,.45); border-color: var(--car); }
.zone:focus-visible { background: rgba(242,213,126,.45); outline: 3px solid var(--car); outline-offset: 2px; }
.zone[aria-pressed="true"] { background: rgba(242,213,126,.8); border-color: var(--esp); box-shadow: inset 0 0 0 2px var(--car); }
.zone-info { min-height: 3.4em; margin: 12px 0 0; padding: 10px 14px; border-left: 5px solid var(--car); border-radius: 6px; background: var(--paper); }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.zone-list strong { display: block; }
.has-plan .zone-list { display: none; }
.wifi { margin: 0 0 22px; padding: 14px 16px; border: 2px dashed var(--car); border-radius: 10px; background: #fff; font-weight: 600; }
@media (min-width: 900px) { .stay-grid { grid-template-columns: 1.25fr 1fr; gap: 44px; } .plan { grid-template-rows: 96px 210px; } }

/* Hours: A-frame pavement sign */
.sign-shadow { width: 100%; max-width: 520px; filter: drop-shadow(0 12px 14px rgba(59,42,34,.28)); }
.sign { background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%), var(--board); color: var(--chalk); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); padding: 30px 16% 30px; text-align: center; }
.sign h3 { font: 700 42px/1 var(--hand); filter: url(#chalk); margin-bottom: 8px; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; border: 1.5px solid var(--chalk); border-radius: 4px; padding: 1px 10px; margin-bottom: 6px; }
.open-badge { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; width: fit-content; max-width: 100%; margin: 4px auto 6px; padding: 8px 14px; border-radius: 8px; background: var(--chalk); color: var(--board); font-weight: 700; font-size: 16px; }
.open-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #2F6B22; box-shadow: 0 0 0 4px rgba(47,107,34,.22); animation: pulse 2.4s ease-in-out infinite; }
.ob-note { font-weight: 500; font-size: 13px; color: #3E4A44; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,107,34,.05); } }
dl { margin: 8px 0 0; }
dl div { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 2px dashed rgba(243,240,230,.4); font-size: 18px; text-align: left; }
dl div:last-child { border-bottom: 0; }
dt { font-weight: 700; } dd { margin: 0; color: var(--yellow); font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 480px) { .sign { padding-left: 12%; padding-right: 12%; } dl div { justify-content: center; text-align: center; } }

/* Find us */
.find-in { display: grid; gap: 24px; align-items: center; margin-top: 40px; padding-top: 30px; border-top: 4px solid var(--wood); }
.find-in h3 { margin-bottom: .3em; }
.map-ph { background: #fff; border: 2px dashed var(--car); color: var(--esp); border-radius: 6px; }
@media (min-width: 800px) { .find-in { grid-template-columns: 1fr 1fr; } }

/* ================= 3. ON THE WALL: polaroids on a string ================= */
.gallery { padding: 36px 0 48px; border-top: 4px solid var(--wood); }
.own-photos { margin: 0; font-size: 18px; }
.rail-box { margin-top: 6px; }
.tiles { list-style: none; margin: 0; padding: 54px max(20px, calc((100vw - 1000px) / 2)) 26px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: thin;
  background: linear-gradient(#6B4730, #6B4730) 0 41px / 100% 2px no-repeat; background-attachment: local; }
.tiles li { position: relative; flex: 0 0 218px; background: #fff; padding: 8px 8px 32px; box-shadow: 0 8px 18px rgba(59,42,34,.2); scroll-snap-align: center; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite alternate; }
.tiles li:nth-child(2) { animation-duration: 7.4s; animation-delay: -2s; } .tiles li:nth-child(3) { animation-duration: 5.6s; animation-delay: -4s; } .tiles li:nth-child(4) { animation-duration: 6.8s; animation-delay: -1s; }
.tiles li::before { content: ""; position: absolute; top: -20px; left: 50%; width: 14px; height: 34px; margin-left: -7px; border-radius: 3px; background: linear-gradient(90deg, #8E6444, #6B4730); box-shadow: 0 2px 3px rgba(0,0,0,.3); z-index: 2; pointer-events: none; }
.rail-box.is-off .tiles li { animation-play-state: paused; }
.tiles li:hover, .tiles li:focus-within { animation-play-state: paused; }
@keyframes sway { from { rotate: -2.4deg; } to { rotate: 2.4deg; } }
.tiles .lb { border-radius: 0; aspect-ratio: 4 / 5; }
.tiles .cap { position: absolute; left: 10px; bottom: 7px; color: var(--esp); font-size: 13px; font-weight: 700; pointer-events: none; }
.rail-ctl { display: flex; justify-content: flex-end; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--esp); background: var(--paper); color: var(--esp); font: 400 30px/1 system-ui, sans-serif; padding: 0 0 4px; cursor: pointer; }
.rail-btn:hover { background: var(--esp); color: var(--oat); }

/* Footer */
.foot { background: var(--esp); color: var(--oat); padding: 40px 0 32px; }
.foot .brand { font-size: 26px; color: var(--oat); }
.foot :focus-visible { outline-color: var(--yellow); }
.foot a { color: var(--oat); }
.foot-grid { display: grid; gap: 28px; }
.foot h2 { font: 700 30px/1 var(--hand); color: var(--yellow); margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot p { margin: 0 0 .6em; }
.foot-hours { margin: 0; }
.foot-hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255,248,240,.3); font-size: 16px; }
.foot-hours div:last-child { border-bottom: 0; }
.foot-hours dd { color: var(--yellow); }
.foot .btn-chalk { color: var(--oat); border-color: var(--oat); min-height: 48px; }
.foot .btn-chalk:hover { background: var(--oat); color: var(--esp); }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--oat); border-radius: 50%; }
.social a:hover { background: var(--oat); color: var(--esp); }
.social svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.2fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; } }

.m-bar { background: rgba(255,248,240,.97); border-top: 4px solid var(--wood); }
.m-bar a { background: var(--board); color: var(--chalk); border-radius: 6px; }
.m-bar a.go { background: var(--car); color: #fff; }

/* ---- Shared Godelic sample ribbon, footer note and mobile action bar (same on all five samples) ---- */
body { padding-top: 40px; }
.gd-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #0A0714; color: #EEEAFB; border-bottom: 1px solid #2E2450;
  box-shadow: 0 1px 12px rgba(112, 48, 240, .35);
  font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0;
}
.gd-ribbon a {
  display: inline-flex; align-items: center; color: #EEEAFB; padding: 8px 12px; text-decoration: underline;
  text-decoration-color: #9B6BFF; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.gd-ribbon a:hover { color: #C9B8FF; }
.gd-ribbon a:focus-visible { outline: 3px solid #C9B8FF; outline-offset: -3px; }
.gd-ribbon picture { display: block; flex: none; margin-right: 8px; }
.gd-ribbon .gd-mark { display: block; width: auto; height: 20px; max-width: none; }
@media (max-width: 380px) { .gd-ribbon { font-size: 13px; } .gd-ribbon a { padding: 8px 6px; } .gd-ribbon .gd-mark { height: 16px; } }
.gd-skip { position: absolute; left: 12px; top: -80px; z-index: 1100; background: #0A0714; color: #EEEAFB; padding: 10px 14px; border-radius: 8px; font: 600 15px system-ui, sans-serif; }
.gd-skip:focus { top: 48px; outline: 3px solid #C9B8FF; outline-offset: 2px; }
.gd-sample-note { border-top: 1px dashed currentColor; margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.gd-sample-note p { margin: 0; }
.gd-cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: #6D3FE0; color: #FFFFFF; font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none;
  border: 1.5px solid #6D3FE0; box-shadow: 0 0 18px rgba(112, 48, 240, .4);
}
.gd-cta:hover { background: #5A2FC8; border-color: #5A2FC8; color: #FFFFFF; }
.gd-cta:focus-visible { outline: 3px solid #9B6BFF; outline-offset: 3px; }
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.m-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; text-align: center; line-height: 1.15; padding: 4px 6px; }
body { padding-bottom: 72px; }
@media (min-width: 768px) { .m-bar { display: none; } body { padding-bottom: 0; } }
.map-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; text-align: center; font-weight: 600; }
.map-ph svg { width: 40px; height: 40px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Godelic demo kit: reveal, lightbox, credits link, simulation frame (same structure on each sample; colours via --s-* vars) ---- */
.js .rv { opacity: 0; transform: var(--rv-from, translateY(24px)); transition: opacity var(--rv-dur, 600ms) var(--rv-ease, ease) var(--d, 0ms), transform var(--rv-dur, 600ms) var(--rv-ease, ease) var(--d, 0ms), filter var(--rv-dur, 600ms) ease var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.gd-credits { margin: 16px 0 0; font-size: 14px; }
.gd-credits a { color: inherit; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.lb { display: block; position: relative; overflow: hidden; border-radius: inherit; }
.lb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lb:hover img { transform: scale(1.04); }
.lbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; color: #fff; }
.lbox::backdrop { background: rgba(8, 6, 12, .9); }
.lbox figure { margin: 0; }
.lbox img { display: block; max-width: min(90vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 10px; }
.lbox figcaption { text-align: center; font: 600 14px/1.4 system-ui, sans-serif; padding: 10px 0 0; }
.lb-close, .lb-nav { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.6); color: #fff; font: 400 30px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.lb-close { top: 52px; right: 12px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.sim { position: relative; background: var(--s-frame); color: var(--s-fg); border-radius: 34px; padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 0 0 2px rgba(255,255,255,.08); font-size: 16px; line-height: 1.45; text-align: left; }
.sim[hidden] { display: none; }
.sim-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 6px 10px; }
.sim-pill { margin: 0; background: var(--s-pill-bg, #111); color: var(--s-pill-fg, #fff); font: 700 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; text-align: center; border: 1.5px solid var(--s-pill-line, transparent); }
.sim-close { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sim-screen { position: relative; background: var(--s-bg); border-radius: 26px; padding: 18px 16px 20px; }
.sim-screen h3 { font-size: 22px; margin: 0 0 12px; color: var(--s-head, var(--s-fg)); }
.sim-screen h3:focus { outline: none; }
.sim-screen h3:focus-visible { outline: 2px dashed var(--s-acc); outline-offset: 4px; }
.sim-screen p { margin: 0 0 10px; }
.sim :focus-visible { outline: 3px solid var(--s-focus, var(--s-acc)); outline-offset: 2px; }
.sim-btn { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; margin: 10px 0 0; padding: 10px 16px; border-radius: var(--s-radius, 14px); border: 2px solid var(--s-acc); background: var(--s-acc); color: var(--s-acc-fg); font-weight: 700; font-size: 16px; line-height: 1.2; font-family: inherit; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.sim-btn:hover { filter: brightness(1.08); }
.sim-btn:active { transform: translateY(2px); }
.sim-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.sim-btn[hidden], .sim-link[hidden] { display: none; }
.sim-btn-alt { background: transparent; color: var(--s-fg); border-color: var(--s-line-strong, var(--s-fg)); }
.sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim-row .sim-btn { font-size: 14px; }
.sim-link { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 12px; background: none; border: 0; color: var(--s-fg); font-weight: 600; font-size: 15px; line-height: 1.2; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sim-cta { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; margin: 14px 0 0; padding: 10px 14px; border-radius: 999px; background: #6D3FE0; color: #fff; font: 700 15px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; box-shadow: 0 0 18px rgba(112, 48, 240, .35); }
.sim-cta:hover { background: #5A2FC8; color: #fff; }
.sim-disclaimer { font-size: 14px; color: var(--s-soft); border-top: 1px dashed var(--s-line); padding-top: 10px; margin-top: 14px !important; }
.sim-label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.sim-input { width: 100%; font: inherit; font-size: 16px; color: var(--s-fg); background: var(--s-input, #fff); border: 1.5px solid var(--s-line-strong, var(--s-line)); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.sim-hint { font-size: 13px; color: var(--s-soft); margin-top: 4px !important; }
.sim-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; border-top: 1.5px solid var(--s-line); padding-top: 10px; margin-top: 12px !important; }
.sim-total strong { font-size: 20px; color: var(--s-price, var(--s-acc)); }
.sim-toast { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 5; margin: 0; padding: 10px 14px; border-radius: 12px; background: #111; color: #fff; font: 600 14px/1.35 system-ui, sans-serif; text-align: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.sim-toast.show { opacity: 1; transform: none; }
.sim-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.sim-tab { flex: none; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--s-line-strong, var(--s-line)); background: transparent; color: var(--s-fg); font-weight: 600; font-size: 14px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.sim-tab[aria-pressed="true"] { background: var(--s-acc); border-color: var(--s-acc); color: var(--s-acc-fg); }
.sim-items, .sim-order { list-style: none; margin: 0; padding: 0; }
.sim-item, .sim-oline { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--s-line); }
.sim-oline, .sim-item.no-thumb { grid-template-columns: 1fr auto; }
.sim-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; display: block; }
.sim-thumb-ph { background: var(--s-ph, rgba(0,0,0,.06)); }
.sim-txt { min-width: 0; }
.sim-name { font-weight: 700; margin: 0 !important; line-height: 1.25; }
.sim-desc { font-size: 13px; color: var(--s-soft); margin: 2px 0 0 !important; }
.sim-price { font-weight: 700; font-size: 14px; color: var(--s-price, var(--s-acc)); margin: 2px 0 0 !important; }
.stepper { display: flex; align-items: center; gap: 4px; }
.st-add, .st-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--s-acc); background: var(--s-acc); color: var(--s-acc-fg); font: 700 22px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; }
.st-btn { background: transparent; color: var(--s-fg); border-color: var(--s-line-strong, var(--s-fg)); }
.st-btn:disabled { opacity: .35; cursor: not-allowed; }
.st-qty { min-width: 22px; text-align: center; font-weight: 700; }
.sim-cartbar { position: sticky; bottom: 0; z-index: 3; padding: 12px 0 0; background: linear-gradient(transparent, var(--s-bg) 30%); }
.sim-cartbar[hidden] { display: none; }
.sim-cartbar button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: var(--s-radius, 14px); border: 0; background: var(--s-acc); color: var(--s-acc-fg); font-weight: 700; font-size: 15px; line-height: 1.2; font-family: inherit; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.sim-empty { color: var(--s-soft); }
.no-js-hide { display: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; filter: none; } .lb:hover img { transform: none; } }

/* ---- Café Lumen: order-ahead simulation, written on the chalkboard ---- */
.sim { --s-frame: transparent; --s-bg: transparent; --s-fg: #F3F0E6; --s-acc: #A4562B; --s-acc-fg: #fff; --s-line: rgba(243,240,230,.35); --s-line-strong: #F3F0E6; --s-soft: #D3D0C3; --s-price: #F2D57E; --s-pill-bg: #F2D57E; --s-pill-fg: #1F2B26; --s-focus: #F2D57E; --s-radius: 8px;
  padding: 0; box-shadow: none; border-radius: 0; margin-top: 12px; }
.sim .sim-bar { justify-content: flex-start; padding: 0 0 10px; }
.sim-screen { padding: 4px 0 0; border-radius: 0; }
.sim-screen h3, .sim-cat, .sim-name { font-family: var(--hand); font-weight: 700; filter: url(#chalk); }
.sim-screen h3 { font-size: 44px; line-height: 1; }
.sim-intro { color: var(--s-soft); }
[data-step="menu"] .sim-tabs { position: sticky; top: calc(var(--stick) - 4px); z-index: 4; background: var(--board); margin: 0; padding: 10px 2px; }
.sim .sim-tab { border: 2px solid var(--chalk); border-radius: 6px 10px 7px 9px; background: transparent; color: var(--chalk); font-weight: 700; }
.sim .sim-tab[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--board); }
.sim-cat { font-size: 36px; line-height: 1; margin: 18px 0 2px; scroll-margin-top: calc(var(--stick) + var(--tabs-h) + 80px); }
.sim-cat:focus { outline: none; }
.sim-item, .sim-oline { border-bottom: 2px dashed rgba(243,240,230,.28); }
.sim .sim-name { font-size: 28px; font-weight: 600; line-height: 1.1; }
.sim .sim-price { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sim .sim-thumb { border-radius: 0; background: #fff; border: 3px solid #fff; border-bottom-width: 8px; width: 56px; height: 56px; rotate: -3deg; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.sim .st-add, .sim .st-btn { background: transparent; border: 2px solid var(--chalk); color: var(--chalk); font: 700 26px/1 "DM Sans", system-ui, sans-serif; padding: 0 0 3px; }
.sim .st-add:hover, .sim .st-btn:hover:not(:disabled), .sim .st-add:active, .sim .st-btn:active:not(:disabled), .sim .st-add.pop, .sim .st-plus.pop { background: var(--yellow); border-color: var(--yellow); color: var(--board); }
.sim .st-qty { font-size: 18px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.sim .st-add.pop, .sim .st-plus.pop { animation: pop .45s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.2); } 100% { transform: scale(1); } }
.sim-cartbar { bottom: 16px; background: none; }
.sim-cartbar button { border: 2px solid var(--chalk); background: var(--car); color: #fff; }
.sim-cartbar button.wiggle { animation: wiggle .5s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } 75% { transform: rotate(-.5deg); } }
.cb-text { flex: 1; text-align: left; }
.cart-cup { position: relative; flex: none; width: 22px; height: 20px; border: 2.5px solid #fff; border-top: 0; border-radius: 0 0 9px 9px; overflow: hidden; }
.cart-cup span { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: var(--yellow); transform-origin: bottom; transform: scaleY(var(--fill, 0)); transition: transform .4s ease; }
.sim-btn { border: 2px solid var(--chalk); }
.sim-btn:disabled { opacity: .55; }
.sim-link { color: var(--chalk); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 10px; }
.slot { min-height: 48px; min-width: 76px; padding: 6px 14px; border-radius: 3px; border: 2px solid var(--chalk); background: transparent; color: var(--chalk); font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.slot:hover { background: rgba(243,240,230,.14); }
.slot[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--board); }
.slot.full { border-style: dashed; border-color: rgba(243,240,230,.5); color: var(--chalk-soft); background: transparent; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 2px; }
.slot-full { font-size: 11px; font-weight: 700; text-decoration: none; display: inline-block; }
.slot-msg { font-size: 15px; color: var(--s-soft); }
.name-card { display: flex; gap: 14px; align-items: center; background: #fff; color: var(--esp); border-radius: 6px; padding: 8px 16px 14px; margin-top: 14px; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.name-card > div { flex: 1; min-width: 0; }
.cup-art { flex: none; width: 46px; color: var(--car); }
.name-card .sim-label { margin-top: 6px; }
.name-card .sim-input { color: var(--esp); border-color: #8C7B6F; border-radius: 6px; }
.name-card .sim-hint { color: #5E5A55; }
.name-card :focus-visible { outline-color: var(--car); }
.rv-line { margin: 10px 0 0 !important; }
.pay-note { margin-top: 10px !important; padding: 10px 14px; border: 2px dashed var(--yellow); border-radius: 6px; font-weight: 700; color: var(--yellow); }
.done-title { font-size: 40px; }
.done-code { margin-top: 4px; }

/* The till receipt */
.receipt { margin-top: 18px; }
.r-stub { display: none; }
.till { width: 100%; max-width: 300px; height: 14px; margin: 0 auto; border-radius: 4px; background: #2A211C; position: relative; z-index: 2; box-shadow: inset 0 3px 4px rgba(0,0,0,.6); }
.paper { position: relative; z-index: 1; width: 100%; max-width: 280px; margin: -6px auto 0; padding: 18px 16px 30px; background: var(--paper); color: var(--ink); font: 14px/1.5 var(--mono); transition: min-height .3s ease, transform .5s ease;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; }
.r-head { text-align: center; font-weight: 700; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px dashed #5E5A55; }
.r-lines { list-style: none; margin: 0; padding: 0; }
.r-lines li { display: flex; gap: 8px; }
.r-lines li span:first-child { flex: 1; display: flex; min-width: 0; overflow-wrap: anywhere; }
.r-lines li span:first-child::after { content: ""; flex: 1; border-bottom: 1px dotted #5E5A55; margin: 0 0 5px 6px; min-width: 12px; }
.r-lines li span:last-child { font-variant-numeric: tabular-nums; }
.r-lines li.r-empty { color: #5E5A55; }
.r-lines li.new { animation: print .35s steps(4) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-6px); } }
.r-total { display: flex; justify-content: space-between; margin: 8px 0 0; padding-top: 6px; border-top: 1px dashed #5E5A55; font-weight: 700; }
.r-meta { margin-top: 8px; }
.r-meta p, .r-foot p { margin: 0; }
.r-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #5E5A55; text-align: center; font-weight: 700; }
.r-foot .r-stars { letter-spacing: 1px; font-weight: 400; overflow: hidden; white-space: nowrap; }
.receipt.torn .paper { transform: translateY(18px) rotate(-3deg); }

@media (min-width: 900px) {
  .sim { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 36px; align-items: start; }
  .sim-bar { grid-column: 1 / -1; }
  .sim-screen { grid-column: 1; }
  .receipt { grid-column: 2; grid-row: 2; margin-top: 0; position: sticky; top: calc(var(--stick) + var(--tabs-h) + 16px); padding-bottom: 30px; }
  .sim-cartbar { display: block; }
}
@media (max-width: 899px) {
  .sim { padding-bottom: 90px; }
  .sim-cartbar, .sim-cartbar[hidden] { display: none; }
  .receipt { position: fixed; left: 8px; right: 8px; bottom: 80px; z-index: 800; max-width: 420px; margin: 0 auto; }
  .receipt.empty:not(.show-empty) { display: none; }
  .r-stub { display: flex; gap: 6px; background: #2A211C; border: 2px solid var(--chalk); border-radius: 8px 8px 0 0; padding: 4px; }
  .r-toggle, .r-next { min-height: 44px; border-radius: 6px; font: 700 14px/1.2 "DM Sans", system-ui, sans-serif; cursor: pointer; }
  .r-toggle { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 10px; background: transparent; border: 0; color: var(--chalk); text-align: left; }
  .r-next { display: none; flex: none; padding: 6px 12px; border: 0; background: var(--car); color: #fff; }
  .sim[data-now="menu"] .r-next { display: block; }
  .till { max-width: none; border-radius: 0 0 4px 4px; height: 10px; }
  .paper { display: none; max-width: none; max-height: 50vh; overflow: auto; margin-top: -2px; }
  .receipt.open .paper { display: block; }
  .sim.is-done .receipt { position: static; margin-top: 18px; max-width: none; }
  .sim.is-done .r-stub { display: none; }
  .sim.is-done .till { max-width: 300px; border-radius: 4px; height: 14px; }
  .sim.is-done .paper { max-width: 280px; max-height: none; overflow: visible; }
}
@media (min-width: 768px) and (max-width: 899px) { .receipt { bottom: 12px; } }
@media (max-width: 899px) { .board { padding-left: 12px; padding-right: 12px; } }

/* Footer demo disclaimer: small, muted, AA on the dark footer */
.gd-disclaimer { flex: 1 1 100%; max-width: 46em; margin: 0; font-size: 13px; line-height: 1.5; color: #C8C4D0; }

/* ---- Reduced motion: every animation and scroll effect off; content shown in its final state ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .doodle path { stroke-dashoffset: 0; }
  .js .bake.rv:not(.in) .r-arc { stroke-dashoffset: calc(1 - var(--p, .5)); }
  .steam { display: none; }
  .tiles { scroll-snap-type: none; }
}

/* ================= 4. Multi-page parts ================= */
.toast-host { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 1200; }
.toast-host .sim-toast { position: fixed; left: 16px; right: 16px; bottom: 88px; max-width: 420px; margin: 0 auto; }
@media (min-width: 768px) { .toast-host .sim-toast { bottom: 24px; } }

/* Home: hero extras */
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.cupfig.static .cup-line { font-family: var(--hand); font-size: 28px; font-weight: 700; }
.today { padding: 18px 16px 20px; }
.today h2 { font-size: 40px; line-height: 1; margin: 0 0 8px; }
.today p { margin: 0 0 8px; }
.today .t-hours { font-size: 18px; }
.today .t-hours b { color: var(--yellow); font-weight: 600; }
.today .t-picks { color: var(--chalk-soft); font-size: 16px; }

/* Home: pages as paper tickets */
.tickets { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.ticket a { position: relative; display: block; height: 100%; padding: 18px 18px 18px 22px; background: var(--paper); color: var(--esp); text-decoration: none; border-radius: 4px 12px 4px 12px; border-left: 8px solid var(--wood); box-shadow: 0 6px 14px rgba(59,42,34,.16); transition: transform .2s ease, box-shadow .2s ease; }
.ticket a:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 10px 20px rgba(59,42,34,.22); }
.ticket h3 { font: 700 36px/1 var(--hand); margin: 0 0 6px; }
.ticket p { margin: 0 0 8px; font-size: 16px; }
.ticket .go { font-weight: 700; color: var(--car); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 560px) { .tickets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tickets { grid-template-columns: repeat(4, 1fr); } }

/* Home: fresh strip, card teaser, visit teaser */
.strip { display: grid; gap: 22px; align-items: center; }
.picks-list { list-style: none; margin: 0 0 12px; padding: 0; max-width: 30em; }
.picks-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 2px dashed rgba(59,42,34,.28); font-weight: 600; }
.picks-list span:last-child { color: var(--car); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 760px) { .strip { grid-template-columns: 1fr 300px; gap: 44px; } .strip.flip { grid-template-columns: 300px 1fr; } }
.band { border-top: 4px solid var(--wood); }
.band.dark { background: var(--board); color: var(--chalk); border-bottom: 4px solid var(--wood); }
.band.dark a:not(.btn) { color: var(--yellow); }
.band.dark h2 { font-family: var(--hand); font-weight: 700; filter: url(#chalk); font-size: clamp(40px, 8vw, 56px); }
.teaser-card .kraft { max-width: 420px; }
.teaser-card .stamp-c.on { background: #7A2314; }
.teaser-card .stamp-c.on .sc-n { opacity: 1; color: #fff; }
.plain-note { grid-column: 1 / -1; }
.visit-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 800px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.quote { margin: 0; font: 700 clamp(30px, 6vw, 44px)/1.15 var(--hand); max-width: 22em; }
.quote small { display: block; margin-top: 8px; font: 500 15px/1.4 "DM Sans", sans-serif; color: var(--chalk-soft); }

/* Order page */
.build-grid { display: grid; gap: 18px; align-items: center; }
.build-grid .cupfig { justify-self: center; }
@media (min-width: 760px) { .build-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; } .build-grid .cupfig { grid-template-columns: 1fr; justify-items: center; text-align: center; } .build-grid .cup-wrap { width: 200px; } .build-grid .cup-line { justify-content: center; } }
.plain-note { margin: 0 0 12px; padding: 10px 14px; border: 2px dashed var(--yellow); border-radius: 8px; color: var(--yellow); font-weight: 600; }
.js .plain-note { display: none; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.steps li { position: relative; counter-increment: st; padding: 14px 16px 14px 64px; background: var(--paper); border-radius: 10px; box-shadow: 0 4px 10px rgba(59,42,34,.12); }
.steps li::before { content: counter(st); position: absolute; left: 14px; top: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--car); color: #fff; font: 700 28px/1 var(--hand); padding-bottom: 3px; }
.steps h3 { font: 700 30px/1 var(--hand); margin: 0 0 4px; }
.steps p { margin: 0; font-size: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Menu page */
.menu-page .chips { padding-top: 0; }
.allergy { margin: 8px 0 0; font-size: 15px; color: var(--chalk-soft); grid-column: 1 / -1; }
.fresh-sec { padding-top: 34px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { padding: 10px 14px 10px 44px; position: relative; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 15px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--car); border-bottom: 3px solid var(--car); rotate: -45deg; }

/* Loyalty page */
.card-page .card-in { margin-top: 10px; }
.terms { margin: 22px 0 0; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; max-width: 40em; }
.terms h2 { font-size: 26px; margin: 0 0 6px; }
.terms ul { margin: 0; padding-left: 20px; }

/* Visit page */
.visit-sec .sign-shadow { margin: 0 auto; }
.contact-list { list-style: none; margin: 0 0 14px; padding: 0; }
.contact-list li { padding: 6px 0; border-bottom: 1px dashed rgba(59,42,34,.3); }
.contact-list b { display: inline-block; min-width: 5.5em; }

/* About page */
.story { display: grid; gap: 26px; align-items: center; }
.story p { max-width: 34em; font-size: 18px; }
.story .pol { max-width: 340px; justify-self: center; }
@media (min-width: 800px) { .story { grid-template-columns: 1fr 340px; gap: 54px; } }
.values { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.values li { padding: 16px 18px; background: var(--paper); border-radius: 12px 4px 12px 4px; border-top: 6px solid var(--car); box-shadow: 0 6px 14px rgba(59,42,34,.14); }
.values h3 { font: 700 34px/1 var(--hand); margin: 0 0 4px; }
.values p { margin: 0; font-size: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.gallery.in-about { border-top: 4px solid var(--wood); }

/* 404 */
.nf { padding: 40px 0 56px; text-align: center; }
.nf .big { margin: 0; font: 700 clamp(110px, 32vw, 220px)/.9 var(--hand); color: var(--car); filter: url(#chalk); }
.nf h1 { font-family: var(--hand); font-weight: 700; font-size: clamp(40px, 9vw, 64px); }
.nf .pg-lead { margin-left: auto; margin-right: auto; }
.nf .btnrow { justify-content: center; }

/* Tap area: ribbon link is at least 44px tall without changing the 40px bar */
/* Tap area: the ribbon (fixed, 40px) is the containing block; the link's hit area covers it plus 4px, so 44px tall */
.gd-ribbon a { position: static; }
.gd-ribbon a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; }
