/* Pure Black & Electric Yellow — Sound Console Design System */
:root {
  --bg-canvas: #000000;
  --bg-surface: #0a0a0a;
  --bg-panel: #121212;
  --bg-elevated: #181818;
  --yellow: #ffd600;
  --yellow-dim: rgba(255, 214, 0, 0.14);
  --text-primary: #ffffff;
  --text-muted: #a1a1aa;
  --border: #262626;
  --border-strong: #3a3a3a;
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-color: var(--yellow) var(--bg-surface);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--yellow);
  color: #000000;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: #333333;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  background: var(--yellow);
  color: #000000;
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  inset-block-start: 1rem;
}

.container {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.text-yellow {
  color: var(--yellow);
}

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

.section-border {
  border-bottom: 1px solid var(--border);
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

section[id],
#reels {
  scroll-margin-top: 5.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-block-end: 2.25rem;
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-desc {
  margin: 0;
  max-width: 65ch;
  color: var(--text-muted);
}

.sub-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* HEADER */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 4.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-sound {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-sound[aria-pressed="true"] {
  border-color: var(--yellow);
  background: var(--yellow-dim);
  color: var(--yellow);
}

.vu-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.vu-bars span {
  width: 2px;
  height: 4px;
  background: currentColor;
  transition: height 0.15s ease;
}

.btn-sound[aria-pressed="true"] .vu-bars span {
  animation: vuPulse 0.8s ease-in-out infinite alternate;
}
.btn-sound[aria-pressed="true"] .vu-bars span:nth-child(2) { animation-delay: 0.15s; }
.btn-sound[aria-pressed="true"] .vu-bars span:nth-child(3) { animation-delay: 0.3s; }
.btn-sound[aria-pressed="true"] .vu-bars span:nth-child(4) { animation-delay: 0.45s; }

@keyframes vuPulse {
  from { height: 3px; }
  to { height: 12px; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: var(--yellow);
  color: #000000;
  border: 1px solid var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-primary:hover {
  background: #ffe033;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
}

.btn-full {
  width: 100%;
}

.btn-icon-menu {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
}

.header-actions .btn-primary {
  white-space: nowrap;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 0.75rem 1.25rem;
  gap: 0.75rem;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  padding-block: 0.35rem;
}

/* HERO */
.hero {
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

@media (min-width: 981px) {
  .hero {
    min-height: calc(100dvh - 4.5rem);
    display: flex;
    align-items: center;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}

.hero-enter {
  animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-enter-1 { animation-delay: 0.04s; }
.hero-enter-2 { animation-delay: 0.12s; }
.hero-enter-3 { animation-delay: 0.2s; }
.hero-enter-4 { animation-delay: 0.28s; }

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-signal {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.25rem;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.signal-bars span {
  flex: 1 1 0;
  background: var(--yellow);
  height: 18px;
  animation: signalWave 1.6s ease-in-out infinite alternate;
}

.signal-bars span:nth-child(2n) { background: #3f3f46; animation-duration: 1.3s; }
.signal-bars span:nth-child(3n) { animation-delay: 0.25s; }
.signal-bars span:nth-child(4n) { animation-delay: 0.5s; }
.signal-bars span:nth-child(5n) { animation-delay: 0.75s; }

@keyframes signalWave {
  0% { height: 10px; }
  50% { height: 42px; }
  100% { height: 22px; }
}

.hero-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.hero-fact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-fact-row dd {
  margin: 0;
  text-align: end;
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter,
  .signal-bars span {
    animation: none;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-block-end: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-block-end: 1.75rem;
}

.credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.credit-chip:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 0.75rem;
  max-width: 340px;
  margin-inline-start: auto;
}

.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

.hero-telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block-start: 0.75rem;
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--yellow);
  border-style: solid;
  pointer-events: none;
}
.corner.tl { inset-block-start: -1px; inset-inline-start: -1px; border-width: 2px 0 0 2px; }
.corner.tr { inset-block-start: -1px; inset-inline-end: -1px; border-width: 2px 2px 0 0; }
.corner.bl { inset-block-end: -1px; inset-inline-start: -1px; border-width: 0 0 2px 2px; }
.corner.br { inset-block-end: -1px; inset-inline-end: -1px; border-width: 0 2px 2px 0; }

/* SOUND LAB (POLAR PATTERN & DIALOGUE EQ) */
.mix-mode-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.mode-btn {
  padding: 0.55rem 1.05rem;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mode-btn.is-active {
  background: var(--yellow);
  color: #000000;
  font-weight: 700;
}

.lab-shell {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.5rem;
}

.lab-shell[hidden] {
  display: none;
}

.polar-grid,
.eq-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.polar-radar {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border: 1px solid var(--border);
  background: var(--bg-canvas);
  touch-action: none;
  user-select: none;
}

.polar-svg {
  width: 100%;
  height: 100%;
}

.polar-ring {
  fill: none;
  stroke: #222222;
  stroke-width: 1;
}

.polar-axis {
  stroke: #1e1e1e;
  stroke-width: 1;
}

.polar-lobe {
  fill: rgba(255, 214, 0, 0.14);
  stroke: var(--yellow);
  stroke-width: 2;
  transition: d 0.2s ease;
}

.polar-deg {
  position: absolute;
  color: var(--text-muted);
  font-size: 0.75rem;
  pointer-events: none;
}
.deg-0 { inset-block-start: 8px; inset-inline-start: 50%; transform: translateX(-50%); }
.deg-90 { inset-inline-end: 8px; inset-block-start: 50%; transform: translateY(-50%); }
.deg-180 { inset-block-end: 8px; inset-inline-start: 50%; transform: translateX(-50%); }
.deg-270 { inset-inline-start: 8px; inset-block-start: 50%; transform: translateY(-50%); }

.mic-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  pointer-events: none;
}

.polar-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: grab;
  z-index: 3;
}

.polar-dot:active {
  cursor: grabbing;
}

.polar-dot-actor {
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: #000000;
}

.polar-dot-noise {
  background: var(--bg-panel);
  border: 1px solid #ffffff;
  color: #ffffff;
}

.lab-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pattern-btns,
.eq-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pattern-btn {
  padding: 0.5rem 0.85rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pattern-btn.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000000;
  font-weight: 700;
}

.lab-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lab-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.eq-visual-wrap {
  border: 1px solid var(--border);
  background: var(--bg-canvas);
  padding: 1rem;
}

.eq-svg {
  width: 100%;
  height: auto;
  display: block;
}

.eq-zero-line {
  stroke: #333333;
  stroke-width: 1;
}

.eq-grid-line {
  stroke: #1a1a1a;
  stroke-width: 1;
}

.eq-curve-fill {
  fill: rgba(255, 214, 0, 0.14);
}

.eq-curve-line {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.5;
}

.eq-axis-labels {
  display: flex;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.eq-sliders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eq-slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.eq-slider-head {
  display: flex;
  justify-content: space-between;
}

.eq-slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--yellow);
  cursor: pointer;
}

/* SPATIAL 360 */
.spatial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.headphone-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-block: 1.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-box {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.spatial-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  touch-action: none;
  user-select: none;
}

.ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
}
.ring-outer { width: 84%; height: 84%; }
.ring-mid { width: 58%; height: 58%; }
.ring-inner { width: 32%; height: 32%; border-color: rgba(255, 214, 0, 0.35); }

.axis-x, .axis-y {
  position: absolute;
  background: var(--border);
  pointer-events: none;
}
.axis-x { inset-block-start: 50%; inset-inline: 0; height: 1px; }
.axis-y { inset-inline-start: 50%; inset-block: 0; width: 1px; }

.listener-head {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--bg-canvas);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  z-index: 2;
}

.spatial-node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.42rem 0.72rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 3;
  cursor: grab;
  white-space: nowrap;
}

.spatial-node.is-selected,
.spatial-node:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000000;
}

.spatial-node:active {
  cursor: grabbing;
}

/* EXPERIENCE */
.exp-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.exp-row:first-child {
  border-top: 1px solid var(--border);
}

.exp-when {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.exp-what h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.exp-role {
  font-weight: 500;
  color: var(--text-muted);
}

.exp-what p {
  margin: 0;
  color: var(--text-muted);
  max-width: 68ch;
}

.edu-toolkit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-block-start: 2.25rem;
}

.edu-box {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.5rem;
}

.edu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edu-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-tag {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
}

/* WORKS & REELS */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-btn {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-btn.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000000;
  font-weight: 700;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-block-end: 2.5rem;
}

.work-card-highlight {
  border-color: var(--yellow);
}

.work-thumb-portrait img {
  object-position: center 18%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-card {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.work-card:hover {
  border-color: var(--yellow);
}

.work-card[hidden] {
  display: none;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
  transition: filter 0.25s ease, transform 0.3s ease;
}

.work-card:hover .work-thumb img {
  filter: grayscale(0%) contrast(1.04);
  transform: scale(1.03);
}

.work-badge {
  position: absolute;
  inset-block-end: 0.65rem;
  inset-inline-start: 0.65rem;
  padding: 0.3rem 0.6rem;
  background: #000000;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.72rem;
}

.work-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.work-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.work-link {
  margin-top: auto;
  color: var(--yellow);
  font-size: 0.75rem;
}
.work-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.credits-archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-block-start: 2rem;
}

.archive-col {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.5rem;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: color 0.15s ease;
}

.archive-list a:hover {
  color: var(--yellow);
}

.reels-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-block: 3rem 1.25rem;
}

.reels-ext-links {
  display: flex;
  gap: 1.25rem;
}

.text-link {
  color: var(--yellow);
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.reel-card {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  aspect-ratio: 9 / 14;
  overflow: hidden;
  text-align: start;
}

.reel-card:hover {
  border-color: var(--yellow);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 45%);
}

.reel-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.reel-loc {
  padding: 0.25rem 0.5rem;
  background: #000000;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.7rem;
}

.media-ig-bar {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.85rem;
}

.play-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #000000;
}

.reel-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ffffff;
}

.ig-reels-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block-start: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item[hidden] {
  display: none;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-block-start: 2rem;
}

.gallery-bts-head {
  margin-block-end: 1.25rem;
}

.gallery-photos-head {
  margin-block: 2.5rem 1.25rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-item:hover {
  border-color: var(--yellow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.25s ease, transform 0.3s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.gallery-cap {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 0.65rem 0.8rem;
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid var(--border);
  color: var(--yellow);
  text-align: start;
}

/* BOOKING */
.booking-section {
  background: var(--bg-surface);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-block-start: 1.5rem;
  color: var(--text-muted);
}

.contact-meta a {
  color: var(--text-primary);
}
.contact-meta a:hover {
  color: var(--yellow);
}

.booking-actions {
  display: grid;
  gap: 1rem;
}

.booking-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.booking-card strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.booking-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.booking-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.booking-card-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000000;
}

.booking-card-yellow .booking-sub {
  color: #18181b;
}

.booking-card-yellow:hover {
  background: #ffe033;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

/* NATIVE DIALOGS */
dialog {
  padding: 0;
  border: 1px solid var(--yellow);
  background: var(--bg-surface);
  color: var(--text-primary);
  max-width: min(500px, 92vw);
  width: 100%;
  margin: auto;
}

dialog[id="media-dialog"] {
  max-width: min(860px, 94vw);
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-shell {
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 1rem;
}

.dialog-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.dialog-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
}

.dialog-close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.dialog-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-block-end: 1.25rem;
}

.field-select {
  padding: 0.7rem 0.85rem;
  background: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.dialog-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.media-dialog-body img,
.media-dialog-body video {
  width: 100%;
  max-height: 72dvh;
  object-fit: contain;
  background: #000000;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .btn-icon-menu {
    display: inline-flex;
  }
  .hero-grid,
  .polar-grid,
  .eq-grid,
  .spatial-grid,
  .booking-grid,
  .edu-toolkit-grid,
  .credits-archive {
    grid-template-columns: 1fr;
  }
  .hero-frame {
    margin-inline: auto;
  }
  .highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-block-end: 2.5rem;
}

.work-card-highlight {
  border-color: var(--yellow);
}

.work-thumb-portrait img {
  object-position: center 18%;
}

.works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reels-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exp-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1240px, 100% - 1.5rem);
  }
  .brand-role {
    display: none;
  }
  .header-actions .btn-primary {
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
  }
  .archive-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .archive-list .mono {
    font-size: 0.72rem;
  }
  .works-grid,
  .highlights-grid,
  .reels-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
