:root {
  --navy: #153b6c;
  --navy-dark: #0b2443;
  --magenta: #9f4288;
  --magenta-light: #c462aa;
  --white: #ffffff;
  --off-white: #f3f1ed;
  --ink: #10161e;
  --line: rgba(255, 255, 255, 0.2);
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--navy-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, padding 250ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  border-color: var(--line);
  background: rgba(11, 36, 67, 0.94);
  backdrop-filter: blur(12px);
}

.brand img,
.footer-brand img {
  width: 118px;
  height: 64px;
  object-fit: contain;
}

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

.site-nav a {
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta) {
  padding-block: 0.6rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  border-color: var(--magenta-light);
}

.nav-cta {
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--navy-dark);
  background: var(--white);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  padding: 10rem var(--page-pad) clamp(5rem, 10vh, 8rem);
  background: var(--navy-dark);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 48, 0.96) 0%, rgba(8, 26, 48, 0.7) 48%, rgba(8, 26, 48, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 26, 48, 0.88) 0%, rgba(8, 26, 48, 0) 55%),
    url("assets/journeys-of-hope.jpg") center 38% / cover;
  transform: scale(1.02);
  animation: hero-focus 12s ease-out forwards;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: rgba(21, 59, 108, 0.16);
  content: "";
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--magenta-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.8rem, 8.7vw, 8.25rem);
}

.hero h1 span {
  display: block;
  color: var(--magenta-light);
}

.hero-copy {
  max-width: 610px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--magenta);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--magenta-light);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.text-link span {
  color: var(--magenta-light);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i {
  display: block;
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
}

.work {
  max-width: none;
  background: var(--navy);
}

.work > * {
  max-width: var(--max-width);
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5.7vw, 5.6rem);
}

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.film-card-featured {
  grid-column: 1 / -1;
}

.film-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--navy-dark);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.film-card-featured .film-poster {
  aspect-ratio: 2.05 / 1;
}

.film-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 18, 34, 0.54), transparent 55%);
  content: "";
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.film-poster:hover img,
.film-poster:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: clamp(3.5rem, 7vw, 5.5rem);
  place-items: center;
  padding-left: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--white);
  background: rgba(11, 36, 67, 0.55);
  font-size: 0.9rem;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.film-poster:hover .play-button,
.film-poster:focus-visible .play-button {
  background: var(--magenta);
  transform: translate(-50%, -50%) scale(1.08);
}

.runtime {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.film-details {
  display: grid;
  grid-template-columns: 0.45fr 1.4fr auto;
  gap: 1rem;
  align-items: baseline;
  padding-top: 1.2rem;
}

.film-details p,
.film-details h3 {
  margin: 0;
}

.film-details p,
.film-details span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-details h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
}

.film-details span {
  color: var(--magenta-light);
}

.manifesto {
  position: relative;
  display: grid;
  max-width: none;
  min-height: 78vh;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--off-white);
}

.manifesto-number {
  position: absolute;
  right: -0.02em;
  bottom: -0.32em;
  color: rgba(21, 59, 108, 0.06);
  font-family: "Montserrat", sans-serif;
  font-size: min(54vw, 48rem);
  font-weight: 700;
  line-height: 1;
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
}

.manifesto-copy h2 {
  font-size: clamp(3rem, 7vw, 7.1rem);
}

.manifesto-copy h2 span {
  display: block;
  color: var(--navy);
}

.manifesto-copy > p:last-child {
  max-width: 680px;
  margin: 2.5rem 0 0 auto;
  color: rgba(16, 22, 30, 0.68);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.services {
  max-width: none;
  background: var(--navy-dark);
}

.services > * {
  max-width: var(--max-width);
  margin-inline: auto;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list > div {
  display: grid;
  grid-template-columns: 0.15fr 1fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 200ms ease, background 200ms ease;
}

.service-list > div:hover {
  padding-inline: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.service-list span {
  color: var(--magenta-light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.service-list h3,
.service-list p {
  margin: 0;
}

.service-list h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 3.6rem);
  line-height: 1.05;
}

.service-list p {
  color: rgba(255, 255, 255, 0.58);
}

.about {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  color: var(--ink);
  background: var(--white);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.78) contrast(1.04);
}

.about-image span {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--magenta);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 730px;
}

.about-copy h2 {
  color: var(--navy-dark);
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.about-lead {
  margin: 2.2rem 0 1rem;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  color: rgba(16, 22, 30, 0.65);
}

.dark-link {
  margin-top: 1.5rem;
  border-color: rgba(16, 22, 30, 0.35);
}

.contact {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--magenta);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  max-width: 790px;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 570px;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: 2.5rem;
}

.contact-details a,
.contact-details span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--white);
}

.contact-form {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--ink);
  background: var(--white);
}

.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 22, 30, 0.3);
  border-radius: 0;
  outline: none;
  background: transparent;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--magenta);
}

.button-light {
  width: 100%;
  margin-top: 0.5rem;
  color: var(--white);
  background: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--navy-dark);
}

.form-note {
  margin: 0.75rem 0 0;
  color: rgba(16, 22, 30, 0.5);
  font-size: 0.76rem;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem var(--page-pad);
  border-top: 1px solid var(--line);
  background: var(--navy-dark);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.video-modal {
  width: min(1100px, calc(100% - 2rem));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: #000;
}

.video-modal::backdrop {
  background: rgba(4, 12, 23, 0.92);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.video-frame {
  aspect-ratio: 16 / 9;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-focus {
  from { transform: scale(1.09); }
  to { transform: scale(1.02); }
}

@media (max-width: 860px) {
  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem var(--page-pad);
    visibility: hidden;
    background: var(--navy-dark);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .nav-cta {
    margin-top: 1rem;
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
  }

  .hero {
    min-height: 860px;
  }

  .hero-image {
    background:
      linear-gradient(90deg, rgba(8, 26, 48, 0.92), rgba(8, 26, 48, 0.48)),
      linear-gradient(0deg, rgba(8, 26, 48, 0.9) 10%, transparent 70%),
      url("assets/journeys-of-hope.jpg") 62% center / cover;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .film-details {
    grid-template-columns: 1fr auto;
  }

  .film-details p {
    grid-column: 1 / -1;
  }

  .service-list > div {
    grid-template-columns: 0.15fr 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .about {
    grid-template-columns: 0.8fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .brand img,
  .footer-brand img {
    width: 92px;
    height: 52px;
  }

  .hero {
    min-height: 760px;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .section-heading {
    gap: 1.5rem;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-card-featured {
    grid-column: auto;
  }

  .film-card-featured .film-poster {
    aspect-ratio: 16 / 9;
  }

  .manifesto {
    min-height: auto;
  }

  .manifesto-copy > p:last-child {
    margin-left: 0;
  }

  .service-list > div {
    gap: 0.8rem 1rem;
  }

  .service-list p {
    font-size: 0.9rem;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: calc(100% + (var(--page-pad) * 2));
    margin-left: calc(var(--page-pad) * -1);
  }

  .about-image img {
    max-height: 580px;
  }

  .about-image span {
    right: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
