:root {
  color-scheme: light;
  --ink: #122019;
  --pine: #0e211a;
  --pine-soft: #17352a;
  --moss: #617466;
  --paper: #f4f0e7;
  --paper-bright: #fbf9f4;
  --gold: #d5a653;
  --line: rgba(18, 32, 25, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--pine);
  overflow-anchor: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pine);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

main,
footer {
  background: var(--paper);
}

.page-panel {
  --fold-progress: 0;
  border-radius: clamp(1.25rem, 2.4vw, 2.25rem) clamp(1.25rem, 2.4vw, 2.25rem) 0 0;
  box-shadow: 0 -1rem 3rem rgba(6, 20, 15, 0.1);
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: clip;
  position: sticky;
  top: 0;
  transform-origin: 50% 0;
}

.motion-ready .page-panel {
  filter: brightness(calc(1 - (var(--fold-progress) * 0.12)));
  transform:
    translateY(calc(var(--fold-progress) * -1.25rem))
    scale(calc(1 - (var(--fold-progress) * 0.035)));
  will-change: transform, filter;
}

.hero {
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
}

.statement {
  z-index: 2;
}

.process {
  z-index: 3;
}

.company {
  z-index: 4;
}

.contact {
  z-index: 5;
}

.page-panel.section-shell {
  max-width: none;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--paper-bright);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.wordmark,
.footer-wordmark {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  gap: 0.75rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-mark {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.58rem;
  height: 2.15rem;
  justify-content: center;
  letter-spacing: 0.05em;
  width: 2.15rem;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

nav a,
.nav-contact {
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-contact {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.hero {
  align-items: flex-end;
  color: #fff;
  display: flex;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(8rem, 18vh, 13rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 9vh, 6.5rem);
  position: sticky;
  top: 0;
}

.hero-image,
.hero-wash {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.055);
  transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .hero.is-landed .hero-image {
  transform: scale(1.015);
}

.hero-wash {
  background:
    linear-gradient(180deg, rgba(5, 19, 15, 0.46) 0%, rgba(5, 19, 15, 0.08) 34%, rgba(5, 19, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 19, 15, 0.58), transparent 65%);
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.motion-ready [data-landing-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.motion-ready .is-landed [data-landing-reveal],
.motion-ready [data-landing-reveal].is-landed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 850ms cubic-bezier(0.17, 0.55, 0.55, 1),
    transform 850ms cubic-bezier(0.17, 0.55, 0.55, 1);
}

.motion-ready .hero-content.is-landed {
  transition-delay: 120ms;
}

.motion-ready .hero-note.is-landed {
  transition-delay: 240ms;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--moss);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(3.6rem, 9vw, 8.4rem);
  line-height: 0.88;
  margin-bottom: 1.6rem;
}

.hero-copy {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--pine);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-light {
  background: var(--paper-bright);
  color: var(--pine);
}

.hero-note {
  bottom: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  margin: 0;
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 1;
}

.section-shell {
  margin: 0 auto;
  max-width: 1320px;
  padding-left: clamp(1.25rem, 6vw, 6rem);
  padding-right: clamp(1.25rem, 6vw, 6rem);
}

.statement {
  align-items: center;
  background: var(--paper);
  display: flex;
  justify-content: center;
  padding-bottom: clamp(5rem, 10vw, 8rem);
  padding-top: clamp(5rem, 10vw, 8rem);
  text-align: center;
}

.statement-copy {
  margin: 0 auto;
  max-width: 940px;
}

.statement h2,
.process-heading h2,
.company h2,
.contact h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  line-height: 0.98;
}

.statement-copy > p:last-child {
  color: #45554d;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 2rem auto 0;
  max-width: 650px;
}

.process {
  align-items: center;
  background: var(--paper-bright);
  display: flex;
  max-width: none;
  padding-bottom: clamp(5rem, 10vw, 8rem);
  padding-top: clamp(5rem, 10vw, 8rem);
}

.process-content {
  margin: 0 auto;
  width: min(100%, 1200px);
}

.process-heading {
  margin: 0 auto 4.5rem;
  max-width: 1200px;
}

.process-heading h2 {
  max-width: 800px;
}

.process-path {
  display: grid;
  gap: clamp(2rem, 4vw, 5rem);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
  position: relative;
}

.process-path::before {
  background: linear-gradient(90deg, var(--gold), rgba(213, 166, 83, 0.22));
  content: "";
  height: 1px;
  left: 0.45rem;
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
}

.process-path li {
  padding-top: 3.25rem;
  position: relative;
}

.process-path li::before {
  background: var(--gold);
  border: 5px solid var(--paper-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(18, 32, 25, 0.18);
  content: "";
  height: 0.95rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 0.95rem;
}

.process-kicker {
  color: var(--moss);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.process-path h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.process-path li > p:last-child {
  color: #526159;
  font-size: 0.98rem;
  margin-bottom: 0;
  max-width: 24rem;
}

.company {
  background: #d9dfd5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  min-height: 100dvh;
}

.company-image-wrap {
  min-height: 540px;
  overflow: hidden;
}

.company-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.company-copy {
  align-self: center;
  padding: clamp(3.5rem, 8vw, 8rem);
}

.company-copy p:not(.eyebrow) {
  color: #435249;
  font-size: 1.05rem;
  max-width: 540px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-bottom: 0.25rem;
  text-decoration: none;
}

.button-dark {
  background: var(--pine);
  color: #fff;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact {
  align-items: center;
  background: var(--pine);
  color: #fff;
  display: flex;
  justify-content: center;
  max-width: none;
  padding-bottom: clamp(5rem, 10vw, 9rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  text-align: center;
}

.contact .panel-content {
  max-width: 960px;
  position: relative;
  text-align: center;
  top: -8vh;
  width: 100%;
}

.contact h2,
.contact .panel-content > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.contact h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
  margin-bottom: 1.15rem;
}

.contact .eyebrow {
  margin-bottom: 0.85rem;
}

.contact .panel-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
  max-width: 680px;
}

footer {
  align-items: flex-end;
  background: #091712;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  font-size: 0.8rem;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  padding: 3rem clamp(1.25rem, 6vw, 6rem);
}

.footer-wordmark {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  opacity: 0.62;
}

.legal-body {
  background: var(--paper-bright);
}

.legal-header {
  color: var(--pine);
  position: relative;
}

.legal-page {
  margin: 0 auto;
  max-width: 820px;
  min-height: 70vh;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
}

.legal-page h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.legal-updated {
  color: var(--moss);
  margin-bottom: 4rem;
}

.legal-page section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.legal-page h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.legal-page section p {
  color: #45554d;
}

.legal-footer {
  background: var(--pine);
  grid-template-columns: 1fr auto;
}

.support-page {
  max-width: 900px;
  text-align: center;
}

.support-intro {
  color: #45554d;
  font-size: 1.15rem;
  margin: 0 auto 2rem;
  max-width: 650px;
}

.support-note {
  margin: 5rem auto 0 !important;
  max-width: 650px;
  text-align: left;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(8vh);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 760ms cubic-bezier(0.17, 0.55, 0.55, 1),
    transform 900ms cubic-bezier(0.17, 0.55, 0.55, 1);
}

@media (max-width: 760px) {
  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-note {
    display: none;
  }

  .page-panel {
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    top: auto;
  }

  .motion-ready .page-panel {
    filter: none;
    transform: none;
    will-change: auto;
  }

  .process-path {
    gap: 0;
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
  }

  .process-path::before {
    bottom: 0.5rem;
    height: auto;
    left: 0.45rem;
    right: auto;
    top: 0.45rem;
    width: 1px;
  }

  .process-path li {
    padding: 0 0 2.75rem 2rem;
  }

  .process-path li::before {
    left: -1.5rem;
  }

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

  .company-image-wrap {
    min-height: 62svh;
  }

  .company-copy {
    padding: 4.5rem 1.25rem;
  }

  footer,
  .legal-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: 1;
  }
}

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

  .button,
  .hero-image,
  .page-panel,
  .motion-ready [data-landing-reveal],
  .motion-ready [data-reveal] {
    filter: none;
    opacity: 1;
    position: relative;
    top: auto;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
