:root {
  --nia-ivory: #f7f5f2;
  --nia-sand: #ede2da;
  --nia-taupe: #c8baa6;
  --nia-mocha: #8a6d58;
  --nia-charcoal: #1f1f1f;
  --nia-coral: #e06b5a;
  --nia-border: rgb(31 31 31 / 10%);
  --font-sans: "Instrument Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  min-width: 20rem;
  background: var(--nia-ivory);
  color: var(--nia-charcoal);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100svh;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  translate: 0 -200%;
  border-radius: 0.5rem;
  background: var(--nia-charcoal);
  color: var(--nia-ivory);
  font-size: 0.875rem;
  text-decoration: none;
  transition: translate 180ms ease-out;
}

.skip-link:focus {
  translate: 0;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 4.5rem) clamp(1.25rem, 5vw, 6rem)
    clamp(1.25rem, 3vw, 3rem);
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 61.5%;
  border-left: 1px solid var(--nia-border);
  background: var(--nia-sand);
  content: "";
}

.site-header,
.hero,
.site-footer {
  width: min(100%, 100rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  width: clamp(8.25rem, 12vw, 11.5rem);
  height: auto;
}

.site-address {
  margin: 0.2rem 0 0;
  color: var(--nia-mocha);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(18rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 10rem);
  padding-block: clamp(5rem, 12vh, 10rem);
}

.hero-intro,
.hero-message {
  animation: enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-message {
  animation-delay: 120ms;
}

.eyebrow {
  margin: 0 0 clamp(1.75rem, 4vh, 3.5rem);
  font-size: clamp(0.7rem, 0.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.75rem, 8.4vw, 9rem);
  font-stretch: 88%;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.89;
  text-wrap: balance;
}

h1 em {
  color: var(--nia-coral);
  font-style: normal;
}

.hero-message {
  align-self: end;
  max-width: 31rem;
  padding-bottom: clamp(0.25rem, 4vh, 3rem);
}

.lede {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.45;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: clamp(2.5rem, 6vh, 5rem) 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--nia-coral);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: clamp(1rem, 3vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--nia-border);
}

.site-footer p {
  margin: 0;
  color: var(--nia-mocha);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 56rem) {
  .page-shell::before {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(4rem, 9vh, 7rem);
    padding-block: clamp(4rem, 9vh, 7rem);
  }

  .hero-message {
    position: relative;
    isolation: isolate;
    justify-self: end;
    max-width: min(86%, 31rem);
    padding-bottom: 0;
  }

  .hero-message::before {
    position: absolute;
    z-index: -1;
    inset: -2.5rem -100vw -100svh;
    border-top: 1px solid var(--nia-border);
    background: var(--nia-sand);
    content: "";
  }
}

@media (max-width: 35rem) {
  .page-shell {
    padding: 1.4rem 1.25rem 1.25rem;
  }

  .site-header {
    align-items: center;
  }

  .wordmark {
    width: 7.5rem;
  }

  .site-address {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero {
    gap: clamp(3.5rem, 10vh, 5rem);
    padding-block: clamp(3.75rem, 9vh, 5rem);
  }

  .eyebrow {
    margin-bottom: 1.5rem;
    font-size: 0.64rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 17vw, 5.2rem);
    line-height: 0.9;
  }

  .hero-message {
    justify-self: start;
    max-width: 94%;
  }

  .lede {
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .status {
    margin-top: 2rem;
  }

  .site-footer {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-footer p {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
