/* ───── Fonts (Design System — 뉴로비아핏 확장 장비 상세페이지, Editorial Dark 계승) ───── */
:root {
  --white:    #F7F8F5;
  --mineral:  #E4E8E5;
  --steel:    #A9B2AD;
  --slate:    #59615D;
  --graphite: #171A19;
  --panel:    #1E2220;
  --panel-2:  #262B28;
  --hairline: rgba(247,248,245,.12);
  --hairline-soft: rgba(247,248,245,.07);
  --ink:      rgba(247,248,245,.62);
  --ink-dim:  rgba(247,248,245,.42);
  --radius-sm: 2px;
  --max:      1280px;
  --ease-enter: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', 'Pretendard', system-ui, sans-serif;
  font-weight: 400;
  background: var(--graphite);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
h1,h2,h3,h4 {
  margin: 0;
  font-family: 'Pretendard Variable', 'Pretendard', system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--white);
}
p  { margin: 0; color: var(--ink); }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { font-weight: 700; color: var(--white); }
.serif { font-family: 'Marcellus', 'Pretendard Variable', serif; font-weight: 400; letter-spacing: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--white); outline-offset: 3px;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}

/* ───── Skip link ───── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--white); color: var(--graphite);
  font-size: 13px; font-weight: 700;
  padding: 12px 18px;
  transition: top .16s var(--ease-enter);
}
.skip-link:focus { top: 12px; }

/* ───── Breadcrumb ───── */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; letter-spacing: .04em;
  color: var(--ink-dim);
}
.breadcrumb a { color: var(--ink-dim); transition: color .16s var(--ease-enter); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li[aria-current="page"] { color: var(--ink); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--hairline); }
.breadcrumb li:not(:last-child) { display: flex; align-items: center; gap: 8px; }

.photo img { filter: grayscale(.45) contrast(1.08) brightness(.94); }
.photo.no-treat img { filter: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
section { padding: 128px 0; }

/* ───── Header ───── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,23,22,.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 14px 0;
  min-height: 64px;
}
.brand {
  display: flex; align-items: baseline; gap: 8px;
  min-width: 160px;
}
.brand-en {
  font-family: 'Marcellus', serif;
  font-size: 17px; font-weight: 400;
  letter-spacing: -.01em; color: var(--white);
}
.brand-kr { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ink-dim); letter-spacing: .08em; }

nav ul {
  display: flex; list-style: none; padding: 0; margin: 0;
  gap: 4px; align-items: center;
}
nav a {
  position: relative;
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 14px 12px;
  transition: color .16s var(--ease-enter);
  white-space: nowrap;
}
nav a:hover { color: var(--white); }
nav a.active, nav a[aria-current="page"] { color: var(--white); }
nav a.active::after, nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px;
  height: 2px; background: var(--white);
}
.mobile-menu a[aria-current="page"] { color: var(--white); }

/* ───── 제품 소개 드롭다운 ───── */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 14px 12px;
  background: none; border: none; cursor: pointer;
  transition: color .16s var(--ease-enter);
  white-space: nowrap;
}
.dropdown-toggle svg { width: 13px; height: 13px; transition: transform .2s var(--ease-enter); }
.has-dropdown:hover .dropdown-toggle,
.has-dropdown.open .dropdown-toggle { color: var(--white); }
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  padding: 6px;
  z-index: 50;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px;
  transition: background .14s var(--ease-enter);
}
.dropdown-menu a:hover { background: var(--panel-2); }
.dropdown-menu a[aria-current="page"] { background: var(--panel-2); }
.dropdown-name { font-size: 13.5px; font-weight: 700; color: var(--white); }
.dropdown-desc { font-size: 11.5px; color: var(--ink-dim); }

.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px;
  background: var(--white); color: var(--graphite);
  font-size: 13px; font-weight: 700;
  transition: background .16s var(--ease-enter);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--mineral); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  background: transparent;
  cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 16px; height: 1.5px; background: var(--white); }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline-soft);
  padding: 10px 0 14px;
}
.mobile-menu a {
  display: block; padding: 11px 4px;
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid var(--hairline-soft);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .nav-cta { margin: 10px 0 0; width: 100%; height: 44px; border-bottom: none; }
.mobile-group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim);
  padding: 10px 4px 6px;
}
.mobile-menu a.mobile-sub {
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink);
}

/* ───── Eyebrow tag ───── */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-dim);
}
.tag::before { content: ''; width: 14px; height: 1px; background: var(--steel); }
.tag.on-white { color: var(--white); }
.tag.on-white::before { background: var(--white); }

/* ───── Section Head ───── */
.section-head { margin-bottom: 64px; max-width: 640px; }
.section-head .tag { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.16; text-wrap: balance; }
.section-head p  { margin-top: 18px; font-size: 16px; line-height: 1.75; max-width: 34em; color: var(--ink); }
.tag + h2 { margin-top: 16px; }
h1, h2, h3 { text-wrap: balance; }

/* ───── HERO ───── */
.hero {
  padding: 0;
  min-height: 92svh;
  background: var(--graphite);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* background-image is set per-page (see each page's <style> block) —
     a url() reached only through a custom property resolves against the
     stylesheet that reads the var(), not the page that defines it, so the
     photo path must be written directly in the page's own <style> tag. */
  background-color: var(--graphite);
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  filter: grayscale(.5) contrast(1.1) brightness(.85);
}
.hero-bg.plain-panel { background: var(--panel); filter: none; }
.hero-content {
  position: relative; z-index: 1;
  padding: 0 0 96px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(247,248,245,.35);
  padding: 7px 14px;
  margin-bottom: 36px;
}
.hero h1 {
  font-size: clamp(34px, 5.8vw, 68px);
  line-height: 1.08; color: var(--white);
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--steel); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(247,248,245,.68);
  line-height: 1.75; margin-bottom: 26px;
  max-width: 480px;
}
.hero-def {
  font-size: 13px; line-height: 1.85;
  color: rgba(247,248,245,.45);
  max-width: 440px;
  padding-left: 16px;
  margin-bottom: 48px;
  border-left: 2px solid var(--white);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  background: var(--white); color: var(--graphite);
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  transition: background .16s var(--ease-enter), transform .08s var(--ease-enter);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--mineral); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  background: transparent; color: var(--white);
  font-size: 14px; font-weight: 500;
  border: 1px solid rgba(247,248,245,.35);
  cursor: pointer; transition: border-color .16s var(--ease-enter);
  white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(247,248,245,.75); }
.btn-outline:active { transform: translateY(1px); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 1;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(247,248,245,.4);
  animation: cueBob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
@keyframes cueBob {
  0%, 100% { transform: translate(-50%, 0); opacity: .5; }
  50% { transform: translate(-50%, 6px); opacity: .9; }
}

/* ───── Context / Manifesto (설명이 필요한 제품용 도입부) ───── */
.context { padding-top: 96px; }
.context-head { max-width: 760px; margin-bottom: 8px; }
.context-head .tag { margin-bottom: 28px; }
.context-title {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.32;
  color: var(--white);
}
.context-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 72px;
  margin-top: 64px;
  align-items: start;
}
.context-text p {
  font-size: 16px; line-height: 2;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 30em;
}
.context-panel {
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  padding: 30px 32px;
}
.context-panel .tag { margin-bottom: 16px; }
.context-panel ul { list-style: none; margin: 0; padding: 0; }
.context-panel li {
  font-size: 14px; line-height: 1.8; color: var(--ink);
  padding: 12px 0; border-top: 1px solid var(--hairline-soft);
}
.context-panel li:first-child { border-top: none; padding-top: 0; }
.context-panel li strong { display: block; color: var(--white); font-size: 14.5px; margin-bottom: 4px; }

/* ───── Problem (Pain) ───── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 8px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.problem-card {
  background: var(--panel);
  padding: 36px 32px 40px;
  border-left: 2px solid var(--hairline);
  transition: border-color .2s var(--ease-enter);
}
.problem-card:hover { border-left-color: var(--white); }
.problem-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  color: var(--ink-dim); text-transform: uppercase;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 20px; margin-bottom: 16px; line-height: 1.35; }
.problem-card p { font-size: 14px; line-height: 1.85; }

/* ───── Identity (About) ───── */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px; align-items: center;
}
.about-text h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin-bottom: 24px; }
.about-text p { font-size: 16px; line-height: 1.9; margin-bottom: 16px; max-width: 34em; color: var(--ink); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.spec-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .04em;
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 8px 13px;
}
.slogan-block {
  margin-top: 36px; padding: 26px 30px;
  background: var(--panel);
  border-left: 3px solid var(--white);
}
.slogan-block blockquote {
  margin: 0; padding: 0;
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--white); line-height: 1.5;
  letter-spacing: -.02em;
}
.slogan-block cite {
  display: block; margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-style: normal;
  color: var(--white); letter-spacing: .14em;
}
.about-visual { position: relative; }
.about-image {
  overflow: hidden;
  background: var(--panel);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-image.fit img { object-position: center; }
.about-image.fit-saso { aspect-ratio: 410 / 900; }
.about-image.fit-canopy9 { aspect-ratio: 2083 / 1188; }
.about-caption {
  position: absolute; left: -28px; bottom: -28px;
  background: var(--graphite);
  border: 1px solid var(--hairline);
  padding: 20px 24px;
  max-width: 240px;
}
.about-caption .tag { margin-bottom: 10px; }
.about-caption p { font-size: 12.5px; line-height: 1.7; color: var(--ink); }

/* ───── Features (프로토콜/모드) ───── */
.program-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 8px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.program-steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--panel);
  padding: 32px 26px;
  transition: background .16s var(--ease-enter);
}
.step:hover { background: var(--panel-2); }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--white);
  letter-spacing: .1em; margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--ink-dim); line-height: 1.7; }

.protocol-rail {
  margin-top: 1px;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-top: none;
  padding: 30px 32px;
}
.protocol-rail-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 16px;
}
.protocol-rail-seq {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  color: var(--white);
}
.protocol-rail-seq .pt { color: var(--white); }
.protocol-rail-seq .arrow { color: var(--ink-dim); }
.protocol-rail p { margin-top: 18px; font-size: 13px; line-height: 1.75; color: var(--ink); max-width: 640px; }

/* ───── Operation Model ───── */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 8px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.op-card {
  background: var(--panel);
  padding: 34px 32px;
  border-top: 2px solid var(--steel);
  transition: transform .35s var(--ease-enter), border-color .2s var(--ease-enter);
}
.op-card:hover { border-top-color: var(--white); transform: translateY(-3px); }
.op-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: var(--steel);
  margin-bottom: 18px;
}
.op-card h3 { font-size: 18px; margin-bottom: 18px; line-height: 1.35; }
.op-list { list-style: none; margin: 0; padding: 0; }
.op-list li {
  font-size: 13.5px; line-height: 1.8; color: var(--ink);
  padding-left: 16px; position: relative; margin-bottom: 6px;
}
.op-list li::before { content: '—'; position: absolute; left: 0; color: var(--ink-dim); }
.op-note {
  margin-top: 44px; padding: 24px 30px;
  background: var(--panel);
  border-left: 3px solid var(--steel);
  font-size: 15px; font-weight: 700; color: var(--white);
  line-height: 1.7;
}

/* ───── Support ───── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 8px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.support-item {
  background: var(--panel);
  padding: 28px 24px;
  border-top: 2px solid transparent;
  transition: transform .35s var(--ease-enter), border-color .2s var(--ease-enter);
}
.support-item:hover { border-top-color: var(--white); transform: translateY(-3px); }
.support-item .s-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--white); letter-spacing: .1em;
  margin-bottom: 14px;
}
.support-item p { font-size: 13.5px; line-height: 1.6; color: rgba(247,248,245,.85); font-weight: 600; }

/* ───── Effects / Fit-for / Lineup grid ───── */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin-top: 8px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.lineup-card {
  padding: 34px 32px;
  background: var(--panel);
  border-left: 2px solid var(--hairline);
  transition: border-color .16s var(--ease-enter);
}
.lineup-card:hover { border-left-color: var(--white); }
.lineup-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: var(--ink-dim);
  margin-bottom: 18px;
}
.lineup-card h3 { font-size: 18px; margin-bottom: 12px; }
.lineup-card p { font-size: 13px; line-height: 1.85; color: var(--ink); }
.lineup-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.lineup-card.media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lineup-card-photo { aspect-ratio: 5/4; overflow: hidden; background: var(--panel-2); }
.lineup-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-enter); }
.lineup-card.media:hover .lineup-card-photo img { transform: scale(1.06); }
.lineup-card-body { padding: 28px 26px 32px; }
.lineup-card-body .lineup-tag { margin-bottom: 14px; }

/* ───── Trust (photo + copy) ───── */
.equip-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  margin-top: 1px;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
}
.equip-feature-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.equip-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.equip-feature-photo.fit img { object-position: center; }
.equip-feature-photo.fit-saso { aspect-ratio: 410 / 900; }
.equip-feature-body {
  padding: 34px 38px;
  border-left: 2px solid var(--hairline);
  display: flex; flex-direction: column; justify-content: center;
}
.equip-feature-body ul { list-style: none; margin: 18px 0 0; padding: 0; }
.equip-feature-body li {
  font-size: 13.5px; line-height: 1.8; color: var(--ink);
  padding-left: 16px; position: relative; margin-bottom: 8px;
}
.equip-feature-body li::before { content: '—'; position: absolute; left: 0; color: var(--ink-dim); }

/* ───── Specifications ───── */
.change-list { margin-top: 8px; border-top: 1px solid var(--hairline-soft); }
.change-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px; align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--hairline-soft);
  transition: background .16s var(--ease-enter);
}
.change-row:hover { background: rgba(247,248,245,.02); }
.change-row .spec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: var(--steel); text-transform: uppercase;
}
.change-row p { font-size: 14.5px; line-height: 1.75; color: var(--white); max-width: 40em; }

/* ───── FAQ ───── */
.faq .container { max-width: 860px; }
.faq-inner { max-width: 780px; }
details { border-bottom: 1px solid var(--hairline-soft); padding: 26px 0; transition: background .2s var(--ease-enter); }
details:hover { background: rgba(247,248,245,.02); }
details:first-of-type { border-top: 1px solid var(--hairline-soft); }
summary {
  list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  width: 20px; text-align: center;
  font-size: 18px; font-weight: 400;
  color: var(--white);
}
details[open] summary::after { content: '−'; }
details p { margin-top: 16px; font-size: 14px; line-height: 1.85; padding-right: 40px; max-width: 34em; color: var(--ink); }

/* ───── 최종 CTA ───── */
.cta-section { position: relative; padding: 148px 0; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  /* background-image set per-page — see note on .hero-bg above */
  background-color: var(--graphite);
  background-size: cover; background-position: center 42%; background-repeat: no-repeat;
  filter: grayscale(.5) contrast(1.1) brightness(.75);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.cta-section h2 { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.16; margin-bottom: 20px; }
.cta-section p { color: rgba(247,248,245,.6); font-size: 15px; line-height: 1.8; max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px;
  background: var(--white); color: var(--graphite);
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: background .16s var(--ease-enter), transform .08s var(--ease-enter);
  white-space: nowrap; width: 100%;
}
.btn-solid:hover { background: var(--mineral); }
.btn-solid:active { transform: translateY(1px); }
.cta-actions .btn-outline { width: 100%; }
.cta-phone { font-size: 13px; color: rgba(247,248,245,.55); letter-spacing: .01em; line-height: 1.7; margin-top: 4px; }
.cta-phone strong { color: rgba(247,248,245,.9); font-weight: 500; }

/* ───── Footer ───── */
footer { background: var(--graphite); padding: 56px 0 24px; border-top: 1px solid var(--hairline-soft); }
.footer-inner { display: flex; gap: 48px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.footer-brand .brand-en { color: var(--white); font-size: 13px; }
.footer-brand .brand-kr { color: var(--ink-dim); }
.footer-sitemap { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 3px;
}
.footer-col a { font-size: 13px; color: var(--ink); transition: color .16s var(--ease-enter); }
.footer-col a:hover { color: var(--white); }
.footer-col a[aria-current="page"] { color: var(--white); }
.footer-info { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-dim); line-height: 1.9; }
.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; color: rgba(247,248,245,.25);
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}

/* ───── Floating CTA ───── */
.float-cta {
  position: fixed; bottom: 28px; right: 24px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--graphite);
  font-size: 13px; font-weight: 700;
  padding: 14px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  transition: background .16s var(--ease-enter), transform .16s var(--ease-enter), opacity .2s var(--ease-enter);
}
.float-cta:hover { background: var(--mineral); transform: translateY(-2px); }
.float-cta.is-hidden { opacity: 0; pointer-events: none; }
.float-cta svg { flex-shrink: 0; width: 18px; height: 18px; }

/* Buttons that replaced tel:/kakao links keep their visual style but need button resets */
button.btn-primary, button.btn-solid, button.float-cta, button.card-more, button.nav-cta { font-family: inherit; text-decoration: none; }
button.btn-primary, button.btn-solid, button.float-cta, button.nav-cta { border: none; cursor: pointer; }
button.card-more {
  background: transparent; border: none; border-bottom: 1px solid var(--hairline);
  padding: 0 0 2px; cursor: pointer; text-align: left;
}

/* ───── Inquiry Modal ───── */
.inquiry-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10,11,10,.72);
}
.inquiry-overlay.is-open { display: flex; }
.inquiry-modal {
  position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: 40px 32px 32px;
}
.inquiry-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--ink-dim);
  cursor: pointer; transition: color .16s var(--ease-enter);
}
.inquiry-close:hover { color: var(--white); }
.inquiry-close svg { width: 18px; height: 18px; }
.inquiry-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 10px;
}
.inquiry-modal h3 { font-size: 20px; font-weight: 700; color: var(--white); margin: 0 0 8px; line-height: 1.4; }
.inquiry-modal > p { font-size: 13px; color: var(--ink-dim); margin: 0 0 24px; line-height: 1.6; }
.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.inquiry-form.is-hidden { display: none; }
.inquiry-field { display: flex; flex-direction: column; gap: 6px; }
.inquiry-field label { font-size: 12px; color: var(--ink-dim); }
.inquiry-field input, .inquiry-field select, .inquiry-field textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--hairline);
  color: var(--white); font-family: inherit; font-size: 14px; padding: 12px 14px;
  transition: border-color .16s var(--ease-enter);
}
.inquiry-field input:focus, .inquiry-field select:focus, .inquiry-field textarea:focus {
  outline: none; border-color: var(--steel);
}
.inquiry-field textarea { resize: vertical; min-height: 84px; }
.inquiry-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-submit {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; margin-top: 4px;
  background: var(--white); color: var(--graphite);
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  transition: background .16s var(--ease-enter), transform .08s var(--ease-enter), opacity .16s var(--ease-enter);
}
.inquiry-submit:hover { background: var(--mineral); }
.inquiry-submit:active { transform: translateY(1px); }
.inquiry-submit:disabled { opacity: .55; cursor: not-allowed; }
.inquiry-note { font-size: 11px; color: var(--ink-dim); line-height: 1.6; margin-top: -2px; }
.inquiry-status { font-size: 13px; line-height: 1.6; margin: 0; display: none; }
.inquiry-status.is-error { color: #E4A0A0; display: block; }
.inquiry-status.is-sending { color: var(--ink-dim); display: block; }
.inquiry-success { display: none; text-align: center; padding: 12px 0 4px; }
.inquiry-success.is-visible { display: block; }
.inquiry-success svg { width: 40px; height: 40px; color: var(--white); margin-bottom: 16px; }
.inquiry-success h3 { margin-bottom: 10px; }
.inquiry-success p { font-size: 13px; color: var(--ink-dim); line-height: 1.6; margin: 0; }
@media (max-width: 480px) {
  .inquiry-modal { padding: 32px 22px 24px; }
}

/* ───── Motion ───── */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--ease-enter), transform .85s var(--ease-enter);
  transition-delay: calc(min(var(--stagger, 0), 8) * 65ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.problem-card, .lineup-card, .op-card, .step, .change-row { position: relative; transition: transform .35s var(--ease-enter), border-color .2s var(--ease-enter), background .2s var(--ease-enter); }
.problem-card::before, .lineup-card::before, .op-card::before, .step::before, .change-row::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(247,248,245,.06), transparent 72%);
  opacity: 0; transition: opacity .4s var(--ease-enter); pointer-events: none;
}
.problem-card:hover::before, .lineup-card:hover::before, .op-card:hover::before, .step:hover::before, .change-row:hover::before { opacity: 1; }
.problem-card > *, .lineup-card > *, .op-card > *, .step > *, .change-row > * { position: relative; }
.problem-card:hover, .lineup-card:hover, .step:hover { transform: translateY(-3px); z-index: 2; }

.about-image img, .equip-feature-photo img { transition: transform .7s var(--ease-enter); }
.about-visual:hover .about-image img { transform: scale(1.06); }
.equip-feature:hover .equip-feature-photo img { transform: scale(1.06); }

nav a::before {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px;
  height: 1px; background: var(--ink-dim);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-enter), background .3s var(--ease-enter);
}
nav a:hover::before { transform: scaleX(1); background: var(--white); }
nav a.active::before, nav a[aria-current="page"]::before { display: none; }

.btn-primary:hover, .btn-outline:hover, .btn-solid:hover, .nav-cta:hover { transform: translateY(-2px); }
.btn-primary:active, .btn-outline:active, .btn-solid:active, .nav-cta:active { transform: translateY(1px); }
.btn-outline, .nav-cta { transition: background .16s var(--ease-enter), border-color .16s var(--ease-enter), transform .16s var(--ease-enter); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .problem-card, .lineup-card, .step, .about-image img, .equip-feature-photo img,
  .btn-primary, .btn-outline, .btn-solid, .nav-cta, .float-cta { transition: none !important; }
  .problem-card:hover, .lineup-card:hover, .step:hover,
  .btn-primary:hover, .btn-outline:hover, .btn-solid:hover, .nav-cta:hover, .float-cta:hover { transform: none !important; }
}

/* ───── Responsive ───── */
@media (max-width: 960px) {
  .context-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-image  { aspect-ratio: 16/9; }
  .about-caption { left: 0; right: 0; bottom: -24px; max-width: none; }
  .program-steps, .program-steps.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .op-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .lineup-grid.three-col { grid-template-columns: 1fr 1fr; }
  .equip-feature { grid-template-columns: 260px 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .btn-solid { width: auto; }
  .cta-actions .btn-outline { width: auto; }
  .change-row { grid-template-columns: 140px 1fr; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .context { padding-top: 56px; }
  .problem-grid  { grid-template-columns: 1fr; }
  .lineup-grid   { grid-template-columns: 1fr; }
  .lineup-grid.three-col { grid-template-columns: 1fr; }
  .equip-feature { grid-template-columns: 1fr; }
  .equip-feature-photo { aspect-ratio: 16/9; }
  .equip-feature-body { border-left: none; border-top: 2px solid var(--hairline); }
  .program-steps, .program-steps.cols-3 { grid-template-columns: 1fr; }
  .op-grid       { grid-template-columns: 1fr; }
  .support-grid  { grid-template-columns: 1fr 1fr; }
  nav ul         { display: none; }
  .nav-cta.desktop { display: none; }
  .hamburger     { display: flex; }
  .protocol-rail-seq { font-size: 11.5px; }
  .about-caption { position: static; margin-top: -1px; }
  .change-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  .hero-actions{ flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .float-cta { right: 16px; bottom: 20px; padding: 12px 16px; font-size: 12.5px; }
  .support-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
