/* ==========================================================================
   IX Lab — 산업단지 AX 컨설팅
   Design system: 도면(drawing sheet) vocabulary over a logo-derived palette
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;600;700&family=Playfair+Display:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- tokens ---------- */
:root {
  --paper:      #FBF8F1;
  --sand:       #EFE9DC;
  --taupe:      #B6AE9A;
  --olive:      #55583C;
  --olive-deep: #2C2F20;
  --rust:       #8C3A1E;
  --ink:        #14110A;

  --line:       rgba(85, 88, 60, .22);
  --line-soft:  rgba(85, 88, 60, .12);
  --muted:      #6E6A5B;
  --muted-2:    #5F5B4C;   /* 작은 캡션·라벨용 — 밝은 배경에서 4.5:1 이상 */

  --serif: 'Noto Serif KR', 'Playfair Display', serif;
  --display: 'Playfair Display', 'Noto Serif KR', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  /* 소제목·캡션용. IBM Plex Mono에는 한글 글리프가 없어 한글이 대체 글꼴로 떨어지고
     넓은 자간까지 겹쳐 읽기 어려웠습니다. 한글이 들어가는 라벨은 전부 이 스택을 씁니다. */
  --label: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --rail: 132px;
  --maxw: 1360px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.32; letter-spacing: -.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--label);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--rust);
  flex: none;
}
.lead { font-size: clamp(17px, 1.35vw, 19px); color: #3E3B2F; line-height: 1.85; }
.muted { color: var(--muted); }

.h-sec {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.3;
}
.h-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
}

/* section rhythm — single source of truth to avoid specificity collisions */
.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--olive-deep); color: var(--sand); overflow: hidden; }
.section--dark .wrap { position: relative; z-index: 1; }
.tex-bg { position: absolute; inset: 0; }
.tex-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: grayscale(.35); }
.section--dark .eyebrow { color: var(--taupe); }
.section--dark .lead { color: rgba(239, 233, 220, .78); }

/* the registration mark — logo's crossing, used as the one repeating glyph */
.mark-x {
  display: inline-block;
  width: 8px; height: 8px;
  position: relative; top: 1px;
  flex: none;
}
.mark-x::before, .mark-x::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--rust);
}
.mark-x::before { transform: rotate(45deg); }
.mark-x::after { transform: rotate(-45deg); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--olive); color: var(--paper);
  padding: 12px 22px; font-size: 14px; border-radius: 0 0 2px 2px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 241, .88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line-soft); }
.site-head__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.wordmark {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--olive);
  white-space: nowrap;
}
.wordmark b { font-weight: 700; }
.wordmark span { color: var(--rust); font-weight: 700; }
.wordmark small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .28em;
  color: var(--muted-2);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  font-size: 14.5px; font-weight: 500; color: #47432F;
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--rust);
  transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--rust); }
.nav__cta {
  border: 1px solid var(--olive);
  padding: 9px 18px !important;
  border-radius: 2px;
  font-size: 13.5px;
  color: var(--olive) !important;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--olive); color: var(--paper) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--olive);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { bottom: 15px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--olive-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.18) saturate(.82) contrast(.98);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,17,10,.76) 0%, rgba(20,17,10,.46) 46%, rgba(20,17,10,.10) 100%),
    linear-gradient(to top, rgba(20,17,10,.48), transparent 44%);
}
.hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.hero__in {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(96px, 14vh, 150px) clamp(48px, 7vh, 76px);
  color: var(--paper);
}
.hero .eyebrow { color: rgba(239,233,220,.72); }
.hero .eyebrow::before { background: var(--rust); width: 30px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.045em;
  margin-top: 22px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: #D98B67; }
.hero__desc {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.85;
  color: rgba(251,248,241,.82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta {
  margin-top: clamp(44px, 6vh, 72px);
  display: flex; flex-wrap: wrap; gap: 8px 34px;
  font-family: var(--label); font-size: 12.5px; letter-spacing: .01em;
  color: rgba(251,248,241,.78);
  border-top: 1px solid rgba(251,248,241,.24);
  padding-top: 16px;
}

/* animated drafting overlay */
.draft-line {
  stroke: rgba(217, 139, 103, .85);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  animation: draw 2.4s var(--ease) forwards;
  animation-delay: var(--d, .5s);
}
.draft-tick { stroke: rgba(251,248,241,.55); stroke-width: 1; opacity: 0; animation: fadein .9s var(--ease) forwards; animation-delay: var(--d, 1.6s); }
.draft-label {
  font-family: var(--label); font-size: 11px; letter-spacing: .02em;
  fill: rgba(251,248,241,.6); opacity: 0;
  animation: fadein .9s var(--ease) forwards; animation-delay: 2.2s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--olive);
  background: var(--olive); color: var(--paper);
  border-radius: 2px;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--rust); border-color: var(--rust); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(251,248,241,.45); }
.btn--ghost:hover { background: rgba(251,248,241,.1); border-color: var(--paper); color: var(--paper); }
.btn--line { background: transparent; color: var(--olive); }
.btn--line:hover { background: var(--olive); color: var(--paper); }
.btn__arrow { font-family: var(--mono); font-size: 13px; }

/* ---------- stat strip ---------- */
.stats { border-block: 1px solid var(--line-soft); background: var(--paper); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: clamp(30px, 3.6vw, 46px) clamp(14px, 2vw, 30px); border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1; color: var(--olive);
  letter-spacing: -.02em;
}
.stat__num i { font-style: normal; font-size: .5em; margin-left: 3px; color: var(--rust); }
.stat__label { margin-top: 12px; font-size: 13.5px; color: #4B4636; line-height: 1.6; }
.stat__src { margin-top: 8px; font-family: var(--label); font-size: 12px; letter-spacing: 0; color: var(--muted-2); }

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.split--flip .split__media { order: -1; }
.split__media { position: relative; }
.split__media img,
.split__media video { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.split__cap {
  position: absolute; left: 0; bottom: -30px;
  font-family: var(--label); font-size: 12.5px; font-weight: 500; letter-spacing: 0;
  color: var(--muted-2);
}
.split__body > * + * { margin-top: 22px; }

/* ---------- gap / comparison table ---------- */
.gap-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.gap-table th, .gap-table td { text-align: left; padding: 20px 22px 20px 0; vertical-align: top; border-top: 1px solid var(--line-soft); }
.gap-table thead th {
  font-family: var(--label); font-size: 12px; letter-spacing: 0;
  color: var(--olive); font-weight: 600; border-top: 0; padding-bottom: 12px;
}
.gap-table tbody th { font-family: var(--serif); font-weight: 600; font-size: 16.5px; width: 24%; }
.gap-table td.is-us { color: var(--rust); font-weight: 500; }

/* ---------- model cards ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); margin-top: 56px; }
.model {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.model:hover { border-color: var(--olive); transform: translateY(-3px); }
.model__fig { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.model__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.model:hover .model__fig img { transform: scale(1.04); }
.model__body { padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; flex: 1; }
.model__tag {
  font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--rust);
}
.model__title { font-family: var(--serif); font-size: 21px; margin-top: 12px; }
.model__desc { margin-top: 14px; font-size: 14.8px; color: #4B4636; line-height: 1.8; }
.model__list { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.model__list li { display: flex; gap: 10px; align-items: baseline; font-size: 13.8px; color: var(--muted); padding-block: 5px; }

/* ---------- roadmap (dark) ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 60px; background: rgba(239,233,220,.16); border: 1px solid rgba(239,233,220,.16); }
.phase { background: var(--olive-deep); padding: clamp(26px, 2.6vw, 38px); position: relative; }
.phase__no {
  font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--taupe);
}
.phase__bar { height: 2px; background: rgba(239,233,220,.2); margin-block: 18px 22px; position: relative; overflow: hidden; }
.phase__bar i { position: absolute; inset: 0; background: var(--rust); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.phase.is-in .phase__bar i { transform: scaleX(var(--fill, .3)); }
.phase__title { font-family: var(--serif); font-size: 19px; color: var(--paper); }
.phase__when { margin-top: 8px; font-family: var(--label); font-size: 12.5px; letter-spacing: 0; color: var(--taupe); }
.phase__desc { margin-top: 16px; font-size: 14px; line-height: 1.8; color: rgba(239,233,220,.72); }
.phase__gate { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(239,233,220,.16); font-size: 12.5px; color: var(--taupe); }
.phase__gate b { color: #D98B67; font-weight: 500; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-top: 56px; }
.person { border-top: 1px solid var(--olive); padding-top: 26px; }
.person__role { font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--rust); }
.person__name { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); margin-top: 14px; }
.person__name span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted-2); margin-left: 10px; vertical-align: middle; text-transform: uppercase; }
.person__line { margin-top: 12px; font-size: 15px; color: var(--olive); font-weight: 500; }
.person__desc { margin-top: 16px; font-size: 14.6px; color: #4B4636; line-height: 1.85; }
.person__cv { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.person__cv li { display: flex; gap: 12px; font-size: 13.6px; color: var(--muted); padding-block: 6px; line-height: 1.65; }
.person__cv b { font-family: var(--label); font-size: 12.5px; letter-spacing: 0; color: var(--muted-2); flex: none; width: 82px; padding-top: 1px; font-weight: 600; }
.person__metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  font-family: var(--label); font-size: 12.5px; letter-spacing: 0; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; color: var(--olive);
}

/* ---------- portfolio ---------- */
.folio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 4vw, 64px); margin-top: 44px; }
.folio__row { border-top: 1px solid var(--line-soft); padding-block: 24px; display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: baseline; }
.folio__k { font-family: var(--label); font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--rust); line-height: 1.6; }
.folio__v { font-size: 14.6px; line-height: 1.85; color: #4B4636; }

/* ---------- cta banner ---------- */
.cta { position: relative; overflow: hidden; background: var(--sand); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(251,248,241,.94) 34%, rgba(251,248,241,.1) 66%, transparent 100%); }
.cta__in { position: relative; padding-block: clamp(72px, 9vw, 118px); max-width: 620px; }
.cta__title { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); margin-top: 20px; line-height: 1.34; }
.cta__desc { margin-top: 20px; font-size: 16px; color: #4B4636; line-height: 1.85; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; background: var(--olive-deep); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.16) saturate(.8); }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,10,.78) 0%, rgba(20,17,10,.62) 52%, rgba(20,17,10,.34) 100%); }
.phero__in { position: relative; padding-block: clamp(88px, 12vw, 148px) clamp(56px, 7vw, 88px); color: var(--paper); }
.phero .eyebrow { color: rgba(239,233,220,.7); }
.phero__title { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 58px); margin-top: 20px; letter-spacing: -.04em; }
.phero__desc { margin-top: 22px; max-width: 54ch; color: rgba(251,248,241,.8); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.85; }

/* ---------- prose blocks ---------- */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 22px; }
.prose h3 { font-family: var(--serif); font-size: 22px; margin-top: 44px; }
.prose p { font-size: 16px; line-height: 1.9; color: #3E3B2F; }
.prose ul li { display: flex; gap: 12px; padding-block: 7px; font-size: 15.4px; color: #4B4636; line-height: 1.8; }

/* two-column notes */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 56px; }
.note { border-top: 1px solid var(--olive); padding-top: 24px; }
.note__k { font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--rust); }
.note__t { font-family: var(--serif); font-size: 19px; margin-top: 14px; }
.note__d { margin-top: 14px; font-size: 14.6px; line-height: 1.85; color: #4B4636; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.field { display: block; margin-bottom: 22px; }
.field__label { font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--olive); display: block; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 11px 2px; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.75; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--rust); }
.field input::placeholder, .field textarea::placeholder { color: #736E5D; }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: var(--rust); }
.form-note { font-size: 12.6px; color: var(--muted); margin-top: 18px; line-height: 1.7; }
.contact-card { background: var(--sand); padding: clamp(28px, 3vw, 42px); border-radius: 2px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--rust); margin-top: 26px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 8px 0 0; font-size: 15.4px; color: #3E3B2F; line-height: 1.75; }
.contact-card dd a:hover { color: var(--rust); }

/* ---------- footer ---------- */
.site-foot { background: var(--olive-deep); color: rgba(239,233,220,.72); padding-block: clamp(56px, 6vw, 84px) 34px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(239,233,220,.15); }
.site-foot .wordmark { color: var(--sand); }
.site-foot .wordmark span { color: #D98B67; }
.foot__desc { margin-top: 20px; max-width: 40ch; font-size: 14px; line-height: 1.85; color: rgba(239,233,220,.68); }
.foot__h { font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--taupe); margin-bottom: 16px; }
.foot__list li { padding-block: 6px; font-size: 14px; }
.foot__list a:hover { color: #D98B67; }
.foot__bot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(239,233,220,.62); text-transform: uppercase; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .models, .people, .notes, .phases { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: clamp(14px, 3vw, 30px); border-left: 1px solid var(--line-soft); }
  .folio { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-soft);
    padding: 12px var(--gutter) 26px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding-block: 15px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav a::after { display: none; }
  .nav__cta { border: 1px solid var(--olive); text-align: center; margin-top: 18px; padding: 14px !important; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .models, .people, .notes, .phases { grid-template-columns: 1fr; }
  .phases { gap: 1px; }
  .gap-table thead { display: none; }
  .gap-table tbody th, .gap-table td { display: block; width: auto; padding: 0; border: 0; }
  .gap-table tbody tr { display: block; border-top: 1px solid var(--line-soft); padding-block: 22px; }
  .gap-table td { margin-top: 8px; font-size: 14.4px; }
  .gap-table td::before { content: attr(data-l) " · "; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted-2); }
  .folio__row { grid-template-columns: 1fr; gap: 8px; }
  .cta__bg::after { background: linear-gradient(180deg, rgba(251,248,241,.95) 40%, rgba(251,248,241,.75)); }
  .foot__top { grid-template-columns: 1fr; gap: 34px; }
  .hero__meta { gap: 6px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draft-line { stroke-dashoffset: 0; }
  .draft-tick, .draft-label { opacity: 1; }
}


/* ---------- print ---------- */
@media print {
  .site-head, .nav, .nav-toggle, .hero__media, .hero__scrim, .hero__overlay,
  .cta__bg, .phero__bg, .tex-bg, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .cta__in, .phero__in { padding-block: 18pt; }
  .hero__in { min-height: 0; color: #000; }
  .section--dark, .site-foot, .hero { background: #fff !important; color: #000 !important; }
  .section--dark .phase, .phero__in, .hero__title, .phero__title { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 문의 전송 완료 ---------- */
.form-done {
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--sand);
  padding: clamp(30px, 4vw, 48px);
}
.form-done:focus { outline: none; }
.form-done__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; margin-bottom: 22px;
}
.form-done__desc { margin-top: 14px; font-size: 15.4px; line-height: 1.85; color: #4B4636; }
.form-done__desc a { color: var(--rust); }
.form-done__note {
  margin-top: 18px; padding: 14px 16px;
  border-left: 2px solid var(--rust);
  background: rgba(140, 58, 30, .06);
  font-size: 13.6px; line-height: 1.75; color: #4B4636;
}
.form-done__note a { color: var(--rust); }
