/* GameChanger site updates: transparency, Hope Ranch, and film stories. */

.transparency-footer {
  padding-block: var(--s-3);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.transparency-footer__inner {
  display: grid;
  gap: var(--s-2);
  align-items: center;
}

.transparency-footer__kicker {
  display: block;
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.transparency-footer h2 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.transparency-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.transparency-footer__links a {
  color: var(--green-deep);
  font-size: .875rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.transparency-footer__links span {
  color: var(--slate);
  font-size: .75rem;
  font-weight: 600;
}

@media (min-width: 760px) {
  .transparency-footer__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .transparency-footer__links { justify-content: flex-end; }
}

.section-heading {
  display: grid;
  gap: var(--s-3);
  align-items: end;
  margin-bottom: var(--s-5);
}

.section-heading p {
  max-width: 48ch;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (min-width: 820px) {
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); }
}

.video-grid {
  display: grid;
  gap: var(--s-3);
}

@media (min-width: 720px) {
  .video-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid--library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.video-card {
  min-width: 0;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.video-card__media {
  position: relative;
  width: calc(100% + var(--s-4) + var(--s-4));
  aspect-ratio: 16 / 9;
  margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-3);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
}

.video-card__media img,
.film-feature__poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.video-card__media::after,
.film-feature__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 13, 24, .82));
  pointer-events: none;
}

.video-card__media:hover img,
.film-feature__poster:hover img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.video-card__media:focus-visible,
.film-feature__poster:focus-visible {
  outline: 4px solid var(--green-bright);
  outline-offset: 3px;
}

.video-card__watch {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-card__play {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(0, 176, 115, .92);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
}

.video-card__play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.video-card--collection {
  justify-content: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 176, 115, .16), transparent 34%),
    var(--white);
}

.video-card:nth-child(3n + 2) { background: var(--green-soft); }
.video-card:nth-child(3n + 3) { background: var(--paper); }

.video-card__type {
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-card h3 {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.18;
}

.video-card p {
  margin-top: var(--s-2);
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.5;
}

.video-card > a:not(.video-card__media) {
  margin-top: auto;
  padding-top: var(--s-3);
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.section-action { margin-top: var(--s-4); }

.film-feature {
  display: grid;
  gap: var(--s-4);
  align-items: center;
}

.film-feature__copy .kicker { color: var(--green-bright); }
.film-feature__copy .display-2 { margin-top: var(--s-1); color: var(--paper); }
.film-feature__copy p { max-width: 52ch; margin-top: var(--s-2); color: var(--paper); opacity: .84; }

.film-feature__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  background: #05080c;
  box-shadow: var(--shadow-elevated);
}

.film-feature__poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #05080c;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
}

body.video-modal-open { overflow: hidden; }

.video-modal[hidden] { display: none; }

.video-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 44px);
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 13, 24, .88);
  backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: 100%;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}

.video-modal__head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 10px 12px 10px 20px;
}

.video-modal__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.2;
}

.video-modal__close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font: 400 1.6rem/1 var(--font-body);
  cursor: pointer;
}

.video-modal__close:hover { background: rgba(255, 255, 255, .12); }
.video-modal__close:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }

.video-modal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-modal__external {
  display: block;
  width: fit-content;
  margin: 12px 18px 16px auto;
  color: var(--green-bright);
  font-weight: 700;
}

.video-modal__external:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }

@media (min-width: 900px) {
  .film-feature { grid-template-columns: minmax(240px, .58fr) minmax(0, 1fr); }
}

/* Shared inner-page shell. */
.inner-hero {
  padding-block: var(--s-6);
  background: var(--paper);
}

.inner-hero__grid {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .inner-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); }
}

.inner-hero__copy .display-1 {
  max-width: 12ch;
  margin: var(--s-1) 0 var(--s-3);
}

.inner-hero__copy .lede { max-width: 58ch; }

.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.inner-hero__media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-elevated);
}

.inner-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.inner-hero__media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: var(--s-5) var(--s-3) var(--s-3);
  background: linear-gradient(to top, rgba(14,27,42,.9), rgba(14,27,42,0));
  color: var(--white);
  font-weight: 700;
}

.campaign-note {
  padding: 12px 16px;
  border-left: 4px solid var(--green-deep);
  background: var(--green-soft);
  color: var(--slate);
  font-size: .9375rem;
  line-height: 1.45;
}

.campaign-note strong { color: var(--ink); }

.benefit-grid,
.use-grid,
.campaign-stats {
  display: grid;
  gap: var(--s-3);
}

@media (min-width: 720px) {
  .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .campaign-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.benefit-card,
.use-card,
.campaign-stat {
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.benefit-card h3,
.use-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.benefit-card p,
.use-card p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.5;
}

.campaign-stat__number {
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.campaign-stat p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.45;
}

.campaign-split {
  display: grid;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 860px) {
  .campaign-split { grid-template-columns: minmax(0, 1fr) minmax(310px, .65fr); }
}

.campaign-copy p + p { margin-top: var(--s-3); }

.qr-card {
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.qr-card img {
  width: min(100%, 260px);
  margin: 0 auto var(--s-2);
}

.qr-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.qr-card p {
  margin-top: 8px;
  color: var(--slate);
  font-size: .9375rem;
  line-height: 1.45;
}

.campaign-contact {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--paper);
}

.campaign-contact .kicker { color: var(--green-bright); }
.campaign-contact .display-2 { color: var(--paper); }
.campaign-contact p { max-width: 58ch; margin-top: var(--s-2); }
.campaign-contact .inner-hero__actions { margin-top: var(--s-4); }
.campaign-contact .btn--quiet { color: var(--green-bright); }

.simple-footer {
  padding-block: var(--s-5);
  background: var(--navy);
  color: var(--paper);
}

.simple-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.simple-footer img { height: 32px; width: auto; }
.simple-footer p { font-size: .9rem; opacity: .84; }
.simple-footer a { color: var(--green-bright); }

@media (max-width: 560px) {
  .video-card { min-height: 230px; }
  .video-modal { padding: 8px; }
  .video-modal__dialog { border-radius: var(--r-md); }
  .inner-hero { padding-block: var(--s-5); }
  .campaign-contact { padding: var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  .video-card__media img,
  .film-feature__poster img { transition: none; }
}
