/* ============================================================
   SIMON SCHNEIDER — DIRECTOR | WRITER
   simonjschneider.com
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: #0a0a0a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
}

ul, ol {
  list-style: none;
}

[hidden] { display: none !important; }

/* --- CSS Variables --- */
:root {
  --nav-height: 64px;
  --color-text: #0a0a0a;
  --color-muted: #888888;
  --color-border: #e5e5e5;
  --max-width: 1440px;
  --page-padding: clamp(20px, 4vw, 60px);
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition);
}

/* Home: transparent nav over dark video */
body.page-home .nav {
  background: transparent;
  border-bottom-color: transparent;
}

/* Nav logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
  flex-shrink: 0;
}

.logo-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text);
}

.logo-title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

body.page-home .logo-name  { color: #fff; }
body.page-home .logo-title { color: rgba(255,255,255,0.55); }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  transition: opacity var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

body.page-home .nav-links a { color: rgba(255,255,255,0.85); }

/* Social icons */
.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-social a {
  display: flex;
  align-items: center;
  color: var(--color-text);
  opacity: 1;
  transition: opacity var(--transition-fast);
}

.nav-social a:hover { opacity: 0.45; }

.nav-social svg {
  width: 17px;
  height: 17px;
}

body.page-home .nav-social a { color: #fff; }

/* Language switcher */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.lang-btn {
  padding: 3px 2px;
  opacity: 0.35;
  transition: opacity var(--transition-fast);
}

.lang-btn.active { opacity: 1; }
.lang-btn:hover  { opacity: 0.7; }

.nav-lang .sep {
  opacity: 0.25;
  font-size: 10px;
}

body.page-home .lang-btn { color: #fff; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

body.page-home .nav-hamburger span { background: #fff; }

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Reset white nav colours inside the overlay on the home page */
body.page-home .nav-mobile-overlay .nav-links a { color: var(--color-text); }
body.page-home .nav-mobile-overlay .nav-social a { color: var(--color-text); }
body.page-home .nav-mobile-overlay .lang-btn    { color: var(--color-text); }

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-overlay .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nav-mobile-overlay .nav-links a {
  font-size: 20px;
  letter-spacing: 0.18em;
}

.nav-mobile-overlay .nav-social {
  gap: 28px;
}

.nav-mobile-overlay .nav-social svg {
  width: 22px;
  height: 22px;
}

.nav-mobile-overlay .nav-lang {
  font-size: 12px;
  gap: 6px;
}

.nav-mobile-overlay .lang-btn {
  font-size: 12px;
  padding: 4px;
}


/* ============================================================
   HERO / LANDING PAGE
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}


.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Local <video> element */
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transform: scale(1.08);
  transform-origin: center;
}

/* Vimeo / YouTube iframe */
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;   /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.8;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.4) 100%
  );
}


/* ============================================================
   PAGE BASE (all non-home pages)
   ============================================================ */

.page {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.page-header {
  padding: 52px var(--page-padding) 36px;
  border-bottom: 1px solid var(--color-border);
}


.page-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}


/* ============================================================
   WORK GRID
   ============================================================ */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item:hover img {
  transform: scale(1.04);
}

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.0) 55%
  );
  transition: background var(--transition);
}

.work-item:hover .work-item-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.15) 60%
  );
}

.work-item-info {
  position: absolute;
  bottom: 28px;
  left: 32px;
}

.work-item-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  display: block;
}

.work-item-type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
}


/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */

.project-hero {
  width: 100%;
  aspect-ratio: 1024 / 429;
  overflow: hidden;
  background: #111;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero--top img { object-position: center top; }
.project-hero--bottom img { object-position: center 75%; }
.project-hero--top-mid img { object-position: center 25%; }


.project-content {
  padding: 0 var(--page-padding);
}

/* Standalone title block — sits above the 2-col header */
.project-title-block {
  padding: 48px 0 36px;
}

.project-title-block h1 {
  font-size: clamp(27px, 4.1vw, 51px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.0;
}

/* Project header: meta left, synopsis right */
.project-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0 28px;
}

.project-type {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.project-credits-block {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.project-credits-block strong {
  color: var(--color-text);
  font-weight: 600;
}
.project-credits-block a {
  border-bottom: 1px solid currentColor;
  transition: opacity var(--transition-fast);
}

.project-credits-block a:hover { opacity: 0.6; }


.project-synopsis {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
}

/* Laurel images (PNG files, centered, between synopsis and trailer) */
.project-laurel-images {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 72px;
}

.project-laurel-images img {
  height: 180px;
  width: auto;
  opacity: 0.9;
}

.doc-laurels { padding: 13px 0; }
.doc-laurels img { height: 207px; }

/* Embedded video */
.project-video {
  padding: 28px 0 42px;
}

.section-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #181818;
  margin-bottom: 24px;
  display: block;
}


.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}

.video-embed--scope {
  padding-bottom: 41.84%; /* 2.39:1 CinemaScope */
}

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

/* Cast & Crew */
.project-credits-section {
  padding: 42px clamp(60px, 12vw, 180px);
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 28px;
}

.credits-col h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #181818;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}

.credits-col li {
  font-size: 14px;
  line-height: 1;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.credit-role {
  font-size: 14px;
  color: var(--color-muted);
  flex-shrink: 0;
}

.credit-name {
  font-weight: 500;
  text-align: right;
}

/* Photo gallery */
.project-gallery {
  padding: 42px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity var(--transition-fast);
}

.gallery-grid img:hover {
  opacity: 0.85;
}

/* Director's statement */
.project-statement {
  padding: 56px clamp(60px, 12vw, 180px);
}

.project-statement p:not(.section-label) {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.project-statement p:not(.section-label):last-child { margin-bottom: 0; }

/* Accordion */
.project-accordion {
  padding: 8px 0;
}

.accordion-item {
  border-top: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a3a3a;
  transition: opacity var(--transition-fast);
}

.accordion-trigger:hover { opacity: 0.55; }

.accordion-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}

.accordion-item.open .accordion-body {
  max-height: 800px;
}

.accordion-content {
  padding-bottom: 28px;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
}

.accordion-content li {
  padding: 6px 0;
}

/* Poster + accordion side by side */
.project-info-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
  padding: 56px clamp(60px, 12vw, 180px);
}

.project-poster img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.lightbox-single .lightbox-prev,
.lightbox-single .lightbox-next { display: none; }

.project-note p {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

.project-info-grid--centered {
  align-items: center;
}

.project-note a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-info-grid .project-accordion {
  padding: 0;
  border-bottom: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: rgba(255,255,255,0.8);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  line-height: 1;
  font-size: 22px;
  transition: color var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }

.lightbox-close { top: 20px; right: 20px; font-size: 26px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); font-size: 32px; }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); font-size: 32px; }

/* Press / Interviews */
.project-press {
  padding: 56px 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.press-item-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.press-item-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.press-item:hover .press-item-thumb img {
  transform: scale(1.03);
}

.press-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background var(--transition-fast);
}

.press-item:hover .press-play {
  background: rgba(0,0,0,0.4);
}

.press-play svg {
  width: 40px;
  height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.press-item-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}

.press-item-source {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Project navigation (prev/next) */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-border);
}

.project-nav-item {
  padding: 36px var(--page-padding);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition-fast);
}

.project-nav-item:hover { background: #f9f9f9; }

.project-nav-item + .project-nav-item {
  border-left: 1px solid var(--color-border);
  align-items: flex-end;
}

.project-nav-dir {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.project-nav-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ============================================================
   NEWS PAGE
   ============================================================ */

.news-grid {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
}

.news-item {
  background: #fff;
  padding: 44px var(--page-padding);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  order: -1;
  margin-bottom: 8px;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-item:hover .news-item-image img {
  transform: scale(1.03);
}

.news-item-date {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.news-item-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.news-item-excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  flex: 1;
}

.read-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  align-self: flex-start;
}

.read-more::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.read-more:hover::after { transform: translateX(5px); }


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.about-image {
  overflow: hidden;
  background: #111;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  padding: 72px clamp(36px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 36px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
}

.about-text p:last-of-type { margin-bottom: 0; }

.about-links {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.about-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--transition-fast);
}

.about-link:hover { opacity: 0.55; }

.about-link::after {
  content: '↗';
  font-size: 12px;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 72px var(--page-padding) 80px;
  min-height: calc(100vh - var(--nav-height));
}

.contact-info h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 44px;
  max-width: 420px;
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.contact-detail a {
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--transition-fast);
}

.contact-detail a:hover { opacity: 0.55; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 15px;
  background: none;
  outline: none;
  color: var(--color-text);
  transition: border-color var(--transition-fast);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-text);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 40px;
  background: var(--color-text);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--color-text);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.form-submit:hover {
  background: transparent;
  color: var(--color-text);
}

/* Success message */
.form-success {
  display: none;
  padding: 20px 24px;
  background: #f0f7f0;
  border: 1px solid #c3dfc3;
  font-size: 14px;
  line-height: 1.6;
  color: #2d6a2d;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 28px var(--page-padding);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-text); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  color: var(--color-text);
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.footer-social a:hover { opacity: 1; }

.footer-social svg {
  width: 15px;
  height: 15px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .press-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .project-header {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .credits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-poster {
    max-width: 200px;
    margin: 0 auto;
  }

  .project-poster {
    max-width: 180px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 52px var(--page-padding);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }

  .nav-right { display: none; }

  .nav-hamburger { display: flex; }

  /* Homepage mobile: hide hamburger, show nav centered over video */
  body.page-home .nav-hamburger { display: none !important; }

  body.page-home .nav-right {
    display: flex !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 10;
    width: auto;
  }

  body.page-home .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  body.page-home .nav-links a {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.page-home .nav-social { display: flex; }

  .work-grid { grid-template-columns: 1fr; }

  .project-hero { aspect-ratio: 4 / 3; }

  .project-title-block h1 { font-size: clamp(20px, 6vw, 34px); }

  .gallery-grid { grid-template-columns: 1fr; }

  .project-laurel-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 10px;
  }

  .project-laurel-images img { height: 140px; }
  .doc-laurels img { height: 161px; }

  .press-grid { grid-template-columns: 1fr; }

  .project-statement { max-width: 100%; }

  .project-nav { grid-template-columns: 1fr; }

  .project-nav-item + .project-nav-item {
    border-left: none;
    border-top: 1px solid var(--color-border);
    align-items: flex-start;
  }

  .footer-links { display: none; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .project-credits-section,
  .project-statement,
  .project-info-grid {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  :root { --page-padding: 20px; }

  .project-meta h1 { font-size: 24px; }

  .gallery-grid { grid-template-columns: 1fr; gap: 2px; }

  .news-item { padding: 32px 20px; }

  .about-text { padding: 48px 24px; }

  .contact-layout { padding: 48px 20px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children (work grid, news grid) */
.animate-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.animate-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.animate-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.animate-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.animate-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.animate-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.animate-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
