:root {
  color-scheme: dark;
  --ink: #090909;
  --paper: #f3f0e8;
  --paper-deep: #ddd9cf;
  --white: #fffdf7;
  --line-light: rgba(255, 253, 247, .3);
  --muted-light: rgba(255, 253, 247, .7);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --header-h: 4.8rem;
  /* Dark veil over the fixed background behind content sections: the image shows through, small text stays readable. */
  --veil: rgba(9, 9, 9, .58);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--white); background: transparent; font-family: var(--body); font-size: 1rem; line-height: 1.55; }
/* Site-wide background, like enly10.com and ENLY10 Casting (owner request 2026-11-24): the light-leak image stays visible
   behind every section. A fixed layer, not background-attachment: fixed, so it also stays put on iOS Safari.
   The tint keeps white text readable over the brighter areas. */
body::after { position: fixed; inset: 0; z-index: -2; content: ""; pointer-events: none;
  background: linear-gradient(rgba(9, 9, 9, .12), rgba(9, 9, 9, .3)), url("./assets/enly10-festival-background.png") center / cover no-repeat, var(--ink);
  background: linear-gradient(rgba(9, 9, 9, .12), rgba(9, 9, 9, .3)), image-set(url("./assets/enly10-festival-background.webp") type("image/webp"), url("./assets/enly10-festival-background.png") type("image/png")) center / cover no-repeat, var(--ink); }
body.nav-open { overflow: hidden; }
button, input, a { font: inherit; color: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 200; padding: .85rem 1.1rem; color: var(--ink); background: var(--paper); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(100% - 5rem, 1520px); margin-inline: auto; }
.eyebrow { margin: 0 0 1.5rem; color: currentColor; font-size: .875rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
:where(section[id]) { scroll-margin-top: 5rem; }

.text-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.text-action:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

/* Owner-approved transparent header: MENU only. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  padding: 0 2.5rem;
  color: #fff;
  background: transparent;
  mix-blend-mode: difference;
  pointer-events: none;
}
.menu-toggle { display: flex; min-height: 44px; align-items: center; gap: .65rem; border: 0; padding: 0; background: transparent; font-size: .82rem; font-weight: 800; letter-spacing: .12em; cursor: pointer; pointer-events: auto; }
.menu-toggle__lines { display: grid; width: 1.1rem; gap: 4px; }
.menu-toggle__lines i { display: block; height: 2px; background: currentColor; }
/* Past the opener only the three-line icon stays, so the word MENU does not run over headings (owner-approved review fix 2026-11-29).
   Opacity keeps it in the button's accessible name; it comes back on hover and keyboard focus. */
.menu-toggle__label { transition: opacity .2s ease; }
.site-header.is-scrolled .menu-toggle__label { opacity: 0; }
.site-header.is-scrolled .menu-toggle:hover .menu-toggle__label, .site-header.is-scrolled .menu-toggle:focus-visible .menu-toggle__label { opacity: 1; }

/* Full-screen navigation keeps the ENLY10 family identity while using an editorial index. */
.site-nav { position: fixed; inset: 0; z-index: 100; display: none; grid-template-rows: auto 1fr auto; padding: 2.5rem; color: var(--white); background: var(--ink); }
.site-nav.is-open { display: grid; }
.site-nav__close { justify-self: end; min-height: 44px; border: 0; padding: 0; background: transparent; font-size: .82rem; font-weight: 800; letter-spacing: .12em; cursor: pointer; }
.site-nav__brand { position: absolute; left: 2.5rem; top: 2.4rem; font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.site-nav__links { display: grid; align-content: center; width: min(100%, 1050px); margin-inline: auto; }
.site-nav__links a { padding: .35rem 0 .5rem; border-bottom: 1px solid var(--line-light); font-family: var(--display); font-size: clamp(3.4rem, 7.4vw, 7rem); font-weight: 700; letter-spacing: -.02em; line-height: .92; text-transform: uppercase; transition: color .2s ease, padding-left .2s ease; }
.site-nav__links a:hover { padding-left: .3em; color: var(--paper-deep); }
.site-nav__links a[aria-current="page"] { color: var(--paper-deep); }
.site-nav__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.site-nav__foot p { margin: 0; color: var(--muted-light); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.casting-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted-light); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.casting-link span { margin-left: .4rem; border-bottom: 1px solid currentColor; color: var(--white); }

/* Story-led opener: Tribeca-scale image and copy, ENLY10 image language. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 2.5rem 2.5rem;
  overflow: hidden;
  background: transparent;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.52) 0, rgba(0,0,0,.12) 62%, rgba(0,0,0,.2)), linear-gradient(0deg, rgba(0,0,0,.7), transparent 58%); }
.hero__veil { position: absolute; inset: 0; background: radial-gradient(circle at 70% 28%, transparent 0 18%, rgba(0,0,0,.12) 72%); }
.hero__identity { position: relative; z-index: 1; grid-column: 1 / -1; align-self: end; width: min(100%, 1120px); padding-bottom: 1.75rem; }
.hero__identity p, .hero__identity span { display: block; margin: 0; font-size: clamp(.78rem, 1.2vw, .92rem); font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero__identity p { margin-bottom: .9rem; }
.hero__identity span { max-width: 48rem; margin-top: 1rem; color: rgba(255,255,255,.82); }
.hero__identity h1 { margin: 0; font-family: var(--display); font-size: clamp(7rem, 15vw, 14rem); font-weight: 700; letter-spacing: -.045em; line-height: .9; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.16); }
.hero__actions { position: relative; z-index: 1; grid-column: 2; align-self: end; display: flex; gap: .75rem; padding-bottom: .15rem; }
.hero__actions .text-action { min-width: 11.5rem; border-color: var(--paper); color: var(--ink); background: var(--paper); }
.hero__actions .text-action:hover { color: var(--white); background: var(--ink); border-color: var(--white); }

.hero--festival .hero__identity h1 { font-size: clamp(6.4rem, 13vw, 12.5rem); }
.hero--48-hour-challenge::after, .hero--horror-festival::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero--48-hour-challenge::after { background: rgba(0, 0, 0, .18); backdrop-filter: grayscale(.35) saturate(.45) contrast(1.1); }
.hero--48-hour-challenge .hero__identity h1 { font-size: clamp(5.6rem, 11.4vw, 11rem); }
/* Horror keeps a slightly colder, darker cast, light enough that the site-wide background still shows (owner-approved review fix 2026-11-29). */
.hero--horror-festival::after { background: rgba(0, 0, 0, .1); backdrop-filter: saturate(.75) brightness(.95); }
.hero--festival .hero__identity, .hero--festival .hero__actions { z-index: 2; }

/* Information-first editorial section. Black foundation shared by the three ENLY10 sites (owner decision 2026-11-24). */
.festival-intro { padding: clamp(6rem, 10vw, 10rem) 0 0; color: var(--white); background: var(--veil); border-top: 1px solid var(--line-light); }
.festival-intro .eyebrow { margin-bottom: 2rem; }
.festival-intro__statement { max-width: 1180px; margin: 0 0 clamp(4rem, 8vw, 7rem); font-family: var(--display); font-size: clamp(3rem, 6vw, 6.6rem); font-weight: 700; line-height: .94; letter-spacing: -.025em; text-transform: uppercase; }
.festival-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--white); border-bottom: 1px solid var(--white); }
.festival-facts div { min-height: 9rem; padding: 1.4rem; border-left: 1px solid var(--line-light); }
.festival-facts div:first-child { border-left: 0; padding-left: 0; }
.festival-facts dt { margin-bottom: .75rem; color: var(--muted-light); font-size: .78rem; font-weight: 800; letter-spacing: .13em; }
.festival-facts dd { margin: 0; font-size: .9rem; font-weight: 800; letter-spacing: .05em; }

/* Festival index: text cards (name, description, format and timing) on Tribeca's editorial grid. */
.festivals, .festival-more { color: var(--white); background: var(--veil); }
.festivals { padding: clamp(5rem, 8vw, 8rem) 0 clamp(7rem, 10vw, 10rem); }
.festival-more { padding: clamp(5rem, 8vw, 8rem) 0; border-top: 1px solid var(--line-light); }
.festival-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.festival-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.festival-card { display: flex; min-width: 0; flex-direction: column; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-light); }
.festival-card__title { margin: 0 0 1.25rem; font-family: var(--display); font-size: clamp(3.4rem, 5.1vw, 5.7rem); font-weight: 700; letter-spacing: -.025em; line-height: .9; }
.festival-card__title a:hover { color: var(--muted-light); }
.festival-card__lead { margin: 0 0 1.5rem; font-size: 1.05rem; line-height: 1.5; }
.festival-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.75rem; }
.festival-card dt { margin-bottom: .4rem; color: var(--muted-light); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.festival-card dd { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.festival-card .text-action { align-self: flex-start; margin-top: auto; }

/* Festival information blocks. */
.festival-expect { padding: clamp(5rem, 8vw, 8rem) 0 clamp(6rem, 9vw, 9rem); color: var(--white); background: var(--veil); }
.festival-expect ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--white); border-bottom: 1px solid var(--white); list-style: none; }
.festival-expect li { display: flex; min-height: 17rem; align-items: flex-end; padding: 2rem; border-left: 1px solid var(--line-light); font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.4rem); font-weight: 700; line-height: .94; text-transform: uppercase; }
.festival-expect li:first-child { border-left: 0; padding-left: 0; }

/* Footer in the enly10.com look (owner request 2026-11-24): no band and no rules, so the site background shows through;
   small tracked Inter, tagline left, links right. Links stay at least 44px tall to tap. */
.site-footer { padding: 3.5rem 0 4rem; color: var(--white); background: transparent; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer__tagline { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .16em; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__row { display: flex; gap: 1.6rem; }
.site-footer__links a { display: inline-flex; min-height: 44px; align-items: center; font-size: .75rem; font-weight: 500; letter-spacing: .1em; }
.site-footer__row a:hover, .site-footer .casting-link:hover span { color: var(--muted-light); }
.site-footer .casting-link { color: var(--muted-light); }
.site-footer .casting-link span { margin-left: .75rem; border-bottom: 0; }
/* Festival sign-up, kept in the footer (owner 2026-11-24): a single hairline field in the same small tracked type. */
.signup, .signup__fallback { margin-bottom: 3rem; }
.signup { max-width: 30rem; }
.signup label { display: block; margin-bottom: .4rem; font-size: .82rem; font-weight: 700; letter-spacing: .16em; }
.signup__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--white); }
.signup__row:focus-within { outline: 2px solid var(--white); outline-offset: 4px; }
.signup input { flex: 1; min-width: 0; min-height: 48px; padding: .5rem 0; border: 0; color: var(--white); background: transparent; font-size: 1rem; }
.signup input::placeholder { color: var(--muted-light); }
.signup input:focus { outline: none; }
.signup button { min-height: 48px; padding: 0 0 0 1.25rem; border: 0; color: var(--white); background: transparent; font-size: .75rem; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
.signup button:hover { color: var(--muted-light); }
.signup button:disabled { opacity: .55; cursor: default; }
.signup__note, .signup__status { margin: .75rem 0 0; color: var(--muted-light); font-size: .75rem; }
.signup__status { min-height: 1.4em; margin-top: .3rem; }
.signup__fallback { display: inline-flex; min-height: 44px; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .16em; border-bottom: 1px solid currentColor; }

@media (max-width: 1100px) {
  .page-shell { width: min(100% - 3rem, 1520px); }
  .hero { padding-inline: 1.5rem; }
  .hero__identity h1 { font-size: clamp(6.5rem, 17vw, 11rem); }
  .hero--48-hour-challenge .hero__identity h1 { font-size: clamp(5.4rem, 13.8vw, 8.8rem); }
  .festival-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .festival-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .festival-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .festival-cards, .festival-cards--2 { grid-template-columns: 1fr; gap: 3.5rem; }
  .festival-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 0 2rem; align-items: start; }
  .festival-card__title { grid-row: 1 / span 6; }
  .festival-card > :not(.festival-card__title) { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --header-h: 4.25rem; }
  .page-shell { width: min(100% - 2rem, 1520px); }
  .site-header { padding: 0 1rem; }
  .site-nav { padding: 1rem; }
  .site-nav__brand { left: 1rem; top: 1.2rem; }
  .site-nav__links a { font-size: clamp(3rem, 14vw, 4.4rem); }
  .site-nav__foot { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .hero { grid-template-columns: 1fr; padding: calc(var(--header-h) + 1rem) 1rem 1rem; }
  body::after { background: linear-gradient(rgba(9, 9, 9, .12), rgba(9, 9, 9, .3)), url("./assets/enly10-festival-background-mobile.webp") center / cover no-repeat, var(--ink); }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.08) 72%); }
  .hero__identity { grid-column: 1; padding-bottom: 1.2rem; }
  .hero__identity h1, .hero--festival .hero__identity h1 { font-size: clamp(5rem, 25vw, 8rem); }
  .hero--48-hour-challenge .hero__identity h1 { font-size: clamp(4.4rem, 20vw, 6.3rem); }
  .hero__actions { grid-column: 1; justify-self: start; flex-wrap: wrap; }
  .hero__actions .text-action { min-width: 0; }
  .festival-intro { padding-top: 5rem; }
  .festival-intro__statement { font-size: clamp(3.2rem, 15vw, 5.1rem); }
  .festival-facts { grid-template-columns: 1fr; }
  .festival-facts div, .festival-facts div:nth-child(3) { min-height: 0; padding: 1.15rem 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .festival-facts div:last-child { border-bottom: 0; }
  .festival-expect ul { grid-auto-flow: row; grid-template-columns: 1fr; }
  .festival-expect li, .festival-expect li:first-child { min-height: 10rem; padding: 1.5rem 1rem; border-top: 1px solid var(--line-light); border-left: 0; font-size: clamp(2.6rem, 13vw, 4rem); }
  .festival-expect li:first-child { border-top: 0; padding-left: 1rem; }
  .festival-card__title { font-size: clamp(3rem, 9vw, 4.4rem); }
  .site-footer { padding: 2.75rem 0 3rem; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (max-width: 600px) {
  .festival-card { display: flex; }
  .festival-card__title { font-size: clamp(3.5rem, 17vw, 5.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
