/* ───────── Base ───────── */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, canvas { display: block; }
button { font: inherit; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.xs { font-size: 11px; }
.muted { color: var(--muted); }
.o { color: var(--orange); text-transform: none; }
:lang(ko) body { word-break: keep-all; }

.px-icon.xl { width: 48px; height: 48px; }
.px-icon.xxl { width: 72px; height: 72px; }

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand { justify-self: start; display: block; line-height: 0; }
.brand-logo { display: block; height: 46px; width: auto; transform-origin: 50% 60%; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  transition: border-color .2s, background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--orange); color: var(--orange); outline: none; }
.main-nav a[aria-current="page"] { background: var(--orange-deep); border-color: var(--orange); color: var(--orange); }
.caret { font-size: 10px; opacity: .7; }

.nav-group { position: relative; }
.dropdown.window {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 250px;
  transform: translate(-50%, -6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown, .nav-group.open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a { display: flex; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--hair); }
.dropdown a:hover { background: var(--orange); color: #000; border-color: var(--orange); }

.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.social-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--hair);
  transition: border-color .2s, transform .2s;
}
.social-btn .px-icon { width: 20px; height: 20px; }
.social-btn:hover, .social-btn:focus-visible { border-color: var(--orange); transform: translateY(-2px); outline: none; }

.header-line {
  position: absolute;
  left: 0; right: 0;
  bottom: -14px;
  width: 100%;
  height: 28px;
  pointer-events: none;
}

/* ───────── Windows (레트로 OS 창) ───────── */
.window {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--orange);
  box-shadow: 6px 6px 0 var(--orange-deep);
}
.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 7px;
  border-bottom: 1px solid var(--orange);
  background:
    repeating-linear-gradient(180deg, var(--orange) 0 1px, transparent 1px 3px) center / 100% 13px no-repeat;
}
.win-close, .win-zoom {
  position: relative; z-index: 1;
  width: 13px; height: 13px;
  border: 1px solid var(--orange);
  background: var(--panel);
  box-shadow: 0 0 0 3px var(--panel);
  cursor: default;
}
.win-zoom::after { content: ""; position: absolute; inset: 2px 4px 4px 2px; border: 1px solid var(--orange); }
.win-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  padding: 0 10px;
  background: var(--panel);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--orange);
  white-space: nowrap;
}
.win-body { padding: 18px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--orange);
  background: var(--bg);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--orange-deep);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .2s, color .2s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--orange-deep); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--orange-deep); }
.btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.btn-solid { background: var(--orange); color: #000; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ───────── Type ───────── */
.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.kicker .dot { width: 7px; height: 7px; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: blink 1.6s steps(2) infinite; }
.kicker .crumb { text-decoration: none; color: var(--muted); }
.kicker .crumb:hover { color: var(--orange); }
@keyframes blink { 50% { opacity: .25; } }

.hero-title, .page-title, .section-title, .cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
:lang(ko) .hero-title, :lang(ko) .page-title, :lang(ko) .section-title, :lang(ko) .cta-title { letter-spacing: -.05em; line-height: 1.08; }
.hero-title { font-size: clamp(42px, 6.4vw, 104px); }
.page-title { font-size: clamp(40px, 6vw, 92px); }
.section-title { font-size: clamp(30px, 4vw, 60px); }
.cta-title { font-size: clamp(44px, 8vw, 132px); }
.lead { max-width: 560px; margin: 24px 0 0; font-size: 17px; color: var(--muted); line-height: 1.75; }
.lead b { color: var(--orange); font-weight: 600; }
.note { margin: 16px 0 0; color: var(--muted); line-height: 1.6; text-transform: none; letter-spacing: .02em; }

/* ───────── Views / router ───────── */
.view { display: none; }
.view.active { display: block; animation: viewIn .5s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }

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

/* ───────── Home: hero ───────── */
.hero { padding-top: clamp(44px, 6vw, 88px); padding-bottom: 24px; }
.hero-title { max-width: 16ch; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 72px);
  margin-top: clamp(36px, 5vw, 64px);
  align-items: start;
}
.hero-aside { display: grid; gap: 26px; margin-top: clamp(0px, 4vw, 56px); }
.hero-aside .lead { margin: 0; }


.scope-row { padding: 12px; }
.hero-scope .scope-row { padding: 16px; }
.hero-scope .scope-screen { height: clamp(220px, 24vw, 340px); }
.scope-screen {
  position: relative;
  height: 96px;
  background: #000;
  border: 1px solid var(--hair);
  overflow: hidden;
}
.scope-screen::after { /* 스캔라인 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
}
.scope { width: 100%; height: 100%; }

.transport { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 12px; }
.tp-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #000;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--orange-deep);
  transition: transform .1s, box-shadow .1s;
}
.tp-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--orange-deep); }
.tp-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.tp-btn.sm { width: 34px; height: 34px; font-size: 12px; }
.tp-info { display: grid; gap: 2px; min-width: 0; }
.tp-info strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────── Blocks ───────── */
.block { padding-top: clamp(80px, 10vw, 140px); }
.block-head { margin-bottom: 40px; }
.block-head.split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-size: 13px; color: var(--orange); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* 작업물 타임라인: 가로 스크롤 */
/* 가로 스크롤은 본문 폭 안에서만 — 숨은 쪽 가장자리는 페이드 */
.tl-tools { display: flex; align-items: center; gap: 22px; }
.tl-nav { display: flex; gap: 6px; }
.tl-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--orange); background: transparent; color: var(--orange);
  font-family: var(--font-mono); font-size: 15px; cursor: pointer;
  transition: background .15s, color .15s, opacity .2s;
}
.tl-btn:hover:not(:disabled) { background: var(--orange); color: #000; }
.tl-btn:disabled { opacity: .25; cursor: default; }
.tl-scroller {
  --fl: 0px; --fr: 0px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  scroll-behavior: smooth;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-lo) transparent;
  padding-bottom: 18px;
  cursor: grab;
}
.tl-scroller.dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.tl-track {
  --stem: 44px;
  position: relative;
  display: flex;
  width: max-content;
  height: 500px;
  padding: 0 24px 0 12px;
}
.tl-track::before, .tl-track::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; }
.tl-track::before { top: 50%; background: var(--orange); box-shadow: 0 0 8px rgba(255, 106, 19, .6); }
.tl-track::after { top: calc(50% + 7px); background: var(--orange-lo); opacity: .55; }
.tl-item { position: relative; flex: none; width: 200px; }
.tl-node {
  position: absolute; left: 0; top: 50%; z-index: 1;
  width: 13px; height: 13px; transform: translate(-6px, -6px);
  background: #000; border: 2px solid var(--orange);
}
.tl-item.is-playing .tl-node { background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.tl-stem { position: absolute; left: 0; width: 1px; height: var(--stem); background: var(--orange-lo); }
.tl-item.up .tl-stem { top: calc(50% - var(--stem)); }
.tl-item.down .tl-stem { top: 50%; }
.tl-card {
  position: absolute; left: -1px; width: 300px;
  background: #000; border: 1px solid var(--orange);
  box-shadow: 5px 5px 0 var(--orange-deep);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tl-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--orange-deep); }
.tl-item.up .tl-card { bottom: calc(50% + var(--stem)); }
.tl-item.down .tl-card { top: calc(50% + var(--stem)); }
.tl-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--hair); }
.tl-card-top .mono { font-size: 10px; color: var(--muted); }
.tl-card-body { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; align-items: center; padding: 12px; }
.tl-card-body .cover-btn { grid-row: 1 / span 2; width: 56px; height: 56px; }
.tl-card-body strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 18px; line-height: 1.2; }
.tl-card-body strong { grid-column: 2; align-self: end; }
.tl-card-body .artist { grid-column: 2; align-self: start; font-size: 13px; color: var(--muted); }
.tl-card-body .tags { grid-column: 1 / -1; justify-content: flex-start; margin-top: 4px; }
.tl-year { position: relative; flex: none; width: 150px; }
.tl-year span {
  position: absolute; left: -10px; top: 50%; transform: translateY(-50%); z-index: 1;
  padding: 0 10px; background: #000;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--orange);
}
.tl-end { position: relative; flex: none; width: 310px; }
.tl-end .tl-node { animation: pulse 1.4s ease-in-out infinite; background: var(--orange); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 106, 19, .15), 0 0 18px var(--orange); } }
.tl-end a {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  display: grid; gap: 4px; padding: 0 10px; background: #000;
  text-decoration: none; white-space: nowrap;
}
.tl-end b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 30px; color: var(--orange); }
.tl-end span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.tl-end a:hover span { color: var(--text); }

/* 서비스: 지그재그 4단계 */
.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: clamp(56px, 7vw, 110px);
  padding: 30px 0 60px;
}
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-line path { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 5 9; opacity: .8; }
.stop { position: relative; isolation: isolate; display: block; padding: 0 0 0 38px; text-decoration: none; }
.stop:nth-of-type(1) { grid-column: 1 / span 5; }
.stop:nth-of-type(2) { grid-column: 7 / span 5; margin-top: 140px; }
.stop:nth-of-type(3) { grid-column: 2 / span 5; }
.stop:nth-of-type(4) { grid-column: 8 / span 5; margin-top: 140px; }
.stop-ghost {
  position: absolute; z-index: -1; left: 18px; top: -0.42em;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(120px, 14vw, 220px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 106, 19, .28);
  transition: -webkit-text-stroke-color .3s;
}
.stop:hover .stop-ghost { -webkit-text-stroke-color: rgba(255, 106, 19, .7); }
.stop-node { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.stop-tag { font-size: 11px; color: var(--muted); }
.stop h3 {
  margin: 10px 0 0;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(26px, 2.7vw, 44px); line-height: 1; letter-spacing: -.02em;
  color: var(--text); overflow-wrap: break-word; transition: color .2s;
}
.stop:hover h3 { color: var(--orange); }
.stop-ko { margin: 8px 0 0; font-family: var(--font-pixel); font-size: 12px; color: var(--orange); }
.stop-desc { margin: 14px 0 0; max-width: 36ch; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ───────── Track list ───────── */
.track-list { display: grid; }
.track {
  display: grid;
  grid-template-columns: 52px minmax(160px, 1.1fr) minmax(120px, 1.6fr) 236px 40px 96px;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
  transition: background .2s;
}
.track:last-child { border-bottom: 0; }
.track:hover { background: rgba(255, 106, 19, .05); }
.track.is-playing { background: rgba(255, 106, 19, .09); }
/* 앨범 커버 위에 재생 버튼 (사운드클라우드처럼: 마우스를 올리거나 재생 중일 때 표시) */
.cover-btn {
  position: relative; flex: none;
  width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--hair);
  background: #111 center / cover no-repeat;
  cursor: pointer; overflow: hidden;
  transition: border-color .2s;
}
.cover-btn::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .2s; }
.cover-btn .tp-icon {
  position: absolute; left: 50%; top: 50%;
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--orange); color: #000; font-size: 11px; line-height: 1;
  transform: translate(-50%, -50%) scale(.8); opacity: 0;
  transition: opacity .2s, transform .2s var(--ease);
}
.cover-btn:hover::before, .cover-btn:focus-visible::before, .is-playing .cover-btn::before { opacity: 1; }
.cover-btn:hover .tp-icon, .cover-btn:focus-visible .tp-icon, .is-playing .cover-btn .tp-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cover-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.is-playing .cover-btn { border-color: var(--orange); }
.cover-btn.sm { width: 44px; height: 44px; }
.cover-btn.sm::before { opacity: 1; background: rgba(0, 0, 0, .22); }
.cover-btn.sm .tp-icon { opacity: 1; width: 22px; height: 22px; font-size: 10px; transform: translate(-50%, -50%); }
.transport .cover-btn { width: 56px; height: 56px; }
@media (hover: none) { .cover-btn .tp-icon { opacity: .95; transform: translate(-50%, -50%) scale(.85); } }
.track-meta { display: flex; gap: 14px; align-items: baseline; min-width: 0; }
.track-no { font-size: 11px; color: var(--muted); }
.track-meta strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 17px; line-height: 1.25; }
.track-meta span.artist { display: block; font-size: 13px; color: var(--muted); }
.track-meta .tnote { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); opacity: .8; }
.track-wave { width: 100%; height: 40px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { padding: 3px 7px; border: 1px solid var(--orange-lo); font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--orange); }
.track-year { font-size: 12px; color: var(--muted); text-align: right; }
/* 역할: 맡은 것만, 오른쪽 정렬 (칸 너비가 고정이라 줄마다 웨이브폼 길이가 같습니다) */
.role-tags { flex-wrap: nowrap; gap: 4px; }
/* 듣기 링크: 아이콘 + 서비스 이름 */
.track-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; padding: 0 10px; border: 1px solid var(--orange-lo);
  color: var(--orange); text-decoration: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s;
}
.track > .track-link { justify-self: end; }
/* 스포티파이: 테두리 없이 로고만, 올리면 살짝 커짐 */
.track-link.is-logo { width: 32px; height: 32px; padding: 0; border: 0; transition: transform .2s var(--ease); }
.track-link.is-logo svg { width: 26px; height: 26px; }
a.track-link.is-logo:hover, a.track-link.is-logo:focus-visible { background: none; transform: scale(1.12); }
span.track-link { border-color: transparent; }
a.track-link:hover, a.track-link:focus-visible { background: var(--orange); color: #000; }


/* ───────── CTA ───────── */
.cta-block {
  display: grid;
  padding-top: clamp(100px, 14vw, 200px); padding-bottom: clamp(80px, 10vw, 140px);
}
.cta-copy { display: grid; gap: 36px; justify-items: start; }
.cta-title { color: var(--text); }

/* ───────── Page head ───────── */
.page-head { padding-top: clamp(56px, 8vw, 110px); padding-bottom: 48px; }
.page-head .kicker .px-icon { width: 20px; height: 20px; }

/* About */
.statement {
  margin: 0; max-width: 1100px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 110%;
  font-size: clamp(28px, 4.2vw, 62px); line-height: 1.16; letter-spacing: -.02em;
}
:lang(ko) .statement { letter-spacing: -.045em; line-height: 1.3; }
.statement .w { color: var(--faint); transition: color .35s; }
.statement .w.on { color: var(--text); }
.statement .w.hl.on { color: var(--orange); }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.about-text { margin-top: clamp(0px, 7vw, 110px); }
.profile { display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.profile-photo {
  aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 10px;
  background: repeating-linear-gradient(45deg, #0d0d0d 0 6px, #070707 6px 12px);
  border: 1px solid var(--hair); color: var(--muted);
}
.profile-photo.has-photo { background-size: cover; background-position: center; }
.profile-photo.has-photo > * { display: none; }
.spec { margin: 0; display: grid; gap: 0; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--hair); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--font-pixel); font-size: 11px; color: var(--orange); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15px; }
.spec.compact dd { font-family: var(--font-mono); font-size: 13px; }
.about-text > p:not(.note) { margin: 0 0 18px; font-size: 18px; line-height: 1.8; }
.sys-win { margin-top: 32px; }

.signal-flow {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  border-top: 1px solid var(--orange);
}
.signal-flow::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--orange-lo); opacity: .55; }
.signal-flow li { position: relative; padding-top: 40px; }
.signal-flow li:nth-child(even) { padding-top: 120px; }
.signal-flow li::before { content: ""; position: absolute; left: 0; top: -7px; width: 13px; height: 13px; background: #000; border: 2px solid var(--orange); }
.signal-flow li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 1px; height: 24px; background: var(--orange-lo); }
.signal-flow li:nth-child(even)::after { height: 104px; }
.signal-flow li:last-child::before { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.sf-no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.signal-flow strong { display: block; margin: 14px 0 8px; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 26px; color: var(--text); }
.signal-flow p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Works overview */
.folders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 40px; }
.folder-card { text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.folder-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--orange-deep); }
.folder-card .win-body { padding: 36px 32px 28px; display: grid; gap: 12px; justify-items: start; }
.folder-card h2 { margin: 18px 0 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -.02em; }
:lang(ko) .folder-card h2 { letter-spacing: -.05em; }
.folder-card p { margin: 0; color: var(--muted); }
.folder-foot { display: flex; justify-content: space-between; width: 100%; margin-top: 28px; padding-top: 16px; border-top: 1px dashed var(--hair); font-size: 12px; color: var(--orange); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: clamp(56px, 8vw, 110px); padding-bottom: 80px; align-items: start; }
.contact-copy .cta-title { font-size: clamp(40px, 6vw, 96px); }
.direct { display: grid; gap: 10px; margin-top: 44px; justify-items: start; }
.direct-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 20px;
  text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent;
}
.direct-link .px-icon { width: 22px; height: 22px; }
.direct-link:hover { color: var(--orange); border-color: var(--orange); }

.field { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.field > span, .field legend { font-family: var(--font-pixel); font-size: 11px; color: var(--orange); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  background: #000; color: var(--text);
  border: 1px solid #333; border-radius: 0;
  font: 15px/1.5 var(--font-body);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,233,220,.28); }
.field input.invalid { border-color: #ff3b30; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #333; font-size: 14px; transition: all .15s; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #000; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

/* ───────── Footer ───────── */
.site-footer { margin-top: 60px; border-top: 1px solid var(--orange); padding: 28px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-logo { display: block; height: 40px; width: auto; }
.footer-mid { display: grid; gap: 4px; text-align: center; color: var(--muted); }
.footer-right { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* ───────── Mini player ───────── */
.mini-player { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 320px; animation: popIn .25s var(--ease); }
.mini-player[hidden] { display: none; }
.win-x {
  position: relative; z-index: 1;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  padding: 0;
  border: 1px solid var(--orange);
  background: var(--panel);
  box-shadow: 0 0 0 3px var(--panel);
  color: var(--orange);
  font: 700 13px/1 var(--font-mono);
  cursor: pointer;
}
.win-x:hover, .win-x:focus-visible { background: var(--orange); color: #000; outline: none; }
.mini-player.is-stopped .mini-body .scope { opacity: .45; }
@keyframes popIn { from { transform: translateY(12px) scale(.96); opacity: 0; } }
.mini-body { display: grid; grid-template-columns: auto 1fr 64px; gap: 12px; align-items: center; padding: 12px; }
.mini-body .scope { height: 44px; background: #000; border: 1px solid var(--hair); }
.mini-info { display: grid; min-width: 0; }
.mini-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .signal-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .signal-flow li:nth-child(even) { padding-top: 40px; }
  .signal-flow li:nth-child(even)::after { height: 24px; }
  .stop:nth-of-type(n) { grid-column: span 6; margin-top: 0; }
  .stop:nth-of-type(even) { margin-top: 90px; }
}
@media (max-width: 960px) {
  :root { --header-h: 112px; }
  .site-header { grid-template-columns: 1fr auto; grid-template-rows: 60px 52px; row-gap: 0; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .hero-grid, .about-grid, .contact-grid, .folders, .cta-block { grid-template-columns: 1fr; }
  .hero-aside, .about-text { margin-top: 0; }
  .track { grid-template-columns: 44px 1fr auto auto; }
  .track-wave { grid-column: 1 / -1; grid-row: 2; }
  .track .tags { display: none; }
}
@media (max-width: 600px) {
  .main-nav a { padding: 8px 9px; font-size: 12px; gap: 6px; }
  .main-nav .px-icon { display: none; }
  .brand-logo { height: 36px; }
  .header-tools { gap: 6px; }
  .header-tools .social-btn { width: 30px; height: 30px; }
  .tl-track { height: 460px; }
  .tl-card { width: 250px; }
  .tl-item { width: 150px; }
  .stop:nth-of-type(n) { grid-column: 1 / -1; margin-top: 0; }
  .signal-flow { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--orange); padding-left: 24px; }
  .signal-flow::before { display: none; }
  .signal-flow li, .signal-flow li:nth-child(even) { padding-top: 0; }
  .signal-flow li::before { left: -31px; top: 8px; }
  .signal-flow li::after { display: none; }
  .profile { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 90px 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-right { justify-self: center; }
  .mini-player { left: 12px; right: 12px; width: auto; bottom: 12px; }
}

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