@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@500;600&display=swap");

:root {
  --paper: #f7f5f0;
  --ink: #131313;
  --muted: #6e6a63;
  --soft: #e5e0d6;
  --line: rgba(19, 19, 19, 0.16);
  --deep: #0d0d0c;
  --cream: #f7f5f0;
  --steel: #727984;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

.about-page-body {
  position: relative;
  background: #11100f;
  color: var(--cream);
}

.about-page-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(17, 16, 15, 0.82), rgba(17, 16, 15, 0.9)),
    url("https://assets.cdn.filesafe.space/Q5wkcDhl4E8AfrZNW19I/media/677ec6453fc054e762acec2a.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  transform: translate3d(0, var(--about-bg-y, 0px), 0) scale(1.06);
  transition: transform 0.08s linear;
  will-change: transform;
}

.about-page-body .page-hero {
  border-bottom: 0;
  padding-top: 130px;
  padding-bottom: 24px;
}

.about-page-body .about-page {
  padding-top: 24px;
}

.about-page-body .about-copy p {
  color: rgba(247, 245, 240, 0.78);
}

.about-page-body .footer,
.home-page-body .footer {
  background: #0d0d0c;
  color: rgba(247, 245, 240, 0.68);
  border-top-color: rgba(247, 245, 240, 0.1);
}

.contact-hero {
  min-height: 62svh;
  display: grid;
  place-items: center;
  padding: 150px 5vw 96px;
  color: var(--cream);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.84)),
    url("https://assets.cdn.filesafe.space/Q5wkcDhl4E8AfrZNW19I/media/69f2c129fc17decc450f310c.jpg");
  background-size: cover;
  background-position: center;
}

.contact-hero-lockup {
  display: grid;
  justify-items: center;
}

.contact-hero .large-mail {
  color: rgba(247, 245, 240, 0.76);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 5vw;
  color: var(--cream);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nav.solid,
.nav.scrolled {
  background: transparent;
  color: var(--cream);
  border-bottom: 0;
  backdrop-filter: none;
}

.nav.hidden {
  transform: translateY(-100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a,
.footer-social a,
.text-link,
.large-mail {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover,
.footer-social a:hover,
.text-link:hover,
.large-mail:hover {
  text-decoration-color: currentColor;
}

.home-intro {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-content: center;
  padding: 118px 5vw 118px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.84)),
    url("https://assets.cdn.filesafe.space/Q5wkcDhl4E8AfrZNW19I/media/69ef8e63481c62debae6f319.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.hero-lockup {
  justify-self: center;
  width: fit-content;
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  filter: saturate(0.7) contrast(0.85);
  opacity: 0.72;
}

.eyebrow,
.project-count,
.project-facts span,
.project-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.eyebrow {
  color: inherit;
}

.home-intro h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.45rem, 6.8vw, 8.4rem);
  line-height: 0.88;
}

.hero-title {
  margin-top: 14px;
  color: rgba(247, 245, 240, 0.72);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
}

.intro-line {
  max-width: 640px;
  color: rgba(247, 245, 240, 0.74);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

.video-spots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--deep);
  border: 0;
}

.video-spot {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: var(--cream);
}

.video-spot img,
.video-spot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.08);
  transition: opacity 0.35s ease, transform 0.6s ease, filter 0.6s ease;
}

.video-spot video {
  opacity: 0;
}

.video-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 40%, rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 70%);
  transition: opacity 0.35s ease;
}

.video-spot:hover img,
.video-spot:focus-visible img {
  opacity: 0;
  transform: scale(1.035);
}

.video-spot:hover video,
.video-spot:focus-visible video {
  opacity: 1;
  transform: scale(1.035);
  filter: saturate(0.88) contrast(1.08);
}

.spot-title {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
}

.spot-title {
  bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.25vw, 3.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.video-spot:hover::after,
.video-spot:focus-visible::after,
.video-spot:hover .spot-title,
.video-spot:focus-visible .spot-title {
  opacity: 1;
}

.video-spot:hover .spot-title,
.video-spot:focus-visible .spot-title {
  transform: translateY(0);
}

.page-hero {
  padding: 170px 5vw 86px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1120px;
  margin-top: 18px;
  font-size: clamp(3rem, 7vw, 8.5rem);
  line-height: 0.98;
}

.about-page,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.9fr);
  gap: 7vw;
  align-items: center;
  padding: 96px 5vw;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: var(--deep);
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.about-gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.about-copy,
.contact-note {
  display: grid;
  gap: 24px;
}

.about-copy p,
.contact-note p,
.project-description p {
  color: #3b3935;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.72;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
}

.detail-grid span {
  background: var(--paper);
  padding: 18px 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13rem;
  text-transform: uppercase;
}

.large-mail {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(1.2rem, 3vw, 3rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 48px 5vw 86px;
}

.form-label {
  width: min(860px, 100%);
  justify-self: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.crm-form {
  width: min(860px, 100%);
  min-height: 764px;
  justify-self: center;
  background: var(--paper);
  border: 0;
}

.crm-form iframe {
  display: block;
  background: var(--paper);
}

.form-fallback {
  width: min(860px, 100%);
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.project-hero {
  min-height: auto;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 150px 5vw 46px;
  background: var(--deep);
  color: var(--cream);
  text-align: center;
}

.project-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
}

.project-count {
  display: block;
  margin-top: 12px;
  color: rgba(247, 245, 240, 0.62);
}

.project-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 5.4rem);
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.project-facts {
  display: grid;
  gap: 8px;
  color: rgba(247, 245, 240, 0.74);
}

.project-facts span {
  color: rgba(247, 245, 240, 0.48);
}

.project-film {
  background: var(--deep);
  padding: 0 5vw 64px;
}

.film-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid rgba(247, 245, 240, 0.14);
}

.screen-grabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--paper);
  border: 0;
}

.screen-grabs img {
  width: calc(100% / 3);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.project-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 54px 5vw;
  border-bottom: 1px solid var(--line);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 34px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 1100px) {
  .video-spots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: center;
    flex-direction: row;
    gap: 18px;
    padding: 18px 5vw;
  }

  .menu-toggle {
    display: grid;
    align-content: space-between;
    justify-self: end;
  }

  .nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 4px);
    right: 5vw;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: transparent;
    border: 0;
    color: var(--cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 9px 0;
    text-align: right;
  }

  .home-intro {
    min-height: 72svh;
    padding-top: 150px;
  }

  .home-intro h1 {
    white-space: normal;
  }

  .video-spots,
  .about-gallery,
  .about-page,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .screen-grabs img {
    width: 100%;
  }

  .video-spot {
    aspect-ratio: 16 / 11;
  }

  .video-spot::after {
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 34%, rgba(0, 0, 0, 0.74)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 76%);
  }

  .spot-title {
    opacity: 1;
    transform: translateY(0);
    font-size: clamp(1.4rem, 8vw, 2.5rem);
  }

  .page-hero {
    padding-top: 150px;
  }

  .about-page,
  .contact-layout {
    padding: 70px 5vw;
  }

  .project-hero {
    padding: 130px 5vw 40px;
  }

  .project-film {
    padding-bottom: 56px;
  }

  .project-next,
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
