/* =========================================================
   HITAKA COFFEE – TABLEA
   Black & white, lamplit noir. Highlights borrowed from the
   shop's own menu boards: kraft lamp-glow, roast brown,
   leaf green and hibiscus red.
   ========================================================= */

/* Self-hosted brand fonts (latin), matched to Hitaka's own posts:
   Playfair Display ~ "We're open today" serif, Archivo wide ~ the outline wordmark,
   Kaushan Script ~ "Kita-kits!" / "Sunday is for Jesus Christ". */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-italic.woff2") format("woff2"); }
@font-face { font-family: "Kaushan Script"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/kaushan.woff2") format("woff2"); }

:root {
  --ink: #000;
  --paper: #fff;
  --ash: #a8a39b;          /* muted text on black */
  --ash-deep: #55504a;     /* muted text on white */
  --rule-dark: rgba(255, 255, 255, .16);
  --rule-light: rgba(0, 0, 0, .14);

  --lamp: #e8c88f;         /* kraft / lamplight */
  --lamp-hot: #f3d9a6;
  --roast: #7b4b2a;
  --leaf: #5c7d43;
  --hibiscus: #c2353e;

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--paper); color: var(--ink); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Film grain over everything: the noir texture */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 250; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
  max-width: 16ch;
}
.lead {
  font-size: clamp(1.15rem, 1rem + .5vw, 1.375rem);
  line-height: 1.5;
  max-width: 34em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--sans); font-stretch: 112%; font-weight: 650; font-size: 1rem;
  letter-spacing: .01em; text-decoration: none; border-radius: 999px;
  transition: background-color .25s, color .25s, box-shadow .35s, transform .25s var(--ease-out);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--glow {
  background: var(--lamp); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(232, 200, 143, 0), 0 10px 40px -12px rgba(232, 200, 143, .55);
}
.btn--glow:hover { background: var(--lamp-hot); box-shadow: 0 0 0 6px rgba(232, 200, 143, .14), 0 14px 50px -10px rgba(232, 200, 143, .7); transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .45); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, .08); }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--lamp);
  text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.link:hover { color: var(--lamp); }

/* =========================================================
   OPENING SEQUENCE (first visit)
   Stage 1 – a lamp flickers on in the dark
   Stage 2 – the lamb rises into its light, steam curling
   Stage 3 – HITAKA is drawn in outline, then the curtain parts
   ========================================================= */
.intro { display: none; }
.intro-on .intro {
  display: block; position: fixed; inset: 0; z-index: 400; overflow: hidden;
  background: transparent; color: var(--paper);
}
.intro-on body { overflow: hidden; }
.intro__curtain {
  position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); z-index: 0;
}
.intro__curtain--top { top: 0; }
.intro__curtain--bottom { bottom: 0; }
.intro__glow, .intro__lamp, .intro__lamb, .intro__name, .intro__skip { position: absolute; z-index: 2; }

.intro__glow {
  inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 14%, rgba(243, 217, 166, .34), rgba(232, 200, 143, .08) 28%, transparent 60%);
}
.intro__lamp { left: 50%; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.intro__cord { width: 1px; height: 0; background: linear-gradient(#333, #777); }
.intro__bulb {
  width: 26px; height: 34px; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%;
  background: #2a2a2a; position: relative;
}
.intro__bulb::before { /* brass cap */
  content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 11px;
  transform: translateX(-50%); background: #6d5a3a; border-radius: 2px;
}
.intro__lamb {
  left: 50%; top: 50%; width: min(46vw, 300px); transform: translate(-50%, -62%);
  clip-path: circle(0% at 50% 40%);
}
.intro__lamb img { width: 100%; filter: drop-shadow(0 0 40px rgba(243, 217, 166, .25)); }
.intro__steam {
  position: absolute; left: 50%; bottom: 92%; width: 46%; transform: translateX(-50%);
  stroke: rgba(255, 255, 255, .55); stroke-width: 2.2; stroke-linecap: round;
}
.intro__steam path { stroke-dasharray: 200; stroke-dashoffset: 200; opacity: 0; }
.intro__name {
  left: 50%; top: 50%; width: min(86vw, 760px); transform: translate(-50%, 34%); text-align: center;
}
.intro__word { width: 100%; overflow: visible; }
.intro__word text {
  font-family: var(--sans); font-stretch: 125%; font-weight: 800; font-size: 150px; letter-spacing: 14px;
  fill: transparent; stroke: var(--paper); stroke-width: 2.4;
  stroke-dasharray: 1100; stroke-dashoffset: 1100;
}
.intro__sub {
  margin: .4rem 0 0; font-stretch: 100%; font-weight: 400; font-size: clamp(.95rem, 2.4vw, 1.4rem);
  letter-spacing: .9em; text-indent: .9em; text-transform: uppercase; opacity: 0; color: #ddd;
}
.intro__since { margin: 1rem 0 0; font-family: var(--script); font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--lamp); opacity: 0; }
.intro__skip {
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  font-size: .85rem; letter-spacing: .02em; color: var(--ash); padding: .6rem .9rem;
  border: 1px solid var(--rule-dark); border-radius: 999px; opacity: 0;
  animation: fadeIn .4s .6s forwards;
}
.intro__skip:hover { color: var(--paper); border-color: var(--paper); }

/* Playing */
.intro.is-playing .intro__cord { animation: cordDrop .7s var(--ease-out) forwards; }
.intro.is-playing .intro__bulb { animation: bulbOn 1.1s .6s forwards; }
.intro.is-playing .intro__glow { animation: glowOn 1.1s .6s forwards; }
.intro.is-playing .intro__lamb { animation: spotlight 1.4s 1.55s var(--ease-out) forwards; }
.intro.is-playing .intro__steam path { animation: steam 2.2s 1.8s ease-out forwards; }
.intro.is-playing .intro__steam path:nth-child(2) { animation-delay: 2s; }
.intro.is-playing .intro__steam path:nth-child(3) { animation-delay: 2.2s; }
.intro.is-playing .intro__word text { animation: drawWord 1.6s 2.9s var(--ease-in-out) forwards; }
.intro.is-playing .intro__sub { animation: subIn 1s 3.8s var(--ease-out) forwards; }
.intro.is-playing .intro__since { animation: fadeIn .8s 4.3s forwards; }

/* Exit: everything lifts, curtains part */
.intro.is-leaving .intro__glow,
.intro.is-leaving .intro__lamp,
.intro.is-leaving .intro__lamb,
.intro.is-leaving .intro__name,
.intro.is-leaving .intro__skip { transition: opacity .35s ease-out; opacity: 0; }
.intro.is-leaving .intro__curtain { transition: transform 1.1s .4s var(--ease-in-out); }
.intro.is-leaving .intro__curtain--top { transform: translateY(-101%); }
.intro.is-leaving .intro__curtain--bottom { transform: translateY(101%); }

@keyframes cordDrop { to { height: clamp(70px, 12vh, 120px); } }
@keyframes bulbOn {
  0% { background: #2a2a2a; box-shadow: none; }
  12% { background: var(--lamp-hot); box-shadow: 0 0 30px 8px rgba(243, 217, 166, .7); }
  20% { background: #2a2a2a; box-shadow: none; }
  34% { background: var(--lamp-hot); box-shadow: 0 0 30px 8px rgba(243, 217, 166, .7); }
  42% { background: #3a3a3a; box-shadow: 0 0 8px 2px rgba(243, 217, 166, .2); }
  100% { background: #fff6e2; box-shadow: 0 0 40px 14px rgba(243, 217, 166, .8), 0 0 120px 40px rgba(243, 217, 166, .25); }
}
@keyframes glowOn { 0%, 30% { opacity: 0; } 34% { opacity: .7; } 42% { opacity: .15; } 100% { opacity: 1; } }
@keyframes spotlight { to { clip-path: circle(75% at 50% 40%); } }
@keyframes steam { 0% { opacity: 0; stroke-dashoffset: 200; } 25% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -60; } }
@keyframes drawWord {
  0% { stroke-dashoffset: 1100; fill: transparent; }
  75% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: rgba(255, 255, 255, .0); }
}
@keyframes subIn { from { opacity: 0; letter-spacing: 1.6em; } to { opacity: 1; letter-spacing: .9em; } }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background-color .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--rule-dark);
}
.site-header__inner {
  height: var(--header-h); max-width: 1400px; margin-inline: auto;
  padding-inline: var(--gutter); padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand img { width: 38px; height: auto; }
.brand__word {
  font-stretch: 125%; font-weight: 800; font-size: 1.15rem; letter-spacing: .18em;
  color: transparent; -webkit-text-stroke: 1px var(--paper);
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav ul a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .78);
  padding: .4rem 0; position: relative; transition: color .2s;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lamp);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--paper); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.call-btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none;
  font-weight: 650; font-stretch: 108%; font-size: .92rem; transition: background-color .25s, box-shadow .3s;
}
.call-btn svg { width: 18px; height: 18px; }
.call-btn:hover { background: var(--lamp); box-shadow: 0 0 0 5px rgba(232, 200, 143, .16); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--paper);
  transition: transform .35s var(--ease-out), opacity .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) { .call-btn__num { display: none; } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .call-btn { padding: .55rem .95rem; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    background: var(--ink); padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a {
    font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 9vw, 3rem); color: var(--paper);
    display: inline-block; padding: .2rem 0;
  }
  .nav ul a::after { display: none; }
  .nav__mobile-extra { display: grid; gap: .8rem; justify-items: start; color: var(--ash); }
  .nav__mobile-extra p { margin: 0; }
  .nav-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 420px) {
  .brand__word { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  transform-origin: 60% 70%;
}
.intro-done .hero__media img { animation: heroSettle 2.4s var(--ease-out) both; }
@keyframes heroSettle { from { transform: scale(1.12); filter: brightness(.4); } to { transform: scale(1); filter: brightness(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 34%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 60%),
    linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 26%);
}
.hero__inner { padding-top: calc(var(--header-h) + clamp(2.5rem, 10vh, 7rem)); }
.status {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem;
  font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .85);
  padding: .4rem .9rem .4rem .7rem; border: 1px solid var(--rule-dark); border-radius: 999px;
  background: rgba(0, 0, 0, .35);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ash); }
.status.is-open .status__dot { background: var(--lamp); box-shadow: 0 0 0 0 rgba(232, 200, 143, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 200, 143, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232, 200, 143, 0); } }
.hero__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(3rem, 1.2rem + 7.4vw, 8rem);
  line-height: .94; letter-spacing: -.025em; max-width: 11ch;
  text-wrap: balance;
}
.hero__lede {
  margin-top: 1.5rem; max-width: 30em; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  color: rgba(255, 255, 255, .86); line-height: 1.55;
}
.hero__actions .btn--ghost { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__address {
  margin: auto auto 0; padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  font-size: .85rem; color: rgba(255, 255, 255, .7); letter-spacing: .01em;
}
@media (max-width: 640px) {
  .hero__media { top: auto; height: 64%; }
  .hero__media img { object-position: 42% 72%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 45%, rgba(0,0,0,.15) 72%),
      linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 20%);
  }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   STORY
   ========================================================= */
.story { padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem); }
.story__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "t t t t t t t . p p p p"
    "w w w w w w w w w w w w";
  align-items: start;
}
.story__text { grid-area: t; }
.story__text .lead { margin-top: 1.75rem; color: rgba(255, 255, 255, .88); }
.story__photo--tall { grid-area: p; }
.story__photo--wide { grid-area: w; align-self: end; }
.story__photo img { width: 100%; }
.story__photo--tall img { aspect-ratio: 3 / 4.4; object-fit: cover; }
.story__photo--wide img { aspect-ratio: 16 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); }
figcaption { margin-top: .75rem; font-size: .88rem; color: var(--ash); }

.timeline { margin: 2.5rem 0 0; border-left: 1px solid var(--rule-dark); max-width: 34rem; }
.timeline li { position: relative; padding: 0 0 1.6rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: .5rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--paper);
}
.timeline li:last-child::before { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 14px rgba(232, 200, 143, .7); }
.timeline__when { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin-bottom: .2rem; }
.timeline p { margin: 0; color: rgba(255, 255, 255, .8); }
.story__faith {
  margin: 2.5rem 0 0; font-family: var(--script); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  color: var(--lamp); line-height: 1.35; max-width: 22em;
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; grid-template-areas: "t" "p" "w"; }
  .story__photo--tall img { aspect-ratio: 4 / 5; }
}

/* =========================================================
   BARISTA
   ========================================================= */
.barista {
  padding: clamp(4rem, 9vw, 8rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(123, 75, 42, .22), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--rule-dark);
}
.barista__grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "v v v v v v v v t t t t"
    "o o o o o o s s s q q q";
  align-items: start;
}
.barista__video { grid-area: v; position: relative; align-self: start; }
.barista__video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; filter: contrast(1.04); }
.barista__text { grid-area: t; align-self: center; }
.barista__text .lead { margin-top: 1.5rem; }
.barista__text p:last-child { color: rgba(255, 255, 255, .78); margin-bottom: 0; }
.barista__portrait { grid-area: o; }
.barista__note {
  grid-area: q; align-self: end; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.3; color: var(--lamp); text-wrap: balance;
}
.barista__portrait img { width: 100%; filter: grayscale(1) contrast(1.15); }
.barista__scale { grid-area: s; }
.barista__scale img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; }
.barista__portrait img { aspect-ratio: 942 / 589; object-fit: cover; }

.sound-btn {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; min-height: 44px; border-radius: 999px; font-size: .88rem; font-weight: 550;
  background: rgba(0, 0, 0, .65); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, border-color .25s;
}
.sound-btn:hover { background: rgba(0, 0, 0, .85); border-color: var(--paper); }
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn__on { display: none; }
.sound-btn[aria-pressed="true"] .sound-btn__on { display: block; }
.sound-btn[aria-pressed="true"] .sound-btn__off { display: none; }

@media (max-width: 900px) {
  .barista__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: "v v v v v v" "t t t t t t" "o o o o s s" "q q q q q q"; }
  .barista__portrait { align-self: end; }
}
@media (max-width: 560px) {
  .barista__grid { grid-template-areas: "v v v v v v" "t t t t t t" "o o o o o o" "s s s s . ." "q q q q q q"; }
  .barista__scale { margin-top: -4rem; margin-left: auto; grid-column: 3 / span 4; border: 5px solid var(--ink); position: relative; z-index: 2; }
}

/* =========================================================
   CRAFT GALLERY
   ========================================================= */
.craft { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--rule-dark); }
.craft__head { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.craft__head p { margin: 0; color: var(--ash); }
.craft__track {
  max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem);
  grid-template-columns: 1.1fr .9fr .9fr 1.1fr;
  grid-auto-rows: clamp(220px, 21vw, 320px);
  grid-template-areas: "a b c d" "e e c d";
}
.craft__item--a { grid-area: a; } .craft__item--b { grid-area: b; } .craft__item--c { grid-area: c; }
.craft__item--d { grid-area: d; } .craft__item--e { grid-area: e; }
.craft__item { position: relative; overflow: hidden; background: #111; }
.craft__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.craft__item:hover img { transform: scale(1.03); }
.craft__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.5rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: var(--paper); font-size: .9rem;
}
@media (max-width: 900px) {
  .craft__head { grid-template-columns: 1fr; }
  .craft__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem;
    padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: #444 transparent;
  }
  .craft__item { flex: 0 0 72vw; max-width: 340px; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .craft__item--e { flex-basis: 86vw; max-width: 520px; aspect-ratio: 4 / 3; }
}

/* =========================================================
   MENU — the one paper-white room in the house
   ========================================================= */
.menu { background: var(--paper); color: var(--ink); padding-bottom: clamp(4rem, 8vw, 7rem); }
.menu__banner { height: clamp(180px, 30vw, 380px); overflow: hidden; position: relative; }
.menu__banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.8); }
.menu__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(255,255,255,0) 60%, var(--paper)); }
.menu__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem 2rem;
  margin-top: calc(-1 * clamp(2rem, 5vw, 4rem)); position: relative; z-index: 1;
}
.menu__head .h2 { font-size: clamp(3rem, 2rem + 5vw, 6.5rem); }
.menu__motto { grid-column: 1; margin: .5rem 0 0; font-family: var(--script); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); color: var(--roast); }
.menu__pay {
  grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0;
  font-stretch: 118%; font-weight: 700; font-size: .95rem; letter-spacing: .08em;
  border: 1.5px solid var(--ink); padding: .65rem 1.1rem; border-radius: 999px;
}

.menu-tabs {
  display: flex; gap: .4rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-light); overflow-x: auto; scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: none; padding: .6rem 1.15rem; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  color: var(--ash-deep); border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s;
}
.menu-tab:hover { color: var(--ink); border-color: var(--rule-light); }
.menu-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.menu-tab:focus-visible { outline-color: var(--roast); }

.menu-panel { --accent: var(--roast); padding-top: clamp(2rem, 4vw, 3rem); }
.menu-panel[data-accent="leaf"] { --accent: var(--leaf); }
.menu-panel[data-accent="hibiscus"] { --accent: var(--hibiscus); }
.menu-panel[data-accent="lamp"] { --accent: #9a6f2c; }
.js .menu-panel[data-inactive] { display: none; }
.menu-panel.is-entering { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-panel__head {
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--cols) * 6.25rem); align-items: end; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 2px solid var(--ink);
}
.menu-panel__title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; }
.menu-panel__note { margin: .35rem 0 0; color: var(--ash-deep); }
.menu-panel__note::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: .6rem; }
.menu-panel__sizes { display: grid; grid-template-columns: repeat(var(--cols), 1fr); text-align: right; font-size: .82rem; font-weight: 600; color: var(--ash-deep); }

.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); }
.menu-panel[style*="--cols:4"] .menu-list,
.menu-panel[style*="--cols:3"] .menu-list { grid-template-columns: 1fr; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule-light);
}
.menu-panel[style*="--cols:4"] .item,
.menu-panel[style*="--cols:3"] .item { grid-template-columns: minmax(0, 1fr) calc(var(--cols) * 6.25rem); }
.item__name { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; line-height: 1.25; }
.item__tag {
  display: inline-block; margin-left: .55rem; vertical-align: .2em; font-family: var(--sans); font-size: .72rem; font-weight: 600;
  padding: .12rem .5rem; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent);
}
.item__copy { margin: .3rem 0 0; color: var(--ash-deep); font-size: .98rem; line-height: 1.5; max-width: 36em; }
.item__prices { margin: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(3.5rem, 1fr)); text-align: right; gap: .25rem; }
.item__price dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.item__price dd { margin: 0; font-stretch: 105%; font-weight: 650; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.item__price:first-child dd { color: var(--accent); }
/* two-column panels (cold brew, refreshers, food) show their own size labels per item */
.menu-panel[style*="--cols:2"] .menu-panel__head,
.menu-panel[style*="--cols:1"] .menu-panel__head { grid-template-columns: 1fr; }
.menu-panel[style*="--cols:2"] .menu-panel__sizes,
.menu-panel[style*="--cols:1"] .menu-panel__sizes { display: none; }
.menu-panel[style*="--cols:2"] .item__price dt,
.menu-panel[style*="--cols:1"] .item__price dt {
  position: static; width: auto; height: auto; clip: auto; overflow: visible;
  font-size: .72rem; font-weight: 600; color: var(--ash-deep); line-height: 1.2;
}
.menu-panel[style*="--cols:1"] .item__price dt { display: none; }
.item__prices { gap: .25rem .9rem; }

@media (max-width: 900px) {
  .menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .menu__head { grid-template-columns: 1fr; }
  .menu__pay { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 1rem; }
  .menu-panel__head { grid-template-columns: 1fr !important; }
  .menu-panel__sizes { display: none; }
  .item, .menu-panel[style*="--cols:4"] .item, .menu-panel[style*="--cols:3"] .item { grid-template-columns: 1fr; gap: .6rem; }
  .item__prices { grid-template-columns: repeat(var(--cols), auto); justify-content: start; text-align: left; gap: .4rem 1.4rem; }
  .item__price dt {
    position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important;
    font-size: .72rem; font-weight: 600; color: var(--ash-deep); line-height: 1.2;
  }
  .menu-panel[style*="--cols:1"] .item__price dt { display: none; }
}

/* =========================================================
   COFFEE TALK — noir title cards
   ========================================================= */
.talk { padding: clamp(5rem, 10vw, 9rem) 0; }
.talk__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.talk__head p { margin: 0; color: var(--ash); }
.talk__grid {
  display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 270px);
  grid-template-areas:
    "a a b b b b"
    "a a c c d d"
    "e e e f f f";
}
.poster { position: relative; overflow: hidden; background: #111; display: flex; }
.poster--a { grid-area: a; } .poster--b { grid-area: b; } .poster--c { grid-area: c; }
.poster--d { grid-area: d; } .poster--e { grid-area: e; } .poster--f { grid-area: f; }
.poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.25) brightness(.55); transition: transform 1.4s var(--ease-out), filter .6s;
}
.poster:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.25) brightness(.45); }
.poster::after { /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .65));
}
.poster figcaption {
  position: relative; z-index: 1; margin: auto 0 0; padding: clamp(1.1rem, 2.4vw, 1.75rem);
  color: var(--paper); display: flex; flex-direction: column; gap: .35rem; font-size: 1rem;
}
.poster__big { font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.poster__outline {
  font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--paper); letter-spacing: .04em; text-transform: uppercase;
}
.poster__script { font-family: var(--script); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: var(--lamp); line-height: 1.1; }
.poster__small { color: rgba(255, 255, 255, .78); font-size: .95rem; max-width: 26em; }
.poster__def { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem); line-height: 1.1; }
.poster__def b { font-weight: 800; }
.poster__def i { font-weight: 500; font-size: .55em; color: var(--ash); }
.poster--a figcaption { margin: 0 0 auto; }
.poster--a img { object-position: 50% 70%; }
.poster--a .poster__big { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.poster--b figcaption { flex-direction: row; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.poster--e figcaption, .poster--f figcaption { max-width: 34rem; }

@media (max-width: 900px) {
  .talk__head { grid-template-columns: 1fr; }
  .talk__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 48vw, 300px);
    grid-template-areas: "a b" "a c" "d d" "e e" "f f";
  }
}
@media (max-width: 520px) {
  .talk__grid { grid-template-columns: 1fr; grid-auto-rows: 230px; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .poster--a { min-height: 320px; }
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--rule-dark); }
.reviews__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); }
.reviews__stats li { color: var(--ash); font-size: .95rem; max-width: 12rem; line-height: 1.4; }
.reviews__stats strong { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--paper); margin-bottom: .3rem; }
.reviews__stats span { white-space: nowrap; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.review { border-top: 1px solid var(--paper); padding-top: 2rem; position: relative; }
.review::before {
  content: "“"; position: absolute; top: -.1em; right: 0; font-family: var(--serif); font-weight: 900;
  font-size: 7rem; line-height: 1; color: var(--lamp); opacity: .9;
}
.review blockquote { margin: 0; }
.review blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; max-width: 24em; padding-right: 3.5rem;
}
.review__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0 0; }
.review__tags li { font-size: .82rem; padding: .3rem .75rem; border: 1px solid var(--rule-dark); border-radius: 999px; color: rgba(255, 255, 255, .85); }
.review figcaption { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; }
.review__name { color: var(--paper); font-weight: 650; font-size: 1rem; }
.review__src { color: var(--ash); font-size: .88rem; }
.reviews__more { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
@media (max-width: 820px) {
  .reviews__head, .reviews__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   VISIT
   ========================================================= */
.visit { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--rule-dark);
  background: radial-gradient(ellipse 50% 60% at 85% 40%, rgba(232, 200, 143, .09), transparent 70%), var(--ink); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.visit__address { margin-top: 1.75rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.hours { margin-top: 2rem; width: 100%; max-width: 26rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .6rem 0; border-bottom: 1px solid var(--rule-dark); font-weight: 400; text-align: left; }
.hours td { text-align: right; color: rgba(255, 255, 255, .85); }
.hours__sun th, .hours__sun td { color: var(--ash); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--lamp); font-weight: 650; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; font-size: .85em; }
.visit__sunday { margin: 1.25rem 0 0; font-family: var(--script); font-size: 1.35rem; color: var(--lamp); }
.visit__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.socials { display: flex; gap: 1.25rem; margin-top: 2rem; }
.socials a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: rgba(255, 255, 255, .85); font-weight: 550; min-height: 44px; }
.socials a:hover { color: var(--lamp); }
.socials svg { width: 22px; height: 22px; }
.visit__signoff { margin: 2.5rem 0 0; font-family: var(--script); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; color: var(--paper); transform: rotate(-4deg); transform-origin: left; }
.visit__map { position: relative; }
.visit__map iframe {
  width: 100%; aspect-ratio: 4 / 4.2; border: 0; display: block; background: #111;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}
.visit__map-link { display: inline-block; margin-top: .8rem; font-size: .9rem; color: var(--ash); }
.visit__map-link:hover { color: var(--lamp); }
@media (max-width: 900px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map iframe { aspect-ratio: 4 / 3.4; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--rule-dark); overflow: hidden; }
.footer__word {
  margin: 0 0 clamp(2rem, 4vw, 3rem); text-align: center; line-height: .85;
  font-stretch: 125%; font-weight: 800; font-size: clamp(3.5rem, 14.5vw, 13.5rem); letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}
.footer__row { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; color: var(--ash); font-size: .95rem; }
.footer__brand img { width: 110px; }
.footer__col p { margin: 0 0 .6rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--lamp); }
.socials--footer { margin-top: 0; justify-content: flex-end; }
.footer__verse { margin: clamp(2.5rem, 5vw, 4rem) 0 .5rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }
.footer__verse span { font-style: normal; font-size: .85rem; color: var(--ash); margin-left: .4rem; }
.footer__legal { text-align: center; font-size: .82rem; color: #77726b; margin: 0; }
@media (max-width: 760px) {
  .footer__row { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .socials--footer { justify-content: flex-start; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body::after { animation: none; }
}

/* =========================================================
   FLOATING OPEN / CLOSED WIDGET (lower right)
   Narrow card, 2–3 lines of text. Springs in, then floats gently;
   when open, steam rises from the little cup.
   ========================================================= */
.hours-widget {
  position: fixed; z-index: 150;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(16.5rem, calc(100vw - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)));
  background: rgba(0, 0, 0, .9); color: var(--paper);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .4);
  opacity: 0; transform: translate(18px, 28px) scale(.8); transform-origin: 100% 100%;
  transition: opacity .3s ease-out, transform .3s ease-in;
}
.hours-widget[hidden] { display: none; }
.hours-widget.is-shown {
  opacity: 1; transform: none;
  transition: opacity .45s ease-out, transform .8s cubic-bezier(.34, 1.56, .64, 1);
  animation: widgetFloat 4.5s 1.2s ease-in-out infinite;
}
.hours-widget.is-open { border-color: rgba(232, 200, 143, .55); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 34px -8px rgba(232, 200, 143, .5); }
.hours-widget.is-open.is-shown { animation: widgetFloat 4.5s 1.2s ease-in-out infinite, widgetGlow 3s 1.2s ease-in-out infinite; }
@keyframes widgetFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes widgetGlow {
  0%, 100% { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 26px -10px rgba(232, 200, 143, .35); }
  50% { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 38px -6px rgba(232, 200, 143, .6); }
}

.hours-widget__link {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.05rem .85rem .85rem; text-decoration: none; color: inherit;
  font-size: .9rem; font-weight: 550; line-height: 1.38;
}
.hours-widget__text { min-width: 0; overflow-wrap: break-word; text-wrap: pretty; }
.hours-widget__link:hover .hours-widget__text { text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: .25em; }
.hours-widget__link:focus-visible { outline-offset: -3px; border-radius: 16px; }

/* the little cup */
.hours-widget__cup {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ash);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.hours-widget__cup svg { width: 28px; height: 30px; }
.hours-widget.is-open .hours-widget__cup { color: var(--lamp); background: rgba(232, 200, 143, .1); border-color: rgba(232, 200, 143, .4); }
.hours-widget__steam path { opacity: 0; }
.hours-widget.is-open.is-shown .hours-widget__steam path { animation: cupSteam 2.4s ease-out infinite; }
.hours-widget.is-open.is-shown .hours-widget__steam path:nth-child(2) { animation-delay: .8s; }
.hours-widget.is-open.is-shown .hours-widget__steam path:nth-child(3) { animation-delay: 1.6s; }
@keyframes cupSteam {
  0% { opacity: 0; transform: translateY(5px); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-6px); }
}
.hours-widget__dot {
  position: absolute; right: -2px; top: -2px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--hibiscus); border: 2px solid var(--ink);
}
.hours-widget.is-closed.is-shown .hours-widget__dot { animation: dotBlink 2.2s ease-in-out infinite; }
.hours-widget.is-open .hours-widget__dot { background: var(--lamp); animation: pulse 2.4s infinite; }
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* close: small round button on the card's top-left corner (away from the screen edge) */
.hours-widget__close {
  position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: var(--paper);
  background: #1a1a1a; border: 1px solid rgba(255, 255, 255, .3);
  transition: background-color .2s, transform .2s;
}
.hours-widget__close::before { content: ""; position: absolute; inset: -9px; } /* 44px tap target */
.hours-widget__close svg { width: 14px; height: 14px; }
.hours-widget__close:hover { background: var(--hibiscus); transform: rotate(90deg); }

.nav-open .hours-widget { opacity: 0; pointer-events: none; }
@media (max-width: 360px) {
  .hours-widget { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); width: min(15rem, calc(100vw - 1.5rem)); }
  .hours-widget__link { font-size: .85rem; gap: .65rem; padding: .75rem .85rem .75rem .7rem; }
  .hours-widget__cup { width: 38px; height: 38px; }
  .hours-widget__cup svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hours-widget.is-shown, .hours-widget.is-open.is-shown { animation: none; }
}
@media print { .hours-widget { display: none !important; } }

/* Brief highlight when the widget takes you to the hours or visit section */
.hours.is-flash, .visit.is-flash .visit__info { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 10px rgba(232, 200, 143, .18); background: rgba(232, 200, 143, .08); } 100% { box-shadow: 0 0 0 10px rgba(232, 200, 143, 0); background: transparent; } }
.hours { scroll-margin-top: 1.5rem; }
