@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --fg: #fff;
  --dim: #7a7a7a;
  --display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

.page {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
}

/* Sidebar nav */
.nav { padding-top: 20px; padding-right: 40px; }
.nav ul { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.nav a {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  display: inline-block;
  transition: opacity 0.2s, border-color 0.2s;
  opacity: 0.55;
}
.nav a:hover { opacity: 0.85; }
.nav a.active {
  opacity: 1;
  border-bottom-color: rgba(255,255,255,0.7);
}

.wordmark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 60px;
}

/* Main column */
.main { padding-left: 80px; padding-top: 20px; min-width: 0; }

.section { margin-bottom: 100px; }
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 28px;
}

/* About */
.about-intro { margin-bottom: 48px; }
.about-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 22px;
  text-wrap: pretty;
  opacity: 0.92;
}
.about-contact {
  font-family: var(--mono);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.about-contact a,
.disco-link {
  opacity: 0.9;
  transition: opacity 0.2s;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  letter-spacing: inherit;
}
.about-contact a:hover,
.disco-link:hover { opacity: 1; }
.contact-divider { opacity: 0.3; }

/* Password modal (DISCO gate) */
.password-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 5vw;
  background: rgba(0,0,0,0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.password-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.password-modal-inner {
  width: min(90vw, 380px);
  border: 1px solid rgba(255,255,255,0.2);
  background: #080808;
  padding: 36px 32px;
}
.password-form { display: flex; flex-direction: column; gap: 16px; }
.password-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.password-input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.12em;
}
.password-input:focus { border-bottom-color: rgba(255,255,255,0.75); }
.password-error {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,110,110,0.9);
  min-height: 14px;
}
.password-actions {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 4px;
}
.password-cancel,
.password-submit {
  background: transparent;
  border: 0;
  padding: 6px 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: color 0.2s;
}
.password-cancel:hover,
.password-submit:hover { color: #fff; }
.password-cancel:focus-visible,
.password-submit:focus-visible {
  outline: 1px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

.about-photo-section { margin-top: 0; margin-bottom: 72px; }
.about-photo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border: 1px solid rgba(255,255,255,0.12);
}

.about-music-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: 15px;
}
.about-music-list a {
  opacity: 0.8;
  transition: opacity 0.2s;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.about-music-list a:hover {
  opacity: 1;
  border-bottom-color: rgba(255,255,255,0.55);
}

/* Clients — clean 4-col grid with per-logo size tweaks for visual parity */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 40px;
  align-items: center;
  justify-items: center;
  max-width: 920px;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-height: 56px;
  width: 100%;
  opacity: 0.92;
  transition: opacity 0.2s;
  overflow: hidden;
}
.client-logo:hover { opacity: 1; }
.client-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
/* Compact symbol / shield marks need more vertical space to match wordmark weight */
.client-logo[data-logo="pepsi"],
.client-logo[data-logo="nfl"] { height: 80px; max-height: 80px; }
.client-logo[data-logo="mtv"] { height: 68px; max-height: 68px; }
.client-logo[data-logo="amstel"] { height: 46px; max-height: 46px; }

/* Reel */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
}
.reel-item { min-width: 0; }
.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  background: #050505;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color 0.25s ease;
}
.video-card:hover { border-color: rgba(255,255,255,0.42); }
.video-card:focus-visible { outline: 1px solid rgba(255,255,255,0.6); outline-offset: 2px; }
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.18) brightness(0.62);
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.video-card:hover img {
  transform: scale(1.035);
  filter: grayscale(0) contrast(1.02) brightness(0.92) saturate(1);
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.46));
  z-index: 1;
  pointer-events: none;
}
.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 999px;
  z-index: 3;
  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background 0.25s ease, transform 0.3s ease, border-color 0.2s;
  pointer-events: none;
}
.play-button::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-left: 15px solid rgba(255,255,255,0.92);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.video-card:hover .play-button {
  background: rgba(0,0,0,0.38);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-title {
  position: absolute;
  left: 22px;
  bottom: 19px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  pointer-events: none;
}
.video-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.video-meta span:last-child {
  color: rgba(255,255,255,0.42);
  text-align: right;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 5vw;
  background: rgba(0,0,0,0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-inner {
  width: min(86vw, 1120px);
}
.modal-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.2);
  background: #080808;
  overflow: hidden;
}
.modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-caption {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.modal-caption .caption-right { color: rgba(255,255,255,0.38); text-align: right; }
.modal-close {
  position: fixed;
  top: 28px;
  right: 34px;
  z-index: 101;
  background: transparent;
  border: 0;
  padding: 8px 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close:hover { color: #fff; }
.modal-close:focus-visible { outline: 1px solid rgba(255,255,255,0.6); outline-offset: 2px; }

/* Numbers */
.numbers-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 48px 96px;
  align-items: start;
  margin-top: 8px;
}
.number-stat { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.number-value {
  font-size: 88px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.number-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  max-width: 220px;
  line-height: 1.4;
  text-align: center;
}

/* Footer */
.footer {
  grid-column: 1 / -1;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .page { grid-template-columns: 1fr; padding: 40px 24px; }
  .main { padding-left: 0; padding-top: 40px; }
  .nav ul { flex-direction: row; gap: 20px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 28px; }
  .client-logo { height: 44px; max-height: 44px; }
  .client-logo[data-logo="pepsi"],
  .client-logo[data-logo="nfl"] { height: 54px; max-height: 54px; }
  .client-logo[data-logo="mtv"] { height: 48px; max-height: 48px; }
  .client-logo[data-logo="amstel"] { height: 34px; max-height: 34px; }
  .about-body { font-size: 16px; }
  .about-intro { margin-bottom: 36px; }
  .about-photo-section { margin-bottom: 56px; }
  .reel-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 32px; }
  .number-value { font-size: 64px; }
  .modal-close { top: 18px; right: 18px; }
  .modal-caption { flex-direction: column; gap: 6px; }
  .modal-caption .caption-right { text-align: left; }
}
