/* Lucia Fox-Shapiro — documentary editor portfolio
   Plain CSS, no build step. Edit values here to restyle the whole site. */

:root {
  --ink:      #1a1a1a;   /* main text */
  --muted:    #6b6b6b;   /* taglines, credits, footer */
  --accent:   #8a6d3b;   /* links (understated gold) */
  --bg:       #ffffff;
  --rule:     #e6e6e6;   /* thin divider lines */
  --maxwidth: 820px;
  --serif:    "Playfair Display", Georgia, serif;
  --sans:     "Raleway", -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: 4.5rem 1.25rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.site-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.site-title:hover { text-decoration: none; }

.tagline {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.social a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}
.social a:hover { color: var(--ink); text-decoration: none; }
.social .imdb {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  line-height: 1.4;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Films ---------- */
.film {
  text-align: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.film h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.film p { margin: 0 auto 1.25rem; max-width: 64ch; }

.credit {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}
.credit a { color: var(--muted); }

/* Posters — portrait images, constrained so they don't dominate */
.poster {
  display: block;
  margin: 1.5rem auto;
  max-height: 620px;
  width: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

/* Festival laurels — wide, thin banners */
.laurels {
  display: block;
  margin: 1.75rem auto 1.5rem;
}

/* Self-hosted video files */
.film video {
  display: block;
  width: 100%;
  margin: 1.5rem auto;
  background: #000;
}

/* Responsive 16:9 wrapper for Vimeo / YouTube embeds */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem auto;
  background: #000;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- About ---------- */
.about {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.headshot {
  flex: 0 0 34%;
  max-width: 34%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}
.about-text { flex: 1; }
.about-text p { margin: 0; }

/* ---------- Résumé ---------- */
.resume {
  text-align: center;
  padding: 3rem 0;
}
.resume a {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.resume a:hover { text-decoration: none; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem 3.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-header { padding-top: 3rem; }
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .headshot { flex-basis: auto; max-width: 70%; }
}
