@font-face {
  font-family: "PP Object Sans";
  src: url("./assets/fonts/PPObjectSans-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 300;
  font-display: swap;
}
@font-face {
  font-family: "Tusker Grotesk";
  src: url("./assets/fonts/TuskerGrotesk-5600Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2eeed;
  --ink: #191716;
  --muted: #85817f;
  --line: rgba(25, 23, 22, 0.2);
  --page-x: clamp(20px, 4.2vw, 76px);
  font-family: "PP Object Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }

.hero {
  min-height: min(100svh, 1000px);
  padding: 0 var(--page-x) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero-video { position: absolute; z-index: 0; top: 1vh; right: var(--page-x); width: min(56vw, 740px); aspect-ratio: 1; object-fit: cover; }
.hero-art { display: block; width: clamp(250px, 31vw, 500px); height: auto; margin-top: clamp(155px, 27vh, 300px); }
.hero-art, .hero-bottom { position: relative; z-index: 1; }
.hero-bottom { width: min(100%, 430px); margin: auto auto 0; text-align: center; }
.hero h1 { max-width: 390px; margin: 0 auto 28px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.42; font-weight: 400; letter-spacing: -0.035em; }
.pill { display: inline-flex; min-width: 112px; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 100px; background: #fff; font-size: 13px; transition: transform .2s ease, background .2s ease; }
.pill:hover { transform: translateY(-2px); background: #e5e0df; }

.work { padding: 86px var(--page-x) 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 34px; }
.eyebrow { margin: 0 0 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.section-heading h2 { margin: 0; color: #c1bfbc; font-family: "Tusker Grotesk", Impact, sans-serif; font-size: clamp(54px, 9.1vw, 132px); font-weight: 600; line-height: .9; letter-spacing: -.025em; text-transform: uppercase; }
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.projects-featured { margin-bottom: clamp(76px, 12vw, 170px); }
.project-card { min-width: 0; display: block; overflow: hidden; }
.project-card img { display: block; width: 100%; border-radius: 4px; object-fit: cover; background: #e9e5e4; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.025); }
.featured-card { grid-column: span 6; }
.featured-card:first-child { grid-column: span 12; }
.featured-card img { aspect-ratio: 1.65; }
.featured-card:first-child img { aspect-ratio: 2.07; }
.project-info { min-height: 96px; padding: 16px 2px 22px; display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.project-copy h3 { margin: 0 0 6px; font-family: "Tusker Grotesk", Impact, sans-serif; text-transform: uppercase; font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .025em; }
.project-copy p { max-width: 500px; margin: 0; font-size: 13px; line-height: 1.45; color: #5f5b59; }
.project-cta, .project-label { flex: none; font-size: 11px; white-space: nowrap; }
.project-cta span { padding-left: 8px; }
.projects-more { row-gap: clamp(48px, 8vw, 112px); }
.more-card { grid-column: span 4; }
.more-card img { aspect-ratio: 1.56; }
.more-card .project-info { min-height: 100px; }

.footer { padding: 28px var(--page-x) 24px; background: var(--paper); color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a span { padding-left: 4px; }

@media (min-width: 1500px) {
  .work { max-width: 1920px; margin-inline: auto; }
}
@media (max-width: 700px) {
  :root { --page-x: 20px; }
  .hero { min-height: 100svh; padding-bottom: 28px; }
  .hero-video { width: min(78vw, 420px); top: 2vh; right: 0; }
  .hero-art { width: min(82vw, 360px); margin-top: 33svh; }
  .hero-bottom { width: min(100%, 370px); }
  .hero h1 { max-width: 350px; margin-bottom: 26px; font-size: 15px; }
  .work { padding-top: 54px; padding-bottom: 82px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .eyebrow { margin-bottom: 10px; }
  .section-heading h2 { font-size: clamp(53px, 14vw, 76px); }
  .projects { display: flex; flex-direction: column; gap: 12px; }
  .projects-featured { margin-bottom: 70px; }
  .featured-card img { aspect-ratio: 1.02; }
  .featured-card:first-child img { aspect-ratio: 1.02; }
  .project-info, .more-card .project-info { min-height: 84px; padding: 12px 2px 20px; }
  .project-copy h3 { font-size: 12px; }
  .project-copy p { font-size: 12px; }
  .project-cta, .project-label { font-size: 10px; }
  .projects-more { gap: 8px; }
  .more-card img { aspect-ratio: 1.57; }
  .footer-bottom { align-items: start; flex-wrap: wrap; gap: 12px 18px; font-size: 9px; }
  .footer-bottom span:nth-child(2) { order: 3; width: 100%; }
  .footer-bottom nav { margin-left: auto; gap: 14px; }
}

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