@font-face {
  font-family: "Momo Trust Display";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/momo-trust-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Momo Trust Display";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/momo-trust-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #000;
  --paper: #fff;
  --gutter: clamp(20px, 3.4vw, 44px);
  --display: "Momo Trust Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  outline-offset: 6px;
}

.logo img {
  display: block;
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav-link {
  padding: 6px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  outline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
}

.nav-link:hover,
.nav-link:active {
  opacity: 0.55;
}

.nav-link:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--ink);
}

main {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--gutter);
  padding-top: 0;
  overflow: hidden;
}

main.center {
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  pointer-events: none;
  text-align: center;
}

.contact {
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-wrap: pretty;
  pointer-events: auto;
  animation: rise-in 900ms cubic-bezier(0.22, 0.72, 0.24, 1) 120ms both;
}

.contact a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  outline-offset: 3px;
}

.contact a:hover {
  opacity: 0.55;
}

.contact a:focus-visible {
  outline: 2px solid var(--ink);
}

.statement {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.25rem, 5.6vw, 6rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-align: left;
  text-wrap: balance;
  animation: rise-in 900ms cubic-bezier(0.22, 0.72, 0.24, 1) 120ms both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(0.4em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .logo img { height: 19px; }
  .nav-link { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .statement,
  .contact { animation: none; }
}
