:root {
  --ink: #0B0B0C;
  --paper: #FAFAF8;
  --persimmon: #D96530;
  --slate: #8A8A86;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  mix-blend-mode: difference;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #fff;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 48px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
}
.mobile-nav a {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.25) 40%, rgba(11,11,12,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--paper);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(250,250,248,0.7);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--persimmon);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  background: #c05323;
}

/* ---------- Work ---------- */

.work-section {
  padding: 140px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin-bottom: 90px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}

.section-lede {
  font-size: 17px;
  color: var(--slate);
  max-width: 56ch;
}

.case-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid rgba(11,11,12,0.1);
}

.case-study:last-child {
  border-bottom: 1px solid rgba(11,11,12,0.1);
}

.case-study.reverse {
  grid-template-columns: 1fr 1.2fr;
}
.case-study.reverse .case-media { order: 2; }
.case-study.reverse .case-copy { order: 1; }

.case-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--ink);
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 100%;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--persimmon);
  display: block;
  margin-bottom: 14px;
}

.case-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}

.case-copy p {
  font-size: 16px;
  color: #333;
  max-width: 48ch;
  margin-bottom: 28px;
}

.credits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credits > div {
  display: flex;
  gap: 16px;
  font-size: 13px;
  border-top: 1px solid rgba(11,11,12,0.08);
  padding-top: 10px;
}
.credits dt {
  font-family: var(--font-mono);
  color: var(--slate);
  min-width: 160px;
  flex-shrink: 0;
}
.credits dd {
  color: var(--ink);
}

/* ---------- Studio ---------- */

.studio-section {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 48px;
}

.studio-inner {
  max-width: 760px;
  margin: 0 auto;
}

.studio-inner .case-tag { color: var(--persimmon); }

.studio-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  margin: 18px 0 28px;
  line-height: 1.15;
}

.studio-inner p {
  font-size: 17px;
  color: rgba(250,250,248,0.8);
  line-height: 1.7;
}

.studio-inner em {
  color: var(--paper);
  font-style: normal;
  border-bottom: 1px solid var(--persimmon);
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 140px 48px;
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.contact-inner p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  border-top: 1px solid rgba(11,11,12,0.1);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: 22px 24px; }

  .hero-content { padding: 0 24px 48px; }

  .work-section { padding: 100px 24px 40px; }
  .section-head { margin-bottom: 56px; }

  .case-study,
  .case-study.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }
  .case-study.reverse .case-media,
  .case-study.reverse .case-copy {
    order: initial;
  }

  .studio-section,
  .contact-section {
    padding: 90px 24px;
  }

  .site-footer {
    padding: 24px;
    flex-direction: column;
    gap: 6px;
  }
}
