:root {
  --black: #050505;
  --white: #f4f1ea;
  --muted: #8b877f;
  --line: #2a2926;
  --line-strong: #44413b;
  --max: 1280px;
  color-scheme: dark;
  font-family: "Space Grotesk", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: var(--max);
  height: 84px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(5, 5, 5, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  width: 48px;
  height: 48px;
  display: block;
}

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

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.text-link,
.contact-link {
  position: relative;
  width: max-content;
}

.nav a::after,
.text-link::after,
.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.text-link:hover::after,
.contact-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 32px;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-content: center;
  gap: 42px;
}

.eyebrow,
.section-kicker,
.work-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
  font-weight: 600;
}

h1 span,
h1 em {
  display: block;
}

h1 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

h1 em {
  max-width: 820px;
  font-family: var(--serif);
  font-size: 1.05em;
  font-style: italic;
  font-weight: 200;
  line-height: 0.92;
}

.hero-footer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 24px;
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero-footer p {
  color: #c7c2b8;
  font-size: 18px;
  line-height: 1.48;
}

.text-link,
.contact-link {
  font-size: 15px;
  font-weight: 600;
}

.work {
  display: grid;
  gap: 28px;
}

.work h2.section-kicker {
  font-size: 13px;
  line-height: 1.2;
}

.work-list {
  display: grid;
  margin-top: 12px;
}

.work-item a {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, 360px);
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms ease, transform 180ms ease;
}

.work-item a:hover {
  color: #ffffff;
  transform: translateX(10px);
}

.work-item:last-child a {
  border-bottom: 0;
}

.work-item h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.3vw, 60px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.98;
}

.work-item p {
  color: #b6b0a6;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.sample-strip {
  width: 100vw;
  display: grid;
  gap: 18px;
  margin-top: 76px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.sample-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: sample-flow 38s linear infinite;
}

.sample-track:hover {
  animation-play-state: paused;
}

.sample-card {
  width: min(64vw, 640px);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 18px;
  background: #e9edf0;
  cursor: zoom-in;
}

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

@keyframes sample-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 70px;
  margin-top: 34px;
}

.about h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 600;
}

.about h2 span,
.about h2 em {
  display: block;
}

.about h2 em {
  max-width: 640px;
  font-family: var(--serif);
  font-size: 0.98em;
  font-style: italic;
  font-weight: 200;
  line-height: 1;
}

.about h2 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.about-copy {
  display: grid;
  gap: 22px;
  color: #c7c2b8;
  font-size: 17px;
  line-height: 1.55;
}

.expertise {
  width: 100%;
  padding: 72px 0;
  overflow: hidden;
}

.expertise-marquee {
  overflow: hidden;
  width: 100%;
}

.expertise-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: expertise-flow 34s linear infinite;
}

.expertise-track:hover {
  animation-play-state: paused;
}

.expertise-track span {
  flex: 0 0 auto;
  padding: 0 18px;
  color: #d9d3c8;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.05;
  white-space: nowrap;
}

.expertise-track span::after {
  content: "/";
  margin-left: 36px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
}

@keyframes expertise-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.contact {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.contact h2 {
  max-width: 860px;
  margin: 34px 0 42px;
  font-size: clamp(36px, 5vw, 72px);
  font-style: normal;
  font-weight: 600;
  line-height: 0.98;
}

.contact h2 span,
.contact h2 em {
  display: block;
}

.contact h2 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.contact h2 em {
  max-width: 760px;
  font-family: var(--serif);
  font-size: 0.98em;
  font-style: italic;
  font-weight: 200;
  line-height: 1;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 42px;
  margin-top: 34px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 5, 5, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(1100px, 92vw);
  display: grid;
  gap: 16px;
}

.lightbox-art {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

.lightbox-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-frame p {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 28px 20px 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--black);
    font-size: 28px;
  }

  body.menu-open .nav {
    display: flex;
  }

  .section-pad {
    padding: 84px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-footer,
  .work-item a,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-item a:hover {
    transform: none;
  }

  .sample-card {
    width: 82vw;
  }

}

@media (max-width: 600px) {
  h1 {
    font-size: 44px;
  }

  h1 em {
    font-size: 1.1em;
  }

  .hero-footer p {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 20px;
  }
}
