:root {
  --bg: #070708;
  --ink: #f4f1ea;
  --muted: #b7b2a8;
  --line: rgba(244, 241, 234, 0.16);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --header: 4.5rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vh auto auto -10vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(244, 241, 234, 0.09), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
ol,
ul {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.8rem;
  z-index: 5;
}

.skip:focus {
  transform: none;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.85rem 6vw;
  background: rgba(7, 7, 8, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin-right: auto;
}

.logo__kicker {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo__name {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a,
.header__cta,
.text-link {
  font-size: 0.92rem;
}

.nav a:hover,
.text-link:hover,
.work a:hover strong,
.contact__list a:hover {
  color: #fff;
}

.header__cta {
  border: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.hero,
.block,
.contact,
.footer {
  padding: 4.5rem 6vw;
}

.block,
.contact {
  scroll-margin-top: var(--header);
}

.hero {
  padding-top: 4rem;
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
}

.eyebrow,
.index,
.work__meta,
.services__n,
.steps span,
.work__n {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
.logo__name,
.work strong,
.services strong,
.steps strong {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: none;
  font-size: clamp(2.15rem, 11.5vw, 7.2rem);
  line-height: 0.86;
  font-weight: 800;
}

.hero__solid,
.hero__stroke {
  display: block;
  white-space: nowrap;
}

.hero__stroke {
  color: transparent;
  -webkit-text-stroke: 0.018em var(--ink);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  max-width: 16ch;
}

.hero__grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 2rem 4rem;
  align-items: end;
}

.hero__lead,
.split p,
.steps p,
.work a span,
.services .service span span,
.contact__lead {
  color: var(--muted);
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.button:hover {
  background: #fff;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
}

.hero__line {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  max-width: 22ch;
}

.rule {
  height: 2px;
  margin: 0 6vw;
  background: linear-gradient(90deg, transparent, #f4f1ea 50%, transparent);
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  margin-top: 1.5rem;
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 0.85rem 0;
}

.marquee p {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
}

.js:not(.reduce) .marquee__track {
  animation: drift 28s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

.block + .block,
.contact {
  border-top: 1px solid var(--line);
}

.index {
  margin-bottom: 1.25rem;
}

.split {
  align-items: start;
}

.split p {
  padding-top: 0.45rem;
}

.services,
.work,
.steps,
.contact__list {
  list-style: none;
  padding: 0;
}

.services {
  margin-top: 2.5rem;
}

.services .service,
.work a,
.contact__list a {
  display: grid;
  gap: 0.8rem 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.work a,
.contact__list a {
  transition: color 400ms var(--ease), transform 400ms var(--ease);
}

.services .service {
  grid-template-columns: 4rem 1fr;
  align-items: center;
}

.work a:hover {
  transform: translateX(8px);
}

.services strong,
.steps strong,
.work strong {
  display: block;
  color: var(--ink);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.work a {
  min-height: 0;
  align-content: start;
  border: 1px solid var(--line);
  padding: 0 0 1.25rem;
  overflow: hidden;
  background: #0c0c0e;
}

.work img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #111;
}

.work a:hover {
  transform: translateY(-6px);
}

.work__n,
.work__meta,
.work a strong,
.work a > span:last-child {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.work__n {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  line-height: 1;
  margin-top: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact__list {
  margin-top: 2rem;
}

.contact__list a {
  grid-template-columns: 9rem 1fr;
  align-items: baseline;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.contact__list span {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__phrase {
  color: var(--ink);
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 14ch;
}

:focus-visible {
  outline: 2px solid #f4f1ea;
  outline-offset: 3px;
}

.js:not(.reduce) .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js:not(.reduce) .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .work a {
    transition: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .work,
  .steps,
  .contact__list a,
  .services .service {
    grid-template-columns: 1fr;
  }

  .work a {
    min-height: 0;
  }

  .footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header {
    flex-wrap: wrap;
  }

  .header__cta {
    flex: 1 0 100%;
    text-align: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 6vw 1rem;
    background: rgba(7, 7, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  h1 {
    max-width: none;
  }
}
