/* noven.works 의 모든 페이지가 함께 쓰는 스타일. 페이지의 색은 tokens.css(브랜드 키트) 의 --nw-… 만 쓴다.
   예외: 사진 칸의 바탕(사진이 뜨기 전에만 보인다)과 사진 위의 이름표는 테마마다 정해 둔 색이다.
   글자 크기는 키트의 본문·캡션·소제목을 쓰고, 첫 화면과 섹션 제목만 오너의 말대로 키트보다 크게 쓴다.
   VOICE   노벤웍스가 말할 때: 쉬운 한국어의 짧은 합니다체. 섹션마다 제목 하나와 짧은 설명 (docs/brand/core.md 4절)
   IDEA    첫 화면은 패션 화보처럼, 제품 섹션은 실제로 일하는 화면처럼 (오너의 의견, 2026-12-02)
   PICTURE 차콜 코트 한 벌(실사)과 고객의 질문. 같은 코트가 Desk(답장)와 Studio(상세컷)로 이어진다
   COLOUR  한지·먹 바탕, 소나무는 버튼과 링크만. 사진은 두 테마에서 같다
   TYPE    Pretendard, 제목 600, 본문 400. 한글 헤드라인은 굵기와 여백으로 힘을 준다
   LAYOUT  PC: 제목 왼쪽, 코트 화보 오른쪽 크게. 폰: 제목·설명·버튼, 그다음 코트와 질문 */
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nw-bg); color: var(--nw-ink); font-family: var(--nw-font); font-size: var(--nw-t-body); line-height: var(--nw-lh-body); overflow-x: clip; word-break: keep-all; }
a { color: var(--nw-accent); }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(5vw, 20px); padding-right: max(5vw, 20px); }
.band { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.alt { background: var(--nw-surface); border-top: 1px solid var(--nw-line); border-bottom: 1px solid var(--nw-line); }
h1, h2, h3 { font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -0.02em; }
h3 { font-size: var(--nw-t-h2); line-height: var(--nw-lh-h2); }
p { margin: 0; }
.muted { color: var(--nw-muted); }
.cap { font-size: var(--nw-t-caption); line-height: var(--nw-lh-caption); color: var(--nw-muted); }
.lede { font-size: 19px; color: var(--nw-muted); margin-top: 16px; max-width: 30em; }
.dark-only { display: none !important; }

/* 머리 */
header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--nw-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--nw-line); }
header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; padding: 16px 0; }
.brand img { height: 25px; width: auto; display: block; }
nav { display: flex; gap: 4px 22px; margin-left: auto; flex-wrap: wrap; align-items: center; }
nav a { color: var(--nw-ink); text-decoration: none; font-size: 15px; padding: 10px 0; }
nav a.pill { background: var(--nw-accent); color: var(--nw-on-accent); border-radius: 10px; padding: 8px 14px; font-weight: 600; }

/* 버튼 */
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid var(--nw-line); color: var(--nw-ink); background: var(--nw-surface); }
.btn.go { background: var(--nw-accent); border-color: var(--nw-accent); color: var(--nw-on-accent); }
a:focus-visible { outline: 3px solid var(--nw-accent); outline-offset: 2px; }
.more { font-weight: 600; text-decoration: none; display: inline-block; margin-top: 20px; padding: 8px 0; }

/* 첫 화면: 코트 화보 */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.photo { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); width: 100%; background: #e9e7e3; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ask { position: absolute; left: 5%; bottom: 7%; max-width: min(62%, 340px); background: var(--nw-surface); color: var(--nw-ink); border-radius: 16px 16px 16px 4px; padding: 14px 16px; box-shadow: 0 10px 30px rgb(31 27 22 / 0.16); font-size: 17px; line-height: 1.45; }
.who { display: block; font-size: 13px; color: var(--nw-muted); margin-bottom: 4px; }

/* 제품 섹션 */
.work { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.work.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.work.flip .copy { order: 2; }
.lockup { height: 29px; width: auto; display: block; margin-bottom: 24px; }
.copy ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.copy li { padding-left: 22px; position: relative; color: var(--nw-muted); }
.copy li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--nw-accent); }
.screen { margin: 0; background: var(--nw-bg); border: 1px solid var(--nw-line); border-radius: 16px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; }
.bubble { justify-self: start; max-width: 80%; background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 4px 16px 16px 16px; padding: 12px 16px; font-size: 18px; line-height: 1.45; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fact { background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 12px; padding: 12px 14px; }
.fact b { display: block; font-size: 15px; font-weight: 600; }
.draft { background: var(--nw-accent-soft); border: 1px solid var(--nw-accent); border-radius: 16px 4px 16px 16px; padding: 16px; font-size: 17px; }
.acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.acts span { font-size: 15px; font-weight: 600; border-radius: 10px; padding: 9px 16px; border: 1px solid var(--nw-line); background: var(--nw-surface); }
.acts .send { background: var(--nw-accent); color: var(--nw-on-accent); border-color: var(--nw-accent); }
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.raw { position: relative; border-radius: 12px; overflow: hidden; background: #e9e7e3; }  /* PC: 상세컷 넷과 같은 높이 */
.raw img, .cut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.raw .cap, .cut .cap { position: absolute; left: 8px; top: 8px; color: #1f1b16; background: rgb(255 254 252 / 0.88); border-radius: 6px; padding: 1px 8px; }
.cuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.cut { position: relative; border-radius: 12px; overflow: hidden; background: #e9e7e3; aspect-ratio: 896 / 1184; }

/* 규칙 */
.rules { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.big { font-size: clamp(64px, 10vw, 128px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.big small { font-size: 0.3em; letter-spacing: -0.01em; color: var(--nw-muted); margin: 0 0.4em 0 0.15em; }
.notes { display: grid; gap: 12px; }
.note { background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 12px; padding: 18px 20px; font-size: 19px; font-weight: 600; }
.note span { display: block; font-size: 15px; font-weight: 400; color: var(--nw-muted); margin-top: 2px; }

/* 이야기 */
.teaser { max-width: 46em; }
.chapters { display: grid; gap: 48px; max-width: 46em; margin-top: 48px; }
.chapters h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.chapters p + p { margin-top: 14px; }

/* 데모 요청 */
.contact { background: var(--nw-accent-soft); border-top: 1px solid var(--nw-line); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.way { background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.way .btn { align-self: flex-start; margin-top: auto; }
.mail { margin-top: 28px; }
.mail a { font-weight: 600; overflow-wrap: anywhere; }

/* 바닥 */
footer { border-top: 1px solid var(--nw-line); padding-top: 36px; padding-bottom: 48px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
footer img { height: 25px; width: auto; display: block; margin-bottom: 16px; }
footer nav a { font-size: 14px; color: var(--nw-muted); }

@media (hover: hover) {
  nav a:not(.pill):hover { color: var(--nw-accent); }
  .btn:hover { border-color: var(--nw-accent); }
  .more:hover, .mail a:hover { text-decoration: underline; }
}
@media (prefers-color-scheme: dark) {
  .light-only { display: none !important; }
  .dark-only { display: block !important; }
  .photo, .raw, .cut { background: #2c2721; }
  .ask { box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); }
}
@media (max-width: 900px) {
  .hero, .work, .work.flip, .rules { grid-template-columns: minmax(0, 1fr); }
  .work.flip .copy { order: 0; }
}
@media (max-width: 720px) {
  header { position: static; }
  header .wrap { gap: 0 16px; }
  .brand { padding: 16px 0 8px; }
  nav { margin-left: 0; width: 100%; gap: 0 18px; }
  nav a { padding: 8px 0 12px; }
  nav a.pill { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .flow, .ways { grid-template-columns: minmax(0, 1fr); }
  .raw { aspect-ratio: 3 / 4; }
  .cuts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cut .cap { left: 4px; top: 4px; padding: 0 5px; font-size: 12px; }
  .bubble { max-width: 100%; }
  .ask { max-width: 80%; font-size: 16px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
