/* =========================================================
   MAVENSEN.FILM
   Display: Bodoni Moda (italic, high-contrast serif)
   UI/Body: Tenor Sans (geometric, quiet elegance)
   Fonts are self-hosted (GDPR) — see fonts.css
   ========================================================= */

@import url('fonts.css');

/* === RESET ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
button { background: none; border: none; font: inherit; }

/* === TOKENS ==================================================== */
/* Palette: #230000 bg · #1E2824 surface · #eff6e0 text · #660000 accent */
:root {
  --bg:       oklch(8% 0.042 29);    /* #230000 — deep crimson black     */
  --surface:  oklch(14% 0.013 162);  /* #1E2824 — dark forest green      */
  --text:     oklch(96% 0.028 122);  /* #eff6e0 — cream with green tint  */
  --dim:      oklch(52% 0.02 118);   /* muted olive mid-tone             */
  --accent:   oklch(38% 0.13 29);    /* #660000 range — deep crimson     */
  --line:     oklch(16% 0.028 162);  /* dark green-tinted border         */

  --font-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --font-hero:    'Freehand', Georgia, 'Times New Roman', serif;
  --font-ui:      'Tenor Sans', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:    clamp(52px, 7vw, 72px);
  --px:       clamp(24px, 5.5vw, 88px);
  --py:       clamp(40px, 7vw, 96px);

  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast:   180ms;
  --t-mid:    380ms;
  --t-slow:   680ms;
}

/* === BASE ====================================================== */
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100dvh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* === GRAIN ===================================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

/* === SITE LOADER (fades from black, like a projector starting) == */
.site-loader {
  display: none;
}

/* === CUSTOM CURSOR ============================================= */
html.custom-cursor,
html.custom-cursor * { cursor: none !important; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-100vw, -100vh);
  will-change: transform;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--text);
  border-radius: 50%;
  transition:
    transform var(--t-fast) var(--ease-quart),
    width  var(--t-mid)  var(--ease-expo),
    height var(--t-mid)  var(--ease-expo),
    background var(--t-fast);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid oklch(96% 0.028 122 / 0.3);
  border-radius: 50%;
  transition:
    width  var(--t-mid)  var(--ease-expo),
    height var(--t-mid)  var(--ease-expo),
    border-color var(--t-mid),
    opacity var(--t-mid);
}

.cursor-dot.is-hovering  { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring.is-hovering { width: 52px; height: 52px; border-color: var(--accent); }

/* === LOGO ====================================================== */
.nav-logo {
  display: block;
  height: 54px;
  width: auto;
  mix-blend-mode: lighten;
  transition: transform var(--t-mid) var(--ease-expo);
  flex-shrink: 0;
}

.nav-name:hover .nav-logo { transform: scale(1.06); }

.footer-logo {
  display: block;
  height: 160px;
  width: auto;
  mix-blend-mode: lighten;
  opacity: 0.6;
  transition: opacity var(--t-mid);
  margin: 0 auto;
}

.footer-logo:hover { opacity: 0.9; }

/* === NAVIGATION ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(8% 0.042 29 / 0.96) 0%, oklch(8% 0.042 29 / 0) 100%);
  pointer-events: none;
}

.nav-name {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--t-fast);
}
.nav-name:hover { color: var(--accent); }

.nav-links {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  gap: clamp(24px, 4vw, 48px);
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  padding: 12px 6px;
  margin: -12px -6px;
  transition: color var(--t-fast);
}

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

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* === FILM HOVER THUMBNAIL ====================================== */
.film-thumb {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 188px;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transform: translate(-50%, -116%) scale(0.9);
  transition:
    opacity 260ms var(--ease-quart),
    transform 260ms var(--ease-quart);
  overflow: hidden;
}

.film-thumb.visible {
  opacity: 1;
  transform: translate(-50%, -116%) scale(1);
}

.film-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(60% 0.008 65);
  text-align: center;
  line-height: 1.1;
}

/* === MAIN ====================================================== */
main { padding-top: var(--nav-h); }

/* === HERO STAGE (homepage full-screen video) =================== */
.hero-stage {
  position: relative;
  height: 100dvh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* shown by JS when src is set */
  transition: none;
  animation: none;
}

/* Atmospheric placeholder when no video is set yet */
.hero-video-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, oklch(14% 0.013 162 / 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, oklch(8% 0.042 29) 0%, oklch(4% 0.02 29) 100%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* Overlay removed — video plays at full brightness */
.hero-overlay { display: none; }

/* Text content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--px) clamp(56px, 8vw, 112px);
}

.hero-name {
  font-family: var(--font-hero);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 9.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 1;
}

.hero-role {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: clamp(12px, 2vw, 20px);
  opacity: 1;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: clamp(24px, 4vw, 48px);
  right: var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 1;
}

.hero-scroll-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: var(--dim);
  transform-origin: top;
  transform: scaleY(0);
  animation: scrollDrop 2.2s var(--ease-expo) 1200ms infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* === SECTION LABEL ============================================= */
.section-label {
  display: block;
  padding: clamp(48px, 7vw, 96px) var(--px) clamp(16px, 2.5vw, 32px);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}

/* === FILM LIST ================================================= */
.film-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.film-item {
  border-bottom: 1px solid var(--line);
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--ease-expo),
    transform 600ms var(--ease-expo);
}

.film-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Thumbnail background image — fades in on hover */
.film-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--thumb-url, none);
  background-size: cover;
  background-position: var(--thumb-pos, center);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 650ms var(--ease-expo),
    transform 750ms var(--ease-expo);
  z-index: 0;
}

.film-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Dark gradient overlay — keeps text readable over the photo */
.film-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(6% 0.042 29 / 0.92) 0%,
    oklch(6% 0.042 29 / 0.6)  55%,
    oklch(6% 0.042 29 / 0.35) 100%
  );
  opacity: 0;
  transition: opacity 650ms var(--ease-expo);
  z-index: 0;
  pointer-events: none;
}

.film-item:hover::after { opacity: 1; }

/* Items with a thumbnail — image always visible, overlay always present */
.film-item.has-thumb::before {
  opacity: 1;
  transform: scale(1);
}

.film-item.has-thumb::after {
  opacity: 1;
}

/* Hover — gently lift the shadow so image breathes through more */
.film-item.has-thumb:hover::before {
  transform: scale(1.025);
}

.film-item.has-thumb:hover::after {
  opacity: 0.45;
}

.film-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 72px) 1fr auto auto;
  align-items: center;
  column-gap: clamp(12px, 2.5vw, 36px);
  padding: clamp(18px, 2.2vw, 30px) var(--px);
}

.film-num {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--dim);
  transition: color var(--t-mid);
}

.film-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.film-title-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 60px);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1;
  transition: letter-spacing var(--t-mid) var(--ease-expo),
              font-weight var(--t-mid) var(--ease-expo);
}

.film-genre {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--t-mid);
}

.film-genre[data-type="narrative"]   { color: var(--dim); }
.film-genre[data-type="commercial"]  { color: var(--accent); }

.film-year {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--dim);
  transition: color var(--t-mid);
}

.film-arrow {
  font-size: 16px;
  font-weight: 100;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity var(--t-mid) var(--ease-expo),
    transform var(--t-mid) var(--ease-expo),
    color var(--t-fast);
}

.film-item:hover .film-num,
.film-item:hover .film-year   { color: var(--accent); }
.film-item:hover .film-title-text { letter-spacing: 0.01em; font-weight: 500; }
.film-item:hover .film-arrow  { opacity: 1; transform: translateX(0); color: var(--accent); }

/* === ARCHIVE TABS ============================================== */
.archive-tab-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  padding: 0 var(--px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  gap: clamp(28px, 5vw, 56px);
}

.archive-tab {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 18px 0;
  margin-bottom: -1px;
  position: relative;
  transition: color var(--t-fast), border-color var(--t-mid);
}

.archive-tab:hover { color: var(--text); }

.archive-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Archive content sections */
.archive-section {
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-expo);
  pointer-events: none;
}

.archive-section.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Photography tile grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows:
    clamp(240px, 32vw, 460px)
    clamp(180px, 24vw, 340px)
    clamp(180px, 24vw, 340px)
    clamp(180px, 24vw, 340px);
  gap: 3px;
  padding: 0 var(--px) clamp(48px, 7vw, 96px);
}

/* Asymmetric placement for 9 tiles */
.photo-tile:nth-child(1) { grid-column: 1 / 5; grid-row: 1; }
.photo-tile:nth-child(2) { grid-column: 5 / 7; grid-row: 1; }
.photo-tile:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
.photo-tile:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
.photo-tile:nth-child(5) { grid-column: 5 / 7; grid-row: 2; }
.photo-tile:nth-child(6) { grid-column: 1 / 4; grid-row: 3; }
.photo-tile:nth-child(7) { grid-column: 4 / 7; grid-row: 3; }
.photo-tile:nth-child(8) { grid-column: 1 / 3; grid-row: 4; }
.photo-tile:nth-child(9) { grid-column: 3 / 7; grid-row: 4; }

.photo-tile {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 700ms var(--ease-expo),
    transform 700ms var(--ease-expo);
}

.photo-tile.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger */
.photo-tile:nth-child(1) { transition-delay: 0ms; }
.photo-tile:nth-child(2) { transition-delay: 80ms; }
.photo-tile:nth-child(3) { transition-delay: 160ms; }
.photo-tile:nth-child(4) { transition-delay: 240ms; }
.photo-tile:nth-child(5) { transition-delay: 320ms; }
.photo-tile:nth-child(6) { transition-delay: 400ms; }
.photo-tile:nth-child(7) { transition-delay: 480ms; }
.photo-tile:nth-child(8) { transition-delay: 560ms; }
.photo-tile:nth-child(9) { transition-delay: 640ms; }

/* Placeholder gradient when no image */
.photo-tile:nth-child(1) .photo-tile-bg { background: oklch(12% 0.02 162); }
.photo-tile:nth-child(2) .photo-tile-bg { background: oklch(10% 0.03 29); }
.photo-tile:nth-child(3) .photo-tile-bg { background: oklch(13% 0.015 200); }
.photo-tile:nth-child(4) .photo-tile-bg { background: oklch(11% 0.025 29); }
.photo-tile:nth-child(5) .photo-tile-bg { background: oklch(14% 0.01 162); }
.photo-tile:nth-child(6) .photo-tile-bg { background: oklch(11% 0.02 200); }
.photo-tile:nth-child(7) .photo-tile-bg { background: oklch(13% 0.03 29); }
.photo-tile:nth-child(8) .photo-tile-bg { background: oklch(10% 0.015 162); }
.photo-tile:nth-child(9) .photo-tile-bg { background: oklch(12% 0.025 200); }

.photo-tile-bg {
  position: absolute;
  inset: 0;
}

.photo-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-expo);
}

.photo-tile:hover .photo-tile-img { transform: scale(1.04); }

.photo-tile:nth-child(6) .photo-tile-img { object-position: center 20%; }
.photo-tile:nth-child(7) .photo-tile-img { object-position: center 20%; }

/* Hover overlay */
.photo-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(6% 0.035 29 / 0.88) 0%,
    oklch(6% 0.035 29 / 0) 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2.5vw, 28px);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-expo);
}

.photo-tile:hover .photo-tile-overlay { opacity: 1; }

.photo-tile-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(18px, 2.2vw, 32px);
  color: var(--text);
  line-height: 1;
  transform: translateY(8px);
  transition: transform var(--t-mid) var(--ease-expo);
}

.photo-tile:hover .photo-tile-title { transform: translateY(0); }

.photo-tile-meta {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(96% 0.028 122 / 0.6);
  margin-top: 6px;
  transform: translateY(8px);
  transition: transform var(--t-mid) var(--ease-expo) 40ms;
}

.photo-tile:hover .photo-tile-meta { transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, clamp(160px, 40vw, 280px));
  }
  .photo-tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-tile:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
  .photo-tile:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
  .photo-tile:nth-child(4) { grid-column: 1 / 2; grid-row: 3; }
  .photo-tile:nth-child(5) { grid-column: 2 / 3; grid-row: 3; }
  .photo-tile:nth-child(6) { grid-column: 1 / 2; grid-row: 4; }
  .photo-tile:nth-child(7) { grid-column: 2 / 3; grid-row: 4; }
  .photo-tile:nth-child(8) { grid-column: 1 / 2; grid-row: 5; }
  .photo-tile:nth-child(9) { grid-column: 2 / 3; grid-row: 5; }
}

/* === DIRECTOR'S STATEMENT ====================================== */
.statement-section {
  padding: clamp(80px, 12vw, 160px) var(--px) clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr clamp(100px, 11vw, 160px);
  gap: clamp(48px, 7vw, 96px);
  align-items: stretch;
}

.statement-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.statement-portrait-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-expo) 300ms, transform 900ms var(--ease-expo) 300ms;
}

.statement-portrait-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.statement-portrait-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}

.statement-portrait-caption {
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(68% 0.02 118);
  margin-top: 10px;
}

@media (max-width: 700px) {
  .statement-section {
    grid-template-columns: 1fr;
  }
  .statement-portrait-wrap {
    max-width: 260px;
  }
}

.statement-credit {
  font-family: 'Libre Bodoni', Georgia, serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 22em;
  margin-bottom: clamp(18px, 2.5vw, 28px);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--ease-expo),
    transform 900ms var(--ease-expo);
}

.statement-credit.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.statement-quote {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: oklch(68% 0.02 122);
  max-width: 56ch;
  border: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms var(--ease-expo) 180ms,
    transform 700ms var(--ease-expo) 180ms;
}

.statement-quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ABOUT PAGE ================================================ */
.about-visuals {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: clamp(400px, 65vh, 680px);
  gap: 3px;
}

.about-visual:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.about-visual:nth-child(2) { grid-column: 2; grid-row: 1; }
.about-visual:nth-child(3) { grid-column: 2; grid-row: 2; }

.about-visual:nth-child(2) img { object-position: top center; }

.about-visual {
  position: relative;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition:
    transform 800ms var(--ease-expo),
    filter 600ms var(--ease-expo);
}

.about-visual:hover img {
  transform: scale(1.03);
  filter: grayscale(30%);
}

@media (max-width: 700px) {
  .about-visuals {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(180px, 40vw, 280px) clamp(180px, 40vw, 280px);
    height: auto;
  }
  .about-visual:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .about-visual:nth-child(2) { grid-column: 1; grid-row: 2; }
  .about-visual:nth-child(3) { grid-column: 2; grid-row: 2; }
}

.about-wrapper {
  padding: var(--py) var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}

.about-bio  { grid-column: 1; }
.awards-col { grid-column: 2; }

/* Featured — quiet press citations under the bio */
.featured-col { grid-column: 1; }

.featured-note {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin: -14px 0 clamp(16px, 2.4vw, 28px);
}

.featured-list { list-style: none; border-top: 1px solid var(--line); max-width: 52ch; }

.featured-item { border-bottom: 1px solid var(--line); }

.featured-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px clamp(16px, 2vw, 32px);
  padding: clamp(16px, 2.2vw, 24px) 0;
  text-decoration: none;
  color: inherit;
}

.featured-source {
  grid-column: 1;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 240ms;
}

.featured-title {
  grid-column: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  color: oklch(86% 0.022 122);
  transition: color 240ms;
}

.featured-meta {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-arrow {
  display: inline-block;
  transform: translateX(0) rotate(-45deg);
  transition: transform 320ms var(--ease-expo);
}

.featured-link:hover .featured-title  { color: var(--text); }
.featured-link:hover .featured-source { color: oklch(64% 0.1 29); }
.featured-link:hover .featured-arrow  { transform: translateX(4px) translateY(-4px) rotate(-45deg); }

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 128px);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 0.88;
  margin-bottom: clamp(40px, 6vw, 80px);
  grid-column: 1 / -1;
}

.about-heading em {
  font-style: normal;
  font-weight: 400;
}

.about-bio {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.03em;
  max-width: 62ch;
  color: oklch(82% 0.022 122);
}

.about-bio p + p { margin-top: 1.6em; }

.awards-col {}

.col-label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.award-list { list-style: none; border-top: 1px solid var(--line); }

.award-item {
  padding: clamp(12px, 1.8vw, 20px) 0;
  border-bottom: 1px solid var(--line);
}

.award-prize {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.award-detail {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 3px;
}

.award-year {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* === ARCHIVE PAGE ============================================== */
.archive-header {
  padding: clamp(100px, 16vw, 200px) var(--px) clamp(40px, 6vw, 80px);
}

.archive-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 132px);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 0.88;
}

.archive-heading em {
  font-style: normal;
  font-weight: 400;
}

/* === FILM PLAYER PAGE ========================================== */
.player-wrapper {
  position: fixed;
  inset: 0;
  background: oklch(0% 0 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-back {
  position: fixed;
  top: clamp(20px, 3vw, 36px);
  left: clamp(20px, 3vw, 36px);
  z-index: 100;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(96% 0.028 122 / 0.4);
  transition:
    color var(--t-fast),
    opacity 600ms;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-back:hover { color: var(--text); }

.player-back-arrow {
  font-size: 14px;
  transition: transform var(--t-mid) var(--ease-expo);
}

.player-back:hover .player-back-arrow { transform: translateX(-4px); }

.player-title {
  position: fixed;
  bottom: clamp(20px, 3vw, 36px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(96% 0.028 122 / 0.3);
  pointer-events: none;
  transition: opacity 600ms;
  white-space: nowrap;
}

.player-no-video {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--dim);
}

.player-no-video p {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* === FOOTER ==================================================== */
.site-footer {
  padding: var(--py) var(--px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px);
}

.footer-col {}

.footer-label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.footer-link {
  display: block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 9px;
  transition: color var(--t-fast);
}

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

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}

.footer-legal-link {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0.5;
  transition: opacity var(--t-fast);
}

.footer-legal-link:hover { opacity: 1; }

.footer-copy {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--dim);
  opacity: 0.35;
}

/* === BLOG PAGE ================================================= */

.blog-handle {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: clamp(14px, 2vw, 22px);
}

/* Feed grid */
.blog-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3px, 0.4vw, 6px);
  padding: clamp(32px, 5vw, 56px) var(--px) clamp(48px, 7vw, 96px);
}

.blog-feed-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  display: block;
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 600ms var(--ease-expo),
    transform 600ms var(--ease-expo);
}

.blog-feed-card.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger */
.blog-feed-card:nth-child(1) { transition-delay: 0ms; }
.blog-feed-card:nth-child(2) { transition-delay: 60ms; }
.blog-feed-card:nth-child(3) { transition-delay: 120ms; }
.blog-feed-card:nth-child(4) { transition-delay: 180ms; }
.blog-feed-card:nth-child(5) { transition-delay: 240ms; }
.blog-feed-card:nth-child(6) { transition-delay: 300ms; }
.blog-feed-card:nth-child(7) { transition-delay: 360ms; }
.blog-feed-card:nth-child(8) { transition-delay: 420ms; }
.blog-feed-card:nth-child(9) { transition-delay: 480ms; }

.blog-feed-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-expo);
}

.blog-feed-card:hover .blog-feed-thumb { transform: scale(1.04); }

/* Persistent gradient overlay, lightens on hover */
.blog-feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(6% 0.042 29 / 0.85) 0%,
    oklch(6% 0.042 29 / 0.08) 52%,
    oklch(6% 0.042 29 / 0) 100%
  );
  opacity: 1;
  transition: opacity 450ms var(--ease-expo);
}

.blog-feed-card:hover .blog-feed-overlay { opacity: 0.55; }

/* Info strip — slides up on hover */
.blog-feed-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(12px, 1.8vw, 20px);
  transform: translateY(6px);
  opacity: 0;
  transition:
    transform 400ms var(--ease-expo),
    opacity 400ms var(--ease-expo);
}

.blog-feed-card:hover .blog-feed-info {
  transform: translateY(0);
  opacity: 1;
}

.blog-feed-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text);
  line-height: 1.2;
}

.blog-feed-meta {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(96% 0.028 122 / 0.55);
  margin-top: 5px;
}

/* Circular play button */
.blog-feed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 46px;
  height: 46px;
  border: 1px solid oklch(96% 0.028 122 / 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 320ms var(--ease-expo),
    transform 320ms var(--ease-expo);
  pointer-events: none;
}

.blog-feed-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid oklch(96% 0.028 122 / 0.85);
  margin-left: 4px;
}

.blog-feed-card:hover .blog-feed-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Placeholder for unpublished videos */
.blog-feed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.blog-feed-placeholder-label {
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0.35;
}

/* Articles list */
.blog-article-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 96px);
}

.blog-article-item {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--ease-expo),
    transform 600ms var(--ease-expo);
}

.blog-article-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-article-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 72px) 1fr auto auto;
  align-items: center;
  column-gap: clamp(12px, 2.5vw, 36px);
  padding: clamp(18px, 2.2vw, 30px) var(--px);
  text-decoration: none;
  color: var(--text);
}

.blog-article-link[href="#"] { cursor: default; }

.blog-article-num {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--dim);
  transition: color var(--t-mid);
}

.blog-article-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.blog-article-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 52px);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1;
}

.blog-article-type {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color var(--t-mid);
}

.blog-article-type[data-type="guide"]     { color: var(--accent); }
.blog-article-type[data-type="interview"] { color: oklch(58% 0.04 200); }

.blog-article-date {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--dim);
  transition: color var(--t-mid);
}

.blog-article-arrow {
  font-size: 16px;
  font-weight: 100;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity var(--t-mid) var(--ease-expo),
    transform var(--t-mid) var(--ease-expo);
}

/* Hover — only for published items */
.blog-article-item:not(.is-placeholder):hover .blog-article-num,
.blog-article-item:not(.is-placeholder):hover .blog-article-date { color: var(--accent); }

.blog-article-item:not(.is-placeholder):hover .blog-article-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* Unpublished items — dimmed, no pointer */
.blog-article-item.is-placeholder .blog-article-title { opacity: 0.3; }
.blog-article-item.is-placeholder .blog-article-type  { opacity: 0.3; }
.blog-article-item.is-placeholder .blog-article-date  { opacity: 0.3; }
.blog-article-item.is-placeholder .blog-article-arrow { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .blog-feed-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .blog-feed-grid { grid-template-columns: 1fr; }
  .blog-article-link { grid-template-columns: clamp(32px, 4vw, 48px) 1fr auto; }
  .blog-article-arrow { display: none; }
}

/* === ANIMATIONS ================================================ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === RESPONSIVE ================================================ */
@media (max-width: 900px) {
  .about-wrapper { grid-template-columns: 1fr; gap: clamp(40px, 7vw, 64px); }
  .about-heading, .about-bio, .awards-col, .featured-col { grid-column: 1; }
  .site-footer   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { max-width: 100%; }
  .film-link  { grid-template-columns: clamp(32px, 4vw, 48px) 1fr auto; }
  .film-arrow { display: none; }
  .film-thumb { display: none; }
  .hero-meta  { position: static; margin-top: 20px; text-align: left; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
