/* =========================================================
   KMA MEDIA – prototype
   Tokens: design_system.md 구조 + KMA미디어 브랜드 컬러
   ========================================================= */
:root {
  /* brand */
  --brand-navy: #13216a;
  --primary: #005aff;
  --primary-deep: #0043c7;
  --primary-soft: rgba(0, 90, 255, .12);
  --space: #02040d;

  /* ink */
  --ink-button: #0a1317;
  --ink-deep: #1c2b33;
  --ink: #344854;
  --charcoal: #444950;
  --slate: #5d6c7b;
  --steel: #67788a;
  --stone: #8595a4;

  /* surface */
  --canvas: #ffffff;
  --surface-soft: #f5f6f8;
  --hairline: #ced0d4;
  --hairline-soft: #e4e6eb;

  /* radius */
  --r-xl: 16px;
  --r-xxl: 24px;
  --r-xxxl: 32px;
  --r-full: 100px;

  /* layout */
  --container: 1280px;
  --gutter: 40px;
  --section: 120px;

  --font-ko: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-en: "Montserrat", var(--font-ko);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-deep);
  font-family: var(--font-ko);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.16px;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
b { font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { display: flex; justify-content: center; margin-top: 56px; }
.center[hidden] { display: none; }
.br-m { display: none; }

/* ---------- buttons (pill only) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 30px;
  border-radius: var(--r-full);
  font-size: 15px; font-weight: 700; letter-spacing: -0.14px; line-height: 1;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-buy { background: var(--primary); color: #fff; }
.btn-buy:hover { background: var(--primary-deep); }
.btn-primary { background: var(--ink-button); color: #fff; }
.btn-secondary { border: 2px solid var(--ink-deep); color: var(--ink-deep); padding: 0 28px; }
.btn-secondary:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost-w { border: 2px solid rgba(255,255,255,.35); color: #fff; padding: 0 28px; }
.btn-ghost-w:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- GNB ---------- */
.gnb {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.gnb-inner {
  height: 72px; max-width: calc(var(--container) + 160px); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 40px;
}
.gnb-logo { position: relative; width: 132px; height: 18px; flex: none; }
.gnb-logo img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .3s; }
.gnb-logo .logo-c { opacity: 0; }
.gnb-nav { display: flex; gap: 6px; margin-left: auto; }
.gnb-nav a {
  padding: 8px 16px; border-radius: var(--r-full);
  font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: 0;
  color: rgba(255,255,255,.82); transition: background-color .2s, color .2s;
}
.gnb-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.gnb-cta { height: 40px; padding: 0 22px; font-size: 14px; }
.gnb-burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.gnb-burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; transition: transform .3s var(--ease), background-color .3s; }
.gnb-burger span:first-child { top: 17px; }
.gnb-burger span:last-child { top: 25px; }
.gnb-drawer { display: none; }

.gnb[data-theme="light"] { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--hairline-soft); }
.gnb[data-theme="light"] .logo-w { opacity: 0; }
.gnb[data-theme="light"] .logo-c { opacity: 1; }
.gnb[data-theme="light"] .gnb-nav a { color: var(--ink); }
.gnb[data-theme="light"] .gnb-nav a:hover { background: var(--surface-soft); color: var(--ink-deep); }
.gnb[data-theme="light"] .gnb-burger span { background: var(--ink-deep); }

/* =========================================================
   HERO – ORBIT
   ========================================================= */
.hero { position: relative; height: 560vh; background: var(--space); }
.hero-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--space); color: #fff;
}
.hero-earth { position: absolute; inset: -30% -6% -6% -6%; will-change: transform, filter; }
.hero-earth img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-flare {
  position: absolute; left: 50%; top: 60%; width: 90vmax; height: 90vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,245,225,.55) 0%, rgba(120,170,255,.18) 18%, rgba(0,90,255,0) 46%);
  mix-blend-mode: screen; pointer-events: none; opacity: .6;
}
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(4,8,30,.35), rgba(2,4,13,.92)); opacity: 0; pointer-events: none; }

/* intro */
.intro {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-74%);
  padding: 0 var(--gutter); text-align: center; z-index: 5;
}
.intro-eyebrow { font-family: var(--font-en); font-weight: 300; font-size: clamp(22px, 3.4vw, 52px); letter-spacing: .02em; line-height: 1.1; }
.intro-title {
  font-family: var(--font-en); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(56px, 11.5vw, 188px); line-height: .98; margin-top: .08em;
  white-space: nowrap;
}
.intro-title .ch { display: inline-block; will-change: transform, opacity, filter; }
.intro-title .ch-bang { color: var(--primary); text-shadow: 0 0 40px rgba(0,90,255,.6); }
.intro-lead { margin: 28px auto 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.94); font-weight: 500; }
.intro-lead b { color: #fff; font-weight: 600; }
.intro-eyebrow, .intro-lead { text-shadow: 0 1px 2px rgba(2,4,13,.55), 0 2px 18px rgba(2,4,13,.85); }

/* orbit rings */
.orbit-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; opacity: 0; }
.orbit-rings i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(140,180,255,.16);
  transform: translate(-50%, -50%) rotateX(68deg);
}
.orbit-rings i:nth-child(1) { width: 52vmax; height: 52vmax; }
.orbit-rings i:nth-child(2) { width: 78vmax; height: 78vmax; border-style: dashed; border-color: rgba(140,180,255,.1); }
.orbit-rings i:nth-child(3) { width: 104vmax; height: 104vmax; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.orbit-lines line { stroke: rgba(160,195,255,.55); stroke-width: 1; }

/* nodes */
.node, .core, .biz { position: absolute; left: 50%; top: 50%; }
.node { z-index: 3; width: var(--d, 160px); opacity: 0; }
.node-disc {
  width: var(--d, 160px); height: var(--d, 160px); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #22379b 0%, var(--brand-navy) 55%, #0b154d 100%);
  border: 1px solid rgba(160,190,255,.28);
  box-shadow: 0 0 0 6px rgba(19,33,106,.25), 0 0 60px rgba(30,70,200,.35), inset 0 0 30px rgba(120,160,255,.18);
  animation: float 6s ease-in-out infinite;
}
.node:nth-of-type(2n) .node-disc { animation-duration: 7.5s; animation-delay: -2s; }
.node-disc img { width: 62%; height: auto; }
.node-cap {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%);
  width: 240px; text-align: center; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.72);
}
@keyframes float { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }

.core { z-index: 4; width: var(--d, 260px); opacity: 0; }
.core-disc {
  width: var(--d, 260px); height: var(--d, 260px); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #4d8bff 0%, var(--primary) 45%, #0039b8 100%);
  border: 2px solid rgba(190,215,255,.75);
  box-shadow: 0 0 0 10px rgba(0,90,255,.18), 0 0 120px rgba(0,90,255,.7), inset 0 0 40px rgba(255,255,255,.25);
}
.core-disc img { width: 68%; height: auto; }
.core-cap {
  position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%);
  width: 320px; text-align: center; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82);
}

.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 7vh; z-index: 6;
  padding: 0 var(--gutter); text-align: center;
  font-size: clamp(20px, 2.2vw, 32px); font-weight: 300; line-height: 1.45; letter-spacing: -0.02em;
  opacity: 0;
}
.hero-copy b { font-weight: 700; }
.hero-copy mark { background: var(--primary); color: #fff; padding: 0 .2em; font-weight: 700; }

/* businesses → cards */
.biz {
  z-index: 7; width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; opacity: 0; color: #fff;
  background: var(--brand-navy);
  border: 1px solid rgba(190,215,255,.35);
  box-shadow: 0 0 80px rgba(0,90,255,.35);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* safari radius clip */
  will-change: transform, width, height, border-radius;
}
.biz-media, .biz-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.biz-media img { object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 4s linear; }
.biz-media img.is-on { opacity: 1; transform: scale(1); }
.biz-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,10,40,.15) 0%, rgba(5,10,40,.25) 40%, rgba(5,10,40,.88) 100%);
}
.biz-word {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: .04em;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.biz-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; opacity: 0; }
.biz-tag {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.biz-info strong { display: block; margin-top: 12px; font-family: var(--font-en); font-size: 28px; font-weight: 800; letter-spacing: .01em; line-height: 1.15; }
.biz-info p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82); }
.biz-more { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; }
.biz-more i { font-style: normal; transition: transform .25s var(--ease); }
.biz:hover .biz-more i { transform: translateX(4px); }
.biz.is-card { pointer-events: auto; }
.biz:not(.is-card) { pointer-events: none; }

.copy-final { position: absolute; left: 0; right: 0; z-index: 6; text-align: center; padding: 0 var(--gutter); opacity: 0; }
.copy-final .eyebrow-en { color: #8fb4ff; }
.copy-final h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }

/* scroll hint + chapters */
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 8;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.7);
}
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.chapters {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%); z-index: 9;
  list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
}
.chapters li {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end; cursor: pointer;
  font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.38); transition: color .3s;
}
.chapters { transition: opacity .4s var(--ease); }
.chapters.is-faded { opacity: 0; pointer-events: none; }
.chapters li span { order: 2; display: inline-block; width: 22px; text-align: right; }
.chapters li::after { content: ""; order: 3; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.chapters li.is-active { color: #fff; }
.chapters li.is-active::after { width: 36px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: var(--section) 0; }
.section-tight { padding-top: 0; }
.section-soft { background: var(--surface-soft); }
.eyebrow-en { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--primary); margin-bottom: 18px; }
.display { font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.25; letter-spacing: -0.03em; }
.display b { font-weight: 700; }
.heading { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.section-lead { margin-top: 20px; font-size: 18px; color: var(--slate); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 64px; }
.stat { padding: 32px 24px; border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); background: var(--canvas); }
.stat-num { font-family: var(--font-en); font-size: clamp(40px, 3.6vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--primary); }
.stat-num em { font-family: var(--font-ko); font-style: normal; font-size: .46em; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stat strong { display: block; margin-top: 22px; font-size: 16px; line-height: 1.45; color: var(--ink-deep); }
.stat p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--steel); }

/* tabs + work */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  height: 40px; padding: 0 18px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); background: var(--canvas); color: var(--ink);
  font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: 0;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab.is-active { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.work { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.work.is-hidden { display: none; }
.work-img { aspect-ratio: 4 / 3; border-radius: var(--r-xxxl); overflow: hidden; background: var(--surface-soft); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-img.is-contain img { object-fit: contain; padding: 28px; }
.work:hover .work-img img { transform: scale(1.04); }
.chip { display: inline-block; margin-top: 20px; padding: 4px 12px; border-radius: var(--r-full); background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.work h3 { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.work-meta { margin-top: 6px; font-size: 14px; color: var(--steel); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.why { padding: 32px 24px; background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); }
.why svg { width: 36px; height: 36px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.why p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--slate); }

/* promo (CE) */
.promo {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  padding: 64px; border-radius: var(--r-xxxl); color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(120% 140% at 100% 0%, #1d3796 0%, var(--brand-navy) 45%, #0a1243 100%);
}
.promo .eyebrow-en { color: #8fb4ff; }
.promo h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.promo-lead { margin-top: 18px; max-width: 520px; color: rgba(255,255,255,.75); font-size: 16px; }
.bars { display: grid; gap: 12px; margin-top: 32px; max-width: 480px; }
.bar { display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 14px; font-size: 14px; }
.bar span { color: rgba(255,255,255,.75); }
.bar b { font-family: var(--font-en); text-align: right; }
.bar-track { height: 10px; border-radius: var(--r-full); background: rgba(255,255,255,.12); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #4d8bff, var(--primary)); transition: width 1.4s var(--ease); }
.promo.is-in .bar-track i { width: calc(var(--v) / .5); } /* 50% 기준 스케일 */
.facts { list-style: none; padding: 0; margin: 32px 0 36px; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 13px; color: rgba(255,255,255,.65); }
.facts b { display: block; font-family: var(--font-en); font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.promo-visual { display: flex; justify-content: center; perspective: 1200px; }
.promo-cover {
  width: min(320px, 100%); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px;
  transform: rotateY(-14deg) rotateZ(2deg);
  box-shadow: 30px 40px 80px rgba(0,0,0,.45);
  transition: transform .8s var(--ease);
}
.promo:hover .promo-cover { transform: rotateY(-4deg) rotateZ(0); }

/* cta */
.cta {
  padding: 80px 64px; border-radius: var(--r-xxxl); color: #fff;
  background: linear-gradient(135deg, #2a6dff 0%, var(--primary) 50%, #0049e0 100%);
}
.cta-lead { font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; line-height: 1.3; letter-spacing: -0.03em; }
.cta { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.cta-sub { margin-top: 28px; max-width: 420px; color: rgba(255,255,255,.8); font-size: 15px; }
.cta-direct { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: rgba(255,255,255,.7); }
.cta-direct a { font-family: var(--font-en); font-weight: 700; font-size: 26px; color: #fff; letter-spacing: -0.01em; }

/* inquiry form */
.inquiry { display: grid; gap: 16px; padding: 32px; border-radius: var(--r-xxl); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field em, .consent em { color: #ffd37a; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px;
  background: #fff; color: var(--ink-deep); font: inherit; font-size: 15px; font-weight: 400; letter-spacing: -0.14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(255,255,255,.55); outline-offset: 1px; }
.field .is-invalid, .consent input.is-invalid { border-color: #ff6b6b; outline: 2px solid #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: #fff; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: 14px; font-weight: 600; }
.form-status.is-error { color: #ffd0d0; }

/* footer */
.footer { background: #070d33; color: rgba(255,255,255,.62); padding: 72px 0 48px; font-size: 14px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { width: 150px; height: auto; flex: none; align-self: flex-start; }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 56px; }
.footer-cols h4 { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: .04em; }
.footer-cols a { display: block; padding: 4px 0; }
.footer-cols a:hover { color: #fff; }
.footer-group { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-group span { font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; }
.footer-group img { height: 18px; width: auto; opacity: .7; }
.footer-info { padding-top: 28px; display: grid; gap: 6px; font-size: 13px; }
.footer-info i { display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(255,255,255,.25); vertical-align: middle; }
.footer-legal { margin-top: 12px; color: rgba(255,255,255,.4); }
.footer-legal a { color: #fff; margin-right: 16px; font-weight: 600; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .gnb-nav a { padding: 8px 10px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --gutter: 24px; --section: 88px; }
  .gnb-nav, .gnb-cta { display: none; }
  .gnb-burger { display: block; }
  .gnb-drawer {
    display: grid; align-content: start; gap: 4px;
    position: fixed; inset: 72px 0 0 0; padding: 24px var(--gutter);
    background: var(--canvas); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .gnb-drawer a:not(.btn) { padding: 14px 4px; font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--ink-deep); border-bottom: 1px solid var(--hairline-soft); }
  .gnb-drawer .btn { margin-top: 24px; height: 52px; }
  .gnb.is-open { background: var(--canvas); }
  .gnb.is-open .logo-w { opacity: 0; }
  .gnb.is-open .logo-c { opacity: 1; }
  .gnb.is-open .gnb-burger span { background: var(--ink-deep); }
  .gnb.is-open .gnb-burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .gnb.is-open .gnb-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .gnb.is-open .gnb-drawer { opacity: 1; transform: none; visibility: visible; }
  .chapters { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 1fr; padding: 48px 32px; }
  .promo-visual { order: -1; justify-content: flex-start; }
  .promo-cover { width: 200px; }
  .cta { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section: 72px; }
  .gnb-inner { height: 64px; }
  .gnb-drawer { inset: 64px 0 0 0; }
  .gnb-logo { width: 112px; height: 15px; }
  .br-d { display: none; }
  .br-m { display: inline; }
  .intro-lead { font-size: 15px; }
  .node-cap { display: none; }
  .core-cap { width: 240px; font-size: 13px; }
  .hero-copy { bottom: 6vh; font-size: 19px; }
  .biz-info { padding: 18px 20px; }
  .biz-info strong { font-size: 20px; margin-top: 8px; }
  .biz-info p { display: none; }
  .biz-word { font-size: 15px; letter-spacing: .02em; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .tab { flex: none; padding: 0 14px; }
  .biz-more { margin-top: 6px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .stat { padding: 24px 18px; }
  .stat:first-child { grid-column: 1 / -1; }
  .stat p { display: none; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why { padding: 24px; }
  .section-head { margin-bottom: 32px; }
  .promo { padding: 40px 24px; }
  .cta { padding: 48px 24px; }
  .inquiry { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-info i { display: none; }
  .footer-info p { display: grid; gap: 2px; }
}

/* reduced motion: static hero (final state) */
.hero.is-static { height: 100vh; height: 100svh; min-height: 640px; }
.hero.is-static .hero-pin { position: relative; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .node-disc, .scroll-hint i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
