/* HERO */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 820px;
  overflow: hidden;
  background: var(--bg);
}
.hero .rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.hero .ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.7;
}
.hero-wave {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  color: var(--fg);
}
/* orbital labels */
.orbit-label {
  position: absolute;
  display: inline-flex; align-items: baseline; gap: 10px;
  white-space: nowrap;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
  background: rgba(10,10,11,0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  z-index: 5;
}
.orbit-label:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(10,10,11,0.85);
}
.orbit-num { color: var(--fg-dim); font-size: 10px; letter-spacing: 0.18em; }
.orbit-text { font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }

/* hero corner type */
.hero-corner { position: absolute; z-index: 3; }
.hero-corner.tl { left: 32px; top: 110px; max-width: 320px; }
.hero-corner.tr { right: 32px; top: 110px; text-align: right; }
.hero-corner.bl { left: 32px; bottom: 36px; }
.hero-corner.br { right: 32px; bottom: 36px; text-align: right; }

.hero-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 84px;
  line-height: 0.92;
  margin-top: 18px;
  letter-spacing: -0.02em;
}
.hero-tagline {
  margin-top: 18px;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.55;
}
.now-playing {
  font-size: 12px;
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 25%, transparent);
  animation: pulse 1.6s ease-in-out infinite;
}

/* SECTION shared */
.work, .about, .contact { padding: 140px 32px; position: relative; }
.section-head { max-width: 1200px; margin: 0 auto 80px; }
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: 14px;
  max-width: 900px;
  text-wrap: pretty;
}
.section-title em, .section-title .serif { font-style: italic; }
.section-sub {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 520px;
  line-height: 1.6;
}

/* PROJECT TABLE */
.proj-table {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proj-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1.2fr 1fr 80px 40px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  font-size: 13px;
  color: var(--fg);
  position: relative;
  cursor: pointer;
  transition: padding 0.4s ease, color 0.3s ease, background 0.3s ease;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.proj-row:last-child { border-bottom: 0; }
.proj-row.head {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: default;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}
.proj-row.head:hover { background: none; padding-left: 8px; }
.proj-row:not(.head):hover {
  padding-left: 28px;
  color: var(--proj-color, var(--accent));
}
.proj-row:not(.head)::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--proj-color, var(--accent));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.proj-row:not(.head):hover::before { transform: scaleY(1); transform-origin: top; }
.proj-num { color: var(--fg-faint); font-size: 11px; letter-spacing: 0.16em; }
.proj-row:hover .proj-num { color: var(--proj-color, var(--accent)); }
.proj-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.3s ease;
}
.proj-row:hover .proj-title { color: var(--proj-color, var(--accent)); }
.proj-cell { color: var(--fg-dim); }
.proj-row:hover .proj-cell { color: var(--fg); }
.proj-arrow { text-align: right; color: var(--fg-faint); font-size: 18px; transition: transform 0.4s ease, color 0.3s ease; }
.proj-row:hover .proj-arrow { transform: translate(4px, -4px); color: var(--proj-color, var(--accent)); }

/* Cursor preview */
.proj-preview {
  transition: opacity 0.25s ease;
  will-change: transform;
}
.proj-preview-card {
  width: 360px;
  background: #131315;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  color: var(--fg);
}
.proj-preview-head {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--fg-dim);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.proj-preview-wave { padding: 18px 0; color: var(--proj-color); }
.proj-preview-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.proj-preview-title { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; }
.proj-preview-tags { font-size: 11px; color: var(--fg-dim); letter-spacing: 0.06em; }

/* ABOUT */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
}
.about-h {
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 18px;
  text-wrap: balance;
}
.about-h em { color: var(--accent); }
.about-right { display: flex; flex-direction: column; gap: 18px; }
.about-right p { font-size: 14px; line-height: 1.7; color: var(--fg-dim); max-width: 46ch; }
.capabilities { margin-top: 32px; border-top: 1px solid var(--line); }
.cap-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.cap-num { color: var(--fg-faint); font-size: 11px; letter-spacing: 0.14em; }
.cap-mid { color: var(--fg-dim); font-size: 12px; }
.about-strip { max-width: 1200px; margin: 80px auto 0; opacity: 0.5; }

/* CONTACT */
.contact { padding-bottom: 60px; }
.contact-h {
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-top: 12px;
  max-width: 1200px;
  margin-inline: auto;
}
.contact-h em { color: var(--accent); }
.contact-grid {
  max-width: 1200px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.contact-grid > div { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  font-size: 14px;
  color: var(--fg);
  text-align: left;
  font-family: var(--mono);
  transition: color 0.2s;
}
button.contact-link:hover { color: var(--accent); }

.footer {
  max-width: 1200px;
  margin: 60px auto 0;
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Responsive nudges */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-corner.tr { display: none; }
  .proj-row { grid-template-columns: 40px 1.5fr 1fr 60px 30px; }
  .proj-row > :nth-child(4) { display: none; }
}
