/* ── Tom Major — Open Format DJ, NYC ─────────────────────────────
   Design: photo/video-forward, near-black + white, big condensed
   type, dotted section rhythm (inspired by rnbandribs.com)        */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #f5f5f2;
  --muted: #9a9a94;
  --line: #2a2a2a;
  --accent: #f5f5f2;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(rgba(10,10,10,.85), rgba(10,10,10,0));
  backdrop-filter: blur(2px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav .logo {
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 14px;
}
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav ul a {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav ul a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,10,10,.15) 40%, rgba(10,10,10,.92));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 72px;
}
.hero h1 {
  font-size: clamp(56px, 12vw, 150px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero p {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Sections ── */
section { padding: 96px 0; }

.more-link {
  display: block;
  margin-top: 20px;
  text-align: right;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.more-link:hover { color: var(--text); }

/* scrolling marquee divider (à la rnbandribs) — band with shaped edges */
.marquee {
  position: relative;
  overflow-x: clip;
  background: #18181b;
  padding: 22px 0;
  margin: 16px 0;
  user-select: none;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background-repeat: repeat-x;
  background-size: 80px 14px;
  pointer-events: none;
}
.marquee::before { bottom: 100%; }
.marquee::after { top: 100%; transform: scaleY(-1); }
.marquee.wavy::before,
.marquee.wavy::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 Q 20 0 40 7 T 80 7 L 80 14 L 0 14 Z' fill='%2318181b'/%3E%3C/svg%3E");
}
.marquee.pointed::before,
.marquee.pointed::after {
  height: 12px;
  background-size: 24px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12 L12 0 L24 12 Z' fill='%2318181b'/%3E%3C/svg%3E");
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
  padding-right: .6em;
}
.marquee-track span::after {
  content: "\2022";
  -webkit-text-stroke: 0;
  color: var(--muted);
  padding-left: .6em;
  font-size: .5em;
  vertical-align: .15em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── About ── */
.about p {
  max-width: 620px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.45;
  font-weight: 300;
}
.about strong { font-weight: 700; }

/* ── Gigs ── */
.gig-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.gig {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 32px;
}
.gig-date {
  min-width: 150px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.gig-info { flex: 1; min-width: 220px; }
.gig-info h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.gig-info p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ── Mixes ── */
.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.mix-grid iframe {
  width: 100%;
  height: 300px;
  border: 0;
  background: var(--surface);
}

/* ── Videos ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.video {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Photos ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid .tile {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.photo-grid .tile.wide { grid-column: span 2; aspect-ratio: 13 / 8; }
.photo-grid .tile.full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.photo-grid img,
.photo-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter .3s, transform .3s;
}
.photo-grid img:hover,
.photo-grid video:hover { filter: grayscale(0); transform: scale(1.02); }
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid .tile.wide { aspect-ratio: 16 / 10; }
  .photo-grid .tile.full { aspect-ratio: 16 / 10; }
}

/* ── DJ Tools ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.tools-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tools-card h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tools-card p { color: var(--muted); max-width: 520px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--text);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
  white-space: nowrap;
  background: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.solid { background: var(--text); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--text); }

/* ── Contact ── */
.epk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 640px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.epk-bar p { color: var(--muted); margin: 0; }

.contact form {
  max-width: 640px;
  display: grid;
  gap: 18px;
}
.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) { .contact .row { grid-template-columns: 1fr; } }
.contact label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.contact input,
.contact select,
.contact textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
}
.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--muted);
}
.contact textarea { min-height: 140px; resize: vertical; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.foot .socials { display: flex; gap: 24px; }
.foot a:hover { color: var(--text); }
