:root {
  --bg: #f4f2ed;
  --ink: #111111;
  --muted: #57534d;
  --line: #c9c4ba;
  --line-strong: #111111;
  --accent: #ff5a1f;
  --paper: #ffffff;
  --input-line: #a9a398;
  --button-bg: #111111;
  --button-ink: #f4f2ed;
  --font-heading: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: 96rem;
  --header: 4rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.nav-link:hover,
.nav-link:focus-visible {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  border: 1px solid var(--button-bg);
  background: var(--button-bg);
  color: var(--button-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.button-small {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--button-bg);
  border-color: var(--button-bg);
  color: var(--button-ink);
}

.button-block {
  width: 100%;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  padding-top: var(--header);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mobile-menu .button {
  margin-top: 2.5rem;
}

.hero {
  padding-top: 2.5rem;
  overflow-x: clip;
}

.hero-title,
.display {
  max-width: 72rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title,
.display-xl {
  font-size: 2.5rem;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
}

.lede {
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.ridge {
  position: relative;
  height: 7rem;
  margin-top: 2.5rem;
}

.ridge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ridge path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summit {
  position: absolute;
  left: 57.99%;
  top: 9%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.mark {
  position: relative;
  display: inline-block;
}

.mark-word {
  position: relative;
  z-index: 1;
}

.mark-heavy {
  font-weight: 900;
}

.mark-stroke {
  position: absolute;
  left: -0.04em;
  bottom: -0.1em;
  width: calc(100% + 0.08em);
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
  color: var(--accent);
}

.mark-stroke path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.band {
  padding-bottom: 5rem;
}

.rule {
  border-top: 1px solid var(--line-strong);
}

.rule-soft {
  border-top: 1px solid var(--line);
}

.statement {
  padding-top: 3rem;
}

.statement-title {
  max-width: 72rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.statement p,
.section-intro {
  max-width: 36rem;
  margin-top: 2rem;
  font-size: 1.125rem;
}

.services {
  display: grid;
}

.service {
  display: flex;
  flex-direction: column;
  padding-block: 3rem;
}

.service + .service {
  border-top: 1px solid var(--line-strong);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service h2,
.section-title {
  max-width: 32rem;
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-title {
  max-width: none;
  margin-top: 0;
}

.service p,
.muted {
  color: var(--muted);
}

.service p {
  max-width: 28rem;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.service-action {
  margin-top: auto;
  padding-top: 2.5rem;
}

.climb {
  padding-top: 3rem;
}

.steps {
  display: grid;
  margin-top: 2.5rem;
}

.step {
  padding-block: 2rem;
}

.step + .step {
  border-top: 1px solid var(--line);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.step p {
  max-width: 24rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.climb-space {
  height: 3rem;
}

.quote-block {
  padding-bottom: 5rem;
}

.quote-figure {
  margin: 0;
  padding-top: 3rem;
}

.quote-text {
  max-width: 64rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.quote-figure figcaption {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1rem;
}

.brands {
  padding-bottom: 1rem;
}

.brands-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.brand-list li {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  padding-top: 3rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--input-line);
  background: var(--paper);
  padding: 0 1rem;
  transition: border-color 0.15s;
}

.field input {
  height: 3rem;
}

.field textarea {
  min-height: 8rem;
  padding-block: 0.75rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 1px solid var(--line-strong);
  border-color: var(--line-strong);
}

.form-status:empty {
  display: none;
}

.form-status {
  font-size: 0.875rem;
}

.site-footer {
  background: var(--bg);
}

.footer-rule {
  height: 1px;
  background: var(--line-strong);
}

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: 2rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a,
.copyright {
  font-size: 0.875rem;
}

.footer-nav a {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--muted);
}

.footer-divider {
  display: none;
}

.footer-logo {
  font-size: 1rem;
}

[id="services"],
[id="how-it-works"],
[id="contact"] {
  scroll-margin-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .marker-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1px;
    animation: marker-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.9s forwards;
  }

  .hero-in {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--at, 0s);
  }

  h1.hero-in {
    animation-name: rise-title;
    animation-duration: 0.9s;
  }

  .ridge-draw {
    animation: draw 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
  }

  .summit-land {
    animation: land 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s both;
  }

  .js-motion [data-m] {
    opacity: 0;
  }

  .js-motion [data-m].is-in {
    opacity: 1;
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .js-motion [data-m="rise"].is-in {
    animation-name: rise-title;
    animation-duration: 0.8s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes rise-title {
  from {
    opacity: 0.01;
    transform: translateY(0.25em);
  }
}

@keyframes marker-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw {
  from {
    clip-path: inset(-10% 100% -10% 0);
  }
  to {
    clip-path: inset(-10% 0);
  }
}

@keyframes land {
  from {
    transform: translate(-50%, -50%) scale(0);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

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

  .hero-in,
  .ridge-draw,
  .summit-land,
  [data-m] {
    animation: none;
    opacity: 1;
  }
}

@media (min-width: 40rem) {
  .hero-title,
  .display-xl {
    font-size: 4rem;
  }

  .statement-title {
    font-size: 3.25rem;
  }

  .form .button {
    width: auto;
  }

  .ridge {
    height: 9rem;
  }
}

@media (min-width: 48rem) {
  :root {
    --header: 5rem;
  }

  .wrap {
    padding-inline: 2.5rem;
  }

  .nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-title,
  .display-xl {
    font-size: 5rem;
  }

  .hero-row {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }

  .lede,
  .statement p,
  .section-intro {
    font-size: 1.25rem;
  }

  .ridge {
    height: 11rem;
    margin-top: 1.5rem;
  }

  .summit {
    width: 1.25rem;
    height: 1.25rem;
  }

  .band {
    padding-bottom: 8rem;
  }

  .statement {
    padding-top: 5rem;
  }

  .statement-title {
    font-size: 4rem;
  }

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

  .service {
    padding-block: 4rem;
  }

  .service:first-child {
    padding-right: 3rem;
  }

  .service + .service {
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    padding-left: 3rem;
  }

  .eyebrow {
    font-size: 0.875rem;
  }

  .service h2,
  .section-title {
    font-size: 3.25rem;
  }

  .service p,
  .step p {
    font-size: 1.125rem;
  }

  .brand-list {
    gap: 1rem 3rem;
  }

  .brand-list li {
    font-size: 1.5rem;
  }

  .quote-block {
    padding-bottom: 8rem;
  }

  .quote-figure {
    padding-top: 5rem;
  }

  .quote-text {
    font-size: 3.25rem;
  }

  .quote-figure figcaption {
    margin-top: 2.5rem;
    font-size: 1.125rem;
  }

  .climb {
    padding-top: 5rem;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 3.5rem;
  }

  .step {
    padding-block: 2.5rem;
  }

  .step:first-child {
    padding-right: 2rem;
  }

  .step + .step {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-inline: 2rem;
  }

  .step h3 {
    font-size: 2rem;
  }

  .climb-space {
    height: 5rem;
  }

  .contact {
    padding-bottom: 8rem;
  }

  .contact-grid {
    padding-top: 5rem;
  }

  .footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 2.5rem;
  }

  .footer-meta {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .footer-logo {
    font-size: 1.125rem;
  }

  .footer-divider {
    display: block;
    width: 1px;
    height: 1.25rem;
    background: var(--line-strong);
  }
}

@media (min-width: 64rem) {
  .wrap {
    padding-inline: 3.5rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-title,
  .display-xl {
    font-size: 6.5rem;
  }

  .ridge {
    height: 13rem;
  }

  .statement-title {
    font-size: 5rem;
  }

  .service:first-child {
    padding-right: 5rem;
  }

  .service + .service {
    padding-left: 5rem;
  }

  .step:first-child {
    padding-right: 3rem;
  }

  .step + .step {
    padding-inline: 3rem;
  }

  .contact-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-form {
    padding-top: 1rem;
  }
}

@media (min-width: 80rem) {
  .hero-title,
  .display-xl {
    font-size: 8.75rem;
  }

  .statement-title {
    font-size: 6.5rem;
  }

  .service h2,
  .section-title,
  .quote-text {
    font-size: 4rem;
  }
}
