/* =====================================================================
   L5P PICTURE SHOW — styles.css
   Design system ported EXACTLY from www.joelsilverman.com (Calluna Sans body,
   Cormorant Garamond + Lato headings, the four-edge feather "blur" on every
   video, the layered drop-shadow elevation stack), with two deliberate
   departures requested for this site:
     • Wordmark  = Bungee (gold #f1ce72 face) + Bungee Shade (black shade layer)
     • Page bg   = #14406c
   Cache-buster: this file is linked as styles.css?v=N — bump N on every edit.
   ===================================================================== */

/* ---- Fonts (all served local; see fonts/) -------------------------- */
@font-face {
  font-family: "calluna-sans";
  src: url("fonts/CallunaSansRegular/font.woff2") format("woff2"),
       url("fonts/CallunaSansRegular/font.woff")  format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "calluna";
  src: url("fonts/CallunaRegular/font.woff2") format("woff2"),
       url("fonts/CallunaRegular/font.woff")  format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
/* Cormorant Garamond + Lato come from fonts/google-fonts.css   */
/* Bungee + Bungee Shade come from fonts/bungee-fonts.css       */

:root {
  --l5p-blue:   #14406c;   /* page background (poster blue)        */
  --l5p-blue-2: #102f50;   /* slightly darker for footer/panels    */
  --l5p-gold:   #f1ce72;   /* wordmark + accent gold               */
  --l5p-cream:  #f3efe2;   /* warm off-white body text on blue     */
  --l5p-ink:    #0a1a2c;   /* deep shadow ink                      */

  --body-font:    "calluna-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --label-font:   "Lato", -apple-system, "Helvetica Neue", Helvetica, sans-serif;
}

/* ---- Base ---------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--l5p-blue);
  color: var(--l5p-cream);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--heading-font); font-weight: 600; line-height: 1.1; margin: 0 0 0.4em; }
a { color: var(--l5p-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: min(1100px, 92vw); margin-inline: auto; }
.section { padding: clamp(3rem, 8vh, 6rem) 0; }

/* small caps label (the poster's "ATLANTA EXPERIMENTAL CINEMA" style) */
.label {
  font-family: var(--label-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--l5p-gold);
  font-size: 0.82rem;
}

/* =====================================================================
   WORDMARK — the only type departure from joelsilverman.com.
   Bungee (gold #f1ce72 face) with a stacked black "long shadow" extruded
   down-right → the poster's 3D black drop-shadow. Shadow depth is in `em`,
   so it scales with the wordmark at any size. (Bungee Shade as a second
   overlay font was abandoned: its glyph advances are wider than Bungee's,
   so the layers drift apart across a word.)
   ===================================================================== */
.wordmark {
  margin: 0;
  display: inline-flex; flex-direction: column;
  font-family: "Bungee", system-ui, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--l5p-gold);
  line-height: 1.04;
  text-shadow:
    0.02em 0.02em 0 #000, 0.04em 0.04em 0 #000, 0.06em 0.06em 0 #000,
    0.08em 0.08em 0 #000, 0.10em 0.10em 0 #000, 0.12em 0.12em 0 #000,
    0.14em 0.14em 0 #000;
}
.wm-line { display: block; white-space: nowrap; }

/* =====================================================================
   HERO  — full-bleed orbit video, gold wordmark (no header; branding is here)
   ===================================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1rem;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* No artificial scrim — the video is shown as-is (the wordmark's own black
   long-shadow carries legibility). Darkening, if wanted, is done in the video. */
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; text-align: center; }
.hero .wordmark { align-items: center; font-size: clamp(1.5rem, 6.4vw, 5rem); }   /* sized to fit on ONE line */
.hero__tagline {
  font-family: var(--label-font); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--l5p-gold);
  font-size: clamp(0.7rem, 1.8vw, 1rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero__tagline span { white-space: nowrap; }

/* =====================================================================
   MEDIA TREATMENT  (ported verbatim from joelsilverman.com)
   The "blur": four-edge feather mask. 25px for an internally-served
   <video>; 10px for an embedded Vimeo <iframe>.
   ===================================================================== */
video.sqs-native-video-local {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%);
  mask-composite: intersect;
}
iframe[src*="player.vimeo.com"] {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  mask-composite: intersect;
}
/* Still photos: layered "elevation stack" drop-shadow, biased bottom-right. */
.elevated {
  filter:
    drop-shadow(1px 2px 3px rgba(0,0,0,0.34))
    drop-shadow(6px 9px 12px rgba(0,0,0,0.24))
    drop-shadow(16px 24px 34px rgba(0,0,0,0.16));
}

/* =====================================================================
   CONTENT SECTIONS
   ===================================================================== */
.intro { text-align: center; padding-bottom: 0.5rem; }   /* tight gap before "This Season" */
.intro p {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.7;
  margin: 1.2rem 0 0;   /* full width — no artificial measure cap */
}
.intro a { border-bottom: 1px solid rgba(241,206,114,0.5); }

.section h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--l5p-cream);
}
.section h2 em { color: var(--l5p-gold); font-style: italic; }

/* schedule */
.schedule { text-align: center; padding-top: 2.75rem; }   /* gap after the intro */
.schedule__grid {
  display: grid; gap: 1rem; margin-top: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.schedule__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(241,206,114,0.22);
  border-radius: 10px; padding: 1.4rem 1.2rem;
}
.schedule__card .when { font-family: var(--heading-font); font-size: 1.6rem; color: var(--l5p-gold); }
.schedule__card .when-date { font-size: 1.45rem; font-weight: 700; line-height: 1.5; margin-top: 0.7rem; }   /* enlarged + bold, two lines */
.placeholder { color: var(--l5p-gold); opacity: 0.85; font-style: italic; }

/* call for entries */
.cfe { text-align: center; background: var(--l5p-blue-2); border-radius: 14px; padding: clamp(2.2rem,5vw,3.5rem); }
.cfe p { max-width: 50ch; margin: 1rem auto 0; font-size: 1.12rem; }
.cfe .cfe__body { max-width: none; }   /* run full width across the panel */
.btn {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--label-font); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--l5p-gold); color: var(--l5p-ink);
  padding: 0.95rem 1.9rem; border-radius: 999px;
  box-shadow: 0 6px 0 #c9a23e, 0 14px 22px -10px rgba(0,0,0,0.6);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { text-decoration: none; transform: translateY(2px); box-shadow: 0 4px 0 #c9a23e, 0 10px 18px -10px rgba(0,0,0,0.6); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 #c9a23e; }

/* =====================================================================
   SPONSORS / FOOTER
   ===================================================================== */
.site-footer { background: var(--l5p-blue-2); padding: clamp(2.5rem,6vw,4rem) 0 3rem; text-align: center; border-top: 1px solid rgba(241,206,114,0.18); }
/* label sits to the LEFT of the logos, on one row (saves vertical space) */
.sponsors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.sponsors__line { margin: 0; font-family: var(--label-font); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--l5p-cream); opacity: 0.85; }
.sponsors__logos { display: flex; flex-wrap: wrap; gap: clamp(2rem,6vw,4rem); align-items: center; justify-content: center; margin: 0; }
/* Transparent logos sit directly on the blue (no chip). Sized for optical
   balance: the Porter is a wide horizontal lockup; the Alliance is a taller
   badge with "ALLIANCE" stacked under the circle. */
.sponsors__logos img { width: auto; }
.sponsors__logos img.logo-porter   { height: clamp(40px, 8vw, 60px); }
.sponsors__logos img.logo-alliance { height: clamp(70px, 13vw, 100px); }
.colophon { font-size: 0.85rem; opacity: 0.7; margin-top: 3rem; text-align: right; }
.colophon a { border-bottom: 1px solid rgba(241,206,114,0.4); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { min-height: 78vh; }
}

/* Respect reduced-motion: the hero video still shows its poster frame */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
