/* ==================================================
   시안 3 — Mono Brutalist
   · 순백 배경 + 스탁 블랙 텍스트 + 전기 오렌지 단일 액센트
   · 각진 경계선(rounded 0) · 무(無) 그림자 · 무(無) 그라디언트
   · Geometric ultra-bold 타이포 (Space Grotesk)
   · 대비가 강한 교차 섹션(블랙 invert)
   ================================================== */

:root {
  --bg-0:     #ffffff;
  --bg-1:     #f5f5f5;
  --bg-2:     #0a0a0a;
  --bg-card:  #ffffff;

  --line:     #0a0a0a;
  --line-2:   #000000;
  --line-soft:#e5e5e5;

  --text:     #0a0a0a;
  --text-inv: #ffffff;
  --muted:    #525252;
  --dim:      #a3a3a3;

  --accent:   #ff3e00;
  --accent-2: #0a0a0a;

  --radius:    0;
  --radius-sm: 0;

  --sans:     'Space Grotesk', 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display:  'Space Grotesk', 'Archivo Black', 'Pretendard', 'Inter', sans-serif;
  --mono:     'JetBrains Mono', 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
body::before, body::after { content: none; } /* ambient glows 제거 */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.muted { color: var(--muted); }

/* ==================================================
   NAV — 풀폭 빅 타이포 바 + 2px 하단 경계선
   ================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-0);
  border-bottom: 2px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.brand-mark {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--accent);
  transform: rotate(45deg);
  font-size: 0;
}
.brand-mark::after { content: ""; }
.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a::before {
  content: "·";
  color: var(--accent);
  margin-right: 6px;
  opacity: 0;
  transition: opacity .15s;
}
.nav-links a:hover::before { opacity: 1; }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ==================================================
   BUTTONS — 샤프 렉탱글, 2px 블랙 보더, 무 쉐도우
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: background .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 18px 32px; font-size: 15px; }

.btn-primary {
  background: var(--accent-2);
  color: var(--text-inv);
  border-color: var(--accent-2);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-inv);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--text-inv);
}
.btn-ghost .arrow { transition: transform .2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ==================================================
   GLOBAL TYPOGRAPHY
   ================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section {
  padding: 140px 0;
  position: relative;
}
.section-dim {
  background: var(--bg-1);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: left;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
  text-transform: none;
}
.section-head .sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}

.grad,
.grad-2,
.grad-3,
.grad-4 {
  background: var(--accent);
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--text-inv);
  background-clip: initial;
  color: var(--text-inv);
  padding: 0 8px;
  display: inline-block;
  line-height: 1.1;
}

/* ==================================================
   HERO
   ================================================== */
.hero {
  padding: 100px 0 120px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--text);
  color: var(--text-inv);
  border: 2px solid var(--text);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.tag .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
  max-width: 1100px;
  text-transform: none;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 48px;
}
.lede strong { color: var(--text); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 96px;
}
.hero-cta .btn + .btn { margin-left: -2px; } /* 버튼 경계선 겹침 */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 48px;
  border-top: 2px solid var(--line);
}
.stat { padding: 0 24px 0 0; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  color: var(--text);
}
.stat-num .grad,
.stat-num .grad-2,
.stat-num .grad-3,
.stat-num .grad-4 {
  background: none;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  padding: 0;
}
.stat-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 780px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat { border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 24px; }
}

/* ==================================================
   WHY
   ================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}
.why-card {
  background: var(--bg-card);
  border: none;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 36px 32px;
  transition: background .2s;
}
.why-card:hover {
  background: var(--bg-1);
  transform: none;
  box-shadow: none;
}
.why-grid .why-card:nth-child(3n) { border-right: none; }
.why-grid .why-card:nth-last-child(-n+3) { border-bottom: none; }

.why-icon {
  width: 40px; height: 40px;
  border-radius: 0;
  background: var(--accent);
  color: var(--text-inv);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}
.why-icon.cyan, .why-icon.pink, .why-icon.green,
.why-icon.yellow, .why-icon.purple, .why-icon.orange {
  background: var(--accent);
  color: var(--text-inv);
}
.why-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-transform: none;
}
.why-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.why-card strong { color: var(--text); font-weight: 700; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid .why-card:nth-child(n) { border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .why-grid .why-card:nth-child(2n) { border-right: none; }
  .why-grid .why-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-card:nth-child(n) { border-right: none; border-bottom: 2px solid var(--line); }
  .why-grid .why-card:last-child { border-bottom: none; }
}

/* ==================================================
   PRODUCTS
   ================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}
.product-card {
  background: var(--bg-card);
  border: none;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 32px 28px;
  position: relative;
  transition: background .2s;
}
.product-card::before { content: none; }
.product-card:hover {
  background: var(--bg-1);
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.product-grid .product-card:nth-child(3n) { border-right: none; }
.product-grid .product-card:nth-last-child(-n+3) { border-bottom: none; }

.product-head { margin-bottom: 16px; }
.product-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--text);
  color: var(--text-inv);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: none;
}
.cyan-bg, .pink-bg, .green-bg, .yellow-bg, .purple-bg, .orange-bg {
  background: var(--text);
  color: var(--text-inv);
}
.product-card:hover .product-badge {
  background: var(--accent);
}
.product-card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.product-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 12px 0 18px;
}
.product-desc strong { color: var(--text); font-weight: 700; }
.product-points {
  list-style: none;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.product-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.product-points li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 9px;
  top: 6px;
}
.combo-hint {
  margin-top: 40px;
  text-align: center;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 18px 24px;
  background: var(--text);
  color: var(--text-inv);
  border: none;
  border-radius: 0;
  letter-spacing: 0.04em;
}
.combo-hint strong { color: var(--accent); }
.combo-hint .muted { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid .product-card:nth-child(n) { border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .product-grid .product-card:nth-child(2n) { border-right: none; }
  .product-grid .product-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid .product-card:nth-child(n) { border-right: none; border-bottom: 2px solid var(--line); }
  .product-grid .product-card:last-child { border-bottom: none; }
}

/* ==================================================
   SUPPLY
   ================================================== */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}
.supply-card {
  background: var(--bg-card);
  border: none;
  border-right: 2px solid var(--line);
  border-radius: 0;
  padding: 36px 24px;
  transition: background .2s;
}
.supply-card:hover { background: var(--bg-1); transform: none; }
.supply-grid .supply-card:last-child { border-right: none; }
.supply-letter {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--text);
  background: none !important;
  -webkit-text-fill-color: var(--text) !important;
  margin-bottom: 20px;
  letter-spacing: -0.06em;
}
.supply-card:nth-child(1) .supply-letter,
.supply-card:nth-child(2) .supply-letter,
.supply-card:nth-child(3) .supply-letter,
.supply-card:nth-child(4) .supply-letter {
  color: var(--text);
  -webkit-text-fill-color: var(--text) !important;
}
.supply-card:hover .supply-letter { color: var(--accent); -webkit-text-fill-color: var(--accent) !important; }
.supply-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.supply-sub {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.supply-card:nth-child(n) .supply-sub { color: var(--accent); }
.supply-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.supply-example {
  padding: 8px 12px;
  background: var(--text);
  color: var(--text-inv);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  border: none;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .supply-grid { grid-template-columns: repeat(2, 1fr); }
  .supply-grid .supply-card:nth-child(n) { border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .supply-grid .supply-card:nth-child(2n) { border-right: none; }
  .supply-grid .supply-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 520px) {
  .supply-grid { grid-template-columns: 1fr; }
  .supply-grid .supply-card { border-right: none !important; border-bottom: 2px solid var(--line) !important; }
  .supply-grid .supply-card:last-child { border-bottom: none !important; }
}

/* ==================================================
   PROCESS
   ================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}
.process::before { display: none; }
.process-step {
  background: var(--bg-card);
  border: none;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 28px 22px;
  transition: background .2s;
}
.process-step:hover { background: var(--bg-1); transform: none; }
.process-step.highlight {
  background: var(--accent);
  border-color: var(--accent);
}
.process-step.highlight h4,
.process-step.highlight p { color: var(--text-inv); }
.process-step.highlight .step-num {
  background: var(--text);
  color: var(--text-inv);
}
.process .process-step:nth-child(4n) { border-right: none; }
.process .process-step:nth-last-child(-n+4) { border-bottom: none; }

.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-inv);
  background: var(--text);
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 18px;
}
.process-step h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.process-step p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .process-step:nth-child(n) { border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .process .process-step:nth-child(2n) { border-right: none; }
  .process .process-step:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .process .process-step { border-right: none !important; border-bottom: 2px solid var(--line) !important; }
  .process .process-step:last-child { border-bottom: none !important; }
}

/* ==================================================
   REFERENCES — 블랙 피처 블록 + 샤프 카드
   ================================================== */
.ray-dogfood-card {
  background: var(--text);
  color: var(--text-inv);
  border: 2px solid var(--text);
  border-radius: 0;
  padding: 48px 56px 44px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}
.ray-dogfood-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--accent);
  border-radius: 0;
}
.ray-dogfood-card::after { content: none; }

.dogfood-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.dogfood-icon {
  width: 44px; height: 44px;
  border-radius: 0;
  background: var(--accent);
  border: none;
  color: var(--text-inv);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.dogfood-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--text-inv);
  border: none;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.ray-dogfood-card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-inv);
  text-transform: none;
}
.ray-dogfood-card h3 strong {
  background: var(--accent) !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--text-inv) !important;
  color: var(--text-inv);
  padding: 0 8px;
  display: inline-block;
}
.dogfood-body {
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 820px;
  margin-bottom: 28px;
}
.dogfood-body strong {
  color: var(--text-inv);
  font-weight: 700;
}
.dogfood-body em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.dogfood-products {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.dogfood-products-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,62,0,0.3);
  animation: none;
}
.dogfood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.dogfood-chip {
  padding: 8px 16px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  border-right: none;
  color: var(--text-inv);
  border-radius: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dogfood-chip:last-child { border-right: 2px solid rgba(255,255,255,0.5); }

@media (max-width: 640px) {
  .ray-dogfood-card { padding: 32px 24px; }
  .dogfood-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dogfood-chips { flex-direction: column; }
  .dogfood-chip { border-right: 2px solid rgba(255,255,255,0.5); border-bottom: none; }
  .dogfood-chip:not(:last-child) { border-bottom: none; }
  .dogfood-chip + .dogfood-chip { border-top: none; }
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}
.ref-card {
  background: var(--bg-card);
  border: none;
  border-right: 2px solid var(--line);
  border-radius: 0;
  padding: 40px 36px;
  transition: background .2s;
}
.ref-card:hover { background: var(--bg-1); transform: none; border-color: var(--line); }
.ref-grid .ref-card:last-child { border-right: none; }
.ref-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ref-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--text);
  color: var(--text-inv);
  border: none;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ref-tag.pink-tag {
  background: var(--accent);
  color: var(--text-inv);
}
.ref-product {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.ref-card h3 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.ref-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.ref-stats {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.ref-stat-val {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ref-stat-lab {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 780px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-grid .ref-card { border-right: none !important; border-bottom: 2px solid var(--line); }
  .ref-grid .ref-card:last-child { border-bottom: none; }
}

/* ==================================================
   CONTACT — 블랙 섹션 (대비)
   ================================================== */
.section-contact {
  background: var(--text);
  color: var(--text-inv);
}
.section-contact .eyebrow { color: var(--accent); }
.section-contact .eyebrow::before { background: var(--accent); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text-inv);
  text-transform: none;
}
.contact-copy h2 .grad,
.contact-copy h2 .grad-2,
.contact-copy h2 .grad-3,
.contact-copy h2 .grad-4 {
  background: var(--accent);
  color: var(--text-inv);
  -webkit-text-fill-color: var(--text-inv);
  padding: 0 10px;
}
.contact-copy .sub {
  color: rgba(255,255,255,0.7);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-copy strong { color: var(--text-inv); font-weight: 700; }

.contact-direct {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 0;
  padding: 24px;
}
.cd-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono);
  font-size: 13.5px;
}
.cd-row:last-child { border-bottom: none; }
.cd-label { color: rgba(255,255,255,0.6); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; padding-top: 2px; }
.cd-value { color: var(--text-inv); font-weight: 600; }
a.cd-value { color: var(--accent); }
a.cd-value:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-card);
  color: var(--text);
  border: 2px solid var(--text-inv);
  border-radius: 0;
  padding: 32px 30px;
}
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-row .req { color: var(--accent); }

.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-0);
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .15s;
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--dim); }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--line); }
.chip { cursor: pointer; user-select: none; }
.chip input { display: none; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  background: var(--bg-0);
  border: none;
  border-right: 2px solid var(--line);
  border-radius: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: all .15s;
}
.chip:last-child span { border-right: none; }
.chip input:checked + span {
  background: var(--accent);
  color: var(--text-inv);
}

.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans) !important;
  font-size: 12.5px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.6;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }

.form-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.form-note.success { color: var(--accent); }
.form-note.error { color: var(--accent); }

@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) {
  .form-row.two { grid-template-columns: 1fr; }
  .chip-group { flex-direction: column; }
  .chip span { border-right: none; border-bottom: 2px solid var(--line); }
  .chip:last-child span { border-bottom: none; }
}

/* ==================================================
   FOOTER — 풀 블랙
   ================================================== */
.footer {
  padding: 32px 0;
  border-top: 2px solid var(--text);
  background: var(--text);
  color: var(--text-inv);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  color: var(--text-inv);
  font-size: 16px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.footer-brand em { font-style: normal; color: rgba(255,255,255,0.6); font-weight: 500; margin-left: 4px; }
.footer-meta { color: rgba(255,255,255,0.6); }
.footer-meta .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.footer-meta a { color: var(--accent); }
.footer-meta a:hover { text-decoration: underline; }
.footer-nav { display: flex; gap: 24px; color: rgba(255,255,255,0.75); text-transform: uppercase; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ==================================================
   SCROLL REVEAL
   ================================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 780px) {
  .section { padding: 90px 0; }
  .hero { padding: 64px 0 80px; }
  .container { padding: 0 20px; }
}
