/* ─────────────────────────────────────────
   RESET + TOKENS
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:      #fff;
  --fg:      #111;
  --muted:   #aaa;
  --dim:     #888;
  --border:  #e8e8e8;
  --left-w:  300px;
  --font:    'IBM Plex Mono', monospace;
  --sm:      11px;
  --base:    13px;
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--base);
  line-height: 1.75;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   LAYOUT — two independent scroll columns
───────────────────────────────────────── */
.layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.col {
  height: 100vh;
  overflow-y: auto;
  padding: 44px 36px;
}

.col--left {
  width: var(--left-w);
  min-width: var(--left-w);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.col--mid {
  flex: 1;
  padding-left: 52px;
  padding-right: 52px;
}

.col--right {
  width: var(--left-w);
  min-width: var(--left-w);
  border-left: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   LEFT — IDENTITY
───────────────────────────────────────── */
.id-block {
  margin-bottom: 0;
}

.id-handle {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.id-sub {
  font-size: var(--sm);
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.cursor {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  vertical-align: baseline;
  margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.side-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bio-text {
  font-size: var(--sm);
  color: #555;
  line-height: 1.9;
  text-transform: lowercase;
}

.bio-text + .bio-text {
  margin-top: 14px;
}

.side-label {
  font-size: var(--sm);
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.side-item {
  font-size: var(--sm);
  color: var(--fg);
}

.side-item.dim {
  color: var(--dim);
}

.side-link {
  display: block;
  font-size: var(--sm);
  color: var(--dim);
}

.side-link:hover {
  color: var(--fg);
  text-decoration: underline;
}

.cosmos {
  width: 100%;
  display: block;
  margin-top: 28px;
}

/* ─────────────────────────────────────────
   RIGHT — SECTIONS
───────────────────────────────────────── */
.r-section {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.r-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.r-section.no-rule {
  border-bottom: none;
}

.r-label {
  font-size: var(--sm);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  text-transform: lowercase;
}

/* YouTube */
.yt-wrap {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: var(--border);
}

.yt-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Work entries */
.entry {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.entry-role {
  font-size: var(--base);
  font-weight: 500;
  color: var(--fg);
}

.entry-date {
  font-size: var(--sm);
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-org {
  font-size: var(--sm);
  color: var(--dim);
  margin-bottom: 16px;
}

.entry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.entry-list li {
  font-size: var(--sm);
  color: #555;
  line-height: 1.85;
  padding-left: 18px;
  position: relative;
}

.entry-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}

.placeholder {
  font-size: var(--sm);
  color: var(--muted);
}

/* ─────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
}

/* ─────────────────────────────────────────
   TRACK LIST
───────────────────────────────────────── */
.track-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.12s;
}

.track-row:hover {
  background: rgba(0,0,0,0.04);
  text-decoration: none;
}

.track-art {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
  display: block;
}

.track-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.track-name {
  font-size: var(--sm);
  color: var(--fg);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist-name {
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────
   BRAIN DUMP
───────────────────────────────────────── */
.brain-text {
  font-size: var(--sm);
  color: var(--fg);
  line-height: 2;
  max-width: 480px;
  margin-bottom: 28px;
}

.brain-video-wrap {
  max-width: 420px;
}

.brain-video-wrap video {
  width: 100%;
  display: block;
}

/* ─────────────────────────────────────────
   SOME WORK
───────────────────────────────────────── */
.work-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.work-item {
  border-top: 1px solid var(--border);
}

.work-item:last-child {
  border-bottom: 1px solid var(--border);
}

.work-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  text-decoration: none;
  transition: background 0.12s;
}

.work-link:hover {
  text-decoration: none;
  background: rgba(0,0,0,0.03);
}

.work-link:hover .work-arrow {
  transform: translateX(3px);
  color: var(--fg);
}

.work-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.work-company {
  font-size: var(--base);
  font-weight: 500;
  color: var(--fg);
}

.work-role {
  font-size: var(--sm);
  color: var(--dim);
}

.work-arrow {
  font-size: var(--base);
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}

.end-note {
  font-size: var(--sm);
  color: var(--muted);
  padding: 36px 0 120px;
}

/* ─────────────────────────────────────────
   MOBILE
───────────────────────────────────────── */
@media (max-width: 768px) {
  html, body {
    overflow: auto;
    height: auto;
  }

  .layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .col {
    height: auto;
    overflow-y: visible;
    width: 100% !important;
    min-width: unset !important;
    padding: 36px 24px;
  }

  .col--left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .col--right {
    padding-left: 24px;
    padding-right: 24px;
  }
}
