.landing-header {
  --landing-header-top: clamp(22px, 3vw, 46px);
  --landing-header-inline: 4.2vw;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: var(--landing-header-top) var(--landing-header-inline);
  z-index: 20;
}

.landing-header .wordmark {
  font-size: clamp(34px, 4vw, 46px);
  gap: 8px;
  text-shadow: 0 2px 16px #0009;
}

.landing-header .wordmark span { font-size: clamp(17px, 1.8vw, 21px); }
.site-menu {
  --menu-ink: #0b0d10;
  position: fixed;
  top: var(--landing-header-top);
  right: var(--landing-header-inline);
}

.menu-toggle {
  display: grid;
  place-content: center;
  justify-items: end;
  gap: 7px;
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 50%;
  list-style: none;
  cursor: pointer;
}

.site-menu:is(.is-scrolled, [open]) .menu-toggle {
  color: var(--menu-ink);
  background: #f4f7fbe8;
  border: 1px solid #fffc;
  box-shadow: inset 0 1px 0 #fff9, 0 5px 16px #15192729;
}

.site-menu:is(.is-scrolled, [open]) .menu-toggle span { box-shadow: none; }
.menu-toggle::-webkit-details-marker { display: none; }
.menu-toggle::marker { content: ""; }
.menu-toggle:focus-visible { outline: 2px solid #d4b77c; outline-offset: 3px; }

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 1px 8px #000a;
  transition: transform .25s ease, width .25s ease;
}

.menu-toggle span:last-child { width: 20px; }
.site-menu[open]:is(.is-revealed, :not(.is-enhanced)) .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.site-menu[open]:is(.is-revealed, :not(.is-enhanced)) .menu-toggle span:last-child { width: 28px; transform: translateY(-4.5px) rotate(-45deg); }

.site-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, 88vw);
  z-index: 0;
  color: var(--menu-ink);
}

.site-menu-content {
  max-height: calc(100svh - var(--landing-header-top) - 98px);
  overflow: auto;
  padding: 18px 24px;
}

.site-menu-panel::before {
  --menu-feather: radial-gradient(ellipse closest-side at 52% 48%,
    #000 55%, #000000f7 63%, #000000db 70%, #00000091 81%,
    #00000038 91%, #0000000e 97%, transparent 100%);
  content: "";
  position: absolute;
  inset: -96px -152px -136px -168px;
  z-index: -1;
  pointer-events: none;
  background: #f4f7fbe0;
  -webkit-mask-image: var(--menu-feather);
  mask-image: var(--menu-feather);
  transform-origin: top;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-menu:is(.is-scrolled, [open]) .menu-toggle {
    background: #f4f7fba3;
    -webkit-backdrop-filter: blur(12px) saturate(145%);
    backdrop-filter: blur(12px) saturate(145%);
  }

  .site-menu-panel::before {
    background: #f4f7fb49;
    -webkit-backdrop-filter: blur(12px) saturate(115%) contrast(52%) brightness(130%);
    backdrop-filter: blur(12px) saturate(115%) contrast(52%) brightness(130%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) .site-menu.is-enhanced .site-menu-panel::before {
    opacity: 0;
    transform: translateY(-12px) scaleY(.88);
    transition: opacity .27s ease-in, transform .27s ease-in;
  }

  html:not(.motion-paused) .site-menu.is-enhanced.is-revealed .site-menu-panel::before {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    transition-duration: .38s;
    transition-timing-function: cubic-bezier(.2, .75, .25, 1);
  }

  html:not(.motion-paused) .site-menu.is-enhanced .site-menu-content :is(nav > a, .site-preferences, .menu-motion) {
    opacity: 0;
    transform: translateY(-9px);
    transition: opacity .23s ease-in, transform .23s ease-in;
  }

  html:not(.motion-paused) .site-menu.is-enhanced.is-revealed .site-menu-content :is(nav > a, .site-preferences, .menu-motion) {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .3s;
    transition-timing-function: ease-out;
    transition-delay: var(--menu-link-delay, 40ms);
  }

  .site-menu-content nav > a:nth-child(2) { --menu-link-delay: 70ms; }
  .site-menu-content nav > a:nth-child(3) { --menu-link-delay: 100ms; }
  .site-menu-content nav > a:nth-child(4) { --menu-link-delay: 130ms; }
  .site-menu-content :is(.site-preferences, .menu-motion) { --menu-link-delay: 155ms; }

  html:not(.motion-paused) .site-menu.is-enhanced.is-revealed .site-menu-content :is(a:focus-visible, button:focus-visible, .site-preferences:focus-within) {
    transition: none;
  }
}

.landing-header .site-menu-panel nav {
  display: grid;
  justify-self: stretch;
  gap: 0;
  margin: 0 0 12px;
}

.landing-header .site-menu-panel nav > a {
  display: flex;
  min-height: 48px;
  padding: 5px 0;
  font-size: clamp(20px, 1.9vw, 24px);
}

.landing-header .site-menu-panel nav > a::after { right: auto; width: 34px; }
.landing-header .site-menu-panel nav > .nav-cta { color: #211708; }

.landing-header .site-menu-panel .site-preferences {
  flex-wrap: wrap;
  justify-content: space-between;
  justify-self: stretch;
  margin: 0;
  padding-top: 10px;
}

.landing-header .site-menu-panel .site-preferences .language-switch { background: #ffffff3d; border-color: #1b202933; }
.menu-motion {
  min-height: 44px;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 8px;
}

.landing-hero { min-height: 0; max-height: none; }
.landing-hero .hero-shade {
  background: linear-gradient(180deg, #0009, transparent 28%),
              radial-gradient(ellipse at 15% 49%, #0008, transparent 70%);
  pointer-events: none;
}

.landing-hero .hero-copy { top: 44%; }
.landing-hero h1 { text-shadow: 0 2px 22px #0008; }

.landing-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6vw, 6.5rem) clamp(2.5rem, 5vw, 4.75rem);
}

.landing-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.45;
}

.landing-intro-block h2 {
  margin: .6rem 0 .75rem;
  color: var(--ink);
  font: 400 clamp(2.25rem, 4.5vw, 4.125rem)/1.04 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.studio-lead {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.9375rem, 1.25vw, 1.0625rem);
  line-height: 1.55;
}
.landing-intro-block .studio-location {
  display: inline-block;
  margin-top: .7rem;
  color: var(--muted);
  font-size: .75rem;
  text-decoration-color: var(--line);
}
.landing-intro-block .studio-location:hover { text-decoration-color: currentColor; }
.studio-person {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.studio-person img {
  flex: none;
  width: clamp(5.5rem, 10vw, 8.5rem);
  height: auto;
  border-radius: 2px;
}
.studio-person h2 {
  margin: .45rem 0 .4rem;
  color: var(--ink);
  font: 400 clamp(1.5rem, 2.6vw, 2.375rem)/1.1 var(--serif);
  letter-spacing: -.03em;
}
.studio-person .studio-lead { max-width: 29ch; }
.project-card-reel { max-width: 20rem; }
.project-card-reel .project-visual {
  height: auto;
  aspect-ratio: 4 / 5;
}

@media (max-width: 700px) {
  .landing-header { --landing-header-inline: 6vw; }
  .site-menu-content { padding-inline: 18px; }
  .site-menu-panel::before { inset-inline: -120px -116px; }
  .landing-hero .hero-copy { top: 43%; }
  .landing-hero .hero-copy h1 { font-size: clamp(32px, 10.7vw, 70px); }
  .landing-studio { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .industry-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
  .industry-tabs button { margin: 0; padding: .85rem 0; text-align: left; }
}

.motion-paused .menu-toggle span { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}
