/*
Theme Name: Vote for Leisure
Theme URI: https://voteforleisure.com
Author: CT Season Pass
Description: Custom theme for Vote for Leisure
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: voteforleisure
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-blue:      #3e54af;
  --color-pink:      #ff9792;
  --color-pink-dark: #eb837e;
  --color-blush:     #fff5f4;
  --color-ink:       #2b2b2b;
  --color-dark:      #111928;
  --color-gray:      #58595b;
  --color-line:      #dddddd;
  --color-white:     #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Jost', sans-serif;
  --font-serif:   'playfair-display', 'Playfair Display', serif;
  --font-emoji:   'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;

  /* Futura PT weights */
  --fw-book:   400;
  --fw-medium: 500;
  --fw-heavy:  700;
  --fw-bold:   800;
  --fw-xbold:  900;

  --container: 1170px;
  --gutter:    24px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: var(--fw-book);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
cite { font-style: normal; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ── Typography primitives ─────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-heavy);
  font-size: 18px;
  line-height: 26px;
  color: var(--color-pink);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.8;
  color: var(--color-blue);
  text-transform: capitalize;
}
.display--xl { font-size: 96px; }
.display--lg { font-size: 64px; }

.section-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.section-head--center { align-items: center; text-align: center; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: var(--fw-heavy);
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--color-pink); color: #000; }
.btn-pink:hover { background: var(--color-pink-dark); }

/* ── Scroll reveal ─────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: relative;
  z-index: 50;
  background: var(--color-white);
  height: 90px;
}
.header-inner {
  height: 100%;
  padding: 0 78px; /* same inset as the hero copy, at every width */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo { display: block; text-decoration: none; }
.site-logo--image img { height: 40px; width: auto; }
.site-logo--default { flex-shrink: 0; }
.site-logo--default img { width: 246px; height: 40px; }

.site-nav { display: flex; align-items: center; gap: 52px; }
.site-nav a {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 16px;
  line-height: 24px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:not(.nav-pass):hover { color: var(--color-blue); }
.site-nav a.nav-pass {
  background: var(--color-pink);
  padding: 8px 24px;
  border-radius: 5px;
  font-weight: var(--fw-bold);
  transition: background-color .2s ease;
}
.site-nav a.nav-pass:hover { background: var(--color-pink-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  transition: transform .25s ease, opacity .25s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.hero__left {
  background: var(--color-white);
  display: flex;
  align-items: center;
  padding: 40px 42px 40px 78px;
}
.hero__content { display: flex; flex-direction: column; gap: 22px; max-width: 600px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  color: var(--color-blue);
}
.hero__title .sup { font-size: 0.645em; text-transform: uppercase; }
.hero__desc { font-size: 24px; line-height: 1.5; color: var(--color-ink); }

.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--color-blue);
}
.hero__right--empty { background: linear-gradient(135deg, var(--color-blue), var(--color-pink)); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  transition: transform .25s ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.05); }
.play-btn:focus-visible { outline: 3px solid var(--color-white); outline-offset: 4px; }
.play-btn__ring, .play-btn__icon { position: absolute; max-width: none; }
.play-btn__ring { top: 50%; left: 50%; transform: translate(-50%, -50%); }
/* Triangle points up in the asset; rotated to point right as in the design */
.play-btn__icon { left: 81.18px; top: 78.38px; transform: rotate(90deg); }

/* Video lightbox */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 20, .88);
}
.video-modal[hidden] { display: none; }
.video-modal__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.video-modal__frame video,
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--color-white);
  font-size: 40px;
  line-height: 1;
}

/* ============================================================
   SATIRE BAR
   ============================================================ */
.satire-bar { background: var(--color-pink); padding: 20px 0; }
.satire-bar p {
  font-family: var(--font-body);
  font-weight: var(--fw-heavy);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink);
  text-align: center;
  text-transform: uppercase;
}
.satire-bar u { font-weight: var(--fw-xbold); text-underline-offset: 2px; }

/* ============================================================
   ISSUES
   ============================================================ */
.section-issues { background: var(--color-blue); padding: 108px 0; }
.issues { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.issues__photo { flex: 0 0 537px; }
.issues__photo img { width: 537px; height: 594px; object-fit: cover; }
.issues__content { display: flex; flex-direction: column; gap: 34px; max-width: 511px; }
.issues__content .display { color: var(--color-white); max-width: 500px; }
.issues__list { display: flex; flex-direction: column; gap: 30px; }
.issue { display: flex; gap: 18px; align-items: flex-start; }
.issue__num,
.issue__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-style: italic;
  font-size: 36px;
  line-height: 28px;
  color: var(--color-pink);
  white-space: nowrap;
}
.issue__text { display: flex; flex-direction: column; gap: 15px; max-width: 453px; }
.issue__text p { font-size: 16px; line-height: 1.5; color: var(--color-white); }

/* ============================================================
   SOLUTIONS (CTA)
   ============================================================ */
.section-cta { background: var(--color-blue); padding: 70px 0; }
.cta-card {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 12px;
  padding: 44px 70px;
}
.cta-card__content { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; max-width: 600px; position: relative; z-index: 1; }
.cta-card .section-head { gap: 20px; }
.cta-card__body { font-size: 18px; line-height: 1.5; color: var(--color-gray); }
.cta-card__media { position: absolute; right: 0; bottom: 0; width: 495px; }
.cta-card__media img { width: 100%; height: auto; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.section-creds { background: var(--color-white); padding: 120px 0; }
.section-creds .container { display: flex; flex-direction: column; gap: 60px; }
.creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 35px;
}
.creds li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 32px;
  line-height: 38px;
  color: #000;
}
.creds__check { font-family: var(--font-emoji); flex-shrink: 0; }

/* ============================================================
   PROMISES
   ============================================================ */
.section-promises { background: var(--color-blush); padding: 100px 0; }
.section-promises .container { display: flex; flex-direction: column; gap: 60px; align-items: center; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; width: 100%; }
.promise {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 276px;
  padding: 45px 32px;
  background: rgba(255, 151, 146, .1);
  border: 1px solid var(--color-pink);
  border-radius: 12px;
  text-align: center;
  color: var(--color-ink);
}
.promise__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56.887px;
  height: 52px;
  margin-bottom: 20px;
}
.promise__icon img { max-width: 100%; max-height: 100%; }
.promise__title { font-weight: var(--fw-bold); font-size: 24px; line-height: 30px; margin-bottom: 14px; }
.promise__body { font-size: 16px; line-height: 24px; }

/* ============================================================
   QUOTE
   ============================================================ */
.section-quote { background: var(--color-blue); padding: 70px 0; }
.quote { display: flex; align-items: center; gap: 60px; }
.quote__photo { flex: 0 0 170px; width: 170px; height: 170px; border-radius: 50%; object-fit: cover; }
.quote__body { display: flex; flex-direction: column; gap: 24px; color: var(--color-white); }
.quote__text {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.8;
  text-indent: -0.45em; /* hang the opening quote mark */
}
.quote__author { font-family: var(--font-body); font-weight: var(--fw-heavy); font-size: 24px; line-height: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--color-white); color: var(--color-dark); }
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 69px 0 31px;
  text-align: center;
}
.footer-heading { font-weight: var(--fw-medium); font-size: 32px; line-height: 45px; max-width: 570px; }
.footer-heading strong { font-weight: var(--fw-bold); }
.footer-disclaimer { font-size: 18px; line-height: 26px; margin-bottom: 26px; }
.footer-disclaimer strong { font-weight: var(--fw-heavy); }
.footer-line { width: 100%; height: 1px; }
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 189px;
  min-height: 110px;
  padding: 20px 0;
}
.footer-logo img { width: 213px; height: 22px; object-fit: contain; }
.footer-copy { font-size: 16px; line-height: 24px; color: var(--color-gray); text-align: center; }
.footer-social { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--color-gray); }
.footer-social__icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; }
.footer-social__handle { font-weight: var(--fw-bold); font-size: 16px; line-height: 24px; }
.footer-social:hover .footer-social__handle { color: var(--color-blue); }

/* ============================================================
   GENERIC PAGES
   ============================================================ */
.page-hero { background: var(--color-blue); padding: 80px 0 60px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: .9; color: var(--color-white); }
.section { padding: 60px 0 100px; }
.entry-content { font-size: 18px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--color-blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1360px) {
  .footer-bottom { gap: 24px; justify-content: space-between; }
}

@media (max-width: 1200px) {
  .header-inner { padding: 0 var(--gutter); }
  .site-nav { gap: 32px; }
  .hero__left { padding-left: var(--gutter); }
  .hero__title, .display--xl, .quote__text { font-size: 80px; }
  .issues__photo { flex-basis: 44%; }
  .issues__photo img { width: 100%; height: auto; aspect-ratio: 537 / 594; }
  .cta-card { padding-right: 460px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--gutter) 32px;
    background: var(--color-white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    display: none;
  }
  .site-nav.open { display: flex; }

  .hero { grid-template-columns: 1fr; }
  .hero__left { padding: 56px var(--gutter); }
  .hero__right { min-height: 420px; }
  .hero__title, .display--xl, .quote__text { font-size: 64px; }
  .hero__desc { font-size: 20px; }

  .section-issues { padding: 72px 0; }
  .issues { flex-direction: column; align-items: flex-start; gap: 48px; }
  .issues__photo { flex-basis: auto; width: 100%; max-width: 537px; }

  .cta-card { padding: 40px 32px 0; min-height: 0; display: flex; flex-direction: column; gap: 40px; }
  .cta-card__media { position: relative; right: auto; bottom: auto; align-self: center; width: min(495px, 100%); }

  .section-creds { padding: 80px 0; }
  .section-promises { padding: 80px 0; }
  .promises { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .promise { min-height: 0; }

  .footer-bottom { flex-direction: column; gap: 16px; padding: 28px 0; }
}

/* Mobile — matches the LP-MOBILE design (393px frame) */
@media (max-width: 640px) {
  :root { --gutter: 16px; }

  /* Header: centered logo only */
  .header-inner { justify-content: center; padding: 0 var(--gutter); }
  .site-logo--default img { width: 165px; height: 26.829px; }
  .menu-toggle, .site-nav { display: none !important; }

  /* Hero: centered copy above a full-width video panel */
  .hero { gap: 40px; min-height: 0; }
  .hero__left { padding: 0 var(--gutter); }
  .hero__content { max-width: none; text-align: center; }
  .hero__title { font-size: 64px; line-height: 1; }
  .hero__desc { font-size: 16px; line-height: 1.5; }
  .hero__right { min-height: 600px; }
  .play-btn { top: 56.67%; }

  .satire-bar { padding: 20px 0; }
  .satire-bar p { font-size: 14px; }

  /* Issues: copy first, photo below */
  .section-issues { padding: 40px 0 10px; }
  .issues { gap: 40px; }
  .issues__photo { order: 2; max-width: none; }
  .issues__content { max-width: none; }
  .issues__content .display { font-size: 64px; max-width: none; }
  .issue__text { flex: 1; max-width: none; }

  /* Solutions card */
  .section-cta { padding: 10px 0 20px; }
  .cta-card { padding: 44px 15px 0; gap: 39px; align-items: center; }
  .cta-card__content { align-items: center; text-align: center; max-width: none; }
  .cta-card .section-head { align-items: center; }
  .cta-card .display--lg { font-size: 40px; line-height: 1; }
  .cta-card__body { line-height: 26px; }
  .cta-card__media { width: 100%; }

  /* Credentials */
  .section-creds { padding: 60px 0; }
  .section-creds .section-head { align-items: center; text-align: center; gap: 8px; }
  .display--lg { font-size: 64px; }
  .creds { grid-template-columns: 1fr; row-gap: 14px; }
  .creds li { font-size: 20px; line-height: 38px; }

  /* Promises */
  .section-promises { padding: 60px 0; }
  .section-promises .section-head { gap: 8px; }
  .promises { gap: 30px; max-width: none; }
  .promise { min-height: 264px; }
  .promise__icon { width: 50px; height: 50px; }

  /* Quote: stacked and centered */
  .section-quote { padding: 50px 0; }
  .quote { flex-direction: column; gap: 17px; text-align: center; }
  .quote__photo { flex-basis: auto; width: 133px; height: 134px; }
  .quote__body { align-items: center; }
  .quote__text { font-size: 64px; line-height: .9; text-indent: 0; }

  /* Footer */
  .footer-top { padding: 60px 0 58px; }
  .footer-heading { max-width: 280px; }  /* wraps after "by", as in the design */
  .footer-bottom { gap: 27px; padding: 42px 0 34px; }
  .footer-copy { order: 3; }
}
