:root {
  --paper: #eceae7;
  --paper-raised: #f4f2ee;
  --ink: #0c0c0b;
  --muted: rgba(12, 12, 11, 0.62);
  --faint: rgba(12, 12, 11, 0.42);
  --line: rgba(12, 12, 11, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(236, 234, 231, 0.72), rgba(236, 234, 231, 0.72)),
    url("./assets/paper.png");
  background-repeat: repeat;
  background-size: auto, 540px 540px;
  color: var(--ink);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell a:hover {
  text-decoration: none;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-shell {
  min-height: 100vh;
  opacity: 1;
  transition: opacity 620ms ease 120ms;
}

.js.is-loading {
  overflow: hidden;
}

.js.is-loading .site-shell {
  opacity: 0;
}

.preloader {
  display: none;
}

.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(236, 234, 231, 0.78), rgba(236, 234, 231, 0.78)),
    url("./assets/paper.png") repeat;
  background-size: auto, 540px 540px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 560ms ease,
    visibility 0s linear 560ms;
}

.js.is-loading .preloader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.preloader__lockup {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.preloader__sigil {
  position: relative;
  width: 112px;
  height: 112px;
  animation: loader-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preloader__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: loader-orbit 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preloader__wordmark,
.preloader__sequence {
  margin: 0;
  font-family: var(--mono);
  letter-spacing: 0.34em;
}

.preloader__wordmark {
  padding-left: 0.34em;
  font-size: clamp(26px, 4vw, 42px);
  animation: loader-rise 800ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preloader__sequence {
  color: var(--muted);
  font-size: 10px;
  animation: loader-rise 800ms 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.22em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a,
.site-footer a,
.button {
  transition: opacity 160ms ease;
}

.site-header nav a:hover,
.site-footer a:hover,
.button:hover {
  opacity: 0.56;
}

.header-cta {
  display: inline-grid;
  min-height: 42px;
  padding: 0 18px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 108px) 0;
  gap: clamp(30px, 4vw, 76px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font: 600 10px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(52px, 6.6vw, 112px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero__lede {
  max-width: 35ch;
  margin: 34px 0 0;
  color: var(--muted);
  font: 400 clamp(17px, 1.45vw, 22px)/1.5 var(--serif);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
}

.hero__art {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  align-content: center;
  gap: 16px;
  min-height: 560px;
  margin: 0;
}

.hero__art > img {
  width: min(92%, 700px);
  margin: auto;
  filter: contrast(1.04);
}

.hero__art figcaption {
  display: flex;
  justify-content: space-between;
  width: min(76%, 560px);
  margin: 0 auto;
  gap: 12px;
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: 0.08em;
}

.approach {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 150px) max(32px, calc((100vw - 1376px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.approach::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(236, 234, 231, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(236, 234, 231, 0.025),
    0 0 0 144px rgba(236, 234, 231, 0.025);
  content: "";
}

.approach .eyebrow {
  color: rgba(236, 234, 231, 0.56);
}

.approach__intro {
  position: relative;
  z-index: 1;
}

.approach h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.approach__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(72px, 9vw, 132px);
  border-top: 1px solid rgba(236, 234, 231, 0.24);
}

.approach article {
  min-height: 260px;
  padding: 26px clamp(20px, 3vw, 46px) 0 0;
}

.approach article + article {
  padding-left: clamp(20px, 3vw, 46px);
  border-left: 1px solid rgba(236, 234, 231, 0.24);
}

.approach article > span {
  color: rgba(236, 234, 231, 0.52);
  font: 500 11px/1 var(--mono);
}

.approach h3 {
  max-width: 12ch;
  margin: 58px 0 14px;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}

.approach article p {
  max-width: 34ch;
  margin: 0;
  color: rgba(236, 234, 231, 0.62);
  font: 400 14px/1.55 var(--mono);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  width: min(1440px, calc(100% - 64px));
  min-height: 220px;
  margin: 0 auto;
  padding: 48px 0;
  gap: 32px;
}

.site-footer__brand {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.22em;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .site-footer__notice {
  justify-self: end;
  margin: 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.site-footer__notice span {
  display: block;
  white-space: nowrap;
}

@keyframes loader-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-orbit {
  from {
    opacity: 0;
    transform: rotate(-28deg) scale(0.84);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@media (max-height: 750px) and (min-width: 981px) {
  .site-header {
    min-height: 67px;
    padding: 12px 0;
  }

  .hero {
    min-height: calc(100svh - 67px);
    padding: 22px 0 26px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.3vw, 72px);
  }

  .hero__lede {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.4;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__art {
    align-self: center;
    min-height: 0;
    gap: 10px;
  }

  .hero__art > img {
    width: auto;
    max-width: 92%;
    max-height: calc(100svh - 150px);
  }

  .hero__art figcaption {
    width: min(76%, calc(100svh - 150px));
    font-size: 8px;
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(calc(100% - 40px), 760px);
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(58px, 12vw, 92px);
  }

  .hero__art {
    grid-column: 1;
    grid-row: 2;
    min-height: auto;
  }

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

  .site-footer .site-footer__notice {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: row;
    gap: 0;
    min-height: 72px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    width: calc(100% - 36px);
    min-height: auto;
    padding: 58px 0 72px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 74px);
  }

  .hero__lede {
    font-size: 18px;
  }

  .hero__art {
    min-height: 420px;
    margin-top: 22px;
  }

  .hero__art figcaption {
    right: 0;
    left: 0;
    font-size: 8px;
  }

  .approach {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .approach article {
    min-height: 0;
    padding: 26px 0 44px;
  }

  .approach article + article {
    padding-left: 0;
    border-top: 1px solid rgba(236, 234, 231, 0.24);
    border-left: 0;
  }

  .approach h3 {
    margin-top: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .site-footer__links {
    flex-wrap: wrap;
  }
}

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

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

