/* =============================================================
   RestaurantOS Marketing Site — Design Tokens
   Hybrid: Jade & Pearl (glassmorphism) × Ghibli Watercolor
   ============================================================= */

:root {
  /* === Jade & Pearl Color System === */
  --jade-primary: #1f9668;          /* Light mode jade */
  --jade-primary-dark: #5ef2c2;     /* Dark mode jade */
  --jade-deep: #0d6b48;
  --jade-mist: #d4f0e3;
  --pearl-white: #fdfcf8;
  --pearl-cream: #f7f3ea;
  --pearl-sand: #ede4d3;

  /* === Ghibli Watercolor Palette (extracted from illustrations) === */
  --watercolor-sky: #e8d8b8;        /* warm cream sky */
  --watercolor-sunset: #f4d4a8;     /* peach */
  --watercolor-warm-bg: #f5e9d3;    /* paper */
  --watercolor-paper: #faf3e3;      /* light paper */
  --watercolor-deep-paper: #e8d4ae; /* deep paper */
  --watercolor-ink: #5a4a3a;        /* sepia ink for text */
  --watercolor-ink-soft: #6a5a48;        /* WCAG AA on paper (raised contrast) */
  --watercolor-droplet: #6dd5d0;    /* mascot teal */
  --watercolor-droplet-deep: #3aa8a5;
  --watercolor-coral: #e89478;
  --watercolor-rose: #d97a6b;

  /* === Type === */
  --font-display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Inter", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-logo: "Instrument Serif", serif;
  --font-mono: "JetBrains Mono", monospace;

  /* === Radius === */
  --r-card: 22px;
  --r-button: 14px;
  --r-input: 12px;
  --r-chip: 10px;
  --r-pill: 999px;

  /* === Shadows === */
  --shadow-soft: 0 4px 18px -4px rgba(90, 74, 58, 0.12);
  --shadow-lift: 0 20px 50px -20px rgba(31, 150, 104, 0.25), 0 6px 22px -6px rgba(90, 74, 58, 0.12);
  --shadow-glass: 0 8px 32px -8px rgba(15, 60, 45, 0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* === Base resets / utilities === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === Focus visibility (keyboard navigation) === */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--jade-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--jade-primary);
  outline-offset: 3px;
}

/* === Reduce-motion preference === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--watercolor-ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

/* === Surfaces === */
.surface-paper {
  background:
    radial-gradient(ellipse at top left, rgba(244, 212, 168, 0.4), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(109, 213, 208, 0.18), transparent 55%),
    linear-gradient(180deg, var(--watercolor-paper) 0%, var(--watercolor-warm-bg) 100%);
  position: relative;
}
.surface-paper::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/bg_texture_light.webp");
  background-size: cover;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.surface-jade-dark {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(94, 242, 194, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(31, 150, 104, 0.22), transparent 60%),
    linear-gradient(180deg, #0a1f1a 0%, #061410 100%);
  color: #eaf6ee;
  position: relative;
}

.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-glass);
}
.glass-card-dark {
  background: rgba(15, 35, 28, 0.45);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(94, 242, 194, 0.18);
  border-radius: var(--r-card);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
}

/* Watercolor "stamp" — soft rounded card on cream paper */
.watercolor-card {
  background: rgba(253, 250, 240, 0.85);
  border: 1px solid rgba(138, 117, 96, 0.18);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--jade-primary) 0%, var(--jade-deep) 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(31, 150, 104, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(31, 150, 104, 0.6); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.7);
  color: var(--watercolor-ink);
  border: 1px solid rgba(138, 117, 96, 0.22);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

/* Japanese-aware wrapping helper — break only at sensible word boundaries */
.ja-wrap {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* === Type utility === */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade-primary);
  font-weight: 500;
}

/* Hand-painted underline under headings */
.painted-underline {
  position: relative;
  display: inline-block;
}
.painted-underline::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: -8px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(109, 213, 208, 0.55) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* updated 1777575014543 */
