/* Matchang Matcha: 8-point spacing, Fraunces headings, DM Sans body.
   Ivory / forest / sage surfaces; yellow for the sun and primary actions.
   Flavor colors identify drinks. Arched photography references the brand sun. */

:root {
  --lime: #e4ebdc;          /* restrained sage for supporting surfaces */
  --lime-2: #d4dfc9;        /* deeper sage for interactive states */
  --paper: #faf8f2;         /* warm ivory keeps the photography and sun prominent */
  --ink: #173524;           /* deep green ink */
  --muted: #3f5a46;         /* secondary notes on light grounds */
  --deep: #173524;          /* signatures and footer field */
  --field: #2c5e3b;         /* the logo's green: the about panel */
  --on-deep: #faf8f2;
  --sun: #f8cf05;           /* the motif and every button */
  --ube: #6a4a9a;
  --ube-soft: #c9b3e6;
  --pandan: #a9cf63;
  --pink: #f6b8c3;
  --strawberry: #d9465f;

  --display-font: "Fraunces", "Cooper Black", Georgia, serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* One spacing rhythm. Breakpoints change tokens, never individual gaps. */
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 40px; --space-6: 48px; --space-7: 56px; --space-8: 64px;
  --space-10: 80px; --space-12: 96px; --space-16: 128px;
  --display: 88px; --head: 64px; --lead: 24px; --body: 18px; --small: 16px;
  --m: 48px; --gap: var(--space-3); --section: 128px; --panel: 64px;
  --r: 16px; --pill: 999px;
  --arch: 999px 999px var(--r) var(--r);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: background-color 180ms var(--ease), color 180ms var(--ease), opacity 180ms var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
header, section, footer { overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r); }
.sigs :focus-visible, .about :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display-font); font-weight: 900; font-variation-settings: "SOFT" 100;
  letter-spacing: -0.02em; line-height: .95;
}
h2 { font-size: var(--head); }
h3 { font-size: var(--lead); line-height: 1.1; letter-spacing: -0.01em; }
figcaption { font-size: var(--small); line-height: 1.35; }


/* ---------- the one button: a sun-yellow pill with the sun in it ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 56px; padding: 0 var(--space-4);
  background: var(--sun); color: var(--ink); border-radius: var(--pill); text-decoration: none;
  font-weight: 700; font-size: var(--body); line-height: 1.2;
  transition: var(--t);
}
.btn-ink { background: var(--ink); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-3) var(--m);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-1); text-decoration: none;
  background: var(--ink); color: var(--paper); border-radius: var(--pill); padding: var(--space-1) var(--space-2) var(--space-1) var(--space-1);
  font-family: var(--display-font); font-weight: 800; font-size: var(--body); font-variation-settings: "SOFT" 100; white-space: nowrap;
}
.brand img { width: 46px; height: auto; transition: var(--t); }

.nav ul { display: flex; align-items: center; gap: var(--space-1); font-weight: 500; font-size: var(--small); white-space: nowrap; }
.nav ul a { display: inline-block; text-decoration: none; padding: var(--space-1) var(--space-2); border-radius: var(--pill); transition: var(--t); }
.nav ul a:hover { background: var(--lime); }
.nav .nav-visit { background: var(--ink); color: var(--paper); }
.nav .nav-visit:hover { background: var(--field); }

/* ---------- hero: ivory ground, prints in front of a rising sun ---------- */
.hero { background: var(--paper); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--space-4) var(--m) var(--space-12); align-items: center;
  min-height: min(calc(100svh - 92px), 860px);
}
.hero-copy { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero h1 { font-size: var(--display); line-height: .92; letter-spacing: -0.035em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { color: inherit; }
.hero-sub { margin-top: var(--space-5); font-size: var(--lead); line-height: 1.35; max-width: 26ch; font-weight: 500; }
.hero-act { margin-top: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.status { font-size: var(--small); font-weight: 500; }
.status.is-open::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--field); margin-right: var(--space-1); vertical-align: .05em;
}

.collage { grid-column: 7 / 13; position: relative; aspect-ratio: 1 / 1.02; }
.collage-sun { position: absolute; width: 100%; height: auto; max-width: none; left: 0; top: 0; }
.print { background: var(--paper); padding: var(--space-1) var(--space-1) 0; border-radius: var(--r); }
.print figcaption { padding: var(--space-1) var(--space-1) var(--space-1); font-weight: 700; }
.print img { border-radius: var(--r); }
.print-main {
  position: absolute; left: 20%; top: 4%; width: 58%; padding: 0; background: none;
  transition: var(--t);
}
.print-main img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 58%; border-radius: var(--arch); width: 100%; }
.print-pandan, .print-straw {
  position: absolute; width: 31%; transition: var(--t);
}
.print-pandan img, .print-straw img { aspect-ratio: 4 / 5; object-fit: cover; }
.print-pandan { left: -2%; bottom: 2%; }
.print-pandan img { object-position: 50% 55%; }
.print-straw { right: -1%; bottom: -1%; }
.print-straw img { object-position: 50% 62%; }
/* ---------- signatures: drink on the sun ---------- */
.sigs {
  background: var(--deep); color: var(--on-deep);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m); align-items: center; overflow: hidden;
}
.sigs-head { grid-column: 1 / 6; }
.sigs-head > p { margin-top: var(--space-3); max-width: 34ch; }
.choices { margin-top: var(--space-5); display: grid; gap: var(--space-1); }
.choices a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap;
  text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--pill); background: #21452f;
  transition: var(--t);
}
.choices span {
  font-family: var(--display-font); font-weight: 900; font-variation-settings: "SOFT" 100;
  font-size: var(--lead); line-height: 1.05; letter-spacing: -0.02em;
}
.choices span::before {
  content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%;
  background: var(--flav); margin-right: var(--space-2); vertical-align: .05em; transition: var(--t);
}
.choices small { font-size: var(--small); font-weight: 500; }
.choices a:hover { background: var(--field); }
.choices a[aria-selected="true"] { background: var(--flav); color: var(--ink); }

.stage { grid-column: 6 / 13; display: grid; gap: var(--space-8); }
.drink { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.drink-pic { grid-column: 1 / 6; grid-row: 1; position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.drink-sun { position: absolute; left: -4%; top: 0; width: 108%; height: auto; max-width: none; }
.drink-photo {
  position: relative; width: 50%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: 50% 58%;
  border-radius: var(--arch); background: var(--flav);
  outline: 10px solid var(--flav); outline-offset: 0;
}
.drink-card {
  grid-column: 5 / 8; grid-row: 1; align-self: end; position: relative; z-index: 2;
  background: var(--paper); color: var(--ink); border-radius: var(--r); padding: var(--space-3);
  transition: var(--t);
}
.drink-card p { margin-top: var(--space-1); font-size: var(--body); line-height: 1.45; }
.layers { margin-top: var(--space-2); display: flex; flex-direction: column-reverse; gap: var(--space-1); }
.layers li { display: flex; align-items: center; gap: var(--space-1); font-size: var(--small); font-weight: 500; line-height: 1.25; }
.layers li::before { content: ""; width: 32px; height: 16px; flex: none; border-radius: var(--pill); background: var(--c); }

.js .stage.is-live { gap: 0; }
.js .stage.is-live .drink { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: var(--t); }
.js .stage.is-live .drink.is-on { visibility: visible; opacity: 1; transition: var(--t); }

/* ---------- specials: past favorites, pinned like menu cards ---------- */
.specials {
  background: var(--paper);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m); align-items: start;
}
.sp-head { grid-column: 1 / 5; }
.sp-head > p { margin-top: var(--space-3); max-width: 32ch; }
.print-special { margin-top: var(--space-5); width: 78%; background: var(--pink); transition: var(--t); }
.print-special img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 35%; }
.cards { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.card {
  padding: 0 0 var(--space-4); position: relative;
  transition: var(--t);
}
.card h3 { font-size: var(--lead); margin-bottom: var(--space-2); }
.card-a { background: transparent; }
.card-b { background: transparent; grid-row: span 2; }
.card li + li { margin-top: var(--space-2); }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.card .row strong { font-size: var(--body); line-height: 1.25; }
.card .row span {
  flex: none; font-size: var(--small); font-weight: 500; color: var(--ink);
  padding: 0;
}
.card li p:not(.row) { margin-top: var(--space-1); line-height: 1.45; }

/* ---------- about: inset green panel ---------- */
.about { padding: 0 var(--space-3); background: var(--paper); }
.ab-panel {
  background: var(--field); color: var(--on-deep); border-radius: var(--r); overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--panel) calc(var(--m) - var(--space-3)) 0; min-height: 0;
}
.ab-copy { grid-column: 1 / 7; padding-bottom: var(--panel); }
.ab-copy h2 { max-width: 11ch; }
.ab-blocks { margin-top: var(--space-5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.ab-blocks h3 { font-size: var(--lead); margin-bottom: var(--space-1); color: var(--sun); }
.ab-blocks p { font-size: var(--body); }
.ab-copy .btn { margin-top: var(--space-5); }
.ab-pics { grid-column: 7 / 13; position: relative; align-self: end; min-height: 100%; }
.ab-arch { position: absolute; left: 22%; bottom: 0; width: 56%; }
.ab-arch img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; object-position: 62% 36%; border-radius: 999px 999px 0 0; }
.ab-building { position: absolute; left: 0; top: 4%; width: 34%; color: var(--ink); transition: var(--t); }
.ab-building img { aspect-ratio: 1; object-fit: cover; object-position: 50% 52%; }

/* ---------- Unang Ani: one product, priced big ---------- */
.ani {
  background: var(--paper);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--section) var(--m); align-items: center;
}
.ani-pic { grid-column: 1 / 6; position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--lime); border-radius: 50%; }
.ani-photo { position: relative; width: 58%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 42%; border-radius: var(--arch); transition: var(--t); }
.ani-text { grid-column: 7 / 13; }
.ani-text h2 { max-width: 12ch; }
.ani-text > p:not(.price) { margin-top: var(--space-3); max-width: 40ch; }
.price {
  margin-top: var(--space-4); font-family: var(--display-font); font-weight: 900; font-variation-settings: "SOFT" 100;
  font-size: var(--head); line-height: 1; letter-spacing: -0.03em; color: var(--field);
}
.price small { font-family: var(--display-font); font-size: var(--lead); font-weight: 900; letter-spacing: 0; color: var(--ink); margin-left: var(--space-1); }
.facts { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-1); }
.facts div { background: var(--lime); border-radius: var(--pill); padding: var(--space-1) var(--space-2); display: flex; gap: var(--space-1); font-size: var(--small); }
.facts div:last-child { background: var(--pink); }
.facts dt { font-weight: 500; }
.facts dd { font-weight: 700; }
.ani-text .btn { margin-top: var(--space-4); }

/* ---------- community: one sunny frame, nine to choose from ---------- */
.community { background: var(--lime); padding: var(--section) var(--m); }
.th-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.th-head h2 { grid-column: 1 / 8; }
.th-head p { grid-column: 8 / 13; }
.gallery {
  margin-top: var(--space-8);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
}
.frame { grid-column: 1 / 6; position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.05; }
.frame-photo { position: relative; width: 70%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--arch); transition: var(--t); }
.frame-photo.is-swapping { opacity: 0; }
.frame figcaption {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0;
  background: var(--ink); color: var(--paper); border-radius: var(--pill); padding: var(--space-1) var(--space-3); font-weight: 700; white-space: nowrap;
}
.thumbs { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.thumbs button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: pointer;
  border-radius: var(--r); overflow: hidden; aspect-ratio: 1;
  transition: var(--t);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 40%); transition: var(--t); }
.thumbs button:hover { opacity: .85; }
.thumbs button[aria-pressed="true"] { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: var(--r); }
html:not(.js) .frame { display: none; }
html:not(.js) .thumbs { grid-column: 1 / 13; grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- visit: a clip-out coupon ---------- */
.visit { background: var(--paper); padding: var(--section) var(--m); }
.coupon {
  --notch: 28px;
  display: grid; grid-template-columns: 46% 54%; background: var(--lime); border-radius: var(--r); overflow: hidden;
}
.cp-left { padding: var(--panel); position: relative; }

.cp-where { margin-top: var(--space-3); font-size: var(--lead); font-weight: 500; line-height: 1.35; max-width: 22ch; }
.cp-left .status { margin-top: var(--space-2); display: inline-block; background: var(--ink); color: var(--paper); border-radius: var(--pill); padding: var(--space-1) var(--space-2); }
.cp-left .status.is-open::before { background: var(--lime); }
.cp-right { padding: var(--panel); display: grid; gap: var(--space-4); align-content: center; }
.hours { border-collapse: collapse; width: 100%; font-size: var(--lead); }
.hours caption { text-align: left; font-family: var(--display-font); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: var(--lead); margin-bottom: var(--space-1); }
.hours th { text-align: left; font-weight: 500; padding: var(--space-1) 0; }
.hours td { text-align: right; font-weight: 700; padding: var(--space-1) 0; }
.cp-links { display: grid; gap: var(--space-1); }
.cp-links a {
  display: inline-block; font-weight: 700; text-decoration: none; background: var(--paper);
  border-radius: var(--pill); padding: var(--space-1) var(--space-3); transition: var(--t);
}
.cp-links a:hover { background: var(--lime-2); }

/* ---------- footer: the full Philippine sun ---------- */
.foot {
  background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden;
  padding: var(--panel) var(--m) var(--space-5); text-align: center;
}
.foot-sun {
  position: relative; width: clamp(160px, 23vw, 320px); max-width: 100%;
  height: auto; margin: 0 auto var(--space-6);
}
.foot-big {
  position: relative; font-family: var(--display-font); font-weight: 900; font-variation-settings: "SOFT" 100;
  font-size: var(--display); line-height: .9; letter-spacing: -0.04em; color: var(--sun);
}
.foot-links { position: relative; margin-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); font-size: var(--small); }
.foot-links a { display: inline-block; text-decoration: none; padding: var(--space-1) var(--space-2); border-radius: var(--pill); background: #21452f; transition: var(--t); }
.foot-links a:hover { background: var(--sun); color: var(--ink); }
.foot-small { position: relative; margin-top: var(--space-4); font-size: var(--small); }

/* ---------- tablet ---------- */
@media (max-width: 1099px) {
  :root { --m: 32px; --section: 96px; --panel: 48px; --display: 64px; --head: 48px; }
  .hero-grid { min-height: 0; row-gap: var(--space-6); }
  .hero-copy { grid-column: 1 / 13; }
  .collage { grid-column: 2 / 12; aspect-ratio: 1 / .8; }
  .print-main { left: 28%; width: 42%; top: 2%; }
  .print-pandan, .print-straw { width: 26%; }
  .print-pandan { left: 3%; }
  .print-straw { right: 3%; }
  .collage-sun { width: 86%; left: 7%; top: -4%; }
  .sigs-head { grid-column: 1 / 13; }
  .stage { grid-column: 1 / 13; margin-top: var(--space-6); }
  .sp-head { grid-column: 1 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
  .sp-head h2 { grid-column: 1 / 3; }
  .print-special { grid-column: 2; grid-row: 2 / 4; width: 70%; justify-self: center; margin-top: var(--space-3); }
  .cards { grid-column: 1 / 13; margin-top: var(--space-6); }
  .ab-copy { grid-column: 1 / 13; padding-bottom: var(--space-4); }
  .ab-pics { grid-column: 1 / 13; min-height: 560px; }
  .ab-arch { width: 44%; left: 30%; }
  .ab-building { width: 26%; left: 2%; }
  .ani-pic { grid-column: 1 / 6; }
  .ani-text { grid-column: 6 / 13; }
  .th-head h2, .th-head p { grid-column: 1 / 13; }
  .th-head p { margin-top: var(--space-3); }
  .frame { grid-column: 1 / 7; }
  .thumbs { grid-column: 7 / 13; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1); }
}
@media (max-width: 899px) {
  .nav-wide { display: none; }
  .coupon {
    grid-template-columns: 1fr;
  }

}

/* ---------- phone ---------- */
@media (max-width: 699px) {
  :root { --m: 16px; --gap: var(--space-2); --section: 80px; --panel: 24px; --display: 48px; --head: 40px; --body: 16px; --small: 14px; }
  .nav { padding: var(--space-2) var(--m); }
  .nav-wide { display: none; }
  .brand { padding-right: var(--space-2); }
  .brand img { width: 36px; height: auto; }
  .nav ul a { padding: var(--space-1) var(--space-2); }
  .hero-grid { padding-top: var(--space-3); row-gap: var(--space-5); }
  .hero h1 { font-size: var(--display); }
  .hero-sub { margin-top: var(--space-3); }
  .hero-act { margin-top: var(--space-3); }
  .collage { grid-column: 1 / 13; aspect-ratio: 1 / 1.05; }
  .print-main { left: 22%; width: 56%; }
  .print-pandan, .print-straw { width: 34%; }
  .print-pandan { left: 0; bottom: 0; }
  .print-straw { right: 0; bottom: -2%; }
  .collage-sun { width: 100%; left: 0; top: 0; }
  .choices a { padding: var(--space-2) var(--space-2); }
  .choices small { display: none; }
  .drink { grid-template-columns: 1fr; }
  .drink-pic { grid-column: 1; grid-row: 1; width: 100%; }
  .drink-photo { width: 56%; }
  .drink-card { grid-column: 1; grid-row: 2; margin-top: calc(-1 * var(--space-4)); }
  .sp-head { display: block; }
  .print-special { width: 70%; margin-top: var(--space-4); }
  .cards { grid-template-columns: 1fr; }
  .card-b { grid-row: auto; }
  .about { padding: 0 var(--space-1); }
  .ab-panel { padding: var(--space-6) calc(var(--m) - var(--space-1)) 0; }
  .ab-blocks { grid-template-columns: 1fr; gap: var(--space-3); }
  .ab-pics { min-height: 420px; }
  .ab-arch { width: 60%; left: 34%; }
  .ab-building { width: 42%; left: 0; top: 2%; }
  .ani-pic { grid-column: 1 / 13; width: 92%; justify-self: center; }
  .ani-text { grid-column: 1 / 13; margin-top: var(--space-5); }
  .frame { grid-column: 1 / 13; width: 92%; justify-self: center; }
  .thumbs { grid-column: 1 / 13; margin-top: var(--space-4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(.js) .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hours { font-size: var(--body); }
}

/* ---------- reduced motion: keep everything, drop the travel ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Shared frame and interaction states. No decorative entrance or hover movement. */
.hero-grid, .sigs, .specials, .ani, .community, .visit, .nav, .foot { padding-left: max(var(--m), calc((100% - 1312px) / 2)); padding-right: max(var(--m), calc((100% - 1312px) / 2)); }
.about { padding-left: max(var(--space-2), calc((100% - 1376px) / 2)); padding-right: max(var(--space-2), calc((100% - 1376px) / 2)); }
.btn, .nav ul a, .foot-links a, .cp-links a { min-height: 48px; display: inline-flex; align-items: center; }
.btn:hover { background: #e8c000; }
.btn-ink:hover { background: var(--field); }
.btn:active { opacity: .8; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 16px; padding: var(--space-2) var(--space-3); background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.gallery-status { grid-column: 1 / -1; margin-top: var(--space-2); min-height: 24px; font-size: var(--small); }
.thumbs button[aria-busy="true"] { opacity: .5; cursor: progress; }
.frame[aria-busy="true"] .frame-photo { opacity: .6; }
@media (max-width: 699px) { .nav { gap: var(--space-1); } .brand { font-size: 14px; padding: var(--space-1); } .brand img { width: 32px; } .nav ul { gap: 0; } .nav ul a { padding: var(--space-1); } }
@media (max-width: 359px) { :root { --display: 40px; } }

/* ---------- hero fits the first screen, even on short laptop windows ---------- */
@media (min-width: 1100px) {
  .hero { display: flex; flex-direction: column; min-height: 100svh; }
  .hero-grid { flex: 1; min-height: 0; padding-top: var(--space-2); padding-bottom: var(--space-6); }
  .hero h1 { font-size: min(var(--display), 12svh); }
  .hero-sub { margin-top: min(var(--space-5), 4svh); }
  .hero-act { margin-top: min(var(--space-5), 4svh); }
  /* the collage is sized by the window's height as well as its column */
  .collage { width: min(100%, calc((100svh - 176px) / 1.02)); justify-self: end; }
}

/* ---------- motion: lively, smooth, never in the way ----------
   Entrances run once. Loops are slow. Everything is transform and opacity,
   and all of it switches off under prefers-reduced-motion. */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes blink { 50% { opacity: .35; } }

@media (prefers-reduced-motion: no-preference) {
  /* hero: the words rise in turn, the sun blooms then keeps turning, the prints drift */
  .hero h1 span, .hero-sub, .hero-act { animation: rise .8s var(--ease) both; }
  .hero h1 span + span { animation-delay: .08s; }
  .hero-sub { animation-delay: .16s; }
  .hero-act { animation-delay: .24s; }
  .collage-sun { animation: pop 1.1s var(--ease) .1s both, spin 80s linear 1.2s infinite; }
  .print-main { animation: pop .9s var(--ease) .2s both; }
  .print-pandan { animation: rise .9s var(--ease) .4s both, float 6s ease-in-out 1.4s infinite; }
  .print-straw { animation: rise .9s var(--ease) .5s both, float 7s ease-in-out 2.2s infinite; }
  .nav { animation: rise .6s var(--ease) both; }

  /* scroll entrances: added by script, each part of a section in turn */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* signatures: the sun turns, the drink steps forward, its layers stack up */
  .drink-sun { animation: spin 70s linear infinite; }
  .js .stage.is-live .drink .drink-photo { scale: .92; translate: 0 16px; transition: scale .6s var(--ease), translate .6s var(--ease); }
  .js .stage.is-live .drink.is-on .drink-photo { scale: 1; translate: 0 0; }
  .js .stage.is-live .drink .drink-card { translate: 0 20px; transition: translate .55s var(--ease) .08s, opacity .4s var(--ease); }
  .js .stage.is-live .drink.is-on .drink-card { translate: 0 0; }
  .js .stage.is-live .drink.is-on .layers li { animation: rise .45s var(--ease) both; animation-delay: calc(.2s + var(--k, 0) * 70ms); }
  .choices span { transition: translate .25s var(--ease); }
  .choices a:hover span { translate: 4px 0; }

  /* unang ani: the bag breathes */
  .ani-photo { animation: float 6s ease-in-out infinite; }
  .facts div { transition: translate .25s var(--ease), var(--t); }
  .facts div:hover { translate: 0 -2px; }

  /* community: photos zoom softly on hover, the frame cross-fades */
  .thumbs button img { transition: scale .45s var(--ease), opacity 180ms var(--ease); }
  .thumbs button:hover img { scale: 1.07; }
  .frame-photo { transition: opacity .3s var(--ease), scale .5s var(--ease); }
  .frame-photo.is-swapping { opacity: 0; scale: .97; }

  /* controls answer the pointer */
  .btn { transition: translate .2s var(--ease), scale .15s var(--ease), var(--t); }
  .btn:hover { translate: 0 -2px; }
  .btn:active { scale: .97; }
  .cp-links a, .foot-links a { transition: translate .2s var(--ease), var(--t); }
  .cp-links a:hover, .foot-links a:hover { translate: 0 -2px; }
  .status.is-open::before { animation: blink 2.4s ease-in-out infinite; }

  /* footer: the sun rises gently */
  .foot-sun { animation: float 7s ease-in-out infinite; }
}

/* ---------- full menu board ---------- */
.board { background: var(--lime); padding: var(--section) max(var(--m), calc((100% - 1312px) / 2)); }
.board-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.board-intro h2 { grid-column: 1 / 8; }
.board-intro p { grid-column: 8 / 13; }
.board-groups { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.board-group { background: var(--paper); border-radius: var(--r); padding: var(--space-4); }
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-2); margin-bottom: var(--space-3); }
.board-note { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.board-note span { font-size: var(--small); font-weight: 500; background: var(--lime); border-radius: var(--pill); padding: 0 var(--space-2); line-height: 32px; }
.board-note strong, .card-note strong { font-weight: 700; color: var(--ink); font-size: 1.15em; margin-left: 2px; }
.board-group li + li { margin-top: var(--space-2); }
.board-group .row, .card .row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.board-group .row strong { font-size: var(--body); line-height: 1.25; }
.board-group li p:not(.row) { margin-top: 4px; font-size: var(--small); line-height: 1.45; color: var(--muted); }
.price-tag { flex: none; font-weight: 700; font-size: var(--small); }
.price-tag.sold, .sold-tag, .card li.is-sold-out .row span { background: var(--pink); color: var(--ink); border-radius: var(--pill); padding: 0 var(--space-1); font-weight: 700; font-size: var(--small); }
.board-group li.is-sold-out strong, .card li.is-sold-out strong { opacity: .6; }
.sigs-head > p a { color: inherit; font-weight: 700; }

/* ---------- small states the dashboard can switch on ---------- */
.card-note { margin: calc(-1 * var(--space-1)) 0 var(--space-2); font-size: var(--small); font-weight: 500; color: var(--muted); }
.sold-tag { display: inline-block; margin-top: var(--space-1); }
.choices a.is-sold-out small { background: var(--pink); color: var(--ink); border-radius: var(--pill); padding: 0 var(--space-1); }
.facts [data-stock].is-in { background: var(--lime-2); }
.announce { background: var(--ink); color: var(--paper); text-align: center; padding: var(--space-1) var(--m); font-weight: 500; font-size: var(--small); line-height: 1.5; }
.announce[hidden] { display: none; }
@media (max-width: 1099px) {
  .board-intro h2, .board-intro p { grid-column: 1 / 13; }
  .board-intro p { margin-top: var(--space-3); }
}
@media (max-width: 699px) {
  .board { padding-left: var(--m); padding-right: var(--m); }
  .board-groups { grid-template-columns: 1fr; margin-top: var(--space-5); }
  .board-group { padding: var(--space-3); }
}
