:root {
  --bg: #f4f1ee;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #666;
  --line: #d5cec8;
  --accent: #111;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4 {
  margin: 0 0 1rem;
  line-height: 1.15;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.small-caps, .eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 700;
}
.wrapper {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.page-intro { padding: 4.5rem 0 2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244,241,238,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,31,31,.08);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 190px;
}
.brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  line-height: .82;
  letter-spacing: -.02em;
}
.brand-sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.2rem;
  font-size: .96rem;
}
.site-nav a { position: relative; padding: .25rem 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.15rem;
  height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.header-meta { display: flex; align-items: center; gap: 1rem; }
.email-link { font-size: .92rem; color: var(--muted); }
.socials { display: flex; gap: .75rem; align-items: center; }
.socials a {
  width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.socials a:hover { background: var(--text); color: #fff; border-color: var(--text); }

.hero {
  padding: 6rem 0 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}
.hero-card,
.card,
.embed-card,
.contact-card,
.info-panel,
.feature-panel,
.poster-card {
  background: var(--surface);
  border: 1px solid rgba(31,31,31,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 2rem 0; }
.hero-copy p { max-width: 62ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button, button {
  appearance: none;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  padding: .9rem 1.35rem;
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.button.secondary {
  background: transparent;
  color: var(--text);
}
.button:hover, button:hover { transform: translateY(-1px); opacity: .96; }
.hero-visual { padding: 1rem; }
.hero-visual img { border-radius: calc(var(--radius) - 6px); width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.grid-3, .grid-4, .grid-logos, .team-grid, .embed-grid, .video-grid, .credits-grid {
  display: grid;
  gap: 1.4rem;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-logos { grid-template-columns: repeat(6, minmax(0,1fr)); }
.embed-grid, .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.credits-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

.project-card img, .team-card img, .poster-card img, .credit-card img {
  border-radius: calc(var(--radius) - 6px) calc(var(--radius) - 6px) 0 0;
  width: 100%;
  object-fit: cover;
}
.project-card img { aspect-ratio: 3 / 4; }
.credit-card img { aspect-ratio: 2 / 3; }
.team-card img { aspect-ratio: 4 / 5; }
.card-body { padding: 1.1rem 1.1rem 1.35rem; }
.card-body h3, .card-body h4 { margin-bottom: .45rem; }
.role { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: .8rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.info-panel, .feature-panel, .contact-card, .embed-card { padding: 1.4rem; }
.feature-image img { border-radius: 12px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.logo-tile {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(31,31,31,.06);
  padding: 1rem;
  min-height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.logo-tile img { max-height: 52px; object-fit: contain; }

.embed-card iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #e9e3de;
}
.audio-embed iframe { height: 352px; }
.video-embed iframe { aspect-ratio: 16/9; min-height: 260px; }
.embed-meta { margin-top: 1rem; }
.embed-meta h3, .embed-meta h4 { font-size: 1.35rem; margin-bottom: .35rem; }
.placeholder-box {
  min-height: 260px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.03));
  text-align: center;
}
.placeholder-box p { max-width: 30ch; color: var(--muted); }
.note {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--text);
  background: rgba(255,255,255,.6);
  border-radius: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; font-size: .92rem; }
input, textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 2.25rem;
  align-items: start;
}
.sticky-photo { position: sticky; top: 112px; }
.sticky-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.longform {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(31,31,31,.07);
  box-shadow: var(--shadow);
}
.longform p { font-size: 1.04rem; }

.site-footer {
  border-top: 1px solid rgba(31,31,31,.08);
  padding: 2.2rem 0 3rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.copyright { color: var(--muted); font-size: .9rem; }

@media (max-width: 1080px) {
  .hero-grid, .contact-grid, .bio-layout, .split { grid-template-columns: 1fr; }
  .sticky-photo { position: static; max-width: 520px; }
  .grid-logos { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .header-inner { flex-direction: column; padding: 1rem 0; }
  .brand, .header-meta { min-width: 0; }
  .team-grid, .grid-3, .credits-grid, .embed-grid, .video-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-logos { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-top: 4rem; }
  .section { padding: 3.5rem 0; }
  .grid-4, .grid-logos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .brand-mark { font-size: 2.35rem; }
}
