/* Sunbrew Cafe. Tokens follow brief 02, section 3. Values marked "check" are stand-ins until brief 02 is applied. */

@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;

  --cream: #FBF4E6;      /* check */
  --sand: #F1E5CC;       /* check */
  --ink: #1F1A14;        /* check */
  --ink-soft: #4A4138;   /* check */
  --yellow: #F4B841;     /* CTAs */
  --clay-deep: #954823;  /* links */
  --clay: #C8693A;       /* button shadow on ink */
  --line: #E2D3B5;       /* check */
  --on-ink: #FBF4E6;
  --on-ink-soft: #D9CDB8;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --max: 1440px;
  --gutter: clamp(20px, 3vw, 48px);
  --ease: 150ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 var(--s-4); text-wrap: balance; }
/* Big, heavy, tightly set headings carry the personality. Body text stays at a comfortable reading size. */
h1 { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin-bottom: var(--s-5); }
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--s-5); }
h3 { font-size: 1.125rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 500; }
p { margin: 0 0 var(--s-4); }
address { font-style: normal; }
a { color: var(--clay-deep); text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
abbr[title] { text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: var(--s-3) var(--s-4); border-radius: var(--radius-pill); }
.skip-link:focus { top: var(--s-4); color: var(--on-ink); }
main:focus { outline: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font: 700 1rem/1 var(--font-display); text-decoration: none; white-space: nowrap;
  --shadow: var(--ink);
  box-shadow: 0 4px 0 var(--shadow);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
/* Stamp buttons: a solid offset shadow that presses down on hover and click. */
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--shadow); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--shadow); }
.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-primary { border-color: var(--ink); }
.btn-primary:hover { background: var(--yellow); color: var(--ink); }
/* Yellow appears once per screen: the header button on desktop, the sticky bar on mobile. Order buttons in the page use ink. */
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); --shadow: var(--clay-deep); }
.btn-dark:hover { background: var(--ink); color: var(--cream); }
/* Cream button for ink panels, keeping yellow for the header and sticky bar. */
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); --shadow: var(--clay); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--sand); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.logomark { width: 55px; height: 48px; }
.logo { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--ink); text-decoration: none; font: 500 1rem/1 var(--font-display); border-radius: var(--radius-pill);
}
.site-nav a:hover { color: var(--clay-deep); }
.site-nav a[aria-current="page"], .site-nav a.is-section { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }


/* Hero */
.hero { padding: var(--s-7) 0 var(--s-8); overflow: hidden; }
#favourites { scroll-margin-top: var(--s-4); }
.hero .lede { margin-bottom: 0; }
.hero-inner { display: flex; flex-direction: column; }
.hero-photo { position: relative; margin-top: var(--s-7); }
/* Curved photo with a butter-coloured copy of the shape offset behind it, like a glow. */
.hero-photo::before { content: ""; position: absolute; inset: 0; transform: translate(-14px, 14px); background: #F3DB9C; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M10 3 C30 0 66 4 88 2 C98 2 100 10 99 30 C98 52 100 74 97 88 C94 98 80 95 62 97 S28 101 14 98 C3 96 0 86 1 66 C2 44 0 22 2 12 C3 6 6 4 10 3 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M10 3 C30 0 66 4 88 2 C98 2 100 10 99 30 C98 52 100 74 97 88 C94 98 80 95 62 97 S28 101 14 98 C3 96 0 86 1 66 C2 44 0 22 2 12 C3 6 6 4 10 3 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.hero-photo .photo, .hero-photo .photo-placeholder { position: relative; border-radius: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M10 3 C30 0 66 4 88 2 C98 2 100 10 99 30 C98 52 100 74 97 88 C94 98 80 95 62 97 S28 101 14 98 C3 96 0 86 1 66 C2 44 0 22 2 12 C3 6 6 4 10 3 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M10 3 C30 0 66 4 88 2 C98 2 100 10 99 30 C98 52 100 74 97 88 C94 98 80 95 62 97 S28 101 14 98 C3 96 0 86 1 66 C2 44 0 22 2 12 C3 6 6 4 10 3 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
@media (min-width: 900px) {
  /* Fill the first screen (less the header) so the scroll cue sits at the fold. */
  .hero { display: flex; flex-direction: column; min-height: calc(100svh - 73px); padding: var(--s-5) 0 var(--s-3); }
  /* Text and photo side by side, centred against each other in the space above the scroll cue. */
  .hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
  .hero-photo { margin: 0; height: clamp(420px, min(38vw, 66svh), 680px); }
  .hero-photo::before { transform: translate(-22px, 22px); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M34 0 H84 C95 0 100 6 100 18 V78 C100 90 96 95 86 96 C76 97 70 94 58 96 S36 101 24 98 C10 95 3 86 2 70 C1 50 8 30 18 14 C23 6 28 0 34 0 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M34 0 H84 C95 0 100 6 100 18 V78 C100 90 96 95 86 96 C76 97 70 94 58 96 S36 101 24 98 C10 95 3 86 2 70 C1 50 8 30 18 14 C23 6 28 0 34 0 Z'/%3E%3C/svg%3E"); }
  .hero-photo .photo, .hero-photo .photo-placeholder { width: 100%; height: 100%; aspect-ratio: auto !important; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M34 0 H84 C95 0 100 6 100 18 V78 C100 90 96 95 86 96 C76 97 70 94 58 96 S36 101 24 98 C10 95 3 86 2 70 C1 50 8 30 18 14 C23 6 28 0 34 0 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M34 0 H84 C95 0 100 6 100 18 V78 C100 90 96 95 86 96 C76 97 70 94 58 96 S36 101 24 98 C10 95 3 86 2 70 C1 50 8 30 18 14 C23 6 28 0 34 0 Z'/%3E%3C/svg%3E"); }
  /* On short laptop screens the headline gives a little so the buttons and scroll cue stay above the fold. */
  .hero h1 { font-size: min(clamp(2.5rem, 1.5rem + 4.6vw, 5.25rem), 9svh); }
  .hero .btn-row { margin-top: var(--s-5); }
}
/* Scroll cue: a quiet prompt at the bottom of the hero on wide screens. */
.scroll-cue {
  display: none; flex-direction: column; align-items: center; gap: var(--s-1); align-self: center;
  margin-top: auto; padding: var(--s-2) var(--s-4); min-height: 44px;
  color: var(--ink-soft); text-decoration: none; font: 600 0.875rem/1 var(--font-display); letter-spacing: 0.04em;
}
.scroll-cue:hover { color: var(--clay-deep); }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.lede { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); color: var(--ink-soft); max-width: 34em; }

/* Photos */
.eyebrow { font: 700 1rem/1.3 var(--font-display); color: var(--clay-deep); margin-bottom: var(--s-4); }
.photo { display: block; overflow: hidden; border-radius: var(--radius-card); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; border-radius: var(--radius-card);
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #EDDFC2 14px 28px);
  display: grid; place-items: center; color: var(--ink-soft); font: 500 0.875rem/1.3 var(--font-display); text-align: center; padding: var(--s-4);
}

/* Facts strip */
.facts { border-block: 1px solid var(--line); }
.facts-list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-6); padding-block: var(--s-5); font: 600 1.0625rem/1.4 var(--font-display); }
.facts-list li { display: flex; align-items: center; gap: var(--s-3); }
.fact-icon { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--clay-deep); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 719px) {
  .facts-list { flex-direction: column; align-items: flex-start; width: fit-content; }
}

/* Sections */
.section { padding: var(--s-8) 0; }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink a { color: var(--yellow); }
.section-sand { background: var(--sand); }
.section-intro { color: var(--ink-soft); }
.section-ink .section-intro { color: var(--on-ink-soft); }
.section-cta { margin-top: var(--s-5); }
.two-col { display: grid; gap: var(--s-6); align-items: center; }
.two-col-top { align-items: start; }
.prose { max-width: 40em; }
.prose h2:not(:first-child) { margin-top: var(--s-6); }
.prose h3 { margin: var(--s-6) 0 var(--s-2); }
.source { font-size: 0.9375rem; color: var(--ink-soft); }
.page-head { padding: var(--s-7) 0 var(--s-5); }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.card .photo-placeholder, .card .photo { border-radius: 0; }
.card-body { padding: var(--s-4) var(--s-4) var(--s-2); }
.card-title { display: flex; justify-content: space-between; gap: var(--s-3); font-size: 1.0625rem; margin-bottom: var(--s-2); }
.card-body p { font-size: 0.9375rem; color: var(--ink-soft); }
.price { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
/* Home Favourites: big photos without a card box, so the food leads. */
/* Two across on phones, four across from tablet up, so dish photos always sit smaller than the hero photo. */
.cards-feature { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
.cards-feature .card { background: none; border: 0; overflow: visible; }
.cards-feature .card .photo, .cards-feature .card .photo-placeholder { border-radius: var(--radius-card); }
.cards-feature .card-body { padding: var(--s-3) 0 0; }
.cards-feature .card-title { flex-direction: column; gap: 2px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em; }
.cards-feature .card-body p { font-size: 0.9375rem; }
@media (min-width: 720px) { .cards-feature { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

/* Partners: three per row. */

/* Reviews */
/* Reviews carousel: a sideways-scrolling row that snaps to each card. Four fit on a laptop, about one and a bit on a phone. */
.reviews {
  list-style: none; margin: 0; padding: 0 0 var(--s-3);
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: var(--s-4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews > li { scroll-snap-align: start; }
@media (min-width: 720px) { .reviews { grid-auto-columns: calc((100% - var(--s-5)) / 2); gap: var(--s-5); } }
@media (min-width: 1100px) { .reviews { grid-auto-columns: calc((100% - var(--s-5) * 3) / 4); } }
.carousel { position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: var(--s-2); margin: calc(-1 * var(--s-4)) 0 var(--s-4); }
.carousel-controls[hidden] { display: none; }
.carousel-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 3px 0 var(--ink); transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
}
.carousel-btn svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; transform: none; box-shadow: 0 3px 0 var(--ink); }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-5); height: 100%; }
.review-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.review-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font: 600 1.125rem/1 var(--font-display); color: var(--on-ink); background: var(--clay-deep); }
.review-avatar-1 { background: #5B6B3A; }
.review-avatar-2 { background: #2F5D6B; }
.review-avatar-3 { background: #7A4A6B; }
.review-who { display: flex; flex-direction: column; min-width: 0; }
.review-author { font: 600 1rem/1.3 var(--font-display); color: var(--ink); }
.review-source { font-size: 0.875rem; color: var(--ink-soft); }
.review-stars { display: flex; gap: 2px; margin: 0 0 var(--s-3); color: var(--yellow); }
.review-stars .is-empty { color: var(--line); }

.review-quote { margin: 0; font-size: 1.0625rem; }
.review-quote p { margin: 0; }

/* Hours */
.hours { margin: 0 0 var(--s-4); }
.hours div { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); }
.hours dt { font-weight: 600; }
.hours dt::after { content: ":"; }
.hours dd { margin: 0; }
.hours-table { border-collapse: collapse; width: 100%; margin-bottom: var(--s-4); }
.hours-table th, .hours-table td { text-align: left; padding: var(--s-3) var(--s-2) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.hours-table thead th { font: 600 0.8125rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

/* Menu */
.diet-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0 0; font-size: 0.9375rem; }
.diet-key div { display: flex; gap: var(--s-2); align-items: center; }
.diet-key dd { margin: 0; }
.menu-jump ul { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.menu-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); font: 500 0.9375rem/1 var(--font-display); background: #fff; }
.menu-jump a:hover { border-color: var(--ink); }
.menu { padding-bottom: var(--s-8); }
.menu-section { padding-top: var(--s-7); scroll-margin-top: var(--s-4); }
.menu-section > h2 { padding-bottom: var(--s-3); border-bottom: 3px solid var(--ink); }
.section-note { font: 500 1rem/1 var(--font-body); color: var(--ink-soft); margin-left: var(--s-2); }
.drinks-h { margin-top: var(--s-6); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--s-7); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dish { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.dish-name { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin: 0 0 var(--s-1); font-size: 1.0625rem; font-weight: 600; }
.dish-copy { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.addon { white-space: nowrap; font-weight: 500; color: var(--ink); }
.tags { margin: var(--s-2) 0 0; display: flex; gap: var(--s-1); }
.tag, .diet-key abbr { display: inline-block; min-width: 2.2em; text-align: center; padding: 1px var(--s-2); border: 1px solid var(--ink-soft); border-radius: var(--radius-pill); font: 600 0.75rem/1.5 var(--font-display); color: var(--ink); }
.menu-section-compact .dishes { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.menu-section-compact .dish { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 var(--s-3); }
.menu-section-compact .dish-name { flex: 1; }
.menu-foot { margin-top: var(--s-7); padding: var(--s-6) var(--s-7); border-radius: var(--radius-card); background: var(--ink); color: var(--on-ink); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.menu-foot p { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: var(--s-3) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.5rem/1 var(--font-display); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary h3 { margin: 0; font-size: 1.0625rem; }
.faq details p { color: var(--ink-soft); }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list a { display: inline-flex; min-height: 44px; align-items: center; font: 600 1.125rem/1 var(--font-display); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding: var(--s-8) 0 calc(var(--s-6) + 80px); font-size: 0.9375rem; }
.site-footer a { color: var(--on-ink); }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-h { font: 600 0.8125rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-ink-soft); margin-bottom: var(--s-4); }
.footer-grid p { margin: 0 0 var(--s-2); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-grid address a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-grid address p { margin: 0; }
.lockup { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-bottom: var(--s-4); }
.footer-ack { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid #3A332B; color: var(--on-ink-soft); }
.footer-ack p { margin: 0; }
.footer-ack .footer-copy { margin-top: var(--s-3); }
.footer-ack .footer-acknowledgement { font-style: italic; }

/* Mobile sticky bar */
.sticky-bar {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: var(--cream); border-top: 1px solid var(--line);
}
.sticky-bar .btn { width: 100%; }

@media (max-width: 719px) {
  .header-order { display: none; }
  .header-inner { gap: var(--s-2); }
  .site-nav a { padding: 0 var(--s-2); font-size: 0.9375rem; }
}
@media (min-width: 720px) {
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: var(--s-6); }
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.site-footer .hours div { display: block; margin-bottom: var(--s-2); }
.site-footer .hours dt::after { content: ""; }

.page-head + .section { padding-top: var(--s-5); }

.banner .photo img { object-position: center 60%; }
.banner { padding-bottom: var(--s-8); }
.section:has(+ .banner) { padding-bottom: var(--s-7); }
@media (max-width: 719px) { .banner .photo, .banner .photo-placeholder { aspect-ratio: 4 / 3 !important; } }

/* Menu: suggestions and drinks */
.dish-suggestion { margin: var(--s-1) 0 0; font-size: 0.875rem; font-weight: 600; color: var(--clay-deep); }
.drink-groups { column-gap: var(--s-7); margin-top: var(--s-5); }
.drink-group { break-inside: avoid; padding-bottom: var(--s-6); }
@media (min-width: 720px) { .drink-groups { columns: 2; } }
@media (min-width: 1000px) { .drink-groups { columns: 3; } }
.drink-group .drinks-h { margin-top: 0; }
.drink-table { width: 100%; border-collapse: collapse; }
.drink-table th, .drink-table td { text-align: left; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.drink-table tbody th { font: 600 1rem/1.4 var(--font-display); padding-right: var(--s-3); }
.drink-table td { font: 600 1rem/1.4 var(--font-display); text-align: right; white-space: nowrap; width: 4.5em; }
.drink-table thead th { font: 600 0.75rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); text-align: right; }
.drink-copy { display: block; font: 400 0.875rem/1.5 var(--font-body); color: var(--ink-soft); margin-top: 2px; }
.menu-foot p { margin: 0; color: var(--on-ink-soft); font-size: 1.125rem; }
.menu-foot-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); margin: 0 0 var(--s-1); }
.menu-foot :focus-visible { outline-color: var(--yellow); }
@media (max-width: 719px) { .menu-foot { padding: var(--s-6) var(--s-5); } }
.page-head h1:last-child { margin-bottom: 0; }

.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-2); margin: calc(-1 * var(--s-2)) 0 var(--s-5); color: var(--ink-soft); }
.rating-summary strong { color: var(--ink); font-weight: 600; }
.rating-star { color: var(--yellow); flex: none; }
.rating-summary .text-link { margin-left: var(--s-2); }

/* Our story: the story reads as one column, with a column of photo slots beside it. */
.story-photos { display: grid; gap: var(--s-4); }
@media (min-width: 720px) { .two-col.story-intro, .two-col.story-food { grid-template-columns: 3fr 2fr; } }

/* Home drinks: Single O, then matcha, chai and tea, in one column beside a single larger photo. */
.drinks .prose h3 { margin-top: var(--s-6); }
.drinks .prose h2 + h3 { margin-top: var(--s-5); }
@media (min-width: 720px) { .two-col.drinks { grid-template-columns: 3fr 2fr; } }

/* Feedback page (/feedback): 0 to 10 score buttons, then a Google review step or a private feedback form. */
.feedback h1 { margin-bottom: var(--s-4); }
.feedback-step[hidden] { display: none; }
.feedback-step:focus { outline: none; }
.score-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-2); margin-top: var(--s-5); }
@media (min-width: 560px) { .score-grid { grid-template-columns: repeat(11, 1fr); } }
.score-btn {
  min-height: 52px; padding: 0; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink);
  font: 700 1.125rem/1 var(--font-display); box-shadow: 0 3px 0 var(--ink);
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease);
}
.score-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.score-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: 0 3px 0 var(--clay-deep); }
.score-scale { display: flex; justify-content: space-between; margin-top: var(--s-2); font-size: 0.875rem; color: var(--ink-soft); }
.feedback-step[data-step="high"], .feedback-step[data-step="low"], .feedback-step[data-step="sent"] { margin-top: var(--s-5); }
.feedback-form { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.feedback-form label { font: 600 1rem/1.3 var(--font-display); margin-top: var(--s-3); }
.feedback-form label:first-of-type { margin-top: 0; }
.feedback-form .optional { font: 400 0.9375rem/1.3 var(--font-body); color: var(--ink-soft); }
.feedback-form textarea, .feedback-form input {
  width: 100%; min-height: 48px; padding: var(--s-3); font: 400 1rem/1.5 var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--ink-soft); border-radius: 10px;
}
.feedback-form textarea { resize: vertical; }
.feedback-form textarea:focus, .feedback-form input:focus { outline: 3px solid var(--ink); outline-offset: 1px; }
.feedback-noscript { margin-top: var(--s-5); }
.feedback-error { margin: var(--s-3) 0 0; color: #9B2C1F; font-weight: 600; }

/* Reservation requests (/reservations): a booking-widget style card with pill choices, in the site's colours. */
.reserve .lede { margin-bottom: var(--s-6); }
.reserve-noscript { margin-bottom: var(--s-5); }
.reserve-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: var(--s-5) var(--s-4); box-shadow: 0 6px 24px rgba(31, 26, 20, 0.06);
}
@media (min-width: 720px) { .reserve-card { padding: var(--s-6) var(--s-7); } }
.reserve-card[hidden], .reserve-done[hidden] { display: none; }
.reserve-step { border: 0; margin: 0; padding: var(--s-6) 0; border-bottom: 1px solid var(--line); min-width: 0; }
.reserve-step:first-of-type { padding-top: 0; }
.reserve-step legend { float: left; width: 100%; margin-bottom: var(--s-3); font: 700 1.125rem/1.3 var(--font-display); }
.reserve-step legend + * { clear: both; }
.reserve-hint { margin: var(--s-3) 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
/* Phone numbers in these side notes stay tappable but match the note, so they don't compete with the form. */
.reserve-hint a { color: inherit; text-decoration-thickness: 1px; }
.reserve-hint a:hover { color: var(--ink); }
/* Same-day callout under the calendar: same sand box as the request notice, with a phone icon and a bold number. */
.reserve-callout { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-radius: 10px; background: var(--sand); font-size: 0.9375rem; }
.reserve-callout svg { flex: none; fill: none; stroke: var(--clay-deep); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.reserve-callout a { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Pills: radio buttons drawn as rounded buttons; the checked one fills with ink. */
.pill-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
@media (min-width: 560px) { .pill-row { grid-template-columns: repeat(9, 1fr); } }
.pill, .seat { position: relative; display: block; cursor: pointer; }
.pill input, .seat input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span, .seat span {
  display: grid; place-items: center; min-height: 48px; padding: var(--s-2);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 600 1rem/1.2 var(--font-display); color: var(--ink); text-align: center;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}
.pill:hover span, .seat:hover span { border-color: var(--ink); }
.pill input:checked + span, .seat input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill input:focus-visible + span, .seat input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Month calendar: Monday first; today, past days and days beyond the booking window are greyed out. */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.cal-month { margin: 0; font: 700 1.0625rem/1.2 var(--font-display); }
.cal-nav {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink);
}
.cal-nav svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-days { margin-bottom: var(--s-1); font: 600 0.8125rem/1 var(--font-display); color: var(--ink-soft); }
.cal-day { position: relative; display: block; cursor: pointer; }
.cal-day input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cal-day span {
  display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 52px; margin: 0 auto; border-radius: 50%;
  font: 600 1rem/1 var(--font-display); color: var(--ink); transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.cal-day:hover input:not(:disabled) + span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-day input:checked + span { background: var(--ink); color: var(--cream); }
.cal-day input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.cal-day input:disabled { cursor: default; }
.cal-day input:disabled + span { color: var(--ink-soft); opacity: 0.35; font-weight: 400; }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (min-width: 560px) { .time-grid { grid-template-columns: repeat(5, 1fr); } }
.time-grid .reserve-hint { grid-column: 1 / -1; margin: 0; }

.seat-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.seat span { min-height: 64px; }

.reserve-details { display: grid; gap: var(--s-2); }
.reserve-details legend { margin-bottom: var(--s-1); }
.reserve-details label { font: 600 1rem/1.3 var(--font-display); margin-top: var(--s-2); }
.reserve-details label:first-of-type { margin-top: 0; }
.reserve-details .optional { font: 400 0.9375rem/1.3 var(--font-body); color: var(--ink-soft); }
.reserve-details input, .reserve-details textarea {
  width: 100%; min-height: 48px; padding: var(--s-3); font: 400 1rem/1.5 var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--ink-soft); border-radius: 10px;
}
.reserve-details textarea { resize: vertical; }
.reserve-details input:focus, .reserve-details textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; }

.reserve-submit { padding-top: var(--s-6); }
.reserve-notice { margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: 10px; background: var(--sand); font-size: 0.9375rem; }
.reserve-submit .btn { width: 100%; }
@media (min-width: 720px) { .reserve-submit .btn { width: auto; } }
.reserve-done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-6); }
.reserve-done:focus { outline: none; }
.reserve-summary { font: 700 1.125rem/1.4 var(--font-display); }
