/* SAUNA & RICH — 사이트 시안 v1 (2026-09-29)
   무드 기준: docs/무드-가이드.md — 미색/먹색 두 색, 큰 영문 + 작은 한글, 비대칭, 큰 여백, 둥근 모서리·그림자 없음 */

:root {
  --linen: #edebe3;      /* 미색: 흰색이 아니라 리넨 */
  --ink: #121918;        /* 먹색: 검정이 아니라 아주 짙은 청록 */
  --ink-2: #1c2423;
  --ink-soft: #222b2a;   /* 바닥글(먹색) 바로 위 먹색 섹션용 한 톤 밝은 먹색 — 두 면이 한 덩어리로 붙지 않게 */
  --sand: #e3dfd3;       /* 한 톤 짙은 미색(2026-10-01 대표님): Contact 제목 띠 — 빛 없이 편안하게 */
  --water: #0f2430;      /* 깊은 물(2026-09-30 대표님): 냉탕색. 먹색을 대신하지 않는 한 곳의 변주 — 지금은 ABOUT Mission 섹션만 */
  --text: #1b2120;
  --muted: #6d706a;
  --on-ink: #eae6da;   /* 2026-10-01 대표님: 미색 아주 미세하게 따뜻하게(B), 인스타 프로필 글자와 같은 색 */
  --on-ink-muted: #8f948e;
  --line: rgba(18, 25, 24, .14);
  --line-on-ink: rgba(234, 230, 218, .16);
  --sky: #8fbfe6;        /* 밝은 하늘색(2026-09-30 대표님): 먹색 위 링크 글자 */
  --sky-deep: #2b68a0;   /* 짙은 하늘색: 미색 위 링크 글자 (대비 4.9:1) */

  --logo: 'Newsreader', serif;
  --display: 'Jost', sans-serif;            /* 2026-09-30 대표님 확정: 제목·영문은 Jost, Newsreader는 로고만 */
  --display-weight: 300;
  --display-track: 0.005em;
  --kr: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(120px, 18vw, 240px);
  /* 가운데 폭(2026-10-09 대표님 4번): 넓은 화면에서 글·본문 사진을 1120px 안으로 모은다(TTNE·록시땅 폭, 저널 카드 ≈ 메멘토모리).
     첫 화면 사진·섹션 바탕색은 화면 끝까지. --edge = 가운데 폭의 왼쪽 끝(좁은 화면에선 --gutter) */
  --content: 1120px;
  --maxw: calc(var(--content) + var(--gutter) * 2);
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--linen);
  color: var(--text);
  font-family: var(--kr);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- 공통 글자 ---------- */
.label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* 섹션 라벨(♨ 아이콘이 붙는 꼭지 이름): 1.3배(10-09 대표님) — 본문보다 한 단계 작게. 아이콘 없는 작은 링크(READ MORE 등)는 11px 그대로 */
.label:not(.plain) { font-size: 14.3px; gap: 13px; }
/* 섹션 라벨 앞 표시: 동네 목욕탕 간판의 온천 표시(♨)를 선 몇 개로 (2026-09-30 대표님 시도). 색만 하늘색, 크기는 라벨과 함께 1.3배 */
.label::before {
  content: ''; width: 15.6px; height: 15.6px; flex: none;
  background: var(--sky-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round'%3E%3Cellipse cx='8' cy='12.2' rx='6' ry='2.6'/%3E%3Cpath d='M5 9.6c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3Cpath d='M8 9c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3Cpath d='M11 9.6c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round'%3E%3Cellipse cx='8' cy='12.2' rx='6' ry='2.6'/%3E%3Cpath d='M5 9.6c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3Cpath d='M8 9c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3Cpath d='M11 9.6c-1.2-1.3 1.2-2.2 0-3.6s1.2-2.2 0-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ink .label::before, .hero .label::before { background: var(--sky); }
.label.plain::before { display: none; }

.display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.08;
}
/* 화면 폭(vw)으로 커지는 큰 글자는 가운데 폭 화면(--maxw) 기준 크기에서 멈춘다 — 넓은 화면에서 좁은 칸의 제목이 깨지지 않게 */
.d-xl { font-size: clamp(44px, min(7.4vw, calc(var(--maxw) * .074)), 112px); }
.d-l  { font-size: clamp(36px, min(5.2vw, calc(var(--maxw) * .052)), 76px); }
.d-m  { font-size: clamp(28px, min(3.4vw, calc(var(--maxw) * .034)), 48px); line-height: 1.15; }
.d-s  { font-size: clamp(22px, min(2.2vw, calc(var(--maxw) * .022)), 30px); line-height: 1.25; }
 .display.upper-sans { text-transform: uppercase; }

.kr-title { font-size: clamp(24px, min(2.6vw, calc(var(--maxw) * .026)), 34px); font-weight: 500; line-height: 1.5; letter-spacing: -0.03em; }
.kr-lead  { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.9; }
/* 넓은 화면에서만 끊는 줄(뜻 단위로 세 줄 — ABOUT 첫 문장). 좁은 화면에선 자연스럽게 흐른다 */
.br-wide { display: none; }
@media (min-width: 861px) { .br-wide { display: inline; } }
.small { font-size: 13px; line-height: 1.7; color: var(--muted); }
.en { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 17px; line-height: 1.7; letter-spacing: .01em; color: var(--muted); }
.ink .en, .ink .small { color: var(--on-ink-muted); }

/* ---------- 사진 자리 ---------- */
.ph {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(165deg, #cfc8b9 0%, #a99f8d 100%);
}
.ph::after {
  content: attr(data-shot);
  position: absolute;
  left: 16px; bottom: 14px; right: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.ph.steam { background: radial-gradient(120% 90% at 30% 20%, #e3ddd0 0%, #bdb3a1 55%, #9d927f 100%); }
.ph.wood  { background: linear-gradient(170deg, #7a6150 0%, #4d3b30 60%, #33271f 100%); }
.ph.stone { background: linear-gradient(160deg, #9b9a92 0%, #6e6f69 60%, #4f514d 100%); }
.ph.tile  { background: linear-gradient(170deg, #a9b7b3 0%, #7f918d 55%, #5e6f6b 100%); }
.ph.night { background: radial-gradient(90% 70% at 70% 35%, #3b3a33 0%, #1e2322 55%, #111616 100%); }
.ph.light { background: radial-gradient(80% 60% at 75% 25%, #f1e3c8 0%, #c9b595 45%, #7d6a52 100%); }
/* 구매한 사진이 들어오면 <div class="ph ..."><img src="..." alt="..."></div> 로 넣는다 (자리 설명은 자동으로 숨김) */
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph:has(img) { background: none; }
.ph:has(img)::after { display: none; }
.r-45 { aspect-ratio: 4 / 5; }
.r-34 { aspect-ratio: 3 / 4; }
.r-23 { aspect-ratio: 2 / 3; }
.r-32 { aspect-ratio: 3 / 2; }
.r-169 { aspect-ratio: 16 / 9; }

/* ---------- 머리글 ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0;
  z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--edge);
  color: var(--text);
  transition: background .5s ease, color .5s ease;
}
.site-head.on-dark { color: var(--on-ink); }
.site-head.solid { background: var(--linen); color: var(--text); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--logo); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a { font-family: 'Jost', sans-serif; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* 메뉴 13px(10-09 대표님): 라벨(14.3px)보다 한 끗 작게. 넓은 화면만 — 휴대폰은 로고+메뉴 세 개가 한 줄에 빠듯해 11.5px 그대로 */
@media (min-width: 861px) { .nav a, .site-foot .links a { font-size: 13px; } }
/* 홈 첫 화면에 사진이 들어가면(.ph img) 메뉴 글자를 먹색으로(10-12 대표님 B안): 해변 사진은 오른쪽 위가 옅은 하늘이라 크림색 글자가 안 읽힘(명암비 1.2).
   로고는 가로 화면에선 어두운 건물 위라 크림색 그대로, 세로 화면(휴대폰)에선 하늘 위로 와서 먹색. 머리글이 미색 바탕(.solid)이 되면 원래대로.
   첫 화면 사진을 하늘이 어두운 사진으로 바꾸면 이 규칙도 다시 확인할 것. */
body:has(.hero.inset .ph img) .site-head.on-dark .nav a { color: var(--ink); opacity: 1; }
@media (max-aspect-ratio: 1/1) { body:has(.hero.inset .ph img) .site-head.on-dark .logo { color: var(--ink); } }

/* ---------- 섹션 ---------- */
.wrap { padding: 0 var(--gutter); max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section { padding: var(--section) 0; }
.ink { background: var(--ink); color: var(--on-ink); }
.ink-soft { background: var(--ink-soft); }
.ink-water { background: var(--water); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }

/* 홈: 첫 화면
   높이는 svh(주소창이 보일 때의 화면 높이)로 고정 — 휴대폰에서 스크롤할 때 주소창이 숨으면서 vh가 바뀌어
   첫 화면 사진이 커지고 글자가 밀리던 것을 막는다(10-09 대표님 검수). svh를 모르는 옛 브라우저는 앞 줄 vh를 쓴다 */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: var(--on-ink); }
.hero .ph { position: absolute; inset: 0; height: 100%; }
.hero .ph::after { left: auto; right: var(--gutter); bottom: 28px; width: auto; }
.hero-text { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(48px, 9vh, 96px); bottom: clamp(48px, 9svh, 96px); }
.hero-text .display { max-width: 11ch; }
.hero-text .kr { margin-top: 22px; font-size: 15px; letter-spacing: .02em; opacity: .85; }
/* 첫 화면 글자 위치 = 모든 화면·홈과 ABOUT 모두 같은 비율: 화면 아래에서 높이의 15%(10-13 대표님: 화면을 바꿀 때 글자 위치가 달라지는 이질감을 없애고 싶다).
   예전엔 좁은 화면 20svh, PC는 폭·높이 공식이라 화면마다 달랐다. 사진은 건드리지 않는다(어둡게 깔기 등 사진 분위기를 바꾸는 것은 대표님이 비교해 보고 정할 일 — 10-13 지시).
   주의(측정): 사진 위에 아무것도 깔지 않으면 ABOUT 부제는 아래쪽 밝은 벤치에 걸려 대비 2~4로 흐리다(홈은 5 이상으로 또렷). 위치를 바꿀 땐 이 15 한 곳만 고친다. Contact 띠(.banner)는 해당 없음 */
.hero-text { bottom: 15vh; bottom: 15svh; }

/* 홈 첫 화면: 글자를 한 칸 안쪽으로 (10-09 대표님). 사진 왼쪽 끝 밝은 난로를 비켜 한글 부제가 읽히게. 사진이 바뀌면 다시 볼 것 */
@media (min-width: 861px) { .hero.inset .hero-text { left: calc(var(--edge) + var(--gutter)); } }

/* Contact: 낮은 제목 띠. 빛 없이 한 톤 짙은 미색(편안함), 글은 왼쪽 세로 가운데 */
.hero.banner { height: 66vh; height: 66svh; min-height: 460px; background: var(--sand); color: var(--text); }
.banner .hero-text { top: 50%; bottom: auto; transform: translateY(-50%); max-width: 520px; }
.banner .hero-text .display { max-width: none; }
.banner .hero-text .kr-lead { margin-top: 28px; }

/* 라벨 왼쪽 끝 / 본문 오른쪽 절반 */
.split .side { grid-column: 1 / 4; padding-top: 14px; }
.split .main { grid-column: 6 / 13; }
.split .main .kr-lead { margin-top: 44px; max-width: 34em; }
.split .main .en { margin-top: 24px; max-width: 34em; }

/* RICH 목록 */
.rich-list { list-style: none; border-top: 1px solid var(--line-on-ink); }
.rich-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 24px;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line-on-ink);
}
.rich-list .small { text-align: right; }

/* Fine 디테일 사진: 블록 구도 (10-09 대표님). 왼쪽 큰 세로 1 + 오른쪽 가로 2장 쌓기, 위·아래 끝선을 맞춘 사각형 하나 */
.details { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.details .a { grid-column: 1 / 7; grid-row: 1 / 3; }
.details .b { grid-column: 7 / 13; grid-row: 1; }
.details .c { grid-column: 7 / 13; grid-row: 2; }
.details .ph img { position: absolute; inset: 0; } /* 사진 원래 비율이 칸 높이를 늘리지 않게. 높이는 왼쪽 세로 사진이 정한다 */
.fine-words { margin-top: clamp(80px, 10vw, 140px); }
.fine-words .kr-lead span { display: block; }

/* 저널 목록 (메멘토모리 문법: 큰 세로 사진 2열, 한 열 어긋남, 날짜 숨김) */
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 4vw, 64px); }
.journal-grid .col:nth-child(2) { margin-top: clamp(80px, 12vw, 180px); }
.card { display: block; margin-bottom: clamp(64px, 8vw, 120px); }
.card .meta { margin-top: 20px; }
.card .cat { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card .t { font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; line-height: 1.45; margin-top: 8px; letter-spacing: -0.02em; }
.card .s { font-size: 14px; color: var(--muted); margin-top: 4px; }
.card .ph { transition: opacity .6s ease; }
.card:hover .ph { opacity: .88; }

.journal-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.journal-row .card:nth-child(2) { margin-top: 90px; }
.journal-row .card:nth-child(3) { margin-top: 40px; }

.filters { display: flex; gap: 28px; margin-top: 40px; }
.filters button {
  background: none; border: 0; cursor: pointer; color: var(--sky-deep); /* 10-09 대표님: 누를 수 있는 분류는 READ MORE와 같은 링크 색 */
  font-family: 'Jost', var(--kr); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 0;
}
.filters button:hover { opacity: .7; }
.filters button.on { color: var(--text); border-bottom: 1px solid var(--text); opacity: 1; }

/* 글 본문 */
.article-head { padding-top: calc(var(--section) * .8); }
.article-head .display { max-width: 16ch; margin-top: 28px; }
.article-head .kr-title { margin-top: 26px; font-weight: 400; color: var(--muted); }
.prose { max-width: 36em; margin: 0 auto; font-size: 17.5px; line-height: 2; }
.prose p + p { margin-top: 1.4em; }
.prose .pause { text-align: center; color: var(--muted); letter-spacing: .5em; margin: 2.6em 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.pair .ph:nth-child(2) { width: 78%; justify-self: end; }
.figure-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.pillars > div { border-top: 1px solid var(--line); padding-top: 26px; }
.pillars .kr-lead { margin-top: 22px; font-size: 16px; }

.works { list-style: none; border-top: 1px solid var(--line-on-ink); }
.works li { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line-on-ink); align-items: baseline; }
.works .n { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .14em; color: var(--on-ink-muted); }

/* 홈: 최근 우리의 글 */
.note-teaser { display: block; }
.note-teaser .kr-title { margin-top: 22px; font-weight: 400; color: var(--muted); }
.note-teaser .kr-lead { margin-top: 36px; max-width: 30em; }
.note-teaser .cat { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.note-teaser .read-more { margin-top: 32px; }
.note-teaser:hover .display { opacity: .75; }
.note-teaser .display { transition: opacity .5s ease; }

/* 들려주세요 */
.invite-list { list-style: none; margin-top: 48px; max-width: 34em; border-top: 1px solid var(--line); }
.invite-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.invite-list .small { margin-left: 8px; }
.contact-info { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(40px, 6vw, 88px); row-gap: 28px; margin-top: 88px; }
.contact-info dt { color: var(--muted); }
.contact-info dd { margin: 12px 0 0; font-family: var(--display); font-weight: 300; font-size: 17px; }
.contact-info a { color: var(--sky-deep); }
.contact-info a:hover { opacity: .7; }

/* 저널: 아직 글이 없는 연재 */
.journal-empty { display: none; padding: 40px 0 clamp(80px, 10vw, 140px); }
.journal-empty.show { display: block; }
.journal-empty .q { margin-top: 12px; color: var(--muted); }
.journal-next { border-top: 1px solid var(--line); padding: 40px 0 clamp(100px, 12vw, 180px); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: baseline; }

/* 읽으러 가는 링크 (메뉴·로고·카드 제목은 제외)
   밑줄 없음(대표님 2026-09-30). 미색 위: 짙은 하늘색 글자 / 먹색 위: 밝은 하늘색 글자 */
a.label.plain, .read-more { color: var(--sky-deep); }
a.label.plain:hover, .note-teaser:hover .read-more { opacity: .7; }
.ink a.label.plain { color: var(--sky); }

/* ---------- 바닥글 ---------- */
.site-foot { background: var(--ink); color: var(--on-ink); padding: 90px var(--edge) 40px; }
.site-foot .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.site-foot .logo { font-size: clamp(40px, min(6vw, calc(var(--maxw) * .06)), 84px); line-height: 1; }
.site-foot .links { display: flex; gap: 32px; }
.site-foot .links a { font-family: 'Jost', sans-serif; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.site-foot .bottom { margin-top: 80px; padding-top: 22px; border-top: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; font-size: 12px; color: var(--on-ink-muted); gap: 20px; flex-wrap: wrap; }

/* ---------- 천천히 나타남 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.4s cubic-bezier(.2,.6,.2,1), transform 1.4s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 860px) {
  .split .side, .split .main { grid-column: 1 / -1; }
  .split .main { margin-top: 36px; }
  .details { grid-template-rows: auto auto; }
  .details .a { grid-column: 1 / -1; grid-row: 1; }
  .details .b { grid-column: 1 / 7; grid-row: 2; aspect-ratio: 3 / 2; }
  .details .c { grid-column: 7 / 13; grid-row: 2; aspect-ratio: 3 / 2; }
  .journal-row { grid-template-columns: 1fr; }
  .journal-row .card:nth-child(n) { margin-top: 0; }
  .pillars { grid-template-columns: 1fr; row-gap: 48px; }
  .works li { grid-template-columns: 1fr; gap: 8px; }
  .nav { gap: 16px; }
  .about-photos { padding-left: 0; padding-right: 0; } /* ABOUT 사진 두 장: 좁은 화면에선 화면 끝까지 */
}
@media (max-width: 560px) {
  .contact-info { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-grid .col:nth-child(2) { margin-top: 0; }
  .pair { grid-template-columns: 1fr; row-gap: 16px; }
  .pair .ph:nth-child(2) { width: 70%; }
  .rich-list li { grid-template-columns: 1fr; gap: 6px; }
  .rich-list .small { text-align: left; }
  .logo { font-size: 18px; }
}
