/* ==========================================================================
   (주)정림 JLFA — one-page static site
   ========================================================================== */
:root {
  --bg: #0c1a14;
  --bg-2: #11251c;
  --bg-3: #173226;
  --paper: #f5f0e4;
  --paper-2: #ebe3d0;
  --ink: #12241b;
  --ink-2: #3d5247;
  --cream: #f3ecdc;
  --muted: rgba(243, 236, 220, .64);
  --line: rgba(243, 236, 220, .16);
  --line-ink: rgba(18, 36, 27, .14);
  --amber: #f4a83a;
  --amber-2: #ffc46b;
  --feed: #f4a83a;
  --water: #5cc8e8;
  --air: #c9f0d8;
  --egg: #ffe7b8;
  --comb: #e8614a;
  --radius: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-en: "Space Grotesk", var(--font);
  --font-display: "BMJua", var(--font);
  color-scheme: dark;
}

/* 배달의민족 주아 (OFL-1.1, https://www.woowahan.com/fonts) — display only */
@font-face {
  font-family: "BMJua";
  src: local("배달의민족 주아"), local("BM JUA"), local("BM JUA_TTF"),
       url("../fonts/BMJUA.woff2") format("woff2"),
       url("../fonts/BMJUA.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.pc { display: inline; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--amber); color: var(--ink); border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }

/* display type: big headings use 배달의민족 주아, body text stays Pretendard */
.hero-title, .sec-head h2, .vision-head h3, .vcard h4, .sys-name, .step h4, .logo b,
.stats b, .big-tel, .marquee-track span, .ft-logo b {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
}

/* 주아체 has an empty middle-dot (U+00B7) glyph; render it with Pretendard */
.mid { font-family: var(--font); font-weight: 700; margin: 0 .12em; }

/* progress ---------------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* header ------------------------------------------------------------------ */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, backdrop-filter .4s, box-shadow .4s; }
.hd-in { display: flex; align-items: center; gap: 32px; height: 76px; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; }
.hd.is-scrolled { background: rgba(12, 26, 20, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.logo svg { width: 36px; height: 36px; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-size: 22px; letter-spacing: 0; line-height: 1; }
.logo small { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.gnb { display: flex; gap: 6px; margin-left: auto; }
.gnb a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s; border-radius: 999px; }
.gnb a:hover, .gnb a.is-active { color: var(--cream); }
.gnb a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.hd-call { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-en); font-weight: 600; font-size: 14px; transition: background .3s, border-color .3s; }
.hd-call:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #6ee08f; box-shadow: 0 0 0 0 rgba(110, 224, 143, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(110, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 224, 143, 0); } }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: background .3s, color .3s, border-color .3s; will-change: transform; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }

/* hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background: radial-gradient(80% 60% at 70% 40%, rgba(244, 168, 58, .10), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(92, 200, 232, .07), transparent 60%), var(--bg); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; padding: 120px 0 140px; pointer-events: none; }
.hero-in a { pointer-events: auto; }
.eyebrow { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--amber); margin-bottom: 28px; }
.hero-title { font-size: clamp(42px, 6.4vw, 106px); line-height: 1.12; letter-spacing: -.01em; }
.hero-title .line { display: block; }
.hero-title .accent .ch:nth-child(-n+2) { color: var(--amber); }
.hero-sub { margin-top: 32px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); background: rgba(12, 26, 20, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-ticker li { flex: 1 1 0; min-width: 0; padding: 18px 20px; font-size: 14px; color: var(--muted); border-right: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.4; }
.hero-ticker li:last-child { border-right: 0; }
.hero-ticker b { font-family: var(--font-en); font-size: 11px; letter-spacing: .22em; color: var(--amber); font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 110px; width: 26px; height: 44px; border: 1.5px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* hero badge (rotating egg emblem) */
.hero-badge { position: absolute; right: clamp(24px, 6vw, 110px); top: 50%; width: clamp(240px, 26vw, 420px); aspect-ratio: 1; margin-top: -40px; transform: translate3d(var(--px, 0), calc(-50% + var(--py, 0px)), 0); transition: transform .8s var(--ease); pointer-events: none; }
.hero-badge .ring { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.hero-badge .ring text { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .42em; fill: var(--muted); }
.hero-badge .orb { position: absolute; inset: 19% 25% 21%; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: radial-gradient(60% 55% at 38% 34%, #ffe7b8 0%, #f4a83a 42%, #b8650c 100%); box-shadow: 0 40px 120px -20px rgba(244, 168, 58, .55), inset -18px -24px 60px rgba(120, 50, 0, .45); animation: float 7s ease-in-out infinite; }
.hero-badge .orb::after { content: ""; position: absolute; left: 22%; top: 16%; width: 22%; height: 16%; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(6px); transform: rotate(-30deg); }
.hero-badge .orbit { position: absolute; inset: 9%; border: 1px dashed var(--line); border-radius: 50%; animation: spin 60s linear infinite reverse; }
.hero-badge .orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--water); box-shadow: 0 0 14px var(--water); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* split chars */
.ch { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 32ms + var(--base, 0ms)); }
.is-loaded .ch { opacity: 1; transform: none; filter: none; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* sections ------------------------------------------------------------------ */
section { position: relative; }
.light { background: var(--paper); color: var(--ink); color-scheme: light; }
.about, .systems, .process, .contact { padding: clamp(96px, 13vw, 168px) 0; }
.sec-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 860px; }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .26em; color: var(--amber); margin-bottom: 22px; }
.light .kicker { color: #b86f0e; }
.kicker span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; letter-spacing: 0; font-size: 12px; }
.kicker.small { margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 4.8vw, 62px); line-height: 1.25; letter-spacing: -.01em; }
.sec-head h2 em { font-style: normal; color: var(--muted); }
.light .sec-head h2 em { color: var(--ink-2); }
.sec-desc { margin-top: 22px; color: var(--muted); max-width: 640px; }

/* about --------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-msg p { color: var(--ink-2); font-size: 17px; }
.about-msg p + p { margin-top: 18px; }
.about-msg .lead { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.6; color: var(--ink); font-weight: 500; letter-spacing: -.02em; }
.about-msg .lead strong { background: linear-gradient(transparent 62%, rgba(244, 168, 58, .45) 0); font-weight: 700; }
.about-msg .sign { margin-top: 32px; font-size: 15px; }
.about-msg .sign b { margin-left: 8px; font-size: 20px; letter-spacing: .3em; color: var(--ink); }
.about-facts { border-top: 2px solid var(--ink); }
.about-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.about-facts dt { font-size: 14px; color: var(--ink-2); }
.about-facts dd { font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.stats li { padding: 36px 24px; border-right: 1px solid var(--line-ink); }
.stats li:last-child { border-right: 0; }
.stats b { display: flex; align-items: baseline; gap: 4px; font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.01em; line-height: 1; }
.stats i { font-style: normal; font-size: 22px; color: #b86f0e; letter-spacing: 0; }
.stats small { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-2); }

.vision { margin-top: clamp(80px, 11vw, 140px); }
.vision-head h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.01em; line-height: 1.35; }
.vision-head h3 span { font-family: var(--font); font-size: .5em; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; }
.vision-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; perspective: 1000px; }
.vcard { position: relative; padding: 32px 26px 30px; min-height: 300px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-ink); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s, opacity 1s var(--ease); }
.vcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 168, 58, .22), transparent 60%); opacity: 0; transition: opacity .4s; }
.vcard:hover::before { opacity: 1; }
.vcard:hover { box-shadow: 0 30px 60px -30px rgba(18, 36, 27, .35); }
.vcard > * { position: relative; }
.vnum { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: #b86f0e; }
.vcard svg { width: 52px; height: 52px; margin: 28px 0 36px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vcard h4 { font-size: 23px; letter-spacing: -.01em; margin-bottom: 10px; }
.vcard p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }

/* systems ------------------------------------------------------------------- */
.systems { background: radial-gradient(70% 50% at 50% 0%, rgba(244, 168, 58, .08), transparent 70%), var(--bg); overflow: hidden; }
.flow-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.flow-filter button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .3s; }
.flow-filter button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.flow-filter button:hover { color: var(--cream); border-color: rgba(243, 236, 220, .4); }
.flow-filter button.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.sys-stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: stretch; }
.scene-wrap { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.readout { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(8, 19, 14, .6); }
.rd { position: relative; padding: 16px 18px 12px; border-right: 1px solid var(--line); min-width: 0; }
.rd:nth-child(4) { border-right: 0; }
.rd span { display: block; font-size: 12.5px; color: var(--muted); }
.rd b { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--muted); }
.rd b em { font-style: normal; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--cream); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rd svg { width: 100%; height: 28px; margin-top: 6px; overflow: visible; }
.rd polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rd[data-k="temp"] polyline { stroke: var(--feed); }
.rd[data-k="hum"] polyline { stroke: var(--air); }
.rd[data-k="water"] polyline { stroke: var(--water); }
.rd[data-k="feed"] polyline { stroke: var(--amber-2); }
.rd-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 8px 18px; border-top: 1px solid var(--line); font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.rd-note i { width: 6px; height: 6px; border-radius: 50%; background: #6ee08f; animation: live 2s infinite; }
.scene-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scene-scroll::-webkit-scrollbar { display: none; }
.scene { width: 100%; height: auto; touch-action: pan-x pan-y; }
.swipe-hint { display: none; }

/* blueprint strokes */
.scene .bp { fill: none; stroke: var(--cream); stroke-opacity: .72; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, stroke-opacity .5s; }
.scene .bp.thin { stroke-width: 1; stroke-opacity: .38; }
.scene .bp.dash { stroke-dasharray: 4 6; }
.scene.draw .bp:not(.dash) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene.draw.in .bp:not(.dash) { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) var(--dd, 0s), stroke .5s, stroke-opacity .5s; }
.scene .anno text { font-family: var(--font-en); font-size: 15px; letter-spacing: .18em; fill: var(--muted); fill-opacity: .8; }
.scene .pipe { fill: none; stroke: var(--cream); stroke-opacity: .55; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.scene .pipe-in { fill: none; stroke: var(--bg-2); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.scene .belt { fill: none; stroke: var(--cream); stroke-opacity: .5; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.scene .belt-core { fill: none; stroke: var(--bg-2); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.scene .silo-feed { fill: var(--feed); fill-opacity: .16; transform-box: fill-box; transform-origin: 50% 100%; animation: silo 9s ease-in-out infinite; }
@keyframes silo { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.scene .manure { fill: none; stroke: var(--cream); stroke-opacity: .22; stroke-width: 2; stroke-dasharray: 3 9; animation: flow 6s linear infinite; }
.scene .curtain path { fill: none; stroke: var(--comb); stroke-opacity: .8; stroke-width: 3; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 0; animation: sway 3.2s ease-in-out infinite; }
.scene .curtain path:nth-child(odd) { animation-delay: -1.6s; }
@keyframes sway { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(6deg); } }
.scene .ctrl-line { fill: none; stroke: #6ee08f; stroke-width: 1.6; stroke-dasharray: 60; animation: ctrl 3s linear infinite; }
@keyframes ctrl { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.scene .led { fill: #6ee08f; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.scene .sensor circle { fill: var(--air); }
.scene .sensor .ring { fill: none; stroke: var(--air); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.scene .fan .blades path { fill: none; stroke: var(--cream); stroke-opacity: .8; stroke-width: 2; stroke-linecap: round; }
.scene .fan .blades { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite; }
.scene .fan + .fan .blades { animation-duration: 1.3s; }
.scene .fan .hub { fill: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }
.scene .heat-glow { transform-box: fill-box; transform-origin: center; animation: glow 3.4s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
.scene .duct { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
.scene .duct.warm { stroke: var(--feed); }
.scene .duct.cool { stroke: var(--water); }

/* flows */
.scene .stream { fill: none; stroke-linecap: round; stroke-linejoin: round; animation: flow 1.6s linear infinite; }
.scene .stream.feed { stroke: var(--feed); stroke-width: 4; stroke-dasharray: 1 13; filter: drop-shadow(0 0 4px rgba(244, 168, 58, .8)); }
.scene .stream.water { stroke: var(--water); stroke-width: 3; stroke-dasharray: 10 10; filter: drop-shadow(0 0 4px rgba(92, 200, 232, .8)); animation-duration: 1s; }
.scene .stream.air { stroke: var(--air); stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 26 40; animation-duration: 3.2s; }
.scene .stream.air.slow { animation-duration: 4.6s; stroke-opacity: .3; }
@keyframes flow { to { stroke-dashoffset: -112; } }
.scene .drop { fill: var(--water); animation: drop 2.2s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translateY(70px); opacity: 0; } }
.scene .egg { fill: var(--egg); stroke: #c9a168; stroke-width: .8; }

/* hens */
.scene .hen-body { fill: var(--cream); }
.scene .hen.brown .hen-body, .scene .hen.brown .hen-tail { fill: #c98b4f; }
.scene .hen-tail { fill: var(--cream); }
.scene .hen-wing { stroke: var(--bg); stroke-opacity: .35; stroke-width: 1.4; }
.scene .hen-comb { fill: var(--comb); }
.scene .hen-beak { fill: var(--amber); }
.scene .hen-eye { fill: var(--bg); }
.scene .hen-leg { stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; }
.scene .hens { opacity: 0; transition: opacity 1.2s var(--ease) 1.6s; }
.scene.in .hens, .scene:not(.draw) .hens { opacity: 1; }
.scene .hen-anim { transform-box: fill-box; transform-origin: 50% 100%; animation: peck var(--t, 3s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes peck { 0%, 62%, 100% { transform: none; } 70% { transform: rotate(14deg) translateY(1px); } 78% { transform: none; } 84% { transform: rotate(10deg); } }

/* focus / dim by flow */
.scene .part, .scene .flow { transition: opacity .6s var(--ease); }
.scene[data-flow="feed"] .flow:not(.flow-feed), .scene[data-flow="water"] .flow:not(.flow-water), .scene[data-flow="air"] .flow:not(.flow-air), .scene[data-flow="egg"] .flow:not(.flow-egg) { opacity: .08; }
.scene[data-flow]:not([data-flow="all"]) .part:not(.in-flow) { opacity: .32; }
.scene .part.is-active .bp { stroke: var(--amber); stroke-opacity: 1; }
.scene .part.is-active .pipe, .scene .part.is-active .belt { stroke: var(--amber); stroke-opacity: .9; }

/* hotspots */
.scene .hs { cursor: pointer; outline: none; }
.scene .hs .hs-pulse { fill: var(--amber); fill-opacity: .25; transform-box: fill-box; transform-origin: center; animation: hs 2.4s var(--ease) infinite; }
.scene .hs .hs-dot { fill: var(--bg); stroke: var(--amber); stroke-width: 2; transition: fill .3s; }
.scene .hs text { font-family: var(--font-en); font-size: 13px; font-weight: 700; fill: var(--amber); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .3s; }
.scene .hs:hover .hs-dot, .scene .hs:focus-visible .hs-dot, .scene .hs.is-active .hs-dot { fill: var(--amber); }
.scene .hs:hover text, .scene .hs:focus-visible text, .scene .hs.is-active text { fill: var(--ink); }
.scene .hs.is-active .hs-pulse { fill-opacity: .45; }
.scene .hs-in { transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease); }
.scene .hs:hover .hs-in, .scene .hs.is-active .hs-in { transform: scale(1.18); }
@keyframes hs { from { transform: scale(1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* panel */
.sys-panel { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); min-height: 100%; }
.sys-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 13px; color: var(--muted); }
.sys-no { font-size: 15px; font-weight: 700; color: var(--amber); }
.sys-flow { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font); font-size: 12px; }
.sys-count { margin-left: auto; }
.sys-body { flex: 1; margin-top: 26px; transition: opacity .35s, transform .35s var(--ease); }
.sys-body.swap { opacity: 0; transform: translateY(10px); }
.sys-name { font-size: 34px; letter-spacing: -.01em; line-height: 1.25; }
.sys-en { margin-top: 6px; font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--amber); }
.sys-desc { margin-top: 18px; font-size: 15px; color: var(--muted); }
.sys-points { margin-top: 20px; display: grid; gap: 8px; }
.sys-points li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; }
.sys-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--amber); }
.sys-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.sys-nav button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.sys-nav button:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.sys-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sys-timer { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sys-timer span { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.sys-ask { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 15px; transition: background .3s; }
.sys-ask:hover { background: var(--amber-2); }
.sys-ask svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sys-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 20px; }
.sys-tabs button { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-align: left; font-size: 14.5px; color: var(--muted); transition: all .3s; }
.sys-tabs button b { font-family: var(--font-en); font-size: 12px; color: var(--amber); font-weight: 600; }
.sys-tabs button:hover { color: var(--cream); border-color: rgba(243, 236, 220, .4); }
.sys-tabs button[aria-selected="true"] { background: rgba(244, 168, 58, .12); border-color: var(--amber); color: var(--cream); }

/* partners ------------------------------------------------------------------ */
.partners { background: var(--amber); color: var(--ink); padding: 34px 0 30px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-size: clamp(38px, 6.2vw, 84px); letter-spacing: 0; white-space: nowrap; line-height: 1.1; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-track i { font-style: normal; font-size: 28px; }
.partners:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }
.partners-note { text-align: center; margin-top: 14px; font-size: 14px; font-weight: 600; opacity: .8; padding: 0 var(--gutter); }

/* process ------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; padding-top: 72px; }
.snum { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-ink); font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--ink-2); z-index: 1; transition: all .5s var(--ease); }
.step.on .snum { background: var(--ink); border-color: var(--ink); color: var(--amber); transform: scale(1.08); }
.step h4 { font-size: 26px; letter-spacing: -.01em; margin-bottom: 8px; transition: color .5s; }
.step p { font-size: 15px; color: var(--ink-2); padding-right: 12px; }
.step:not(.on) h4 { color: rgba(18, 36, 27, .45); }
.steps-line { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line-ink); }
.steps-line span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* contact ------------------------------------------------------------------- */
.contact { background: radial-gradient(60% 60% at 0% 100%, rgba(244, 168, 58, .1), transparent 60%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #8a8f8c; }
.status.open i { background: #6ee08f; animation: live 2s infinite; }
.status.open { color: var(--cream); }
.big-tel { display: block; margin: 28px 0 36px; font-size: clamp(44px, 6.6vw, 88px); letter-spacing: 0; line-height: 1; transition: color .3s; width: max-content; max-width: 100%; }
.big-tel small { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--amber); margin-bottom: 10px; }
.big-tel:hover { color: var(--amber); }
.c-list { border-top: 1px solid var(--line); }
.c-list li { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-list span { font-size: 14px; color: var(--muted); }
.c-list a, .c-list b { font-weight: 600; font-size: 17px; }
.c-list a:hover { color: var(--amber); }
.c-list b small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.copy { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: all .3s; }
.copy:hover { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.9) hue-rotate(180deg) contrast(.9); }
.map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.map-info p { font-weight: 600; }
.map-info p span { margin-right: 12px; font-weight: 400; font-size: 14px; color: var(--muted); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-links a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: all .3s; }
.map-links a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

/* footer -------------------------------------------------------------------- */
.ft { padding: 56px 0 40px; border-top: 1px solid var(--line); background: #08130e; font-size: 13.5px; color: var(--muted); }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ft-logo b { display: block; font-size: 22px; color: var(--cream); }
.ft-logo span { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; }
.ft-family { display: flex; gap: 8px; }
.ft-family a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; transition: color .3s, border-color .3s; }
.ft-family a:hover { color: var(--cream); border-color: var(--cream); }
.ft-info { display: flex; flex-wrap: wrap; gap: 4px 18px; line-height: 1.8; }
.ft-copy { margin-top: 22px; font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; }

/* misc ---------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 80; padding: 12px 20px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* responsive ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .sys-stage { grid-template-columns: 1fr; }
  .sys-tabs { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .sys-tabs::-webkit-scrollbar { display: none; }
  .vision-cards { grid-template-columns: repeat(2, 1fr); }
  .vcard { min-height: 260px; }
}
@media (max-width: 900px) {
  .gnb { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(12, 26, 20, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); }
  .gnb.open { transform: none; opacity: 1; pointer-events: auto; }
  .gnb a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnb a.is-active::after { display: none; }
  .hd-call { display: none; }
  .menu-btn { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line-ink); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 36px 76px; min-height: 96px; }
  .steps-line { left: 23px; right: auto; top: 24px; bottom: 60px; width: 2px; height: auto; }
  .steps-line span { transform-origin: 50% 0; transform: scaleY(0); }
  .hero-ticker li:nth-child(n+4) { display: none; }
  .hero-badge { opacity: .35; right: -60px; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .pc { display: none; }
  .hd-in { height: 64px; }
  .gnb { inset: 64px 0 auto 0; }
  .hero-in { padding: 104px 0 120px; }
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .hero-ticker li { padding: 14px 12px; font-size: 12.5px; }
  .vision-cards { grid-template-columns: 1fr; }
  .vcard { min-height: 0; }
  .vcard svg { margin: 20px 0 22px; }
  .stats li { padding: 26px 14px; }
  .sys-panel { padding: 22px; }
  .scene { width: 820px; max-width: none; }
  .swipe-hint { display: block; padding: 8px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
  .readout { grid-template-columns: repeat(2, 1fr); }
  .rd:nth-child(2) { border-right: 0; }
  .rd:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sys-name { font-size: 26px; }
  .c-list li { grid-template-columns: 72px 1fr auto; gap: 10px; }
  .c-list a, .c-list b { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
