/* ============================================================
   PERFECT GREEN — style.css
   Elite Editorial Design System
   ============================================================ */

/* === Design Tokens === */
:root {
  --surface:            #fcf9f2;
  --surface-low:        #f6f3ec;
  --on-surface:         #1c1c17;
  --on-surface-variant: #48473e;
  --outline:            #79776d;
  --outline-variant:    #c9c7ba;
  --primary:            #000000;
  --on-primary:         #ffffff;
  --green-accent:       #1a4d3a;
  --max:                960px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* === Shared Utilities === */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 24px; /* ← 32px */
}
.btn-outline {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 14px 32px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  border-bottom: 1px solid var(--outline-variant);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--primary); border-color: var(--outline); }

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 249, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--outline-variant);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.logo-green { color: var(--green-accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover { color: var(--on-surface); border-color: var(--outline); }

/* === Footer === */
footer {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-logo-green { color: var(--green-accent); }
.footer-copy {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.24);
}

/* ============================================================
   INDEX.HTML — Sections
   ============================================================ */

/* Hero */
.hero {
  padding: 64px 0 56px; /* ← 128px 0 120px */
  border-bottom: 1px solid var(--outline-variant);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 24px; /* ← 40px */
}
.hero-h1 {
  font-size: clamp(44px, 7.5vw, 80px);
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--primary);
  margin-bottom: 32px; /* ← 48px */
}
.hero-lead {
  font-size: 15px;
  line-height: 2.0;
  color: var(--on-surface-variant);
  max-width: 44ch;
}
.hero-lead strong {
  font-weight: 600;
  color: var(--on-surface);
}

/* Concept */
.concept {
  padding: 80px 0; /* ← 128px 0 */
  border-bottom: 1px solid var(--outline-variant);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; /* ← 96px */
  align-items: start;
}
.concept-h2 {
  font-size: clamp(26px, 3.8vw, 40px); /* ← clamp(28px, 4.2vw, 46px) */
  color: var(--primary);
  line-height: 1.25;
}
.concept-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--on-surface-variant);
}
.concept-body p + p { margin-top: 24px; }

/* Pillars */
.pillars {
  padding: 80px 0; /* ← 128px 0 */
  border-bottom: 1px solid var(--outline-variant);
}
.pillars-header { margin-bottom: 48px; } /* ← 72px */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--outline-variant);
  border: 1px solid var(--outline-variant);
}
.pillar {
  background: var(--surface);
  padding: 40px 36px; /* ← 56px 40px */
}
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-style: italic;
  color: var(--outline-variant);
  line-height: 1;
  margin-bottom: 24px; /* ← 36px */
}
.pillar-h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 16px;
}
.pillar-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--on-surface-variant);
}

/* Paper Sample Book (index) */
.paper-sample {
  padding: 80px 0; /* ← 128px 0 */
  border-bottom: 1px solid var(--outline-variant);
}
.paper-sample-h2 {
  font-size: clamp(24px, 3.6vw, 38px);
  color: var(--primary);
  margin-bottom: 28px; /* ← 40px */
  max-width: 28ch;
  line-height: 1.3;
}
.paper-sample-body {
  max-width: 52ch;
  margin-bottom: 32px; /* ← 48px */
}
.paper-sample-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--on-surface-variant);
}
.paper-sample-body p + p { margin-top: 14px; } /* ← 20px */
.paper-sample-note {
  margin-top: 16px; /* ← 24px */
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--outline);
}

/* Event */
.event {
  padding: 80px 0; /* ← 128px 0 */
  background: var(--surface-low);
  border-bottom: 1px solid var(--outline-variant);
}
.event-date {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 16px;
}
.event-h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  color: var(--primary);
  margin-bottom: 28px; /* ← 28px (same, already not excessive) */
  line-height: 1.25;
}
.event-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--on-surface-variant);
  max-width: 48ch;
  margin-bottom: 48px; /* ← 72px */
}
.matcha-sublabel {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 24px;
}
.matcha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--outline-variant);
  border: 1px solid var(--outline-variant);
}
.matcha-item {
  background: var(--surface-low);
  padding: 36px 32px; /* ← 48px 40px */
}
.matcha-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-accent);
  border: 1px solid var(--green-accent);
  padding: 4px 10px;
  margin-bottom: 14px; /* ← 20px */
}
.matcha-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.matcha-item p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--on-surface-variant);
}

/* FAQ */
.faq {
  padding: 80px 0; /* ← 128px 0 */
  border-bottom: 1px solid var(--outline-variant);
}
.faq-header { margin-bottom: 48px; } /* ← 72px */
.faq-h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--primary);
  margin-top: 16px; /* ← 24px */
}
.faq-list { list-style: none; }
.faq-item {
  border-top: 1px solid var(--outline-variant);
  padding: 32px 0; /* ← 48px 0 */
}
.faq-item:last-child { border-bottom: 1px solid var(--outline-variant); }
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px; /* ← 20px */
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.faq-a {
  font-size: 15px;
  line-height: 1.85;
  color: var(--on-surface-variant);
  max-width: 64ch;
}

/* Contact */
.contact {
  padding: 80px 0 64px; /* ← 128px 0 96px */
  background: var(--primary);
}
.contact .section-label { color: rgba(255, 255, 255, 0.38); }
.contact-h2 {
  font-size: clamp(28px, 4.5vw, 48px); /* ← clamp(30px, 5vw, 58px) */
  font-style: italic;
  color: var(--on-primary);
  margin-top: 20px; /* ← 32px */
  margin-bottom: 32px; /* ← 48px */
  max-width: 18ch;
  line-height: 1.18;
}
.contact-note {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 36px; /* ← 56px */
  max-width: 40ch;
}
.contact-email {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3.2vw, 34px);
  font-style: italic;
  color: var(--on-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 6px;
  display: inline-block;
  transition: border-color 0.25s;
}
.contact-email:hover { border-color: rgba(255, 255, 255, 0.72); }
.contact-sub {
  margin-top: 20px; /* ← 28px */
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.32);
}

/* ============================================================
   PAPER.HTML — Sections
   ============================================================ */

/* Paper hero */
.paper-hero {
  padding: 56px 0 48px; /* ← 96px 0 88px */
  border-bottom: 1px solid var(--outline-variant);
}
.paper-hero-h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-style: italic;
  color: var(--primary);
  margin-bottom: 28px; /* ← 40px */
  max-width: 22ch;
  line-height: 1.2;
}
.paper-hero-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--on-surface-variant);
  max-width: 46ch;
}

/* Paper list */
.paper-list { padding-bottom: 0; }
.paper-entry {
  display: grid;
  grid-template-columns: 96px 1fr; /* ← 120px 1fr */
  gap: 40px; /* ← 48px */
  padding: 36px 0; /* ← 64px 0 */
  border-top: 1px solid var(--outline-variant);
  align-items: start;
}
.paper-entry:last-child { border-bottom: 1px solid var(--outline-variant); }
.paper-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; /* ← 64px */
  font-style: italic;
  color: var(--outline-variant);
  line-height: 1;
}
.paper-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px; /* ← 10px */
  line-height: 1.35;
}
.paper-spec {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--outline);
  margin-bottom: 12px; /* ← 18px */
}
.paper-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--on-surface-variant);
}

/* Paper footer note */
.paper-footer-note {
  padding: 64px 0; /* ← 96px 0 */
  background: var(--surface-low);
  border-top: 1px solid var(--outline-variant);
}
.paper-footer-note-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--on-surface-variant);
  max-width: 44ch;
  margin-bottom: 28px; /* ← 40px */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 56px 0 48px; } /* ← 88px 0 80px */
  .concept { padding: 64px 0; } /* ← 88px 0 */
  .concept-grid { grid-template-columns: 1fr; gap: 40px; } /* ← gap: 48px */
  .pillars { padding: 64px 0; } /* ← 88px 0 */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 36px 28px; } /* ← 44px 32px */
  .paper-sample { padding: 64px 0; } /* ← 88px 0 */
  .event { padding: 64px 0; } /* ← 88px 0 */
  .matcha-grid { grid-template-columns: 1fr; }
  .matcha-item { padding: 32px 28px; } /* ← 40px 32px */
  .faq { padding: 64px 0; } /* ← 88px 0 */
  .contact { padding: 64px 0 52px; } /* ← 88px 0 72px */
  .paper-hero { padding: 48px 0 40px; } /* ← 72px 0 64px */
  .paper-entry { grid-template-columns: 72px 1fr; gap: 28px; padding: 32px 0; } /* ← 80px 1fr, gap:32px, padding:48px */
  .paper-num { font-size: 40px; } /* ← 48px */
  .paper-footer-note { padding: 56px 0; } /* ← 72px 0 */
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 44px; } /* ← 64px 0 60px */
  .hero-h1 { margin-bottom: 24px; } /* ← 36px */
  .pillar { padding: 28px 20px; } /* ← 36px 24px */
  .matcha-item { padding: 28px 20px; } /* ← 36px 24px */
  .faq-item { padding: 24px 0; } /* ← 36px 0 */
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .nav-links { gap: 16px; }
  .paper-entry { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; } /* ← gap:16px, padding:40px */
  .paper-num { font-size: 36px; } /* ← 40px */
}
