/*
  Layout: the page reads like the cup from the top down. A teal lid (hero)
  drips milk into the rest of the page; below it everything is quiet,
  left-aligned, and set on milk white. The drip is the one bold moment.
*/
:root {
  --teal: #35a4ab;      /* the cup, sampled from the logo files */
  --teal-ink: #0b4a52;  /* text, deep teal instead of black */
  --milk: #fffdf8;      /* page ground */
  --sponge: #f2c46b;    /* golden cake, used for numerals and highlights */
  --cherry: #db182d;    /* the cherry on the é, reserved for order buttons */
  --soak: #f4ecdd;      /* soaked-sponge tint for quiet bands */

  --font-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 7vw, 3.2rem);
  --step-4: clamp(3rem, 13vw, 6.5rem);

  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sponge); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.15; }
p { margin: 0; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.block { padding-block: 64px; display: grid; gap: 28px; }
@media (min-width: 820px) { .block { padding-block: 96px; } }
.lede { font-size: var(--step-1); line-height: 1.45; }

/* Logo */
.wordmark { display: inline-block; text-decoration: none; }
.wordmark img { height: 44px; width: auto; }
.site-footer .wordmark img { height: 52px; }

/* Header */
.site-header { background: var(--teal); color: var(--milk); position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.nav { display: flex; align-items: center; gap: 20px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sponge); }
.nav .wide { display: none; }
@media (min-width: 720px) { .nav .wide { display: inline; } }

/* Buttons: cherry only for ordering, outlines for everything else */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding-inline: 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1;
  text-decoration: none; border: 2.5px solid transparent;
}
.btn-order { background: var(--cherry); color: #fff; }
.btn-order:hover { background: #b9131f; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the lid of the cup, with milk dripping off it */
.hero { background: var(--teal); color: var(--milk); position: relative; overflow: hidden; }
.hero-cup img { width: 100%; }
.hero .wrap { display: grid; gap: 32px; padding-block: 24px 0; align-items: end; }
.hero h1 { font-size: var(--step-4); line-height: .86; letter-spacing: -.03em; }
.hero .lede { margin-top: 20px; max-width: 30ch; }
.hero .copy, .menu-head .copy { padding-bottom: 72px; }
@media (min-width: 860px) { .hero .copy, .menu-head .copy { padding-bottom: 110px; } }
.hero .actions { margin-top: 28px; }
.hero-cup {
  /* the photo's backdrop is the brand teal, so no frame; its bottom edge tucks under the milk drip */
  width: min(100%, 540px); justify-self: center; align-self: end; position: relative; z-index: 0;
}
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: .9fr 1.1fr; gap: 24px; padding-block: 40px 0; }
  .hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); }
  .hero-cup { width: 100%; max-width: 680px; justify-self: end; margin-bottom: -40px; }
}
.drip { display: block; width: 100%; height: 56px; color: var(--milk); position: relative; z-index: 1; margin-top: -56px; }
@media (min-width: 860px) { .drip { height: 110px; margin-top: -110px; } }

/* Flavor rail: the cups side by side, like on the market table */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
@media (min-width: 720px) { .rail { overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); } }
.rail figure { margin: 0; scroll-snap-align: start; display: grid; gap: 10px; }
.rail img { border-radius: 22px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.rail figcaption { display: grid; gap: 2px; }
.rail figcaption strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; line-height: 1.1; }
.rail figcaption span { font-size: var(--step--1); }
.flag { color: var(--cherry); font-weight: 700; }

/* Pre-order: a real sequence, so it gets numbers */
.soak { background: var(--soak); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; counter-increment: step; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: .8; color: var(--sponge);
  -webkit-text-stroke: 2px var(--teal-ink);
}
.steps p { font-size: var(--step--1); }
.note { font-size: var(--step--1); }

/* The week: market days marked on a seven-day strip */
.booth { border-radius: 28px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 640px; }
.day {
  border-radius: 14px; padding: 10px 4px; text-align: center; font-weight: 700; font-size: var(--step--1);
  background: var(--soak); color: rgba(11,74,82,.55);
}
.day.on { background: var(--teal); color: var(--milk); }
.markets { display: grid; gap: 22px; align-items: start; }
@media (min-width: 720px) { .markets { grid-template-columns: repeat(2, 1fr); gap: 28px 48px; } }
.market { display: grid; gap: 4px; padding-top: 14px; border-top: 3px solid var(--teal); }
.market { gap: 10px; }
.sched { margin: 0; display: grid; gap: 8px; }
.sched div { display: grid; gap: 0; }
.sched dt { font-size: var(--step--1); color: rgba(11,74,82,.7); }
.sched dd { margin: 0; font-weight: 700; color: var(--teal); }

/* Trays */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.split img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.split .copy { display: grid; gap: 18px; }

/* Menu board */
.menu-head { background: var(--teal); color: var(--milk); }
.menu-head .wrap { padding-top: 40px; display: grid; gap: 14px; }
.menu-head h1 { font-size: var(--step-4); line-height: .86; letter-spacing: -.03em; }
.board { list-style: none; margin: 0; padding: 0; display: grid; }
.board li { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 16px; align-items: center; padding-block: 16px; border-bottom: 2px dotted rgba(11,74,82,.25); }
.board li:first-child { border-top: 2px dotted rgba(11,74,82,.25); }
.board .thumb { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; grid-row: span 2; }
.board .dot { width: 64px; height: 64px; border-radius: 16px; background: var(--soak); grid-row: span 2; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--teal); }
.board h3 { font-size: var(--step-1); align-self: end; }
.board p { grid-column: 2; font-size: var(--step--1); align-self: start; }
.board .price { grid-column: 3; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.board-cols { display: grid; gap: 48px; }
@media (min-width: 900px) { .board-cols { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }
.aside { display: grid; gap: 14px; }
.aside .box { background: var(--soak); border-radius: 22px; padding: 22px; display: grid; gap: 10px; }

/* Footer */
.site-footer { background: var(--teal-ink); color: var(--milk); padding-block: 48px 32px; }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .fine { grid-column: 1 / -1; font-size: .8rem; opacity: .75; }

/* Phone order bar */
.order-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--milk); border-top: 2px solid var(--soak);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.order-bar p { font-weight: 700; font-size: var(--step--1); line-height: 1.3; }
.order-bar .btn { min-height: 44px; font-size: 1.05rem; white-space: nowrap; flex-shrink: 0; }
body { padding-bottom: 72px; }
@media (min-width: 820px) { .order-bar { display: none; } body { padding-bottom: 0; } }

/* About: one pull quote from Natali, set big on the soak band */
.quote { margin: 0; display: grid; gap: 16px; max-width: 820px; padding-left: 22px; border-left: 6px solid var(--sponge); }
.quote p { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); line-height: 1.15; max-width: none; }
@media (min-width: 820px) { .quote p { font-size: 2.2rem; } }
.quote footer { font-weight: 700; color: var(--teal); }
.split img.portrait { aspect-ratio: 4 / 5; object-position: 50% 20%; max-width: 460px; justify-self: center; }

/* FAQ: plain disclosure rows, same teal rule as the market list */
.faq { display: grid; max-width: 760px; }
.qa { border-top: 3px solid var(--teal); }
.qa:last-child { border-bottom: 3px solid var(--teal); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 18px; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--teal); flex-shrink: 0; }
.qa[open] summary::after { content: "–"; }
.qa > div { padding-bottom: 20px; display: grid; gap: 10px; }
