:root {
  /* palette pulled from the portrait: warm charcoal-taupe ground,
     ivory from the jacket collar, amber bridging the skin tone
     and the studio background */
  --bg: #130f0c;
  --panel: #1d1712;
  --ink: #f0e9db;
  --ink-soft: #ac9f8c;
  --line: #332c22;
  --gold: #c17f42;
  --gold-deep: #8a5a2a;
  --gold-glow: rgba(193,127,66,0.24);
}

* { box-sizing: border-box; }

html { background: #130f0c; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  position: relative;
}

/* subtle art-directed grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1, h2, h3, p, ul, table { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  flex: none;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.placeholder-tag {
  position: absolute;
  bottom: 0.7rem;
  right: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(242,237,225,0.5);
  text-transform: uppercase;
  z-index: 2;
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.75rem;
  background: rgba(8,8,10,0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  flex-wrap: wrap;
}
.nav-mark {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}
.nav-mark:hover { color: var(--gold); opacity: 0.8; }
.nav-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------------- hero: widescreen, single-light drama (home only) ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.letterbox { height: 20px; background: #000; position: relative; z-index: 3; }
.hero-frame {
  position: relative;
  aspect-ratio: 2.35/1;
  overflow: hidden;
  background: var(--bg);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19,15,12,0.05) 0%, rgba(19,15,12,0.35) 45%, rgba(19,15,12,0.94) 92%),
    linear-gradient(100deg, rgba(19,15,12,0.78) 0%, rgba(19,15,12,0.18) 42%, rgba(19,15,12,0) 66%);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 140px rgba(0,0,0,0.55);
  pointer-events: none;
}
.hero-inner {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44%;
  min-width: 260px;
  padding: 0 1.75rem;
  text-align: left;
}
@media (max-width: 640px) {
  .hero-inner { width: 62%; top: auto; bottom: 1.5rem; transform: none; }
  .hero-frame { aspect-ratio: 3/2; }
}
.hero-eyebrow { display: flex; align-items: center; gap: 0.7rem; }
.hero-eyebrow .rule { width: 30px; margin: 0; }
.hero-title {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 10.5vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 1.1rem 0 1.6rem;
  text-shadow: 0 0 70px rgba(193,127,66,0.3);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: reveal 0.9s cubic-bezier(0.16,1,0.3,1) both; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.hero-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  max-width: 50ch;
}

/* ---------------- statement divider (home only) ---------------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.75rem 5.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #000;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("filmstrip.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}
.statement-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}
.statement-text {
  position: relative;
  z-index: 1;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 23ch;
  margin: 0 auto;
  text-wrap: balance;
  text-shadow: 0 0 60px rgba(193,127,66,0.22);
}
.statement em { color: var(--gold); font-style: normal; }

/* ---------------- page header (secondary pages) ---------------- */
.page-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem 3rem;
}
.page-header-eyebrow { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.page-header-eyebrow .rule { margin: 0; width: 30px; }
.page-title {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-lede {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 1rem;
}
.page-header-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15,12,9,0.35), rgba(15,12,9,0.55)),
    url('ds-header-bkgd.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* ---------------- sections ---------------- */
.section { padding: 5rem 1.75rem; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  flex-wrap: wrap;
}
.section-title {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

/* now-showing: fewer, bigger, widescreen backdrop cards */
.poster-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.poster-card {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(200deg, #322a1a, #100e0b 72%);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 55%, transparent 78%);
}
.poster-copy { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; }
.poster-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.poster-card h3 {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.poster-card p.role { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .poster-card { transition: transform 0.25s ease, border-color 0.25s ease; }
  .poster-card:hover { transform: translateY(-4px); border-color: var(--gold); }
}

/* selected work / filmography list */
.work-list { max-width: 1000px; margin: 0 auto; }
.work-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.work-list .work-row:last-child { border-bottom: 1px solid var(--line); }
.work-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.work-title { font-size: 1.05rem; font-weight: 600; }
.work-role { font-size: 0.82rem; color: var(--ink-soft); text-align: right; }
.work-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
  white-space: nowrap;
}
.work-row.four { grid-template-columns: 4.5rem 1fr auto auto; }
.work-row.three { grid-template-columns: 4.5rem 1fr auto; }

/* latest / news */
.latest-list { max-width: 760px; margin: 0 auto; }
.latest-row {
  display: flex;
  gap: 1.1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.55;
}
.latest-list .latest-row:last-child { border-bottom: 1px solid var(--line); }
.latest-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  color: var(--gold);
  flex: none;
  padding-top: 0.15rem;
}
.latest-note {
  display: block;
  max-width: 760px;
  margin: 1.1rem auto 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--ink-soft);
  text-align: center;
}

/* gallery */
.gallery-grid { max-width: 1240px; margin: 0 auto; columns: 3 240px; column-gap: 1.1rem; }
.gallery-tile {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #2a2114, #100e0b 75%);
  overflow: hidden;
  text-decoration: none;
}
.gallery-tile.t1 { aspect-ratio: 3/4; }
.gallery-tile.t2 { aspect-ratio: 1/1; }
.gallery-tile.t3 { aspect-ratio: 4/3; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.gallery-tile .gallery-tile-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-tile .gallery-tile-caption {
  position: absolute;
  bottom: 0.7rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-tile .gallery-tile-year {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.gallery-tile .gallery-tile-tagline {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.3;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-tile { transition: filter 0.2s ease; }
  .gallery-tile:hover { filter: brightness(1.05); }
  .gallery-tile:hover .gallery-tile-scrim,
  .gallery-tile:hover .gallery-tile-caption { opacity: 1; }
}
@media (hover: none) {
  .gallery-tile .gallery-tile-scrim,
  .gallery-tile .gallery-tile-caption { opacity: 1; }
}

/* biography prose */
.prose { max-width: 1240px; margin: 0 auto; padding: 0 1.75rem; }
.prose-columns { display: grid; grid-template-columns: minmax(0,62ch) 1fr; gap: 3rem; }
.prose-body p { line-height: 1.75; margin-bottom: 1.3rem; color: var(--ink); }
.prose-body p:last-child { margin-bottom: 0; }
.prose-body h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.2rem 0 0.9rem;
}
.prose-body h3:first-child { margin-top: 0; }
.prose-aside {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.fact-row { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.fact-row:last-child { border-bottom: none; }
.fact-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.fact-value { font-size: 0.95rem; }
.draft-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
@media (max-width: 760px) {
  .prose-columns { grid-template-columns: 1fr; }
  .prose-aside { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.5rem; }
}

/* links page */
.link-group { max-width: 1000px; margin: 0 auto 3.5rem; }
.link-group:last-child { margin-bottom: 0; }
.link-group-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.link-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.link-group .link-row:last-child { border-bottom: 1px solid var(--line); }
.link-name { font-size: 1.05rem; font-weight: 600; }
.link-desc { display: block; font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.2rem; font-weight: 400; }
.link-arrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex: none;
}
.link-row:hover .link-arrow { color: var(--gold); }
.link-row:hover .link-name { color: var(--gold); }

footer { padding: 3rem 1.75rem 3.5rem; text-align: center; }
footer p {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 0.9rem;
}

@media (max-width: 480px) {
  .work-row.four { grid-template-columns: 1fr; row-gap: 0.2rem; }
  .work-row.three { grid-template-columns: 1fr; row-gap: 0.2rem; }
  .work-role, .work-type { text-align: left; }
  .gallery-grid { columns: 2 160px; }
  .link-row { flex-direction: column; gap: 0.2rem; }
}
