:root {
  --ink: #111310;
  --paper: #f1efe8;
  --paper-2: #e7e3d9;
  --line: rgba(17, 19, 16, 0.18);
  --accent: #c4512d;
  --accent-dark: #8f351b;
  --white: #fffdf8;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 239, 232, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 21px;
  height: 22px;
  padding: 4px;
  background: var(--ink);
}

.brand-mark span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.brand-mark span:nth-child(2) {
  height: 72%;
  background: var(--paper);
}

.brand-mark span:nth-child(3) {
  height: 44%;
  background: var(--paper);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-header nav a,
.footer-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a {
  padding: 8px 0;
}

.site-header nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 12px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  width: min(100%, var(--max));
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 132px) clamp(20px, 4vw, 64px);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 590;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.lede {
  max-width: 690px;
  margin-bottom: 30px;
  color: #3d413b;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 0;
  text-decoration: none;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.33);
  color: #545850;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #32362f;
  background: #151813;
  box-shadow: 20px 20px 0 var(--paper-2);
  color: #e9ebe4;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-panel > * {
  position: relative;
}

.panel-label {
  margin-bottom: 34px;
  color: #8b9186;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.spec-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.spec-row span {
  color: #8b9186;
  font-size: 12px;
}

.spec-row strong {
  font-size: 15px;
  font-weight: 550;
}

.scan-line {
  height: 1px;
  margin: 4px 0 24px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.panel-note {
  margin: 0;
  color: #aeb2a8;
  font-size: 14px;
  line-height: 1.65;
}

.statement {
  padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.statement p {
  width: min(100%, var(--max));
  margin: 0 auto;
  font-size: clamp(28px, 4.5vw, 66px);
  font-weight: 550;
  letter-spacing: -0.045em;
}

.statement span {
  color: #8d9289;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 64px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 58px;
}

.section-heading.narrow {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.partner h2,
.contact h2,
.legal-page h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.service-card {
  min-height: 430px;
  padding: 28px 28px 34px 0;
  border-right: 1px solid var(--line);
}

.service-card + .service-card {
  padding-left: 28px;
}

.service-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-number {
  display: block;
  margin-bottom: 86px;
  color: var(--accent-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 25px;
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.service-card p,
.fit-grid p,
.partner p {
  color: #51564e;
  font-size: 16px;
  line-height: 1.65;
}

.service-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

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

.process-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--accent-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.process-list div {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
}

.process-list h3 {
  font-size: 27px;
  font-weight: 580;
  letter-spacing: -0.03em;
}

.process-list p {
  max-width: 640px;
  margin-bottom: 0;
  color: #51564e;
  line-height: 1.65;
}

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

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 52px;
  border-top: 1px solid var(--ink);
}

.fit-grid article {
  min-height: 190px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.fit-grid h3 {
  margin-bottom: 13px;
  font-size: 21px;
  font-weight: 600;
}

.fit-grid p {
  max-width: 480px;
  margin-bottom: 0;
}

.partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
}

.partner p {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: 18px;
}

.scope {
  background: var(--paper);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}

.scope-grid p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.scope-note {
  max-width: 780px;
  margin: 30px 0 0;
  color: #61665d;
  font-size: 14px;
  line-height: 1.65;
}

.contact {
  padding: clamp(80px, 10vw, 150px) clamp(20px, 4vw, 64px);
  background: var(--accent-dark);
  color: var(--white);
  text-align: center;
}

.contact .eyebrow {
  color: #f0b39b;
}

.contact h2 {
  max-width: 900px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
}

.contact p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 34px;
  color: #f4d8ce;
  font-size: 18px;
  line-height: 1.6;
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

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

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 34px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: #9ba096;
  font-size: 12px;
}

.footer-brand {
  color: var(--paper);
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.legal-page {
  max-width: 880px;
  min-height: 70vh;
  margin: 0 auto;
}

.legal-page > p {
  max-width: 720px;
  color: #3f443d;
  font-size: 18px;
  line-height: 1.75;
}

.legal-page a {
  color: var(--accent-dark);
}

.legal-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #666b62 !important;
  font-size: 14px !important;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 620px;
    box-shadow: 10px 10px 0 var(--paper-2);
  }

  .section-heading,
  .partner {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card + .service-card {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-number {
    margin-bottom: 38px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-header .button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
  }

  .process-list div,
  .fit-grid,
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-list h3 {
    margin-bottom: 12px;
  }

  .fit-grid article {
    min-height: 0;
  }
}

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

  .button {
    transition: none;
  }
}

