/* leobodelle.video - dark editorial */

:root {
  --bg: #000000;
  --ink: #f2f2f2;
  --ink-soft: #9a9a9a;
  --line: #222222;
  --accent: #f2f2f2;
  --serif: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --sans: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 4vw 20px;
}
.nav .brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.01em;
}
.nav .brand span { color: var(--ink-soft); }
.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav ul a { color: var(--ink-soft); }
.nav ul a:hover, .nav ul a.on { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Hero */
.hero {
  padding: 6vh 4vw 4vh;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.12;
  max-width: 18em;
}
.hero p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 46em;
  font-size: 15px;
}

/* Featured player */
.featured {
  padding: 2vh 4vw 6vh;
}
.featured .frame {
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.featured .frame iframe,
.player-overlay .box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.featured .caption,
.grid .caption {
  padding-top: 14px;
}
.caption .t {
  font-family: var(--serif);
  font-size: 17.6px;
}
.caption .m {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Grid */
.grid-section { padding: 0 4vw 8vh; }
.grid-section h2 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.card .thumb {
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.card .thumb:hover img { opacity: 0.85; }
.card .thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card .thumb:hover .play { opacity: 1; }
.card .thumb .play svg { width: 54px; height: 54px; }
.card.vertical .thumb { aspect-ratio: 9 / 16; max-width: 60%; margin: 0 auto; }

/* Player overlay */
.player-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: none;
  z-index: 50;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4vh 4vw;
}
.player-overlay.open { display: flex; }
.player-overlay .box {
  width: 100%;
  max-width: 1100px;
  background: #000;
  aspect-ratio: 16 / 9;
}
.player-overlay.vertical .box { aspect-ratio: 9 / 16; max-width: 480px; }
.player-overlay iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-overlay .meta {
  color: #eee;
  margin-top: 14px;
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
}
.player-overlay .meta .client { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #999; }
.player-overlay .close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #eee;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: 0;
}

/* About / contact */
.about {
  padding: 8vh 4vw;
  max-width: 760px;
}
.about h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  margin-bottom: 22px;
}
.about p { margin-bottom: 16px; color: var(--ink-soft); }
.about .contact {
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.about .contact a { border-bottom: 1px solid var(--ink); }

/* Footer */
footer {
  padding: 30px 4vw 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

/* Empty state */
.empty { color: var(--ink-soft); font-family: var(--serif); font-size: 18px; padding: 40px 0; }

@media (max-width: 720px) {
  .nav { flex-direction: column; gap: 14px; align-items: flex-start; }
  .nav ul { flex-wrap: wrap; gap: 16px; }
  .grid { grid-template-columns: 1fr; gap: 30px; }
  .card.vertical .thumb { max-width: 70%; }
}
