/* =========================================================
   공통 디자인 시스템 — 신농팜케미컬 / KC생명과학
   사이트별 색상은 <html style="--brand:..."> 로 주입
   ========================================================= */
:root {
  --brand: #e31e24;
  --brand-deep: #a3141a;
  --accent: #00512f;
  --accent-2: #0b6b42;
  --ink: #15181c;
  --ink-2: #3c434b;
  --muted: #6f7881;
  --line: #e6e8eb;
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --paper-3: #eeede7;
  --hero-from: #003d24;
  --hero-to: #00512f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 30px 80px -30px rgba(16, 24, 40, .35);
  --ease: cubic-bezier(.22, .9, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px;
  --header-h: 84px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- page intro curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--hero-from);
  transform-origin: top;
  animation: curtain 1s var(--ease-io) .15s forwards;
}
.curtain::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px;
  background: var(--curtain-mark) center/contain no-repeat;
  animation: curtainMark .6s var(--ease) forwards;
}
@keyframes curtain { to { transform: scaleY(0); } }
@keyframes curtainMark { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s, transform .5s var(--ease), height .4s var(--ease);
}
.header .container { display: flex; align-items: center; gap: 40px; }
.header__logo { display: flex; align-items: center; height: 40px; flex: none; }
.header__logo img { height: 100%; width: auto; transition: filter .4s; }
.header--over:not(.is-scrolled) .header__logo img { filter: brightness(0) invert(1); }
.logo-text { display: inline-flex; align-items: center; gap: 10px; height: 100%; font-size: 23px; font-weight: 800; letter-spacing: -0.04em; color: #2b2f33; white-space: nowrap; transition: color .4s; }
.logo-text svg { height: 34px; width: auto; flex: none; }
.header--over:not(.is-scrolled) .logo-text, body.menu-open .logo-text, .footer__logo-text { color: #fff; }
.footer__logo-text { height: 38px; }
.header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  height: 70px;
}
.header.is-hidden { transform: translateY(-100%); }
.gnb { margin-left: auto; display: flex; gap: 6px; }
.gnb__item { position: relative; }
.gnb__link {
  display: block; padding: 10px 18px; font-weight: 600; font-size: 16px; border-radius: 999px;
  transition: color .3s, background .3s;
}
.header--over:not(.is-scrolled) .gnb__link { color: #fff; }
.gnb__link:hover, .gnb__link.is-active { color: var(--brand); }
.header--over:not(.is-scrolled) .gnb__link:hover,
.header--over:not(.is-scrolled) .gnb__link.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.gnb__sub {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 180px; padding: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.gnb__item:hover .gnb__sub, .gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb__sub a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.gnb__sub a:hover { background: var(--paper-2); color: var(--brand); }
.header__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; background: var(--brand); color: #fff; flex: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--brand); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.header--over:not(.is-scrolled) .menu-btn { color: #fff; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--hero-from); color: #fff;
  padding: calc(var(--header-h) + 20px) 28px 40px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 42px) 42px);
  transition: clip-path .7s var(--ease-io);
}
body.menu-open .mnav { clip-path: circle(150% at calc(100% - 42px) 42px); }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .header__logo img { filter: brightness(0) invert(1); }
body.menu-open .menu-btn { color: #fff; }
.mnav__group { border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 18px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
body.menu-open .mnav__group { opacity: 1; transform: none; }
body.menu-open .mnav__group:nth-child(2) { transition-delay: .06s; }
body.menu-open .mnav__group:nth-child(3) { transition-delay: .12s; }
body.menu-open .mnav__group:nth-child(4) { transition-delay: .18s; }
body.menu-open .mnav__group:nth-child(5) { transition-delay: .24s; }
.mnav__title { font-size: 26px; font-weight: 700; display: block; }
.mnav__subs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.mnav__subs a { color: rgba(255, 255, 255, .7); font-size: 15px; }
.mnav__contact { margin-top: 32px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.mnav__contact strong { display: block; color: #fff; font-size: 28px; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px; isolation: isolate;
  padding: 16px 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px;
  background: var(--btn-bg); color: var(--btn-fg); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand);
  transform: translateY(101%); transition: transform .5s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: #fff; box-shadow: none; }
.btn--brand { --btn-bg: var(--brand); }
.btn--brand::before { background: var(--ink); }
.arrow { width: 18px; height: 18px; flex: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  color: #fff; background: linear-gradient(150deg, var(--hero-from), var(--hero-to));
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 96px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 22s var(--ease) forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .65)); }
@keyframes kenburns { to { transform: scale(1); } }
.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 26px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.hero__title { font-size: clamp(40px, 7.4vw, 104px); font-weight: 800; line-height: 1.08; letter-spacing: -0.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title em { font-style: normal; color: var(--hero-em, #ff4d52); }
@keyframes lineUp { to { transform: none; } }
.hero__lead { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .82); opacity: 0; animation: fadeUp 1s var(--ease) .55s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; opacity: 0; animation: fadeUp 1s var(--ease) .7s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; right: max(20px, calc((100vw - var(--container)) / 2)); bottom: clamp(48px, 8vh, 96px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .7);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1.5px; height: 64px; background: linear-gradient(rgba(255, 255, 255, .9), transparent); animation: scrollLine 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* S 리본 (신농팜) */
.hero--sn { background: radial-gradient(120% 90% at 85% 10%, #0a6a3f 0%, #00512f 35%, #002a18 100%); }
.hero--sn::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.hero__glow { position: absolute; z-index: 0; width: 70vw; height: 70vw; left: -25vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%); animation: orb 14s ease-in-out infinite alternate; }
.ribbon path { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.ribbon .r1 { stroke: var(--brand); stroke-width: 112; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s var(--ease-io) .45s forwards; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
.ribbon .r1b { animation-delay: 1.1s; }
.ribbon .r2 { stroke: #fff; stroke-width: 112; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s var(--ease-io) .8s forwards; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .2)); }
.ribbon .r3 { stroke: rgba(255, 255, 255, .07); stroke-width: 1.5; }
.ribbon { animation: floaty 14s ease-in-out 3s infinite alternate; transform-origin: 70% 30%; }
@media (max-width: 820px) { .ribbon { opacity: .45; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes floaty { to { transform: translate3d(-14px, 10px, 0) rotate(-1.2deg); } }

/* 분자 네트워크 캔버스 (KC) */
.net { width: 100%; height: 100%; display: block; opacity: 0; animation: fadeIn 2s ease .4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- section base ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
section[id] { scroll-margin-top: 60px; }
.sub-hero .hero__art + .container, .sub-hero .hero__art { pointer-events: none; }
.sub-hero .container a { pointer-events: auto; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--brand { background: linear-gradient(150deg, var(--hero-from), var(--hero-to)); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.section--dark .eyebrow, .section--brand .eyebrow { color: #fff; opacity: .8; }
.h-display { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; }
.h-section { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.18; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin-top: 22px; max-width: 640px; }
.section--dark .lead, .section--brand .lead { color: rgba(255, 255, 255, .75); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.text-brand { color: var(--brand); }

/* ---------- reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
.reveal-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.reveal-img img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.reveal-img::after { content: ""; position: absolute; inset: 0; background: var(--paper-3); transform-origin: right; transition: transform 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.reveal-img.is-in img { transform: scale(1); }
.reveal-img.is-in::after { transform: scaleX(0); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.split-words.is-in .w > span { transform: none; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 8px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat__num { font-size: clamp(40px, 5vw, 68px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .42em; margin-left: 4px; color: var(--brand); font-weight: 700; }
.stat__label { margin-top: 12px; color: var(--muted); font-size: 15px; }
.section--dark .stats, .section--brand .stats { border-color: rgba(255, 255, 255, .14); }
.section--dark .stat, .section--brand .stat { border-color: rgba(255, 255, 255, .14); }
.section--dark .stat__num, .section--brand .stat__num { color: #fff; }
.section--dark .stat__label, .section--brand .stat__label { color: rgba(255, 255, 255, .65); }

/* ---------- intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .reveal-img { aspect-ratio: 4 / 5; }
.split__media .reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; right: -24px; bottom: 40px; background: #fff; border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px; animation: bob 5s ease-in-out infinite;
}
.split__badge b { font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.split__badge span { font-size: 14px; color: var(--muted); line-height: 1.4; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.checks { margin-top: 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 28px;
  border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.cat__img { position: absolute; inset: 0; z-index: -2; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .78)); transition: opacity .5s; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--brand)); mix-blend-mode: multiply; opacity: 0; transition: opacity .6s var(--ease); }
.cat:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat:hover::after { opacity: .55; }
.cat__en { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.cat__name { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: -0.04em; }
.cat__count { position: absolute; top: 24px; left: 28px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.cat__go { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.cat:hover .cat__go { transform: none; opacity: 1; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--paper); }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: clamp(28px, 4vw, 54px); font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 56px; transition: color .3s; }
.marquee__item:hover { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.marquee__item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.p-card {
  --c: var(--brand);
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px 24px 22px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .4s, scale .4s;
}
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; }
.p-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card:hover::before { opacity: 1; }
.p-card:hover::after { transform: none; }
.p-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); line-height: 1.3; }
.chip--c { background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.chip--new { background: var(--brand); color: #fff; }
.chip--new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.p-card__label { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--c); }
.p-card__name { font-size: 28px; font-weight: 800; letter-spacing: -0.045em; margin-top: 4px; line-height: 1.2; }
.p-card__alias { font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.p-card__ing { margin-top: auto; padding-top: 22px; font-size: 13.5px; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; }
.p-card__go { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: background .4s, color .4s, transform .5s var(--ease); }
.p-card:hover .p-card__go { background: var(--c); color: #fff; transform: rotate(-45deg); }
.p-card.is-out { display: none; }
.p-card.is-enter { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- product toolbar ---------- */
.toolbar { position: sticky; top: 70px; z-index: 20; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 0; margin-bottom: 28px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.toolbar, .subnav { transition: top .5s var(--ease); }
body:has(.header.is-hidden) .toolbar, body:has(.header.is-hidden) .subnav { top: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; position: relative; }
.tab { border: 0; padding: 11px 18px; border-radius: 999px; background: var(--paper-2); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .35s var(--ease), color .35s; }
.tab span { opacity: .5; margin-left: 4px; font-weight: 500; }
.tab:hover { background: var(--paper-3); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab.is-active span { opacity: .6; }
.search { margin-left: auto; position: relative; flex: 1 1 280px; max-width: 380px; }
.search input { width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.result-meta { color: var(--muted); font-size: 15px; margin-bottom: 18px; min-height: 26px; }
.result-meta b { color: var(--ink); }
.empty { display: none; text-align: center; padding: 80px 20px; color: var(--muted); }
.empty.is-show { display: block; animation: fadeUp .6s var(--ease); }
.quick-crops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-crops button { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: all .3s var(--ease); }
.quick-crops button:hover, .quick-crops button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- sub page hero ---------- */
.sub-hero {
  position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(60px, 7vw, 100px);
  background: linear-gradient(150deg, var(--hero-from), var(--hero-to));
}
.sub-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .35; }
.sub-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease) forwards; transform: scale(1.1); }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-from) 10%, transparent 90%); opacity: .85; }
.sub-hero .container { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.sub-hero h1 { font-size: clamp(38px, 6vw, 80px); font-weight: 800; letter-spacing: -0.05em; }
.sub-hero p { margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; }
.subnav { position: sticky; top: 70px; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { position: relative; padding: 20px 18px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .3s; }
.subnav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .5s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: none; }

/* ---------- product detail ---------- */
.pd-hero { --c: var(--brand); position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 70px) 0 80px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 92%, #000), color-mix(in srgb, var(--c) 70%, #000)); }
.pd-hero::before { content: attr(data-word); position: absolute; right: -2vw; bottom: -6vw; font-size: 26vw; font-weight: 900; letter-spacing: -0.06em; line-height: 1; color: rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; animation: drift 30s linear infinite alternate; }
@keyframes drift { to { transform: translateX(-12vw); } }
.pd-hero .container { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.pd-hero h1 { font-size: clamp(54px, 9vw, 128px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; }
.pd-hero .pd-form { display: inline-block; margin-top: 18px; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; font-weight: 700; }
.pd-hero .pd-label { font-size: 18px; font-weight: 700; opacity: .9; margin-bottom: 12px; }
.pd-hero .pd-head { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; line-height: 1.5; }
.pd-hero .pd-head li { display: flex; gap: 12px; align-items: baseline; }
.pd-hero .pd-head li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translateY(-3px); }
.pd-hero .crumbs { grid-column: 1 / -1; margin: 0; }
.pd-body { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.spec { position: sticky; top: 100px; background: var(--paper-2); border-radius: var(--radius); padding: 30px; }
.spec dl { margin: 0; display: grid; }
.spec dt { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.spec dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.spec dd:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.spec dd.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14.5px; }
.spec .btn { margin-top: 24px; width: 100%; justify-content: center; }
.pd-block + .pd-block { margin-top: 64px; }
.pd-block h2 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.pd-block h2::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--c, var(--brand)); }
.feature-list { counter-reset: f; display: grid; gap: 14px; }
.feature-list li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 16.5px; transition: border-color .3s, transform .4s var(--ease); }
.feature-list li:hover { border-color: var(--c, var(--brand)); transform: translateX(6px); }
.feature-list li::before { content: counter(f, decimal-leading-zero); font-weight: 800; color: var(--c, var(--brand)); font-size: 18px; }
.caution-list { display: grid; gap: 10px; }
.caution-list li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15.5px; }
.caution-list li::before { content: "!"; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.crop-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.crop-cloud a { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-size: 14.5px; transition: background .3s, color .3s, transform .3s var(--ease); }
.crop-cloud a:hover { background: var(--c, var(--brand)); color: #fff; transform: translateY(-2px); }
.crop-cloud a small { color: var(--muted); margin-left: 4px; }
.crop-cloud a:hover small { color: rgba(255, 255, 255, .8); }
.table-shots { display: grid; gap: 16px; }
.table-shots button { border: 1px solid var(--line); padding: 0; border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; transition: box-shadow .4s, transform .4s var(--ease); }
.table-shots button:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 90px; }
.pd-nav a { padding: 28px; border-radius: var(--radius); background: var(--paper-2); transition: background .4s, color .4s, transform .4s var(--ease); }
.pd-nav a:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.pd-nav small { display: block; font-size: 13px; opacity: .6; margin-bottom: 6px; }
.pd-nav strong { font-size: 22px; }
.pd-nav a:last-child { text-align: right; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(10, 12, 14, .92); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; cursor: zoom-out; overflow: auto; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); height: auto; border-radius: 12px; transform: scale(.95); transition: transform .5s var(--ease); background: #fff; }
.lightbox.is-open img { transform: none; }

/* ---------- cards / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { position: relative; padding: 44px 36px 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s; }
.value:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value__no { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.value__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); margin: 26px 0 24px; transition: transform .6s var(--ease); }
.value:hover .value__icon { transform: rotate(-8deg) scale(1.08); }
.value__icon svg { width: 30px; height: 30px; }
.value h3 { font-size: 24px; font-weight: 800; }
.value p { margin-top: 12px; color: var(--ink-2); }
.value::after { content: attr(data-big); position: absolute; right: -10px; top: -30px; font-size: 160px; font-weight: 900; color: var(--paper-2); z-index: -1; letter-spacing: -0.06em; line-height: 1; }
.value { isolation: isolate; }

/* ---------- link cards ---------- */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.link-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.link-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card__body { flex: 1; min-width: 0; }
.link-card strong { display: block; font-size: 17px; }
.link-card span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-card .ext { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); flex: none; transition: background .3s, color .3s, transform .4s var(--ease); }
.link-card:hover .ext { background: var(--brand); color: #fff; transform: rotate(45deg); }
.feature-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-link { position: relative; padding: 44px 40px; border-radius: var(--radius); color: #fff; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .6s var(--ease); }
.feature-link:hover { transform: translateY(-8px); }
.feature-link img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature-link:hover img { transform: scale(1.06); }
.feature-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .75)); }
.feature-link small { font-size: 14px; opacity: .8; font-weight: 600; }
.feature-link h3 { font-size: 30px; font-weight: 800; margin-top: 6px; }
.feature-link p { margin-top: 10px; opacity: .85; max-width: 440px; }
.feature-link .btn { margin-top: 24px; align-self: flex-start; padding: 12px 20px; font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: 18px; background: var(--paper-2); transition: background .3s, transform .4s var(--ease); }
a.info-card:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.info-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--brand); display: grid; place-items: center; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
a.info-card:hover small { color: rgba(255, 255, 255, .6); }
.info-card strong { display: block; font-size: 20px; letter-spacing: -0.02em; margin-top: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label i { color: var(--brand); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.consent { grid-column: 1 / -1; padding: 20px; border-radius: 14px; background: var(--paper-2); font-size: 14px; color: var(--ink-2); }
.consent details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.consent details div { margin-top: 10px; line-height: 1.7; }
.consent label { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-weight: 700; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--brand); }
.form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; display: none; padding: 18px 20px; border-radius: 14px; font-weight: 600; }
.form-msg.is-show { display: block; animation: fadeUp .5s var(--ease); }
.form-msg--ok { background: #e8f6ee; color: #11643a; }
.form-msg--info { background: #fff6e6; color: #8a5300; }
.form-msg--err { background: #fdecec; color: #a3141a; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(50px, 7vw, 100px); color: #fff; background: linear-gradient(130deg, var(--hero-from), var(--hero-to)); isolation: isolate; }
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -250px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); z-index: -1; animation: orb 12s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translate(-120px, 120px) scale(1.2); } }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.04em; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .75); }
.cta__tel { font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -0.03em; display: block; }

/* ---------- footer ---------- */
.footer { background: #0f1214; color: rgba(255, 255, 255, .6); padding: 80px 0 40px; font-size: 14.5px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer__slogan { margin-top: 18px; color: rgba(255, 255, 255, .45); }
.footer__nav { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__nav strong { display: block; color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__nav a { display: block; padding: 3px 0; transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__info { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__info span b { color: rgba(255, 255, 255, .85); font-weight: 600; margin-right: 6px; }
.footer__bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: rgba(255, 255, 255, .35); }
.footer__bottom a:hover { color: #fff; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease), background .3s; }
.to-top.is-show { opacity: 1; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; background: var(--brand); transform-origin: left; transform: scaleX(0); }

/* ---------- KC specifics (shared components) ---------- */
.biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-card { position: relative; padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s, color .5s; isolation: isolate; }
.biz-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--hero-to), var(--hero-from)); transform: translateY(101%); transition: transform .7s var(--ease); }
.biz-card:hover { color: #fff; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.biz-card:hover::before { transform: none; }
.biz-card__no { font-weight: 800; color: var(--brand); transition: color .5s; }
.biz-card:hover .biz-card__no { color: #fff; }
.biz-card h3 { font-size: 24px; margin-top: auto; }
.biz-card p { margin-top: 10px; font-size: 15px; color: var(--ink-2); transition: color .5s; }
.biz-card:hover p { color: rgba(255, 255, 255, .78); }
.hex { width: 54px; height: 60px; margin-top: 18px; margin-bottom: 28px; color: var(--brand); transition: color .5s, transform .8s var(--ease); }
.biz-card:hover .hex { color: #fff; transform: rotate(60deg); }

.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ai-card { --c: var(--brand); text-align: left; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; min-height: 230px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.ai-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ai-card .molecule { position: absolute; right: -20px; top: -20px; width: 150px; height: 150px; color: var(--c); opacity: .12; transition: transform 1.2s var(--ease), opacity .5s; }
.ai-card:hover .molecule { transform: rotate(90deg) scale(1.1); opacity: .25; }
.ai-card__name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; line-height: 1.25; }
.ai-card__formula { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; color: var(--ink-2); }
.ai-card__use { margin-top: auto; padding-top: 14px; font-size: 14.5px; color: var(--muted); }
.ai-card.is-out { display: none; }

.modal { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; padding: 20px; background: rgba(10, 14, 22, .6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal h3 { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; padding-right: 50px; }
.kv { display: grid; grid-template-columns: 130px 1fr; margin-top: 26px; border-top: 1px solid var(--line); }
.kv dt, .kv dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.kv dd { font-size: 16px; }
.kv dd.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; }

.tree-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tree-card { --c: var(--accent); padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, var(--paper-2)); border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.tree-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.tree-card h3 { font-size: 26px; font-weight: 800; margin-top: 18px; }
.tree-card p { color: var(--ink-2); margin-top: 6px; }
.tree-card .chip { align-self: flex-start; }
.tree-card .leaf { margin-top: auto; align-self: flex-end; width: 44px; height: 44px; color: var(--accent); opacity: .6; transition: transform .8s var(--ease); }
.tree-card:hover .leaf { transform: rotate(-20deg) scale(1.2); }

.timeline-map { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: radial-gradient(120% 120% at 20% 10%, #0d3a6b, #061a33); color: #fff; padding: clamp(28px, 4vw, 56px); }
.timeline-map svg { width: 100%; height: auto; display: block; }
.timeline-map .arc { fill: none; stroke: url(#arcGrad); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; }
.timeline-map.is-in .arc { animation: draw 2.2s var(--ease-io) forwards; animation-delay: calc(var(--i) * .25s + .3s); }
.timeline-map .node circle.pulse { animation: ping 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.factory-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.factory-table th, .factory-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.factory-table th { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.factory-table td:first-child { font-weight: 700; }

.prose p + p { margin-top: 1.1em; }
.prose { font-size: 17.5px; color: var(--ink-2); line-height: 1.9; }
.prose strong { color: var(--ink); }
.quote { font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.35; }
.quote em { font-style: normal; color: var(--brand); }

.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vision { padding: 34px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); transition: background .4s, transform .5s var(--ease); }
.vision:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); }
.vision small { font-weight: 700; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; font-size: 13px; }
.vision h3 { font-size: 22px; margin-top: 10px; }
.vision p { margin-top: 8px; color: rgba(255, 255, 255, .7); }

.notice { display: flex; gap: 14px; padding: 18px 22px; border-radius: 16px; background: var(--paper-2); color: var(--ink-2); font-size: 15px; }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gnb, .header__cta { display: none; }
  .menu-btn { display: block; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat { min-height: 360px; }
  .biz { grid-template-columns: repeat(2, 1fr); }
  .pd-body { grid-template-columns: 1fr; }
  .spec { position: static; }
  .pd-hero .container { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .header.is-scrolled { height: 62px; }
  .header__logo { height: 32px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__badge { right: 12px; bottom: 16px; padding: 16px 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; padding: 26px 0 8px !important; }
  .values, .feature-links, .vision-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .toolbar { top: 62px; }
  .subnav { top: 62px; }
  .search { max-width: none; margin-left: 0; }
  .hero__scroll { display: none; }
  .kv { grid-template-columns: 100px 1fr; }
  .pd-nav { grid-template-columns: 1fr; }
  .pd-nav a:last-child { text-align: left; }
}
@media (max-width: 560px) {
  .cats, .biz { grid-template-columns: 1fr; }
  .cat { min-height: 300px; }
  .container { width: min(100% - 32px, var(--container)); }
  .tab { padding: 9px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-words .w > span, .hero__title .line > span { opacity: 1 !important; transform: none !important; }
  .reveal-img::after { display: none; }
  .curtain { display: none; }
}
@media print {
  .header, .footer, .to-top, .toolbar, .curtain, .progress { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
