*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white: #ffffff;
  --off-white: #ecf3f8;
  --cream: #f0ede6;
  --ink: #333;
  --ink-mid: #4a4a46;
  --ink-light: #ccc;
  --seed: #00a7b8;
  --seed-dark: #007d8a;
  --seed-pale: #e8f7f9;
  --border: rgba(26,26,24,0.1);
  --font-en: 'Cormorant Garamond', serif;
  --font-ja: 'Noto Serif JP', serif;
  --font-ui: "Lato", sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--font-ja); font-weight: 300; overflow-x: hidden; }

/* ── INTRO ── */
#intro {
  position: fixed; inset: 0; z-index: 999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s ease 0.2s, visibility 0.8s ease 0.2s;
}
#intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-logo-wrap { width: min(340px, 72vw); }
#introSvg { width: 100%; height: auto; display: block; }

.lp { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.5s; }
.lp-gray { stroke: #7d8488; stroke-width: 2.5; }
.lp-teal { stroke: #00a7b8; stroke-width: 2.5; }

.lf { transition: opacity 0.5s ease; opacity: 0; }
.lf-gray { fill: #7d8488; }
.lf-teal { fill: #00a7b8; }
.lf.on { opacity: 1; }

.intro-tagline {
  margin-top: 44px;
  font-family: var(--font-ja); font-size: 13px; font-weight: 200;
  letter-spacing: 0.28em; color: var(--ink-light);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.intro-tagline.on { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  padding: 16px 56px; box-shadow: 0 1px 0 var(--border);
}
.nav-logo { height: 30px; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--ink-mid); text-decoration: none;
  font-family: var(--font-ui); font-size: 13px; font-weight: 300;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--seed); }
.nav-cta {
  font-family: var(--font-ui); font-size: 13px; font-weight: 300;
  letter-spacing: 0.12em; color: var(--seed); text-decoration: none;
  border: 1px solid var(--seed); padding: 8px 20px; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--seed); color: var(--white); }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 0 56px 100px; position: relative; overflow: hidden; background: var(--white);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.35;
}
#seedCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { display: flex; justify-content: center; align-items: center; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content img { width: 35%; }
.hero-badge {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--seed); margin-bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fUp 0.8s ease 1.9s forwards;
}
.hero-badge::before { content: ''; width: 28px; height: 1px; background: var(--seed); }
.hero-h1 {
  font-family: var(--font-en); font-weight: 300;
  font-size: clamp(56px, 9vw, 120px); line-height: 0.95;
  letter-spacing: -0.03em; color: var(--ink);
  opacity: 0; animation: fUp 0.9s ease 2.1s forwards;
}
.hero-h1 em { font-style: italic; color: var(--seed); }
.hero-ja {
  margin-top: 36px; font-family: var(--font-ja); font-size: clamp(13px, 1.8vw, 17px);
  font-weight: 200; line-height: 2.4; letter-spacing: 0.08em; color: var(--ink-mid);
  opacity: 0; animation: fUp 0.8s ease 2.3s forwards;
}
.hero-scroll {
  position: absolute; bottom: 44px; left: 56px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink-light);
  opacity: 0; animation: fIn 0.8s ease 2.7s forwards;
}
.scroll-line {
  width: 48px; height: 1px; background: var(--ink-light);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--seed);
  animation: sLine 2s ease-in-out infinite 3s;
}
@keyframes sLine { 0%{left:-100%} 50%{left:0} 100%{left:100%} }
@keyframes fUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fIn  { from{opacity:0} to{opacity:1} }

/* ── SECTIONS ── */
.section-label {
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--seed);
  display: flex; align-items: center; gap: 12px; margin-bottom: 40px;
}
.section-label::before { content:''; width:24px; height:1px; background:var(--seed); flex-shrink:0; }
h2.st {
  font-family: var(--font-en); font-weight: 200;
  font-size: clamp(36px,5vw,68px); line-height: 1.5;
  letter-spacing: -0.02em; color: #7e8387; margin-bottom: 28px;
}
h2.st em { font-style: italic; color: var(--seed); }
.sb { font-family: var(--font-ja); font-size: 14px; line-height: 2.4; font-weight: 300; color: var(--ink-mid); max-width: 520px; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.rv.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

/* ── PHILOSOPHY ── */
#philosophy {
  padding: 140px 56px; background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start;
  border-top: 1px solid var(--border);
}
.phil-item {
  padding: 40px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 52px 1fr; gap: 24px; align-items: start;
}
.phil-item:first-child { border-top: 1px solid var(--border); }
.pnum { font-family: var(--font-en); font-size: 12px; color: var(--seed); letter-spacing: 0.08em; padding-top: 3px; }
.ptitle { font-family: var(--font-ja); font-size: 17px; font-weight: 400; color: var(--ink); margin-bottom: 10px; letter-spacing: 0.04em; }
.pdesc { font-family: var(--font-ui); font-size: 13px; line-height: 2; color: #7e8387; font-weight: 300; }

/* ── SERVICE ── */
#service { padding: 140px 56px; background: var(--off-white); border-top: 1px solid var(--border); }
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--border); padding: 56px 48px 48px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.svc-card:hover { box-shadow: 0 12px 48px rgba(0,167,184,0.1); border-color: rgba(0,167,184,0.3); }
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--seed); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.svc-card:hover::after { transform: scaleX(1); }
.cnum {
  font-family: var(--font-en); font-size: 80px; font-weight: 300;
  color: rgba(0,167,184,0.07); line-height: 1;
  position: absolute; top: 20px; right: 28px; letter-spacing: -0.05em;
}
.ctag { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--seed); margin-bottom: 20px; font-weight: 300; }
.ctag img { width: 20%; }
.ctitle { font-family: var(--font-ja); font-size: 22px; font-weight: 400; color: var(--ink); line-height: 1.7; margin-bottom: 20px; letter-spacing: 0.03em; }
.cdesc { font-family: var(--font-ui); font-size: 13px; line-height: 2; color: #666; font-weight: 300; margin-bottom: 28px; }
.clist { list-style: none; }
.clist li { font-family: var(--font-ui); font-size: 12px; color: var(--ink-mid); padding: 12px 0 12px 16px; position: relative; font-weight: 300; border-bottom: 1px solid var(--border); }
.clist li:last-child { border-bottom: none; }
.clist li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--seed); }

/* ── SEED MEANING ── */
#seed-meaning {
  padding: 140px 56px; background: var(--white); border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.slrow {
  display: grid; grid-template-columns: 72px 1fr; gap: 0;
  border-bottom: 1px solid var(--border); padding: 32px 0; align-items: center;
  transition: background 0.2s;
}
.slrow:first-of-type { border-top: 1px solid var(--border); }
.slrow:hover { background: var(--seed-pale); }
.slchar { font-family: var(--font-en); font-size: 64px; font-weight: 300; color: var(--seed); line-height: 1; letter-spacing: -0.04em; }
.slen { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--seed); margin-bottom: 6px; font-weight: 300; }
.slja { font-family: var(--font-ja); font-size: 15px; font-weight: 400; color: var(--ink); letter-spacing: 0.04em; }
.sldesc { font-family: var(--font-ui); font-size: 12px; color: var(--ink-light); margin-top: 4px; font-weight: 300; line-height: 1.7; }
.seed-viz { display: flex; align-items: center; justify-content: center; }
.seed-viz svg { width: 300px; height: 300px; }
@keyframes spinCW  { to { transform: rotate( 360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }
@keyframes pulseR {
  0%   { r: 8; opacity: 0.6; stroke-width: 2; }
  100% { r: 80; opacity: 0; stroke-width: 0.5; }
}

/* ── COMPANY ── */
#company { padding: 140px 56px; border-top: 1px solid var(--border); }
.co-grid {
  display: grid; grid-template-columns: repeat(3,1fr); margin-top: 64px;
}
.co-item { padding: 40px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.co-item:nth-child(3n) { border-right: none; }
.co-item:nth-last-child(-n+3) { border-bottom: none; }
.colabel { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--seed-dark); margin-bottom: 14px; font-weight: 300; }
.coval { font-family: var(--font-ja); font-size: 14px; font-weight: 300; color: var(--ink); line-height: 2; }

/* ── CONTACT ── */
#contact {
  padding: 180px 56px; background: #f0f0f0; text-align: center; position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,167,184,0.08) 0%, transparent 70%); pointer-events: none;
}
#contact .section-label { justify-content: center; color: rgba(0,167,184,0.8); }
#contact .section-label::before { background: rgba(0,167,184,0.5); }
#contact h2.st { color: var(--white); }
#contact h2.st em { color: var(--seed); }
#contact .sb { color: rgba(245,243,238,0.55); margin: 0 auto 64px; text-align: center; }
.cta-btn {
  display: inline-block; padding: 18px 60px;
  border: 1px solid rgba(0,167,184,0.5); color: var(--seed);
  text-decoration: none; font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 300;
  transition: background 0.3s, color 0.3s, border-color 0.3s; position: relative; z-index: 1;
}
.cta-btn:hover { background: var(--seed); color: var(--white); border-color: var(--seed); }

/* ── FOOTER ── */
footer {
  background: #7e8387; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 56px; display: flex; align-items: center; justify-content: space-between;
}
.fcopy { font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,0.3); font-weight: 300; letter-spacing: 0.05em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  #hero { padding: 0 24px 80px; }
  .hero-content img { width: 70%; }
  #philosophy, #seed-meaning { grid-template-columns: 1fr; gap: 60px; padding: 80px 24px; }
  #service { padding: 80px 24px; }
  .svc-intro { grid-template-columns: 1fr; gap: 32px; }
  .svc-cards { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr 1fr; }
  .ctag img { width: 30%; }
  #company { padding: 80px 24px; }
  #contact { padding: 100px 24px; }
  footer { padding: 28px 24px; flex-direction: column; gap: 12px; text-align: center; }
  .intro-logo-wrap { width: 240px; }
  .seed-viz { display: none; }
}
