/* 상상고리 · !Cbooks — 책처럼: 여백, 가는 줄, 큰 명조. 색은 종이·먹·빨강, 쪽빛은 "잇다"에만. */
:root {
  --red: #a61f2d;
  --red-deep: #861522;
  --navy: #2b4566;
  --indigo: #1f3358;
  --ink: #1e1d1b;
  --ink-2: #4a4641;
  --muted: #8b847a;
  --paper: #f9f7f3;
  --line: #dcd5c9;
  --serif-ko: "Noto Serif KR", "Nanum Myeongjo", AppleMyungjo, Batang, serif;
  --serif-en: "Source Serif 4", Georgia, serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --bar: 56px;
  --max: 1100px;
  --pad-l: 48px;   /* room for the thread on the left */
  --pad-r: 22px;
  --thread-x: 20px;
}
@media (min-width: 900px) { :root { --pad-l: 84px; --pad-r: 40px; --thread-x: 36px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.red { color: var(--red); }
.navy { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad-l); position: relative; }
.caps { font-family: var(--serif-en); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; }
.kicker { color: var(--red); margin-bottom: 14px; }
h2 { font-family: var(--serif-ko); font-weight: 700; font-size: clamp(2rem, 7.4vw, 3.4rem); line-height: 1.28; letter-spacing: -0.01em; }
h3 { font-family: var(--serif-ko); font-weight: 700; }
.lede { margin-top: 16px; max-width: 34rem; color: var(--ink-2); font-size: 1.04rem; }
.badge { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; background: var(--red); color: #fff; }
.badge-line { background: none; color: var(--red); border: 1px solid var(--red); }

/* ---------- The living mark: the real logo, with 빨강 and 쪽빛 drifting inside it like ink ---------- */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.livemark {
  display: block; position: relative; overflow: hidden; aspect-ratio: 450 / 383;
  background: var(--red);
  -webkit-mask-image: url(assets/logo_sym.png), conic-gradient(from -90deg, #000 var(--sweep, 360deg), transparent 0);
          mask-image: url(assets/logo_sym.png), conic-gradient(from -90deg, #000 var(--sweep, 360deg), transparent 0);
  -webkit-mask-size: contain, 100% 100%;  mask-size: contain, 100% 100%;
  -webkit-mask-repeat: no-repeat;         mask-repeat: no-repeat;
  -webkit-mask-position: center;          mask-position: center;
  -webkit-mask-composite: source-in;      mask-composite: intersect;
}
.livemark i { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.livemark i:nth-child(1) { left: -55%; top: -45%; background: radial-gradient(closest-side, var(--indigo) 0 40%, transparent 100%); animation: ink-a 16s ease-in-out infinite alternate; }
.livemark i:nth-child(2) { right: -60%; bottom: -55%; background: radial-gradient(closest-side, var(--navy) 0 35%, transparent 100%); animation: ink-b 21s ease-in-out infinite alternate; }
.livemark i:nth-child(3) { left: 10%; top: 20%; width: 70%; background: radial-gradient(closest-side, #c5283a 0 30%, transparent 100%); animation: ink-c 13s ease-in-out infinite alternate; }
@keyframes ink-a { to { transform: translate(75%, 55%); } }
@keyframes ink-b { to { transform: translate(-80%, -50%); } }
@keyframes ink-c { to { transform: translate(35%, -30%) scale(1.3); } }
.hero-mark { animation: draw 2.4s cubic-bezier(.65, 0, .2, 1) .2s both; }
@keyframes draw { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@media (prefers-reduced-motion: reduce) { .livemark i, .hero-mark { animation: none; } }

.wordmark { display: inline-block; width: 96px; aspect-ratio: 742 / 141; background: var(--red);
  -webkit-mask: url(assets/logo_word.png) center / contain no-repeat; mask: url(assets/logo_word.png) center / contain no-repeat; }

/* ---------- Top ---------- */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--bar);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--pad-r);
  background: rgba(249, 247, 243, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif-ko); font-weight: 700; letter-spacing: 0.18em; }
.livemark-sm { width: 28px; }
.top-links { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 0.88rem; color: var(--ink-2); }
.top-cta { color: var(--red); font-weight: 500; border-bottom: 1.5px solid var(--red); }
@media (max-width: 420px) { .top-links a:not(.top-cta) { display: none; } }

/* ---------- 1. Hero ---------- */
.hero { min-height: calc(100svh - var(--bar)); display: grid; align-items: center; padding: 40px var(--pad-r) 56px; }
.hero-in { max-width: var(--max); width: 100%; margin: 0 auto; position: relative; }
.hero .caps { color: var(--ink-2); }
.hero-mark { width: clamp(84px, 24vw, 132px); margin: 26px 0 18px; }
.hero h1 { font-family: var(--serif-ko); font-weight: 900; font-size: clamp(5rem, 27vw, 13rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 .dot { color: var(--ink); }
.hero-en { font-family: var(--serif-en); font-size: clamp(1.3rem, 5vw, 2rem); margin-top: 14px; }
.hero-lede { margin-top: 22px; font-size: clamp(1.02rem, 4.2vw, 1.25rem); line-height: 1.8; }
.hero-sign { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 900px) {
  .hero { padding: 40px var(--pad-r) 64px var(--pad-l); }
  .hero-mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(30vw, 380px); margin: 0; }
  .hero h1 { margin-top: 30px; font-size: clamp(7rem, 14vw, 11.5rem); }
  .hero-in > :not(.hero-mark) { max-width: 66%; }
}

/* ---------- The thread: one line that runs down the page and fills as you read ---------- */
main { position: relative; }
.rail { position: absolute; inset: 0; max-width: var(--max); margin: 0 auto; pointer-events: none; z-index: 2; }
.thread { position: absolute; left: var(--thread-x); top: 0; bottom: 0; width: 1.5px; background: var(--line); }
.thread span { display: block; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--red), var(--navy)); }
section > .wrap::before {
  content: ""; position: absolute; z-index: 3; left: calc(var(--thread-x) - 5px); top: 4px;
  width: 11.5px; height: 11.5px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  transition: background .5s ease, border-color .5s ease;
}
section.on > .wrap::before { background: var(--red); border-color: var(--red); }

section { padding: 96px 0; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.on .reveal, .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 2. 나의 이름은 ---------- */
.names { padding-bottom: 72px; }
.faces {
  list-style: none; margin-top: 36px; display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0 var(--pad-r) 4px var(--pad-l); scroll-padding-left: var(--pad-l);
}
.faces::-webkit-scrollbar { display: none; }
.faces li { flex: 0 0 68%; scroll-snap-align: start; }
.faces a { display: block; position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: #2a2622; }
.faces img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s ease; }
.faces a:hover img { transform: scale(1.04); }
.face-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 18px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.face-name b { display: block; font-family: var(--serif-ko); font-weight: 700; font-size: clamp(1.7rem, 7vw, 2.4rem); letter-spacing: 0.08em; line-height: 1.2; }
.face-name small { font-size: 0.8rem; opacity: .85; }
.play { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); }
.play::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
@media (min-width: 760px) {
  .faces { max-width: var(--max); margin: 44px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; }
}

/* ---------- 3. 하는 일 ---------- */
.does-list { list-style: none; margin-top: 40px; border-top: 2px solid var(--ink); }
.does-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.does-list .no { grid-row: span 2; font-family: var(--serif-en); color: var(--red); padding-top: 5px; }
.does-list h3 { font-size: 1.45rem; }
.does-list p { color: var(--ink-2); font-size: 0.96rem; margin-top: 2px; }
@media (min-width: 900px) {
  .does-list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .does-list li { display: block; padding: 26px 26px 30px 0; border-bottom: 0; }
  .does-list li + li { padding-left: 26px; border-left: 1px solid var(--line); }
  .does-list .no { display: block; margin-bottom: 22px; }
}
.maksabal { margin-top: 72px; }
.maksabal .q { font-family: var(--serif-ko); font-weight: 900; color: var(--red); font-size: clamp(2.6rem, 11vw, 5.2rem); line-height: 1.15; letter-spacing: -0.02em; }
.maksabal footer { margin-top: 20px; max-width: 34rem; color: var(--ink-2); font-size: 0.98rem; }
.maksabal footer b { color: var(--ink); font-family: var(--serif-ko); }
@media (min-width: 900px) { .maksabal .q br { display: none; } }

/* ---------- 4. Proof (the only dark band) ---------- */
.proof { background: var(--ink); color: var(--paper); padding: 72px 0; }
.proof > .wrap::before { background: var(--ink); border-color: #5a554e; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
.nums dt { font-family: var(--serif-en); font-weight: 600; font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: 1; color: #fff; }
.nums dt small { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: #e9a8af; margin-left: 4px; }
.nums .arw { font-size: 0.6em; color: #e9a8af; margin: 0 4px; }
.nums dd { margin-top: 10px; font-size: 0.84rem; color: #bdb6ab; line-height: 1.55; }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(4, 1fr); } }
.proof-badge { margin-top: 40px; font-size: 0.84rem; color: #bdb6ab; }
.proof-badge .badge { margin-right: 8px; }
.partners { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-family: var(--serif-ko); font-size: clamp(1rem, 4vw, 1.2rem); line-height: 2; color: #ece6da; }

/* ---------- Work index ---------- */
.index { list-style: none; margin-top: 36px; border-top: 2px solid var(--ink); }
.index li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.index .yr { grid-column: 1 / -1; font-family: var(--serif-en); font-weight: 600; color: var(--red); font-size: 0.92rem; }
.index h3 { font-size: 1.12rem; line-height: 1.45; }
.index p { color: var(--ink-2); font-size: 0.92rem; margin-top: 2px; }
.index .new { font-style: normal; font-family: var(--sans); font-size: 0.68rem; font-weight: 700; color: var(--red); border: 1px solid var(--red); padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.index .go { font-size: 0.86rem; font-weight: 500; color: var(--red); white-space: nowrap; padding-top: 2px; }
@media (min-width: 760px) {
  .index li { grid-template-columns: 120px 1fr auto; gap: 0 20px; padding: 22px 0; }
  .index .yr { grid-column: auto; font-size: 1.05rem; padding-top: 2px; }
  .index h3 { font-size: 1.22rem; }
}
.beyond { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; font-size: 0.92rem; color: var(--ink-2); }
.beyond b { flex: 1 1 100%; font-family: var(--serif-ko); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
.beyond a { color: var(--navy); border-bottom: 1px solid #b9c4d3; }

/* ---------- 5. Founder ---------- */
.founder h2 { letter-spacing: 0.1em; }
.founder h2 small, .card h2 small { font-family: var(--sans); font-size: 0.42em; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; margin-left: 8px; }
.founder-lede { margin-top: 18px; font-family: var(--serif-ko); font-size: clamp(1.15rem, 4.8vw, 1.5rem); line-height: 1.75; }
.cv { margin-top: 34px; border-top: 2px solid var(--ink); }
.cv > div { display: grid; gap: 2px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cv dt { font-family: var(--serif-ko); font-weight: 700; }
.cv dd { color: var(--ink-2); font-size: 0.94rem; }
@media (min-width: 760px) { .cv > div { grid-template-columns: 140px 1fr; gap: 16px; } }
@media (min-width: 1000px) { .founder-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; } .cv { margin-top: 30px; } }

/* ---------- 6. Contact — the one card on the page, as on the business card ---------- */
.contact { padding-bottom: 80px; }
.card { background: #fff; border-left: 6px solid var(--red); padding: 28px 24px; box-shadow: 0 30px 70px -44px rgba(30, 29, 27, .5); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.card-top em { font-family: var(--serif-en); color: var(--muted); font-size: 0.88rem; }
.card h2 { margin-top: 26px; font-size: clamp(2.2rem, 10vw, 3.1rem); letter-spacing: 0.12em; }
.card-info { display: grid; gap: 11px; margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.card-info > div { display: grid; grid-template-columns: 62px 1fr; align-items: baseline; }
.card-info dt { font-family: var(--serif-en); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--muted); }
.card-info dd { font-size: clamp(1rem, 4.2vw, 1.2rem); font-weight: 500; }
.card-info a:hover { color: var(--red); }
.card-foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 260px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 2px; font-weight: 500; flex: 1 1 120px; transition: background .2s, color .2s; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-deep); }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--indigo); }
.btn-line { border-color: var(--ink); } .btn-line:hover { background: var(--ink); color: var(--paper); }
.card-qr { display: flex; gap: 14px; }
.card-qr a { display: grid; justify-items: center; gap: 4px; font-size: 0.72rem; color: var(--ink-2); }
.card-qr img { width: 84px; height: 84px; border: 1px solid var(--line); padding: 3px; background: #fff; }
@media (min-width: 760px) { .card { padding: 44px 52px; } .btn { flex: 0 0 auto; } }
.to-producers { margin-top: 30px; font-size: 0.94rem; color: var(--ink-2); }
.to-producers a { color: var(--navy); font-weight: 500; border-bottom: 1px solid #b9c4d3; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 22px calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.foot p { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- Producers page ---------- */
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-family: var(--serif-ko); font-weight: 900; font-size: clamp(2.3rem, 9.5vw, 4.4rem); line-height: 1.25; letter-spacing: -0.02em; }
.why { list-style: none; counter-reset: why; margin-top: 36px; border-top: 2px solid var(--ink); }
.why li { counter-increment: why; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif-ko); font-size: 1.08rem; line-height: 1.6; }
.why li::before { content: counter(why, decimal-leading-zero); font-family: var(--serif-en); color: var(--red); font-size: 0.95rem; padding-top: 2px; }
.promise { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.promise li { padding-left: 26px; position: relative; }
.promise li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.no-promise { margin-top: 22px; color: var(--muted); font-size: 0.9rem; }

/* ---------- In-page video player ---------- */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; margin: auto; }
.player::backdrop { background: rgba(20, 18, 16, .88); }
.player-frame { width: min(92vw, 960px); aspect-ratio: 16 / 9; background: #000; }
.player.is-short .player-frame { width: min(92vw, calc(86svh * 9 / 16), 420px); aspect-ratio: 9 / 16; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1rem; cursor: pointer; }

/* 생산자 집짓기: 집 + 이야기방 */
.rooms { display: grid; gap: 0; margin-top: 36px; border-top: 2px solid var(--ink); }
.room { padding: 24px 0; border-bottom: 1px solid var(--line); }
.room-tag { font-size: 0.78rem; color: var(--red); font-weight: 500; }
.room h3 { font-size: clamp(2rem, 8vw, 2.8rem); margin: 4px 0 10px; letter-spacing: 0.04em; }
.room h3 small { font-family: var(--serif-en); font-size: 0.4em; font-weight: 600; letter-spacing: 0.3em; color: var(--navy); margin-left: 6px; vertical-align: 0.5em; }
.room p:last-child { color: var(--ink-2); max-width: 30rem; }
@media (min-width: 760px) { .rooms { grid-template-columns: 1fr 1fr; } .room { padding: 30px 32px 34px 0; border-bottom: 0; } .room + .room { padding-left: 32px; border-left: 1px solid var(--line); } }
