@font-face {
  font-family: "Items";
  src: url("./assets/fonts/Items_Light.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Items";
  src: url("./assets/fonts/Items_LightItalic.woff2") format("woff2");
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SctoGrotesk";
  src: url("./assets/fonts/SctoGroteskA_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #eae7e2;
  --ink: #1b1b1c;
  --dark: #1a1a1a;
  --white: #f5f1ea;
  --line: rgba(27, 27, 28, 0.18);
  --soft: rgba(27, 27, 28, 0.58);
  --edge: clamp(9px, 0.75vw, 13px);
  --items: "Items", Georgia, "Times New Roman", serif;
  --grotesk: "SctoGrotesk", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--items);
  font-size: 14px;
  line-height: 1.1;
  text-rendering: geometricPrecision;
}

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

a {
  text-decoration: none;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

video {
  background: #101010;
}

.site {
  min-height: 100vh;
}

.site.dark {
  background: var(--dark);
  color: var(--white);
}

.topbar {
  left: 50%;
  position: fixed;
  text-align: center;
  top: clamp(34px, 6vw, 48px);
  transform: translateX(-50%);
  width: min(92vw, 560px);
  z-index: 30;
}

.brand,
.nav,
.footer-nav,
.video-pill,
.button-link {
  font-family: var(--grotesk);
  font-size: clamp(11px, 0.95vw, 12.5px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.cta-button {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--paper);
  display: inline-block;
  font-family: var(--grotesk);
  font-size: clamp(11px, 0.95vw, 12.5px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 12px;
  padding: 10px 22px;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cta-button:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.site.dark .cta-button {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark);
}

.hero-copy .cta-button {
  margin-top: 20px;
  padding: 13px 30px;
}

.footer-cta {
  margin: 6px 0 26px;
}

.brand {
  display: inline-block;
}

.role,
.time,
.motto,
.kicker,
.video-count,
.caption,
.view-label,
.copy,
.footer p {
  font-style: italic;
}

.role,
.time,
.motto,
.nav {
  margin: 10px 0 0;
}

.nav a:first-child {
  font-style: italic;
}

.nav a:hover,
.footer a:hover,
.button-link:hover,
.view-link:hover {
  opacity: 0.55;
}

.home {
  background: var(--dark);
  color: var(--white);
  min-height: 100svh;
  padding: clamp(82px, 14vh, 105px) var(--edge) 0;
}

.hero-frame {
  background: #070707;
  height: min(73vh, 512px);
  overflow: hidden;
  position: relative;
}

.hero-frame video {
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  width: 100%;
}

.hero-copy {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 29%;
  transform: translateX(-50%);
  width: min(420px, 82vw);
  z-index: 2;
}

.scroll-cue {
  margin: 30px auto 0;
  text-align: center;
}

.scroll-line {
  background: currentColor;
  height: 44px;
  margin: 24px auto 0;
  opacity: 0.72;
  width: 1px;
}

.home-work {
  background: var(--dark);
  padding: 34px var(--edge) 100px;
}

.home-reel {
  display: grid;
  gap: clamp(11px, 2vw, 24px);
  grid-template-columns: repeat(7, minmax(96px, 1fr));
}

.home-reel a {
  height: clamp(190px, 35vw, 390px);
  min-height: clamp(190px, 35vw, 390px);
  overflow: hidden;
  position: relative;
}

.home-reel video,
.video-card video,
.poster video {
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 500ms ease;
  width: 100%;
}

.home-reel a:hover video,
.video-card:hover video {
  opacity: 0.72;
  transform: scale(1.025);
}

.home-reel span {
  bottom: 10px;
  font-style: italic;
  left: 10px;
  position: absolute;
  right: 10px;
  text-align: center;
}

.intro {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 0.84fr) minmax(280px, 1.16fr);
  margin: 92px auto 0;
  max-width: 980px;
}

.intro video {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.intro p {
  font-size: clamp(28px, 4.6vw, 62px);
  font-style: italic;
  line-height: 0.94;
  margin: 0;
}

.page {
  min-height: 100vh;
  padding: 156px var(--edge) 72px;
}

.title-cloud {
  display: grid;
  min-height: clamp(250px, 43vw, 470px);
  place-items: center;
}

.ghost-title {
  color: rgba(27, 27, 28, 0.1);
  font-size: clamp(78px, 14vw, 205px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.78;
  text-align: center;
}

.video-grid {
  align-items: start;
  display: grid;
  gap: clamp(20px, 3.8vw, 34px);
  grid-template-columns: repeat(3, 1fr);
}

.video-card {
  display: block;
}

.video-card .thumb {
  aspect-ratio: 9 / 14;
  background: #111;
  overflow: hidden;
}

.video-card:nth-child(2n) .thumb {
  aspect-ratio: 4 / 5;
}

.video-card:nth-child(3n) .thumb {
  aspect-ratio: 16 / 12;
}

.video-meta {
  display: flex;
  font-style: italic;
  gap: 5px;
  justify-content: center;
  margin-top: 12px;
  text-align: center;
}

.video-meta h2,
.video-meta h3,
.video-title h1 {
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  margin: 0;
}

.video-meta p {
  margin: 0;
}

.project-page {
  padding: 0 var(--edge) 72px;
}

.project-hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  position: relative;
}

.project-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  left: 50%;
  max-width: min(68vw, 820px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.project-visual video {
  aspect-ratio: 16 / 10;
  max-height: 62vh;
  object-fit: cover;
  width: 100%;
}

.view-controls {
  left: 50%;
  position: absolute;
  text-align: center;
  top: clamp(128px, 18vh, 150px);
  transform: translateX(-50%);
  z-index: 4;
}

.view-label {
  display: inline;
  margin-right: 9px;
}

.view-link {
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.view-link.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-title {
  bottom: clamp(44px, 7vw, 54px);
  font-style: italic;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

.player-wrap {
  margin: 0 auto;
  max-width: 1260px;
}

.player-wrap.view-s {
  max-width: 520px;
}

.player-wrap.view-m {
  max-width: 920px;
}

.player-wrap.view-l {
  max-width: 1260px;
}

.player {
  aspect-ratio: 16 / 9;
  background: #101010;
  color: var(--white);
  display: grid;
  min-height: clamp(240px, 52vw, 710px);
  place-items: center;
  position: relative;
}

.player video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.player video {
  z-index: 2;
}

.project-copy {
  font-size: clamp(15px, 1.35vw, 18px);
  font-style: italic;
  line-height: 1.14;
  margin: clamp(75px, 12vw, 140px) auto 0;
  max-width: 740px;
  text-align: center;
}

.project-copy p {
  margin: 0 0 18px;
}

.keep-exploring {
  margin: 90px auto 0;
  max-width: 880px;
  text-align: center;
}

.keep-exploring > p {
  font-style: italic;
}

.related-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.info-layout {
  display: grid;
  gap: clamp(32px, 7vw, 92px);
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  margin: 30px auto 0;
  max-width: 1050px;
}

.info-layout video {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.big-copy {
  font-size: clamp(31px, 5.8vw, 76px);
  font-style: italic;
  line-height: 0.9;
  margin: 0 0 34px;
}

.copy {
  font-size: clamp(15px, 1.33vw, 18px);
  line-height: 1.16;
}

.copy p {
  margin: 0 0 18px;
}

.news-list {
  margin: 0 auto;
  max-width: 1260px;
}

.news-item {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 140px 1fr 170px;
  padding: 15px 0;
}

.news-item video {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 140px;
}

.news-item h2 {
  font-size: clamp(24px, 5vw, 70px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  margin: 0;
}

.item-details {
  font-style: italic;
  text-align: right;
}

.item-details p {
  margin: 3px 0;
}

.footer {
  padding: 64px var(--edge) 18px;
  text-align: center;
}

.site.dark .footer {
  background: var(--dark);
  color: var(--white);
}

.footer-nav {
  margin-bottom: 16px;
}

.footer p {
  font-size: 12px;
  margin: 0;
}

.contact-modal {
  align-items: center;
  background: rgba(27, 27, 28, 0.62);
  display: none;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 50;
}

.contact-modal.open {
  display: flex;
}

.contact-panel {
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
  text-align: center;
  width: min(92vw, 390px);
}

.contact-panel h2,
.contact-panel p {
  font-style: italic;
}

@media (max-width: 900px) {
  .home-reel {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .info-layout {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-visual {
    max-width: 92vw;
  }
}

@media (max-width: 560px) {
  .topbar {
    top: 32px;
  }

  .home {
    padding-top: 84px;
  }

  .hero-frame {
    height: 58vh;
  }

  .home-reel a {
    height: min(62vh, 430px);
    min-height: 320px;
  }

  .home-reel,
  .video-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 138px;
  }

  .ghost-title {
    font-size: clamp(64px, 19vw, 104px);
  }

  .video-title {
    white-space: normal;
    width: 88vw;
  }

  .project-visual {
    max-width: 94vw;
  }

  .project-visual video {
    aspect-ratio: 9 / 14;
    max-height: 58vh;
  }

  .player {
    aspect-ratio: 9 / 16;
    min-height: min(72vh, 640px);
  }

  .news-item {
    align-items: start;
    grid-template-columns: 92px 1fr;
  }

  .news-item video {
    width: 92px;
  }

  .item-details {
    grid-column: 2;
    text-align: left;
  }
}
