/* ---------------------------------------------------------------
   Uğur Savaş — sculpture & stop-motion
   Bone-white paper, graphite ink, a single clay-red accent.
   Always light: no dark mode by design.
   Fraunces (display) + Geist (text). Top header, wide grid.
---------------------------------------------------------------- */

:root {
  --bg: #efece6;
  --bg-2: #e6e2da;
  --ink: #1b1a18;
  --ink-2: #4d4a45;
  --muted: #8a857c;
  --line: #d6d1c7;
  --accent: #b5432f;
  --accent-ink: #fff;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
  --header-h: 64px;
  --side: 236px;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- language switching ---- */
html[data-lang="en"] .i18n-tr { display: none !important; }
html[data-lang="tr"] .i18n-en { display: none !important; }
html[data-lang="en"] .lang [data-set-lang="en"],
html[data-lang="tr"] .lang [data-set-lang="tr"] { color: var(--ink); }
html[data-lang="en"] .lang [data-set-lang="en"]::after,
html[data-lang="tr"] .lang [data-set-lang="tr"]::after { transform: scaleX(1); }

/* ---- type ---- */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -.015em;
  line-height: 1.02;
  margin: 0;
}
.display em, .serif-em { font-style: italic; font-weight: 300; }
.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.num {
  font-family: var(--display);
  font-variation-settings: "opsz" 9;
  font-feature-settings: "tnum";
  color: var(--muted);
}
.muted { color: var(--muted); }
.ul { border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.ul:hover { color: var(--accent); border-color: var(--accent); }
.arrow { display: inline-block; transition: transform .25s; }
a:hover .arrow { transform: translateX(4px); }

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- header / side column ---- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-color: var(--line); }
.site-head .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* boxed letter mark */
.mark {
  display: inline-flex; flex-direction: column; gap: 6px;
  padding: 14px 14px 12px 16px;
  border: 1px solid var(--ink);
  font: 500 13px/1 var(--mono);
  letter-spacing: .3em;
  width: max-content;
  transition: color .2s, border-color .2s;
}
.mark span { display: block; white-space: nowrap; }
.mark:hover { color: var(--accent); border-color: var(--accent); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font: 400 11px/1.2 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--accent); }

.side-foot { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 8px; font: 400 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lang a, .lang button { font: inherit; letter-spacing: inherit; text-transform: uppercase; color: var(--muted); padding: 2px 0; text-decoration: none; }
.lang a:hover, .lang button:hover { color: var(--accent); }
.lang .sep { color: var(--muted); }
.social { display: flex; gap: 14px; font: 400 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.social a:hover { color: var(--accent); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center; flex: 0 0 auto;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
html.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.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; }
.notfound { min-height: 60vh; padding-top: clamp(48px, 10vw, 140px); }
.notfound .display em { color: var(--accent); }
.nf-links { margin-top: 28px; font-size: 15px; }

/* signature logo: img/signature.svg inlined by build.py, drawn in the text colour */
.mark.sig { border: 0; padding: 0; display: block; width: auto; color: var(--ink); transition: color .2s; }
.sig-img { display: block; width: 180px; height: auto; aspect-ratio: 3777 / 2238; }
.mark.sig:hover { border: 0; }
.mark.sig:hover { color: var(--accent); }

/* ---- left column on desktop ---- */
@media (min-width: 761px) {
  html { scroll-padding-top: 24px; }
  .site-head {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--side); height: auto;
    align-items: stretch;
    background: var(--bg);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 0;
    padding: 36px 28px 36px;
  }
  .site-head .wrap {
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    height: 100%; padding: 0; max-width: none; gap: 0;
  }
  .nav { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 48px; flex: 1; width: 100%; }
  .side-foot { margin-top: auto; flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; padding-top: 32px; }
  .social { flex-direction: column; gap: 8px; }
  body > .wrap { margin-left: var(--side); max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  body > .wrap > * , body > .wrap > main { max-width: var(--maxw); }
  .portrait { top: 24px; }
}

/* ---- hero ---- */
.hero { padding: clamp(56px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px;
  align-items: end;
}
.hero .display { font-size: clamp(32px, 3.9vw, 60px); line-height: 1.08; max-width: 16em; text-wrap: balance; }
.hero .display em { color: var(--accent); }
.hero-side { display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.hero-side p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
.hero-side .cta { font-size: 13px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }

/* ---- feature (big video) ---- */
.feature { margin: 0; }
.feature-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: baseline;
  padding: 14px 0 0;
}
.feature-bar .title { font-family: var(--display); font-size: 22px; font-variation-settings: "opsz" 24; }
.feature-bar .title i { font-style: italic; color: var(--muted); margin-left: 8px; font-size: .85em; }
.feature-bar .right { font-size: 13px; color: var(--muted); margin-left: auto; }

/* ---- media / inline player ---- */
.film-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 2px;
}
.film-media.wide { aspect-ratio: 21 / 9; }
.film-media .play { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .4s;
}
.film-media:hover img { transform: scale(1.025); }
.play-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .3s, background .3s, color .3s;
}
.play-dot::after {
  content: "";
  margin-left: 4px;
  border-left: 13px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.film-media:hover .play-dot { transform: scale(1.06); background: var(--accent); color: var(--accent-ink); }
.film-media .tc {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: .08em; font-weight: 500;
  color: #fff; opacity: .85;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  font-feature-settings: "tnum";
}
.film-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-media.is-playing .play, .film-media.is-playing .tc { display: none; }

/* ---- sections ---- */
.section { padding: clamp(64px, 9vw, 128px) 0 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding-bottom: 18px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head .count { font-size: 12px; color: var(--muted); font-feature-settings: "tnum"; }

/* ---- films grid ---- */
.films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
}
.film-card { display: block; }
.film-card.span2 { grid-column: 1 / -1; }
.film-card .thumb {
  position: relative; overflow: hidden; border-radius: 2px;
  aspect-ratio: 16 / 9; background: var(--bg-2);
}
.film-card.span2 .thumb { aspect-ratio: 21 / 9; }
.film-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.film-card:hover .thumb img { transform: scale(1.03); }
.film-card .thumb .idx {
  position: absolute; left: 14px; top: 12px;
  font-size: 11px; letter-spacing: .08em; font-weight: 500;
  color: #fff; opacity: .9; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.film-card .text { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding-top: 16px; align-items: baseline; }
.film-card h3 {
  margin: 0; grid-column: 1;
  font-family: var(--display); font-weight: 300;
  font-variation-settings: "opsz" 48;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.01em;
  transition: color .2s;
}
.film-card:hover h3 { color: var(--accent); }
.film-card .meta { grid-column: 1; margin: 0; font-size: 13px; color: var(--muted); }
.film-card .go { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-size: 13px; font-weight: 500; color: var(--ink-2); padding-top: 6px; }

/* ---- year index (exhibitions, festivals, cv) ---- */
.index { display: flex; flex-direction: column; }
.index-group {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.index-group:first-child { border-top: 1px solid var(--line); }
.index-year {
  font-family: var(--display); font-weight: 300;
  font-variation-settings: "opsz" 72;
  font-size: 34px; line-height: 1; letter-spacing: -.02em;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.index-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 6px 0;
}
.index-list li + li { border-top: 1px dotted var(--line); }
.index-list .t { color: var(--ink); }
.index-list .v { color: var(--muted); }
.index-list .v.award { color: var(--accent); }
.index-list .v.award::before { content: "✦ "; font-size: .8em; }

/* two-column index for compact lists */
.index.compact .index-group { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 14px 0; }
.index.compact .index-year { white-space: nowrap; }
.index.compact .index-year { font-size: 20px; padding-top: 3px; }
.index.compact .index-list li { grid-template-columns: 1fr; padding: 3px 0; }

/* ---- about ---- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.portrait {
  aspect-ratio: 3 / 4; background: var(--bg-2); border-radius: 2px;
  position: sticky; top: calc(var(--header-h) + 24px);
  width: 100%; object-fit: cover; object-position: center 30%;
}
.bio p {
  margin: 0 0 1em;
  font-family: var(--display); font-weight: 300;
  font-variation-settings: "opsz" 24;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; letter-spacing: -.005em;
}
.bio p em { font-style: italic; }
.cv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; margin-top: 48px; }
.cv .label { margin-bottom: 14px; }

/* ---- film tag inside index rows ---- */
.index-list .t .tag {
  display: inline-block; margin-left: 10px;
  font: 400 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.index-list .t a.tag:hover { color: var(--accent); }

/* ---- press & interview ---- */
.press-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.press-grid .sublabel-row { margin-bottom: 16px; }
.interview figcaption { padding-top: 12px; font-size: 13px; color: var(--muted); }
.interview figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 2px; }
.interview + .interview { margin-top: 28px; }
.press-list li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.press-list li:first-child { border-top: 1px solid var(--line); }
.press-list .d { color: var(--muted); font-size: 13px; font-feature-settings: "tnum"; padding-top: 2px; }
.press-list .o { font: 400 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.press-list a.h { grid-column: 2; font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 24; font-size: 19px; line-height: 1.3; transition: color .2s; }
.press-list a.h:hover { color: var(--accent); }
/* category label on every press item: News / Interview / Article */
.kind { display: inline-block; margin-right: 10px; padding: 3px 7px 2px; border: 1px solid var(--line); border-radius: 2px; font: 400 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); vertical-align: 1px; }
.kind-interview { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.kind-article { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.interview figcaption .kind { margin-bottom: 8px; }
.press-list a.h .arrow { font-family: var(--text); font-size: 13px; color: var(--muted); }

/* ---- placeholder media / thumbs until images arrive ---- */
.film-media.ph, .film-card .thumb.ph { display: grid; place-items: center; }
.film-card .thumb.ph span, .film-media.ph span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.film-media video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ---- extra film text ---- */
.about-film { padding-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
.about-film p { margin: 0 0 1em; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 40em; }
.inscription { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); font: 400 12px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.credits .group-label { grid-column: 1 / -1; margin: 28px 0 6px; }
.credits .group-label:first-child { margin-top: 0; }
.thanks { margin: 20px 0 0; font-size: 14px; color: var(--muted); max-width: 52em; }
.thanks b { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) {
  .press-grid, .about-film { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .index-list .t .tag { display: block; margin: 2px 0 0; }
  .press-list li { grid-template-columns: 1fr; }
  .press-list a.h { grid-column: 1; }
}

/* ---- stills, posters, laurels, series ---- */
.film-media.still img { width: 100%; height: 100%; object-fit: cover; }
.gallery a.lb { display: block; overflow: hidden; border-radius: 2px; cursor: zoom-in; }
.gallery a.lb img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery a.lb:hover img { transform: scale(1.03); }

.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.posters figure { margin: 0; }
.posters img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.laurels {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--ink);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 40px);
}
.film-head + .laurels { margin: 0 0 14px; padding-block: clamp(18px, 2.2vw, 28px); }
.film-head + .laurels .laurels-row img { height: clamp(44px, 4.6vw, 68px); }
.laurels-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 28px) clamp(18px, 2.6vw, 40px); }
.laurels-row img { height: clamp(52px, 6vw, 84px); width: auto; opacity: .92; }
/* one headline laurel on its own row above the rest */
.laurels-top + .laurels-row { margin-top: clamp(18px, 2.4vw, 30px); padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(255,255,255,.14); }

.film-card .thumb.type {
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 22px;
}
.film-card .thumb.type b {
  font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 96;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1; letter-spacing: -.015em;
}
.film-card .thumb.type .soon { font: 400 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 60%, transparent); }

.grid3.tall img { aspect-ratio: 4 / 5; }
.piece { padding-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.piece-title { margin: 0 0 8px; font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 72; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.piece-text .kicker { margin-bottom: 16px; }
.piece-text p:not(.kicker) { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; }

.loop-fig { margin: 0; max-width: 760px; }
.loop-fig video { width: 100%; height: auto; display: block; border-radius: 2px; background: var(--bg-2); }

/* ---- lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 19, 17, .94);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button {
  position: absolute; color: #efece6; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 14px; opacity: .75;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lightbox .lb-close { top: 10px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox .lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #efece6; opacity: .6; font: 400 11px/1 var(--mono); letter-spacing: .1em; }

@media (max-width: 1000px) {
  .piece { grid-template-columns: 1fr; gap: 20px; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .laurels-row img { height: 46px; }
}

/* ---- contact ---- */
.contact { padding-bottom: clamp(48px, 6vw, 96px); }
.contact .big {
  display: inline-block;
  font-family: var(--display); font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(30px, 5.2vw, 76px); line-height: 1.05; letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.contact .big:hover { color: var(--accent); border-color: var(--accent); }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.contact-row a { color: var(--ink); }
.contact-row a:hover { color: var(--accent); }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.site-foot a:hover { color: var(--accent); }

/* ---------------------------------------------------------------
   Film detail page
---------------------------------------------------------------- */
.film-page { padding-top: 36px; }
.back { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--muted); }
.back:hover { color: var(--accent); }
.back .arrow { transition: transform .25s; }
.back:hover .arrow { transform: translateX(-4px); }

.film-head {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px; align-items: end;
  padding: 40px 0 36px;
}
.film-head .display { font-size: clamp(40px, 6vw, 88px); }
.film-head .alt {
  margin: 10px 0 0;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 48;
  font-size: clamp(20px, 2.2vw, 30px); color: var(--muted);
}
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13px; align-self: end; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); }

.film-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 56px;
  padding: 48px 0 0;
}
.synopsis p {
  margin: 0 0 1em;
  font-family: var(--display); font-weight: 300;
  font-variation-settings: "opsz" 24;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4;
}
.synopsis .label, .note .label { margin-bottom: 16px; }
.note blockquote { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.note blockquote p { margin: 0 0 1em; }
.note cite { display: block; font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.gallery { padding-top: clamp(48px, 7vw, 96px); }
.gallery .section-head { margin-bottom: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 figure, .grid2 figure { margin: 0; }
.grid3 img, .grid2 img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; aspect-ratio: 16 / 10; }
.grid2 img { aspect-ratio: 3 / 2; }
figcaption { font-size: 12px; color: var(--muted); padding-top: 8px; }

/* placeholder blocks until real images arrive */
.ph {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--line) 50%, transparent) 12px 13px),
    var(--bg-2);
  border-radius: 2px;
  display: grid; place-items: center;
}
.grid2 .ph { aspect-ratio: 3 / 2; }
.ph span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.portrait.ph { aspect-ratio: 3 / 4; }

.credits { padding-top: clamp(48px, 7vw, 96px); }
.credits dl {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px;
}
.credits .row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.credits dt { color: var(--muted); }
.credits dd { color: var(--ink); }

.fests { padding-top: clamp(48px, 7vw, 96px); }

.pager {
  margin-top: clamp(64px, 9vw, 128px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr;
}
.pager a { padding: 28px 0; display: flex; flex-direction: column; gap: 6px; }
.pager a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 24px; }
.pager a:first-child { padding-right: 24px; }
.pager .k { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.pager .t { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 48; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; transition: color .2s; }
.pager a:hover .t { color: var(--accent); }

/* ---------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .film-head { grid-template-columns: 1fr; gap: 24px; }
  .film-body { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .portrait { position: static; max-width: 360px; }
  .credits dl { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .sig-img { width: auto; height: 50px; }
  body { font-size: 14.5px; }
  .site-head .wrap { gap: 12px; }
  .mark { flex-direction: row; gap: 10px; padding: 8px 10px 7px 12px; font-size: 11px; letter-spacing: .22em; flex: 0 0 auto; }

  /* burger + full-screen menu panel */
  .burger { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h) + 2px);
    height: calc(100dvh - var(--header-h) + 2px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  html.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  html.menu-open { overflow: hidden; }
  .site-head { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: var(--header-h); }
  html.menu-open .site-head { border-color: var(--line); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav > a {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px solid var(--line);
    font: 300 30px/1.1 var(--display); font-variation-settings: "opsz" 48;
    letter-spacing: -.01em; text-transform: none; color: var(--ink);
  }
  .nav > a::after { content: "→"; font: 400 14px/1 var(--text); color: var(--muted); }
  .nav > a.active, .nav > a:hover { color: var(--accent); }
  .side-foot { margin-top: auto; padding-top: 32px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .side-foot .lang { font-size: 13px; }
  .social { display: flex; flex-direction: row; gap: 20px; font-size: 12px; }

  .hero { padding-top: 40px; }
  .hero .display { font-size: clamp(28px, 8vw, 38px); }
  .feature-bar { flex-direction: column; gap: 4px; }
  .feature-bar .right { margin-left: 0; }

  .films { grid-template-columns: 1fr; gap: 40px; }
  .film-card.span2 .thumb { aspect-ratio: 16 / 9; }
  .film-card .text { grid-template-columns: 1fr; }
  .film-card .go { display: none; }

  .index-group { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .index-year { font-size: 26px; }
  .index-list li { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .index.compact .index-group { grid-template-columns: 1fr; gap: 6px; }

  .cv { grid-template-columns: 1fr; gap: 32px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid2 { grid-template-columns: 1fr; }
  .credits .row { grid-template-columns: 1fr; gap: 2px; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; padding-left: 0; }
  .site-foot { flex-direction: column; gap: 8px; }
}

/* note under a work's video */
.media-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); max-width: 60em; }

/* designer credit in the footer */
.site-foot .credit { flex-basis: 100%; color: var(--muted); }
.site-foot .credit a { color: var(--ink); border-bottom: 1px solid var(--line); }
.site-foot .credit a:hover { color: var(--accent); border-color: var(--accent); }
.press-solo { max-width: 760px; }
