@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #17271f;
  --green: #254839;
  --muted: #667069;
  font-family: Figtree, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid #365d46; outline-offset: 6px; }

.home {
  max-width: 1800px;
  min-height: 100svh;
  margin: auto;
  display: grid;
  grid-template-columns: 43% 57%;
}

.home-heading {
  min-width: 0;
  min-height: 100svh;
  padding: clamp(64px, 14vh, 160px) 3.5vw 64px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}

h1 { margin: 0; font: 400 clamp(60px, 6.9vw, 112px)/.96 Georgia, serif; letter-spacing: -.055em; }
h1 span { display: block; }
.home-description { max-width: 330px; margin: 32px 0 0; font-size: 21px; line-height: 1.45; }
.home-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.home-actions a { display: inline-flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 8px 0; font-size: 16px; line-height: 1.4; text-decoration: none; }
.home-actions a:hover span:first-child { text-decoration: underline; }
.home-actions a > span[aria-hidden] { color: #365947; font-size: 15px; }
.home-actions .primary-action { font-size: 19px; font-weight: 500; color: var(--green); margin-bottom: 8px; }

.home-film { align-self: center; min-width: 0; margin: 0; padding: 64px 5vw 64px 1.5vw; }
.film-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.film-caption h2 { margin: 0; font-size: 14px; font-weight: 400; }
.film-caption > span { font-size: 12px; color: var(--muted); white-space: nowrap; }
video { display: block; width: 100%; aspect-ratio: 16/9; background: #110d26; object-fit: contain; }
.video-error { margin: 16px 0 0; max-width: 52ch; font-size: 14px; line-height: 1.6; }
[hidden] { display: none !important; }

@media (min-width: 1800px) {
  .home-heading { padding-left: 90px; padding-right: 63px; }
  .home-film { padding-left: 27px; padding-right: 90px; }
}

@media (max-width: 900px) {
  .home { grid-template-columns: 44% 56%; }
  .home-heading { padding-left: 4vw; padding-right: 3vw; }
  h1 { font-size: 7.2vw; }
  .home-description { font-size: 18px; }
  .home-actions .primary-action { font-size: 17px; }
  .home-actions a { font-size: 15px; }
  .home-film { padding-right: 4vw; }
}

@media (max-width: 720px) {
  .home { display: flex; flex-direction: column; min-height: 100svh; padding: 38px 30px 30px; gap: 40px; }
  .home-heading { display: contents; }
  .heading-lead { order: 0; }
  h1 { font-size: clamp(52px, 17vw, 90px); }
  .home-description { margin-top: 24px; max-width: 310px; font-size: 18px; }
  .home-film { order: 1; width: 100%; padding: 0; }
  .film-caption { margin-bottom: 12px; }
  .film-caption h2 { font-size: 13px; }
  .home-actions { order: 2; border-top: 1px solid #243a2c26; padding-top: 20px; }
  .home-actions .primary-action { font-size: 18px; margin-bottom: 5px; }
  .home-actions a { font-size: 16px; }
}
