/* =========================================================
   WeThru 자체 제작 시연 · 인테리어 (가상 브랜드)
   화보형 한 페이지: 큰 사진 → 소개 → 시공 사례 → 자재·마감 → 진행 과정 → 상담 → 오시는 길
   색은 :root 변수만 씁니다. 고객이 고른 색상 3개는 theme.css 가 이 변수에 잇습니다.
   사진 위 글자(--on-photo)는 고른 색과 무관하게 고정입니다.
   ========================================================= */

:root {
  /* Color — 2026-11-15(9차) 대표 지시: 연한 베이지(종이색 #F2EFE9) 바탕을 걷어냈습니다.
     원본(화보형 시안)의 첫 화면 사진과 상담 띠에 쓰인 먹색 세 값(#1D1B18 · #2A2723 · #EDE8DF)을 페이지 전체의 기본 색으로 넓혔습니다.
     바탕 = 먹색, 구역을 나누는 면 · 상담 띠 = 한 단계 밝은 먹색, 버튼 · 번호 = 밝은 글자색. 사진의 재료색이 화면의 유일한 색입니다.
     글자색은 content/brand-themes.mjs 의 deriveTokens(기본 색상)로 계산한 값과 같습니다(본문 4.5:1 이상). */
  --paper: #1D1B18;
  --paper-2: #2A2723;
  --paper-3: #3F3D3B;
  --ink: #F1F1F1;
  --ink-2: #ADADAC;
  --ink-3: #989796;
  --line: rgba(241, 241, 241, 0.14);
  --line-strong: rgba(241, 241, 241, 0.32);
  --clay: #EDE8DF;
  --night: #2A2723;
  --night-2: #3A3734;
  --night-ink: #F2F2F2;
  --night-ink-2: #B6B5B4;
  --night-line: rgba(242, 242, 242, 0.16);
  /* 입력 칸 밑줄 · 고르는 칩의 테두리: 어두운 띠 위에서 3:1 이상 */
  --night-field: #868482;

  /* 사진 위 글자와 가림막. 브랜드 색상(배경 · 보조 · 강조)을 바꿔도 이 값은 그대로입니다. */
  --on-photo: #F7F4EE;
  --on-photo-ink: #1C1A17;
  --photo-base: #1D1B18;

  /* Type — 2026-11-15(10차) 대표 지시: 명조(Noto Serif KR)와 영문 세리프(Instrument Serif)를 걷어내고
     제목 · 본문 · 메뉴 · 버튼 · 상담 폼을 모두 Pretendard 하나로 씁니다. */
  --f-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  /* Layout */
  --margin: clamp(16px, 4.2vw, 72px);
  --gutter: clamp(16px, 2vw, 32px);
  --section: clamp(104px, 13vw, 208px);
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-slow: cubic-bezier(0.25, 0.6, 0.15, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

section[id], #intro { scroll-margin-top: var(--header-h); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper); font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--margin); max-width: 1680px; margin-inline: auto; }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

/* ---------- Shared typography ---------- */
.label {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.label .num {
  font-family: var(--f-sans); font-size: 15px; letter-spacing: 0; color: var(--ink-3);
}

.lines { font-family: var(--f-sans); font-weight: 300; text-wrap: balance; }
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines .ln > span { display: inline-block; }

.sec-head { row-gap: 28px; margin-bottom: clamp(56px, 8vw, 128px); align-items: end; }
.sec-head .label { grid-column: 1 / -1; }
.sec-head__title {
  grid-column: 1 / span 8;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1.16; letter-spacing: -0.03em;
}
.sec-head__note {
  grid-column: 9 / span 4;
  font-size: 14px; line-height: 1.8; color: var(--ink-2);
  text-wrap: pretty;
}

.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* ---------- Image frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-3); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.001);
  transition: transform 2.6s var(--ease-slow);
  will-change: transform;
}
@media (hover: hover) {
  .frame:hover img, a:hover .frame img { transform: scale(1.045); }
}
.frame--45 { aspect-ratio: 4 / 5; }
.frame--34 { aspect-ratio: 3 / 4; }
.frame--23 { aspect-ratio: 2 / 3; }
.frame--wide { aspect-ratio: 16 / 9; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--margin);
  color: var(--on-photo);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.brand__kr { font-family: var(--f-sans); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.brand__sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .7; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav ul a {
  position: relative; font-size: 13px; letter-spacing: 0.06em;
  display: inline-flex; gap: 6px; align-items: baseline;
}
.nav ul a span { font-size: 11px; opacity: .55; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.nav ul a:hover::after { transform: scaleX(1); }
.nav__cta {
  font-size: 13px; letter-spacing: 0.04em;
  padding: 9px 16px; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header:not(.is-solid) .nav__cta:hover { background: var(--on-photo); color: var(--on-photo-ink); border-color: var(--on-photo); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-toggle__bars { display: grid; gap: 6px; width: 22px; }
.nav-toggle__bars i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }

/* =========================================================
   01 HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-photo);
  overflow: hidden;
  background: var(--photo-base);
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 50% 55%; }
.js .hero__media img { animation: heroSettle 2.8s var(--ease-slow) both; }
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* 사진과 글자 사이의 가림막. 사진은 밝기가 고르지 않으므로 글자가 놓이는 자리(머리글 · 왼쪽 아래의 제목)를 따로 어둡게 합니다.
   브랜드 색상을 바꿔도 이 값은 그대로입니다. 실제로 그려진 픽셀로 대비를 잽니다(scripts/lib/photo-contrast.mjs): 제목 3:1 · 작은 글자 4.5:1 이상. */
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,16,13,.78) 0, rgba(18,16,13,.66) 84px, rgba(18,16,13,.3) 176px, rgba(18,16,13,0) 300px),
    linear-gradient(0deg, rgba(18,16,13,.72) 0%, rgba(18,16,13,.42) 30%, rgba(18,16,13,0) 62%);
}
/* 글이 놓인 왼쪽 아래만 더 어둡게 하고, 사진의 오른쪽은 밝게 남깁니다. */
.hero__shade::before {
  content: ""; position: absolute; inset: 22% 0 0 0;
  background: linear-gradient(90deg, rgba(18,16,13,.62) 0%, rgba(18,16,13,.56) 36%, rgba(18,16,13,.28) 64%, rgba(18,16,13,0) 86%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
}

.hero__inner {
  padding-inline: var(--margin);
  padding-bottom: clamp(88px, 11vh, 132px);
  max-width: 1680px; width: 100%; margin-inline: auto;
}
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: clamp(18px, 2.4vw, 32px);
  opacity: .88;
}
.hero__kicker .dash { width: 40px; height: 1px; background: currentColor; opacity: .6; }
.hero__title {
  font-size: clamp(2.5rem, 7.4vw, 7.75rem);
  line-height: 1.1; letter-spacing: -0.035em;
  text-shadow: 0 2px 36px rgba(12, 10, 8, 0.28);
}
.hero__en {
  margin-top: clamp(18px, 2.2vw, 28px);
  font-family: var(--f-sans);
  font-size: clamp(1.125rem, 1.9vw, 1.75rem); letter-spacing: 0.01em;
  opacity: .92;
}
.hero__en::before { content: "— "; opacity: .6; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 var(--margin) 28px;
  font-size: 11px; letter-spacing: 0.12em;
  max-width: 1680px; margin-inline: auto;
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase;
}
.hero__scroll span {
  position: relative; display: block; width: 48px; height: 1px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero__scroll span::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: scrollCue 2.8s var(--ease) infinite;
}
@keyframes scrollCue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro { padding-block: var(--section); }
.intro .grid { row-gap: 40px; }
.intro__label { grid-column: 1 / span 3; padding-top: 18px; }
.intro__title {
  grid-column: 4 / -1;
  font-size: clamp(2.25rem, 5.6vw, 5.75rem);
  line-height: 1.14; letter-spacing: -0.035em;
}
.intro__body {
  grid-column: 7 / span 5;
  display: grid; gap: 18px;
  font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2);
  margin-top: clamp(16px, 3vw, 48px);
  text-wrap: pretty;
}
.facts {
  grid-column: 4 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  margin-top: clamp(40px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.facts div { padding-top: 18px; }
.facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.facts dd { font-size: 15px; }

/* =========================================================
   02 SELECTED WORK
   ========================================================= */
.work { padding-bottom: var(--section); }

.plate { position: relative; align-items: end; row-gap: 28px; }
.plate + .plate { margin-top: clamp(96px, 14vw, 220px); }

.plate__overlay {
  position: absolute; left: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 2.4vw, 36px); z-index: 2;
  font-family: var(--f-sans); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.75rem); letter-spacing: -0.03em; line-height: 1;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0,0,0,.25);
  will-change: transform;
  pointer-events: none;
}
.plate__overlay--lg { font-size: clamp(1.75rem, 5vw, 5rem); }
/* 사례 사진 위 이름 뒤: 왼쪽 아래만 어둡게 합니다(밝은 바닥 · 상판 위에서도 3:1 이상). */
.plate__fig .frame::after {
  content: ""; position: absolute; inset: 46% 0 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,16,13,.72) 0%, rgba(18,16,13,.66) 46%, rgba(18,16,13,0) 82%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 58%);
}

.plate__no {
  font-family: var(--f-sans); font-size: 15px; color: var(--ink-3); margin-bottom: 18px;
}
.plate__title {
  font-family: var(--f-sans); font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem); line-height: 1.3; letter-spacing: -0.03em;
  margin-bottom: 16px; text-wrap: balance;
}
.plate__place {
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3);
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.plate__text { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.plate__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 26px; }
.plate__tags li {
  font-family: var(--f-sans); font-size: 15px;
  padding: 3px 12px 2px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2);
}

/* PL.01 — large portrait left, wall label right */
.plate--01 .plate__fig { grid-column: 1 / span 7; }
.plate--01 .plate__label { grid-column: 9 / span 4; align-self: end; padding-bottom: 8px; }

/* PL.02 — label left low, narrow portrait right, pulled up */
.plate--02 .plate__label { grid-column: 2 / span 4; align-self: center; }
.plate--02 .plate__fig { grid-column: 7 / span 5; }

/* PL.03 — near full-bleed landscape, label in columns below */
.plate--03 .plate__fig { margin-inline: calc(var(--margin) * -0.5); }
.plate__label--row { margin-top: 36px; row-gap: 0; align-items: start; }
.plate__label--row .plate__head { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.plate__label--row .plate__place { grid-column: 6 / span 4; grid-row: 1; padding-top: 34px; }
.plate__label--row .plate__text { grid-column: 6 / span 4; grid-row: 2; }
.plate__label--row .plate__aside { grid-column: 10 / span 3; grid-row: 1 / span 2; padding-top: 34px; }
.plate__label--row .plate__tags { margin-top: 0; }

/* PL.04 — typographic tile */
.next-tile {
  display: grid; gap: 22px;
  margin-top: clamp(96px, 12vw, 180px);
  margin-left: calc((100% + var(--gutter)) / 12 * 6);
  padding: clamp(28px, 4vw, 56px) 0 0;
  border-top: 1px solid var(--ink);
}
.next-tile__no { font-family: var(--f-sans); font-size: 15px; color: var(--ink-3); }
.next-tile__title {
  font-family: var(--f-sans); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 4.25rem); line-height: 1.16; letter-spacing: -0.035em;
}
.next-tile__cta {
  display: inline-flex; gap: 12px; align-items: center;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.next-tile__cta i { font-style: normal; transition: transform .6s var(--ease); }
.next-tile:hover .next-tile__cta i { transform: translateX(8px); }

/* =========================================================
   03 MATERIAL & DETAIL
   ========================================================= */
.material {
  background: var(--paper-2);
  padding-block: var(--section);
}
.specimens {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter);
  padding-inline: var(--margin);
  max-width: 1680px; margin-inline: auto;
  align-items: start;
}
.specimen:nth-child(2) { margin-top: clamp(40px, 7vw, 120px); }
.specimen:nth-child(3) { margin-top: clamp(12px, 2vw, 32px); }
.specimen:nth-child(4) { margin-top: clamp(64px, 10vw, 168px); }
.specimen:nth-child(5) { margin-top: clamp(24px, 4vw, 64px); }
.specimen .frame img { filter: saturate(.9); }
.specimen figcaption { display: grid; gap: 6px; padding-top: 18px; }
.specimen__no { font-family: var(--f-sans); font-size: 14px; color: var(--ink-3); }
.specimen strong { font-family: var(--f-sans); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.specimen figcaption span:last-child { font-size: 14px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }

/* =========================================================
   04 APPROACH
   ========================================================= */
.approach { padding-block: var(--section); }
.approach__aside {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 32px);
  display: grid; gap: 28px;
}
.approach__aside .sec-head__title { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.16; letter-spacing: -0.03em; }
.approach__aside .sec-head__title { grid-column: auto; }
.approach__fig { width: 78%; margin-top: 16px; }

.steps { grid-column: 7 / span 6; counter-reset: step; border-top: 1px solid var(--ink); }
.step {
  position: relative;
  display: grid; grid-template-columns: clamp(64px, 7vw, 112px) 1fr; gap: var(--gutter);
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.step::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.step:hover::after { transform: scaleX(1); }
.step__no { font-family: var(--f-sans); font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: .9; color: var(--ink-3); }
.step h3 {
  font-family: var(--f-sans); font-weight: 500; font-size: clamp(1.25rem, 1.7vw, 1.6rem); letter-spacing: -0.02em;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px;
}
.step h3 em { font-family: var(--f-sans); font-style: normal; font-weight: 400; font-size: 1rem; color: var(--ink-3); letter-spacing: 0; }
.step p { font-size: 15px; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }

/* =========================================================
   05 CONSULTATION — dark band
   ========================================================= */
.consult {
  background: var(--night); color: var(--night-ink);
  padding-block: var(--section);
}
.consult .label { color: var(--night-ink-2); }
.consult .label .num { color: var(--night-ink-2); }
.consult .grid { row-gap: 56px; }
.consult__intro { grid-column: 1 / span 5; display: grid; gap: 28px; align-content: start; }
/* 9차: '없어도 괜찮습니다.'가 한 줄에 놓이도록(둘째 줄이 더 길게) 진행 과정 제목과 같은 크기로 맞췄습니다. */
.consult__title { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.14; letter-spacing: -0.035em; }
.consult__lead { color: var(--night-ink-2); font-size: clamp(15px, 1.15vw, 17px); max-width: 30em; text-wrap: pretty; }

.channels { display: grid; border-top: 1px solid var(--night-line); margin-top: 12px; }
.channels li {
  display: grid; grid-template-columns: 4.5em 1fr; column-gap: 16px; row-gap: 2px;
  padding: 18px 0; border-bottom: 1px solid var(--night-line);
}
.channels__k { grid-row: span 2; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-ink-2); padding-top: 6px; }
.channels__v { font-family: var(--f-sans); font-size: clamp(1.125rem, 1.6vw, 1.5rem); letter-spacing: -0.01em; }
a.channels__v { width: fit-content; border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
a.channels__v:hover { border-color: currentColor; }
.channels__n { font-size: 13px; color: var(--night-ink-2); }

.form {
  grid-column: 7 / span 6;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gutter);
  align-content: start;
}
.field { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 12px; letter-spacing: 0.08em; color: var(--night-ink-2); padding: 0;
}
.field small { color: var(--night-ink-2); margin-left: 6px; letter-spacing: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  background: transparent; border: 0; border-bottom: 1px solid var(--night-field);
  padding: 8px 0 12px; font-size: 16px; color: var(--night-ink);
  border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(166, 158, 146, .55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--night-ink); }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--night-ink-2) 50%), linear-gradient(135deg, var(--night-ink-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  cursor: pointer;
}
.field select option { color: #1C1A17; background: #FFFFFF; }
.field input[type="file"] { font-size: 13px; color: var(--night-ink-2); padding: 6px 0; max-width: 100%; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 1px solid var(--night-field); border-radius: 999px;
  background: transparent; color: var(--night-ink); cursor: pointer;
}
.was-validated .field input:invalid { border-bottom-color: #C98F72; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 8px 15px; font-size: 14px; letter-spacing: 0;
  border: 1px solid var(--night-field); border-radius: 999px; color: var(--night-ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.chips label:hover span { border-color: rgba(237,232,223,.5); }
.chips input:checked + span { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--night-ink-2); cursor: pointer; }
.agree input { margin-top: 4px; accent-color: var(--night-ink); width: 16px; height: 16px; flex: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--night-ink);
  background: var(--night-ink); color: var(--night); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.btn i { font-style: normal; transition: transform .6s var(--ease); }
.btn:hover { background: transparent; color: var(--night-ink); }
.btn:hover i { transform: translateX(6px); }
.form__status { font-size: 13px; color: var(--night-ink-2); max-width: 32em; }
.form__status.is-error { color: #E2B49C; }

/* =========================================================
   06 LOCATION
   ========================================================= */
.location { padding-block: var(--section); }
.location .grid { align-items: end; row-gap: 48px; }
.location__fig { grid-column: 1 / span 5; }
.location__info { grid-column: 7 / span 6; display: grid; gap: 32px; }
.location__addr {
  font-family: var(--f-sans); font-weight: 300;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.25; letter-spacing: -0.03em;
}
.location__addr span { color: var(--ink-2); }
.location__list { border-top: 1px solid var(--ink); }
.location__list div {
  display: grid; grid-template-columns: 9em 1fr; gap: var(--gutter);
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.location__list dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.location__list small { margin-left: 10px; color: var(--ink-3); font-size: 13px; }
.location__list a { border-bottom: 1px solid var(--line-strong); }
.location__links { display: flex; flex-wrap: wrap; gap: 10px; }
.location__links a {
  font-size: 13px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.location__links a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.location__note { font-size: 12px; color: var(--ink-3); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) 0 64px; }
.footer__word {
  font-family: var(--f-sans); font-weight: 300;
  font-size: clamp(3rem, 12.5vw, 13rem); line-height: 1; letter-spacing: -0.06em;
  white-space: nowrap; color: var(--ink);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px var(--gutter); align-items: end; }
.footer__biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gutter); font-size: 13px; }
.footer__biz dt { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.footer__meta { display: grid; gap: 10px; font-size: 12px; color: var(--ink-3); justify-items: end; text-align: right; }
.footer__draft { max-width: 34em; }

/* Mobile quick bar */
.quickbar { display: none; }

/* =========================================================
   REVEAL (JS only; content stays visible without JS)
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .lines[data-reveal] { opacity: 1; transform: none; }
.js .lines[data-reveal] .ln > span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.3s var(--ease);
}
.js .lines[data-reveal] .ln:nth-child(2) > span { transition-delay: .12s; }
.js .lines[data-reveal] .ln:nth-child(3) > span { transition-delay: .24s; }
.js .lines[data-reveal].is-in .ln > span { transform: none; }
.js .specimen[data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .specimen[data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .specimen[data-reveal]:nth-child(4) { transition-delay: .24s; }
.js .specimen[data-reveal]:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav ul a span { display: none; }
  .plate__label--row .plate__head { grid-column: 1 / span 4; }
  .plate__label--row .plate__place, .plate__label--row .plate__text { grid-column: 5 / span 5; }
  .plate__label--row .plate__aside { grid-column: 10 / span 3; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 36px;
    padding: calc(var(--header-h) + 24px) var(--margin) 40px;
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility 0s linear .5s;
  }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav ul a { font-family: var(--f-sans); font-weight: 300; font-size: 2rem; letter-spacing: -0.02em; }
  .nav ul a span { display: inline; font-family: var(--f-sans); font-size: 13px; }
  .nav__cta { font-size: 15px; padding: 12px 22px; }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
  /* backdrop-filter would turn the header into the containing block of the fixed menu */
  .nav-open .site-header { color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .nav-open .brand { position: relative; z-index: 2; }
  .nav-open .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-open { overflow: hidden; }

  .brand__sub { display: none; }

  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1 !important; }

  .sec-head { margin-bottom: 48px; row-gap: 20px; }

  .intro__label { padding-top: 0; }
  .intro__body { margin-top: 8px; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .facts dt { margin: 0; padding-top: 3px; }

  .plate + .plate { margin-top: 88px; }
  .plate--02 .plate__label { order: 2; }
  .plate--02 .plate__fig { order: 1; }
  .plate--02 .frame--23 { aspect-ratio: 4 / 5; }
  .plate--03 .plate__fig { margin-inline: 0; }
  .plate--03 .frame--wide { aspect-ratio: 4 / 5; }
  .plate--03 .frame--wide img { object-position: 82% 50%; }
  .plate__label--row { margin-top: 28px; }
  .plate__label--row > * { grid-row: auto !important; }
  .plate__label--row .plate__place { padding-top: 0; }
  .plate__label--row .plate__aside { padding-top: 0; }
  .plate__label--row .plate__tags { margin-top: 22px; }
  .next-tile { margin-left: 0; }

  .specimens {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
    padding-bottom: 8px; scrollbar-width: none;
  }
  .specimens::-webkit-scrollbar { display: none; }
  .specimen { scroll-snap-align: start; margin-top: 0 !important; }

  .approach__aside { position: static; }
  .approach__fig { width: 100%; }
  .approach__fig .frame--34 { aspect-ratio: 4 / 3; }
  .approach__fig img { object-position: 50% 82%; }
  .steps { margin-top: 40px; }
  .step { grid-template-columns: 56px 1fr; }


  .form { grid-template-columns: 1fr; gap: 26px; }

  .location__fig .frame--45 { aspect-ratio: 4 / 3; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__biz { grid-template-columns: 1fr; }
  .footer__meta { justify-items: start; text-align: left; }
  .site-footer { padding-bottom: 112px; } /* room for the quick bar */

  .quickbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px;
    padding: 6px; border-radius: 999px;
    background: rgba(29, 27, 24, 0.9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .quickbar a {
    display: grid; place-items: center; height: 44px; border-radius: 999px;
    font-size: 14px; color: var(--night-ink);
  }
  .quickbar a.is-primary { background: var(--night-ink); color: var(--night); font-weight: 500; }
  .quickbar.is-visible { transform: none; }
}

@media (max-width: 700px) {
  /* 세로 사진은 원래 어둡습니다. 머리글과 왼쪽 아래의 가림막을 옅게 줄여 사진을 더 남깁니다. */
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(18,16,13,.5) 0, rgba(18,16,13,.36) 72px, rgba(18,16,13,0) 220px),
      linear-gradient(0deg, rgba(18,16,13,.7) 0%, rgba(18,16,13,.4) 30%, rgba(18,16,13,0) 62%);
  }
  .hero__shade::before { background: linear-gradient(90deg, rgba(18,16,13,.36) 0%, rgba(18,16,13,.3) 70%, rgba(18,16,13,.16) 100%); }
  .plate__fig .frame::after { background: linear-gradient(90deg, rgba(18,16,13,.72) 0%, rgba(18,16,13,.66) 60%, rgba(18,16,13,.2) 100%); }
  .hero__media img { object-position: 50% 50%; }
  .hero__inner { padding-bottom: 104px; }
  .lines .ln { white-space: normal; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.35rem; }
  /* 9차: 휴대폰에서 '덜어낸 자리에 머뭅니다.'가 한 줄에 놓이도록(둘째 줄이 더 길게) 조금 줄였습니다. */
  .intro__title { font-size: 2rem; }
  .hero__kicker { letter-spacing: 0.12em; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .lines[data-reveal] .ln > span { opacity: 1; transform: none; }
  .frame img { transition: none; }
}

/* 누르는 영역: 글자 크기와 자리는 그대로 두고, 누를 수 있는 넓이만 44px 안팎으로 넓힙니다.
   안쪽 여백을 준 만큼 바깥 여백을 빼서 배치는 바뀌지 않습니다. */
.brand { padding-block: 8px; margin-block: -8px; }
.nav ul a { padding-block: 11px; margin-block: -11px; }
.nav ul a::after { bottom: 7px; }
.nav-toggle { padding-block: 12px; margin-block: -4px; }
.hero__scroll { padding-block: 14px; margin-block: -14px; }
a.channels__v { padding-block: 7px; margin-block: -7px; border-bottom: 0; text-underline-offset: 6px; text-decoration-thickness: 1px; }
a.channels__v:hover { text-decoration: underline; }
.field input[type="file"] { padding-block: 10px; margin-block: -4px; }

/* 사진 위에서의 키보드 초점 표시: 강조색이 아니라 사진 위 글자색을 씁니다. */
.site-header:not(.is-solid) :focus-visible, .hero :focus-visible { outline-color: var(--on-photo); }

/* WeThru 미리보기 틀 안: 스크롤 막대를 숨깁니다. */
html[data-embed] { scrollbar-width: none; }
html[data-embed]::-webkit-scrollbar { display: none; }
