/* Sandbox Coffee Co. site styles
   Brand: Black #000, Gold #C0862A, White, Charcoal #333, Sand #E7DCCA, Concrete #BDBDBD. Montserrat. */

:root {
  --black: #0b0b0b;
  --ink: #161412;
  --gold: #c0862a;
  --gold-dark: #8a5f1c;      /* gold for text on light backgrounds (AA) */
  --gold-light: #e0a94e;
  --sand: #e7dcca;
  --sand-light: #f6f1e9;
  --charcoal: #333;
  --concrete: #bdbdbd;
  --white: #fff;
  --muted: #5f5a54;

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 8vw, 96px);
  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand-light); }
.section--dark { background: var(--black); color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: .75rem;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-light); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.section--dark .lead { color: #d8d2c8; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2a2622; }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: .6em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; color: var(--gold-dark); text-decoration: none; border-bottom: 2px solid currentColor; }
.section--dark .text-link { color: var(--gold-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #eee;
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: var(--ink);
}
.nav a:hover { background: var(--sand-light); }
.nav a[aria-current="page"] { color: var(--gold-dark); }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; border-radius: 10px;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s;
  }
  .menu-toggle span::before { position: absolute; top: -7px; }
  .menu-toggle span::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); border-bottom: 1px solid #eee;
    display: none; margin: 0; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 14px 8px; font-size: 1.1rem; border-radius: 8px; }
  .header-cta { display: none; }
}

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--black); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
    color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 700; border-radius: 10px;
  }
  .action-bar a.primary { background: var(--gold); color: var(--black); }
  .action-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } /* bar is 68px plus the iPhone home-indicator area */
}

/* Hero */
/* Warm espresso backdrop instead of flat black, so the real photo sits in the scene rather than on a void. */
.hero { position: relative; color: var(--white); overflow: hidden;
  background: radial-gradient(90% 120% at 82% 45%, #4a2e1b 0%, #2a1a10 42%, #160e09 75%, #0f0a07 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 169, 78, .45), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px, 4vw, 56px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { color: #e2dbd0; margin-bottom: 28px; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 540px; justify-self: end; width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(224, 169, 78, .18); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(22, 14, 9, .35)); pointer-events: none; }
.hero-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #f1e9dc; font-size: .88rem; font-weight: 600; text-decoration: none; }
.hero-jump a:hover { background: rgba(255, 255, 255, .14); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub { margin-top: 18px; font-size: .95rem; color: #cfc7bb; }
.hero-sub a { color: var(--gold-light); font-weight: 700; }
.hero-media:has(.hero-img--room) { aspect-ratio: 5 / 4; align-self: center; }
.hero-img--room { object-position: 28% 60%; }
@media (max-width: 900px) {
  /* Phones: headline and the two main buttons come first so they're visible without scrolling; the photo follows. */
  .hero .wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero p.lead { margin-bottom: 20px; }
  .hero .btn-row .btn { flex: 1 1 140px; }
  .hero-media { aspect-ratio: 4 / 3; justify-self: stretch; max-height: none; }
  .hero-media img { object-position: 60% 38%; }
  .hero-media img.hero-img--room { object-position: 30% 62%; }
  .hero-media:has(.hero-img--family) { aspect-ratio: 4 / 3; }
  .hero-media img.hero-img--family { object-position: center 33%; }
}

/* Status strip */
.status-strip { background: var(--gold); color: var(--black); font-weight: 600; font-size: .95rem; }
.status-strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; align-items: center; }
.status-strip a { font-weight: 700; }
.open-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--black); margin-right: 8px; vertical-align: middle; }
.open-dot.is-open { background: #136f2a; box-shadow: 0 0 0 3px rgba(19, 111, 42, .25); }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid #ece6dc; border-radius: var(--radius); padding: 22px; }
.section--sand .card { border-color: #e6dccb; }

.drink {
  display: flex; flex-direction: column; text-decoration: none; background: var(--white);
  border: 1px solid #ece6dc; border-radius: var(--radius); padding: 20px; position: relative;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.drink:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.drink-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.drink h3 { margin: 6px 0 4px; font-size: 1.2rem; }
.drink p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.drink-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.drink-foot span:last-child { color: var(--gold-dark); font-size: .9rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--flip .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }
.split-media { border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .split-media img { aspect-ratio: 16 / 11; object-position: center 70%; } }
/* Photos with faces near the top: keep heads in frame on phones. */
@media (max-width: 900px) { .split-media img.focus-top, .hero-media img.focus-top { object-position: center 30%; } }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }

/* Price table */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }
.price-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); padding: 16px 18px; }
.section:not(.section--dark) .price-card { background: var(--white); border-color: #e6dccb; }
.price-card h3 { font-size: 1rem; margin-bottom: 8px; }
.price-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 4px; }
.price-card dt { color: inherit; opacity: .85; }
.price-card dd { margin: 0; font-weight: 700; text-align: right; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid #e6dccb; font-weight: 500; }
.hours td { text-align: right; font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-dark); }
.map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); background: var(--sand); }
/* Map: the address card underneath shows while Google's map loads, or if it is blocked, so there is never a blank box. */
.map-wrap { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--sand-light); }
.map-wrap .map { position: absolute; inset: 0; z-index: 1; background: transparent; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--ink); }
.map-fallback strong { font-size: 1.05rem; }
.map-wrap.is-loaded .map-fallback { visibility: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.contact-list a { font-weight: 700; text-decoration: none; }

/* Band */
.band { border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band--gold { background: var(--gold); color: var(--black); }
.band--dark { background: var(--black); color: var(--white); }
.band h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 2rem); }
.band p { margin: 0; }

/* Page intro */
.page-intro { background: var(--black); color: var(--white); padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px); }
.page-intro p.lead { color: #d8d2c8; }
.page-intro .btn-row { margin-top: 20px; }

/* Menu page */
.menu-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid #eee; }
.menu-nav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--sand-light); text-decoration: none; font-weight: 600; font-size: .9rem; }
.menu-section { padding: 28px 0 8px; border-bottom: 1px solid #eee; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-section > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.menu-section > summary::-webkit-details-marker { display: none; }
.menu-section > summary::after { content: "+"; font-size: 1.6rem; font-weight: 600; color: var(--gold-dark); line-height: 1; }
.menu-section[open] > summary::after { content: "–"; }
.menu-section h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 0; }
.menu-section[open] { padding-bottom: 20px; }
.menu-section > p { color: var(--muted); }
.menu-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.menu-table th, .menu-table td { padding: 12px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.menu-table thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 0; }
.menu-table td.p, .menu-table th.p { text-align: right; width: 64px; font-weight: 700; white-space: nowrap; }
.menu-table .item-name { font-weight: 700; display: block; }
.menu-table td.p a { display: inline-block; min-width: 56px; padding: 6px 8px; margin: -6px -8px -6px 0; border-radius: 8px; text-decoration: none; color: inherit; }
.menu-table td.p a:hover, .menu-table td.p a:focus-visible { background: var(--sand-light); color: var(--gold-dark); }
.menu-table .item-desc { color: var(--muted); font-size: .92rem; }
.menu-note { font-size: .9rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; border: 1.5px solid #cfc6b8;
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(192, 134, 42, .25); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.form-error { color: #b3261e; font-weight: 600; font-size: .92rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq details { border-bottom: 1px solid #e6dccb; padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 32px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--black); color: #d8d2c8; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-logo { background: var(--white); border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 72px; width: auto; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #444; display: flex; align-items: center; justify-content: center; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #2c2925; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; color: #a59d91; }

/* Motion */
/* Content is visible by default. It only starts hidden for the fade-in when the browser can reveal it on scroll
   (html.js-reveal), so print/PDF exports, crawlers and no-JS visitors always see every section. */
/* Sections never start invisible: full-page screenshots and PDF tools don't scroll, so an opacity fade left large
   blank areas in captures. Only a small slide-up remains, which can't hide content. */
.reveal { transition: transform .6s var(--ease); }
.js-reveal .reveal:not(.is-visible) { transform: translateY(14px); }
@media print { .js-reveal .reveal:not(.is-visible) { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .js-reveal .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* Featured drinks: swipeable row on phones, grid on larger screens */
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.page-intro--short { padding-bottom: clamp(24px, 4vw, 40px); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; flex-direction: column; background: var(--white); border: 1px solid #ece6dc; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.feature-art { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.feature-art svg { width: 64px; height: 64px; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.tone-caramel { background: linear-gradient(135deg, #c0862a, #8a5a17); }
.tone-cold { background: linear-gradient(135deg, #3b2a1e, #6d4a2e); }
.tone-mocha { background: linear-gradient(135deg, #4a2c1d, #a06a3f); }
.tone-hazel { background: linear-gradient(135deg, #8b6a43, #c9a46b); }
.tone-cinnamon { background: linear-gradient(135deg, #a4552a, #d9944f); }
.tone-dark { background: linear-gradient(135deg, #111, #3a2a20); }
.tone-berry { background: linear-gradient(135deg, #b8455e, #e48a9b); }
.feature-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { margin: 4px 0 2px; font-size: 1.15rem; }
.feature-body p { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
@media (max-width: 760px) {
  .feature-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .feature-art { aspect-ratio: 16 / 8; }
  .feature-row::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Upcoming events */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.event { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid #ece6dc; border-radius: var(--radius); padding: 16px 18px; }
.event-date { flex: 0 0 60px; text-align: center; background: var(--black); color: var(--white); border-radius: 10px; padding: 8px 0; line-height: 1.1; }
.event-date span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.event-date strong { font-size: 1.5rem; }
.event h3 { margin: 0 0 2px; font-size: 1.1rem; }
.event-meta { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.events-empty { background: var(--white); border: 1px dashed #d9cdb8; border-radius: var(--radius); padding: 20px; }
.events-empty p { margin: 0; }

/* Photo with caption-free framing used for real café shots */
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* RC prepay time buttons */
.time-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.time-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; border: 1px solid rgba(255,255,255,.18); transition: background .15s ease, border-color .15s ease; }
.time-list a::after { content: "→"; margin-left: 10px; color: var(--gold-light); }
.time-list a span { flex: 1; }
.time-list a:hover, .time-list a:focus-visible { background: rgba(192,134,42,.18); border-color: var(--gold); }
.small-note { font-size: .92rem; opacity: .85; }

/* Current specials */
.deals { padding-top: 28px; padding-bottom: 0; }
.deal-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.deal { background: var(--sand-light); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.deal p { margin: 4px 0 0; }

/* Installed app (PWA). The bottom app navigation only shows when the site runs as an installed app (html.is-app,
   set in the page head) or on the app home (/app). The website's action bar is hidden there. */
.app-nav { display: none; }
.is-app .action-bar { display: none; }
.is-app .site-header { padding-top: env(safe-area-inset-top); }
.is-app body, .app-page body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.is-app .app-nav, .app-page .app-nav {
  display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(11, 11, 11, .97); border-top: 1px solid #2a241e;
  padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.app-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px;
  color: #cfc7bb; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .01em; border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.app-nav svg { width: 23px; height: 23px; }
/* Active tab: gold label plus a gold bar and soft highlight, so "where am I" is never confused with an action. */
.app-nav a { position: relative; }
.app-nav a[aria-current="page"] { color: var(--gold-light); background: rgba(224, 169, 78, .10); }
.app-nav a[aria-current="page"]::before { content: ""; position: absolute; top: -6px; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-light); }
.app-nav a[aria-current="page"] svg { transform: translateY(-1px); }
/* Order is an action (opens Toast), not a page: a gold icon chip instead of a filled tab that looks selected. */
.app-nav a.app-nav-order { color: #f1e9dc; }
.app-nav a.app-nav-order svg { box-sizing: content-box; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--black); margin-top: -4px; }
.app-nav a:active { background: rgba(255, 255, 255, .08); }
.app-nav a.app-nav-order:active svg { background: var(--gold-light); }
@media (min-width: 700px) { .app-nav a { flex-direction: row; gap: 8px; font-size: .85rem; } }
@media (orientation: landscape) and (max-height: 500px) {
  .app-nav a { min-height: 44px; }
  .is-app body, .app-page body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
.app-nav a[hidden] { display: none; }

/* Real photos from the coffee bar */
.photo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.photo-row figcaption { font-size: .85rem; font-weight: 600; margin-top: 6px; }
@media (max-width: 760px) {
  .photo-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .photo-row figure { scroll-snap-align: start; }
}
.split-media--wide img { aspect-ratio: 4 / 3; }

/* Drink photos on signature cards and menu rows */
.feature-art--photo { aspect-ratio: 1 / 1; }
@media (max-width: 760px) { .feature-art--photo { aspect-ratio: 1 / 1; } }
.menu-table tr.has-thumb td:first-child { position: relative; padding-left: 64px; height: 77px; }
.menu-table .item-thumb { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.menu-table .item-thumb img { width: 52px; height: 65px; object-fit: cover; border-radius: 8px; display: block; }
/* Smallest phones (320px): narrower price columns and thumbs so the menu table never scrolls sideways */
@media (max-width: 360px) {
  .menu-table { table-layout: fixed; }
  .menu-table td.p, .menu-table th.p { width: 46px; font-size: .9rem; }
  .menu-table td.p a { min-width: 0; padding: 6px 2px; margin-right: 0; }
  .menu-table tr.has-thumb td:first-child { padding-left: 50px; }
  .menu-table .item-thumb img { width: 42px; height: 52px; }
  .menu-table .item-name { overflow-wrap: anywhere; }
}

/* Short muted loop (no sound, plays only on screen) and wide sandbox shot */
.split-media .loop-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #1a1612; }
@media (max-width: 900px) { .split-media .loop-video { aspect-ratio: 1 / 1; } }
.wide-shot { margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; }
.wide-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.split-media .loop-video, .gallery .loop-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: var(--radius-sm); background: #1a1612; }
.photo-row .loop-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; background: #1a1612; }
.two-sandboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.two-sandboxes figure, .photo-trio figure, .instore-merch { margin: 0; }
.two-sandboxes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.two-sandboxes figcaption, .photo-trio figcaption, .instore-merch figcaption { font-size: .9rem; margin-top: 8px; }
@media (max-width: 700px) { .two-sandboxes { grid-template-columns: 1fr; } }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.photo-trio img, .photo-trio video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; background: #1a1612; }
.photo-trio--wide img { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .photo-trio--wide { grid-template-columns: 1fr; } .photo-trio { gap: 8px; } .photo-trio figcaption { font-size: .8rem; } }
.band--photo { justify-content: flex-start; }
.band--photo > div { flex: 1 1 240px; }
.band-photo img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); display: block; }
@media (max-width: 600px) { .band-photo { display: none; } }
.visit-clip { max-width: 260px; margin-top: 20px; }
.visit-clip figure { margin: 0; }
.visit-clip video { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; object-fit: cover; border-radius: var(--radius); display: block; background: #1a1612; }
.visit-clip figcaption { font-size: .9rem; margin-top: 8px; }
.instore-merch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; margin: 32px 0; }
.instore-merch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 700px) { .instore-merch { grid-template-columns: 1fr; } }
.loop-video, .tap-video { height: auto; max-width: 100%; }

/* "Take Sandbox Wherever You Go" install section */
.get-app { background: linear-gradient(135deg, #fbf6ee 0%, #f1e6d4 100%); border-block: 1px solid #eadfcd; }
.get-app-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.get-app h2 { margin-bottom: .3em; }
.get-app-icon { display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; }
.get-app-icon img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); background: #fff; }
.get-app-icon strong { display: block; font-size: 1rem; }
.get-app-icon small { color: var(--muted); font-size: .85rem; }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: rgba(0, 0, 0, .05); }
.get-app-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.get-app-steps { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.get-app-steps h3 { font-size: 1.05rem; margin: 0 0 12px; }
.install-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.install-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; counter-increment: st; }
.step-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-light); color: #0a66d6; font-weight: 800; font-size: 1.2rem; position: relative; }
.step-icon::before { content: counter(st); position: absolute; top: -6px; left: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--black); font-size: .7rem; display: grid; place-items: center; }
.step-icon img { border-radius: 5px; }
.get-app-preview { margin: 0; justify-self: center; text-align: center; }
.phone-frame { width: 260px; max-width: 70vw; border-radius: 36px; padding: 10px; background: #111; box-shadow: 0 30px 60px rgba(42, 26, 16, .35); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 28px; }
.get-app-preview figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) {
  .get-app-inner { grid-template-columns: 1fr; }
  .phone-frame { width: 200px; }
  .get-app .btn-row .btn { width: 100%; }
}
html.is-app .get-app { display: none; }
.get-app [hidden] { display: none !important; }
@media (max-width: 400px) { .hero .btn-row .btn { font-size: .95rem; padding-inline: 1em; } }

/* Page intros with a real photo (RC Play) */
.page-intro--media { background: radial-gradient(90% 120% at 82% 45%, #4a2e1b 0%, #2a1a10 42%, #160e09 75%, #0f0a07 100%); }
.page-intro--media .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.intro-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); aspect-ratio: 4 / 3; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-note { margin: 12px 0 0; font-size: .88rem; color: #cfc7bb; }
.fact-chips { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact-chips li { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #e2dbd0; line-height: 1.35; }
.fact-chips strong { display: block; color: var(--gold-light); font-size: .95rem; }
@media (max-width: 900px) { .page-intro--media .wrap { grid-template-columns: 1fr; } }
.prize-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--sand-light); border: 1px solid #eadfcd; }
.prize-card h2 { font-size: 1.2rem; margin: 0 0 6px; }
.prize-card p { margin: 0; }
.prize-icon { font-size: 1.8rem; line-height: 1; }
