@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f2f0ea;
  --paper-light: #faf9f5;
  --ink: #17171a;
  --violet: #201b59;
  --blue: #2b47aa;
  --blue-light: #7189cf;
  --line: rgba(23, 23, 26, 0.22);
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --section-space: clamp(6rem, 12vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--blue);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  padding: clamp(1.15rem, 2.5vw, 2rem) var(--gutter);
}

.brand {
  width: clamp(8.8rem, 12vw, 11.5rem);
}

.brand__crop,
.brand__crop img {
  display: block;
  width: 100%;
}

.brand__crop img {
  height: auto;
}

.site-nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  padding-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  position: relative;
}

.site-nav a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 280ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.language-switch button {
  padding: 0.1rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.42;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.language-switch button[aria-pressed="true"] {
  border-color: currentColor;
  opacity: 1;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  opacity: 1;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr);
  align-content: center;
  align-items: start;
  column-gap: clamp(3rem, 7vw, 8rem);
  row-gap: 0;
  padding: clamp(9.5rem, 15vw, 13rem) var(--gutter) clamp(4rem, 7vw, 7rem);
}

.hero__statement {
  min-width: 0;
  max-width: 63rem;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.hero__after {
  grid-column: 1;
  grid-row: 2;
}

.eyebrow,
.detail-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.hero h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.25vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.brand-inline {
  font-weight: 400;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.brand-inline__of {
  font-weight: 100;
}

.hero__lead {
  max-width: 34ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-size: clamp(1.05rem, 1.65vw, 1.55rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.75rem, 5vw, 4.75rem);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link__arrow {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 280ms var(--ease);
}

.text-link:hover .text-link__arrow,
.text-link:focus-visible .text-link__arrow {
  transform: translate(0.22rem, 0.22rem);
}

.hero__visual {
  position: relative;
  width: min(100%, 32rem);
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  margin-bottom: clamp(0.35rem, 0.7vw, 0.7rem);
  animation: hero-in 1.35s 120ms both var(--ease);
}

.hero__image-wrap img {
  width: 100%;
}

.fields {
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) 1fr;
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading h2,
.contact h2 {
  margin: -0.15em 0 0;
  font-size: clamp(2.7rem, 6vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.field-card {
  display: grid;
  min-height: clamp(17rem, 25vw, 23rem);
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 320ms ease, color 320ms ease;
}

.field-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.field-card:hover {
  background: var(--violet);
  color: #fff;
}

.field-card__number {
  padding-top: 0.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.field-card h3 {
  max-width: 24ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.field-card p {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 300;
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) 1fr;
  gap: 0;
  padding: var(--section-space) var(--gutter);
  background: var(--violet);
  color: #fff;
}

.contact__heading .eyebrow {
  margin-bottom: 2rem;
}

.contact h2 {
  display: none;
}

.contact__content {
  min-width: 0;
}

.email-link {
  display: flex;
  max-width: 66rem;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: clamp(1.15rem, 2.8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.email-link span:last-child {
  flex: 0 0 auto;
  transition: transform 280ms var(--ease);
}

.email-link:hover span:last-child,
.email-link:focus-visible span:last-child {
  transform: translate(0.25rem, -0.25rem);
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.address-grid .detail-label {
  margin-bottom: 1.2rem;
  color: var(--blue-light);
}

.address-grid address,
.address-grid a {
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
}

.address-grid a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  background: var(--violet);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.reveal-ready .reveal {
  transform: translateY(2rem);
  opacity: 0;
  transition: transform 850ms var(--ease), opacity 700ms ease;
}

.reveal-ready .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes hero-in {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .language-switch {
    position: absolute;
    top: clamp(1.15rem, 2.5vw, 2rem);
    right: var(--gutter);
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
    column-gap: 3rem;
  }

  .section-heading,
  .contact {
    grid-template-columns: minmax(9rem, 0.34fr) 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 6rem;
  }

  html {
    scroll-padding-top: 6rem;
  }

  .brand {
    width: 7.8rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-top: 9.5rem;
  }

  .hero__statement,
  .hero__after,
  .hero__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .hero h1 {
    max-width: none;
    overflow-wrap: break-word;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    hyphens: auto;
  }

  .hero__lead {
    max-width: 28ch;
  }

  .hero__visual {
    width: min(78vw, 25rem);
    justify-self: center;
    margin-top: 5rem;
    margin-right: 4vw;
    margin-bottom: 0;
  }

  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    margin-bottom: 2rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-card {
    min-height: 16rem;
    grid-template-columns: 2.75rem 1fr;
    padding: 1.5rem 0;
  }

  .field-card:nth-child(odd) {
    border-right: 0;
  }

  .field-card:hover {
    background: transparent;
    color: inherit;
  }

  .contact__heading {
    margin-bottom: 3rem;
  }

  .address-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .email-link {
    font-size: 1rem;
    letter-spacing: -0.035em;
  }

  .site-footer {
    align-items: flex-end;
  }

  .site-footer p {
    max-width: 16ch;
  }
}

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

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