/* Fusion Cafe — Desert Modern */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --espresso: #2C1810;
  --terracotta: #C45C26;
  --terracotta-dark: #A34A1E;
  --sage: #5A7355;
  --sage-light: #6E8A68;
  --cream: #FAF6F0;
  --sand: #EDE4D8;
  --boba-gold: #E8A849;
  --white: #FFFFFF;
  --text: #2C1810;
  --text-muted: #6B5B54;
  --line: rgba(44, 24, 16, 0.12);
  --shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 12px 48px rgba(44, 24, 16, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--espresso);
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--espresso);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--espresso);
}

.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }
  .nav-toggle { display: block; }
  .header-cta-desktop { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 92, 38, 0.3);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 6px 20px rgba(196, 92, 38, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}

.btn-outline:hover {
  background: var(--espresso);
  color: var(--cream);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: clamp(520px, 85vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 24, 16, 0.88) 0%,
    rgba(44, 24, 16, 0.45) 45%,
    rgba(44, 24, 16, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  color: var(--white);
  max-width: 640px;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--boba-gold);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0 0 2rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  position: absolute;
  top: 2rem;
  right: max(1.25rem, calc((100vw - 1120px) / 2));
  z-index: 2;
  background: var(--white);
  color: var(--espresso);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta);
}

.hero-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero-badge {
    position: static;
    margin: 1.5rem auto 0;
    width: fit-content;
  }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-content { padding-top: 2rem; }
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--sand);
}

.section-dark {
  background: var(--espresso);
  color: var(--cream);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.75rem;
}

.section-dark .kicker { color: var(--boba-gold); }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}

.section-dark .section-lead { color: rgba(250, 246, 240, 0.75); }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.menu-card.popular {
  border-color: var(--boba-gold);
}

.menu-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.04);
}

.menu-card .badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  background: var(--boba-gold);
  color: var(--espresso);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.menu-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.menu-card .price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.menu-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Category pills ── */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.category-pill:hover,
.category-pill.active {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

/* ── About split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}

/* ── Highlights ── */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.highlight-item {
  text-align: center;
  padding: 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.highlight-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.highlight-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Reviews ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.review-card .stars {
  color: var(--boba-gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-card cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Visit page ── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .visit-grid { grid-template-columns: 1fr; }
}

.info-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.info-block h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hours-table tr:last-child td { border-bottom: none; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.bilingual {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bilingual em {
  display: block;
  font-style: normal;
  margin-top: 0.35rem;
  opacity: 0.85;
}

/* ── Menu page sections ── */
.menu-section {
  margin-bottom: 3rem;
  scroll-margin-top: 96px;
}

.menu-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--terracotta);
  display: inline-block;
}

.menu-section .cat-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
}

.menu-section .card-grid {
  margin-bottom: 1rem;
}

.menu-list {
  display: grid;
  gap: 0;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-row:last-child { border-bottom: none; }

.menu-row-info h4 {
  font-weight: 600;
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.menu-row-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-row .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta);
  white-space: nowrap;
}

.menu-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2rem;
}

/* ── CTA band ── */
.cta-band {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-band p { opacity: 0.9; margin: 0 0 1.5rem; }

/* ── Footer ── */
.site-footer {
  background: var(--espresso);
  color: rgba(250, 246, 240, 0.8);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-text {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--boba-gold);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}

/* ── Page header (inner pages) ── */
.page-hero {
  background: var(--espresso);
  color: var(--cream);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  opacity: 0.8;
  max-width: 48ch;
  margin: 0 auto;
}

/* ── Order page ── */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.order-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  min-height: 100%;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}

.order-card-primary {
  border-color: var(--terracotta);
  background: linear-gradient(180deg, var(--white) 0%, rgba(196, 92, 38, 0.04) 100%);
}

.order-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.order-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.order-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.order-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  flex: 1;
}

.order-card-action {
  font-weight: 700;
  color: var(--terracotta);
  font-size: 1rem;
}

.order-card-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.order-card-phone .order-card-action {
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.order-info {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.order-info p {
  margin: 0 0 0.35rem;
}

.order-info .bilingual {
  margin-top: 1.25rem;
  max-width: 48ch;
  margin-inline: auto;
}

/* Mobile sticky order bar */
.order-bar-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.order-bar-mobile .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .order-bar-mobile { display: block; }
  body { padding-bottom: 72px; }
}
