:root {
  color-scheme: dark;
  --bg: #141615;
  --panel: #1d201e;
  --text: #f7f4ed;
  --muted: #c1c2b9;
  --accent: #ffce76;
  --line: #454942;
  --width: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-block: 1.5rem; }
.wrap { width: min(var(--width), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .6rem 1rem; background: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 650; white-space: nowrap; }
.mark { display: block; width: 3.25rem; height: auto; flex: none; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.85rem, 3vw, 2.4rem); }
nav a { font-size: .925rem; text-decoration: none; }
nav a:hover, .brand:hover { color: var(--accent); }
.nav-contact { border: 1px solid var(--line); padding: .45rem .85rem; }

.hero { position: relative; display: grid; align-items: end; isolation: isolate; min-height: clamp(32rem, 49vw, 44rem); background: #1a211e; }
.hero-image, .hero-image img, .hero-image::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -1; }
.hero-image img { object-fit: cover; object-position: center 54%; }
.hero-image::after {
  content: "";
  background: linear-gradient(90deg, #0d100fe8 1%, #101412b0 34%, transparent 76%),
    linear-gradient(0deg, #0b0e0de0, transparent 52%);
}
.hero-copy { padding: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3.75rem, 6vw, 6rem); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h1 { margin-block: 1.25rem; font-size: clamp(2.9rem, 6.7vw, 6.4rem); line-height: .96; letter-spacing: -.065em; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 34ch; color: #eeeae2; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.button { display: inline-block; margin-top: 1.65rem; padding: .75rem 1.2rem; background: var(--accent); color: #191a16; font-weight: 700; text-decoration: none; }
.button:hover { background: #ffe4ad; }
.button:focus-visible { outline-color: var(--accent); }

.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-heading { margin-bottom: 1.65rem; }
.work-caption p, .service p { color: var(--muted); }
h2 { font-size: clamp(2.25rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.055em; }
h3, h4 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.025em; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work-link { display: block; height: 100%; background: var(--panel); text-decoration: none; }
.work-link:hover { color: var(--accent); }
.work-link:focus-visible { outline-color: var(--accent); }
.work-visual { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); }
.work-caption { padding: 1.05rem; }
.work-caption p { margin-bottom: .35rem; font-size: .875rem; }
.reel-link { display: grid; grid-template-columns: clamp(6.5rem, 14vw, 10.5rem) minmax(0, 1fr); align-items: center; width: fit-content; max-width: 100%; height: auto; margin-top: 1.25rem; }
.reel-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.references { margin-top: clamp(2.5rem, 5vw, 4rem); }
.references > h3 { margin-bottom: 1rem; }
.reference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.reference-grid .work-link { border-top: 1px solid var(--line); }

.services { background: var(--panel); border-block: 1px solid var(--line); }
.service-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
.service { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.service:last-child { padding-bottom: 0; }
.service p { margin-top: .45rem; max-width: 54ch; }
.contact { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 2rem; background: var(--accent); color: #1d201b; padding: clamp(1.7rem, 5vw, 4.4rem); }
.contact .eyebrow { color: inherit; margin-bottom: .85rem; }
.contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem; }
.email { font-weight: 700; overflow-wrap: anywhere; }
.contact-links a { text-underline-offset: .2em; }
.footer { min-height: 5rem; padding-block: 1rem; border-top: 1px solid var(--line); font-size: .875rem; flex-wrap: wrap; }
.legal { max-width: 46rem; }
.legal h1 { margin-top: 0; font-size: clamp(2.2rem, 6vw, 4rem); overflow-wrap: anywhere; }
.legal h2 { margin-top: 2rem; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.22; }
.legal p, .legal ul, .legal address { margin-top: .75rem; }
.legal ul { padding-inline-start: 1.4rem; }
.legal address { font-style: normal; }
.legal a:hover { color: var(--accent); }

@media (max-width: 55rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-image img { object-position: 61% center; }
  .work-grid { gap: .75rem; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { flex-wrap: wrap; padding-block: .85rem; gap: .55rem 1rem; }
  nav { gap: .85rem; }
  .nav-contact { padding: .3rem .6rem; }
  .hero { min-height: 34rem; }
  .hero-image img { object-position: 64% center; }
  .hero-image::after { background: linear-gradient(0deg, #0b0e0d 5%, #101412da 32%, transparent 90%); }
  .hero-copy { padding: 2rem 1.1rem 3.5rem; }
  h1 { font-size: clamp(2.375rem, 9.1vw, 4rem); }
  .work-grid, .reference-grid, .contact, .service-layout { grid-template-columns: 1fr; }
  .contact, .service-layout { gap: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
