/* Aspen Hollow
   Direction: exact, plainspoken, a little stubborn.
   World: a surveyor's field notebook. Ink-dark paper, one marking-paint orange,
   hairlines with ticks, numbers that line up. */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-sans-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0b0d14;
  --surface: #11141c;
  --raised: #1a1e28;
  --line: rgba(238, 240, 245, 0.08);
  --line-strong: rgba(238, 240, 245, 0.16);
  --text: #eef0f5;
  --text-2: #a3a9b8;
  --text-3: #7a8296;
  --accent: #ff5f29;
  --accent-ink: #160600;
  --positive: #4cc38a;

  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 1140px;
  --gutter: 24px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 60;
}
.skip:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Signature: the survey rule ---------- */

.rule {
  position: relative;
  height: 1px;
  background: var(--line);
}
.rule::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background-image: repeating-linear-gradient(
    to right,
    var(--line-strong) 0 1px,
    transparent 1px 48px
  );
}

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 20, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__mark {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
}

.site-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 4px;
}

@media (min-width: 880px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.site-nav a:hover {
  color: var(--text);
  background: var(--raised);
}

.site-head .btn {
  margin-left: auto;
}
@media (min-width: 880px) {
  .site-head .btn {
    margin-left: 12px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  background: #ff7446;
}

.btn--ghost {
  background: var(--raised);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: #222733;
}

.btn--lg {
  height: 46px;
  padding: 0 20px;
  font-size: 15px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* ---------- Section furniture ---------- */

.section {
  padding-block: 88px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .section {
    padding-block: 112px;
  }
}

.section__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  margin-bottom: 20px;
}
.section__label b {
  font-weight: 500;
  color: var(--accent);
}

.section__title {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.section__intro {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0;
}
@media (min-width: 1000px) {
  .hero {
    padding-top: 104px;
  }
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 56px;
    align-items: center;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 66px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--text-3);
}

.hero__sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 44ch;
}

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

.hero__meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- Sample report panel ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1000px) {
  .panel {
    padding: 24px;
    margin-bottom: -56px;
  }
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel__head h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.panel__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}
.panel__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 3px 6px;
  white-space: nowrap;
}

.panel__figure {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}
.panel__figure dt {
  font-size: 13px;
  color: var(--text-3);
}
.panel__figure dd {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.panel__value {
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.panel__delta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--positive);
  font-variant-numeric: tabular-nums;
}

.channels {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.channel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  font-size: 13px;
}
.channel__name {
  color: var(--text-2);
}
.channel__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.channel__bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: var(--raised);
  overflow: hidden;
}
.channel__bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #39404f;
}
.channel--lead .channel__bar span {
  background: var(--accent);
}
.channel--lead .channel__name,
.channel--lead .channel__num {
  color: var(--text);
}

.panel__lists {
  display: grid;
  gap: 20px;
  padding-top: 16px;
}
@media (min-width: 520px) {
  .panel__lists {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.panel__lists h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 10px;
}
.panel__lists li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
  margin-bottom: 8px;
}
.panel__lists li:last-child {
  margin-bottom: 0;
}
.panel__lists svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--text-3);
}
.panel__lists .done svg {
  color: var(--positive);
}

/* ---------- Problem ---------- */

.stack-of-vendors {
  margin-top: 40px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 760px) {
  .stack-of-vendors {
    grid-template-columns: repeat(4, 1fr);
  }
}
.vendor {
  background: var(--surface);
  padding: 20px;
}
.vendor__who {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.vendor__what {
  font-size: 15px;
  color: var(--text-2);
}
.vendor--none {
  background: var(--raised);
}
.vendor--none .vendor__who {
  color: var(--accent);
}
.vendor--none .vendor__what {
  color: var(--text);
}

/* ---------- Services ---------- */

.services {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  gap: 12px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 880px) {
  .service {
    grid-template-columns: 56px minmax(0, 300px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding-block: 36px;
  }
}

.service__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  padding-top: 5px;
}

.service__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.service__kicker {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-3);
}

.service__body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.service__out {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service__out li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ---------- Process ---------- */

.phases {
  margin-top: 48px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 820px) {
  .phases {
    grid-template-columns: repeat(4, 1fr);
  }
}
.phase {
  background: var(--surface);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase__when {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.phase h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.phase p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.phase__out {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

.note {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 68ch;
}
.note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

/* ---------- Fit ---------- */

.fit {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}
@media (min-width: 820px) {
  .fit {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.fit__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.fit__col h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.fit__col li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.fit__col li:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.fit__col svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--text-3);
}
.fit--yes svg {
  color: var(--accent);
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: 40px;
  max-width: 76ch;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 160ms var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--accent);
}
.faq summary svg {
  flex: none;
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 180ms var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq p {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 64ch;
}
.faq p + p {
  margin-top: -8px;
}

/* ---------- Closing call to action ---------- */

.cta {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 880px) {
  .cta {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

.cta__facts {
  display: grid;
  gap: 20px;
}
@media (min-width: 620px) {
  .cta__facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.cta__facts dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.cta__facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- Form and dialog ---------- */

.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}
.modal::backdrop {
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] {
    animation: modal-in 260ms var(--ease);
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.modal__inner {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 24px;
}
@media (min-width: 620px) {
  .modal__inner {
    padding: 28px;
  }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.modal__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal__title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.modal__close {
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--text-2);
  cursor: pointer;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.modal__close:hover {
  color: var(--text);
  background: #262b38;
}
.modal__close svg {
  width: 16px;
  height: 16px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 13px;
  color: var(--text-2);
}
.field label span {
  color: var(--text-3);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}
.form input:hover,
.form textarea:hover,
.form select:hover {
  border-color: rgba(238, 240, 245, 0.26);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--text-3);
}

.form__row {
  display: grid;
  gap: 16px;
}
@media (min-width: 620px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 4px;
}
.form__fine {
  font-size: 13px;
  color: var(--text-3);
  max-width: 34ch;
}
.form__fine a {
  color: var(--text-2);
}

.form__status {
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--raised);
  color: var(--text-2);
}
.form__status[hidden] {
  display: none;
}
.form__status.is-ok {
  border-color: rgba(76, 195, 138, 0.4);
  color: var(--text);
}
.form__status.is-bad {
  border-color: rgba(229, 72, 77, 0.45);
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 40px 48px;
}
.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
.site-foot a,
.linkish {
  color: var(--text-2);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.site-foot a:hover,
.linkish:hover {
  color: var(--text);
}
.linkish {
  font: inherit;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

body:has(dialog[open]) {
  overflow: hidden;
}
.site-foot__fine {
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ---------- Legal page ---------- */

.legal {
  padding-block: 64px 96px;
  max-width: 68ch;
}
.legal h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.legal h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 40px;
}
.legal p,
.legal li {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}
.legal ul {
  list-style: disc;
  padding-left: 20px;
}
.legal a {
  color: var(--accent);
}
.legal .updated {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- One entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rise {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 520ms var(--ease) forwards;
  }
  .rise:nth-child(1) {
    animation-delay: 40ms;
  }
  .rise:nth-child(2) {
    animation-delay: 100ms;
  }
  .hero__panel.rise {
    animation-delay: 160ms;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
