@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap");

:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --white: #fff;
  --ink: #25231f;
  --muted: #77736b;
  --line: #dedbd4;
  --accent: #a34835;
  --serif: "Playfair Display", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  z-index: 5;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--white);
  clip: auto;
  clip-path: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 112px;
  padding: 26px 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
}

.wordmark,
.footer-wordmark {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wordmark-period {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(25px, 4.2vw, 68px);
  font-size: clamp(1.08rem, 1.55vw, 1.4rem);
}

.site-nav a,
.text-link,
.social-link {
  transition: color 180ms ease;
}

.site-nav a:hover,
.text-link:hover,
.social-link:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.intro {
  margin: 72px auto 72px;
  padding: 48px 24px 54px;
  width: min(86%, 1230px);
  text-align: center;
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0 0 7px;
  font-size: clamp(2.9rem, 5.4vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.intro-copy {
  margin: 18px 0 0;
  font-size: clamp(1.15rem, 2.1vw, 1.85rem);
  font-style: italic;
  line-height: 1.55;
}

.intro-services {
  margin: 28px 0 0;
  color: var(--accent);
  font-family: var(--sans);
  font-size: clamp(0.73rem, 1.1vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.intro-services span {
  padding: 0 0.35em;
  color: var(--muted);
}

.section-wrap {
  width: min(89.6%, 1380px);
  margin: 0 auto;
}

.featured {
  margin-bottom: 56px;
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading .eyebrow {
  margin-bottom: 7px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #24231f;
  aspect-ratio: 16 / 8.8;
}

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

.featured-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-top: 16px;
}

.featured-caption h3,
.film-caption h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
}

.featured-caption p,
.film-caption p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.76rem;
}

.portfolio {
  margin-bottom: 32px;
}

.portfolio-heading {
  position: sticky;
  z-index: 5;
  top: 112px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 16px 0 18px;
  margin-bottom: 31px;
  background: var(--white);
}

.text-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 1rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 46px;
}

.film-card {
  min-width: 0;
}

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

.film-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.film-poster:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  color: var(--white);
  background: rgb(25 24 22 / 36%);
  font-family: var(--sans);
  font-size: 0.85rem;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.film-poster:hover .play-icon {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.film-poster .film-index {
  position: absolute;
  top: 13px;
  left: 14px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 5px rgb(0 0 0 / 60%);
}

.film-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 13px;
}

.film-caption h3 {
  font-size: clamp(1rem, 1.35vw, 1.28rem);
}

.film-caption p {
  text-align: right;
  font-size: 0.69rem;
}

.about {
  padding: 40px 0 72px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 8vw, 120px);
}

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

.about h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.about-copy > p:last-child {
  max-width: 590px;
  margin: 0;
  color: #555149;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.65;
}

.about-images {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 490px;
}

.about-photo {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-main {
  grid-row: 1 / 3;
}

.about-photo-main img {
  object-position: center 80%;
}

.contact {
  padding: 82px 24px 94px;
  background: var(--paper);
  text-align: center;
}

.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
}

.contact-link {
  font-size: 1rem;
}

.site-footer {
  min-height: 110px;
  padding: 27px 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wordmark {
  font-size: 1.3rem;
}

.site-footer p,
.social-link {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
}

.social-link {
  color: var(--ink);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    position: sticky;
    min-height: 78px;
    padding: 18px 6%;
  }

  .wordmark {
    font-size: 1.55rem;
  }

  .wordmark-logo {
    width: 48px;
    height: 48px;
  }

  .menu-toggle {
    z-index: 2;
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.visually-hidden) {
    display: block;
    width: 21px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 6% 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    font-size: 1.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .intro {
    width: 88%;
    margin: 36px auto 44px;
    padding: 39px 20px 44px;
  }

  .intro h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .intro-copy {
    max-width: 450px;
    margin: 15px auto 0;
    font-size: 1.15rem;
  }

  .desktop-break {
    display: none;
  }

  .section-wrap {
    width: 88%;
  }

  .featured {
    margin-bottom: 40px;
  }

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

  .featured-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .portfolio {
    margin-bottom: 24px;
  }

  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 32px;
  }

  .film-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .film-caption p {
    text-align: left;
  }

  .about {
    padding: 32px 0 56px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .about-images {
    height: 390px;
  }

  .contact {
    padding: 48px 20px 56px;
  }

  .site-footer {
    min-height: 130px;
    padding: 25px 6%;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .footer-socials {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .footer-socials .social-link {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 12px;
  }

  .wordmark {
    gap: 8px;
    font-size: clamp(1.2rem, 5.6vw, 1.45rem);
  }

  .wordmark-logo {
    width: 44px;
    height: 44px;
  }

  .portfolio-heading {
    top: 78px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .film-caption {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
