:root {
  --bg: #060606;
  --text: #f1eadf;
  --muted: #b8ab98;
  --line: rgba(241, 234, 223, 0.14);
  --glow: rgba(173, 138, 88, 0.08);
  --page-width: 58rem;
  --body-copy-width: 36rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding: clamp(0.9rem, 2.4vw, 2rem);
  background:
    radial-gradient(circle at top, var(--glow), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

.js body {
  opacity: 0;
}

.js body.is-ready {
  opacity: 1;
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js body.is-leaving {
  opacity: 0;
  transition: opacity 420ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    transparent 24%,
    transparent 76%,
    rgba(0, 0, 0, 0.35)
  );
}

body::after {
  content: "";
  position: fixed;
  inset: -12% auto auto 52%;
  width: min(42vw, 34rem);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(173, 138, 88, 0.08), transparent 70%);
  filter: blur(64px);
  opacity: 0.22;
  transform: translate3d(0, 0, 0);
  animation: ambient-drift 28s ease-in-out infinite alternate;
}

.landing,
.page-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  flex: 1 0 auto;
  margin: 0 auto;
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.75rem, 10vh, 6.5rem) 0 clamp(1.2rem, 4vh, 2rem);
}

.page-wrap {
  padding-bottom: 3rem;
}

.landing-copy {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.55rem;
  max-width: min(100%, 38rem);
  align-items: start;
}

a {
  color: inherit;
}

.page-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-bottom: 2.3rem;
}

.page-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 260ms ease;
}

.page-nav a:hover,
.page-nav a:focus-visible,
.page-nav a[aria-current="page"] {
  color: var(--text);
}

h1 {
  margin: 0;
  font-family: "GFS Didot", Georgia, serif;
  font-weight: 400;
}

h2 {
  margin: 0;
  font-family: "GFS Didot", Georgia, serif;
  font-weight: 400;
}

.wordmark {
  font-size: clamp(2rem, 8.2vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0.035em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.page-title {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5.2vw, 3.45rem);
  line-height: 1.03;
  text-wrap: balance;
}

.section-title {
  max-width: 14ch;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.lead {
  margin: 0;
  color: var(--text);
  font-family: "GFS Didot", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.45;
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-copy {
  max-width: 46rem;
}

.page-section {
  scroll-margin-top: 2rem;
}

.section-break {
  margin-top: 5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.statement {
  margin-top: 1.25rem;
  color: var(--text);
  font-family: "GFS Didot", Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.4;
  max-width: 26rem;
}

.body-copy {
  max-width: var(--body-copy-width);
  display: grid;
  gap: 0.9rem;
  margin-top: 1.45rem;
  align-items: start;
}

.body-copy p {
  margin: 0;
}

.body-copy .contact {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.mission-copy {
  max-width: var(--body-copy-width);
}

.contact {
  display: inline-block;
  margin-top: 1.6rem;
  max-width: 100%;
  justify-self: start;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: border-color 260ms ease;
}

.contact:hover,
.contact:focus-visible {
  border-bottom-color: var(--text);
}

.locations {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-mark {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.03);
  }
}

@media (max-width: 900px) {
  .landing,
  .page-wrap,
  .site-footer {
    width: 100%;
  }

  .page-nav {
    justify-content: flex-start;
    margin-bottom: 1.6rem;
  }

  .page-title {
    max-width: 12ch;
    font-size: clamp(2.1rem, 6.5vw, 3rem);
  }

  .section-title {
    max-width: 14ch;
    font-size: clamp(1.65rem, 4.8vw, 2.1rem);
  }

  .lead {
    max-width: 28rem;
  }

  .page-copy,
  .body-copy,
  .mission-copy {
    max-width: 100%;
  }

  .landing-copy {
    max-width: min(100%, 32rem);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .footer-mark {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .landing,
  .page-wrap,
  .site-footer {
    width: 100%;
  }

  .page-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
  }

  .landing {
    padding-top: 1.1rem;
  }

  .home .landing {
    align-items: center;
    text-align: center;
  }

  .page-wrap {
    padding-bottom: 2rem;
  }

  .wordmark {
    letter-spacing: 0.028em;
  }

  .page-title {
    max-width: 17rem;
    font-size: clamp(1.62rem, 7.2vw, 1.95rem);
    line-height: 1.02;
  }

  .section-title {
    max-width: 15.5rem;
    font-size: clamp(1.18rem, 5.9vw, 1.42rem);
    line-height: 1.1;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.42;
    max-width: 22rem;
  }

  p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .statement {
    font-size: 1rem;
    line-height: 1.34;
    max-width: 18rem;
  }

  .landing-copy {
    gap: 1.1rem;
    margin-top: 1.2rem;
  }

  .home .landing-copy {
    justify-items: center;
  }

  .body-copy,
  .mission-copy {
    max-width: 100%;
    gap: 0.75rem;
    margin-top: 1.05rem;
  }

  .section-break {
    margin-top: 2.6rem;
    padding-top: 1.85rem;
  }

  .contact {
    display: grid;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .home .page-nav {
    justify-content: center;
  }

  .home .lead,
  .home .locations {
    text-align: center;
  }

  .site-footer {
    padding-top: 0.9rem;
  }

  .home .site-footer {
    align-items: center;
  }

  .copyright,
  .footer-mark {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .footer-mark {
    text-align: left;
  }

  .home .footer-mark,
  .home .copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-nav {
    gap: 0.75rem;
    margin-bottom: 1.15rem;
  }

  .wordmark {
    letter-spacing: 0.022em;
  }

  .lead {
    max-width: 18rem;
  }

  .page-title {
    max-width: 16.5rem;
    font-size: clamp(1.42rem, 7vw, 1.66rem);
  }

  .section-title {
    max-width: 15rem;
    font-size: clamp(1rem, 5.8vw, 1.18rem);
    line-height: 1.12;
  }

  .statement {
    max-width: 16.5rem;
  }

  .locations {
    font-size: 0.74rem;
    letter-spacing: 0.13em;
  }

  .landing-copy {
    gap: 0.95rem;
  }

  .contact {
    font-size: 0.86rem;
  }

  .copyright,
  .footer-mark {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js body,
  .js body.is-ready,
  .js body.is-leaving {
    opacity: 1;
    transition: none;
  }

  body::after {
    animation: none;
  }

  .page-nav a,
  .contact {
    transition: none;
  }
}
