/* ===========================================================
   Jesus Texts — site styles
   =========================================================== */

@font-face {
  font-family: "OptimaLTPro-Bold";
  src: url("../assets/fonts/OptimaLTPro-Bold.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OptimaLTPro-Roman";
  src: url("../assets/fonts/OptimaLTPro-Roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ColonnaMTStd";
  src: url("../assets/fonts/ColonnaMTStd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AvenirLTPro-Book";
  src: url("../assets/fonts/AvenirLTPro-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color_1: rgba(26, 27, 31, 1);
  --color_2: rgba(45, 46, 50, 1);
  --color_3: rgba(255, 255, 255, 1);
  --color_4: rgba(236, 236, 236, 1);
  --color_5: rgba(147, 147, 147, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
}

html { background: var(--color_1); }

body {
  background: var(--color_1);
  color: var(--color_3);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { margin: 0; }

a { text-decoration: none; }

/* ===========================================================
   HERO — full-screen video
   =========================================================== */

.hero {
  position: relative;
  width: 100%;
  /* Fill the whole device screen. svh keeps content safe while browser
     chrome is visible; the video layer below uses lvh so it still covers
     the screen once the chrome retracts. */
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100lvh;
  min-height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__stack {
  position: relative;
  width: 100%;
  /* Sit a little below dead centre. Transform, so it does not disturb the
     internal spacing or the flex centring above it. */
  transform: translateY(var(--hero-drop, 5vh));
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 0;
}

/* ---- text blocks ---------------------------------------- */

.hero__title-block { padding: 48px 0 33px; }

.hero__title {
  margin: 0;
  font-family: "OptimaLTPro-Bold", Georgia, serif;
  font-weight: normal;
  font-size: 115px;
  line-height: 0.7;
  text-align: center;
  color: var(--color_3);
}

.hero__tagline-block { margin-bottom: 50px; }

.hero__tagline {
  font-family: "ColonnaMTStd", Georgia, serif;
  font-weight: normal;
  font-size: 90px;
  line-height: 0.7;
  text-align: center;
  color: rgb(255, 255, 255);
}

.hero__cta-block {
  /* Trailing space trimmed from the original's 121px so the block of copy
     sits centred in the viewport rather than ~50px above it. */
  padding: 48px 0 21px;
  align-self: center;
  width: 100%;
}

.hero__cta {
  display: block;
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-weight: normal;
  font-size: 60px;
  line-height: 1.5;
  text-align: center;
  color: var(--color_3);
}

.hero__cta-note {
  display: block;
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.5;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: var(--color_1) 0px 0px 15px;
  margin-top: 4px;
}

/* ---- entrance fades -------------------------------------
   Timings mirror the original site exactly:
     title    -> 1.15s delay, 0.45s duration
     tagline  -> 10s delay,   8s duration
     sign-up  -> 10s delay,   8s duration

   The clock does not start on page load. js/hero.js adds
   .is-video-playing once the video actually begins playing, and
   only then do these animations exist — so on a slow phone the
   copy waits for the video instead of fading in over a poster.
   --------------------------------------------------------- */

@keyframes jtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.jt-fade {
  opacity: 0;
  visibility: visible;
  will-change: opacity;
}

.hero.is-video-playing .jt-fade--title {
  animation: jtFadeIn 0.45s ease 1.15s forwards;
}

.hero.is-video-playing .jt-fade--tagline,
.hero.is-video-playing .jt-fade--cta {
  animation: jtFadeIn 8s ease 10s forwards;
}

/* ===========================================================
   Responsive — matches the original breakpoints/sizes
   =========================================================== */

/* tablet */
@media (max-width: 1024px) {
  .hero__title   { font-size: 60px; }
  .hero__tagline { font-size: 60px; }
  .hero__cta     { font-size: 51px; }
  .hero__cta-note { font-size: 34px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero__title-block { padding: 134px 0 57px; }
  .hero__cta-block   { padding: 46px 0 119px; }
}

/* mobile */
@media (max-width: 767px) {
  body { font-size: 15px; }

  .hero__inner { padding: 0 15px; }
  .hero__stack { padding: 0; row-gap: 20px; }

  .hero__title-block { padding: 38px 0 20px; }
  .hero__cta-block  { padding: 45px 0 22px; }
  .hero__cta-note   { margin-top: 3px; }

  .hero__title    { font-size: 50px; }
  .hero__tagline  { font-size: 40px; }
  .hero__cta      { font-size: 40px; }
  .hero__cta-note { font-size: 32px; }
}

/* ===========================================================
   Interior pages
   =========================================================== */

.page {
  min-height: 100vh;
  background: var(--color_1);
  display: flex;
  flex-direction: column;
}

.page__nav {
  padding: 26px 24px;
  text-align: center;
}

.page__nav a {
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--color_4);
  margin: 0 14px;
  line-height: 2;
  display: inline-block;
}

.page__nav a:hover { color: var(--color_3); }

.page__nav .page__brand {
  display: block;
  font-family: "OptimaLTPro-Bold", Georgia, serif;
  font-size: 34px;
  letter-spacing: 0.02em;
  color: var(--color_3);
  margin: 0 0 10px;
}

.page__main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.page__title {
  font-family: "ColonnaMTStd", Georgia, serif;
  font-size: 64px;
  line-height: 1.1;
  text-align: center;
  color: var(--color_3);
  margin: 0 0 34px;
}

.page__lead,
.page__body p {
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color_4);
  margin: 0 0 22px;
}

.page__lead {
  font-size: 30px;
  line-height: 1.45;
  text-align: center;
  color: var(--color_3);
}

.page__body strong { color: var(--color_3); }

.page__body a { color: var(--color_3); text-decoration: underline; }

.page__note {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 0 0 34px;
  background: rgba(255, 255, 255, 0.04);
}

.page__note p { font-size: 19px; }
.page__note p:last-child { margin-bottom: 0; }

.page__foot {
  padding: 0 24px 50px;
  text-align: center;
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-size: 15px;
  color: var(--color_5);
}

.page__foot a { color: var(--color_5); }

/* ---- testimonials --------------------------------------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.quote {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.quote p {
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color_4);
  margin: 0;
}

@media (max-width: 767px) {
  .page__title { font-size: 42px; }
  .page__lead { font-size: 23px; }
  .page__body p { font-size: 19px; }
  .page__nav .page__brand { font-size: 28px; }
  .page__nav a { font-size: 17px; margin: 0 9px; }
}

.page__subtitle {
  font-family: "ColonnaMTStd", Georgia, serif;
  font-size: 40px;
  font-weight: normal;
  text-align: center;
  color: var(--color_3);
  margin: 54px 0 22px;
}

.quote blockquote { margin: 0; }

.quote figcaption {
  margin-top: 14px;
  font-family: "OptimaLTPro-Roman", Georgia, serif;
  font-size: 17px;
  color: var(--color_5);
}

@media (max-width: 767px) {
  .page__subtitle { font-size: 30px; }
}


/* ===========================================================
   SIGN-UP PAGE (/contact)
   Rebuilt from the live page's measured layout: a rounded card
   over its own background video, 25% dark scrim, centred column
   of heading -> note -> form.
   =========================================================== */

.signup-body {
  background: #000;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.signup { padding: 4% 6%; background: #000; }

.signup__card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: var(--color_4);
  padding: 6% 3% 3%;
}

.signup__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.signup__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 0;
  pointer-events: none;
}

.signup__scrim {
  position: absolute;
  inset: 0;
  background: var(--color_1);
  opacity: 0.25;
  z-index: 1;
}

.signup__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}

/* ---- heading -------------------------------------------- */

.signup__heading {
  width: 100%;
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: var(--color_3);
}

/* ---- note ----------------------------------------------- */

.signup__note {
  width: 100%;
  max-width: 80.4%;
}

.signup__note p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: var(--color_3);
}

.signup__note strong { font-weight: 700; }

/* On the original the lead sentence exactly fills the note width and so sits
   on its own line. Made a block here so it holds that line regardless of
   small font-metric differences. */
.signup__note-lead {
  display: block;
  font-size: 24px;
}

.signup__note-gap { font-size: 16px; }

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

.signup__form-wrap {
  width: 100%;
  max-width: 615px;
}

.jtform { padding: 15px 0; }

.jtform__row {
  margin: 20px 0 0;
  padding: 0 15px;
}

.jtform__label {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--color_3);
}

.jtform__input {
  display: inline-block;
  width: 100%;
  height: 30px;
  margin: 3px 0;
  padding: 0 10px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  color: var(--color_3);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color_3);
  border-radius: 0;
  outline-offset: 3px;
}

.jtform__input::placeholder {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

/* iOS zooms the page when a focused field is under 16px — it is 18px here,
   so no zoom, but keep the appearance reset for consistent rendering. */
.jtform__input { -webkit-appearance: none; appearance: none; }

.jtform__choices {
  display: flex;
  flex-wrap: wrap;
}

.jtform__choice {
  display: flex;
  align-items: center;
  height: 56px;
  /* Trailing space that sets where the group wraps. Sized so "Friend or
     family member" drops to a second row exactly as it does on the original. */
  margin-right: 40px;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color_3);
  cursor: pointer;
}

.jtform__choice > span { margin: 0 15px 0 3px; }

.jtform__choice input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 8px 5.4px 8px 0;
  flex: none;
  cursor: pointer;
}

.jtform__submit-wrap {
  width: 352px;
  max-width: 100%;
  margin: 20px auto;
  padding: 2px;
  background: rgb(235, 80, 80);
  border-radius: 5px;
}

.jtform__submit {
  display: block;
  width: 100%;
  padding: 10px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  color: var(--color_3);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.jtform__submit-wrap:hover { background: rgb(221, 66, 66); }

.jtform__status {
  margin: 14px 15px 0;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  text-align: center;
  color: var(--color_3);
}

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

@media (max-width: 1024px) {
  .signup { padding: 30px 15px; }

  .signup__heading   { font-size: 30px; }
  .signup__note      { max-width: 75.5%; }
  .signup__note p    { font-size: 16px; }
  .signup__note-lead { font-size: 20px; }
  .signup__note-gap  { font-size: 16px; }

  .signup__form-wrap { max-width: 646px; }

  .jtform__input { font-size: 16px; }

  .jtform__submit-wrap { width: 320px; }
}

@media (max-width: 767px) {
  .signup { padding: 30px 15px; }

  .signup__card { padding: 12% 0 4%; }

  .signup__content { row-gap: 4px; }

  .signup__heading   { font-size: 25px; }
  .signup__note      { max-width: 100%; }
  .signup__note p    { font-size: 16px; }
  .signup__note-lead { font-size: 19px; }

  .signup__form-wrap { max-width: 93.6%; }

  .jtform__input { font-size: 16px; }

  /* Narrower trailing gap so the first two options still share a row in the
     323px card, as they do on the original. */
  .jtform__choice { margin-right: 24px; }

  .jtform__submit-wrap { max-width: 93.5%; }
}

/* ===========================================================
   SITE HEADER — fixed, transparent nav over the hero
   Matches the original: four equal cells, Optima bold, black.
   =========================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 13;
  background: transparent;
}

.site-header__row {
  display: flex;
  padding: 10px 4%;
}

.site-header__item {
  flex: 0 0 25%;
  min-width: 0;
  min-height: 133px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__link {
  font-family: "OptimaLTPro-Bold", Georgia, serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  color: var(--nav-color, #000);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__link:hover { opacity: 0.75; }

@media (max-width: 1024px) {
  .site-header__row  { padding: 10px 2%; }
  .site-header__item { min-height: 109px; }
  .site-header__link { font-size: 30px; }
}

@media (max-width: 767px) {
  .site-header__row  { padding: 6px 2%; }
  .site-header__item { min-height: 78px; }
  .site-header__link { font-size: 26px; }
}

/* White nav, for pages whose top strip is dark.
   Deliberate deviation on the sign-up page: the original draws these links
   in black there too, which lands black-on-black above the card and makes
   the menu invisible. */
.site-header--onDark {
  --nav-color: var(--color_3);
}

.site-header--onDark .site-header__link {
  text-shadow: rgba(0, 0, 0, 0.55) 0 0 12px;
}

/* Smaller nav for the interior pages that are still the placeholder
   rebuild, where there is no hero for a full-size nav to sit over. */
/* Interior pages use a shorter header band, but the same link sizes as the
   home page. */
.site-header--compact .site-header__item { min-height: 0; }


.page { padding-top: 24px; }

@media (max-width: 767px) {
  .page { padding-top: 16px; }
}

/* ===========================================================
   ABOUT + REVIEWS — rebuilt from the live pages
   Both sit on white, use Poppins throughout, and share the
   fixed site header.
   =========================================================== */

.lightpage {
  background: #fff;
  color: var(--color_1);
  font-family: Poppins, sans-serif;
}

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

.about-hero { position: relative; overflow: hidden; }

.about-hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.about-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

/* The original washes the video out with a 70% white veil. */
.about-hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--color_3);
  opacity: 0.7;
  z-index: 1;
}

.about-hero__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  column-gap: 2%;
  row-gap: 12px;
  min-height: 590px;
  padding: 250px 2% 190px;
}

.about-hero__col--a { width: 42.35%; padding: 16px; }
.about-hero__col--b { width: 55.52%; padding: 16px; }

.about-hero__heading {
  margin: 0;
  font-family: "AvenirLTPro-Book", Poppins, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 51px;
  color: var(--color_1);
}

.about-hero__body {
  margin: 0;
  font-family: "AvenirLTPro-Book", Poppins, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  color: var(--color_1);
}

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

.about-body { background: var(--color_4); }

.about-body__row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 4% 2%;
}

.about-body__inner {
  width: 921px;
  max-width: 100%;
  padding: 16px;
  /* The original pins this column to 2080px, leaving grey space below the
     text before the white band. Reproduced. */
  min-height: 2080px;
}

.about-body__inner h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: var(--color_1);
}

.about-body__inner p,
.about-body__inner li {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--color_1);
}

.about-body__inner p { margin: 0; }
.about-body__inner strong { font-weight: 700; }

.about-body__inner ul { margin: 0; padding-left: 22px; }
.about-body__inner li { margin: 0 0 4px; }

.about-body__gap { height: 1em; }

/* ---- bands + footer ------------------------------------- */

.band--white {
  background: var(--color_3);
  border-top: 1px solid var(--color_2);
  height: 224px;
}

.band--coral { background: rgb(235, 80, 80); height: 149px; }

.site-footer { background: var(--color_1); height: 38px; }

/* ---- reviews -------------------------------------------- */

.reviews__head { padding: 2% 6%; }

.reviews__title {
  margin: 0;
  font-size: 65px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--color_1);
}

.reviews__sub {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  color: var(--color_1);
}

.reviews__row {
  display: flex;
  flex-wrap: nowrap;
  column-gap: 2%;
  row-gap: 12px;
  padding: 2% 6%;
}

.reviews__cell { flex: 1 1 0; min-width: 0; padding: 16px; }

.review p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color_1);
}

.review p.review__by {
  font-size: 18px;
  line-height: 27px;
}

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

@media (min-width: 768px) and (max-width: 1024px) {
  .about-hero__row {
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 0;
    row-gap: 5px;
    padding: 10% 4% 6%;
  }
  .about-hero__col--a,
  .about-hero__col--b { width: 100%; }

  .about-hero__heading { font-size: 27px; line-height: 40px; }
  .about-hero__body    { font-size: 20px; }

  .about-body__row { padding: 4% 2%; }

  .reviews__title { font-size: 52px; }
}

@media (max-width: 767px) {
  .about-hero__row {
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 0;
    row-gap: 9px;
    padding: 24% 4% 8%;
  }
  .about-hero__col--a,
  .about-hero__col--b { width: 100%; }

  .about-hero__heading { font-size: 28px; line-height: 42px; }
  .about-hero__body    { font-size: 18px; }

  .about-body__row { padding: 6% 4%; }
  .about-body__inner { width: 100%; }
  .about-body__inner h2 { font-size: 26px; }
  .about-body__inner p,
  .about-body__inner li { font-size: 15px; }

  .band--white { height: 81px; }
  .band--coral { height: 114px; }

  .reviews__row {
    flex-direction: column;
    padding: 2% 4% 12%;
    row-gap: 16px;
  }
  .reviews__cell { width: 100%; padding: 16px; }

  .reviews__title { font-size: 40px; }
  .reviews__sub   { font-size: 35px; line-height: 52.5px; }
}

/* One heading on the original is set to 15px on mobile while the rest are
   26px. Reproduced rather than normalised. */
.about-body__inner h2.about-body__h--sm { font-size: 32px; }

@media (min-width: 768px) and (max-width: 1024px) {
  .about-body__inner h2 { font-size: 27px; }
}

@media (max-width: 767px) {
  .about-body__inner h2.about-body__h--sm { font-size: 15px; }
}

/* "And adults, too…" divider on the reviews page */
.review p.reviews__divider {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: var(--color_1);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-hero__body { line-height: 30px; }
}

@media (max-width: 767px) {
  .about-hero__body { line-height: 27px; }
}

@media (max-width: 1024px) {
  .about-body__inner { min-height: 0; }
}

/* ===========================================================
   VIDEO LIGHTBOX — the "Video" nav item
   =========================================================== */

.vmodal {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 16px;
}

.vmodal[hidden] { display: none; }

.vmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.vmodal__panel {
  position: relative;
  background: var(--color_3);
  border-radius: 8px;
  padding: 8px;
  /* The promo video is 1920x1080, so the panel is sized for landscape.
     A fixed width plus aspect-ratio below keeps the box stable while the
     video is still preload="none" and has no intrinsic size yet. */
  width: min(960px, 92vw);
  max-height: 92vh;
  display: flex;
}

.vmodal__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(92vh - 16px);
  border-radius: 4px;
  background: #000;
}

.vmodal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color_1);
  color: var(--color_3);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vmodal__close:hover { background: rgb(235, 80, 80); }

body.vmodal-open { overflow: hidden; }

/* ---- nav fades in with the hero copy --------------------- */

.site-header--fade { opacity: 0; }

body.is-video-playing .site-header--fade {
  animation: jtFadeIn 8s ease 10s forwards;
}

/* ---- no-JS fallback page for the video ------------------- */

.videopage { background: var(--color_1); }

.videopage__main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.videopage__video {
  display: block;
  width: min(960px, 92vw);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  border-radius: 8px;
  background: #000;
}

/* The header only stays put over the full-screen hero. Everywhere else it
   sits in normal flow at the top of the page, so it takes up its own space
   (no overlap) and scrolls away with the content. */
.site-header--static { position: static; }

/* Below ~360px the four enlarged nav items would collide, so step back down. */
@media (max-width: 359px) {
  .site-header__row  { padding: 6px 1%; }
  .site-header__link { font-size: 21px; }
}

/* Header laid over the page background instead of sitting above it. Used on
   the About page so the hero video runs behind the nav. Still scrolls away —
   absolute, not fixed. */
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
}

/* On short viewports (landscape phones) the copy already fills the screen,
   so skip the downward nudge rather than push it off the bottom. */
@media (max-height: 600px) {
  .hero__stack { --hero-drop: 0px; }
}

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.jtform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
