/* ==========================================================================
   Re-Rooting
   Palette and type are set once here as custom properties; everything else
   is composed from them.
   ========================================================================== */

:root {
  /* Taken from the tour poster: cream screenprint stock, a green-black, and
     one pillarbox red. Two reds only because the deeper one stays legible at
     body-text size; --red is for large type and solid fills. */
  --paper:      #ece5d0;  /* page background, poster stock */
  --paper-raise:#f5f0e2;  /* inputs and raised cards */
  --sage:       #e2dabf;  /* banded sections */
  --sage-deep:  #cdc3a4;  /* rules inside banded sections */
  --ink:        #1b231c;  /* the poster's green-black, all body text */
  --ink-soft:   #53544a;  /* secondary text */
  --accent:     #b52a22;  /* the italic accent and small red type */
  --red:        #c62d26;  /* solid fills: buttons, markers */
  --red-deep:   #96211b;  /* their hover state */
  --accent-light:#e8dfc6; /* the accent on the dark hero, cream on black */
  --rule:       rgba(27, 35, 28, 0.16);
  --rule-strong:rgba(27, 35, 28, 0.32);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 1340px;
  --section-y: clamp(4rem, 9vw, 8.5rem);
}

/* --------------------------------------------------------------- reset -- */

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

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

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

body {
  margin: 0;
  background: var(--paper);
  /* A whisper of the poster's screenprint tooth. Deliberately almost
     invisible — enough to stop the cream reading as flat screen white. */
  background-image:
    repeating-linear-gradient(0deg, rgba(27, 35, 28, 0.022) 0 1px, transparent 1px 3px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hero :focus-visible,
.eyebrow--light ~ * :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- typography -- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.display--xl { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 0.98; }
.display--lg { font-size: clamp(2.35rem, 4.8vw, 4.1rem); }
.display--md { font-size: clamp(2rem, 3.6vw, 3.1rem); }

.display .accent,
.accent {
  font-style: italic;
  color: var(--accent);
}

.hero .accent { color: var(--accent-light); }

/* The poster sets every small line in letterspaced red caps. */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.92); }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.7rem);
  line-height: 1.42;
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}

.prose p { margin: 0 0 1.25rem; max-width: 62ch; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 2.75rem 0 1rem;
}
.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 2rem 0 0.6rem;
}
.prose a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent); }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.25rem; max-width: 62ch; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { font-weight: 600; }

/* -------------------------------------------------------------- shell --- */

.masthead__inner,
.screening-bar__inner,
.about__inner,
.trailer-section__inner,
.screenings__inner,
.signup__inner,
.footer__inner,
.sheet {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------ masthead -- */

.masthead {
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.1rem, 2vw, 1.6rem);
}

.wordmark {
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
}

/* The poster sets the name in heavy red caps; this is the quiet version. */
.wordmark__name {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.wordmark__sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.97rem;
}

.nav__list a {
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
}
.nav__list a:hover { border-bottom-color: var(--ink); }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: min(86vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  z-index: -2;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(16, 22, 17, 0.88) 0%,
      rgba(16, 22, 17, 0.68) 32%,
      rgba(16, 22, 17, 0.22) 64%,
      rgba(16, 22, 17, 0.34) 100%);
}

.hero__inner {
  max-width: var(--measure);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(4rem, 10vw, 7rem);
  color: #fff;
}

.hero .display--xl { max-width: 13ch; }

.hero__body {
  max-width: 34ch;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

/* The poster's one solid colour: red blocks with the stock knocked out. */
.btn--solid {
  --btn-bg: var(--red);
  --btn-fg: #fff;
}
.btn--solid:hover { --btn-bg: var(--red-deep); }

.btn--paper {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}
.btn--paper:hover { --btn-bg: #fff; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.arrow { font-size: 0.9em; line-height: 1; }
.arrow--play { font-size: 1em; }

.link-underline {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.35rem;
  white-space: nowrap;
}
.link-underline:hover { border-bottom-color: currentColor; }

.link-underline--light {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------ screening bar --- */

.screening-bar { background: var(--sage); }

.screening-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 3.5vw, 2.75rem);
}

.screening-bar__date { text-align: center; margin: 0; }

.screening-bar__day {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.screening-bar__month {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

.screening-bar__body {
  border-left: 1px solid var(--sage-deep);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.screening-bar__body .eyebrow { margin-bottom: 0.7rem; }

.screening-bar__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}
.screening-bar__title a { text-decoration: none; }
.screening-bar__title a:hover { color: var(--accent); }

.screening-bar__detail {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- about -- */

.about { padding-block: var(--section-y) 0; }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about__head .display { max-width: 11ch; }

.about__body .prose p:last-child { margin-bottom: 1.75rem; }

.about__figure {
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  max-width: var(--measure);
  padding-inline: var(--gutter);
}

.about__figure img { width: 100%; }

/* ------------------------------------------------------------- trailer -- */

.trailer-section { padding-block: var(--section-y); }

.trailer-section .display { margin-bottom: clamp(2rem, 4vw, 3rem); }

.trailer { position: relative; }

.trailer__facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: #7d8274;
  background-size: cover;
  /* Biased off-centre so the play button doesn't land on the riders. */
  background-position: 36% center;
  color: var(--paper);
  overflow: hidden;
}

.trailer__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 17, 0.12) 0%, rgba(16, 22, 17, 0.42) 100%);
  transition: background-color 200ms ease;
}

.trailer__facade:hover::after { background: rgba(16, 22, 17, 0.18); }

.trailer__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: clamp(72px, 9vw, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: scale 200ms ease, background-color 200ms ease;
}

.trailer__facade:hover .trailer__play { scale: 1.06; background: #fff; }

.trailer__play svg { translate: 2px 0; }

.trailer__label {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  translate: -50% 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.trailer iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.trailer__note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- screenings -- */

.screenings {
  background: var(--sage);
  padding-block: var(--section-y);
}

.screenings .display { margin-bottom: clamp(2rem, 4vw, 3rem); }

.screening-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sage-deep);
}

.screening {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--sage-deep);
}

.screening__date { margin: 0; text-align: center; }

.screening__day {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.screening__month {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.screening__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
}
.screening__title a { text-decoration: none; }
.screening__title a:hover { color: var(--accent); }

.screening__detail,
.screening__standfirst {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.screening__standfirst { margin-top: 0.35rem; }

.screening__badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  padding: 0.4rem 0.75rem;
}

.screening--past { opacity: 0.72; }

.screenings__empty { max-width: 44ch; }

.screenings__host {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: var(--ink-soft);
}

.past-screenings { margin-top: clamp(2rem, 4vw, 3rem); }

.past-screenings summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.screening-list--past { margin-top: 1.5rem; }

/* -------------------------------------------------------------- signup -- */

.signup {
  background: var(--sage);
  padding-block: var(--section-y);
}

/* When the screenings section sits directly above, don't double the band. */
.screenings + .signup { padding-top: 0; }

.signup__image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.signup__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.signup__intro .display { margin-bottom: 1.5rem; max-width: 12ch; }
.signup__intro .lede { max-width: 32ch; font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; }

.field { margin-bottom: 1.1rem; }

.field__label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.field__input {
  width: 100%;
  background: var(--paper-raise);
  border: 1px solid var(--rule);
  padding: 1rem 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}

.field__input::placeholder { color: #8c8a79; }
.field__input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }

textarea.field__input {
  min-height: 9rem;
  line-height: 1.6;
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.consent input {
  margin: 0.25rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ink);
}

.signup__submit { margin-bottom: 0.9rem; }

.signup__smallprint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.notice {
  border-left: 3px solid var(--accent);
  padding: 0.85rem 0 0.85rem 1rem;
  margin: 1.5rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.35);
}

.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

.form-error {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--red-deep);
}

/* -------------------------------------------------------- enquiry form -- */

.enquiry {
  max-width: 34rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}

.enquiry__form { margin-top: 1.75rem; }

.enquiry__alt {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------- email reveal -- */
/* Styled to sit inline in a sentence rather than look like a form control. */

.email-reveal {
  font: inherit;
  color: var(--accent);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0;
  cursor: pointer;
}

.email-reveal:hover { color: var(--ink); border-bottom-color: var(--ink); }

.email-address {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

/* ---------------------------------------------------- inner page sheet -- */

.inner .hero { display: none; }

.sheet { padding-block: clamp(3.5rem, 8vw, 7rem); }

.sheet__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sheet__head .display { margin-bottom: 1.5rem; max-width: 18ch; }
.sheet__head .lede { max-width: 40ch; }

.factbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
  border-block: 1px solid var(--rule);
}

.factbox dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.factbox dd { margin: 0; }
.factbox__sub { color: var(--ink-soft); font-size: 0.95rem; }

.sheet__back { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.footer__brand .wordmark__name { margin-bottom: 1rem; }

.footer__contact {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.3rem;
}
.footer__contact:hover { border-bottom-color: var(--ink); }

.footer__tagline { margin: 0 0 1.5rem; }

.footer__credits,
.footer__legal {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer__credits a,
.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 960px) {
  .about__inner,
  .signup__cols,
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__head .display,
  .signup__intro .display { max-width: none; }

  .screening-bar__inner {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 1.75rem;
  }
  .screening-bar__cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: 0;
    padding: 0.5rem 0;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .nav-toggle__bar {
    width: 22px;
    height: 1px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }
  .nav-toggle__bar::before { top: -6px; }
  .nav-toggle__bar::after { top: 6px; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    padding-block: 1.5rem 0.5rem;
  }
  .nav.is-open { display: flex; }

  .masthead__inner { flex-wrap: wrap; }

  .nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .hero { min-height: auto; }
  .hero__inner { padding-block: clamp(5rem, 18vw, 8rem); }
  .hero .display--xl { max-width: none; }

  .screening-bar__inner { grid-template-columns: minmax(0, 1fr); }
  .screening-bar__date { display: flex; align-items: baseline; gap: 0.75rem; text-align: left; }
  .screening-bar__month { margin-top: 0; }
  .screening-bar__body { border-left: 0; padding-left: 0; }

  .screening {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }
  .screening__date { display: flex; align-items: baseline; gap: 0.6rem; text-align: left; }
  .screening__day { font-size: 1.8rem; }
  .screening__month { margin-top: 0; }
  .screening__action { justify-self: start; }

  .signup__image { max-height: 240px; }
}
