:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e2d6;
  --white: #fbfaf6;
  --ink: #1c1915;
  --ink-soft: #2a2622;
  --muted: #4e4942;
  --line: rgba(28, 25, 21, 0.14);
  --pine: #1e3328;
  --pine-mid: #2c4a38;
  --copper: #9a4524;
  --copper-deep: #7a341c;
  --danger: #8d2e1b;
  --ok-bg: #e5f0e4;
  --ok-line: #2c4a38;
  --err-bg: #f8ece7;
  --display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(28, 25, 21, 0.08);
  color-scheme: light;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
}

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

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

h1,
h2,
h3,
.logo-name,
.step-num,
.tier-price,
.person-name {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.7rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 0.9rem;
}

a {
  color: var(--pine-mid);
}

a:hover {
  color: var(--copper-deep);
}

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

::selection {
  background: #d7e4d6;
  color: var(--ink);
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--pine);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.lede {
  max-width: 40rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.pull {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--pine) 0 42%, var(--copper) 42% 58%, var(--pine-mid) 58% 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  display: block;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo-sub {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.site-header.is-open .nav-toggle-lines {
  background: transparent;
}

.site-header.is-open .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--copper-deep);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1.5px 0 var(--copper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--pine);
  border-radius: 2px;
  background: var(--pine);
  color: #f6f3ec;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn:hover {
  background: #16261e;
  border-color: #16261e;
  color: #f6f3ec;
}

.btn-small {
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 25, 21, 0.28);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--pine);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--white);
  color: var(--pine);
  border-color: var(--white);
}

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

.hero {
  padding-block: 3.5rem 4.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr);
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  max-width: 11.5ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: 1.5rem 1.4rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.ridge {
  position: absolute;
  inset: auto -8% -12% -8%;
  width: 116%;
  height: 58%;
  pointer-events: none;
}

.ridge path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ridge path:nth-child(odd) {
  stroke: rgba(30, 51, 40, 0.45);
}

.ridge path:nth-child(even) {
  stroke: rgba(154, 69, 36, 0.45);
}

.hero-points {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.hero-points li {
  display: grid;
  gap: 0.2rem;
}

.hero-points strong {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
}

.section {
  padding-block: 4.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p {
  max-width: 34rem;
  margin: 0;
}

.work-list {
  display: grid;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
  padding-block: 2.6rem;
  border-top: 1px solid var(--line);
}

.work-item:last-child {
  border-bottom: 1px solid var(--line);
}

.work-kicker {
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.job-label {
  margin: 1rem 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--pine);
  text-underline-offset: 0.18em;
}

.screen {
  background: var(--white);
  border: 1px solid rgba(28, 25, 21, 0.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.screen-bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #c9c1b4;
}

.screen-bar em {
  margin-left: 0.45rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
}

.screen-body {
  padding: 0.9rem;
  min-height: 240px;
}

.trays {
  background: #f7f1e8;
}

.trays-nav,
.reply-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(28, 25, 21, 0.1);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d2b24;
}

.trays-title {
  height: 0.7rem;
  width: 62%;
  margin-bottom: 0.45rem;
  background: #3d2b24;
}

.trays-sub {
  height: 0.4rem;
  width: 40%;
  margin-bottom: 0.9rem;
  background: #c3ad9b;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.tile {
  height: 4.4rem;
  background: linear-gradient(#e7d3c2, #d8c3ae);
  border: 1px solid rgba(61, 43, 36, 0.12);
}

.tile:nth-child(2) {
  background: linear-gradient(#efe2d4, #e0cbb6);
}

.tile:nth-child(3) {
  background: linear-gradient(#d8c4ae, #c9ae94);
}

.radar {
  background: #121a16;
  color: #e7f0e8;
}

.radar-label {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb59a;
}

.radar-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr 2.2rem;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
}

.radar-row strong {
  font-size: 0.72rem;
  font-weight: 500;
  color: #d5e4d8;
}

.radar-row i {
  display: block;
  height: 0.35rem;
  background: #8fb59a;
}

.radar-row b {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
  color: #8fb59a;
}

.radar-row.is-hot i {
  background: #d4845c;
}

.radar-row.is-hot b {
  color: #e0b197;
}

.reply {
  background: #f6f4ef;
}

.reply-cols {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.55rem;
  min-height: 11rem;
}

.reply-list,
.reply-thread {
  background: white;
  border: 1px solid rgba(28, 25, 21, 0.08);
  padding: 0.55rem;
}

.reply-list div,
.bubble {
  height: 0.55rem;
  margin-bottom: 0.45rem;
  background: #e4ddd2;
}

.reply-list div:first-child {
  background: #1e3328;
  width: 80%;
}

.bubble {
  width: 78%;
  height: 1.5rem;
  border-radius: 2px;
}

.bubble.them {
  margin-left: auto;
  width: 64%;
  background: #1e3328;
}

.band {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-num {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  color: var(--copper-deep);
}

.service-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-index li {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.service-index li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index span {
  font-family: var(--display);
  color: var(--copper-deep);
  font-weight: 600;
}

.service-index a {
  font-weight: 600;
  white-space: nowrap;
}

.invite {
  background: var(--pine);
  color: #e7efe8;
}

.invite h2,
.invite .kicker {
  color: #f4f0e8;
}

.invite .kicker {
  color: #e0b197;
}

.invite p {
  max-width: 36rem;
  color: #d5e3d8;
}

.invite-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}

.page-hero {
  padding-block: 3.25rem 1rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.prose {
  max-width: 42rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  padding: 1.15rem 1.1rem 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.value span {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--copper-deep);
}

.person {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.person-name {
  margin: 0 0 0.25rem;
  font-size: 1.7rem;
}

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

.experience {
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
}

.experience li:last-child {
  border-bottom: 1px solid var(--line);
}

.experience strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
}

.tier {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.tier:last-child {
  border-bottom: 1px solid var(--line);
}

.tier-price {
  margin: 0.35rem 0;
  font-size: 1.7rem;
  color: var(--pine);
}

.checks {
  columns: 2;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.5rem;
  padding-left: 1.05rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.38rem;
  height: 0.38rem;
  border: 1.5px solid var(--pine);
}

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fit article {
  padding: 1.25rem 1.2rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.fit h3 {
  font-size: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.7fr);
  gap: 3rem;
  align-items: start;
  padding-bottom: 4.5rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

.field abbr {
  text-decoration: none;
  color: var(--copper-deep);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(28, 25, 21, 0.24);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--pine);
  outline: 2px solid var(--pine);
  outline-offset: 1px;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-status.is-success {
  border-color: var(--ok-line);
  background: var(--ok-bg);
}

.form-status.is-error {
  border-color: var(--danger);
  background: var(--err-bg);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
}

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

.aside-card {
  padding: 1.25rem 1.15rem 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.aside-card h2 {
  font-size: 1.35rem;
}

.aside-card a {
  font-weight: 600;
}

.site-footer {
  margin-top: auto;
  padding-block: 2.2rem;
  background: var(--ink);
  color: #d9d3c8;
}

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

.site-footer strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #f4f0e8;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-footer p {
  margin: 0;
  max-width: 24rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  justify-content: flex-end;
}

.footer-nav a {
  color: #f4f0e8;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #e0b197;
}

.legal {
  margin-top: 1.5rem;
  color: #a79f93;
  font-size: 0.9rem;
}

.missing {
  padding-block: 4rem 5rem;
}

.missing h1 {
  max-width: 14ch;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-layout,
  .person,
  .tier,
  .invite-inner,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .work-item,
  .work-item.reverse {
    grid-template-columns: 1fr;
  }

  .screen {
    order: -1;
  }

  .checks {
    columns: 1;
  }

  .invite-inner {
    align-items: start;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1.1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin-top: 0.85rem;
    border-bottom: 0;
  }

  .steps,
  .values,
  .fit,
  .service-index li {
    grid-template-columns: 1fr;
  }

  .service-index li {
    gap: 0.25rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.7rem));
  }

  .section {
    padding-block: 3.1rem;
  }

  .hero {
    padding-block: 2.4rem 2.8rem;
  }

  .footer-grid,
  .footer-nav {
    display: grid;
    justify-content: start;
  }

  .reply-cols {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .btn,
  .site-nav a,
  .text-link,
  .logo,
  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  }

  .ridge path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.6s ease forwards;
  }

  .ridge path:nth-child(2) { animation-delay: 0.12s; }
  .ridge path:nth-child(3) { animation-delay: 0.24s; }
  .ridge path:nth-child(4) { animation-delay: 0.36s; }

  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .work-item:hover .screen {
    transform: translateY(-3px);
    transition: transform 0.2s ease;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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