/* ============================================================
   Wray Crawford Actor — main.css
   Modern, minimalist, black & white
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

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

/* === VARIABLES === */
:root {
  --black:      #080808;
  --near-black: #111111;
  --dark:       #1c1c1c;
  --mid:        #555;
  --muted:      #888;
  --light:      #bbb;
  --off-white:  #e8e8e8;
  --white:      #ffffff;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h:  68px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max-w:  1120px;
  --t:      0.3s ease;
}

/* === BASE === */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  transition: color var(--t);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t);
}

/* hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--t);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.8rem; letter-spacing: 0.3em; }
}

/* ============================================================
   HERO — Landing page (index.html)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.hero-rule {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--light);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 3.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t);
  border-radius: 0;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
}
.btn-primary:hover { background: transparent; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }

/* ---- Hero image ---- */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient bleed into left panel */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(8,8,8,0.3) 30%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: auto;
    max-height: 90vh;
    order: -1;
  }
  .hero-right img {
    object-position: center 20%;
  }
  .hero-right::before {
    background: linear-gradient(to bottom, transparent 55%, var(--black) 100%);
  }
  .hero-left {
    padding-top: 2.5rem;
  }
}

/* ============================================================
   INTERIOR PAGE SHELL
   ============================================================ */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 4rem;
}

.page-header-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.page-header-top h1 { margin-bottom: 0; }

/* IMDb button */
.imdb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: #f5c518;
  color: #000;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--t), transform var(--t);
  flex-shrink: 0;
}

.imdb-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.imdb-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
  flex-shrink: 0;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-header .sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
  padding-bottom: 6rem;
}

/* Sticky photo column */
.about-photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 1.5rem;
}

.stat {
  padding: 0.9rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat:nth-child(2n)  { border-right: none; }
.stat:nth-child(3),
.stat:nth-child(4)   { border-bottom: none; }

.stat-label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--off-white);
}

.union-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.union-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--off-white);
  flex-shrink: 0;
}

/* Bio content */
.bio-lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.bio-body p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.bio-body strong { color: var(--off-white); font-weight: 400; }

.bio-credits {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.credit-tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 0.9rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-photo-col {
    position: static;
    max-width: 340px;
    margin: 0 auto;
  }
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat:nth-child(2)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(3)  { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(4)  { border-right: none; }
}

@media (max-width: 500px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)  { border-right: none; }
  .stat:nth-child(3)  { border-bottom: 1px solid rgba(255,255,255,0.08); border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(4)  { border-bottom: none; border-right: none; }
}

/* ============================================================
   RESUME PAGE
   ============================================================ */
.resume-col {
  max-width: 860px;
  padding-bottom: 6rem;
}

.resume-block {
  margin-bottom: 4rem;
}

.resume-block-title {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0;
}

/* Credits table */
.credits {
  width: 100%;
  border-collapse: collapse;
}

.credits tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t);
}
.credits tr:hover { background: rgba(255,255,255,0.025); }

.credits td {
  padding: 0.95rem 0.5rem 0.95rem 0;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--light);
  vertical-align: top;
}

/* Title column */
.credits td.c-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--off-white);
  font-weight: 400;
  width: 38%;
  padding-right: 1.5rem;
}

/* Role column */
.credits td.c-role {
  width: 22%;
  padding-right: 1rem;
}

/* Company / director column */
.credits td.c-company {
  color: var(--muted);
  font-size: 0.82rem;
}

.award {
  display: block;
  font-size: 0.65rem;
  font-style: italic;
  color: #c8a56a;
  margin-top: 0.2rem;
}

/* Training list */
.training-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--light);
  align-items: baseline;
}

.training-list li:last-child { border-bottom: none; }

.training-list .t-inst {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* Skills */
.skills-text {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--light);
  line-height: 1.85;
}

.skills-text strong { color: var(--off-white); font-weight: 400; }

/* Download CTA */
.resume-cta {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-cta p {
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .credits td.c-company { display: none; }
  .credits td.c-title   { width: 50%; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-block { margin-bottom: 5rem; }

.gallery-block-title {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Headshots: 5 up, square crop */
.grid-headshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 3px;
}

/* Performances: 3-column masonry feel */
.grid-performances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

@media (max-width: 720px) { .grid-performances { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 300px) { .grid-performances { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(15%);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg {
  width: 30px;
  height: 30px;
  stroke: var(--white);
  stroke-width: 1.5;
  fill: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lb-btn {
  position: fixed;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t);
  font-size: 1.4rem;
  line-height: 1;
}

.lb-btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

#lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

#lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 80px;
}

#lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 80px;
}

/* ============================================================
   VIDEOS PAGE
   ============================================================ */
.video-wrap {
  padding-bottom: 6rem;
}

.video-label {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.video-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.video-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4rem 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  padding-bottom: 6rem;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
}

.contact-section-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Agency logo */
.agency-logo {
  max-width: 150px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity var(--t);
}
.agency-logo:hover { opacity: 1; }

/* Contact detail list */
.contact-details li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--light);
  align-items: baseline;
}

.contact-details li:last-child { border-bottom: none; }

.contact-details .dl {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a:hover { color: var(--white); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 1rem; /* 16px — prevents iOS auto-zoom */
  font-weight: 300;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color var(--t);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--mid);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-social a {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
}

.footer-social a:hover { color: var(--white); }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — MOBILE & SMALL SCREEN
   ============================================================ */

/* ── Nav logo: prevent overflow on very small screens ── */
@media (max-width: 380px) {
  .nav-logo {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }
}

/* ── Hero: tighten spacing on small phones ── */
@media (max-width: 480px) {
  .hero-right {
    max-height: 75vh; /* cap so image doesn't dominate a small screen */
  }
  .hero-left {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .hero-tagline {
    margin-bottom: 2rem;
    max-width: 100%;
  }
  .hero-actions { gap: 0.75rem; }
  .btn { padding: 0.7rem 1.4rem; }
}

/* ── Page header: reduce vertical padding on mobile ── */
@media (max-width: 600px) {
  .page-header {
    padding: 2rem 0 1.75rem;
    margin-bottom: 2rem;
  }
  .page-header .sub {
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
}

/* ── About: constrain photo height on phones ── */
@media (max-width: 600px) {
  .about-photo-col {
    max-width: 100%;
  }
  .about-photo {
    width: 100%;
    height: 55vw;
    max-height: 280px;
    aspect-ratio: unset;
  }
  .about-grid {
    padding-bottom: 3rem;
  }
}

/* ── Resume: horizontal scroll for wide tables;
      stacked training rows; smaller cell padding ── */
@media (max-width: 600px) {
  .resume-col { padding-bottom: 3rem; }

  .resume-block { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .credits td {
    padding: 0.7rem 0.35rem 0.7rem 0;
    font-size: 0.82rem;
  }
  .credits td.c-title {
    font-size: 0.9rem;
    padding-right: 0.6rem;
  }

  .training-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .training-list .t-inst {
    text-align: left;
    white-space: normal;
    font-size: 0.72rem;
  }

  .resume-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* ── Gallery: ensure lightbox buttons don't overlap image on phones ── */
@media (max-width: 480px) {
  #lightbox-prev { left: 0.25rem; width: 36px; }
  #lightbox-next { right: 0.25rem; width: 36px; }
  #lightbox-img  { max-width: 92vw; }
}

/* ── Videos: tighten CTA row gap on phones ── */
.video-cta-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}
@media (max-width: 600px) {
  .video-cta-row { gap: 2rem; }
  .video-cta-row > div { min-width: 0; flex: 1 1 100%; }
  .video-divider { margin: 2.5rem 0; }
}

/* ── Contact: reduce gap between stacked sections ── */
@media (max-width: 820px) {
  .contact-grid { gap: 2.5rem; }
}
@media (max-width: 600px) {
  .contact-grid { padding-bottom: 3rem; }
}

/* ── Footer: tighten on very small screens ── */
@media (max-width: 480px) {
  .footer-social { gap: 1.25rem; }
  .site-footer    { padding: 1.5rem var(--gutter); }
}
