:root {
  --bg: oklch(0.135 0.018 34);
  --surface: oklch(0.19 0.026 36);
  --surface-2: oklch(0.245 0.034 40);
  --ink: oklch(0.945 0.025 74);
  --muted: oklch(0.735 0.052 66);
  --primary: oklch(0.54 0.18 34);
  --primary-deep: oklch(0.42 0.13 335);
  --accent: oklch(0.735 0.155 76);
  --accent-dark: oklch(0.31 0.08 47);
  --line: oklch(0.42 0.09 42 / 0.58);
  --line-soft: oklch(0.54 0.09 52 / 0.24);
  --fill-text: oklch(0.985 0 0);
  --focus: oklch(0.82 0.17 78);
  --danger: oklch(0.57 0.16 24);
  --font-display: "Libre Caslon Display", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", Verdana, sans-serif;
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), var(--line-soft) calc(50% - 1px), var(--line-soft) 50%, transparent 50%),
    linear-gradient(180deg, var(--bg), oklch(0.105 0.015 34));
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    linear-gradient(180deg, var(--line-soft) 1px, transparent 1px);
  background-size: clamp(70px, 11vw, 148px) clamp(70px, 11vw, 148px);
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}

img,
svg {
  display: block;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

:focus:not(:focus-visible) {
  outline: 0;
}

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(0.135 0.018 34 / 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  color: var(--accent);
}

.brand-name {
  display: grid;
  gap: 0;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  min-width: 0;
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 transparent;
  transition: transform 150ms var(--ease), color 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.nav-quote {
  margin-left: 8px;
  border: 1px solid var(--accent);
  color: var(--fill-text) !important;
  background: var(--primary);
  box-shadow: none !important;
}

main {
  overflow-x: clip;
}

.section {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(70px, 11vw, 146px) var(--gutter);
}

.section-tight {
  padding-block: clamp(48px, 7vw, 86px);
}

.hero {
  min-height: calc(100dvh - 84px);
  display: grid;
  align-content: center;
  gap: clamp(30px, 5vw, 60px);
  padding-top: clamp(42px, 6vw, 76px);
}

.hero-topline,
.kicker,
.stamp {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-topline {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  border: 1px solid var(--line);
  width: fit-content;
  padding: 8px 12px;
  background: var(--accent-dark);
}

.hero h1,
.page-hero h1,
.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 13vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero h1 {
  line-height: 0.9;
}

.hero-position {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.32rem, 2.6vw, 2.15rem);
  line-height: 1.28;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}

.hero-lockup {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button,
button.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--accent);
  background: var(--primary);
  color: var(--fill-text);
  padding: 12px 18px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  max-width: 100%;
  transition: transform 150ms var(--ease), color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(-1px);
}

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

.button.secondary:hover {
  background: oklch(0.735 0.155 76 / 0.12);
}

.button.small {
  min-height: 44px;
  padding: 9px 13px;
  font-size: 0.95rem;
}

.arrow {
  font-size: 1.2em;
  line-height: 1;
}

.photo {
  margin: 0;
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.photo::before {
  content: "";
  display: block;
}

.photo img {
  position: absolute;
  inset: 0;
}

.photo-hero::before {
  padding-top: 48%;
}

.photo-standard::before {
  padding-top: 68%;
}

.photo-tall::before {
  padding-top: 118%;
}

.caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.ledger {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.ledger-row:first-child {
  border-top: 0;
}

.ledger-row dt,
.ledger-label {
  color: var(--accent);
  font-weight: 700;
}

.ledger-row dd {
  margin: 0;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.split > *,
.contact-grid > *,
.footer-inner > * {
  min-width: 0;
}

.split.reverse {
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 0.9fr);
}

.split.reverse > :first-child {
  order: 2;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.98;
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.section-heading p,
.lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.center-copy {
  text-align: center;
  justify-items: center;
}

.center-copy p {
  margin-inline: auto;
}

.big-statement {
  margin: 0;
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1;
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.warm-panel {
  background: var(--primary);
  color: var(--fill-text);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.warm-panel .section {
  padding-block: clamp(60px, 9vw, 118px);
}

.warm-panel .muted-on-fill {
  color: oklch(0.98 0.02 75 / 0.95);
}

.number-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: 34px;
}

.number-strip div {
  padding: clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--line);
}

.number-strip div:first-child {
  border-left: 0;
}

.number-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.9;
  font-weight: 400;
  color: var(--accent);
}

.number-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.capability-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 50px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}

.capability-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 400;
  overflow-wrap: break-word;
}

.capability-item p {
  margin: 0;
  color: var(--muted);
}

.case-stack {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
}

.case-note {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(20px, 4vw, 42px);
  background: var(--bg);
}

.case-note h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 400;
  overflow-wrap: break-word;
}

.case-note p {
  margin: 0;
  color: var(--muted);
}

.quote-block {
  margin: 0;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 5vw, 58px) 0;
}

.quote-block p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.quote-block cite {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.page-hero {
  min-height: 54dvh;
  display: grid;
  align-content: end;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.milestone-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.milestone {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}

.milestone time {
  color: var(--accent);
  font-weight: 700;
}

.milestone h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.25;
}

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

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-table th {
  width: 34%;
  color: var(--accent);
  font-weight: 700;
}

.spec-table td {
  color: var(--muted);
}

.product-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 32px);
}

.product-proof figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.product-proof figcaption {
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 76px);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  padding: clamp(20px, 4vw, 38px);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--accent);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 13px;
  min-height: 48px;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--accent);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
}

.contact-form.was-validated input:invalid,
.contact-form.was-validated select:invalid,
.contact-form.was-validated textarea:invalid {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

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

.form-status[aria-live] {
  min-height: 1.5em;
}

.form-status:not(:empty) {
  color: var(--ink);
}

.policy-text {
  max-width: 820px;
}

.policy-text h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  font-weight: 400;
}

.policy-text h3 {
  margin: 28px 0 8px;
  color: var(--accent);
}

.policy-text p,
.policy-text li {
  color: var(--muted);
}

.policy-text ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: oklch(0.105 0.015 34);
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(34px, 6vw, 70px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 66px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.domain {
  color: var(--accent);
  font-weight: 700;
}

.reveal,
.micro {
  transform: translateZ(0);
}

@media (max-width: 920px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-quote {
    margin-left: 0;
  }

  .split,
  .split.reverse,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .case-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding-block: clamp(54px, 14vw, 78px);
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 5.2rem);
  }

  .page-hero h1,
  .display-title {
    font-size: clamp(3.15rem, 14vw, 4.7rem);
    line-height: 1;
  }

  .section-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .big-statement {
    font-size: clamp(2.1rem, 11vw, 3.7rem);
    line-height: 1.04;
  }

  .quote-block p {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .hero-position {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }

  .ledger-row,
  .capability-item,
  .milestone {
    grid-template-columns: 1fr;
  }

  .number-strip,
  .image-row {
    grid-template-columns: 1fr;
  }

  .number-strip div,
  .number-strip div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .number-strip div:first-child {
    border-top: 0;
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .spec-table td {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name strong {
    font-size: 1.38rem;
  }

  .main-nav {
    width: 100%;
    gap: 4px;
  }

  .main-nav a {
    padding-inline: 9px;
  }

  .nav-quote {
    flex-basis: 100%;
    justify-content: center;
  }
}

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

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

  .reveal,
  .micro {
    transform: none !important;
  }
}
