:root {
  --bg: #000000;
  --surface: #0c0c0f;
  --surface-elevated: #141418;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f5f7;
  --text-muted: #9898a2;
  --text-soft: #6e6e78;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --accent-border: rgba(16, 185, 129, 0.34);
  --glare: rgba(255, 255, 255, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --max-w: 1060px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Apple-Style Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.wordmark-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 12.5px;
  color: #d2d2d7;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text) !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Centered Keynote Hero */
.hero {
  position: relative;
  padding: 112px 0 88px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.16) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.eyebrow-pill:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(56px, 9.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9b9ba8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-muted);
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-light {
  background: #f5f5f7;
  color: #000000;
}

.btn-light:hover {
  background: #ffffff;
}

.btn-emerald {
  background: var(--accent);
  color: #03130d;
}

.btn-emerald:hover {
  filter: brightness(1.08);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
}

.btn-link {
  background: transparent;
  color: #38bdf8;
  padding: 12px 14px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  color: var(--text-soft);
}

.social-links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.social-links a:hover {
  color: var(--text);
}

/* Keynote Section Headers */
.section {
  padding: 72px 0;
}

.keynote-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.kicker {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.kicker.accent {
  color: var(--accent);
}

.display-h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}

.display-h2 span {
  background: linear-gradient(180deg, #e4e4ec 0%, #828290 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.keynote-sub {
  margin: 0 auto;
  max-width: 580px;
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 3D Tilt Specular Cards */
[data-tilt] {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glare), transparent 65%);
  transition: opacity 0.25s ease;
}

[data-tilt]:hover::before {
  opacity: 1;
}

/* Framed 3D Gtuprod Keynote Stage */
.showcase-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 35%, #11181c 0%, #090a0d 62%, #060608 100%);
  border: 1px solid var(--border);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.stage-meta {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.mono-chip {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mono-chip.muted {
  color: var(--text-soft);
}

.mono-chip.accent {
  color: var(--accent);
}

.stage-canvas {
  display: block;
  width: 100%;
  height: 360px;
  cursor: grab;
}

.stage-canvas:active {
  cursor: grabbing;
}

.spec-strip {
  list-style: none;
  margin: 0;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.spec-strip li {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

.showcase-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Bento Music Section */
.music-bento {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
  align-items: stretch;
}

.bento-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vinyl-tile {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 52%, #11151b 0%, #09090c 72%);
  min-height: 360px;
}

.vinyl-head {
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.vinyl-canvas {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 300px;
  cursor: grab;
}

.vinyl-canvas:active {
  cursor: grabbing;
}

.list-tile {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.list-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.inline-link {
  font-size: 13px;
  color: #38bdf8;
}

.inline-link:hover {
  text-decoration: underline;
}

.track-list {
  border-top: 1px solid var(--border);
}

.track-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease, padding-inline 0.15s ease;
}

.track-row:hover,
.track-row:focus-visible {
  background: var(--surface-elevated);
  padding-inline: 10px;
}

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

.track-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-year {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--text-soft);
  white-space: nowrap;
}

.spotify-drawer {
  margin-top: 16px;
}

.spotify-slot {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

/* Apple 6-Column Bento Grid: GTUDEV Suite */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.bento-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.bento-card.wide {
  grid-column: span 3;
  padding: 28px;
}

.bento-card:hover {
  border-color: var(--border-strong);
}

.bento-card.is-highlight {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.1) 0%, #0c0c0f 55%);
  border-color: var(--accent-border);
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.bento-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.bento-tag.accent {
  color: var(--accent);
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-link {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #38bdf8;
}

.bento-link.accent {
  color: var(--accent);
}

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.pill-emerald {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.pill-live {
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* Minimal Dark Legal Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: #050507;
  padding: 32px 0 42px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--text);
}

.footer-legal {
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--text-soft);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-tilt] { transform: none; transition: none; }
}

@media (max-width: 900px) {
  .music-bento {
    grid-template-columns: 1fr;
  }
  .bento-card {
    grid-column: span 3;
  }
  .bento-card.wide {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .hero { padding: 80px 0 60px; }
  .section { padding: 52px 0; }
  .stage-canvas { height: 260px; }
  .bento-card,
  .bento-card.wide {
    grid-column: span 6;
  }
  .track-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .track-meta {
    grid-column: 1 / -1;
    order: 3;
  }
  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: none;
  }
}
