/* ============================================================
   MIDORI (緑) — style.css
   Design Tokens · Reset · Base Typography · Layout
   ============================================================ */

/* ===== Google Fonts loaded in HTML ===== */

/* ===== Design Tokens ===== */
:root {
  /* -- Colors -- */
  --color-forest:     #1A3A2A;
  --color-jade:       #4A7C59;
  --color-jade-light: #7CB518;
  --color-gold:       #C9A84C;
  --color-gold-light: #E8C86E;
  --color-cream:      #F5F0E8;
  --color-cream-dark: #EDE8E0;
  --color-pale:       #E8F0E5;
  --color-text:       #1A1A1A;
  --color-text-muted: #6B6B5A;
  --color-text-light: #9A9A8A;
  --color-white:      #FFFFFF;
  --color-overlay:    rgba(10, 26, 16, 0.60);

  /* -- Fonts -- */
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-japanese: 'Noto Serif JP', serif;

  /* -- Text Scale (fluid) -- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  clamp(1.75rem, 3vw, 2.25rem);
  --text-4xl:  clamp(2rem,    4vw, 3rem);
  --text-5xl:  clamp(2.4rem,  6vw, 4.5rem);
  --text-6xl:  clamp(3.2rem,  9vw, 7rem);

  /* -- Spacing scale -- */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* -- Layout -- */
  --max-width:        1280px;
  --nav-height:       80px;
  --container-px:     clamp(1rem, 5vw, 4rem);

  /* -- Border Radius -- */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   36px;
  --radius-full: 9999px;

  /* -- Shadows -- */
  --shadow-sm: 0 2px 8px  rgba(26,58,42,0.06);
  --shadow-md: 0 8px 28px rgba(26,58,42,0.10);
  --shadow-lg: 0 24px 64px rgba(26,58,42,0.14);
  --shadow-xl: 0 40px 100px rgba(26,58,42,0.18);

  /* -- Easing -- */
  --ease-fast:   0.15s ease;
  --ease-med:    0.30s ease;
  --ease-slow:   0.60s cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-spring: 0.50s cubic-bezier(0.34,1.56,0.64,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-body); background: none; }
input  { font-family: var(--font-body); }

/* Custom scrollbar */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--color-cream); }
::-webkit-scrollbar-thumb  { background: var(--color-jade); border-radius: var(--radius-full); }

/* ===== Base Typography ===== */
h1,h2,h3,h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--color-jade); }

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
}

.section-title--light { color: var(--color-white); }
.section-title--light em { color: var(--color-gold-light); }

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-jade);
  margin-bottom: var(--sp-4);
}

.eyebrow--light { color: var(--color-gold-light); }

.body-text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--sp-6);
}

/* ===== Layout Utilities ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.hidden { display: none !important; }
