/* =========================================================
   ZIUM ECO LOOP — Corporate Website
   Design tokens & global styles
   ========================================================= */

:root {
  /* Palette */
  --navy-900: #071429;
  --navy-800: #0B1F3A;
  --navy-700: #142c4f;
  --navy-500: #2b4467;
  --navy-300: #5a708f;
  --navy-100: #e6ecf4;

  --green-900: #0d4c33;
  --green-700: #157048;
  --green-600: #1F8A5B;
  --green-500: #28a06d;
  --green-100: #e4f4eb;
  --lime-400:  #b8e24a;
  --lime-200:  #e8f5c4;

  --ink-900: #0a0f1a;
  --ink-700: #33405a;
  --ink-500: #6a7793;
  --ink-400: #8c96ab;
  --ink-300: #b8bfcd;

  --line: #e6e9ef;
  --line-strong: #d5dae4;
  --bg-soft: #f6f8fb;
  --bg-cream: #f9f7f2;

  --white: #ffffff;

  /* Brand — Terraform (Pillar 01) */
  --terra-olive: #7a8a3a;   /* logo left */
  --terra-mid:   #9a7f2f;   /* logo mid transition */
  --terra-warm:  #a15a2b;   /* logo right */
  --terra-grad:  linear-gradient(90deg, var(--terra-olive) 0%, var(--terra-mid) 45%, var(--terra-warm) 100%);

  /* Brand — PhytoNEX (Pillar 02) */
  --phyto-lime:  #7ec13a;   /* logo left */
  --phyto-mid:   #2fa77a;   /* logo mid */
  --phyto-teal:  #1b8fa8;   /* logo right */
  --phyto-grad:  linear-gradient(90deg, var(--phyto-lime) 0%, var(--phyto-mid) 50%, var(--phyto-teal) 100%);

  /* Brand — AquaFlow (Pillar 03) */
  --aqua-deep:   #1a3e8f;   /* logo left */
  --aqua-mid:    #1f7ecf;   /* logo mid */
  --aqua-cyan:   #2fc1e8;   /* logo right */
  --aqua-grad:   linear-gradient(90deg, var(--aqua-deep) 0%, var(--aqua-mid) 45%, var(--aqua-cyan) 100%);

  /* Brand — FeedVital (Pillar 04) */
  --feed-brown:  #9a6a2b;   /* logo left */
  --feed-mid:    #a08628;   /* logo mid */
  --feed-lime:   #a8b524;   /* logo right */
  --feed-grad:   linear-gradient(90deg, var(--feed-brown) 0%, var(--feed-mid) 50%, var(--feed-lime) 100%);

  /* Type scale */
  --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-display: 'Manrope', 'Pretendard', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radius & shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(11,31,58,.04), 0 2px 6px rgba(11,31,58,.03);
  --shadow-2: 0 4px 14px rgba(11,31,58,.06), 0 12px 32px rgba(11,31,58,.05);
  --shadow-3: 0 12px 40px rgba(11,31,58,.10);

  /* Layout */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv01", "cv11";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Section spacing */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  padding: 6px 12px;
  border: 1px solid var(--green-100);
  background: var(--green-100);
  border-radius: 999px;
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-600);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  max-width: 820px;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--green-600);
  font-weight: 700;
}
.section-lead {
  margin-top: 20px;
  max-width: 720px;
  color: var(--ink-700);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  text-wrap: pretty;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(11,31,58,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-wordmark {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity .15s ease;
}
.brand:hover .brand-wordmark { opacity: .8; }

/* Footer company name — text only */
.footer-company-name {
  font-family: var(--font-display, inherit);
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin: 0 0 16px;
}
@media (max-width: 560px) {
  .footer-company-name { font-size: 20px; }
}

@media (max-width: 560px) {
  .brand-wordmark { height: 28px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: 'Space Grotesk', var(--font-display);
  font-size: 13px;
  color: var(--navy-800);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  position: relative;
  transition: color .15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--green-600);
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--green-700); }
.nav-cta svg { width: 14px; height: 14px; }

/* Language switcher — segmented pill */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
  gap: 2px;
}
.lang-btn {
  font-family: 'Space Grotesk', var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  color: var(--ink-500);
  padding: 7px 12px;
  min-width: 40px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
  line-height: 1;
}
.lang-btn:hover { color: var(--navy-800); }
.lang-btn.is-active {
  background: var(--navy-800);
  color: #fff;
}
.lang-btn[data-lang="zh"],
.lang-btn[data-lang="ja"] {
  font-size: 14px;
  letter-spacing: 0;
  font-family: var(--font-sans);
}
.nav-menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  background: white;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 6px 9px; min-width: 34px; font-size: 11px; }
  .lang-btn[data-lang="zh"], .lang-btn[data-lang="ja"] { font-size: 13px; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad-x);
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========================================================
   HERO — Full-bleed photo background (soil → green)
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(72px + 96px);
  padding-bottom: 112px;
  overflow: hidden;
  background: #0a1526;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
  isolation: isolate;
}

/* Background photo layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.05) contrast(1.02);
}
/* Left → dark navy for text legibility, right → subtle wash keeping green visible */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(8,18,34,.94) 0%,
      rgba(8,18,34,.88) 28%,
      rgba(8,18,34,.62) 48%,
      rgba(8,18,34,.30) 68%,
      rgba(8,18,34,.45) 100%
    );
}
/* Top + bottom vignette so nav & next section blend cleanly */
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,18,34,.55) 0%, transparent 18%, transparent 78%, rgba(8,18,34,.75) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 50%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}


.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 600;
  text-transform: uppercase;
  color: #7fe0af;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: #7fe0af;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* 일본어는 문장이 길어 줄바꿈이 어색해지므로 소폭 축소 + 자간/행간 조정 */
.hero h1:lang(ja),
html[lang="ja"] .hero h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.hero h1 br + .accent,
.hero h1 .accent {
  display: inline-block;
  margin-top: 0.15em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #7fe0af 0%, #a9ecc7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .kicker {
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 28px;
}
.hero .kicker span { color: #7fe0af; }
.hero .sub {
  margin-top: 28px;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.hero p.sub + p.sub {
  margin-top: 4px;
}
.hero .sub strong {
  color: #fff;
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }

/* Hero CTAs — match top-nav language switcher height */
.hero .btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  gap: 6px;
}
.hero .btn svg { width: 13px; height: 13px; }
.btn-primary {
  background: var(--navy-800);
  color: white;
}
.btn-primary:hover { background: var(--green-700); }
.btn-secondary {
  background: white;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--navy-800);
  background: var(--navy-800); color: white;
}
/* Hero-specific: primary → bright green on dark, secondary → glass */
.hero .btn-primary {
  background: #1F8A5B;
  color: #fff;
  box-shadow: 0 12px 32px rgba(31,138,91,.35);
}
.hero .btn-primary:hover { background: #24a06a; transform: translateY(-1px); }
.hero .btn-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* Hero meta stat row */
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 720px;
}
.hero-meta .item .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.hero-meta .item .n span {
  color: rgba(255,255,255,.55) !important;
}
.hero-meta .item .l {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

/* Hero visual — ZEL Core orbit (dark/glass variant) */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
  justify-self: end;
}
.orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.28);
  animation: spin 60s linear infinite;
}
.orbit.o2 { inset: 12%; border-color: rgba(127,224,175,.42); animation-duration: 90s; animation-direction: reverse; }
.orbit.o3 { inset: 24%; border-style: solid; border-color: rgba(255,255,255,.10); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.14) 0%, rgba(31,138,91,.28) 55%, rgba(10,50,32,.55) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.20),
    0 30px 80px rgba(0,0,0,.45),
    0 0 60px rgba(31,138,91,.35);
  display: grid;
  place-items: center;
  text-align: center;
}
.orbit-core > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}
.orbit-core .orbit-mark {
  display: block;
  width: clamp(34px, 3.6vw, 46px);
  height: auto;
  margin: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.orbit-core .sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: .28em;
  color: #7fe0af;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}
.orbit-core .label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: -.01em;
  line-height: 1.2;
}

/* Orbit node — square-ish glass tile, name centered and sized to fit */
.orbit-node {
  position: absolute;
  width: 132px;
  height: 60px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  padding: 0 14px;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.orbit-node .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -.015em;
  line-height: 1;
  white-space: nowrap;
}
/* Brand-color gradient text keeps the gradient fill but uses the same display font */
.orbit-node .n .brand-terraform,
.orbit-node .n .brand-phytonex,
.orbit-node .n .brand-aquaflow,
.orbit-node .n .brand-feedvital {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -.015em;
}

/* Positions — Terraform top, FeedVital right (was PhytoNEX), AquaFlow bottom, PhytoNEX left (was FeedVital) */
.orbit-node.n-terra   { top: 8%;  left: 50%; }
.orbit-node.n-feed    { top: 50%; left: 92%; }
.orbit-node.n-aqua    { top: 92%; left: 50%; }
.orbit-node.n-phyto   { top: 50%; left: 8%; }

/* Subtle grid backdrop on right side only */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(45% 55% at 78% 45%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(45% 55% at 78% 45%, black, transparent 85%);
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero { padding-top: calc(72px + 56px); padding-bottom: 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 0 auto; max-width: 380px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(8,18,34,.90) 0%, rgba(8,18,34,.75) 60%, rgba(8,18,34,.55) 100%);
  }
}

/* =========================================================
   POSITIONING STRIP (사이 스트라이프)
   ========================================================= */
.strip {
  background: var(--navy-800);
  color: white;
  padding: 26px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.strip .msg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  letter-spacing: -.005em;
}
.strip .msg span { color: var(--lime-400); }
.strip .tags {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.strip .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  color: rgba(255,255,255,.75);
}

/* =========================================================
   ZEL CORE PLATFORM
   ========================================================= */
.zelcore-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}
.zelcore-copy .block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.zelcore-copy .block:first-child { padding-top: 0; border-top: 0; }
.zelcore-copy .block h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-800);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.zelcore-copy .block h4::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-600);
}
.zelcore-copy .block p {
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.7;
}

/* Visual: molecule / structure diagram */
.zel-diagram {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
}
.zel-diagram .label-tl,
.zel-diagram .label-br {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.zel-diagram .label-tl { top: 20px; left: 20px; }
.zel-diagram .label-br { bottom: 20px; right: 20px; }

.zel-svg { width: 100%; height: 100%; }

/* Vs table */
.vs-table {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vs-col {
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: white;
}
.vs-col.old { background: #fbfbfb; }
.vs-col.new {
  background: linear-gradient(180deg, #0B1F3A 0%, #071429 100%);
  color: white;
  border-color: transparent;
}
.vs-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.vs-col.new h5 { color: var(--lime-400); }
.vs-col h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy-800);
  margin-bottom: 22px;
}
.vs-col.new h3 { color: white; }
.vs-col ul { list-style: none; padding: 0; margin: 0; }
.vs-col li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.55;
}
.vs-col.new li {
  border-top-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}
.vs-col li:first-child { border-top: 0; }
.vs-col li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 8px;
  width: 6px; height: 6px;
  background: var(--ink-300);
  transform: rotate(45deg);
}
.vs-col.new li::before { background: var(--lime-400); }

@media (max-width: 900px) {
  .zelcore-grid { grid-template-columns: 1fr; gap: 40px; }
  .vs-table { grid-template-columns: 1fr; }
}

/* =========================================================
   PRODUCTION CHAIN (ZEMS → ZELBC → ZELBA)
   ========================================================= */
.chain {
  margin-top: 80px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: white;
}
.chain-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.chain-head h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--navy-800); letter-spacing: -.01em;
}
.chain-head .meta {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-500); font-family: var(--font-mono);
}
.chain-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.chain-step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.chain-step .idx {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  color: var(--green-600);
  margin-bottom: 12px;
}
.chain-step .name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px;
  color: var(--navy-800); letter-spacing: -.01em;
}
.chain-step .en {
  font-family: var(--font-mono);
  font-size: 11.5px; color: var(--ink-500);
  margin-top: 4px; letter-spacing: .04em;
}
.chain-step .desc {
  margin-top: 14px; font-size: 13.5px;
  color: var(--ink-700); line-height: 1.6;
}
.chain-step .time {
  margin-top: 16px;
  display: inline-block;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-800);
  letter-spacing: .06em;
}
.chain-arrow {
  align-self: center;
  color: var(--ink-300);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
}
@media (max-width: 900px) {
  .chain-steps { grid-template-columns: 1fr; }
  .chain-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* =========================================================
   PILLARS OVERVIEW
   ========================================================= */
.pillars {
  background: var(--bg-soft);
  position: relative;
}
.pillars::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,31,58,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 20%, transparent 100%);
}
.pillars .container { position: relative; }
.pillar-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pillar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--green-100);
}
.pillar-card .code {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  color: var(--green-600); font-weight: 600;
  margin-bottom: 22px;
}
.pillar-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 20px;
  color: var(--navy-800);
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
.pillar-card .tag-kr {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}
.pillar-card p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.65;
  min-height: 66px;
}
.pillar-card .keywords {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pillar-card .kw {
  font-size: 11.5px;
  padding: 4px 9px;
  background: var(--bg-soft);
  color: var(--navy-700);
  border-radius: 6px;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}
.pillar-card .link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--navy-800);
}
.pillar-card .link svg { width: 12px; height: 12px; transition: transform .15s ease; }
.pillar-card:hover .link svg { transform: translateX(3px); }

@media (max-width: 1000px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PILLAR DETAIL SECTION
   ========================================================= */
/* Photo bands inside detail / business sections */
.photo-band {
  position: relative;
  margin: 28px 0 44px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1f3a;
  aspect-ratio: 21 / 8;
}
.photo-band img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform .8s ease;
}
.photo-band:hover img { transform: scale(1.02); }
.photo-band .band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,41,0) 40%, rgba(7,20,41,.55) 100%);
  pointer-events: none;
}
.photo-band .band-caption {
  position: absolute; left: 20px; bottom: 16px; right: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.photo-band .band-caption .band-tag {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
@media (max-width: 800px) {
  .photo-band { aspect-ratio: 16 / 10; margin: 20px 0 32px; }
  .photo-band .band-caption { font-size: 10px; left: 14px; bottom: 12px; right: 14px; }
}

/* Two-up field photo strip */
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 44px;
}
.photo-duo .photo-band { margin: 0; aspect-ratio: 16/10; }
@media (max-width: 800px) {
  .photo-duo { grid-template-columns: 1fr; gap: 14px; }
}

/* Case card with inline field photo */
.case-card.with-photo { padding: 0; overflow: hidden; }
.case-card.with-photo .case-photo {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-bottom: 1px solid var(--line);
}
.case-card.with-photo .case-body { padding: 20px 22px; }

.detail {
  border-top: 1px solid var(--line);
}
.detail.alt { background: var(--bg-soft); }
.detail-head {
  display: flex; align-items: baseline; gap: 24px;
  flex-wrap: wrap;
}
.detail-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green-600);
  letter-spacing: .14em;
  font-weight: 600;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -.024em;
  color: var(--navy-800);
  margin-top: 12px;
  max-width: 780px;
  text-wrap: balance;
}
.detail-title small {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-500);
  font-size: 15px;
  letter-spacing: 0;
  margin-top: 6px;
}
.detail-lead {
  margin-top: 18px;
  max-width: 680px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.7;
}

.detail-body {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-body.reversed { grid-template-columns: 1fr 1.15fr; }
.detail-body.reversed .detail-left { order: 2; }
.detail-body.reversed .detail-right { order: 1; }

.problem-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.problem-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.detail.alt .problem-item { background: white; }
.problem-item .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
  letter-spacing: .08em;
}
.problem-item h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 15px;
  margin: 6px 0 6px;
  letter-spacing: -.005em;
}
.problem-item p {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.55;
}

.approach-list { display: flex; flex-direction: column; gap: 14px; }
.approach-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
}
.detail.alt .approach-item { background: white; }
.approach-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-600);
  font-size: 20px;
  line-height: 1;
}
.approach-item .body h6 {
  font-family: var(--font-display);
  font-weight: 700; color: var(--navy-800);
  font-size: 15px; letter-spacing: -.005em;
  margin-bottom: 6px;
}
.approach-item .body p {
  font-size: 13.5px; color: var(--ink-700); line-height: 1.6;
}

.case-card {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(180deg, #0B1F3A 0%, #071429 100%);
  color: white;
  border-radius: 14px;
}
.case-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime-400);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-card h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.case-card p {
  color: rgba(255,255,255,.72);
  font-size: 13.5px; line-height: 1.6;
}

.detail-metrics {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  margin-top: 30px;
}
.metric {
  padding: 20px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
}
.metric .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .06em;
}
.metric .v {
  font-family: var(--font-display);
  font-weight: 700; color: var(--navy-800);
  font-size: 20px; margin-top: 6px;
  letter-spacing: -.01em;
}

@media (max-width: 900px) {
  .detail-body,
  .detail-body.reversed { grid-template-columns: 1fr; gap: 32px; }
  .detail-body.reversed .detail-left { order: 1; }
  .detail-body.reversed .detail-right { order: 2; }
  .problem-list { grid-template-columns: 1fr; }
  .detail-metrics { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   APPLICATION / BUSINESS MODEL
   ========================================================= */
.matrix {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.matrix .cell {
  background: white;
  padding: 22px;
}
.matrix .head {
  background: var(--navy-800);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 16px 22px;
  display: flex; align-items: center;
}
.matrix .head.corner {
  background: var(--navy-900);
  color: var(--ink-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.matrix .row-label {
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  display: flex; align-items: center;
  gap: 12px;
}
.matrix .row-label .icon {
  width: 24px; height: 24px; color: var(--green-600);
}
.matrix .cell strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 14px;
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.matrix .cell p {
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.55;
}

.flow {
  margin-top: 56px;
  padding: 36px;
  background: var(--navy-800);
  color: white;
  border-radius: var(--r-lg);
}
.flow h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: white;
  margin-bottom: 8px;
}
.flow p.sub { color: rgba(255,255,255,.68); font-size: 14px; margin-bottom: 28px; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.flow-step {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.flow-step .n {
  font-family: var(--font-mono);
  color: var(--lime-400);
  font-size: 11px; letter-spacing: .1em; margin-bottom: 12px;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 17px;
  letter-spacing: -.005em;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .matrix { grid-template-columns: 1fr; }
  .matrix .head.corner { display: none; }
  .matrix .row-label { position: sticky; top: 0; }
  .flow-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   ABOUT COMPANY
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}
.about-copy .stmt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy-800);
  letter-spacing: -.01em;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  text-wrap: balance;
}
.about-copy .info-list {
  margin-top: 28px;
  display: grid; grid-template-columns: 130px 1fr;
  row-gap: 14px; column-gap: 20px;
  font-size: 14.5px;
}
.about-copy .info-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding-top: 4px;
}
.about-copy .info-list dd {
  margin: 0;
  color: var(--ink-900);
}
.timeline {
  border-left: 1px solid var(--line-strong);
  padding-left: 26px;
  margin-top: 32px;
}
.timeline .item {
  position: relative;
  padding: 6px 0 22px;
}
.timeline .item::before {
  content: "";
  position: absolute;
  left: -32px; top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--green-600);
}
.timeline .yr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green-600);
  letter-spacing: .06em;
}
.timeline .desc {
  color: var(--navy-800);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 15px;
  margin-top: 4px;
}

.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.leader {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.leader .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--green-600);
  text-transform: uppercase;
}
.leader .name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: var(--navy-800);
  margin-top: 6px;
  letter-spacing: -.005em;
}
.leader .bio {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 6px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background:
    radial-gradient(1000px 500px at 90% 0%, rgba(31,138,91,.15), transparent 60%),
    linear-gradient(180deg, #071429 0%, #0B1F3A 100%);
  color: white;
  position: relative;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 100%);
}
.contact .container { position: relative; }
.contact .section-eyebrow { background: rgba(184,226,74,.14); color: var(--lime-400); border-color: rgba(184,226,74,.24); }
.contact .section-eyebrow::before { background: var(--lime-400); }
.contact .section-title { color: white; }
.contact .section-lead { color: rgba(255,255,255,.7); }

.contact-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-types {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 28px;
}
.type-btn {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: white;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.type-btn:hover, .type-btn.active {
  border-color: var(--lime-400);
  background: rgba(184,226,74,.06);
}
.type-btn .lb {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  letter-spacing: -.005em;
}
.type-btn .desc {
  font-size: 12px; color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.contact-info {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.contact-info h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--lime-400);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-info .loc { margin-bottom: 18px; }
.contact-info .loc:last-child { margin-bottom: 0; }
.contact-info .loc .n {
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  color: white; margin-bottom: 4px;
}
.contact-info .loc .a {
  font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.55;
}

.form-card {
  padding: 36px;
  background: white;
  border-radius: var(--r-lg);
  color: var(--ink-900);
  box-shadow: var(--shadow-3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: white;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(31,138,91,.12);
}
.field textarea { min-height: 130px; resize: vertical; font-family: var(--font-sans); }
.form-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-actions .privacy {
  font-size: 12px;
  color: var(--ink-500);
  max-width: 60%;
}
.form-submit {
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--navy-800);
  color: white;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .15s;
}
.form-submit:hover { background: var(--green-700); }
.form-submit svg { width: 14px; height: 14px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions .privacy { max-width: 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #050d1c;
  color: rgba(255,255,255,.7);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 0.9fr 0.9fr 1.3fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: start;
}
.footer-brand { padding-top: 2px; }
.footer-col.platform { padding-left: 24px; }
.footer-col.technology { padding-left: 12px; }
@media (max-width: 900px) {
  .footer-col.platform,
  .footer-col.technology { padding-left: 0; }
}
.footer-brand .brand { color: white; }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-name span { color: var(--lime-400); }
.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 340px;
}
.footer-col h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime-400);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.4;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0 0 10px;
  line-height: 1.6;
}
.footer-col a:last-child, .footer-col p:last-child { margin-bottom: 0; }
.footer-col a:hover { color: white; }
.footer-bot {
  margin-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
}
@media (max-width: 560px) {
  .footer { padding: 56px 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-brand { grid-column: auto; }
}

/* Anim fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.in { opacity: 1; transform: none; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 6px;
}


/* =========================================================
   BRAND — PILLAR WORDMARKS (Terraform, PhytoNEX, ...)
   ========================================================= */
.brand-terraform,
.brand-phytonex,
.brand-aquaflow,
.brand-feedvital {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
}
.brand-terraform { background-image: var(--terra-grad); }
.brand-phytonex  { background-image: var(--phyto-grad); }
.brand-aquaflow  { background-image: var(--aqua-grad); }
.brand-feedvital { background-image: var(--feed-grad); }

.brand-tm {
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-terraform + .brand-tm,
.brand-terraform-tm {
  color: var(--terra-warm);
  -webkit-text-fill-color: var(--terra-warm);
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-phytonex + .brand-tm,
.brand-phytonex-tm {
  color: var(--phyto-teal);
  -webkit-text-fill-color: var(--phyto-teal);
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-aquaflow + .brand-tm,
.brand-aquaflow-tm {
  color: var(--aqua-cyan);
  -webkit-text-fill-color: var(--aqua-cyan);
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-feedvital + .brand-tm,
.brand-feedvital-tm {
  color: var(--feed-lime);
  -webkit-text-fill-color: var(--feed-lime);
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 700;
  letter-spacing: 0;
}
/* Uppercase / eyebrow contexts keep the gradient but honor tracking */
.detail-code .brand-terraform,
.detail-code .brand-phytonex,
.detail-code .brand-aquaflow,
.detail-code .brand-feedvital,
.eyebrow .brand-terraform,
.eyebrow .brand-phytonex,
.eyebrow .brand-aquaflow,
.eyebrow .brand-feedvital {
  letter-spacing: .18em;
  font-weight: 700;
}

/* =========================================================
   TYPOGRAPHY & RESPONSIVE POLISH — 2026-07
   Natural phrase wrapping for Korean/English and safer mobile layout.
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body,
button,
input,
select,
textarea {
  word-break: normal;
  overflow-wrap: normal;
}

html[lang="ko"] body {
  word-break: keep-all;
  line-break: strict;
}
html[lang="ja"] body,
html[lang="zh-Hans"] body {
  word-break: normal;
  line-break: strict;
}

.section-title,
.section-lead,
.hero h1,
.hero .sub,
.strip-message,
.zelcore-copy,
.detail-title,
.detail-lead,
.about-copy .stmt,
.contact-info,
.footer-brand p,
.pillar-card,
.case-card,
.flow-step,
.matrix,
.type-btn {
  word-break: inherit;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.hero h1 .accent {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.section-title em {
  display: inline;
}

/* Long technical strings and email addresses may wrap, but ordinary words may not split. */
a[href^="mailto:"],
.contact-info .loc .a,
.footer-col,
.detail-code,
.matrix {
  overflow-wrap: anywhere;
}

a[href^="mailto:"] {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-info a[href^="mailto:"],
.footer a[href^="mailto:"] { text-decoration: underline; }

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}
.privacy-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green-600);
}
.form-status {
  flex: 1 1 260px;
  min-height: 1.5em;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-500);
}
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: #b42318; }
.form-submit:disabled { opacity: .7; cursor: wait; }

@media (max-width: 960px) {
  :root { --pad-x: clamp(20px, 5vw, 36px); }
  .hero-copy,
  .section-title,
  .section-lead,
  .detail-title,
  .detail-lead { max-width: 100%; }
  .hero h1 { max-width: 760px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  section { padding: 72px 0; }
  .nav-inner { height: 64px; }
  .hero { padding-top: 112px; padding-bottom: 72px; min-height: auto; }
  .hero-grid { gap: 52px; }
  .hero h1 {
    font-size: clamp(31px, 9.2vw, 42px);
    line-height: 1.28;
    letter-spacing: -.03em;
    text-wrap: pretty;
  }
  .hero h1 .accent { margin-top: .18em; }
  .hero .sub {
    font-size: 15px;
    line-height: 1.72;
    max-width: none;
  }
  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    margin-top: 42px;
    padding-top: 28px;
  }
  .hero-meta .item .n { font-size: 21px; }
  .hero-visual { max-width: min(88vw, 350px); }

  .section-eyebrow { letter-spacing: .11em; }
  .section-title {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.25;
    letter-spacing: -.025em;
    max-width: none;
  }
  .section-lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.75;
    max-width: none;
  }
  .detail-title {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.2;
  }
  .detail-body { margin-top: 42px; }
  .pillar-card,
  .case-card,
  .flow-step,
  .contact-info,
  .form-card { min-width: 0; }
  .contact-types { grid-template-columns: 1fr; }
  .contact-grid { margin-top: 40px; }
  .contact-info { padding: 20px; }
  .contact-info .loc .a { font-size: 12.5px; }
  .form-card { padding: 22px 18px; }
  .form-actions { align-items: stretch; }
  .form-submit { width: 100%; justify-content: center; }
  .form-status { flex-basis: 100%; }
  .about-copy .info-list { grid-template-columns: 1fr; row-gap: 6px; }
  .about-copy .info-list dt { margin-top: 12px; }
  .footer-bot { line-height: 1.6; }
}

@media (max-width: 380px) {
  :root { --pad-x: 16px; }
  .hero h1 { font-size: 29px; }
  .section-title, .detail-title { font-size: 27px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero .btn { justify-content: center; }
}


/* =========================================================
   EDITORIAL LINE-BREAK REFINEMENTS — requested final pass
   ========================================================= */
.hero-title .hero-line,
.hero-title .accent,
.hero-sub-line,
.pillars-title .title-line,
.pillars-title .brand-line,
.core-message-line {
  display: block;
}

.hero-title .accent {
  width: fit-content;
  max-width: 100%;
  margin-top: .12em;
}
.hero-sub-first { margin-bottom: 0; }
.hero-sub-second { margin-top: 8px; }
.hero-sub-line { width: fit-content; max-width: 100%; }

.pillars-title {
  max-width: 1120px;
  text-wrap: wrap;
}
.pillars-title .brand-line {
  margin-top: .08em;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
}

.narrative-copy {
  max-width: 1040px;
  font-size: 16px;
  line-height: 1.82;
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.business-lead { max-width: 1040px; }
.about-statement {
  text-wrap: wrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.62 !important;
}

.feed-title { max-width: none; }
.feed-title-main {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}
.core-message {
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 1100px) {
  .pillars-title .brand-line,
  .feed-title-main { white-space: normal; }
}

@media (max-width: 640px) {
  .hero-title .hero-line { display: block; }
  .hero-sub-line { display: inline; width: auto; }
  .hero-sub-line + .hero-sub-line::before { content: " "; }
  .pillars-title .title-line,
  .pillars-title .brand-line { display: block; }
  .pillars-title .brand-line { margin-top: .18em; }
  .narrative-copy {
    font-size: 15px;
    line-height: 1.78;
  }
  .about-statement { font-size: 19px !important; line-height: 1.62 !important; }
  .core-message-line { display: block; }
}


/* FINAL USER-REQUESTED TYPOGRAPHY OVERRIDES — 2026-07-29 */

/* Preserve the exact hero line structure requested on desktop. */
.hero-title { text-wrap: wrap; }
.hero-title .hero-line { white-space: nowrap; }
.hero-sub-second { margin-top: 8px !important; }

/* Keep the four technology names together on the requested second line. */
.pillars .pillars-title { max-width: 1180px; }
.pillars-title .brand-line { white-space: nowrap; }

/* Give long Korean descriptions enough measure and a clear sentence rhythm. */
.narrative-copy {
  max-width: 1060px;
  font-size: 16.5px;
  line-height: 1.86;
  letter-spacing: -0.006em;
}
.copy-sentence { display: block; }
.copy-sentence + .copy-sentence { margin-top: .42em; }
.business-lead { max-width: 1080px; }

/* The About copy and Core Message need more horizontal room. */
.about { grid-template-columns: .94fr 1.06fr; gap: 56px; }
.about-statement { font-size: 21px !important; line-height: 1.64 !important; }
.core-message {
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.core-message-line {
  display: block;
  white-space: nowrap;
}

/* FeedVital headline stays on one line on ordinary desktop widths. */
.feed-title-main { white-space: nowrap; }

@media (max-width: 1100px) {
  .pillars-title .brand-line,
  .feed-title-main,
  .core-message-line { white-space: normal; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .hero-title .hero-line { white-space: normal; }
  .hero-sub-line { display: block; }
  .hero-sub-line + .hero-sub-line::before { content: none; }
  .copy-sentence + .copy-sentence { margin-top: .62em; }
  .narrative-copy { font-size: 15px; line-height: 1.82; }
  .about-statement { font-size: 18px !important; line-height: 1.65 !important; }
  .core-message { font-size: 15px !important; }
}
