:root {
  --ink: #0b0b0c;
  --soft-ink: #161618;
  --paper: #efede7;
  --muted: #8e8b85;
  --line: rgba(255, 255, 255, .18);
  --dark-line: rgba(11, 11, 12, .18);
  --signal: #b7ff3c;
  --gutter: clamp(20px, 4.5vw, 78px);
  --header-h: 74px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all;
}
body::selection { color: var(--ink); background: var(--signal); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--signal);
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
}
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

.pointer-light {
  position: fixed;
  z-index: 0;
  left: 0;
  top: 0;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,255,60,.09), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
body.has-pointer .pointer-light { opacity: 1; }

.topbar {
  position: fixed;
  z-index: 800;
  inset: 0 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr auto;
  align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  background: rgba(11,11,12,.68);
  backdrop-filter: blur(14px);
  transition: height .3s ease, background .3s ease;
}
.topbar.is-scrolled { height: 62px; background: rgba(11,11,12,.92); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: .66rem; font-weight: 850; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink); background: var(--signal); font-size: .85rem; letter-spacing: 0; }
.topbar-status, .clock, .topbar nav a { font-size: .59rem; font-weight: 750; letter-spacing: .14em; }
.topbar-status { display: flex; align-items: center; justify-self: start; gap: 9px; color: #c7c4bc; }
.signal-dot, .media-rec i, .screen-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px rgba(183,255,60,.8); animation: blink 1.7s ease-in-out infinite; }
.topbar nav { display: flex; justify-self: center; gap: 34px; }
.topbar nav a { color: #a9a69f; transition: color .2s ease; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--signal); }
.clock { justify-self: end; color: #a9a69f; font-variant-numeric: tabular-nums; }

.signal-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + 24px) var(--gutter) 38px;
  background: var(--ink);
}
.signal-hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background: linear-gradient(115deg, rgba(183,255,60,.07), transparent 32%), repeating-linear-gradient(90deg, transparent 0 calc(25vw - 1px), rgba(255,255,255,.035) calc(25vw - 1px) 25vw);
}

.hero-media {
  position: absolute;
  z-index: -1;
  inset: calc(var(--header-h) + 5vh) var(--gutter) 5vh 36%;
  overflow: hidden;
  background: #29292b;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .15s linear;
  animation: media-in 1.1s var(--ease) both;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; filter: grayscale(.35) contrast(1.12) brightness(.74); transform: scale(1.035); }
.hero-media-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.82), transparent 35%), radial-gradient(circle at var(--mx, 55%) var(--my, 42%), transparent 0 8%, rgba(11,11,12,.08) 32%, rgba(11,11,12,.35) 100%); }
.scan-lines, .screen-noise, .preview-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.focus-frame { position: absolute; inset: 22px; }
.focus-frame i { position: absolute; width: 28px; height: 28px; border-color: var(--signal); border-style: solid; }
.focus-frame i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.focus-frame i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.focus-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.focus-frame i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.media-code, .media-rec { position: absolute; z-index: 2; top: 38px; font-size: .57rem; font-weight: 800; letter-spacing: .16em; }
.media-code { left: 42px; }
.media-rec { right: 42px; display: flex; align-items: center; gap: 9px; }

.hero-type { position: relative; z-index: 2; padding-top: clamp(40px, 8vh, 100px); }
.overline, .section-no { display: block; margin: 0; font-size: .6rem; font-weight: 800; letter-spacing: .19em; }
.overline { color: var(--signal); }
.hero-type h1 { margin: 12px 0 0 -0.055em; font-size: clamp(7.5rem, 18vw, 21rem); line-height: .72; letter-spacing: -.09em; font-weight: 950; }
.hero-korean { margin: clamp(24px, 5vh, 64px) 0 0; font-size: clamp(2.4rem, 5.2vw, 6.4rem); line-height: .91; letter-spacing: -.075em; font-weight: 780; }
.hero-korean strong { color: var(--signal); font-weight: 900; }
.hero-info { position: absolute; z-index: 3; left: var(--gutter); bottom: 48px; width: min(570px, 44vw); }
.hero-info > p { margin: 0 0 24px; color: #a3a099; font-size: .86rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.signal-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 230px; height: 58px; padding: 0 18px 0 22px; color: var(--ink); background: var(--signal); font-size: .78rem; font-weight: 850; transition: transform .25s var(--ease), background .2s ease; }
.signal-button:hover { transform: translateY(-4px); background: #d0ff7e; }
.signal-button svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.plain-link { display: inline-flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: .72rem; font-weight: 750; }
.plain-link span { color: var(--signal); }
.hero-index { position: absolute; z-index: 3; right: var(--gutter); bottom: 42px; display: flex; align-items: center; gap: 16px; font-size: .54rem; font-weight: 800; letter-spacing: .16em; writing-mode: vertical-rl; color: #77746e; }
.hero-index span:first-child { color: var(--signal); }

.intro-item { opacity: 0; transform: translateY(28px); animation: intro .85s var(--ease) forwards; }
.hero-type .intro-item:nth-child(1) { animation-delay: .28s; }
.hero-type .intro-item:nth-child(2) { animation-delay: .38s; }
.hero-type .intro-item:nth-child(3) { animation-delay: .5s; }
.hero-info.intro-item { animation-delay: .62s; }

.transmission { position: relative; z-index: 3; overflow: hidden; height: 68px; color: var(--ink); background: var(--signal); border-block: 1px solid var(--ink); }
.transmission-track { display: flex; align-items: center; width: max-content; height: 100%; animation: marquee 28s linear infinite; }
.transmission span { padding: 0 30px; font-size: .73rem; font-weight: 900; letter-spacing: .1em; }
.transmission i { font-style: normal; font-size: .85rem; }

.identity {
  position: relative;
  z-index: 2;
  min-height: 88svh;
  display: grid;
  grid-template-columns: 29% 1fr;
  color: var(--ink);
  background: var(--paper);
}
.identity-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(70px, 8vw, 130px) var(--gutter); border-right: 1px solid var(--dark-line); }
.identity-side img { width: clamp(150px, 14vw, 230px); aspect-ratio: 1; object-fit: cover; image-rendering: auto; filter: contrast(1.05); border: 1px solid var(--ink); }
.section-no { color: #66625c; }
.id-code { font-size: .57rem; font-weight: 800; letter-spacing: .16em; }
.identity-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(90px, 10vw, 170px) var(--gutter); }
.identity-small { margin: 0 0 42px; color: #68645e; font-size: .83rem; }
.identity h2 { margin: 0; font-size: clamp(4rem, 9.3vw, 11rem); line-height: .77; letter-spacing: -.09em; }
.identity h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.identity-note { align-self: flex-end; max-width: 510px; margin: 58px 0 0; color: #5f5b55; font-size: clamp(.98rem, 1.25vw, 1.2rem); line-height: 1.9; }

.channel-studio { position: relative; z-index: 2; padding: clamp(100px, 11vw, 175px) var(--gutter); background: var(--soft-ink); }
.studio-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.studio-head h2 { margin: 22px 0 0; font-size: clamp(4rem, 8.5vw, 10rem); line-height: .8; letter-spacing: -.09em; }
.studio-head > p { max-width: 350px; margin: 0 0 10px; color: #96938c; font-size: .86rem; line-height: 1.8; }
.mixer { display: grid; grid-template-columns: minmax(265px, .68fr) 2fr; gap: clamp(40px, 6vw, 100px); margin-top: clamp(80px, 9vw, 140px); }
.channel-tabs { border-top: 1px solid var(--line); }
.channel-tab { width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 7px 10px; align-items: center; min-height: 122px; padding: 20px 0; color: #87847e; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: color .25s ease, padding .35s var(--ease); }
.channel-tab:hover, .channel-tab:focus-visible { color: var(--paper); padding-left: 10px; outline: none; }
.channel-tab.is-active { color: var(--signal); padding-left: 18px; }
.channel-tab > span { grid-row: 1 / span 2; font-size: .6rem; font-weight: 800; }
.channel-tab strong { font-size: clamp(1.25rem, 2.1vw, 2.2rem); letter-spacing: -.045em; }
.channel-tab em { font-style: normal; font-size: .55rem; font-weight: 750; letter-spacing: .15em; }
.channel-panel { min-width: 0; }
.channel-screen { position: relative; aspect-ratio: 16 / 8.7; margin: 0; overflow: hidden; background: #080809; }
.channel-screen::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.24); pointer-events: none; }
.channel-screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.1); transition: opacity .26s ease, transform .75s var(--ease), filter .4s ease; }
.channel-screen:hover img { transform: scale(1.025); filter: saturate(.95) contrast(1.08); }
.channel-screen.is-switching img { opacity: 0; transform: scale(1.045); }
.channel-screen figcaption, .screen-state { position: absolute; z-index: 3; bottom: 22px; font-size: .58rem; font-weight: 800; letter-spacing: .15em; }
.channel-screen figcaption { left: 24px; }
.screen-state { right: 24px; display: flex; align-items: center; gap: 8px; }
.channel-copy { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; padding-top: 30px; }
.channel-copy h3 { margin: 0; font-size: clamp(2rem, 3.3vw, 4rem); line-height: 1.05; letter-spacing: -.065em; }
.channel-copy p { margin: 0; color: #9b9891; font-size: .86rem; line-height: 1.85; }
.channel-copy a { grid-column: 2; justify-self: start; display: inline-flex; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #77746e; font-size: .7rem; font-weight: 800; }
.channel-copy a span { color: var(--signal); }
.channel-copy.is-switching > * { animation: copy-switch .36s var(--ease) both; }

.archive-browser { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.35fr; min-height: 100svh; color: var(--ink); background: var(--paper); }
.archive-preview { position: sticky; top: 0; align-self: start; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) var(--gutter) 40px; border-right: 1px solid var(--dark-line); }
.archive-preview figure { position: relative; margin: 52px 0 26px; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.archive-preview img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.06); transition: opacity .22s ease, transform .55s var(--ease); }
.archive-preview figure.is-switching img { opacity: .18; transform: scale(1.04); }
.archive-preview figcaption { position: absolute; z-index: 3; right: 17px; bottom: 15px; padding: 7px 10px; color: var(--paper); background: var(--ink); font-size: .58rem; font-weight: 850; letter-spacing: .13em; }
.archive-preview > p { margin: 0; color: #77736d; font-size: .73rem; line-height: 1.7; }
.archive-list { padding: clamp(110px, 11vw, 175px) var(--gutter); }
.archive-list-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(70px, 8vw, 120px); }
.archive-list-head h2 { margin: 0; font-size: clamp(4.5rem, 8vw, 9rem); line-height: .78; letter-spacing: -.09em; }
.archive-list-head a { display: inline-flex; gap: 9px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 800; }
.archive-list-head a span { color: #6650d7; }
.archive-row { display: grid; grid-template-columns: 45px 1fr auto 35px; gap: 20px; align-items: center; min-height: 150px; border-top: 1px solid var(--dark-line); transition: padding .35s var(--ease), color .25s ease, background .25s ease; }
.archive-row:last-child { border-bottom: 1px solid var(--dark-line); }
.archive-row:hover, .archive-row:focus-visible, .archive-row.is-current { padding-left: 18px; color: var(--ink); background: rgba(183,255,60,.52); outline: none; }
.archive-num, .archive-row time { color: #77736d; font-size: .58rem; font-weight: 800; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.archive-row-title { display: flex; flex-direction: column; gap: 8px; }
.archive-row-title strong { font-size: clamp(1.05rem, 1.7vw, 1.75rem); letter-spacing: -.04em; }
.archive-row-title small { color: #77736d; font-size: .65rem; }
.row-arrow { font-size: 1.2rem; transition: transform .25s ease; }
.archive-row:hover .row-arrow, .archive-row:focus-visible .row-arrow { transform: translate(4px, -4px); }

.final-signal { position: relative; z-index: 2; min-height: 94svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 120px var(--gutter); color: var(--ink); background: var(--signal); }
.final-signal .overline { color: var(--ink); }
.final-signal h2 { position: relative; z-index: 2; margin: 32px 0 54px; font-size: clamp(5.2rem, 14vw, 16rem); line-height: .7; letter-spacing: -.1em; }
.final-signal h2 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.final-button { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: space-between; gap: 55px; min-width: min(410px, 100%); min-height: 76px; padding: 0 24px 0 30px; color: var(--paper); background: var(--ink); font-size: .85rem; font-weight: 850; transition: transform .12s linear; }
.final-button svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.final-stamp { position: absolute; right: -1vw; bottom: -2vw; font-size: clamp(8rem, 20vw, 23rem); line-height: .6; font-weight: 950; letter-spacing: -.1em; color: transparent; -webkit-text-stroke: 1px rgba(11,11,12,.22); text-align: right; transform: rotate(-7deg); }

footer { position: relative; z-index: 3; min-height: 132px; display: grid; grid-template-columns: 1fr auto auto; gap: 55px; align-items: center; padding: 0 var(--gutter); border-top: 1px solid var(--line); background: var(--ink); }
footer p { margin: 0; color: #7d7a74; font-size: .57rem; font-weight: 800; letter-spacing: .13em; }

.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes intro { to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: perspective(1200px) translateY(40px); } to { opacity: 1; clip-path: inset(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 0%,100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes copy-switch { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .topbar-status { display: none; }
  .hero-media { left: 31%; }
  .hero-type h1 { font-size: 20vw; }
  .identity { grid-template-columns: 35% 1fr; }
  .mixer { grid-template-columns: 1fr; }
  .channel-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .channel-tab { min-height: 140px; border-right: 1px solid var(--line); }
  .channel-tab:last-child { border-right: 0; }
  .archive-browser { grid-template-columns: .82fr 1.18fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .pointer-light { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav, .clock { display: none; }
  .topbar::after { content: "SIGNAL READY"; color: var(--signal); font-size: .54rem; font-weight: 800; letter-spacing: .12em; }
  .signal-hero { min-height: 820px; padding-bottom: 30px; }
  .signal-hero::before { background: linear-gradient(115deg, rgba(183,255,60,.07), transparent 38%); }
  .hero-media { inset: calc(var(--header-h) + 18px) 0 auto 0; height: 53vh; min-height: 390px; transform: none !important; }
  .hero-media img { object-position: 68% center; }
  .hero-media-wash { background: linear-gradient(0deg, var(--ink) 0, transparent 43%, rgba(11,11,12,.14) 100%); }
  .focus-frame { inset: 14px; }
  .media-code, .media-rec { top: 25px; }
  .media-code { left: 25px; }
  .media-rec { right: 25px; }
  .hero-type { padding-top: 44vh; }
  .hero-type h1 { margin-top: 15px; font-size: 29vw; }
  .hero-korean { margin-top: 26px; font-size: 13vw; }
  .hero-info { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 30px; }
  .hero-info > p { font-size: .76rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .signal-button { width: 100%; }
  .hero-index { display: none; }
  .transmission { height: 58px; }
  .identity { min-height: auto; grid-template-columns: 1fr; }
  .identity-side { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .identity-side img { width: 170px; align-self: center; }
  .identity-main { padding-top: 90px; padding-bottom: 100px; }
  .identity h2 { font-size: 16vw; line-height: .85; }
  .identity-note { align-self: flex-start; margin-top: 42px; }
  .studio-head { align-items: flex-start; flex-direction: column; }
  .studio-head h2 { font-size: 16vw; }
  .channel-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .channel-tabs::-webkit-scrollbar { display: none; }
  .channel-tab { flex: 0 0 78vw; scroll-snap-align: start; min-height: 128px; }
  .channel-tab.is-active { padding-left: 12px; }
  .channel-screen { aspect-ratio: 4 / 3; }
  .channel-copy { grid-template-columns: 1fr; gap: 22px; }
  .channel-copy a { grid-column: auto; }
  .archive-browser { display: block; min-height: auto; }
  .archive-preview { position: relative; height: auto; padding-top: 100px; padding-bottom: 70px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .archive-preview figure { margin-top: 35px; }
  .archive-list { padding-top: 90px; padding-bottom: 100px; }
  .archive-list-head { align-items: flex-start; flex-direction: column; }
  .archive-list-head h2 { font-size: 17vw; }
  .archive-row { grid-template-columns: 32px 1fr 24px; min-height: 126px; gap: 14px; }
  .archive-row time { display: none; }
  .archive-row:hover, .archive-row:focus-visible, .archive-row.is-current { padding-left: 8px; }
  .final-signal { min-height: 760px; }
  .final-signal h2 { font-size: 19vw; line-height: .8; }
  .final-button { width: 100%; min-width: 0; }
  footer { grid-template-columns: 1fr; align-content: center; gap: 13px; padding-block: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro-item, .reveal { opacity: 1; transform: none; }
  .transmission-track { animation: none; }
}
