/* ============================================================
   Poké Go — base design system
   Derived from the MZ NOVA POS Self-Order kiosk language:
   teal accent #008099, black primary actions, rounded type,
   white surfaces on grouped-grey ground, 12-28px radii.
   Light theme, locked (white-background food photography).
   ============================================================ */

@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/nunito-var.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --teal: #008099;
  --teal-dark: #006B80;
  --teal-soft: #E0F2F5;
  --ink: #14171A;
  --ink-2: #4A5158;
  --ink-3: #7A828A;
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #EFF1F4;
  --line: #E3E6EA;
  --orange: #ED8C26;
  --red: #C72E33;
  --green: #2E994D;

  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;

  --shadow-sm: 0 1px 2px rgba(20, 30, 40, 0.06), 0 2px 8px rgba(20, 30, 40, 0.05);
  --shadow-md: 0 4px 14px rgba(20, 30, 40, 0.10);
  --shadow-lg: 0 12px 32px rgba(20, 30, 40, 0.16);
  --shadow-pill: 0 5px 12px rgba(10, 20, 26, 0.28);

  --font: 'Nunito', -apple-system, 'SF Pro Rounded', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Same colour as the header so the rubber-band overscroll above it (and
     any strip Safari paints from the page root) reads as one band. The
     page's grey ground lives on body instead. */
  background: #DAE6ED;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

p { margin: 0; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

input, textarea, select { font-family: var(--font); }

.icn { width: 1em; height: 1em; flex: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  border-radius: var(--r-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-black {
  background: var(--ink);
  color: #fff;
  padding: 16px 28px;
  font-size: 17px;
}

.btn-black:hover { background: #000; box-shadow: var(--shadow-md); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  padding: 16px 28px;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(0, 128, 153, 0.30);
}

.btn-teal:hover { background: var(--teal-dark); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 15px 26px;
  font-size: 17px;
}

.btn-ghost:hover { border-color: var(--ink-3); }

.btn[disabled] { background: #B9BEC4; color: #fff; cursor: not-allowed; box-shadow: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Solid brand blue-grey (Ming's swatch, 2026-09-12), and deliberately NO
     backdrop-filter: iOS Safari paints the phone's status-bar strip with the
     colour it hit-tests along the page's top edge, and it skips elements that
     carry a backdrop blur (it would sample the grey body underneath instead).
     The inset only matters when Safari lets the page run under the status bar. */
  padding-top: env(safe-area-inset-top);
  background: #DAE6ED;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}

.site-nav a {
  color: var(--ink-2);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
}

.site-nav a:hover { background: var(--surface-2); color: var(--ink); }

.site-nav a.active { background: var(--ink); color: #fff; }

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
}

.status-chip .icn { width: 14px; height: 14px; }

.status-chip.open { background: rgba(46, 153, 77, 0.12); color: #1E7A3B; }

.status-chip.closed { background: rgba(199, 46, 51, 0.10); color: var(--red); }

.btn-order {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
}

.btn-order:hover { background: #000; }

.btn-order .bo-short { display: none; }

@media (max-width: 720px) {
  .site-header .wrap { height: 58px; gap: 8px; padding: 0 14px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .brand img { width: 34px; height: 34px; }
  .brand small { display: none; }
  .site-nav { gap: 0; margin-left: 0; }
  .site-nav a { font-size: 14px; padding: 7px 10px; white-space: nowrap; }
  .status-chip { display: none; }
  .header-cta { gap: 8px; }
  .btn-order { font-size: 13.5px; padding: 9px 14px; white-space: nowrap; }
  .btn-order .bo-full { display: none; }
  .btn-order .bo-short { display: inline; }
  /* when the header carries the order button, the wordmark yields to fit */
  .site-header:has(.btn-order) .brand > span { display: none; }
}

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

.site-footer {
  background: var(--ink);
  color: #C8CDD2;
  margin-top: 80px;
  padding: 52px 0 32px;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.site-footer .f-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.site-footer .f-brand img { width: 44px; height: 44px; border-radius: 50%; }

.site-footer p, .site-footer a { color: #C8CDD2; font-size: 14.5px; }

.site-footer a:hover { color: #fff; }

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
  color: #9AA1A8;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   Marketing pages (home, store info)
   ============================================================ */

.hero {
  padding: 44px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 .accent { color: var(--teal); }

.hero .sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 46ch;
}

.hero .cta-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-photo img { min-height: 240px; max-height: 340px; }
}

/* facts strip under hero */

.facts {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
}

.fact .icn {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.fact b { color: var(--ink); font-weight: 800; }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; gap: 10px; }
}

/* generic section rhythm */

.section { padding: 76px 0 0; }

.section-head { max-width: 62ch; }

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 17px;
}

/* showcase bento */

.showcase {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}

.show-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.show-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.show-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-card .shade {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 62%);
}

.show-card .label {
  position: relative;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.show-card .label b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }

.show-card .label small { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

.show-card .label .icn {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.show-card.tint {
  justify-content: space-between;
  padding: 22px;
}

.show-card.tint .big-icn {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 16px;
  color: #fff;
}

.show-card.tint .label { padding: 0; }

.s-poke { grid-column: span 6; grid-row: span 2; }
.s-ramen { grid-column: span 6; }
.s-apps { grid-column: span 3; }
.s-tea { grid-column: span 3; }

@media (max-width: 900px) {
  .showcase { grid-auto-rows: 190px; }
  .s-poke { grid-column: span 12; grid-row: span 2; }
  .s-ramen { grid-column: span 12; }
  .s-apps, .s-tea { grid-column: span 6; }
}

@media (max-width: 560px) {
  .showcase { grid-auto-rows: 170px; }
  .s-apps, .s-tea { grid-column: span 12; }
}

/* build-your-bowl steps */

.byo {
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.byo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.byo-step .step-photos {
  display: flex;
  margin-bottom: 16px;
}

.byo-step .step-photos img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

.byo-step .step-photos img + img { margin-left: -16px; }

.byo-step h3 { font-size: 19px; font-weight: 800; }

.byo-step p { margin-top: 7px; color: var(--ink-2); font-size: 15px; }

.byo-cta {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.byo-cta .price-note { font-size: 16px; color: var(--ink-2); font-weight: 700; }

.byo-cta .price-note b { color: var(--ink); font-size: 19px; font-weight: 900; }

@media (max-width: 860px) {
  .byo { padding: 26px 22px; }
  .byo-steps { grid-template-columns: 1fr; gap: 24px; }
}

/* drinks band */

.drinks-band {
  margin-top: 34px;
  border-radius: var(--r-2xl);
  padding: 38px;
  background: linear-gradient(135deg, #006B80 0%, #008099 55%, #00A5B8 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.drinks-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.03em; }

.drinks-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.88); font-size: 16.5px; max-width: 48ch; }

.drinks-band .btn { margin-top: 24px; background: #fff; color: var(--ink); }

.drink-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.drink-chip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 10px 17px;
  font-weight: 700;
  font-size: 14.5px;
}

a.drink-chip:hover { background: rgba(255, 255, 255, 0.26); }

@media (max-width: 860px) {
  .drinks-band { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* store band (home) + store info page */

.store-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.store-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.store-card h3 .icn {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.hours-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }

.hours-table td { padding: 8px 0; }

.hours-table td:last-child { text-align: right; font-weight: 700; }

.hours-table tr.today td { color: var(--teal); font-weight: 800; }

.hours-table tr.closed-day td:last-child { color: var(--red); }

.addr-line { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15.5px; }

.addr-line .icn { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }

.addr-line a { font-weight: 700; }

.map-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 340px;
  background: var(--surface-2);
}

.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

@media (max-width: 860px) {
  .store-band { grid-template-columns: 1fr; }
}

/* reveal-on-scroll (subtle, honors reduced motion) */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .show-card { transition: none; }
}
