/* ========================================
   TAISEI SANGYO — v2 Stylesheet
   Corporate green / Modern sans-serif
   ======================================== */

:root {
  /* Corporate palette from Leather Sample slides */
  --green: #009933;          /* primary green */
  --green-deep: #003311;     /* deep forest */
  --green-soft: #CCFFCC;     /* lime accent */
  --green-mist: #E6F5EB;     /* very pale */
  --green-tint: #F8FAF8;     /* near-white tint */

  /* Mono */
  --ink: #0a0a0a;
  --ink-soft: #1A1A1A;
  --gray-9: #2a2a2a;
  --gray-7: #4a4a4a;
  --gray-5: #707070;
  --gray-3: #b8b8b8;
  --gray-1: #f0f0f0;
  --white: #ffffff;

  /* Functional */
  --bg: #ffffff;
  --text: var(--ink);
  --muted: var(--gray-5);
  --border: #e8e8e8;
  --accent: var(--green);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Schibsted Grotesk', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  font-feature-settings: 'palt' 1;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NOTE BAR ── */
.note-bar {
  background: var(--green-deep);
  color: var(--green-soft);
  text-align: center;
  padding: 8px 24px;
  font-family: 'JetBrains Mono', 'Schibsted Grotesk', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo-text {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
}
.logo-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--gray-7);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

nav ul { list-style: none; display: flex; gap: 40px; }
nav ul a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--gray-7);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
nav ul a:hover { color: var(--green); }
nav ul a.active { color: var(--ink); font-weight: 600; }
nav ul a.active::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--green); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--green); transform: translateY(-1px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(2px); }

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.btn-green:hover { background: var(--green-deep); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-7);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s;
  padding: 14px 12px;
}
.btn-ghost:hover { color: var(--green); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ── SECTIONS ── */
.section { padding: 140px 56px; }
.section-tight { padding: 100px 56px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 24px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%;
}

.h-display {
  font-family: 'Schibsted Grotesk', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h-display .accent { color: var(--green); }

.h-section {
  font-family: 'Schibsted Grotesk', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

.h-card {
  font-family: 'Schibsted Grotesk', 'Noto Sans JP', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.lead {
  font-size: 1.02rem;
  color: var(--gray-7);
  line-height: 1.75;
  font-weight: 400;
  max-width: 620px;
}

p { font-weight: 400; }

/* ── PAGE HEADER (sub pages) ── */
.page-header {
  padding: 140px 56px 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: var(--green-mist);
  border-radius: 50%;
  z-index: 0;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 {
  font-family: 'Schibsted Grotesk', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--gray-3);
  padding: 80px 56px 32px;
  font-size: 0.85rem;
  font-weight: 400;
}
footer a { color: var(--gray-3); transition: color 0.2s; }
footer a:hover { color: var(--green-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--green-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer-col p { font-size: 0.85rem; line-height: 1.8; color: var(--gray-3); }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 0.85rem; line-height: 2.1; }
.footer-brand .logo-text { color: var(--white); display: flex; margin-bottom: 20px; }
.footer-brand .logo-jp { color: var(--gray-3); border-left-color: rgba(255,255,255,0.2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-5);
}
.footer-bottom div:nth-child(2) { display: flex; gap: 28px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.7s ease both; }
.anim-2 { animation: fadeUp 0.7s 0.08s ease both; }
.anim-3 { animation: fadeUp 0.7s 0.16s ease both; }
.anim-4 { animation: fadeUp 0.7s 0.24s ease both; }
.anim-5 { animation: fadeUp 0.7s 0.32s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  nav ul { gap: 20px; order: 3; flex-basis: 100%; justify-content: center; }
  nav ul a.active::after { bottom: -8px; }
  .nav-cta { font-size: 0.78rem; padding: 7px 16px; }
  .logo-jp { display: none; }
  .footer-brand .logo-jp { display: inline; }
  .section, .section-tight { padding: 80px 24px; }
  .page-header { padding: 80px 24px 56px; }
  footer { padding: 56px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
