/* ============================================================
   SLURP STATION ABURASOBA — Design System & Styles
   High-end Japanese dining aesthetic. Dark, cinematic, photo-driven.
   ============================================================ */

/* === A. FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* === B. DESIGN TOKENS (Three-Layer Architecture) === */
:root {
  /* Layer 1: Primitives — Light theme defaults */
  --raw-black: #f5f1eb;
  --raw-warm-white: #1c1612;
  --raw-gold: #9d7440;
  --raw-dark-surface: #ece7df;
  --raw-star-gold: #c49a20;
  --raw-white-006: rgba(28,22,18,0.05);
  --raw-white-012: rgba(28,22,18,0.10);
  --raw-white-015: rgba(28,22,18,0.13);
  --raw-white-045: rgba(28,22,18,0.45);
  --raw-white-060: rgba(28,22,18,0.65);

  /* Layer 2: Semantic */
  --color-bg: #f5f1eb;
  --color-text: #1c1612;
  --color-accent: #9d7440;
  --color-border: rgba(28,22,18,0.10);
  --color-border-hover: rgba(28,22,18,0.18);
  --color-muted: rgba(28,22,18,0.48);
  --color-muted-bright: rgba(28,22,18,0.68);
  --color-surface: #ece7df;

  /* Layer 3: Component */
  --btn-primary-bg: #1c1612;
  --btn-primary-text: #f5f1eb;
  --btn-secondary-border: rgba(28,22,18,0.18);
  --btn-secondary-text: #1c1612;
  --header-bg: transparent;
  --header-bg-scrolled: rgba(245,241,235,0.96);
  --footer-bg: #1c1612;
  --card-bg: rgba(28,22,18,0.03);
  --card-border: rgba(28,22,18,0.10);

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-jp: 'Noto Serif JP', serif;

  /* Spacing (8px rhythm) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;

  /* Motion */
  --transition-base: 0.3s ease;
  --reveal-duration: 0.8s;
  --reveal-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --micro-duration: 200ms;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* Auto-dark: system preference */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --raw-black: #0a0a0a;
    --raw-warm-white: #e8e4df;
    --raw-gold: #c8a97e;
    --raw-dark-surface: #050505;
    --raw-star-gold: #f5c518;
    --raw-white-006: rgba(255,255,255,0.06);
    --raw-white-012: rgba(255,255,255,0.12);
    --raw-white-015: rgba(255,255,255,0.15);
    --raw-white-045: rgba(255,255,255,0.45);
    --raw-white-060: rgba(255,255,255,0.60);
    --color-bg: #0a0a0a;
    --color-text: #e8e4df;
    --color-accent: #c8a97e;
    --color-border: rgba(255,255,255,0.06);
    --color-border-hover: rgba(255,255,255,0.12);
    --color-muted: rgba(232,228,223,0.45);
    --color-muted-bright: rgba(232,228,223,0.60);
    --color-surface: #050505;
    --btn-primary-bg: #e8e4df;
    --btn-primary-text: #0a0a0a;
    --btn-secondary-border: rgba(255,255,255,0.15);
    --btn-secondary-text: #e8e4df;
    --header-bg: transparent;
    --header-bg-scrolled: rgba(10,10,10,0.95);
    --footer-bg: #050505;
    --card-bg: rgba(255,255,255,0.02);
    --card-border: rgba(255,255,255,0.06);
  }
}

/* Forced dark: manual toggle */
[data-theme="dark"] {
  --raw-black: #0a0a0a;
  --raw-warm-white: #e8e4df;
  --raw-gold: #c8a97e;
  --raw-dark-surface: #050505;
  --raw-star-gold: #f5c518;
  --raw-white-006: rgba(255,255,255,0.06);
  --raw-white-012: rgba(255,255,255,0.12);
  --raw-white-015: rgba(255,255,255,0.15);
  --raw-white-045: rgba(255,255,255,0.45);
  --raw-white-060: rgba(255,255,255,0.60);
  --color-bg: #0a0a0a;
  --color-text: #e8e4df;
  --color-accent: #c8a97e;
  --color-border: rgba(255,255,255,0.06);
  --color-border-hover: rgba(255,255,255,0.12);
  --color-muted: rgba(232,228,223,0.45);
  --color-muted-bright: rgba(232,228,223,0.60);
  --color-surface: #050505;
  --btn-primary-bg: #e8e4df;
  --btn-primary-text: #0a0a0a;
  --btn-secondary-border: rgba(255,255,255,0.15);
  --btn-secondary-text: #e8e4df;
  --header-bg: transparent;
  --header-bg-scrolled: rgba(10,10,10,0.95);
  --footer-bg: #050505;
  --card-bg: rgba(255,255,255,0.02);
  --card-border: rgba(255,255,255,0.06);
}

/* Forced light: manual toggle overrides dark system pref */
[data-theme="light"] {
  --color-bg: #f5f1eb;
  --color-text: #1c1612;
  --color-accent: #9d7440;
  --color-border: rgba(28,22,18,0.10);
  --color-border-hover: rgba(28,22,18,0.18);
  --color-muted: rgba(28,22,18,0.48);
  --color-muted-bright: rgba(28,22,18,0.68);
  --color-surface: #ece7df;
  --btn-primary-bg: #1c1612;
  --btn-primary-text: #f5f1eb;
  --btn-secondary-border: rgba(28,22,18,0.18);
  --btn-secondary-text: #1c1612;
  --header-bg: transparent;
  --header-bg-scrolled: rgba(245,241,235,0.96);
  --footer-bg: #1c1612;
  --card-bg: rgba(28,22,18,0.03);
  --card-border: rgba(28,22,18,0.10);
}

/* === C. RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(200, 169, 126, 0.3);
  color: var(--color-text);
}

/* === D. TYPOGRAPHY === */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-bright);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.jp {
  font-family: var(--font-jp);
}

.text-muted {
  color: var(--color-muted);
}

/* === E. LAYOUT UTILITIES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }
}

.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === F. COMPONENTS === */

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 500;
  font-size: 0.85rem;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--micro-duration) ease, box-shadow var(--micro-duration) ease, background var(--micro-duration) ease, border-color var(--micro-duration) ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(232, 228, 223, 0.15);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  border-color: var(--color-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--raw-star-gold);
}

/* Menu Cards */
.menu-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--micro-duration) ease, border-color var(--micro-duration) ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-hover);
}

.menu-card-body {
  padding: var(--space-md);
}

.menu-card-body h3 {
  margin-bottom: 0.5rem;
}

.menu-card-desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.menu-card-price {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.menu-card-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(200, 169, 126, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.menu-card-badge--vegan {
  background: rgba(80, 150, 90, 0.15);
  color: #6ab87a;
  border: 1px solid rgba(80,150,90,0.25);
}

.menu-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.01);
  padding: var(--space-md);
}

.menu-card-image img {
  width: 85%;
  height: auto;
  object-fit: contain;
}

/* === G. HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: var(--header-bg);
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

/* Logo visibility per theme
   The logo file is black — invert(1) makes it white for dark backgrounds.
   Light mode: no invert (black logo on cream bg).
   Dark mode: invert to white. */
.header-logo img,
.footer-brand img {
  transition: filter 0.3s ease;
  /* Default = light mode: show black logo as-is */
  filter: none;
}

/* System dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header-logo img,
  :root:not([data-theme="light"]) .footer-brand img {
    filter: invert(1) brightness(1.15);
  }
}

/* Forced dark */
[data-theme="dark"] .header-logo img,
[data-theme="dark"] .footer-brand img {
  filter: invert(1) brightness(1.15);
}

/* Forced light */
[data-theme="light"] .header-logo img,
[data-theme="light"] .footer-brand img {
  filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
}

.nav-list a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-bright);
  transition: color var(--transition-base);
  padding: 0.5rem 0;
}

.nav-list a:hover {
  color: var(--color-text);
}

.nav-list a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.phone-link {
  display: none;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-muted-bright);
  letter-spacing: 0.02em;
}

.phone-link:hover {
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .phone-link {
    display: inline;
  }
}

.map-link {
  display: none;
  align-items: center;
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.map-link:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .map-link {
    display: flex;
  }
}


.header-cta {
  display: none;
  min-height: 36px;
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav — theme-aware */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.mobile-nav-overlay a:hover {
  color: var(--color-accent);
}

.mobile-nav-overlay .btn-primary {
  margin-top: var(--space-sm);
}

.mobile-nav-overlay .mobile-phone {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

/* === H. HERO === */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(200,169,126,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 50vw, 700px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: invert(1);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  padding: var(--space-xl) clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 55% 45%;
    gap: var(--space-lg);
    padding: 0 clamp(1.5rem, 4vw, 3rem);
  }
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-muted-bright);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: clamp(280px, 42vw, 520px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none;
  }
}

/* === HERO CAROUSEL === */
.hero-carousel {
  position: relative;
  width: clamp(280px, 42vw, 520px);
  aspect-ratio: 1 / 1;
}

.hero-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-carousel-img.active {
  opacity: 1;
}

.hero-carousel-img.hero-bowl.active {
  animation: float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-img {
    transition: none;
  }
  .hero-carousel-img:not(.active) {
    display: none;
  }
  .hero-carousel-img.active {
    animation: none;
  }
}

/* === I. SOCIAL PROOF === */
.social-proof {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

/* --- Eater press feature block --- */
.press-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .press-feature {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-xl);
  }
}

.press-feature-logo {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.press-feature-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Eater logo color per theme */
.eater-logo-img {
  filter: none;
}

[data-theme="dark"] .eater-logo-img {
  filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eater-logo-img {
    filter: brightness(0) invert(1);
  }
}

.press-feature-articles {
  display: grid;
  gap: var(--space-md);
  flex: 1;
}

@media (min-width: 640px) {
  .press-feature-articles {
    grid-template-columns: 1fr 1fr;
  }
}

.press-article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-md);
  background: var(--card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.press-article-card:hover {
  border-color: var(--color-accent);
  background: rgba(200, 169, 126, 0.05);
}

.press-article-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.press-article-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.6;
  color: var(--color-muted-bright);
  margin: 0;
  flex: 1;
}

.press-read-more {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* --- Review scores row --- */
.proof-scores {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding-top: var(--space-lg);
}

.proof-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: var(--space-sm) var(--space-md);
  flex: 1;
  text-decoration: none;
  border-right: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.proof-score-item:last-child {
  border-right: none;
}

a.proof-score-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.proof-rating {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.proof-source {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Keep legacy proof-label in case other pages use it */
.proof-label {
  font-size: 0.8rem;
  color: var(--color-muted-bright);
  font-weight: 400;
}

/* === MENU PREVIEW === */
.menu-preview {
  text-align: center;
}

.menu-preview h2 {
  margin-bottom: var(--space-xl);
}

.menu-preview .section-label {
  margin-bottom: var(--space-xs);
}

.menu-grid {
  margin-bottom: var(--space-xl);
  text-align: left;
}

/* === ABURASOBA EXPLAINER === */
.about-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

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

.about-content .jp {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  color: var(--color-muted-bright);
  line-height: 1.8;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  max-width: 480px;
  opacity: 0.85;
  /* Kanji red image — remove invert, keep natural red color */
  filter: none;
}

/* === LOCATION === */
.location-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.location-info h2 {
  margin-bottom: var(--space-lg);
}

.location-info address {
  font-style: normal;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.location-info address a {
  color: var(--color-accent);
}

.location-info address a:hover {
  color: var(--color-text);
}

.hours {
  margin-bottom: var(--space-lg);
}

.hours h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.hours-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
  font-size: 0.95rem;
}

.hours-list dt {
  color: var(--color-muted-bright);
  font-weight: 400;
}

.hours-list dd {
  color: var(--color-text);
  font-weight: 400;
}

.parking-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted-bright);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  border: none;
  width: 100%;
  height: 400px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map-container iframe {
    filter: grayscale(1) invert(1) contrast(0.85);
  }
}

[data-theme="dark"] .map-container iframe {
  filter: grayscale(1) invert(1) contrast(0.85);
}

/* === EMAIL SIGNUP === */
.email-signup {
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.email-signup-inner {
  max-width: 520px;
  margin: 0 auto;
}

.email-signup h2 {
  margin-bottom: var(--space-sm);
}

.email-signup p {
  color: var(--color-muted-bright);
  margin-bottom: var(--space-lg);
}

.signup-form .form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

@media (max-width: 480px) {
  .signup-form .form-group {
    flex-direction: column;
  }
}

.signup-form input[type="email"] {
  flex: 1;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color var(--transition-base);
}

.signup-form input[type="email"]::placeholder {
  color: var(--color-muted);
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.form-success {
  padding: var(--space-md);
  color: var(--color-accent);
  font-weight: 400;
}

/* === J. FOOTER === */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-md);
}

/* Footer always has dark bg — force light text in all themes */
.site-footer {
  color: #e8e4df;
}
.site-footer .footer-col h4 {
  color: #e8e4df;
}
.site-footer .footer-brand p,
.site-footer .footer-col a,
.site-footer .footer-bottom p {
  color: rgba(232, 228, 223, 0.55);
}
.site-footer .footer-col a:hover {
  color: #e8e4df;
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color var(--transition-base);
}

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

.footer-col a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* === THEME TOGGLE === */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  background: rgba(128,100,60,0.08);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* In dark mode: show sun (to switch to light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* === K. SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-duration) var(--reveal-easing), transform var(--reveal-duration) var(--reveal-easing);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
