:root {
  --blue: #002fa7;
  --ink: #141414;
  --paper: #ffffff;
  --line: rgba(20, 20, 20, 0.18);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border: 1px solid var(--blue);
  background: var(--paper);
  color: var(--blue);
  font-size: 0.75rem;
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--gutter);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-brand {
  justify-self: start;
}

.main-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 3rem);
}

.main-nav a,
.header-brand,
.language-switcher button,
.site-footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.header-brand:hover,
.site-footer a:hover {
  color: var(--blue);
}

.language-switcher {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.42rem;
}

.language-switcher button {
  border: 0;
  padding: 0.2rem 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  opacity: 0.35;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  color: var(--blue);
  opacity: 1;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--gutter) 6rem;
  text-align: center;
}

.hero-mark-wrap {
  width: clamp(13rem, 23vw, 21rem);
  aspect-ratio: 1;
  animation: breathe 9s ease-in-out infinite;
  will-change: transform;
}

.hero-mark {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(14%) sepia(94%)
    saturate(4364%) hue-rotate(226deg) brightness(75%) contrast(132%);
  object-fit: contain;
}

.hero h1 {
  margin: clamp(1.8rem, 4vh, 3rem) 0 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  border-bottom: 1px solid var(--blue);
  padding: 0 0 0.6rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 220ms ease;
}

.hero-cta:hover {
  gap: 3.75rem;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.presentation {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr);
  gap: clamp(2rem, 8vw, 9rem);
  min-height: 100vh;
  padding: clamp(7rem, 13vw, 13rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-index {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.75rem;
  color: var(--blue);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index span:first-child {
  opacity: 0.5;
}

.presentation-content {
  width: min(100%, 57rem);
}

.presentation h2 {
  margin: 0 0 clamp(4rem, 10vw, 8rem);
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.presentation-copy {
  width: min(100%, 47rem);
  margin-left: auto;
}

.presentation-copy p {
  margin: 0 0 2.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.52;
}

.presentation-copy p:first-child {
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr);
  gap: clamp(2rem, 8vw, 9rem);
  min-height: 78vh;
  padding: clamp(6rem, 11vw, 10rem) var(--gutter);
  border-top: 1px solid var(--blue);
  background: var(--paper);
  color: var(--blue);
}

.section-index-light {
  color: var(--blue);
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact h2 {
  max-width: 10ch;
  margin: 0 0 7rem;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--blue);
  padding-top: 1rem;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  letter-spacing: -0.01em;
  transition: opacity 180ms ease;
}

.contact-links a:hover {
  opacity: 0.62;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 1.75rem var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer span:nth-child(2) {
  justify-self: center;
}

.site-footer a {
  justify-self: end;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1) skew(0deg, 0deg);
  }
  35% {
    transform: scale(1.012, 0.992) skew(-0.18deg, 0.08deg);
  }
  68% {
    transform: scale(0.994, 1.009) skew(0.14deg, -0.1deg);
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 2rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 1.4rem;
    padding-top: 1.4rem;
  }

  .header-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
  }

  .hero {
    padding-top: 10rem;
  }

  .scroll-cue {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .presentation,
  .contact {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .presentation h2 {
    margin-bottom: 4rem;
  }

  .presentation-copy {
    margin-left: 0;
  }

  .contact {
    min-height: 85vh;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    font-size: 0.61rem;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .hero-mark-wrap {
    width: min(58vw, 14.5rem);
  }

  .hero-cta {
    gap: 2.25rem;
  }

  .presentation,
  .contact {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .presentation h2,
  .contact h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .presentation-copy p {
    font-size: 1rem;
  }

  .presentation-copy p:first-child {
    font-size: 1.65rem;
  }

  .contact h2 {
    margin-bottom: 5rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-mark-wrap {
    transform: none;
  }
}
