/* ============================================
   STEPHAN FLEET — VFX Supervisor
   Dark cinematic portfolio
   ============================================ */

:root {
  --bg: #000;
  --fg: #fff;
  --fg-dim: rgba(255, 255, 255, 0.55);
  --accent: #e8e8e8;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }

/* ---------- TRANSITIONS ----------
   Pages crossfade into each other (View Transitions API).
   Unsupported browsers simply navigate normally. */

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-fade-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-fade-in 0.38s ease both; }

@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* interior page content rises in gently */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page main { animation: rise-in 0.5s ease both; }

/* homepage type + buttons ease in on load */
.splash { animation: rise-in 0.7s ease both; }
nav.bottom-menu, .socials { animation: vt-fade-in 0.9s ease both; }

/* respect users who turn animations off */
@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-old(root), ::view-transition-new(root) {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- HOMEPAGE ---------- */

.hero {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* subtle darkening so type always reads */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* big wall of type — name + title as one wrapping run */
.splash {
  position: fixed;
  top: 7vh;
  left: 3vw;
  right: 3vw;
  bottom: 11vh;            /* leave room for the bottom nav */
  z-index: 10;
  display: flex;
  flex-direction: column;
  font-family: "Jost", "Futura", "Century Gothic", var(--font);
  pointer-events: none;    /* clicks pass through to the video */
}

.splash .name {
  font-weight: 300;        /* thin */
  font-size: clamp(1.8rem, 11.5vw, 12rem);
  line-height: 1;
  text-transform: uppercase;   /* ALL CAPS */
}

/* each line spreads its letters edge-to-edge via flexbox
   (js/content.js splits the text into per-letter spans).
   This works in every browser, incl. Safari. */
.splash .name .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.splash .name .line .sp { width: 0.5em; }   /* wider gap at word breaks */

/* the title portion — same size, light gray */
.splash .name .muted {
  color: rgba(255, 255, 255, 0.42);
}

/* blend the title line against the video behind it */
.splash .name .line.muted {
  mix-blend-mode: difference;
}

/* the three clear (ghost) reel buttons under the name */
.cta-row {
  flex: 1 1 auto;          /* fill the space below the headline */
  display: flex;
  flex-direction: column;  /* stack: Q&A button, event time, Reel button */
  align-items: center;     /* horizontally center */
  justify-content: center; /* vertically center the stack in that space */
  gap: 0.9rem;
}

/* event promo time line */
.event-time {
  margin: -0.3rem 0 0.1rem;
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.cta-row a {
  display: inline-block;
  pointer-events: auto;          /* splash blocks clicks; re-enable here */
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);  /* slight fill so buttons pop over video */
  padding: 0.85em 1.9em;
  font-family: var(--font);
  font-size: clamp(0.85rem, 1.3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}


.cta-row a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-3px);   /* subtle lift */
}

/* title + business email — top right */
.corner-info {
  position: fixed;
  top: 1.8rem;
  right: 2.2rem;
  z-index: 10;
  text-align: right;
}

.corner-info p {
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.corner-info a {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(0.68rem, 0.95vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);   /* light gray */
  transition: color 0.2s;
}

.corner-info a:hover { color: var(--fg); }

/* social icons — bottom right */
.socials {
  position: fixed;
  right: 2.2rem;
  bottom: 3vh;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.socials img {
  width: 26px;
  height: 26px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.socials a:hover img {
  opacity: 1;
  transform: scale(1.12);
}

/* sub menu — quiet row, bottom left */
nav.bottom-menu {
  position: fixed;
  left: 3.5vw;
  right: 18rem;          /* reserve room for the socials so they never overlap */
  bottom: 3vh;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2.2rem;
}

nav.bottom-menu a {
  display: inline-block;
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s, transform 0.2s;
}

nav.bottom-menu a:hover { color: var(--fg); transform: translateY(-3px); }

/* ---------- INTERIOR PAGES ---------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* solid black bottom bar (interior pages) — holds nav + socials,
   auto-sizes to content so scrolling text never bleeds through.
   Built by js/content.js. Homepage has no .page class. */
.page-bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: #000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 0.9rem 3.5vw 1rem;
}

/* soft fade just above the bar so text doesn't hard-cut at its edge */
.page-bottombar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 2.2rem;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.page-bottombar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.8rem;
}

.page-bottombar nav a {
  display: inline-block;
  font-size: clamp(0.72rem, 1.05vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s, transform 0.2s;
}

.page-bottombar nav a:hover,
.page-bottombar nav a.active { color: var(--fg); }
.page-bottombar nav a:hover { transform: translateY(-3px); }

.page-bottombar .socials {
  position: static;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

/* hamburger + overlay: hidden on desktop, shown on phones */
.menu-toggle { display: none; }
.menu-overlay { display: none; }

/* bottom furniture (nav + socials) replaces the interior footer */
.page footer { display: none; }

/* interior top bar — just the name, top-left (links home) */
header.top {
  padding: 2.2rem 2.5rem;
}

header.top .logo {
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 1rem;
}

/* interior nav — fixed bottom-left, matches the homepage */
header.top nav {
  position: fixed;
  left: 3.5vw;
  right: 18rem;          /* reserve room for the socials so they never overlap */
  bottom: 3vh;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.8rem;
}

header.top nav a {
  display: inline-block;
  font-size: clamp(0.72rem, 1.05vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s, transform 0.2s;
}

header.top nav a:hover,
header.top nav a.active { color: var(--fg); }

header.top nav a:hover { transform: translateY(-3px); }

main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  /* extra bottom padding so content clears the fixed nav bar */
  padding: 2rem 2.5rem 8rem;
}

main h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

/* vertically center a page's content (e.g. Contact) */
main.center-v {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

main p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 65ch;
  margin-bottom: 1.4rem;
}

/* label above each video on multi-video pages */
.video-label {
  margin: 2.8rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.video-label:first-of-type { margin-top: 0; }

/* responsive vimeo embed */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
  margin-bottom: 2rem;
}

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

/* ---------- ABOUT ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 3rem;
  align-items: start;
}

.headshot { margin: 0; }

/* before a photo is added, collapse to a single column cleanly */
.about-layout.no-photo { grid-template-columns: 1fr; }
.about-layout.no-photo .headshot { display: none; }

.headshot img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.headshot img:hover { filter: grayscale(0%); }

/* BTS thumbnail strip under the headshot */
.about-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.about-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.about-thumb:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.about-bio p:first-child {
  font-size: 1.2rem;
  color: #fff;
}

/* ---------- CV SECTIONS (credits page) ---------- */
.section-label {
  margin: 2.6rem 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
}

.cv-block { margin-top: 3.5rem; }

.cv-title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem 2.4rem;
}

.skill-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.5rem;
}

.skill-detail {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cv-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 3rem;
}

.plain-list { list-style: none; }

.plain-list li {
  padding: 0.55rem 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* credits list — two tighter columns */
.credits-list {
  list-style: none;
  column-count: 2;
  column-gap: 3rem;
}

.credits-list li {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.credits-list .title { font-weight: 700; }
.credits-list .role {
  color: var(--fg-dim);
  text-align: right;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* note under a section title (e.g. "Directed by Stephan Fleet") */
.section-note {
  margin: -0.8rem 0 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* "watch the full film" link */
.full-film-link { margin-top: 1.2rem; }

.full-film-link a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s;
}

.full-film-link a:hover { border-color: var(--fg); }

/* representation block */
.reps-list { list-style: none; }

.rep {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.6rem;
}

.rep-agency { font-weight: 700; font-size: 1.15rem; }
.rep-name { color: var(--fg-dim); }

.rep-line {
  width: max-content;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.rep-line:hover { color: #fff; border-color: #fff; }

/* press list */
.press-list { list-style: none; }

.press-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.press-date {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  white-space: nowrap;
}

.press-list a {
  font-size: 1.15rem;
  font-weight: 700;
  transition: color 0.2s;
}

.press-list a:hover { color: var(--fg-dim); }

.press-list .outlet {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* video links get a play marker */
.press-list a.is-video::before {
  content: "\25B6\FE0E";
  font-size: 0.7em;
  margin-right: 0.7em;
  vertical-align: middle;
  color: var(--fg-dim);
}

/* fullscreen popup video player */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vmin;
  background: rgba(0, 0, 0, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  width: min(1280px, 100%);
  transform: scale(0.94);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

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

/* caption above a lightbox video (e.g. "New Reel Coming Soon") */
.lightbox-caption {
  text-align: center;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* note above the reel on the VFX Reel page */
.reel-note {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.3rem;
}

/* image mode — fit to the screen at natural aspect */
.lightbox.is-image .lightbox-inner {
  width: auto;
  max-width: min(1280px, 94vw);
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* prominent X — circle, fixed top-right of the screen */
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--fg);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s, border-color 0.2s;
}

.lightbox-close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: rotate(90deg);
}

/* contact */
.contact-label {
  margin: 2.5rem 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.contact-form {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.8em;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
}

.contact-form button {
  align-self: flex-start;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9em 2.4em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form button:hover { opacity: 0.8; }

.hidden-field { display: none; }

.contact-status {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-links { list-style: none; }

.contact-links li { margin-bottom: 1.2rem; }

.contact-links a {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s;
}

.contact-links a:hover { border-color: var(--fg); }

footer {
  padding: 2rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- TABLETS (portrait iPads etc.) ---------- */

@media (max-width: 1024px) and (orientation: portrait) {
  /* portrait screens are tall — let the type breathe a bit bigger */
  .splash { left: 4.5vw; }
  .splash .name { font-size: clamp(2.4rem, 12vw, 11rem); }
}

/* ---------- PHONES ---------- */

@media (max-width: 640px) {
  .splash { left: 5vw; right: 5vw; top: 6vh; }
  .splash .name { font-size: clamp(1.4rem, 10.5vw, 6rem); }

  .cta-row {
    gap: 0.6rem;
  }

  /* bigger, thumb-friendly reel button on phones */
  .cta-row a {
    font-size: 1rem;
    padding: 0.95em 2.1em;
    letter-spacing: 0.22em;
  }

  .corner-info {
    top: 1.2rem;
    right: 1.2rem;
  }

  .corner-info p { letter-spacing: 0.26em; }

  /* socials lower-left on EVERY page (homepage + interior) */
  .socials {
    left: 1.2rem;
    right: auto;
    bottom: 1.3rem;
    gap: 1rem;
  }

  .socials img { width: 22px; height: 22px; }

  /* homepage: hide the inline link row, use the hamburger instead */
  nav.bottom-menu { display: none; }

  /* interior pages */
  header.top {
    padding: 1.4rem;
  }

  /* interior bottom bar: socials lower-left, hamburger lower-right */
  .page-bottombar {
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
  }

  .page-bottombar nav { display: none; }

  .page-bottombar .socials {
    display: flex;
    gap: 1rem;
  }

  .page-bottombar .socials img { width: 22px; height: 22px; }

  /* hamburger button (in-bar on interior, fixed on homepage) */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 48px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle-fixed {
    position: fixed;
    right: 1.1rem;
    bottom: 1rem;
    z-index: 25;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
  }

  /* fullscreen menu overlay */
  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.97);
  }

  .menu-overlay.open { display: flex; }

  .menu-close {
    position: fixed;
    top: 1.2rem;
    right: 1.4rem;
    width: 3rem;
    height: 3rem;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
  }

  .menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .menu-nav a {
    display: block;
    padding: 0.7rem 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
  }

  .menu-nav a.active { color: var(--fg-dim); }

  .menu-socials {
    display: flex;
    gap: 1.9rem;
    margin-top: 1rem;
  }

  .menu-socials img { width: 28px; height: 28px; }

  main { padding: 1rem 1.4rem 4rem; }

  .credits-list { column-count: 1; }
  .credits-list li { flex-direction: column; gap: 0.2rem; }
  .credits-list .role { text-align: left; white-space: normal; }

  /* mobile About: small headshot, then bio, then BTS gallery at the base */
  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }
  .about-side { display: contents; }   /* flatten so the 3 pieces can reorder */
  .headshot { order: 1; max-width: 190px; margin: 0; }
  .about-bio { order: 2; }
  .about-thumbs { order: 3; margin-top: 0.5rem; }
}
