:root {
  color-scheme: dark;
  --bg: #050505;
  --bright: #f2f2ee;
  --dim: #303030;
  --muted: #8b8b86;
  --line: #292929;
  --accent: #ff2929;
  --pad: clamp(1rem, 2.2vw, 2rem);
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--bright);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #000; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
main > section { scroll-margin-top: 3.5rem; }

.progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 2px; pointer-events: none; }
.progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  align-items: start;
  gap: 1rem;
  padding: 1.15rem var(--pad);
  color: var(--bright);
  mix-blend-mode: difference;
  font-size: .72rem;
  line-height: 1.25;
  letter-spacing: .055em;
}
.wordmark { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.site-header nav { justify-self: end; display: flex; gap: 1.5rem; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.25rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 7rem var(--pad) 1.5rem;
  background: #000;
}
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 38%, rgba(0,0,0,.78) 100%), linear-gradient(90deg, rgba(0,0,0,.35), transparent 60%); }
.hero-kicker, .hero h1, .scroll-link { position: relative; z-index: 2; }
.hero-kicker { position: absolute; top: 7.5rem; left: var(--pad); font-size: .72rem; letter-spacing: .07em; }
.hero h1 { max-width: 12ch; font-size: clamp(4rem, 10.5vw, 10.5rem); font-weight: 500; line-height: .84; letter-spacing: -.075em; }
.scroll-link { align-self: flex-end; margin-top: 2rem; font-size: .72rem; letter-spacing: .08em; }
.scroll-link span { display: inline-block; margin-left: .65rem; animation: nudge 1.7s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(.4rem); } }

.section-label { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; padding: 1.1rem var(--pad); border-top: 1px solid var(--line); font-size: .7rem; letter-spacing: .07em; }
.services { background: var(--bg); }
.services-intro { min-height: 115svh; display: flex; align-items: center; padding: 8rem var(--pad); }
.services-intro h2 { max-width: 15ch; font-size: clamp(3.5rem, 8vw, 8.6rem); font-weight: 500; line-height: .91; letter-spacing: -.065em; }
.light-word { color: var(--dim); transition: color .52s cubic-bezier(.2,.75,.2,1), text-shadow .52s ease; }
.light-word.is-lit { color: var(--bright); text-shadow: 0 0 1.5rem rgba(255,255,255,.06); }

.service-list { border-top: 1px solid var(--line); }
.service-list article { min-height: 54svh; display: grid; grid-template-columns: 1fr 3fr 2fr; align-items: start; gap: 1rem; padding: 1.15rem var(--pad) 3rem; border-bottom: 1px solid var(--line); }
.service-list article > * { min-width: 0; }
.service-number { color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.service-list h3 { align-self: center; max-width: 11ch; font-size: clamp(3rem, 7.5vw, 8rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.service-list p { align-self: end; max-width: 35rem; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.45; }

.cases { background: var(--bg); }
.cases-intro { min-height: 100svh; display: flex; align-items: center; padding: 8rem var(--pad); }
.cases-intro h2 { max-width: 14ch; font-size: clamp(3.5rem, 8vw, 8.6rem); font-weight: 500; line-height: .91; letter-spacing: -.065em; }
.case-list { border-top: 1px solid var(--line); }
.case-row { min-height: 34svh; display: grid; grid-template-columns: 1fr 3fr 1.5fr 2rem; align-items: center; gap: 1rem; padding: 1.4rem var(--pad); border-bottom: 1px solid var(--line); transition: background-color .35s ease, color .35s ease; }
.case-row > * { min-width: 0; }
.case-number, .case-domain, .case-name p { color: var(--muted); font-size: .72rem; letter-spacing: .065em; text-transform: uppercase; transition: color .35s ease; }
.case-name h3 { font-size: clamp(3.3rem, 7.5vw, 8rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.case-name p { margin-top: 1rem; }
.case-domain { align-self: end; padding-bottom: .2rem; }
.case-arrow { position: relative; width: 1rem; height: 1rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transition: transform .35s ease; }
.case-arrow::after { content: ""; position: absolute; top: -.5px; right: -.5px; width: 1.25rem; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.case-row:hover { background: var(--accent); color: #080808; }
.case-row:hover .case-number, .case-row:hover .case-domain, .case-row:hover .case-name p { color: #080808; }
.case-row:hover .case-arrow { transform: translate(.35rem, -.35rem); }

.contact { min-height: 100svh; display: flex; flex-direction: column; background: var(--bright); color: #080808; }
.contact .section-label { border-color: #cacac5; }
.contact .light-word { color: #c5c5c0; }
.contact .light-word.is-lit { color: #080808; text-shadow: none; }
.contact-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--pad); }
.contact h2 { max-width: 12ch; font-size: clamp(4rem, 10vw, 10rem); font-weight: 500; line-height: .84; letter-spacing: -.075em; }
.contact-cta { width: fit-content; margin-top: 4rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; font-size: .78rem; letter-spacing: .07em; }
.contact-cta .cta-arrow { position: relative; display: inline-block; width: .8rem; height: .8rem; margin-left: 1rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transition: transform .3s ease; }
.contact-cta .cta-arrow::after { content: ""; position: absolute; top: -.5px; right: -.5px; width: 1rem; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.contact-cta:hover .cta-arrow { transform: translate(.3rem, -.3rem); }
.contact-details { display: grid; grid-template-columns: 1.25fr 1fr .8fr 1.4fr; gap: 1rem; padding: 1rem var(--pad) 1.5rem; border-top: 1px solid #cacac5; font-size: .72rem; letter-spacing: .055em; }
.contact-details p { text-align: right; }

footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; padding: 1.25rem var(--pad) 2rem; background: var(--accent); color: #080808; font-size: .7rem; letter-spacing: .06em; }
footer a { justify-self: end; }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > p { display: none; }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { min-height: 92svh; padding-top: 6rem; }
  .hero-kicker { top: 6rem; max-width: 25ch; line-height: 1.45; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 7rem); }
  .hero-video { object-position: 50% center; }
  .services-intro { min-height: 95svh; padding: 6rem var(--pad); }
  .services-intro h2 { font-size: clamp(3.2rem, 12.5vw, 6rem); }
  main, section, footer { width: 100%; max-width: 100%; }
  .service-list article { min-height: 65svh; grid-template-columns: 2.25rem minmax(0, 1fr); }
  .service-list h3 { grid-column: 2; max-width: 100%; font-size: clamp(2.75rem, 10vw, 5rem); overflow-wrap: normal; }
  .service-list p { grid-column: 2; }
  .cases-intro { min-height: 90svh; padding: 6rem var(--pad); }
  .cases-intro h2 { font-size: clamp(3.2rem, 12.5vw, 6rem); }
  .case-row { min-height: 44svh; grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem; align-items: start; }
  .case-name { grid-column: 2; align-self: center; }
  .case-name h3 { font-size: clamp(2.75rem, 10vw, 5rem); overflow-wrap: anywhere; }
  .case-domain { grid-column: 2; align-self: end; }
  .case-arrow { grid-column: 3; grid-row: 1; justify-self: end; }
  .contact h2 { font-size: clamp(3.8rem, 15vw, 7rem); }
  .contact-details { grid-template-columns: 1fr; gap: .65rem; }
  .contact-details p { margin-top: 1rem; text-align: left; }
}

@media (max-width: 480px) {
  .section-label { grid-template-columns: 3rem 1fr; }
  .hero-kicker { font-size: .64rem; }
  .hero h1 { font-size: 15.8vw; }
  .service-list article { min-height: 58svh; padding-bottom: 2rem; }
  footer { grid-template-columns: 1fr 1fr; }
  footer span:nth-child(2) { display: none; }
}

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