:root {
  color-scheme: dark;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 32% at 14% 18%, rgb(100 127 143 / 0.38), transparent 73%),
    radial-gradient(ellipse 46% 27% at 83% 48%, rgb(47 72 90 / 0.68), transparent 78%),
    radial-gradient(ellipse 72% 46% at 43% 92%, rgb(70 85 93 / 0.54), transparent 75%),
    #111518;
  background-attachment: fixed;
  color: #edf2f3;
  line-height: 1.5;
  text-wrap: pretty;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 15rem 15rem;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.shell {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.site-header {
  background: #0d0d10;
  color: #f6f6f6;
  padding-block: 1rem;
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.wordmark,
.nav-list,
.contact-list,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list,
.contact-list,
.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.wordmark {
  font-family: "Antonio", Impact, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.nav-list {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(48rem, 82svh);
  color: #f6f6f6;
  background:
    radial-gradient(circle at 72% 22%, rgb(239 77 97 / 0.26), transparent 24%),
    radial-gradient(circle at 20% 78%, rgb(73 100 170 / 0.28), transparent 30%),
    #0d0d10;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.62;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  align-content: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.text-content {
  display: grid;
  gap: clamp(3.5rem, 7vw, 7rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.text-block { max-width: 60ch; }

h1,
h2,
h3,
p { margin: 0; }

h1 {
  max-width: 8.2ch;
  font-family: "Antonio", Impact, sans-serif;
  font-size: clamp(4.2rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.02em;
}

h2 {
  font-family: "Antonio", Impact, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stack { display: grid; gap: 0.85rem; }

.hero .text-block { max-width: 52ch; }

.hero .stack { gap: 1rem; }

.hero .stack > p:first-of-type {
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  line-height: 1.55;
}

.hero .stack > p:nth-of-type(2) {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.proof-list,
.practice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list,
.practice-list,
.portfolio-terms { display: grid; gap: 0.55rem; }

.portfolio-terms { max-width: 68ch; }

.hero .proof-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 58rem;
  margin-top: clamp(0.8rem, 2vw, 1.4rem);
  gap: clamp(0.8rem, 2vw, 1.5rem);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.text-content .text-block > p:first-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.text-content .text-block > h2 + p {
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.portfolio-terms {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.practice-list {
  gap: 1.15rem;
  margin-top: 0.55rem;
}

.practice-list li { display: grid; gap: 0.28rem; }

#contact .contact-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.footer-list {
  color: #a9bec5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.media {
  width: min(100% - 2.5rem, 100rem);
  margin: 0 auto clamp(3.5rem, 8vw, 7rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.video-frame {
  width: min(100%, 26rem);
  aspect-ratio: 240 / 426;
  background: #000;
}

.video-frame--landscape {
  width: min(100%, 42rem);
  aspect-ratio: 426 / 240;
}

.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.image-row-viewport {
  width: 100%;
  overflow-x: auto;
}

.image-row {
  width: max-content;
  min-width: 100%;
  margin-inline: auto;
  padding: 0 1.25rem 0.75rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.image-row img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: clamp(12rem, 29vw, 26rem);
  max-width: none;
}

.image-row img.portfolio-image {
  height: clamp(18rem, 37vw, 36rem);
}

@media (max-width: 40rem) {
  .header-inner { align-items: flex-start; }
  .nav-list { gap: 0.35rem 0.75rem; }
  .hero .proof-list { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.8rem, 20vw, 5.7rem); }
  h2 { font-size: clamp(2.25rem, 12vw, 3.6rem); }
}
