/* ============================================================
   MARY WORONOV : CULT QUEEN — Minx Films
   Static rebuild of maryworonovdocumentary.com (Avada theme)
   ============================================================ */

:root{
  --red:      #ff0000;
  --gray-dim: #4f4f4f;
  --navy:     #0f1d38;
  --ink:      #000000;
  --bg:       #ffffff;
  --rule:     #e5e5e5;

  /* Didot for hero only.  Playfair Display loaded as a Didot-flavoured
     web fallback so Windows/Linux visitors still see a high-contrast serif. */
  --didot: "Didot","Bodoni 72","GFS Didot","Playfair Display",Georgia,serif;
  --sans:  "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;

  --maxw: 1248px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--red); }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* ============================================================
   HEADER — small Minx logo LEFT, nav RIGHT
   ============================================================ */
.site-header{
  background:#fff;
  position:relative;
  z-index:10;
}
.header-grid{
  max-width:var(--maxw);
  margin:0 auto;
  padding:18px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.header-logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
}
/* HARD CAP — wins against any cached or inherited sizing */
.header-logo img,
img.minx-logo{
  width:80px !important;
  max-width:80px !important;
  height:auto !important;
  display:block !important;
}
.header-nav{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex:1;
}
.header-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:48px;
  align-items:center;
}
.header-nav a{
  font-family:var(--sans);
  font-weight:500;
  font-size:15px;
  letter-spacing:.02em;
  color:var(--ink);
}
.header-nav a:hover,
.header-nav li.current a{ color:var(--red); }

.nav-toggle{
  display:none;
  background:none;
  border:0;
  color:#000;
  font-size:24px;
  cursor:pointer;
  padding:8px;
}

@media (max-width:900px){
  .header-grid{ padding:14px 20px; }
  .header-logo img,
  img.minx-logo{
    width:60px !important;
    max-width:60px !important;
  }
  .nav-toggle{ display:block; }
  .header-nav{ position:relative; }
  .header-nav ul{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    background:#fff;
    flex-direction:column;
    gap:0;
    padding:10px 0;
    min-width:200px;
    border:1px solid var(--rule);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
  }
  .header-nav ul.open{ display:flex; }
  .header-nav li{ width:100%; }
  .header-nav a{ display:block; padding:12px 24px; font-size:16px; }
}

/* ============================================================
   HOME — single-screen layout (no scroll)
   body.home is a vertical flex column that fills 100vh, header
   and footer take their natural height, hero gets everything
   else and centers its content vertically.
   ============================================================ */
body.home{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  margin:0;
}
body.home .site-header{ flex:0 0 auto; }
body.home .site-footer{ flex:0 0 auto; }
body.home .hero{ flex:1 1 auto; min-height:0; display:flex; }

.hero{
  position:relative;
  background-image:url("../images/chair1.jpg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  background-color:#f1f1f1;
  width:100%;
}
.hero-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:30px 40px;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;     /* vertically centre the title block */
  align-items:stretch;
}
.hero-spacer-top,
.hero-spacer-bottom{ display:none; }    /* removed for single-screen layout */

.hero-mobile-img{ display:none; }       /* desktop uses bg-image instead */

.hero-titles{
  text-align:right;
  padding-right:0;
}
.hero-kicker{
  font-family:var(--didot);
  color:var(--gray-dim);
  font-size:clamp(22px,2.6vw,33px);
  font-weight:700;
  line-height:1.1;
  margin:0 0 6px;
}
.hero-title{
  font-family:var(--didot);
  color:var(--red);
  font-size:clamp(54px,8vw,120px);
  font-weight:400;
  line-height:1;
  margin:0;
  letter-spacing:.005em;
}
.hero-subtitle{
  font-family:var(--didot);
  color:var(--red);
  font-size:clamp(38px,6vw,90px);
  font-weight:700;
  line-height:1;
  margin:-8px 0 0;
  /* Original: title-heading-CENTER inside a box pushed margin-left:270px.
     We replicate by centering text inside a block that's offset to the right. */
  text-align:center;
  padding-left:22%;
  padding-right:2%;
}
.hero-cta-wrap{
  text-align:center;
  margin-top:48px;
}
.btn{
  display:inline-block;
  font-family:var(--sans);
  font-size:16px;
  font-weight:600;
  letter-spacing:.02em;
  padding:14px 34px;
  border-radius:4px;
  background:#1a1a1a;
  color:#fff !important;
  transition:background .15s ease;
}
.btn:hover{ background:var(--red); }

@media (max-width:900px){
  /* MOBILE HOME — order is: titles → image → button */
  .hero{
    background-image:none;            /* swap bg-image for a real <img> */
    background-color:#fff;
  }
  body.home .hero-inner{
    justify-content:flex-start;
    padding:24px 20px 28px;
    gap:18px;
  }
  .hero-titles{ text-align:center; padding-right:0; }
  .hero-subtitle{ text-align:center; padding-right:0; padding-left:0; margin-top:-4px; }
  .hero-mobile-img{
    display:block;
    width:100%;
    max-width:520px;
    height:auto;
    margin:6px auto 0;
    object-fit:contain;
  }
  .hero-cta-wrap{ margin-top:6px; padding-top:0; }
}

/* ============================================================
   PAGE HEAD (Info / Contact / 404)
   ============================================================ */
.page-head{ padding:60px 0 16px; }
.page-head .container{ max-width:var(--maxw); }
.page-head h1{
  font-family:var(--sans);
  font-weight:700;
  font-size:clamp(38px,5vw,56px);
  color:var(--ink);
  margin:0;
  letter-spacing:-.01em;
}
.page-head.contact h1{ color:var(--navy); }

/* ============================================================
   INFO SECTIONS
   ============================================================ */
.section{ padding:40px 0 36px; }
.section .container{ max-width:var(--maxw); }
.section h2{
  font-family:var(--sans);
  font-weight:700;
  font-size:clamp(28px,3.3vw,40px);
  margin:0 0 18px;
  letter-spacing:-.01em;
}
.section p{
  font-family:var(--sans);
  font-size:15.5px;
  color:#222;
  line-height:1.7;
  margin:0 0 14px;
}
@media (max-width:900px){
  .section{ padding:24px 0 20px; }
  .section h2{ font-size:26px; margin:0 0 14px; }
  .section p{ font-size:15px; line-height:1.65; margin:0 0 12px; }
}
.two-col{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:48px;
  align-items:start;
}
.two-col figure{ margin:0; }
.two-col figcaption{
  font-size:13px;
  color:#666;
  margin-top:8px;
  font-style:italic;
}
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; gap:30px; } }

.cast{
  font-family:var(--sans);
  font-size:18px;
  line-height:1.9;
  color:#222;
  margin:0;
}

.filmmaker{
  display:grid;
  grid-template-columns:1fr 1.6fr;
  gap:36px;
  align-items:start;
  padding:8px 0 18px;
  margin-bottom:36px;       /* breathing room between Francesca + Claudia */
}
.filmmaker:last-of-type{ margin-bottom:8px; }
.filmmaker .name{
  font-family:var(--sans);
  font-size:20px;
  font-weight:700;
  margin:0 0 2px;
  letter-spacing:-.005em;
}
.filmmaker .role{
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  color:#999;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0;
}
.filmmaker p{
  margin:0;
}
@media (max-width:900px){
  .filmmaker{
    grid-template-columns:1fr;
    gap:10px;
    padding:0 0 6px;
    margin-bottom:32px;     /* gap between Francesca and Claudia on mobile */
  }
  .filmmaker:last-of-type{ margin-bottom:8px; }
  .filmmaker .name{ font-size:18px; }
  .filmmaker .role{ margin:0 0 6px; }
}

.fullwidth-image{ margin:24px 0 0; }
.fullwidth-image img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
}
.fullwidth-image figcaption{
  font-size:13px;
  color:#666;
  margin-top:8px;
  font-style:italic;
  text-align:center;
}
/* keep John Waters image inside the container so it lines up with bio text */

/* ============================================================
   CONTACT — image LEFT (top of page), right column has
   "Contact Us" heading + lead + form. Name/Email share a
   row; Send Message button is full-width.
   ============================================================ */
.contact-row{
  max-width:var(--maxw);
  margin:0 auto;
  padding:40px 24px 80px;
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap:60px;
  align-items:start;
}
.contact-image{
  width:100%;
  height:auto;
  display:block;
  margin:0;
}
.contact-wrap{
  max-width:none;
  margin:0;
  padding:0;
  text-align:left;
}
.contact-wrap h1{
  font-family:var(--sans);
  font-weight:700;
  font-size:clamp(38px,4.5vw,60px);
  color:var(--navy);
  margin:0 0 14px;
  letter-spacing:-.01em;
  line-height:1.05;
}
.contact-wrap p.lead{
  font-family:var(--sans);
  font-size:18px;
  color:#333;
  margin:0 0 22px;
  text-align:left;
}
.contact-form{
  display:grid;
  grid-template-columns:1fr 1fr;     /* Name | Email same row */
  gap:14px;
  text-align:left;
}
.contact-form .field-full{ grid-column:1 / -1; }
.contact-form button{
  grid-column:1 / -1;
  width:100%;
  justify-self:stretch;
  margin:6px 0 0;
  padding:16px 20px;
  font-size:16px;
}

@media (max-width:900px){
  .contact-row{
    grid-template-columns:1fr;
    gap:24px;
    padding:18px 20px 60px;
  }
  .contact-image{ order:2; }   /* image slides BELOW form on mobile */
  .contact-wrap{ order:1; }
  .contact-form{ grid-template-columns:1fr; gap:12px; }
}
.contact-form{ display:grid; gap:16px; }
.contact-form input,
.contact-form textarea{
  width:100%;
  font-family:var(--sans);
  font-size:16px;
  padding:14px 16px;
  border:1px solid #d0d0d0;
  border-radius:4px;
  background:#fff;
  color:#111;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--ink);
  box-shadow:0 0 0 3px rgba(0,0,0,.06);
}
.contact-form textarea{ min-height:160px; resize:vertical; }
.contact-form button{
  justify-self:start;
  font-family:var(--sans);
  font-size:16px;
  font-weight:600;
  padding:14px 34px;
  border:0;
  border-radius:4px;
  background:#1a1a1a;
  color:#fff;
  cursor:pointer;
  transition:background .15s ease;
}
.contact-form button:hover{ background:var(--red); }
.hp-field{ display:none !important; }

/* ============================================================
   FOOTER — clean centered row of social icons + copyright
   ============================================================ */
.site-footer{
  background:#fff;
  padding:18px 20px 18px;
  text-align:center;
}
.footer-row{
  max-width:var(--maxw);
  margin:0 auto 8px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
}
.footer-col{ display:flex; justify-content:center; align-items:center; }
.footer-col:empty{ display:none !important; }   /* hide legacy spacer cols */

.socials a{
  width:40px;
  height:40px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111;
  transition:color .15s ease, transform .15s ease;
}
.socials a:hover{ color:var(--red); transform:translateY(-1px); }
.socials a svg{ width:24px; height:24px; fill:currentColor; }

.footer-credit{
  font-family:var(--sans);
  font-size:12px;
  color:#888;
  margin:0;
}
.footer-credit a{ color:#888; }
.footer-credit a:hover{ color:var(--red); }

/* 404 / thanks */
.center-block{
  max-width:680px;
  margin:0 auto;
  padding:80px 24px 100px;
  text-align:center;
}
