@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page-bg: #ffffff;
  --page-fg: #0b0b0b;
  --muted-fg: rgb(11 11 11 / 62%);
  --line: rgb(11 11 11 / 16%);
  --surface: rgb(255 255 255 / 82%);
  --hover: rgb(11 11 11 / 5%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page-bg);
  color: var(--page-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #080808;
    --page-fg: #f5f5f5;
    --muted-fg: rgb(245 245 245 / 64%);
    --line: rgb(245 245 245 / 18%);
    --surface: rgb(8 8 8 / 82%);
    --hover: rgb(245 245 245 / 8%);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

body {
  min-height: 100svh;
  margin: 0;
  background: var(--page-bg);
  color: var(--page-fg);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  translate: 0 -200%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--page-bg);
  text-decoration: none;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1rem, 2.4vw, 2rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.contact-line {
  display: flex;
  gap: 0.38em;
  margin: 0;
  color: var(--muted-fg);
  font-size: 0.82rem;
  font-weight: 330;
  white-space: nowrap;
}

.contact-line a {
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--page-fg);
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-picker select {
  appearance: none;
  width: 3.1rem;
  min-width: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.46rem 0.5rem;
  background: transparent;
  color: var(--page-fg);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.language-picker select:hover {
  background: var(--hover);
}

.language-picker select:focus-visible,
.primary-link:focus-visible,
.brand:focus-visible,
.contact-line a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.page-shell {
  width: min(100%, 92rem);
  margin: 0 auto;
  padding: clamp(8.5rem, 15vh, 12rem) clamp(1.25rem, 6vw, 6rem) 4rem;
}

.hero {
  display: flex;
  min-height: min(68svh, 52rem);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 clamp(1.5rem, 4vw, 3rem);
  color: var(--muted-fg);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 420;
  letter-spacing: 0.06em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 8.4rem);
  font-weight: 210;
  letter-spacing: -0.062em;
  line-height: 0.94;
}

.lead {
  max-width: 47rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: var(--muted-fg);
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  font-weight: 310;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 2.2rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 470;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.primary-link:hover {
  background: var(--hover);
}

.principle {
  max-width: 58rem;
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
  color: var(--muted-fg);
  font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  font-weight: 260;
  line-height: 1.3;
}

.site-footer {
  display: flex;
  width: min(100%, 92rem);
  margin: 0 auto;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 6vw, 6rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-weight: 330;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 42rem) {
  .site-header {
    gap: 1rem;
  }

  .contact-line span {
    display: none;
  }

  .page-shell {
    padding-top: 7.5rem;
  }

  .hero {
    min-height: 70svh;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 28rem) {
  .contact-line {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }
}
