:root {
  /* Palette: Japanese-inspired warmth */
  --bg: #F7F1EA;            /* Beige mist */
  --bg2: #F3E6E8;           /* Sakura blush */
  --text: #2A2A2A;          /* Charcoal */
  --muted: #5A5A5A;         /* Muted grey */
  --primary: #375343;       /* Deep moss */
  --primary-contrast: #ffffff;
  --surface: #FCFAF7;       /* Soft surface */
  --border: #e5e1dc;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.hidden { display: none !important; }
.nowrap { white-space: nowrap; }

/* Subtle watercolor background overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/assets/img/bg-watercolor.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18; /* very subtle */
  pointer-events: none;
  z-index: -1;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0;
  background: rgba(247, 241, 234, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; }
.brand { font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 0.3px; }
.nav-toggle {
  display: none; font-size: 1.25rem; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.25rem 0.5rem;
}
.nav-menu { display: flex; list-style: none; gap: 1rem; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--text); padding: 0.5rem 0.75rem; border-radius: 8px; }
.nav-menu a.cta { background: var(--primary); color: var(--primary-contrast); }

.lang-switch { display: flex; align-items: center; gap: 0.25rem; border: 1px solid var(--border); border-radius: 10px; padding: 0.25rem 0.5rem; }
.lang-switch .divider { color: var(--muted); }
.lang-btn { background: none; border: none; color: var(--text); font-weight: 600; cursor: pointer; }
.lang-btn[aria-pressed="true"] { color: var(--primary); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; right: 1.25rem; top: 56px; flex-direction: column; background: var(--bg);
    padding: 0.75rem; border: 1px solid var(--border); border-radius: 12px; display: none; box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
}

/* Hero */
.hero { padding: 4rem 0 2.5rem; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .sakura { position: absolute; right: -40px; top: -20px; width: min(45%, 520px); opacity: 0.12; }
.hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.hero-text h1 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: 0.2px; }
.hero-text p { color: var(--muted); }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1rem; }
.hero-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Buttons */
.btn { display: inline-block; border-radius: 10px; padding: 0.7rem 1.05rem; text-decoration: none; font-weight: 600; letter-spacing: 0.2px; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

/* Sections */
.intro { padding: 2rem 0; }
.section { padding: 3.2rem 0; }
.section.alt { background: linear-gradient(180deg, rgba(243,230,232,0.3), rgba(247,241,234,0.6)); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.center { text-align: center; margin-top: 1rem; }

ul { padding-left: 1.25rem; }

.site-footer { border-top: 1px solid var(--border); background: rgba(252,250,247,0.8); }
.footer-content { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 0; }
.footer-content nav a { margin-right: 0.75rem; color: var(--muted); text-decoration: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
}
