/* ============================================================
   삼대철공 (三代鐵工 · SAMDAE STEEL)
   문래동 3대째 스테인리스 사이니지 제작
   인더스트리얼 스펙시트 / 블루프린트 비주얼 언어
   ============================================================ */

/* ===== Fonts (self-hosted Pretendard) ===== */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Pretendard-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Pretendard-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Pretendard-Black.woff2') format('woff2');
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ===== Design Tokens ===== */
:root {
  --c-primary: #16181c;     /* 강철 먹빛 */
  --c-surface: #22262b;     /* 브러시드 차콜 */
  --c-surface-2: #1b1e22;
  --c-steel: #8b9298;       /* 금속 회색 */
  --c-paper: #f3f1ec;       /* 따뜻한 종이 */
  --c-accent: #e2562b;      /* 용접 앰버 */
  --c-line: rgba(243,241,236,0.14);
  --c-line-strong: rgba(243,241,236,0.28);

  --font-body: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --font-display: 'Archivo', 'Helvetica Neue Condensed', 'Arial Narrow', var(--font-body);
  --font-mono: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Base ===== */
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-paper);
  background: var(--c-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }

::selection { background: var(--c-accent); color: var(--c-paper); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: -120px;
  background: var(--c-accent); color: var(--c-paper);
  padding: 0.6rem 1rem; z-index: 200; font-weight: 600;
  border-radius: 2px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ===== Layout helpers ===== */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* mono technical label */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-steel);
}

/* section marker (도번 + 라벨) */
.marker {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-steel);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.marker__num { color: var(--c-accent); font-weight: 600; }
.marker__title { color: var(--c-paper); letter-spacing: 0.14em; }
.marker__meta { margin-left: auto; color: var(--c-steel); }

/* oversized display headline */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: none;
}

/* dimension-line motif */
.dimline {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  color: var(--c-steel);
}
.dimline::before, .dimline::after { content: ''; height: 1px; background: var(--c-line-strong); flex: 1; }
.dimline span { white-space: nowrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  padding: 1rem 1.6rem;
  border: 1px solid var(--c-line-strong);
  color: var(--c-paper);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--c-paper); color: var(--c-primary); border-color: var(--c-paper); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-paper); }
.btn--accent:hover { background: #c9461e; border-color: #c9461e; color: var(--c-paper); }
.btn--ghost { color: var(--c-paper); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,24,28,0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-condensed {
  background: rgba(18,20,23,0.92);
  border-bottom-color: var(--c-line-strong);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  transition: height 0.3s var(--ease);
}
.is-condensed .nav { height: 64px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__ko { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--c-paper); }
.brand__en { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.34em; color: var(--c-steel); margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  position: relative; padding: 0.6rem 1rem;
  font-size: 0.92rem; font-weight: 500; color: var(--c-steel);
  transition: color 0.25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-paper); }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0.35rem;
  height: 2px; background: var(--c-accent);
}
.nav__cta { margin-left: 0.8rem; padding: 0.7rem 1.2rem; font-size: 0.72rem; }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--c-paper);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO (home) — asymmetric editorial
   ============================================================ */
.hero { position: relative; border-bottom: 1px solid var(--c-line); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - var(--header-h));
}
.hero__left {
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.hero__toprow {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--c-steel); text-transform: uppercase;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-line);
}
.hero__est { color: var(--c-accent); font-weight: 600; }
.hero__headline {
  margin-top: auto; padding-top: 2.5rem;
}
.hero__headline h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.7rem, 8.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero__headline h1 .em { color: var(--c-accent); }
.hero__headline h1 .thin { font-weight: 500; color: var(--c-steel); }
.hero__lede {
  margin-top: 1.8rem; max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem); color: rgba(243,241,236,0.78);
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__right { position: relative; border-left: 1px solid var(--c-line); overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.9); }
.hero__tag {
  position: absolute; left: 1.5rem; bottom: 1.5rem; right: 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em;
  color: var(--c-paper); text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero__tag .num { color: var(--c-accent); font-weight: 600; }
/* corner crop marks */
.cropmark { position: absolute; width: 16px; height: 16px; border-color: var(--c-line-strong); }
.cropmark--tl { top: 1rem; left: 1rem; border-top: 1px solid; border-left: 1px solid; }
.cropmark--br { bottom: 1rem; right: 1rem; border-bottom: 1px solid; border-right: 1px solid; }

/* scrolling ticker strip */
.ticker {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface-2);
  overflow: hidden; white-space: nowrap;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding-block: 0.9rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-steel);
  animation: ticker 32s linear infinite;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker__track b { color: var(--c-accent); font-weight: 600; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.pagehero { border-bottom: 1px solid var(--c-line); position: relative; overflow: hidden; }
.pagehero__inner {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
  position: relative; z-index: 1;
}
.pagehero__crumb {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-steel); margin-bottom: 1.5rem;
}
.pagehero__crumb a:hover { color: var(--c-paper); }
.pagehero__crumb .sep { color: var(--c-line-strong); margin-inline: 0.5rem; }
.pagehero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 0.95;
}
.pagehero__sub { margin-top: 1.4rem; max-width: 56ch; color: rgba(243,241,236,0.78); font-size: clamp(1rem,1.3vw,1.15rem); }
.pagehero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.16;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

/* ============================================================
   INTRO / NARRATIVE (home)
   ============================================================ */
.intro { background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.intro__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.intro__figure { position: relative; }
.intro__figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: contrast(1.04) saturate(0.92); }
.intro__figure .label {
  position: absolute; bottom: -1px; left: -1px; right: -1px;
  background: linear-gradient(transparent, rgba(18,20,23,0.92));
  padding: 2.5rem 1.4rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--c-paper);
}
.prose-lead {
  font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.28; font-weight: 500;
  letter-spacing: -0.01em; color: var(--c-paper);
}
.prose-lead .em { color: var(--c-accent); }
.intro__body { margin-top: 1.8rem; color: rgba(243,241,236,0.74); max-width: 54ch; }
.intro__body p + p { margin-top: 1rem; }
.sig { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.sig__name { font-weight: 700; }
.sig__role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--c-steel); text-transform: uppercase; }

/* ============================================================
   STAT ROW
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); }
.stat { padding: clamp(1.5rem,3vw,2.4rem) clamp(1rem,2vw,1.6rem); border-left: 1px solid var(--c-line); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem,4vw,3.4rem); line-height: 1; }
.stat__num .u { font-size: 0.45em; color: var(--c-accent); margin-left: 0.15em; font-weight: 700; }
.stat__label { margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-steel); }

/* ============================================================
   SPEC SHEET LIST (제작 품목)
   ============================================================ */
.specsheet { border-top: 1px solid var(--c-line-strong); }
.spec-row {
  display: grid;
  grid-template-columns: 64px 1.4fr 1.6fr auto;
  gap: clamp(1rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--c-line);
  transition: background 0.3s var(--ease), padding-inline 0.3s var(--ease);
}
.spec-row:hover { background: rgba(243,241,236,0.03); }
.spec-row__num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--c-accent); font-weight: 600; align-self: start; padding-top: 0.4rem; }
.spec-row__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; }
.spec-row__title .en { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--c-steel); margin-top: 0.5rem; text-transform: uppercase; font-weight: 400; }
.spec-row__desc { color: rgba(243,241,236,0.72); font-size: 0.96rem; }
.spec-row__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-steel);
  border: 1px solid var(--c-line); padding: 0.25rem 0.55rem; border-radius: 2px;
}
.spec-row__arrow { font-family: var(--font-mono); color: var(--c-steel); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.spec-row:hover .spec-row__arrow { color: var(--c-accent); transform: translateX(5px); }

/* ============================================================
   ASYMMETRIC GALLERY (시공사례)
   ============================================================ */
.gallery-asym {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.work-card { position: relative; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); }
.work-card a { display: block; height: 100%; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s var(--ease); filter: contrast(1.04) saturate(0.9); }
.work-card:hover img { transform: scale(1.04); }
.work-card__meta {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.3rem 1.2rem;
  background: linear-gradient(transparent, rgba(18,20,23,0.95));
}
.work-card__num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--c-accent); }
.work-card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.7rem); margin-top: 0.3rem; }
.work-card__spec { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
/* home asymmetric placement */
.g-tall { grid-column: span 5; aspect-ratio: 3/4.2; }
.g-wide { grid-column: span 7; aspect-ratio: 16/10; }
.g-mid  { grid-column: span 7; aspect-ratio: 16/9; }
.g-side { grid-column: span 5; aspect-ratio: 3/4.2; }

/* works.html grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.works-grid .work-card { grid-column: span 4; aspect-ratio: 4/5; }
.works-grid .work-card.span6 { grid-column: span 6; aspect-ratio: 16/11; }
.works-grid .work-card.span8 { grid-column: span 8; aspect-ratio: 16/9; }
.works-grid .work-card.tall { aspect-ratio: 3/4.3; }

/* ============================================================
   PROCESS (도번 01–05)
   ============================================================ */
.process-list { border-top: 1px solid var(--c-line-strong); }
.proc {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(1rem,4vw,3.5rem);
  padding: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--c-line);
  position: relative;
}
.proc__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,5vw,4.5rem); color: var(--c-line-strong); line-height: 0.9; }
.proc:hover .proc__num { color: var(--c-accent); transition: color 0.4s var(--ease); }
.proc__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.proc__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.proc__icon { width: 44px; height: 44px; flex: none; }
.proc__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,3vw,2.4rem); }
.proc__en { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--c-steel); text-transform: uppercase; margin-top: 0.4rem; }
.proc__desc { color: rgba(243,241,236,0.78); }
.proc__qc {
  background: var(--c-surface); border: 1px solid var(--c-line); padding: 1.3rem 1.4rem; border-radius: 2px;
}
.proc__qc h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.9rem; font-weight: 600; }
.proc__qc ul { display: flex; flex-direction: column; gap: 0.7rem; }
.proc__qc li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: rgba(243,241,236,0.82); }
.proc__qc li::before { content: '—'; color: var(--c-steel); flex: none; }

/* process preview (home) — compact */
.proc-preview { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--c-line); }
.proc-step { padding: clamp(1.5rem,2.5vw,2.2rem) 1.2rem; border-left: 1px solid var(--c-line); transition: background 0.3s var(--ease); }
.proc-step:first-child { border-left: none; }
.proc-step:hover { background: rgba(243,241,236,0.03); }
.proc-step__num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--c-accent); letter-spacing: 0.1em; }
.proc-step__icon { width: 40px; height: 40px; margin: 1rem 0 1.1rem; }
.proc-step__title { font-weight: 700; font-size: 1.05rem; }
.proc-step__en { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--c-steel); text-transform: uppercase; margin-top: 0.3rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.22; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: center; padding-block: clamp(3rem,7vw,6rem); }
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 4rem); line-height: 0.98; }
.cta-band h2 .em { color: var(--c-accent); }
.cta-band__sub { margin-top: 1.2rem; color: rgba(243,241,236,0.8); max-width: 48ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.cta-band__phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.4rem); }
.cta-band__phone a:hover { color: var(--c-accent); }

/* ============================================================
   ABOUT — timeline
   ============================================================ */
.timeline { border-top: 1px solid var(--c-line-strong); }
.tl-item {
  display: grid; grid-template-columns: 140px 1fr; gap: clamp(1.5rem,4vw,3.5rem);
  padding: clamp(2rem,4vw,3.5rem) 0; border-bottom: 1px solid var(--c-line);
}
.tl-year { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--c-accent); line-height: 1; }
.tl-gen { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--c-steel); text-transform: uppercase; margin-top: 0.5rem; }
.tl-body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem,2.5vw,1.9rem); margin-bottom: 0.8rem; }
.tl-body p { color: rgba(243,241,236,0.76); max-width: 60ch; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.about-split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: contrast(1.04) saturate(0.92); border: 1px solid var(--c-line); }
.about-split--rev { direction: rtl; }
.about-split--rev > * { direction: ltr; }
.about-split h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 1.3rem; }
.about-split p { color: rgba(243,241,236,0.76); }
.about-split p + p { margin-top: 1rem; }

.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2.5vw,2rem); }
.facility { border: 1px solid var(--c-line); background: var(--c-surface); padding: 1.6rem 1.5rem; border-radius: 2px; }
.facility__num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--c-accent); letter-spacing: 0.12em; }
.facility h3 { font-weight: 700; font-size: 1.15rem; margin: 0.7rem 0 0.6rem; }
.facility p { color: rgba(243,241,236,0.72); font-size: 0.9rem; }

.philosophy {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 22ch;
}
.philosophy .em { color: var(--c-accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-steel); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  background: var(--c-surface); border: 1px solid var(--c-line);
  padding: 0.9rem 1rem; border-radius: 2px; color: var(--c-paper);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent); background: var(--c-surface-2);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b9298' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form__note { font-size: 0.82rem; color: var(--c-steel); }
.form__msg { display: none; padding: 1rem 1.2rem; border-radius: 2px; font-size: 0.9rem; border: 1px solid var(--c-accent); background: rgba(226,86,43,0.1); }
.form__msg.is-on { display: block; }

.contact-aside { display: grid; gap: 1.6rem; }
.info-card { border: 1px solid var(--c-line); background: var(--c-surface); padding: 1.6rem 1.6rem; border-radius: 2px; }
.info-card h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 1rem; font-weight: 600; }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.2rem; font-size: 0.92rem; }
.info-card dt { color: var(--c-steel); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; }
.info-card dd { color: var(--c-paper); }
.info-card a:hover { color: var(--c-accent); }
.info-card .big { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }

.map-illust { border: 1px solid var(--c-line); background: var(--c-surface-2); border-radius: 2px; overflow: hidden; }
.map-illust svg { width: 100%; height: auto; display: block; }
.map-cap { padding: 0.9rem 1.2rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--c-steel); border-top: 1px solid var(--c-line); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--c-line-strong); background: var(--c-surface-2); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(3rem,5vw,4.5rem); }
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__tagline { color: rgba(243,241,236,0.65); max-width: 34ch; font-size: 0.92rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-steel); margin-bottom: 1.1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a, .footer__col li { color: rgba(243,241,236,0.78); font-size: 0.92rem; }
.footer__col a:hover { color: var(--c-accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.5rem; border-top: 1px solid var(--c-line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--c-steel);
}
.footer__bottom a:hover { color: var(--c-paper); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   LEGAL MODAL (개인정보처리방침 / 이용약관)
   ============================================================ */
.footer__legal { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.footer__legal button {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--c-steel); text-transform: uppercase; padding: 0;
  border-bottom: 1px solid transparent; transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer__legal button:hover { color: var(--c-paper); border-bottom-color: var(--c-accent); }
.footer__legal .sep { color: var(--c-line-strong); }

.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(8,9,11,0.78);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: modal-fade 0.25s var(--ease);
}
.modal__dialog {
  position: relative; z-index: 1;
  width: min(720px, 100%); max-height: 86vh;
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line-strong);
  border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  animation: modal-rise 0.3s var(--ease);
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.6rem clamp(1.4rem,3vw,2.2rem) 1.2rem;
  border-bottom: 1px solid var(--c-line);
}
.modal__eyebrow { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent); display: block; margin-bottom: 0.5rem; }
.modal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem,3vw,1.8rem); }
.modal__close {
  flex: none; width: 40px; height: 40px; border: 1px solid var(--c-line);
  border-radius: 2px; color: var(--c-steel); font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.modal__close:hover { color: var(--c-paper); border-color: var(--c-accent); background: rgba(226,86,43,0.12); }
.modal__body {
  padding: clamp(1.4rem,3vw,2.2rem); overflow-y: auto;
  color: rgba(243,241,236,0.82); font-size: 0.92rem; line-height: 1.75;
}
.modal__body h3 { font-size: 1.02rem; font-weight: 700; color: var(--c-paper); margin: 1.6rem 0 0.6rem; letter-spacing: -0.01em; }
.modal__body h3:first-child { margin-top: 0; }
.modal__body p { margin-bottom: 0.7rem; }
.modal__body ul { margin: 0.3rem 0 0.9rem; padding-left: 0; }
.modal__body li { position: relative; padding-left: 1.1rem; margin-bottom: 0.4rem; }
.modal__body li::before { content: '—'; position: absolute; left: 0; color: var(--c-steel); }
.modal__body table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.85rem; }
.modal__body th, .modal__body td { border: 1px solid var(--c-line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.modal__body th { background: var(--c-surface-2); color: var(--c-paper); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; font-weight: 600; }
.modal__body .upd { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--c-steel); margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.modal__body a { color: var(--c-accent); }
.modal__body a:hover { text-decoration: underline; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .modal__overlay, .modal__dialog { animation: none; }
}

/* 404 */
.err { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: var(--gutter); }
.err__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem,18vw,12rem); line-height: 1; color: var(--c-accent); }
.err__msg { margin: 1rem 0 2rem; color: rgba(243,241,236,0.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { min-height: 44vh; border-left: none; border-top: 1px solid var(--c-line); }
  .hero__left { min-height: auto; }
  .intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro__figure { max-width: 460px; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 2rem; }
  .proc__body { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-split--rev { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
}

@media (max-width: 880px) {
  .nav__menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--c-primary); border-bottom: 1px solid var(--c-line-strong);
    padding: 1rem var(--gutter) 1.8rem; gap: 0.2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 0.9rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid var(--c-line); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .nav__toggle { display: block; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-left: 1px solid var(--c-line); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--c-line); }

  .spec-row { grid-template-columns: 44px 1fr; gap: 0.8rem 1rem; }
  .spec-row__desc { grid-column: 2; }
  .spec-row__arrow { display: none; }

  .gallery-asym { grid-template-columns: 1fr; }
  .g-tall, .g-wide, .g-mid, .g-side { grid-column: 1 / -1; aspect-ratio: 16/11; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-grid .work-card, .works-grid .work-card.span6, .works-grid .work-card.span8, .works-grid .work-card.tall { grid-column: span 1; aspect-ratio: 4/5; }

  .proc-preview { grid-template-columns: 1fr 1fr; }
  .proc-step { border-left: none; border-bottom: 1px solid var(--c-line); }
  .proc { grid-template-columns: 1fr; gap: 1rem; }
  .tl-item { grid-template-columns: 1fr; gap: 1rem; }
  .facility-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--c-line); }
  .stat:first-child { border-top: none; }
  .proc-preview { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
