/* =====================================================
   SAM DATIN — Portfolio Website  |  style.css
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --bg:          #08090C;
  --bg-2:        #101218;
  --bg-3:        #181A22;
  --accent:      #F5A623;
  --accent-dim:  rgba(245, 166, 35, 0.10);
  --accent-glow: rgba(245, 166, 35, 0.22);
  --accent-h:    #FBB947;
  --text:        #F0F0F5;
  --text-2:      #8A8B9F;
  --text-3:      #44455A;
  --border:      rgba(255, 255, 255, 0.06);
  --border-h:    rgba(245, 166, 35, 0.28);
  --radius:      12px;
  --radius-sm:   8px;
  --nav-h:       70px;
  --max-w:       1240px;
  --py:          110px;
  --f-display:   'Bebas Neue', sans-serif;
  --f-heading:   'Barlow Condensed', sans-serif;
  --f-body:      'Inter', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.eyebrow {
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.display-heading {
  font-family: var(--f-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-desc {
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.65;
}
.body-copy {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 18px;
}
.body-copy strong { color: var(--text); font-weight: 600; }
.section-header { margin-bottom: 60px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===== TAGS ===== */
.sport-tag {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  padding: 4px 12px;
  border-radius: 4px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(8, 9, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.09em;
  color: var(--text);
  transition: color 0.2s;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.nav-cta) {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  font-family: var(--f-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #000; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO — Split layout: photo left / content right
   ===================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 44% 56%;
  position: relative;
  overflow: hidden;
}

/* Gold accent bar across the very top */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent) 60%, transparent 100%);
  z-index: 10;
}

/* ---- Photo column ---- */
.hero-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0D1828 0%, #091220 60%, #06090F 100%);
  min-height: 100vh;
}

/* Actual headshot — shown when user adds their photo */
.hero-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  inset: 0;
}

/* Placeholder shown until headshot is added */
.hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}
/* Subtle dot grid texture on placeholder */
.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 166, 35, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.hp-mono {
  font-family: var(--f-display);
  font-size: 110px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(245, 166, 35, 0.12);
  position: relative;
  z-index: 1;
  user-select: none;
}
.hp-label {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}

/* Right-edge fade: photo bleeds into content column */
.hero-photo-fade-r {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
/* Bottom-edge fade: photo blends into marquee zone */
.hero-photo-fade-b {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---- Content column ---- */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 64px) 72px 120px 52px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
/* Subtle radial glow behind content */
.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 35%, rgba(18, 28, 56, 0.6) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.2s forwards;
  position: relative;
}
.hero-name {
  font-family: var(--f-display);
  font-size: clamp(76px, 9.5vw, 150px);
  line-height: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.4s forwards;
  position: relative;
}
.hero-tagline {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 400px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.6s forwards;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.78s forwards;
  position: relative;
}

/* Network credential pills below the CTAs */
.hero-networks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.95s forwards;
  position: relative;
}
.hero-networks span {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ---- Marquee — spans full width at bottom ---- */
.hero-marquee-wrap {
  position: absolute;
  bottom: 50px;
  left: 0; right: 0;
  z-index: 3;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 8px 0;
}
.marquee-track span { white-space: nowrap; }
.marquee-track .dot { color: var(--accent); flex-shrink: 0; }

/* ---- Scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--text-3);
  animation: scrollPulse 2.4s ease 1.8s infinite;
  opacity: 0;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  padding: var(--py) 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo-col { position: relative; }
.about-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #0f1a2e 0%, #0a1020 60%, #080c18 100%);
  border: 2px dashed rgba(255,255,255,0.08);
  position: relative;
}
.about-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.about-placeholder > span {
  font-family: var(--f-display);
  font-size: 72px;
  letter-spacing: 0.04em;
  color: rgba(245, 166, 35, 0.18);
  position: relative;
  z-index: 1;
}
.about-placeholder > p {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--accent);
  color: #000;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.about-badge-label {
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 2px;
}
.about-badge-val {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.about-text { padding-top: 4px; }
.stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 36px 0;
}
.stat-num {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stat-divider {
  width: 1px; height: 44px;
  background: var(--border);
  flex-shrink: 0;
}
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================
   WORK / REELS
   ===================================================== */
.work {
  padding: var(--py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-video { margin-bottom: 48px; }
.featured-label { margin-bottom: 14px; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.featured-caption {
  margin-top: 14px;
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  outline: none;
}
.video-card:hover,
.video-card:focus-visible {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
.video-card-placeholder { cursor: default; opacity: 0.45; }
.video-card-placeholder:hover,
.video-card-placeholder:focus-visible {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-3);
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.video-card:not(.video-card-placeholder):hover .video-thumb img { transform: scale(1.05); }
.video-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-empty-icon { color: var(--text-3); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 54px; height: 54px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.thumb-sport-tag {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--f-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 9, 12, 0.88);
  color: var(--accent);
  padding: 3px 9px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.video-meta { padding: 16px 18px 20px; }
.video-meta h3 {
  font-family: var(--f-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.video-meta p {
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

/* =====================================================
   CREDITS / EXPERIENCE
   ===================================================== */
.credits {
  padding: var(--py) 0;
  background: var(--bg);
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.credit-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
}
.credit-card:hover {
  border-color: var(--border-h);
  background: var(--bg-3);
}
.credit-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--f-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.credit-badge.current {
  background: var(--accent);
  color: #000;
}
.credit-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}
.credit-card h3 {
  font-family: var(--f-heading);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.credit-card ul { display: flex; flex-direction: column; gap: 6px; }
.credit-card li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.credit-card li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.credit-card-featured {
  background: var(--accent-dim);
  border-color: rgba(245, 166, 35, 0.2);
}
.credit-card-featured:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.38);
}
.credit-card-edu {
  background: var(--accent-dim);
  border-color: rgba(245, 166, 35, 0.2);
}
.credit-card-edu:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.38);
}
.credit-star-icon { color: var(--accent); margin-bottom: 12px; }
.credit-school-name {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 6px;
}
.credit-school-deg {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 4px;
}
.credit-school-sub {
  font-family: var(--f-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent);
  text-transform: uppercase;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  padding: var(--py) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.contact-link:hover {
  color: var(--accent);
  border-color: var(--border-h);
  background: var(--accent-dim);
}
.contact-link-icon { display: flex; align-items: center; flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-group label span { color: var(--accent); }
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.btn-label { flex: 1; text-align: center; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 52px 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--f-display);
  font-size: 38px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}
.footer-role {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 20px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }

/* =====================================================
   VIDEO MODAL
   ===================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.modal:not([hidden]) { pointer-events: all; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.modal-box {
  position: relative;
  width: 90%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: -46px; right: 0;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }
.modal-video-slot {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.modal-video-slot iframe { width: 100%; height: 100%; border: none; }

/* =====================================================
   KEYFRAMES
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  40%  { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  60%  { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   RESPONSIVE — Tablet ≤ 1024px
   ===================================================== */
@media (max-width: 1024px) {
  :root { --py: 90px; }

  .hero { grid-template-columns: 48% 52%; }
  .hero-content { padding: calc(var(--nav-h) + 48px) 48px 120px 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-col { max-width: 340px; }

  .credits-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
}

/* =====================================================
   RESPONSIVE — Mobile ≤ 768px
   ===================================================== */
@media (max-width: 768px) {
  :root { --py: 72px; }
  .container { padding: 0 20px; }

  /* Nav */
  .nav-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(8, 9, 12, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    display: none;
    padding-bottom: 60px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.nav-cta) { font-size: 22px; letter-spacing: 0.1em; }
  .nav-cta { font-size: 16px; padding: 12px 28px; }

  /* Hero — stacks photo on top, content below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-photo {
    min-height: 55vh;
    order: 1;
  }
  .hero-placeholder { min-height: 55vh; }
  .hero-photo-fade-r { display: none; } /* no right fade needed on mobile */
  .hero-content {
    order: 2;
    padding: 44px 24px 120px;
    justify-content: flex-start;
  }
  .hero-name { font-size: clamp(72px, 20vw, 120px); }
  .hero-tagline { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-networks { margin-top: 20px; }
  .hero-marquee-wrap { bottom: 50px; }

  /* About stats */
  .stats-row { flex-wrap: wrap; gap: 20px; padding: 20px; }
  .stat-divider { display: none; }
  .about-badge { bottom: -14px; right: -8px; }

  /* Credits */
  .credits-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-eyebrow { display: none; }
  .video-grid { grid-template-columns: 1fr; }
}
