/* ==========================================================================
   Ú Ụ Milk Tea — one page
   Shape rule: pill for buttons / chips / tabs, 20px for cards & images.
   Palette rule: mint is the accent, pink is the supporting brand colour,
   used consistently on every section in both colour modes.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #F5F5EA;
  --surface: #FFFDF8;
  --tint-mint: #DCF5EA;
  --tint-pink: #FCE6ED;
  --ink: #17241F;
  --ink-2: #4C5D57;
  --line: #D7E5DF;
  --accent: #6FCFB2;
  --accent-strong: #0A7259;
  --on-accent: #F7F8F0;
  --pink: #F794B0;
  --pink-strong: #C0325B;
  --on-pink: #FFF7F9;
  --chip: rgba(23, 36, 31, .07);

  --shadow-sm: 0 14px 30px -18px rgba(10, 114, 89, .45);
  --shadow: 0 28px 60px -30px rgba(10, 114, 89, .4);

  --nav-h: 68px;
  --wrap: 1240px;
  --radius: 20px;

  --font-display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* The brand is pastel by definition — the site stays bright in both OS
   modes, matching the shop's own banners. No dark palette. */

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent-strong);
  color: var(--on-accent);
  padding: .6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: .75rem; }

/* ------------------------------------------------------------ layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.wrap--narrow { max-width: 1000px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mint { background: var(--tint-mint); }
.section--pink { background: var(--tint-pink); }

.sec-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.sec-head h2,
.contact__info h2 {
  font: 800 clamp(1.85rem, 3.6vw, 2.7rem)/1.1 var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
}

.sec-sub {
  margin: .85rem 0 0;
  color: var(--ink-2);
  max-width: 62ch;
}

.eyebrow {
  font: 700 .72rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 .9rem;
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn--sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .875rem; }

.btn--primary { background: var(--accent-strong); color: var(--on-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--primary:active { transform: translateY(0) scale(.98); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--ghost:active { transform: scale(.98); }

.link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap .18s ease;
}
.link:hover { gap: .7rem; }

/* ---------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 40px; height: 40px; border-radius: 50%; }
.brand__name {
  font: 800 1.15rem/1 var(--font-display);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand__name i { font-style: normal; color: var(--pink-strong); }

.nav__links { display: none; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav__links a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .18s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); }

.nav__cta { display: none; }

.nav__toggle {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle .ic { width: 22px; height: 22px; }

.nav__panel {
  display: grid;
  gap: .35rem;
  padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.35rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav__panel[hidden] { display: none; }
.nav__panel a:not(.btn) {
  padding: .75rem .25rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav__panel .btn { margin-top: .85rem; justify-self: start; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__panel { display: none !important; }
  .brand { margin-right: 0; }
  .nav__inner { justify-content: flex-start; }
  .nav__links { margin-left: auto; }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-block: clamp(2.25rem, 5vh, 5rem) clamp(3rem, 7vh, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font: 800 clamp(2.4rem, 6.2vw, 4rem)/1.04 var(--font-display);
  letter-spacing: -.015em;
  margin: 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.07em; }

.hero__sub {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ink-2);
  max-width: 46ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero__visual { position: relative; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -12% -6%;
  background: radial-gradient(60% 55% at 55% 45%, var(--tint-mint), transparent 70%);
  border-radius: 40px;
  z-index: 0;
}
.hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 540px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hero__badge {
  position: absolute;
  z-index: 2;
  left: max(0px, 4%);
  bottom: -22px;
  width: clamp(92px, 22%, 132px);
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* ----------------------------------------------------------- marquee -- */

.marquee {
  background: var(--accent-strong);
  color: var(--on-accent);
  overflow: hidden;
  padding-block: .8rem;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
}
.marquee__group span {
  font: 700 clamp(1.05rem, 2vw, 1.4rem)/1 var(--font-display);
  white-space: nowrap;
}
.marquee__group i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}

/* -------------------------------------------------------------- bento -- */

.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.cell {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cell img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.cell figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  font: 600 .95rem/1.35 var(--font-body);
  color: #FFFDF7;
  background: linear-gradient(to top, rgba(18, 14, 11, .78), rgba(18, 14, 11, 0));
}

.cell--note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--tint-mint);
  border-color: transparent;
}
.cell__num {
  margin: 0;
  font: 800 clamp(3rem, 7vw, 4.25rem)/1 var(--font-display);
  color: var(--accent-strong);
}
.cell__label { margin: 0; color: var(--ink-2); max-width: 34ch; }
.cell__label strong { color: var(--ink); }
.cell--note .link { margin-top: .6rem; align-self: flex-start; font-size: .95rem; }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); }
  .cell--tall { grid-column: span 2; grid-row: span 2; }
  .cell--note { grid-column: span 2; }
}

/* --------------------------------------------------------------- menu -- */

.tabs {
  display: flex;
  gap: .3rem;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .6rem 1.1rem;
  font: 600 .92rem/1 var(--font-body);
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color .2s ease, color .2s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--accent-strong); color: var(--on-accent); }

.panel[hidden] { display: none; }

.price-head,
.price-row {
  display: grid;
  grid-template-columns: 1fr 62px 62px;
  align-items: center;
  gap: .5rem;
  padding-inline: clamp(.75rem, 2vw, 1.15rem);
}

.price-head {
  padding-block: .9rem .55rem;
  font: 700 .7rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.price-head span:not(:first-child),
.price-row span:not(.price-name) { text-align: right; }

.price-list {
  list-style: none;
  margin: 0;
  padding: 0 clamp(.4rem, 1.5vw, .75rem) clamp(.5rem, 1.5vw, .85rem);
}

.price-row {
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
}
.price-list .price-row:last-child { border-bottom: 0; }
.price-name { font-weight: 500; padding-right: .5rem; }
.price-m,
.price-l {
  font-weight: 700;
  color: var(--pink-strong);
  font-variant-numeric: tabular-nums;
}
.price-row.is-feature {
  background: var(--tint-pink);
  border-radius: 14px;
  border-bottom: 0;
  margin-block: .4rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pink) 45%, transparent);
}

.top-groups { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.top-group__title {
  margin: 0 0 .85rem;
  font: 700 1.1rem/1.2 var(--font-display);
}
.top-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: .6rem;
}
.top-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .8rem .95rem;
}
.top-name { font-size: .95rem; font-weight: 500; }
.price-chip {
  flex: none;
  background: color-mix(in srgb, var(--accent) 24%, var(--surface));
  color: var(--accent-strong);
  border-radius: 999px;
  padding: .3rem .7rem;
  font: 700 .8rem/1.2 var(--font-body);
  white-space: nowrap;
}

.menu-board { margin-top: 1.75rem; display: grid; gap: 1rem; justify-items: start; }
.menu-board__fig { margin: 0; width: 100%; }
.menu-board__fig[hidden] { display: none; }
.menu-board__fig img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------- promos -- */

.promos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.promo { margin: 0; }
.promo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------ contact -- */

.contact { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }

.facts {
  list-style: none;
  margin: 1.75rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}
.facts li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .85rem;
  align-items: start;
}
.facts .ic { width: 22px; height: 22px; color: var(--accent-strong); margin-top: 2px; }
.facts a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.facts a:hover { border-bottom-color: currentColor; }

.order {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.order__title { margin: 0 0 1.1rem; font: 700 1.2rem/1.2 var(--font-display); }

.ship { margin-top: 1.35rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.ship__title {
  margin: 0 0 .8rem;
  font: 700 .72rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ship__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ship__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: .92rem;
}
.ship__list span { color: var(--ink-2); }
.ship__list b { font-weight: 700; color: var(--accent-strong); text-align: right; }
.ship__list li:first-child b { color: var(--pink-strong); }

.order__row {
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-items: center;
  padding-block: .8rem;
  text-decoration: none;
  transition: transform .18s ease;
}
.order__row + .order__row { border-top: 1px solid var(--line); }
.order__row:hover { transform: translateX(4px); }

.order__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--chip);
}
.order__icon .ic { width: 24px; height: 24px; }
.order__label { grid-column: 2; grid-row: 1; font-weight: 600; }
.order__hint { grid-column: 2; grid-row: 2; font-size: .85rem; color: var(--ink-2); }
.order__go { grid-column: 3; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ink-2); }

@media (min-width: 900px) {
  .contact { grid-template-columns: 1.12fr .88fr; align-items: start; }
}

/* ------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__name { margin: 0; font: 700 1.05rem/1.2 var(--font-display); }
.footer__addr { margin: .15rem 0 0; font-size: .875rem; color: var(--ink-2); }
.footer__copy { margin: 0; font-size: .85rem; color: var(--ink-2); }

/* ----------------------------------------------------- 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;
  }
}
