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

:root {
  --bg: #0f0e0b;
  --bg-elevated: #16140f;
  --text: #e8e3d8;
  --text-muted: #8a8478;
  --text-faint: #5a5750;
  --accent: #a08a5a;
  --accent-dim: #6b5d3e;
  --line: rgba(232, 227, 216, 0.08);
  --line-strong: rgba(232, 227, 216, 0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle warm vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(160, 138, 90, 0.06), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(160, 138, 90, 0.03), transparent 50%);
}

/* Film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* WORDMARK */
.wordmark {
  display: inline-block;
  margin: 2.5rem 0 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s;
}

.wordmark:hover { color: var(--accent); }

/* MAIN */
.main {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(2rem, 4vw);
}

/* HERO */
.hero {
  padding: 4rem 0 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 0 5rem;
  align-items: start;
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-right { align-items: start; }

.hero-title {
  display: block;
  width: 100%;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 3rem;
  position: relative;
  z-index: 2;
}

.hero-line--italic {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 300;
  color: #c8c2b4;
  letter-spacing: 0.005em;
  margin: 0;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 380px;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}

.hero-bio-secondary {
  margin: 0;
  color: #c8c2b4;
  font-size: 1.125rem;
  line-height: 1.85;
  font-style: normal;
}

/* DIVIDERS */
.divider {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* SECTIONS */
section {
  padding: 9rem 0;
  position: relative;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: var(--accent-dim);
}

.datadog-text h2,
.bt-header h2,
.independent-text h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.datadog-text h2 em,
.bt-header h2 em,
.independent-text h2 em {
  font-style: italic;
  color: var(--text-muted);
}

.datadog-text .role,
.bt-header .role,
.independent-text .role {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8478;
  margin-bottom: 2.5rem;
}

.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding: 0.6rem 0;
  margin-top: 1.25rem;
  transition: color 0.3s, gap 0.3s, border-color 0.3s;
}

.yt-link:hover { color: var(--accent); gap: 1.1rem; }
.yt-link svg { width: 14px; height: 14px; }

/* SECTION HEADERS — datadog + bt + independent */
.datadog-header,
.bt-header,
.independent-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  margin-bottom: 6rem;
  align-items: start;
}

.datadog-header > div:last-child p,
.bt-header > div:last-child p,
.independent-header > div:last-child p {
  color: #c8c2b4;
  font-size: 1.125rem;
  line-height: 1.85;
  max-width: 540px;
}

.datadog-header p a,
.bt-header p a,
.independent-header p a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  transition: color 0.25s, border-color 0.25s;
}

.datadog-header p a:hover,
.bt-header p a:hover,
.independent-header p a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.datadog-header > div:last-child p + p,
.bt-header > div:last-child p + p,
.independent-header > div:last-child p + p { margin-top: 1.25rem; }

.video-grid,
.indep-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.5rem;
}

.datadog-videos { margin-top: 7rem; }

.video-item { position: relative; }

.video-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.video-item a::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
  transition: border-color 0.4s;
}

.video-item:hover a::after { border-color: var(--accent-dim); }

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) contrast(1.08);
  transition: filter 0.6s ease, transform 0.6s ease;
  background: var(--bg-elevated);
}

.video-item:hover .video-thumb {
  filter: brightness(1) contrast(1);
  transform: scale(1.015);
}

.video-caption {
  padding: 1rem 0 0;
  font-size: 1rem;
  font-family: var(--serif);
  font-style: italic;
  color: #c8c2b4;
  letter-spacing: 0.01em;
}


/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 7rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.footer-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-location {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 1.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.footer-contact a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}

.footer-contact a:hover { color: var(--accent); }

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox[hidden] { display: none; }

.lightbox-content {
  position: relative;
  width: 80vw;
  max-width: 1100px;
}

.lightbox-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.lightbox-iframe-wrap.portrait {
  aspect-ratio: 9/16;
  max-width: min(80vw, 480px);
  margin: 0 auto;
}

.lightbox-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  font-family: var(--sans);
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--accent); }

/* SELECTION */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid { gap: 2.5rem 3rem; }
}

@media (max-width: 900px) {
  .wordmark {
    margin-top: 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }

  .hero { padding: 3rem 0 4rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-col { gap: 1.5rem; }

  .hero-right { align-items: stretch; }

  .hero-image {
    align-self: center;
    max-width: 280px;
  }

  .hero-title { margin-bottom: 2rem; }
  .hero-lede { font-size: 1.2rem; }

  section { padding: 5rem 0; }
  .section-label { margin-bottom: 3rem; }

  .datadog-header,
  .bt-header,
  .independent-header { grid-template-columns: 1fr; gap: 3rem; }

  .video-grid,
  .indep-video-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .datadog-videos { margin-top: 4rem; }

  footer {
    grid-template-columns: 1fr;
    padding: 5rem 0 4rem;
    gap: 2.5rem;
    align-items: start;
  }

  .footer-contact { align-items: flex-start; }
}

@media (max-width: 600px) {
  .video-grid,
  .indep-video-grid { grid-template-columns: 1fr; }
}
