/* 화고 禾藁 v2 — 불과 볏짚.
   먹색 바탕, 불씨 주황 한 가지 강조색, 볏짚 금색은 보조. 움직임 초기 상태는 .motion 이 붙었을 때만 적용합니다
   (스크립트가 없거나 움직임 줄이기 설정이면 모든 내용이 그대로 보입니다). */
:root {
  --black: #0B0A09;
  --coal: #141210;
  --coal-2: #1C1916;
  --bone: #F1EADF;
  --bone-2: #E6DCCC;
  --bone-dim: #B4AA9C;
  --ink: #171411;
  --ink-dim: #6B6156;
  --straw: #D9B26F;
  --ember: #E2572B;
  --seal: #C8312B;
  --line: rgba(241, 234, 223, 0.12);
  --line-ink: rgba(23, 20, 17, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --punch: "Black Han Sans", "Noto Serif KR", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --latin: "Oswald", "Pretendard Variable", sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--black); color: var(--bone); font-family: var(--sans); font-size: 16px; line-height: 1.75; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 400; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--bone); color: var(--ink); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* 공통 머리표: 01 禾藁 — 볏짚 */
.label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 28px; }
.label span { color: var(--ember); font-weight: 600; letter-spacing: 0.06em; }
.label span::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; margin-left: 14px; vertical-align: middle; opacity: 0.7; }
section h2 { font-family: var(--punch); font-size: clamp(38px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -0.01em; }
section h2 em { font-style: normal; color: var(--ember); }

/* 버튼: 불씨가 차오르듯 채워지는 효과 */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-decoration: none; transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.97); }
.btn-fire { background: var(--ember); color: #fff; }
.btn-fire::before { background: #fff; }
.btn-fire:hover { color: var(--ink); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(241, 234, 223, 0.35); }
.btn-ghost::before { background: var(--bone); }
.btn-ghost:hover { color: var(--ink); border-color: var(--bone); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 낙관 (간판의 붉은 禾藁) */
.seal { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 15px; padding: 3px 0; background: var(--seal); color: #fff; border-radius: 1px; align-self: flex-start; }
.seal i { font-style: normal; font-family: var(--serif); font-weight: 700; font-size: 10px; line-height: 1.05; }
.seal-hero { font-size: 16px; line-height: 1; width: clamp(30px, 3.6vw, 52px); padding: clamp(8px, 0.9vw, 14px) 0; gap: 4px; border-radius: 2px; margin-left: 0.8vw; margin-top: 2.6vw; box-shadow: 0 16px 40px -14px rgba(200, 49, 43, 0.9); }
.seal-hero i { font-size: clamp(16px, 2vw, 28px); }
.seal-xl { width: 64px; padding: 14px 0; gap: 6px; border-radius: 3px; align-self: center; }
.seal-xl i { font-size: 34px; }

/* 로고 */
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; line-height: 1; color: var(--bone); }
.logo-sub { font-family: var(--serif); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; opacity: 0.75; padding-top: 6px; }
.wordmark b { font-family: var(--serif); font-weight: 900; font-size: 30px; }
.wordmark .seal { margin-left: -4px; }

/* 헤더: 내려가면 숨고, 올리면 다시 나옴 */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: transform 0.5s var(--ease), background 0.4s var(--ease); }
.site-header.is-solid { background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: 14px; letter-spacing: 0.04em; color: var(--bone-dim); transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover { color: var(--bone); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* 인트로 (움직임이 켜졌을 때만) */
.intro { display: none; }
.motion .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--black); }
.intro-line { position: absolute; left: 50%; top: 50%; width: min(420px, 60vw); height: 2px; transform: translate(-50%, 60px); background: rgba(241, 234, 223, 0.08); overflow: hidden; }
.intro-line span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--straw), var(--ember)); box-shadow: 0 0 18px var(--ember); }

/* 필름 질감 */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* 첫 화면 */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.08); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 75% 40%, transparent 0%, rgba(11, 10, 9, 0.55) 55%, rgba(11, 10, 9, 0.95) 100%), linear-gradient(0deg, var(--black) 0%, transparent 45%); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; padding: calc(var(--header-h) + 40px) var(--gutter) 40px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker kicker" "word vertical" "bottom bottom"; align-items: end; gap: 0 32px; }
.hero-kicker { grid-area: kicker; display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; color: var(--straw); margin-bottom: 8px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(226, 87, 43, 0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(226, 87, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 87, 43, 0); } }
.hero-word { grid-area: word; display: flex; align-items: flex-start; font-family: var(--punch); font-size: clamp(150px, 26vw, 420px); line-height: 0.86; letter-spacing: -0.03em; color: var(--bone); margin-left: -0.04em; }
.hw { display: inline-block; overflow: hidden; padding-bottom: 0.04em; }
.hw-in { display: inline-block; }
.hero-vertical { grid-area: vertical; writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: 0.32em; color: var(--bone); padding-bottom: 1vw; border-right: 1px solid var(--ember); padding-right: 14px; }
.hero-bottom { grid-area: bottom; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 28px; }
.hero-lead { max-width: 30em; color: rgba(241, 234, 223, 0.8); font-size: 16px; }
.hero-meta { position: relative; list-style: none; margin: 0; padding: 18px var(--gutter); display: flex; gap: 48px; border-top: 1px solid var(--line); font-size: 14px; }
.hero-meta span { font-family: var(--latin); font-size: 12px; letter-spacing: 0.2em; color: var(--ember); margin-right: 12px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 18px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--latin); font-size: 12px; letter-spacing: 0.24em; color: var(--bone-dim); text-decoration: none; }
.scroll-cue span { position: relative; width: 1px; height: 40px; background: var(--line); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ember); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* 흐르는 글자 띠 */
.ticker { padding: 26px 0; background: var(--coal); border-block: 1px solid var(--line); overflow: hidden; }
.ticker-row { overflow: hidden; white-space: nowrap; }
.ticker-row + .ticker-row { margin-top: 6px; }
.ticker-track { display: inline-flex; align-items: center; animation: tick 46s linear infinite; }
.is-reverse .ticker-track { animation-direction: reverse; animation-duration: 52s; }
.ticker span { font-family: var(--punch); font-size: clamp(30px, 4vw, 58px); line-height: 1.1; padding: 0 22px; color: var(--bone); }
.is-reverse span { font-family: var(--latin); font-weight: 600; letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1px rgba(241, 234, 223, 0.55); }
.ticker i { font-style: normal; color: var(--ember); font-size: 22px; }
@keyframes tick { to { transform: translateX(-33.333%); } }

/* 01 이야기 */
.story { position: relative; padding: 18vh 0 22vh; background: var(--black); }
.manifesto { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.45; letter-spacing: -0.015em; max-width: 22em; }
.manifesto .w { display: inline-block; opacity: 1; }
.motion .manifesto .w { opacity: 0.14; }
.story-photos { position: relative; height: clamp(320px, 42vw, 600px); margin-top: 8vh; }
.sp { position: absolute; overflow: hidden; border-radius: 2px; }
.sp img { width: 100%; height: 100%; object-fit: cover; }
.sp-1 { right: 0; top: 0; width: 46%; aspect-ratio: 4 / 3; }
.sp-2 { left: 8%; bottom: 0; width: 34%; aspect-ratio: 4 / 5; }

/* 02 과정 (기본: 세로로 쌓임 / 컴퓨터 + 움직임 켜짐: 고정된 채 가로로 이동) */
.process { background: var(--coal); }
.process-pin { position: relative; }
.process-track { display: flex; flex-direction: column; gap: 72px; padding: 16vh var(--gutter); }
.panel-intro p:not(.label) { margin-top: 24px; color: var(--bone-dim); font-size: 17px; }
.panel-step { display: grid; gap: 28px; }
.panel-step figure { overflow: hidden; border-radius: 2px; }
.panel-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.step-copy b { display: block; font-family: var(--latin); font-weight: 600; font-size: clamp(64px, 7vw, 110px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--straw); }
.step-copy h3 { font-family: var(--punch); font-size: clamp(30px, 3vw, 46px); margin-top: 10px; }
.step-copy p { color: var(--bone-dim); margin-top: 12px; max-width: 26em; }
.process-progress { display: none; }
.h-on .process-pin { height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.h-on .process-track { flex-direction: row; align-items: center; gap: 6vw; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.h-on .panel-intro { width: 34vw; flex: none; }
.h-on .panel-step { width: 62vw; flex: none; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 3vw; }
.h-on .panel-step img { aspect-ratio: 4 / 3.2; height: 64vh; }
.h-on .process-progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 1px; background: var(--line); }
.h-on .process-progress span { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }

/* 숫자 */
.stats { background: var(--ember); color: var(--black); padding: 9vh 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 0 24px; border-left: 1px solid rgba(11, 10, 9, 0.25); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--latin); font-weight: 600; font-size: clamp(56px, 6.4vw, 104px); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.stats b small { font-size: 0.34em; margin-left: 4px; font-family: var(--sans); font-weight: 700; }
.stats p { margin-top: 14px; font-size: 15px; font-weight: 500; color: rgba(11, 10, 9, 0.78); }

/* 03 대표 메뉴: 겹겹이 쌓이는 카드 */
.signature { background: var(--black); padding: 18vh 0 10vh; }
.sig-head { margin-bottom: 8vh; }
.stack { padding: 0 var(--gutter); }
.stack-card { position: sticky; top: calc(var(--header-h) + 3vh); height: min(78vh, 760px); margin-bottom: 6vh; overflow: hidden; border-radius: 6px; transform-origin: 50% 0; background: var(--coal); }
.stack-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, 0.88) 0%, rgba(11, 10, 9, 0.45) 45%, rgba(11, 10, 9, 0) 75%); }
.stack-copy { position: absolute; z-index: 1; left: clamp(24px, 5vw, 80px); bottom: clamp(28px, 6vh, 72px); max-width: 30em; }
.stack-tag { font-family: var(--latin); font-size: 13px; letter-spacing: 0.2em; color: var(--straw); }
.stack-copy h3 { font-family: var(--punch); font-size: clamp(48px, 6.4vw, 104px); line-height: 1; margin-top: 14px; }
.stack-price { font-family: var(--latin); font-weight: 600; font-size: clamp(30px, 3vw, 44px); color: var(--ember); margin-top: 8px; font-variant-numeric: lining-nums; }
.stack-price small { font-family: var(--sans); font-size: 0.45em; margin-left: 4px; color: var(--bone-dim); }
.stack-copy p:last-child { margin-top: 14px; color: rgba(241, 234, 223, 0.82); }

/* 04 메뉴판 (밝은 종이색으로 대비) */
.menu { position: relative; background: var(--bone); color: var(--ink); padding: 16vh 0; }
.menu .label { color: var(--ink-dim); }
.menu-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 9vh; }
.menu-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.menu-head p { color: var(--ink-dim); max-width: 30em; }
.board { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px 96px; }
.board-group h3 { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.board-group h3 span { font-family: var(--latin); font-weight: 600; font-size: 30px; letter-spacing: 0.12em; }
.board-group h3 small { font-size: 13px; color: var(--ink-dim); }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); transition: padding 0.4s var(--ease), color 0.3s; }
.board-list li[data-img] { cursor: default; }
.board-list li[data-img]:hover { padding-left: 12px; color: var(--ember); }
.board-list .n { font-weight: 600; font-size: 17px; }
.board-list .n small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-dim); margin-top: 2px; }
.board-list .dots { flex: 1; border-bottom: 1px dotted rgba(23, 20, 17, 0.3); transform: translateY(-5px); min-width: 20px; }
.board-list .p { font-family: var(--latin); font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums lining-nums; }
.board-note { font-size: 13px; color: var(--ink-dim); margin-top: 12px; }
.menu-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 280px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; }

/* 전면 문장 */
.quote { position: relative; height: 110vh; overflow: hidden; display: grid; align-items: center; background: var(--black); }
.quote-media { position: absolute; inset: -12% 0; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-media::after { content: ""; position: absolute; inset: 0; background: rgba(11, 10, 9, 0.55); }
.quote-copy { position: relative; }
.quote-text, .visit-title { font-family: var(--punch); font-size: clamp(46px, 8.4vw, 150px); line-height: 1.02; letter-spacing: -0.02em; }
.qline { display: block; overflow: hidden; }
.quote-text em, .visit-title em { font-style: normal; color: var(--ember); }

/* 05 상차림: 끝없이 흐르는 사진 */
.table { background: var(--black); padding: 16vh 0; }
.table-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 8vh; }
.table-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.table-head p { color: var(--bone-dim); }
.drift { overflow: hidden; }
.drift-track { display: flex; gap: 18px; width: max-content; animation: drift 70s linear infinite; }
.drift:hover .drift-track { animation-play-state: paused; }
.drift-item { width: clamp(260px, 30vw, 460px); flex: none; overflow: hidden; border-radius: 2px; }
.drift-item:nth-child(even) { margin-top: 64px; }
.drift-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.drift-item:hover img { transform: scale(1.06); }
@keyframes drift { to { transform: translateX(calc(-50% - 9px)); } }

/* 06 공간 (밝은 종이색) */
.space { background: var(--bone); color: var(--ink); padding: 16vh 0; }
.space .label { color: var(--ink-dim); }
.space-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 8vh; }
.space-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.space-head p { color: var(--ink-dim); }
.space-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: start; }
.sg { overflow: hidden; border-radius: 2px; }
.sg img { width: 100%; height: 100%; object-fit: cover; }
.sg-1 { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.sg-2 { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: 12vh; }
.sg-3 { grid-column: 2 / span 4; aspect-ratio: 4 / 3; }
.sg-4 { grid-column: 6 / span 7; aspect-ratio: 16 / 9; margin-top: -6vh; }
.features { list-style: none; padding: 0; margin: 10vh 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.features li { padding: 22px 16px 0 0; }
.features li + li { padding-left: 20px; border-left: 1px solid var(--line-ink); }
.features b { display: block; font-family: var(--punch); font-size: 22px; }
.features span { display: block; font-size: 14px; color: var(--ink-dim); margin-top: 4px; }

/* 07 방문 안내 */
.guide { background: var(--coal); padding: 16vh 0; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-list li { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease), padding 0.4s var(--ease); }
.guide-list li:hover { background: rgba(241, 234, 223, 0.03); padding-left: 16px; }
.g-no { font-family: var(--latin); font-size: 15px; letter-spacing: 0.2em; color: var(--ember); }
.guide-list h3 { font-family: var(--punch); font-size: clamp(24px, 2.4vw, 36px); }
.guide-list p { color: var(--bone-dim); }

/* 08 자주 묻는 질문 */
.faq { background: var(--bone); color: var(--ink); padding: 16vh 0; }
.faq .label { color: var(--ink-dim); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p:not(.label) { color: var(--ink-dim); margin-top: 22px; max-width: 26em; }
.faq-head h2 { font-size: clamp(34px, 3.8vw, 58px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-ink); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 12px; padding: 24px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.q-no { font-family: var(--latin); font-size: 14px; letter-spacing: 0.1em; color: var(--ember); }
.q-text { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.q-icon { position: relative; width: 22px; height: 22px; }
.q-icon::before, .q-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .q-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 0 26px 68px; }
.faq-a p { color: var(--ink-dim); max-width: 42em; }

/* 09 오시는 길 */
.visit { background: var(--black); padding: 18vh 0 14vh; }
.visit-title { margin-bottom: 10vh; }
.visit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
.visit-photo { overflow: hidden; border-radius: 2px; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visit-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--bone-dim); }
.info { margin: 0 0 36px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--bone-dim); font-size: 14px; }
.info dd { margin: 0; }
.info a { text-decoration: none; border-bottom: 1px solid rgba(241, 234, 223, 0.35); }
.copy { font: inherit; font-size: 13px; margin-left: 10px; padding: 2px 12px; cursor: pointer; color: var(--bone); background: transparent; border: 1px solid rgba(241, 234, 223, 0.35); border-radius: 999px; }
.copy-status { font-size: 13px; color: var(--bone-dim); margin-left: 6px; }

/* 하단 */
.site-footer { position: relative; overflow: hidden; background: #070605; color: var(--bone-dim); padding-top: 12vh; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 40px; position: relative; z-index: 1; }
.footer-brand p { margin-top: 20px; }
.site-footer h4 { margin: 0 0 14px; font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; color: var(--straw); }
.site-footer p + p { margin-top: 4px; }
.site-footer a { color: var(--bone-dim); text-decoration: none; }
.site-footer a:hover { color: var(--bone); }
.footer-giant { font-family: var(--serif); font-weight: 900; font-size: clamp(160px, 34vw, 560px); line-height: 0.8; letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(241, 234, 223, 0.12); margin-top: 8vh; user-select: none; }
.footer-bottom { position: relative; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; font-size: 13px; color: #6a6157; margin-top: -4vw; background: #070605; }

/* 휴대폰 하단 고정 버튼 */
.mobile-cta { display: none; }

/* 움직임 켜졌을 때의 첫 상태 */
.motion .hw-in { transform: translateY(105%); }
.motion .seal-hero { opacity: 0; transform: scale(2.2) rotate(-12deg); }
.motion .hero-vertical, .motion .hero-kicker, .motion .hero-bottom, .motion .hero-meta { opacity: 0; }
.motion .clip { clip-path: inset(100% 0 0 0); }
.motion .qline > * , .motion .qline { will-change: transform; }

/* 태블릿 */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-head, .table-head, .space-head, .faq-grid, .visit-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-head { position: static; }
  .board { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .features { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .features li:nth-child(4) { border-left: 0; padding-left: 0; }
  .guide-list li { grid-template-columns: 80px 1fr; }
  .guide-list p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 휴대폰 */
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .wordmark b { font-size: 26px; }
  .logo-sub { font-size: 11px; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "kicker" "word" "vertical" "bottom"; padding-bottom: 24px; }
  .hero-kicker { font-size: 12px; letter-spacing: 0.08em; }
  .hero-word { font-size: 44vw; }
  .hero-vertical { writing-mode: horizontal-tb; border-right: 0; border-left: 2px solid var(--ember); padding: 0 0 0 12px; letter-spacing: 0.08em; font-size: 18px; margin-top: 14px; }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 18px; }
  .hero-lead { font-size: 15px; }
  .hero .actions .btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; min-height: 48px; }
  .hero .actions .btn:first-child { flex-basis: 100%; }
  .hero-meta { gap: 18px; flex-wrap: wrap; font-size: 13px; padding-block: 14px; }
  .hero-meta li:nth-child(3) { display: none; }
  .scroll-cue { display: none; }
  .ticker { padding: 18px 0; }
  .story { padding: 12vh 0 14vh; }
  .manifesto { font-size: 26px; }
  .story-photos { height: 360px; }
  .sp-1 { width: 70%; }
  .sp-2 { width: 50%; left: 0; }
  .process-track { padding: 12vh var(--gutter); gap: 56px; }
  .stats-grid > div { padding: 0 14px; }
  .stats p { font-size: 13px; }
  .stack-card { height: 74vh; }
  .stack-card::after { background: linear-gradient(0deg, rgba(11, 10, 9, 0.92) 0%, rgba(11, 10, 9, 0.5) 50%, rgba(11, 10, 9, 0.05) 100%); }
  .stack-copy { left: 20px; right: 20px; bottom: 24px; }
  .stack-copy p:last-child { font-size: 14px; }
  .board-list .p { font-size: 19px; }
  .quote { height: 80vh; }
  .space-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sg-1, .sg-4 { grid-column: 1 / -1; margin-top: 0; }
  .sg-2, .sg-3 { grid-column: auto; margin-top: 0; aspect-ratio: 1; }
  .features { grid-template-columns: 1fr 1fr; }
  .features li, .features li + li { padding: 18px 12px 0 0; border-left: 0; }
  .guide-list li { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .guide-list p { grid-column: auto; }
  .faq-item summary { grid-template-columns: 44px 1fr 24px; }
  .q-text { font-size: 16px; }
  .faq-a { padding-left: 56px; }
  .info > div { grid-template-columns: 76px 1fr; }
  .copy { margin: 6px 0 0; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding-bottom: 110px; }
  .mobile-cta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 10, 9, 0.94); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform 0.5s var(--ease); }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta a { min-height: 48px; display: grid; place-items: center; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; color: var(--bone); border: 1px solid rgba(241, 234, 223, 0.3); }
  .mobile-cta a:first-child { background: var(--ember); border-color: var(--ember); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .drift-track, .hero-kicker .dot, .scroll-cue span::after { animation: none; }
  .btn::before, .board-list li, .guide-list li { transition: none; }
}
