/* ============================================================
   Adam Varney — Editor / Producer
   Stylesheet (shared across all pages)
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #111;
  --fg: #f4f1ec;
  --muted: #9a958e;
  --accent: #d8b46a;
  --line: rgba(244,241,236,0.12);
  --maxw: 1500px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #050505; }
body {
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: none;
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, #1c1c1c 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, #141414 0%, transparent 70%),
    linear-gradient(180deg, #0e0e0e 0%, #080808 50%, #050505 100%);
  background-attachment: fixed;
  background-color: #050505;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; display: block; }

/* ===== Navigation ===== */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 40px;
  backdrop-filter: blur(14px);
  background: rgba(10,10,10,0.6);
  border-bottom: 1px solid var(--line);
}
nav.site .logo {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700; letter-spacing: 0.18em;
  font-size: 18px; text-transform: uppercase;
}
nav.site .logo span { color: var(--accent); }
nav.site ul { list-style: none; display: flex; gap: 32px; }
nav.site ul a {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); transition: color .25s ease;
  padding: 6px 0; position: relative;
}
nav.site ul a:hover, nav.site ul a.active { color: var(--fg); }
nav.site ul a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
@media (max-width: 700px) {
  nav.site { padding: 16px 20px; }
  nav.site ul { gap: 18px; }
  nav.site ul a { font-size: 10px; letter-spacing: 0.18em; }
}

/* ===== Page Layout ===== */
main { padding-top: 80px; }
section {
  padding: 120px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
section.full { max-width: none; padding-left: 0; padding-right: 0; }
section.tight { padding: 80px 40px; }

/* ===== Section Headers ===== */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px; gap: 40px; flex-wrap: wrap;
}
.section-head .label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.02em;
  margin-top: 12px;
}
.section-head p {
  max-width: 420px; color: var(--muted);
  font-size: 15px; line-height: 1.7;
}

/* ===== Page Header (sub-pages) ===== */
.page-header {
  padding: 180px 40px 100px;
  border-bottom: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
}
/* Compact variant — used on the home page when only the eyebrow lives here */
.page-header--compact {
  padding: 110px 40px 30px;
  border-bottom: none;
}
.page-header .label {
  font-size: 11px; letter-spacing: 0.36em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.page-header h1 {
  font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-size: clamp(60px, 10vw, 160px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header .lede {
  margin-top: 32px; max-width: 640px;
  font-size: 18px; line-height: 1.7; color: var(--muted);
}

/* ===== HERO (Home) ===== */
.hero {
  min-height: calc(100vh - 80px);
  padding: 0; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  margin-top: -80px;
}
.hero .reel-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 30% 30%, #1d1d1d 0%, #0a0a0a 60%);
}
.hero .reel-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(10,10,10,0.85) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='6'><circle cx='1' cy='1' r='0.5' fill='%23ffffff' opacity='0.04'/></svg>");
}
.hero .inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  width: 100%; padding: 140px 40px 80px;
}
.hero .eyebrow {
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 32px;
}
.hero h1 {
  font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.92; letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero .hero-lede {
  margin-top: 36px; max-width: 640px;
  font-size: 18px; line-height: 1.7; color: var(--muted);
}
/* Relocated bio meta strip (lives above the networks lockup) */
.bio-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 900px; margin: 0 auto;
  padding-top: 32px; border-top: 1px solid var(--line);
  text-align: center;
}
.bio-meta div span:first-child {
  display: block; font-size: 10px; letter-spacing: 0.3em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 8px;
}
.bio-meta div span:last-child { font-size: 14px; color: var(--fg); }
@media (max-width: 700px) {
  .bio-meta { grid-template-columns: 1fr; gap: 24px; }
}
.hero .meta {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 800px;
  border-top: 1px solid var(--line); padding-top: 32px;
}
.hero .meta div span:first-child {
  display: block; font-size: 10px; letter-spacing: 0.3em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 8px;
}
.hero .meta div span:last-child { font-size: 14px; color: var(--fg); }
.hero .scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero .scroll::after {
  content: ''; width: 1px; height: 40px; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== Featured strip on home ===== */
.featured-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin: 60px 0;
}
@media (max-width: 800px) { .featured-strip { grid-template-columns: 1fr; } }

/* ===== Work Filters ===== */
.work-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.work-filters button {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 20px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.work-filters button:hover { color: var(--fg); border-color: var(--fg); }
.work-filters button.active {
  color: var(--bg); background: var(--accent); border-color: var(--accent);
}

/* ===== Work Grid ===== */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

.project {
  position: relative; overflow: hidden; cursor: pointer;
  background: #0c0c0c; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.project:hover { border-color: rgba(216,180,106,0.35); }
.project .thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  overflow: hidden;
  transition: filter .4s ease;
  filter: grayscale(0.25) contrast(1.05);
}
.project:hover .thumb { filter: none; }
.project .thumb img.thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.project:hover .thumb img.thumb-img { transform: scale(1.04); }
.project .info {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 8px;
  background: #0c0c0c;
  border-top: 1px solid var(--line);
}
.project .info .row1 {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.project .info .row1 .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.project .info h3 {
  font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1;
  color: var(--fg);
  margin-top: 2px;
}
.project .info .roles {
  margin-top: 6px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.project .project-logo {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: flex-start;
}
.project .project-logo img {
  height: 40px; width: auto; max-width: 70%;
  /* Recolor any black/dark logo into the accent gold */
  filter: brightness(0) saturate(100%) invert(76%) sepia(34%) saturate(471%) hue-rotate(7deg) brightness(94%) contrast(86%);
  opacity: 0.92;
  transition: opacity .25s ease;
}
.project:hover .project-logo img { opacity: 1; }
.project .play {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.55); backdrop-filter: blur(6px);
  transition: all .25s ease;
  opacity: 0;
}
.project:hover .play {
  opacity: 1;
  background: var(--accent); border-color: var(--accent);
}
.project .play svg { width: 14px; height: 14px; fill: var(--fg); transition: fill .25s; }
.project:hover .play svg { fill: var(--bg); }

/* Inline YouTube player — sits inside .thumb when the card is playing */
.project .thumb iframe.inline-player {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 3;
}
.project.playing { cursor: default; border-color: rgba(216,180,106,0.55); }
.project.playing .thumb { filter: none; }
.project.playing .play { display: none; }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.modal.active { display: flex; }
.modal-content {
  width: 100%; max-width: 1100px;
  aspect-ratio: 16/9; position: relative;
}
.modal-content iframe { width: 100%; height: 100%; border: 0; }
.modal .close {
  position: absolute; top: -50px; right: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--fg); color: var(--bg); border: 0; cursor: pointer;
  font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal .meta {
  position: absolute; top: -50px; left: 0;
  color: var(--muted); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden; padding: 50px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex; gap: 28px; white-space: nowrap;
  animation: scroll 54s linear infinite;
  font-family: 'Bodoni Moda', serif;
  font-size: 56px; font-style: italic; font-weight: 600;
  color: var(--muted);
}
.marquee-track span { color: var(--accent); margin: 0 10px; font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== About Page ===== */
.about {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } }
.about-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.about-portrait::before {
  content: 'AV';
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-family: 'Bodoni Moda', serif; font-size: 280px;
  color: rgba(216,180,106,0.20); font-weight: 600;
  letter-spacing: -0.05em;
}
.about-portrait::after {
  content: ''; position: absolute; bottom: 20px; left: 20px; right: 20px;
  height: 1px; background: var(--accent);
}
.about-text p { font-size: 17px; line-height: 1.7; color: #d8d4cc; margin-bottom: 24px; }
.about-text p.lead {
  font-size: 24px; font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-style: italic; color: var(--fg); line-height: 1.4;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line);
}
.about-stats div .num {
  display: block; font-family: 'Bodoni Moda', serif;
  font-size: 56px; font-weight: 600; color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.about-stats div .label {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}

/* ===== Networks ===== */
.networks { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); }
.networks h3 {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: 40px;
}
.networks-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, 170px);
  justify-content: center;
  border-top: 1px solid var(--line);
  max-width: 1360px;
  margin: 0 auto;
}
.networks-row span {
  display: flex; align-items: center; justify-content: center;
  width: 170px; height: 96px; padding: 14px 20px;
  border-left: 1px solid var(--line);
  background: rgba(12,12,12,0.4);
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: all .35s ease;
  text-align: center; line-height: 1.3;
}
.networks-row span:hover {
  background: rgba(216,180,106,0.06);
  color: var(--accent);
  letter-spacing: 0.28em;
}

/* ===== Resume ===== */
.resume { margin-top: 60px; }
.resume-block { margin-bottom: 60px; }
.resume-block h3 {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.resume-row {
  display: grid; grid-template-columns: 80px 1fr 240px 140px;
  gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line);
  align-items: baseline; font-size: 14px;
  transition: background .25s;
}
.resume-row:hover { background: rgba(216,180,106,0.04); }
.resume-row:last-child { border-bottom: none; }
.resume-row .yr { color: var(--accent); font-weight: 600; font-family: 'Bodoni Moda', serif; }
.resume-row .ttl { font-family: 'Bodoni Moda', serif; font-size: 18px; font-weight: 600; }
.resume-row .net { color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.resume-row .pro { color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .resume-row { grid-template-columns: 60px 1fr; }
  .resume-row .net, .resume-row .pro { grid-column: 2; font-size: 11px; }
}

/* ===== Contact ===== */
.contact-hero {
  text-align: center; padding: 180px 40px 100px;
  border-bottom: 1px solid var(--line);
}
.contact-hero .label {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
}
.contact-hero h1 {
  font-family: 'Bodoni Moda', serif; font-weight: 600;
  font-size: clamp(48px, 9vw, 160px); line-height: 1;
  letter-spacing: -0.02em;
  margin: 30px 0 60px;
}
.contact-hero h1 em { font-style: italic; color: var(--accent); }
.contact-hero a.email {
  font-family: 'Bodoni Moda', serif; font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--accent); padding-bottom: 8px;
  transition: color .3s;
}
.contact-hero a.email:hover { color: var(--accent); }

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; max-width: var(--maxw); margin: 0 auto;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 60px 40px; border: 1px solid var(--line);
  background: #0c0c0c; min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .3s;
}
.contact-card:hover { background: #111; }
.contact-card .label {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
.contact-card .value {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px; line-height: 1.3; color: var(--fg);
}
.contact-card .value a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-card .value a:hover { border-color: var(--accent); }

/* ===== Footer ===== */
footer {
  padding: 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); flex-wrap: wrap; gap: 16px;
}
footer a:hover { color: var(--fg); }

/* ===== Disclaimer ===== */
.disclaimer {
  background: rgba(216,180,106,0.05); border: 1px solid rgba(216,180,106,0.15);
  padding: 14px 20px; font-size: 11px; color: var(--muted); line-height: 1.6;
  margin-top: 40px; max-width: 700px;
}
.disclaimer strong { color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; }

/* ===== Featured (home) ===== */
.featured-cta {
  display: flex; gap: 20px; margin-top: 60px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; transition: all .3s;
}
.btn-cta:hover { background: var(--accent); color: var(--bg); }
.btn-cta.solid { background: var(--accent); color: var(--bg); }
.btn-cta.solid:hover { background: transparent; color: var(--accent); }
