@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  scrollbar-gutter: stable;
  color-scheme: dark;
  font-family: "Instrument Sans", Arial, sans-serif;
  background: #08090a;
  color: #f2efea;
  --accent: #d9e59b;
  --interface-text: 0.9375rem;
  --gutter: clamp(22px, 5vw, 88px);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #e9b984; outline-offset: 5px; }
.hero, .films {
  width: min(100%, 2000px);
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero {
  display: grid;
  grid-template-rows: auto auto auto auto;
}
.masthead {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
  padding-block: clamp(24px, 4.2vh, 52px);
}
h1 { margin: 0; font-weight: 600; }
.lockup { width: max-content; }
.wordmark {
  display: grid;
  width: clamp(134px, 14.3vw, 228px);
  min-height: clamp(25px, 2.65vw, 42px);
  align-items: center;
}
.wordmark img { display: block; width: 100%; height: auto; }
.signature {
  display: block;
  width: max-content;
  margin: .01em .025em -.08em auto;
  color: var(--accent);
  font: italic 400 clamp(30px, 3.05vw, 46px)/.9 "Instrument Serif", Georgia, serif;
  letter-spacing: -.04em;
}
.tagline {
  margin: 0;
  color: #d5d1c9;
  font-size: clamp(.875rem, 1.2vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.35;
}
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: #0d0f11;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 45% bottom;
}
.hero-nav {
  display: flex;
  justify-content: flex-end;
  padding-block: 6px;
}
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 6px 0 6px 12px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.hero-action span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d9e59b80;
  border-radius: 50%;
  color: var(--accent);
}
.hero-action:hover span, .hero-action:focus-visible span {
  background: var(--accent);
  color: #08090a;
}
.frame:focus-visible { outline-offset: -5px; }
@media (max-width: 520px) {
  .hero, .films { padding-inline: 16px; }
  .masthead { gap: 22px; }
  .tagline { max-width: 18ch; }
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: .7rem 1.05rem;
  border: 1px solid #f2efea80;
  pointer-events: auto;
  background: #08090a55;
  transition: background .18s, color .18s;
}
.action:hover { background: #f2efea; color: #08090a; }
.film-grid p { color: #b9b5b0; }
@media (prefers-reduced-motion: reduce) { .action { transition: none; } }

.clients {
  border-top: 1px solid #f2efea25;
  padding-block: clamp(24px, 3.5vh, 42px);
}
.client-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px clamp(18px, 3.2vw, 58px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.client-list img {
  display: block;
  max-width: clamp(75px, 10vw, 163px);
  max-height: 38px;
  width: auto;
  height: auto;
  opacity: .76;
}
.client-list li:nth-child(6) img { max-height: 43px; }
.films .portfolio { margin-top: clamp(48px, 10vh, 116px); }
.portfolio-heading { border-bottom: 1px solid #f2efea25; padding-bottom: 24px; }
.portfolio-heading h1 {
  font-size: clamp(58px, 9vw, 136px);
  font-weight: 600;
  font-kerning: normal;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  padding: 0;
  margin: clamp(24px, 4vw, 48px) 0 48px;
}
.film-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid #f2efea20;
  background: linear-gradient(150deg, #1d2121, #101112 74%);
}
.film-placeholder span {
  width: 9px;
  height: 9px;
  border: 1px solid #d9e59b80;
  transform: rotate(45deg);
}
.film-grid p { margin: 12px 0 0; font-size: .9375rem; }
@media (max-width: 640px) { .film-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .client-list img { max-height: 28px; }
  .client-list li:nth-child(6) img { max-height: 34px; }
}

.film-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.film-card:focus-visible { outline: 2px solid #d9e59b; outline-offset: 4px; }
.film-poster {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101112;
}
.film-poster img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding-left: 2px;
  border: 1px solid #f2efea66;
  border-radius: 50%;
  background: #10111299;
  color: #f2efea;
  font-size: 10px;
}
.film-card:hover .film-play, .film-card:focus-visible .film-play { background: #101112; }

.film-dialog {
  width: min(calc(100vw - 32px), 1100px, calc((100dvh - 112px) * 16 / 9));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: #000;
  color: #f2efea;
}
.film-dialog::backdrop { background: #000e; }
.player-dismiss { position: absolute; right: 0; bottom: 100%; }
.player-dismiss button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 400 25px/1 "Instrument Sans", Arial, sans-serif;
  cursor: pointer;
}
.player-dismiss button:focus-visible { outline: none; color: var(--accent); text-shadow: 0 0 8px #d9e59b80; }
.film-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  color-scheme: dark;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.film-details { display: block; margin-top: 13px; }
.film-title { display: block; margin: 0; font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; }
.film-client { display: block; margin: 4px 0 0; font-size: .9375rem; color: #b9b5b0; }

.masthead-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  margin-left: auto;
  font-size: .9375rem;
  white-space: nowrap;
}
.masthead-links a { padding-block: 10px; }
.masthead-links a:hover, .masthead-links [aria-current] { color: var(--accent); }
.masthead-links span { color: var(--accent); }
@media (max-width: 640px) {
  .hero { min-height: auto; grid-template-rows: auto auto auto auto; }
  .masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 14px;
    column-gap: 12px;
    padding-block: 20px;
  }
  .masthead .tagline { grid-row: 2; grid-column: 1 / -1; max-width: none; }
  .masthead-links { grid-row: 1; grid-column: 2; gap: 14px; }
  .masthead-links a { display: flex; align-items: center; min-height: 44px; }
  .frame { aspect-ratio: auto; height: clamp(260px, 55svh, 470px); }
  .hero-action { min-height: 48px; }
  .films .portfolio { margin-top: 30px; }
  .portfolio-heading { padding-bottom: 16px; }
  .film-dialog { width: min(calc(100vw - 16px), calc((100dvh - 100px) * 16 / 9)); }
  .contact-list a { overflow-wrap: anywhere; }
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(36px, 8vw, 120px);
  margin-block: 32px 60px;
}
.contact-list h2 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 600; }
.contact-list h2 span, .about-copy p { display: block; margin: 4px 0 0; color: #b9b5b0; font-size: .9375rem; font-weight: 400; }
.about-copy p { max-width: 65ch; line-height: 1.5; }
.contact-list a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

.film-award { color: var(--accent); white-space: nowrap; }
.film-award > span { margin-inline: .2em; }

.home-menu, .home-mobile-films { display: none; }
.hero .tagline strong { font-weight: inherit; }

@media (max-width: 640px) {
  .hero { grid-template-rows: auto auto auto; }
  .hero .masthead { row-gap: 0; padding-block: 24px 14px; }
  .hero .wordmark { width: clamp(148px, 52vw, 225px); }
  .hero .hero-nav { display: none; }
  .hero .masthead-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 16px 0 0;
    padding-top: 8px;
    border-top: 1px solid #f2efea32;
  }
  .hero .masthead-links.is-open { display: grid; gap: 0; }
  .hero .masthead-links a { min-height: 48px; }
  .hero .masthead .tagline { grid-row: 3; }
  .home-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .home-menu span { width: 22px; height: 1px; background: currentColor; }
  .home-menu[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .home-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .home-menu[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .hero .tagline {
    margin: 24px 0 0;
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    line-height: 1.28;
    font-weight: 400;
  }
  .hero .tagline strong { display: block; font-weight: 700; }
  .hero .frame::after {
    content: "";
    position: absolute;
    inset: 52% 0 0;
    background: linear-gradient(transparent, #08090ab8);
    pointer-events: none;
  }
  .home-mobile-films {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #f2efea;
    font-size: 1rem;
    font-weight: 600;
  }
  .home-mobile-films > svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: var(--accent);
  }
  .frame:focus-visible .home-mobile-films {
    text-decoration: underline;
    text-underline-offset: .3em;
  }
}

/* Lookout adjustments: first screen fit on desktop, film poster hover zoom. */
@media (min-width: 641px) {
  .hero { height: 100svh; grid-template-rows: auto minmax(0, 1fr) auto auto; }
  .hero .frame { aspect-ratio: auto; height: 100%; }
  .frame img { object-position: 45% 55%; }
}
.film-poster img { transition: transform .5s ease; }
@media (hover: hover) and (pointer: fine) {
  .film-card:hover .film-poster img, .film-card:focus-visible .film-poster img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .film-poster img { transition: none; }
  .film-card:hover .film-poster img, .film-card:focus-visible .film-poster img { transform: none; }
}
/* Hide the scrollbar lane inside the embed so the page edges stay even. */
html { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; }

