:root {
  --bg: #f4f4f1;
  --ink: #0d0d0d;
  --muted: rgba(13, 13, 13, 0.56);
  --line: rgba(13, 13, 13, 0.12);
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, min-height 220ms ease, backdrop-filter 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  pointer-events: none;
  transition: opacity 220ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  color: var(--ink);
  background: rgba(244, 244, 241, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.site-header.is-menu-open,
.site-header:has(.primary-nav.is-open) {
  background: rgba(244, 244, 241, 0.66);
  color: var(--ink);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled::before,
.site-header.is-menu-open::before,
.site-header:has(.primary-nav.is-open)::before {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 14px;
  font-weight: 620;
}

.primary-nav a,
.footer-nav a,
.footer-social a,
.nav-action,
.nav-language-mobile {
  position: relative;
  line-height: 1;
}

.primary-nav a::after,
.footer-nav a::after,
.footer-social a::after,
.nav-action::after,
.nav-language-mobile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.footer-nav a:hover::after,
.footer-social a:hover::after,
.nav-action:hover::after,
.nav-language-mobile:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action,
.nav-language-mobile {
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-language-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 0;
  place-items: center;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

main {
  min-height: 100svh;
}

.image-panel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #111;
}

.image-panel--first::after,
.image-panel--copy::after,
.placeholder-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.image-panel img {
  display: block;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  object-position: center;
  animation: imageIn 900ms ease both;
}

.placeholder-panel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #111;
}

.placeholder-panel img {
  display: block;
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  object-fit: cover;
  object-position: center;
  animation: imageIn 900ms ease both;
}

.placeholder-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 8vw, 110px);
  bottom: clamp(72px, 14svh, 140px);
  max-width: min(720px, 82vw);
  color: #fff;
  animation: copyInPlain 760ms 180ms ease both;
}

.placeholder-copy p {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 650;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
}

.placeholder-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 720;
  line-height: 0.96;
  letter-spacing: 0;
}

.placeholder-home {
  display: inline-flex;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
}

.image-panel--first img {
  object-position: center center;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 8vw, 110px);
  top: 85%;
  max-width: min(860px, 86vw);
  color: #fff;
  transform: translateY(-50%);
  animation: copyIn 760ms 180ms ease both;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: clamp(16px, 1.45vw, 30px);
  font-weight: 560;
  line-height: 1.32;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(260px, 1.4fr) minmax(180px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 42px clamp(20px, 4vw, 56px) 52px;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 13px;
}

.footer-filings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}

.footer-filings a {
  color: var(--muted);
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: 14px;
  font-weight: 620;
}

.footer-social {
  justify-content: flex-end;
}

@keyframes imageIn {
  from {
    opacity: 0;
    transform: scale(1.018);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 14px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes copyInPlain {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 14px 18px;
  }

  .menu-toggle {
    display: grid;
    order: 3;
  }

  .nav-action {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    display: grid;
    gap: 0;
    justify-items: start;
    padding: 12px 18px 18px;
    color: var(--ink);
    background: rgba(244, 244, 241, 0.68);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a,
  .nav-language-mobile {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
  }

  .nav-language-mobile {
    display: block;
    justify-self: stretch;
    text-align: left;
  }

  .image-panel,
  .image-panel img {
    min-height: 82svh;
    height: 82svh;
  }

  .image-panel--first::after,
  .image-panel--copy::after,
  .placeholder-panel::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.5));
  }

  .placeholder-panel,
  .placeholder-panel img {
    min-height: 100svh;
    height: 100svh;
  }

  .placeholder-copy {
    left: 18px;
    right: 18px;
    bottom: 12svh;
    max-width: none;
  }

  .placeholder-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 12svh;
    max-width: none;
    transform: none;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.08;
  }

  .hero-copy p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.35;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 18px 42px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
