/* The home page below the hero (index.html, js/home/home.js): the scroll
   made alive, kept cozy. The page is one long afternoon: cream, then golden hour,
   then dusk, then night at the map, each section handing its colour to the
   next. Photos warm up as they arrive, lamps come on once it is dusk, the
   favourites pour themselves, and the road draws itself up to Km 10. All
   of it rests in its final state for reduced motion. */

:root {
  --aft-1: #f4ead9;   /* early afternoon: the plaster in daylight */
  --aft-2: #f0dfc0;
  --gold: #ebc995;    /* golden hour */
  --sunset: #cf8a5e;
  --dusk: #7c4b44;
  --dusk-2: #3a2430;
  --night: #070605;
}

/* ---------- the afternoon ---------- */
.day { position: relative; color: var(--ink); }
/* The door sign, in the hero under the buttons: hung on its nail, it swings
   once when the doors open (js/home/home.js). */
.hang { display: grid; justify-items: start; margin-top: clamp(1.2rem, 2.6vh, 2rem); }
.hang__sign { width: clamp(7.5rem, 9vw, 9rem); height: auto; overflow: visible; transform-origin: 50% 7%; }
.hang.is-in .hang__sign { animation: swing 2.8s cubic-bezier(.3, .6, .3, 1); }
@keyframes swing { 0% { transform: rotate(8deg); } 25% { transform: rotate(-5.5deg); } 50% { transform: rotate(3deg); } 72% { transform: rotate(-1.2deg); } 100% { transform: rotate(0); } }
.hang__lights { opacity: 0; transition: opacity 1.2s ease; }
.hang.is-night .hang__lights { opacity: 1; }
.hang__wash { fill: rgba(255, 196, 110, 0.22); filter: blur(9px); }
.hang__bulb circle { fill: #fff0c4; filter: drop-shadow(0 0 3px #ffc566) drop-shadow(0 0 9px rgba(255, 175, 70, 0.85)); animation: twinkle-bulb 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
@keyframes twinkle-bulb { 0%, 100% { opacity: 1; } 45% { opacity: 0.7; } 60% { opacity: 0.95; } }
@media (max-aspect-ratio: 9/10) { .hang { justify-items: center; margin-top: 1rem; } }

/* The hours board (js/home/board.js): the sign grown wide, the week painted
   large. In the hero, and on the doors: the left door, or across the top of
   both on tall screens, fading as they open. */
.hang__sign.board, .hero__head .hang__sign.board { width: clamp(15rem, 20vw, 19rem); }
.board__word { font-family: var(--serif); font-style: italic; font-weight: 600; }
.board__note { font: italic 500 17px var(--serif); font-variant-numeric: lining-nums; }
.board__note.is-lit { font-weight: 600; }
/* open: "Open" and until when glow like the lamps, breathing slowly */
.board__glow { animation: board-glow 3.6s ease-in-out infinite; }
.board__glow--wide { animation-delay: -1.2s; }
@keyframes board-glow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.board__days { font: italic 600 25px var(--serif); }
/* the times in the sans, with full-height numbers: clearer than the serif's old-style ones */
.board__hours { font: 500 19px var(--sans); letter-spacing: 0.01em; font-variant-numeric: lining-nums tabular-nums; }
.board__label { font: 600 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
/* on the doors, as in the hero: the sprout, the board hanging from it, the
   clipboard beside (js/home/board.js, js/home/clipboard.js), just above the
   greeting; on tall screens the board and clipboard side by side, smaller,
   so the door stays in view */
.door-head { margin: 0 0 1.2rem; transform: scale(var(--door-k, 1)); transform-origin: 0 100%; }
.doors__copy.has-head .doors__eyebrow { display: none; }
.door-head .hang__sign.board { animation: board-sway 6s ease-in-out infinite alternate; transform-origin: 50% 4%; }
.doors__copy.has-head .doors__mark { display: none; }
@media (max-aspect-ratio: 9/10) {
  .door-head { margin: 0 auto 1.1rem; transform: none; }
  .doors__copy.has-head .doors__eyebrow { display: block; }
  .door-head .hero__logo { display: none; }
  /* phones: the menu's clipboard, then the board, stacked (Neithan) */
  .door-hang { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
  .door-head .hang__sign.board { width: 54vw; }
  .door-hang .clip--door { order: -1; position: relative; left: auto; top: auto; margin: 2.2rem 0 0; width: 44vw; transform: rotate(-1.5deg); }
}
@keyframes board-sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
@media (max-aspect-ratio: 9/10) { .hang__sign.board, .hero__head .hang__sign.board { width: 56vw; } }

/* The menu's clipboard (js/home/clipboard.js): a fixed size; lit by the
   dusk (warm from the lamps above, darker below), with the photo's grain
   and a shadow on the ground; in the hero it leans on the terrace and moves
   a little with the scene (--cam-x, --cam-y from js/hero.js). */
.clip { position: absolute; z-index: 4; display: block; width: 176px; text-decoration: none; color: #3a1a0e; -webkit-tap-highlight-color: transparent; }
.clip__board { position: relative; display: block; padding: 22px 10px 12px; border-radius: 9px; background: repeating-linear-gradient(95deg, rgba(0, 0, 0, 0) 0 9px, rgba(30, 12, 4, 0.16) 9px 10px), linear-gradient(#7d5230, #4e2e16); box-shadow: 0 2px 0 rgba(255, 190, 110, 0.25) inset, 0 18px 18px -6px rgba(8, 3, 1, 0.7); }
.clip__board::after { content: ''; position: absolute; inset: 0; border-radius: 9px; pointer-events: none; mix-blend-mode: multiply; background: linear-gradient(200deg, rgba(255, 170, 80, 0) 30%, rgba(90, 40, 15, 0.38) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .25  0 0 0 0 .15  0 0 0 .35 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>"); }
.clip__clip { position: absolute; left: 50%; top: -9px; width: 46%; height: 26px; translate: -50% 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(#e7cf96, #9c7a3c 45%, #6e5222 55%, #c9a865); box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45); }
.clip__paper { display: grid; align-content: start; gap: 0.25rem; height: 168px; overflow: hidden; padding: 0.85rem 0.65rem 0.7rem; border-radius: 2px; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 21px, rgba(120, 60, 30, 0.14) 21px 22px), radial-gradient(130% 100% at 25% 0%, #f8e7c4 0%, #e6cba0 55%, #bf9d6e 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.clip__title { text-align: center; white-space: nowrap; font: 600 1.15rem 'Caveat', cursive; color: #9c4422; }
.clip__page { display: grid; gap: 0.25rem; transition: opacity 0.4s ease; }
.clip__page.is-turning { opacity: 0; }
.clip__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; font: 600 1.12rem/1.3 'Caveat', cursive; }
.clip__list li { display: flex; justify-content: space-between; gap: 0.5rem; }
.clip__list span { white-space: nowrap; }
.clip__list b { font-weight: 600; color: #6b4a2e; }
.clip__go { margin-top: 0.15rem; text-align: center; white-space: nowrap; font: 600 0.6rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #9c4422; }
/* hung from a nail (on the door, and beside the board) */
.clip__nail, .clip__string { display: none; }
.clip--door .clip__nail, .clip--side .clip__nail { display: block; position: absolute; left: 50%; top: -34px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e2b6, #9b7a3e 50%, #4a3418); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.clip--door .clip__string, .clip--side .clip__string { display: block; position: absolute; left: 50%; top: -30px; width: 44%; height: 34px; translate: -50% 0; border: 2px solid #c9a56e; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hang { position: relative; }
.clip--side { left: calc(100% + 1.6rem); top: 1.9rem; width: 168px; transform-origin: 50% -34px; transform: rotate(2.5deg); transition: transform 0.4s cubic-bezier(.3, 1.4, .5, 1); }
.clip--side:hover { transform: rotate(0) translateY(-3px); }
.clip--side .clip__paper { height: 128px; padding: 0.75rem 0.6rem 0.6rem; }
.clip--side .clip__list { font-size: 1.02rem; }
.clip--side .clip__title { font-size: 1.02rem; }
.clip--side .clip__go { font-size: 0.55rem; }
/* phones, in the hero: hung under the board (it lives in the board's .hang) */
.clip--under .clip__nail, .clip--under .clip__string { display: block; position: absolute; left: 50%; }
.clip--under .clip__nail { top: -34px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e2b6, #9b7a3e 50%, #4a3418); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.clip--under .clip__string { top: -30px; width: 44%; height: 34px; translate: -50% 0; border: 2px solid #c9a56e; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.clip--under { position: relative; margin: 2.2rem auto 0; width: 44vw; transform: rotate(1.5deg); }
.clip--under .clip__paper, .door-hang .clip--door .clip__paper { height: 112px; padding: 0.55rem 0.5rem 0.5rem; }
.clip--under .clip__title, .clip--under .clip__list, .door-hang .clip--door .clip__title, .door-hang .clip--door .clip__list { font-size: 0.86rem; }
.clip--under .clip__go, .door-hang .clip--door .clip__go { font-size: 0.48rem; letter-spacing: 0.08em; }
/* phones: no live line in the hero, so the buttons stay in view */
@media (max-aspect-ratio: 9/10) {
  .hero__copy .hero__lede { display: none; }
  .hero__copy .hero__title { margin-bottom: 1.4rem; }
  .clip--under { width: 38vw; margin-top: 2rem; }
  .clip--under .clip__paper { height: 100px; }
  /* Get directions: a soft glass pill over the busy photo (like the doors'
     button), the wavy stem put away */
  .hero .hero__actions .btn--ghost.drip { align-items: center; padding: 0.75rem 1.4rem !important; border: 1px solid rgba(255, 217, 154, 0.55) !important; border-radius: 999px !important; background: rgba(20, 12, 6, 0.5) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--lamp); }
  .hero .hero__actions .btn--ghost :is(.drip__stem, .drip__drops) { display: none; }
}
/* the board and its clipboard ease in together, once the menu has come
   (js/home/home.js holds them back for a moment at most) */
:is(#open, .door-hang) { transition: opacity 0.5s ease; }
.menu-wait :is(#open, .door-hang) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { :is(#open, .door-hang) { transition: none; } }
.clip:focus-visible { outline: 2px solid var(--lamp); outline-offset: 4px; border-radius: 10px; }
.clip--hero { right: 8%; bottom: 7%; transform: perspective(700px) rotateY(-16deg) rotateZ(3deg) translate(calc(var(--cam-x, 0) * -220px), calc(var(--cam-y, 0) * -220px)); transition: transform 0.5s ease; }
.clip--hero:hover { transform: perspective(700px) rotateY(-8deg) rotateZ(1.5deg) translate(calc(var(--cam-x, 0) * -220px), calc(var(--cam-y, 0) * -220px - 5px)); }
.clip--hero::before { content: ''; position: absolute; left: -12%; right: -18%; bottom: -16px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 3, 1, 0.7), rgba(8, 3, 1, 0)); z-index: -1; transform: skewX(-24deg); }
/* the doors' clipboard: as beside the hero's board (.clip--side) */
.clip--door { left: calc(100% + 1.6rem); top: 1.9rem; width: 168px; transform-origin: 50% -34px; transform: rotate(2.5deg); transition: transform 0.4s cubic-bezier(.3, 1.4, .5, 1); }
.clip--door .clip__paper { height: 128px; padding: 0.75rem 0.6rem 0.6rem; }
.clip--door .clip__list, .clip--door .clip__title { font-size: 1.02rem; }
.clip--door .clip__go { font-size: 0.55rem; }
.arrival.is-closed .clip--door { pointer-events: auto; }
.clip--door:hover { transform: rotate(0) translateY(-3px); }
@media (max-aspect-ratio: 9/10) {
  .clip--hero { right: 5%; bottom: 4%; width: 144px; }
  .clip .clip__paper { height: 126px; padding: 0.6rem 0.5rem 0.5rem; }
  .clip__go { font-size: 0.48rem; letter-spacing: 0.1em; }
  .clip__title { font-size: 0.86rem; }
  .clip__list { font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) { .door-head .hang__sign.board, .board__glow { animation: none; } .clip, .clip__page { transition: none; } }
@media (max-height: 620px) { .hang { display: none; } }

/* The hero's words, as the studio picks them (js/home/hero-words.js): the
   logo or the sprout in place of the eyebrow, the time in Pacol lit like
   the lamp, the sentence as the headline, and the sign in a row with the
   first thing at the top (.hero__head). */
.hero__logo { display: block; width: clamp(150px, 15vw, 220px); aspect-ratio: 1587 / 711; margin: 0 0 1.4rem;
  background: var(--lamp); -webkit-mask: url('../assets/logo-full.png') left center / contain no-repeat; mask: url('../assets/logo-full.png') left center / contain no-repeat;
  filter: drop-shadow(0 2px 12px rgba(10, 5, 2, 0.6)); }
.hero__logo--sprout { width: clamp(64px, 6vw, 92px); aspect-ratio: 440 / 416; margin-bottom: 1.2rem;
  -webkit-mask-image: url('../assets/logo-sprout-est.png'); mask-image: url('../assets/logo-sprout-est.png'); }
.hero__lede time, .hero__title time { color: var(--lamp); text-shadow: 0 0 24px rgba(255, 170, 70, 0.35); }
.hero__title--say { font-size: clamp(2.1rem, 3.9vw, 3.6rem); line-height: 1.1; }
.hero__copy[data-hero^="sentence"] .hero__actions { margin-top: 2rem; }
.hero__head { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; width: fit-content; margin: 0 0 1.2rem; }
.hero__head > :first-child { margin: 0 !important; }
.hero__head .hang { margin: 0; justify-items: center; }
@media (max-aspect-ratio: 9/10) {
  .hero__head { margin-left: auto; margin-right: auto; }
  .hero__logo { margin: 0 auto 1rem; width: 50vw; -webkit-mask-position: center; mask-position: center; }
  .hero__logo--sprout { width: 20vw; }
  .hero__title--say { font-size: clamp(1.8rem, 8vw, 2.5rem); }
}

.tale { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 11vw, 10rem) clamp(1.25rem, 6vw, 6rem); background: linear-gradient(var(--aft-1), var(--aft-2)); }
.tale--flip { background: linear-gradient(var(--aft-2), var(--gold)); }
.tale--flip .tale__text { order: 2; }
.tale__eyebrow { margin: 0 0 1.1rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brick); }
.tale h2, .shelf h2, .road h2 { margin: 0 0 1.2rem; font: 500 clamp(2.1rem, 4vw, 3.3rem)/1.08 var(--serif); }
.tale h2 em, .shelf h2 em, .road h2 em { font-style: italic; color: var(--brick); transition: color 1.2s ease, text-shadow 1.2s ease; }
.tale p { margin: 0 0 1rem; max-width: 34rem; color: var(--ink-soft); line-height: 1.75; font-size: 1.05rem; }
.origins { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.origins li { padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid rgba(43, 29, 20, 0.22); font: italic 500 1.1rem var(--serif); color: var(--ink); }

/* Photos arrive a little dim and cool, then warm up as if a lamp came on. */
.tale__img { position: relative; margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(60, 30, 10, 0.5); }
.tale__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.5) brightness(0.8) contrast(0.95); transform: scale(1.06); transition: filter 1.8s ease, transform 2.4s cubic-bezier(.2, .7, .2, 1); }
.tale__img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 20%, rgba(255, 200, 120, 0.35), rgba(255, 200, 120, 0) 70%); opacity: 0; transition: opacity 2s ease 0.3s; mix-blend-mode: soft-light; }
.warm.is-lit img { filter: none; transform: scale(1); }
.warm.is-lit::after { opacity: 1; }
.tale--dusk .tale__img img { aspect-ratio: 5 / 4; object-position: 62% 40%; }

/* Dusk: the colour deepens, the type turns to lamplight, and a lamp comes on. */
.tale--dusk { background: linear-gradient(var(--sunset), var(--dusk) 32%, var(--dusk-2)); color: var(--cream); }
.tale--dusk .tale__eyebrow { color: var(--capiz); }
.tale--dusk p { color: rgba(244, 234, 217, 0.82); }
.tale--dusk h2 em { color: var(--lamp); }
.tale--dusk.is-lit h2 em { text-shadow: 0 0 26px rgba(255, 170, 70, 0.5); }
/* the gallery, and sharing a photo, under the dusk story */
.tale__acts { display: grid; justify-items: start; gap: 0.9rem; margin-top: 1.6rem; }
.tale__share { margin: 0; font: italic 500 1.15rem var(--serif); }
.tale--dusk .tale__share { color: rgba(244, 234, 217, 0.75); }
.tale__share a { color: var(--lamp); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--lamp) 45%, transparent); }
.tale__share a:hover { border-color: var(--lamp); }
@media (max-aspect-ratio: 9/10) { .tale__acts { justify-items: center; } }
/* Centred over the text column, so its light falls on the heading. It sways
   a little on its cord; lit, its glow breathes. */
.tale--dusk { --pad: clamp(1.25rem, 6vw, 6rem); --gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(11rem, 17vw, 15rem); }
.lamp { position: absolute; top: 0; left: calc(var(--pad) + (100% - 2 * var(--pad) - var(--gap)) / 4); translate: -50% 0; width: clamp(7.5rem, 10.5vw, 10rem); aspect-ratio: 3 / 4; pointer-events: none; transform-origin: 50% 0; animation: sway 9s ease-in-out infinite; }
@keyframes sway { 0%, 100% { rotate: -0.8deg; } 50% { rotate: 0.8deg; } }
.tale--dusk.is-lit .lamp__halo { animation: breathe 5s ease-in-out 2s infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
.lamp__img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The light: three lamps wide and as tall as the lamp's own height, three
   times over, centred on the lamp; the rim's opening is near its bottom. */
.lamp__light { position: absolute; left: -100%; top: 0; width: 300%; height: 133.3%; overflow: visible; }
.lamp__lit { opacity: 0; transition: opacity 1.6s ease; }
.lamp__light .lamp__lit { transition-delay: 0.3s; }
.tale--dusk.is-lit .lamp__lit { opacity: 1; }

/* ---------- house favourites: a shelf of drinks that pour themselves ---------- */
/* The shelf hangs on Arco Diez's own wall (assets/wall.webp, from their
   photo; tools/wall/build_wall.py), washed in golden-hour light: the light
   is a gradient over it, so it can be tuned here. Its top and bottom fade
   into the sections around it. */
.shelf { position: relative; padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 8vw, 6rem); text-align: center;
  background:
    linear-gradient(var(--gold), rgba(235, 201, 149, 0) 16%, rgba(207, 138, 94, 0) 82%, var(--sunset)),
    linear-gradient(rgba(235, 190, 120, 0.28), rgba(207, 138, 94, 0.42)),
    url('../assets/wall.webp') center / cover,
    var(--gold); }
.shelf h2, .shelf .tale__eyebrow { text-shadow: 0 1px 14px rgba(255, 236, 205, 0.7); }
.shelf__head { max-width: 40rem; margin: 0 auto 2.6rem; }
/* One shelf: the cups stand on a wooden plank that runs under them all
   (each cup's own piece of it), names below. Scrolls sideways on phones. */
.shelf__row { display: grid; grid-template-columns: repeat(6, minmax(8.5rem, 1fr)); max-width: 72rem; margin: 0 auto 2.4rem; overflow-x: auto; scrollbar-width: none; padding-top: 1rem; }
.cup { display: grid; align-content: start; justify-items: center; gap: 0.35rem; padding-bottom: 0.4rem; text-decoration: none; color: var(--ink); }
.cup__art { position: relative; width: 100%; aspect-ratio: 3 / 4; display: grid; place-items: end center; padding-bottom: 12px; margin-bottom: 0.7rem; }
.cup__art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13px; background: linear-gradient(#8a5a36, #5e3a22); box-shadow: 0 14px 22px -12px rgba(40, 20, 8, 0.6); }
.cup:first-child .cup__art::after { border-radius: 3px 0 0 3px; }
.cup:last-child .cup__art::after { border-radius: 0 3px 3px 0; }
.cup__art .drinkart { width: 82%; height: auto; overflow: visible; }
.cup b { font: 600 1.35rem/1.1 var(--serif); }
.cup small { font-size: 0.85rem; color: rgba(43, 29, 20, 0.7); }
.cup .drinkart { transition: transform 0.3s ease; }
.cup.is-soldout .cup__art .drinkart { opacity: 0.45; filter: grayscale(0.4); }
.cup.is-soldout small { color: var(--brick); font-style: italic; }
.cup:hover .drinkart { transform: translateY(-5px); }
.shelf__more { position: relative; }
.btn--ink { border: 1px solid rgba(43, 29, 20, 0.35); color: var(--ink); }
.btn--ink:hover { background: rgba(43, 29, 20, 0.06); }

/* The pour: the drink rises from the bottom of the glass, then the ice,
   foam, toppings and straw settle in, then the steam. */
.cup .da-fill { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.5s cubic-bezier(.35, .7, .25, 1) var(--d, 0s); }
.cup .da-surface, .cup .da-straw, .cup .da-top, .cup .da-drops { opacity: 0; transition: opacity 0.7s ease calc(var(--d, 0s) + 1.15s); }
/* The ice drops in one cube at a time, with a little bounce. */
.cup .da-cube { opacity: 0; transform: translateY(-46px); transform-box: fill-box; transition: opacity 0.15s ease var(--cd), transform 0.75s cubic-bezier(.3, 1.45, .5, 1) var(--cd); --cd: calc(var(--d, 0s) + 0.95s); }
.cup .da-cube:nth-child(2) { --cd: calc(var(--d, 0s) + 1.3s); }
.cup .da-cube:nth-child(3) { --cd: calc(var(--d, 0s) + 1.65s); }
.cup.is-poured .da-cube { opacity: 1; transform: none; }
/* Iced drinks at rest: the ice bobs a little, drops of condensation run down
   the glass now and then (hot drinks have their steam). */
.cup.is-poured .da-bob { transform-box: fill-box; transform-origin: 50% 50%; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 2.6s); }
.cup.is-poured .da-cube:nth-child(2) .da-bob { animation-duration: 6s; animation-delay: calc(var(--d, 0s) + 3.4s); }
.cup.is-poured .da-cube:nth-child(3) .da-bob { animation-duration: 5.5s; animation-delay: calc(var(--d, 0s) + 4.1s); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-1.6px) rotate(2.5deg); } }
.cup.is-poured .da-drops ellipse:nth-child(3n + 1) { animation: trickle 7s ease-in infinite; animation-delay: calc(var(--d, 0s) + 3s); }
.cup.is-poured .da-drops ellipse:nth-child(3n + 2) { animation: trickle 9s ease-in infinite; animation-delay: calc(var(--d, 0s) + 5.5s); }
@keyframes trickle { 0%, 55% { transform: translateY(0); opacity: 0.75; } 85% { opacity: 0.6; } 100% { transform: translateY(26px); opacity: 0; } }
.cup .da-steam { opacity: 0; transition: opacity 1.2s ease calc(var(--d, 0s) + 1.8s); }
.cup.is-poured .da-fill { transform: none; }
.cup.is-poured .da-surface, .cup.is-poured .da-straw, .cup.is-poured .da-top, .cup.is-poured .da-drops, .cup.is-poured .da-steam { opacity: 1; }

/* ---------- a drink's card, over the page (the shelf opens it) ---------- */
.cup { cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 1.25rem; background: rgba(20, 10, 6, 0); transition: background 0.3s ease; }
.sheet.is-in { background: rgba(20, 10, 6, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet__card { position: relative; width: min(30rem, 100%); max-height: calc(100vh - 2.5rem); overflow: auto; border-radius: 20px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(20, 8, 2, 0.6); opacity: 0; translate: 0 18px; transition: opacity 0.3s ease, translate 0.35s cubic-bezier(.2, .7, .2, 1); }
.sheet.is-in .sheet__card { opacity: 1; translate: 0 0; }
.sheet__x { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; width: 2.3rem; height: 2.3rem; border: 0; border-radius: 50%; background: rgba(244, 234, 217, 0.85); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.sheet__art { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.4rem; padding: 1.4rem 1.2rem 0.4rem; background: var(--art-bg, #efe3cd); }
.sheet__art .drinkart { width: 100%; height: auto; max-height: 15rem; }
.sheet__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet__body { padding: 1.1rem 1.4rem 1.4rem; }
.sheet__name { margin: 0 0 0.35rem; font: 600 2rem/1.05 var(--serif); }
.sheet__name .star { color: #c9953f; font-size: 0.8em; margin-left: 0.3rem; }
.sheet__desc { margin: 0 0 0.9rem; color: var(--ink-soft); line-height: 1.6; }
.sheet__note { margin: -0.5rem 0 0.9rem; font: italic 500 1.05rem var(--serif); color: var(--brick); }
.sheet__prices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.sheet__prices li { display: inline-flex; align-items: center; gap: 0.4rem; }
.sheet__prices b { font-size: 1.15rem; }
.sheet__prices small { color: var(--ink-soft); }
.sheet__sold { display: inline-block; margin: 0 0 1rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--brick); color: var(--cream); font-size: 0.8rem; }
.sheet__more { display: inline-flex; align-items: center; gap: 0.35em; color: var(--brick); font-size: 0.92rem; text-underline-offset: 3px; }
.tglyph { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tglyph--hot { color: var(--brick); }
.tglyph--cold { color: #3f6a8a; }
.tglyph--asis { color: var(--leaf); }

/* ---------- the road: a map that draws itself, pinned while it does ---------- */
.road { position: relative; height: 230vh; background: linear-gradient(var(--dusk-2), var(--night) 45%); color: var(--cream); }
.road__pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: 5rem clamp(1.25rem, 5vw, 5rem) 2rem; overflow: hidden; }
.road .tale__eyebrow { color: var(--capiz); }
.road h2 em { color: var(--lamp); text-shadow: 0 0 26px rgba(255, 170, 70, 0.45); }
.road address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; }
.road__note { margin: 0 0 1.6rem; max-width: 26rem; color: rgba(244, 234, 217, 0.7); line-height: 1.7; }
.road__go { display: flex; flex-wrap: wrap; gap: 0.7rem; opacity: 0.55; transition: opacity 0.8s ease; }
.road.is-arrived .road__go { opacity: 1; }
.road__map { position: relative; width: 100%; aspect-ratio: 10 / 7; max-height: 78vh; }
.road__map svg { width: 100%; height: 100%; overflow: visible; }
/* The storybook map (js/home/map.js) */
.m-star { fill: #f4ead9; opacity: 0.55; animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.85; } }
.m-ink { fill: none; stroke: rgba(244, 234, 217, 0.72); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-ridge { fill: none; stroke: rgba(244, 234, 217, 0.2); stroke-width: 1.3; stroke-linecap: round; }
.m-faint { fill: none; stroke: rgba(244, 234, 217, 0.16); stroke-width: 1.3; stroke-linecap: round; }
.m-forest path { fill: none; stroke: rgba(160, 190, 130, 0.22); stroke-width: 1.2; stroke-linecap: round; }
.m-cloud { animation: drift 16s ease-in-out infinite alternate; }
.m-mist { fill: rgba(236, 230, 218, 0.13); }
.m-wisp { fill: rgba(244, 238, 226, 0.32); }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(14px); } }
.m-terrace path { fill: none; stroke: rgba(170, 200, 120, 0.22); stroke-width: 1.4; stroke-linecap: round; }
.m-stream { fill: rgba(90, 135, 165, 0.42); stroke: none; }
.m-ledge { fill: none; stroke: rgba(244, 234, 217, 0.55); stroke-width: 1.6; stroke-linecap: round; }
.m-pool { fill: rgba(150, 190, 215, 0.45); }
.m-drop { fill: none; stroke: rgba(210, 234, 248, 0.85); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 3; animation: fall 0.9s linear infinite; }
@keyframes fall { to { stroke-dashoffset: -6; } }
.m-splash { fill: none; stroke: rgba(200, 228, 245, 0.55); stroke-width: 1; stroke-linecap: round; }
.m-stream-hi { fill: none; stroke: rgba(200, 225, 240, 0.18); stroke-width: 1; stroke-dasharray: 2 14; stroke-linecap: round; animation: flow 4s linear infinite; }
.m-ripple { fill: none; stroke: rgba(200, 225, 240, 0.35); stroke-width: 1.1; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.m-trunk { fill: none; stroke: rgba(244, 234, 217, 0.6); stroke-width: 1.8; stroke-linecap: round; }
.m-palm { animation: palm-lean ease-in-out infinite alternate; }
.m-crown { animation: palm-toss ease-in-out infinite alternate; }
@keyframes palm-lean { from { rotate: -0.9deg; } to { rotate: 0.9deg; } }
@keyframes palm-toss { from { rotate: -2.6deg; } to { rotate: 2.2deg; } }
.m-palm-trunk { fill: #5e4a34; stroke: rgba(244, 234, 217, 0.35); stroke-width: 0.8; }
.m-palm-ring { fill: none; stroke: rgba(30, 20, 12, 0.55); stroke-width: 0.8; stroke-linecap: round; }
.m-frond { fill: #3f6a2c; stroke: rgba(190, 220, 140, 0.55); stroke-width: 0.8; stroke-linejoin: round; }
.m-rib { fill: none; stroke: rgba(200, 230, 150, 0.6); stroke-width: 0.7; stroke-linecap: round; }
.m-nut { fill: #8a6a3a; stroke: rgba(30, 20, 12, 0.5); stroke-width: 0.5; }
.m-church-cross { fill: none; stroke: var(--lamp); stroke-width: 1.3; stroke-linecap: round; }
.m-canopy { fill: #1f2b1b; stroke: rgba(170, 200, 120, 0.6); stroke-width: 1.4; }
.m-wall { fill: #2a2018; stroke: rgba(244, 234, 217, 0.65); stroke-width: 1.4; stroke-linejoin: round; }
.m-roof { fill: none; stroke: rgba(212, 120, 90, 0.85); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-win { fill: rgba(244, 234, 217, 0.15); transition: fill 1s ease; }
.m-win.is-lit { fill: rgba(255, 200, 110, 0.85); }
.m-label { fill: rgba(244, 234, 217, 0.85); font: italic 500 24px var(--serif); }
.m-label--lit { fill: var(--lamp); }
.m-small { fill: rgba(244, 234, 217, 0.58); font: 500 12px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.m-road-bed { fill: none; stroke: rgba(222, 190, 140, 0.1); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.m-road { fill: none; stroke: var(--lamp); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(255, 190, 100, 0.55)); }
.m-post { fill: #efe6d6; stroke: rgba(20, 14, 10, 0.6); stroke-width: 0.8; }
.m-post-top { fill: #b8453a; }
.map-km { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; }
.map-km.is-on { opacity: 1; transform: none; }
.m-bike { fill: none; stroke: #f4ead9; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-lamp { fill: var(--lamp); stroke: none; filter: drop-shadow(0 0 3px #ffcf80); }
.m-house .m-win { fill: rgba(244, 234, 217, 0.15); }
.m-glow { opacity: 0; transition: opacity 1.8s ease; }
.m-wire { fill: none; stroke: rgba(244, 234, 217, 0.35); stroke-width: 0.9; }
.m-bulb { fill: rgba(244, 234, 217, 0.25); transition: fill 0.4s ease calc(var(--i) * 0.13s), filter 0.4s ease calc(var(--i) * 0.13s); }
.road.is-arrived .m-house .m-win { fill: var(--amber); }
.road.is-arrived .m-glow { opacity: 1; }
.road.is-arrived .m-bulb { fill: #ffe2a0; filter: drop-shadow(0 0 3px #ffcf80); }
.m-here { opacity: 0; transition: opacity 1s ease 0.9s; }
.road.is-arrived .m-here { opacity: 1; }
.m-fly { fill: #ffe7a0; opacity: 0; }
.road.is-arrived .m-fly { animation: fly 3.6s ease-in-out infinite; }
@keyframes fly { 0%, 100% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 0.95; } 60% { opacity: 0.4; transform: translate(6px, -10px); } 80% { opacity: 0.9; } }

/* ---------- night footer ---------- */
.night-foot { padding: 4.5rem clamp(1.25rem, 6vw, 6rem) 3rem; background: var(--night); color: var(--cream); text-align: center; border-top: 1px solid rgba(244, 234, 217, 0.08); }
.night-foot__logo { width: min(280px, 64vw); margin: 0 auto 2rem; opacity: 0.9; }
.night-foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: 860px; margin: 0 auto; text-align: left; line-height: 1.7; }
.night-foot__label { margin: 0 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--capiz); }
.night-foot p { margin: 0; }
.night-foot a { color: var(--lamp); }
.night-foot__hours { display: grid; grid-template-columns: auto auto; gap: 0.2rem 1rem; margin: 0; }
.night-foot__hours dd { margin: 0; opacity: 0.8; }
.night-foot__fine { margin-top: 2.6rem !important; font-size: 0.78rem; color: rgba(244, 234, 217, 0.4); }

/* ---------- time of day: afternoon, golden hour, dusk, lights on ---------- */
.tod { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 30; display: inline-flex; align-items: center; justify-content: center; gap: 0; height: 2.7rem; min-width: 2.7rem; padding: 0 0.62rem; border-radius: 999px; background: rgba(244, 234, 217, 0.88); color: var(--brick); backdrop-filter: blur(6px); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35); opacity: 0; translate: 0 10px; transition: opacity 0.6s ease, translate 0.6s ease, background 1.2s ease, color 1.2s ease; pointer-events: none; }
.tod.is-shown { opacity: 1; translate: 0 0; }
.tod__ico { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; }
.tod__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tod__word { max-width: 0; overflow: hidden; white-space: nowrap; font: italic 500 1.05rem var(--serif); color: var(--ink); opacity: 0; transition: max-width 0.6s ease, opacity 0.5s ease, padding 0.6s ease; }
.tod.is-telling .tod__word { max-width: 9rem; opacity: 1; padding: 0 0.25rem 0 0.5rem; }
.tod[data-phase="1"] { color: #c47a2c; }
.tod[data-phase="2"] { background: rgba(58, 36, 48, 0.88); color: var(--capiz); }
.tod[data-phase="2"] .tod__word, .tod[data-phase="3"] .tod__word { color: var(--cream); }
.tod[data-phase="3"] { background: rgba(21, 16, 12, 0.88); color: var(--lamp); }
.tod[data-phase="3"] .tod__ico svg { filter: drop-shadow(0 0 4px rgba(255, 200, 120, 0.8)); }

/* Staging pins its STAGING tag bottom left (js/firebase/init.js): the badge sits above it. */
.tod.is-staging { bottom: 3.2rem; }

/* Room for the nav rail (css/rail.css) at rest beside the text; on phones
   the rail is a bar along the bottom, and the badge sits above it. */
@media (min-width: 641px) {
  .tale { padding-left: max(clamp(1.25rem, 6vw, 6rem), 78px); }
  .shelf { padding-inline: max(clamp(1.25rem, 6vw, 6rem), 78px); }
  .road__pin { padding-left: max(clamp(1.25rem, 5vw, 5rem), 78px); }
}
@media (max-width: 640px) { .tod, .tod.is-staging { bottom: 84px; } }

/* Text arrives gently. */
.rise { opacity: 0; translate: 0 22px; transition: opacity 1s ease, translate 1.2s cubic-bezier(.2, .7, .2, 1); }
.rise.is-in { opacity: 1; translate: 0 0; }

@media (max-width: 860px) {
  .tale { grid-template-columns: 1fr; }
  .tale--flip .tale__text { order: 0; }
  /* At dusk the photo comes first, so the words sit where it is darker. */
  .tale--dusk .tale__img { order: -1; }
  .lamp { left: 50%; }
  .tale--dusk { padding-top: clamp(11rem, 44vw, 14rem); }
  .tale--dusk .tale__text { padding-top: 0; }
  .tod { left: 0.7rem; bottom: 0.7rem; }
  .road { height: 200vh; }
  .road__pin { grid-template-columns: 1fr; align-content: center; padding-top: 4.5rem; gap: 1rem; }
  .road__note { display: none; }
  .road__map { max-height: 46vh; }
  .night-foot__grid { grid-template-columns: 1fr; text-align: center; }
  .night-foot__hours { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .tale__img img, .cup *, .tod { transition: none !important; }
  .hang__bulb circle, .m-palm, .m-crown, .lamp, .lamp__halo, .hang__sign, .cup *, .m-star, .m-cloud, .m-drop, .m-stream-hi { animation: none !important; }
  .rise { opacity: 1; translate: none; }
  .sheet, .sheet__card { transition: none; }
  .tale__img img { filter: none; transform: none; }
  .cup .da-fill { transform: none; }
  .cup .da-cube, .cup .da-surface, .cup .da-straw, .cup .da-top, .cup .da-drops, .cup .da-steam { opacity: 1; transform: none; }
  .road { height: auto; }
  .road__pin { position: static; height: auto; }
  .tod { display: none; }
}
.night-foot__hours .is-special { color: var(--lamp); opacity: 1; }
/* special days (a holiday, closing early) under the week, a little apart */
.night-foot__hours dd:not(.is-special) + .is-special, .night-foot__hours dd:not(.is-special) + .is-special + dd { margin-top: 0.5rem; }

/* Back to top (js/home/top.js): the pull-chain, the sprout, the firefly, or
   "back to the house", as the studio picks. */
.tt { position: fixed; z-index: 19; border: 0; padding: 0; background: none; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.tt.is-shown { opacity: 1; pointer-events: auto; }
/* the pull-chain */
.tt--chain { right: clamp(1.4rem, 4vw, 3.6rem); top: 80px; transform-origin: 50% 0; }
.tt-chain { display: block; transform-origin: 50% 0; transform: translateY(-110%); transition: transform .9s cubic-bezier(.3,1.3,.5,1); }
.tt--chain.is-shown .tt-chain { transform: none; animation: tt-sway 6s ease-in-out .9s infinite; }
.tt--chain.is-pulled .tt-chain { transform: translateY(12px); animation: none; transition: transform .18s ease-in; }
.tt-chain__svg { display: block; filter: drop-shadow(1px 2px 2px rgba(30,15,5,.35)); }
.tt--chain:hover .tt-chain__svg circle { filter: drop-shadow(0 0 4px rgba(255,200,110,.9)); }
@keyframes tt-sway { 0%,100% { rotate: -2.2deg; } 50% { rotate: 2.2deg; } }
/* the sprout */
.tt--sprout { right: 1.2rem; bottom: 6.4rem; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(244,234,217,.92); box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); transform: translateY(8px); }
.tt--sprout.is-shown { transform: none; }
.tt-sprout { display: block; width: 100%; height: 100%; background: #a5553a; -webkit-mask: url('../assets/logo-mark.png') center / 46% no-repeat; mask: url('../assets/logo-mark.png') center / 46% no-repeat; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.tt--sprout:hover .tt-sprout { transform: translateY(-4px) scale(1.08); }
.tt--sprout.is-dark { background: rgba(21,16,12,.88); }
.tt--sprout.is-dark .tt-sprout { background: #ffb24a; }
/* the firefly */
.tt--firefly { right: 1.4rem; bottom: 6.6rem; width: 3.6rem; height: 3.6rem; }
.tt-fly { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; animation: tt-wander 7s ease-in-out infinite; }
.tt-fly::before { content: ''; position: absolute; left: 50%; top: 66%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: rgba(255,236,170,.9); box-shadow: 0 0 10px 4px rgba(255,220,130,.8), 0 0 28px 11px rgba(255,190,90,.38), 0 0 56px 20px rgba(255,170,70,.14); animation: tt-glow 2.4s ease-in-out infinite; }
.tt-fly__svg { position: relative; width: 100%; height: 100%; rotate: -24deg; overflow: visible; }
.tt-wings ellipse { fill: rgba(250,244,228,.34); stroke: rgba(255,246,226,.7); stroke-width: .55; }
.tt-wings { transform-box: fill-box; animation: tt-flap .16s ease-in-out infinite alternate; }
.tt-wings--l { transform-origin: 100% 50%; }
.tt-wings--r { transform-origin: 0% 50%; }
.tt-tail { fill: #fff0b8; }
@keyframes tt-flap { from { transform: scaleX(1); } to { transform: scaleX(.45); } }
.tt--firefly:hover .tt-fly::before { box-shadow: 0 0 14px 6px rgba(255,225,140,.95), 0 0 40px 16px rgba(255,190,90,.5), 0 0 70px 26px rgba(255,170,70,.2); }
.tt--firefly.is-flying .tt-fly { animation: tt-up 1.5s cubic-bezier(.5,0,.7,.4) forwards; }
@keyframes tt-wander { 0%,100% { translate: 0 0; } 25% { translate: -9px -6px; } 50% { translate: 5px -11px; } 75% { translate: 8px 3px; } }
@keyframes tt-glow { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes tt-up { to { translate: -30px -85vh; opacity: 0; scale: .5; } }
/* back to the doors */
.tt--doors { right: 1.2rem; bottom: 6.4rem; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem .5rem .7rem; border-radius: 999px; background: rgba(244,234,217,.92); color: #a5553a; font: italic 500 1.05rem 'Cormorant Garamond', serif; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); transform: translateY(8px); }
.tt--doors.is-shown { transform: none; }
.tt--doors svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.tt--doors:hover svg { transform: translateY(-2px); }
.tt--doors.is-dark { background: rgba(21,16,12,.88); color: #ffd99a; }
/* the tooltip: the menu's (css/menu.css .tip), cream once the page is dark */
.tt-tip { position: fixed; z-index: 70; pointer-events: none; white-space: nowrap; padding: .35rem .7rem; border-radius: 8px;
  background: #2b1d14; color: #f4ead9; font: 500 .76rem/1.2 'Switzer', system-ui, sans-serif; letter-spacing: .03em;
  box-shadow: 0 6px 16px rgba(0,0,0,.25); transform: translate(-50%, -100%); opacity: 0; transition: opacity .15s ease; }
.tt-tip::after { content: ''; position: absolute; left: calc(50% + var(--nudge, 0px)); bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.tt-tip.is-side { transform: translate(-100%, -50%); }
.tt-tip.is-side::after { left: auto; right: -4px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(45deg); }
.tt-tip.is-dark { background: #f4ead9; color: #2b1d14; box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.tt-tip.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tt, .tt * { animation: none !important; transition: none !important; } }
