/* =====================================================
   Agency VC 인터뷰 페이지
   컨셉: 편집실(다크 스크리닝룸) 위에 놓인 라이트박스 카드.
   왼쪽 레일은 실제 비디오 편집 타임라인처럼 스크롤에 맞춰
   REC 타임코드가 흐르고, 챕터 마커가 하이라이트된다.
   ===================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root{
  --ink: #15161a;
  --ink-2: #1c1d22;
  --paper: #f6f2e9;
  --paper-dim: #e9e2d0;
  --text-on-ink: #f3efe6;
  --text-on-ink-soft: #96918a;
  --text-on-paper: #201f1b;
  --text-on-paper-soft: #5c574c;
  --red: #e6432a;
  --blue: #4c7cf0;
  --line-on-ink: rgba(243,239,230,0.12);
  --line-on-paper: rgba(32,31,27,0.12);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--text-on-ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }

::selection{ background:var(--red); color:#fff; }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- layout shell ---------- */
.page{
  position:relative;
  padding-left:96px;
}
@media (max-width: 900px){
  .page{ padding-left:0; padding-top:34px; }
}

/* ---------- timeline rail (desktop) ---------- */
.rail{
  position:fixed;
  left:0; top:0; bottom:0;
  width:96px;
  border-right:1px solid var(--line-on-ink);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:28px 0;
  z-index:40;
  background:linear-gradient(180deg, rgba(21,22,26,0.98), rgba(21,22,26,0.9));
}
@media (max-width: 900px){ .rail{ display:none; } }

.rail__rec{
  display:flex; align-items:center; gap:6px;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.08em;
  color:var(--red);
}
.rail__rec .dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 0 rgba(230,67,42,.6);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(230,67,42,.55); }
  70%{ box-shadow:0 0 0 6px rgba(230,67,42,0); }
  100%{ box-shadow:0 0 0 0 rgba(230,67,42,0); }
}

.rail__tc{
  margin-top:6px;
  font-family:var(--mono);
  font-size:11px;
  color:var(--text-on-ink-soft);
  letter-spacing:.02em;
}

.rail__track{
  position:relative;
  flex:1;
  width:2px;
  background:var(--line-on-ink);
  margin:22px 0;
  border-radius:2px;
}
.rail__fill{
  position:absolute;
  top:0; left:0; width:100%;
  height:0%;
  background:var(--red);
  border-radius:2px;
}
.rail__marks{
  position:absolute;
  inset:0;
}
.rail__mark{
  position:absolute;
  left:50%;
  transform:translate(-50%,-50%);
  width:10px; height:10px;
  border-radius:50%;
  background:var(--ink);
  border:2px solid var(--text-on-ink-soft);
  cursor:pointer;
  transition:border-color .2s, background .2s, transform .2s;
}
.rail__mark:hover{ transform:translate(-50%,-50%) scale(1.15); }
.rail__mark.is-active{
  border-color:var(--red);
  background:var(--red);
}
.rail__mark .rail__label{
  position:absolute;
  left:18px; top:50%;
  transform:translateY(-50%);
  font-family:var(--mono);
  font-size:10px;
  color:var(--text-on-ink-soft);
  white-space:nowrap;
  opacity:0;
  transition:opacity .2s;
  pointer-events:none;
}
.rail__mark:hover .rail__label,
.rail__mark.is-active .rail__label{ opacity:1; color:var(--text-on-ink); }

.rail__end{
  font-family:var(--mono);
  font-size:10px;
  color:var(--text-on-ink-soft);
  letter-spacing:.08em;
}

/* ---------- mobile top progress ---------- */
.topbar{
  position:fixed; top:0; left:0; right:0; height:3px;
  background:var(--line-on-ink);
  z-index:50;
  display:none;
}
.topbar__fill{
  height:100%; width:0%;
  background:var(--red);
}
.topbar__tc{
  position:fixed; top:8px; right:12px;
  font-family:var(--mono);
  font-size:10px;
  color:var(--text-on-ink-soft);
  background:rgba(21,22,26,.85);
  padding:3px 7px;
  border-radius:4px;
  z-index:50;
  display:none;
}
@media (max-width:900px){
  .topbar, .topbar__tc{ display:block; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:92vh;
  display:flex;
  align-items:center;
  padding:64px 56px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 90% 70% at 30% 40%, rgba(76,124,240,0.08), transparent 60%),
    var(--ink);
}
@media (max-width:640px){ .hero{ padding:88px 20px 40px; min-height:88vh; align-items:flex-start; } }

/* 방송 신호 컬러바 (규격화면 컬러 캘리브레이션 스트립) */
.hero__colorbar{
  position:absolute; top:0; left:0; right:0;
  height:5px;
  display:flex;
  z-index:2;
}
.hero__colorbar span{ flex:1; }
.hero__colorbar span:nth-child(1){ background:#f3efe6; }
.hero__colorbar span:nth-child(2){ background:#e6432a; }
.hero__colorbar span:nth-child(3){ background:#e0a53f; }
.hero__colorbar span:nth-child(4){ background:#4c7cf0; }
.hero__colorbar span:nth-child(5){ background:#5c8a6f; }
.hero__colorbar span:nth-child(6){ background:#3a3830; }

/* 3분할 뷰파인더 그리드 */
.hero__grid{ position:absolute; inset:0; pointer-events:none; }
.hero__grid i{ position:absolute; background:rgba(243,239,230,0.06); }
.hero__grid i:nth-child(1){ left:33.33%; top:0; bottom:0; width:1px; }
.hero__grid i:nth-child(2){ left:66.66%; top:0; bottom:0; width:1px; }
.hero__grid i:nth-child(3){ top:33.33%; left:0; right:0; height:1px; }
.hero__grid i:nth-child(4){ top:66.66%; left:0; right:0; height:1px; }

/* 자동초점 브래킷 */
.hero__brackets i{
  position:absolute;
  width:26px; height:26px;
  border:1.5px solid rgba(243,239,230,0.3);
  pointer-events:none;
}
.hero__brackets .tl{ top:34px; left:34px; border-right:none; border-bottom:none; }
.hero__brackets .tr{ top:34px; right:34px; border-left:none; border-bottom:none; }
.hero__brackets .bl{ bottom:34px; left:34px; border-right:none; border-top:none; }
.hero__brackets .br{ bottom:34px; right:34px; border-left:none; border-top:none; }
@media (max-width:640px){
  .hero__brackets i{ width:18px; height:18px; }
  .hero__brackets .tl, .hero__brackets .tr{ top:74px; }
  .hero__brackets .tl, .hero__brackets .bl{ left:20px; }
  .hero__brackets .tr, .hero__brackets .br{ right:20px; }
  .hero__brackets .bl, .hero__brackets .br{ bottom:20px; }
}

/* 재생 대기 상태를 암시하는 큰 유령 플레이 아이콘 */
.hero__ghost{
  position:absolute;
  right:-40px; bottom:-60px;
  width:min(60vw, 620px);
  height:min(60vw, 620px);
  fill:rgba(243,239,230,0.035);
  pointer-events:none;
  z-index:0;
}

.hero__hud{
  position:absolute;
  top:34px; left:70px; right:70px;
  display:flex; justify-content:space-between;
  font-family:var(--mono);
  font-size:11px;
  color:rgba(243,239,230,0.75);
  letter-spacing:.06em;
  z-index:2;
}
.hero__hud span.rec{ color:var(--red); }
@media (max-width:640px){ .hero__hud{ top:16px; left:20px; right:20px; font-size:10px; } }

.hero__content{ position:relative; z-index:2; max-width:820px; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-on-ink-soft);
  margin-bottom:18px;
}
.eyebrow .badge{
  width:20px; height:20px;
  border-radius:50%;
  background:var(--blue);
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--sans); font-weight:800; font-size:10px; color:#0d1626;
}
.hero__title{
  font-size:clamp(30px, 4.6vw, 58px);
  line-height:1.22;
  font-weight:800;
  letter-spacing:-0.01em;
  margin:0 0 20px;
  color:var(--text-on-ink);
}
.hero__title .accent{ color:var(--red); }
.hero__sub{
  font-family:var(--mono);
  font-size:14px;
  color:var(--text-on-ink-soft);
  margin:0;
  letter-spacing:.02em;
}
/* ---------- main content column ---------- */
.content{
  max-width:760px;
  margin:0 auto;
  padding:0 24px 140px;
}
@media (min-width:900px){ .content{ padding:0 48px 160px; } }

/* chapter header */
.chapter{
  padding-top:96px;
  scroll-margin-top:40px;
}
.chapter__head{
  display:flex;
  align-items:baseline;
  gap:16px;
  margin-bottom:26px;
  flex-wrap:wrap;
}
.chapter__no{
  font-family:var(--mono);
  font-size:13px;
  color:var(--red);
  letter-spacing:.08em;
  white-space:nowrap;
}
.chapter__tc{
  font-family:var(--mono);
  font-size:12px;
  color:var(--text-on-ink-soft);
}
.chapter__title{
  font-size:clamp(22px, 3vw, 30px);
  font-weight:800;
  line-height:1.4;
  margin:8px 0 0;
  color:var(--text-on-ink);
  flex-basis:100%;
}
.chapter__rule{
  height:1px;
  background:var(--line-on-ink);
  margin-bottom:44px;
}

/* Q&A block */
.qa{ margin-bottom:56px; }
.qa__q{
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-weight:700;
  font-size:16px;
  line-height:1.55;
  color:var(--text-on-ink);
  margin:0 0 16px;
}
.qa__q .tag{
  flex:none;
  font-family:var(--mono);
  font-size:12px;
  color:var(--ink);
  background:var(--red);
  padding:3px 8px;
  border-radius:4px;
  transform:translateY(2px);
}
.qa__a{
  background:var(--paper);
  color:var(--text-on-paper);
  border-radius:2px;
  padding:26px 28px;
  position:relative;
  box-shadow:0 24px 48px -24px rgba(0,0,0,.55);
}
.qa__a::before{
  content:"“";
  position:absolute;
  top:-6px; left:18px;
  font-size:56px;
  font-family:Georgia, serif;
  color:var(--paper-dim);
  line-height:1;
}
.qa__a p{
  margin:0 0 14px;
  font-size:15.5px;
  line-height:1.85;
  color:var(--text-on-paper);
}
.qa__a p:last-child{ margin-bottom:0; }
.qa__a strong{ color:var(--red); }

.qa__quicka{
  font-weight:700;
  font-family:var(--mono);
  font-size:14px;
  color:var(--red) !important;
}

/* metric chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}
.chip{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.03em;
  color:var(--blue);
  border:1px solid rgba(76,124,240,0.5);
  background:rgba(76,124,240,0.08);
  padding:5px 10px;
  border-radius:4px;
  white-space:nowrap;
}

/* figure / photo caption */
.figure{
  margin:36px 0 56px;
}
.figure img{
  width:100%;
  border-radius:2px;
}
.figure figcaption{
  display:flex;
  gap:10px;
  align-items:baseline;
  margin-top:12px;
  font-family:var(--mono);
  font-size:12.5px;
  color:var(--text-on-ink-soft);
  line-height:1.6;
}
.figure figcaption .rec-tag{
  flex:none;
  color:var(--red);
}
.figure .figure__link{
  display:inline-block;
  margin-top:10px;
  font-family:var(--mono);
  font-size:12px;
  color:var(--blue);
  text-decoration:underline;
  text-decoration-color:rgba(76,124,240,.4);
}
.figure--tall img{ max-width:340px; margin:0 auto; }

/* closing */
.closing{
  padding-top:70px;
  border-top:1px solid var(--line-on-ink);
  margin-top:20px;
}
.closing__eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.1em;
  color:var(--red);
  margin-bottom:14px;
}
.closing__quote{
  font-size:clamp(22px,3.4vw,32px);
  font-weight:800;
  line-height:1.5;
  margin:0 0 32px;
}
.closing__cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin-top:8px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--red);
  color:#141313;
  font-weight:800;
  font-size:15px;
  padding:14px 22px;
  border-radius:4px;
  text-decoration:none;
  transition:transform .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-1px); background:#ff5b3f; }
.btn svg{ width:14px; height:14px; }
.closing__note{
  font-family:var(--mono);
  font-size:12px;
  color:var(--text-on-ink-soft);
}

/* footer */
.footer{
  padding:40px 0 0;
  margin-top:60px;
  border-top:1px solid var(--line-on-ink);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-family:var(--mono);
  font-size:11px;
  color:var(--text-on-ink-soft);
}
