:root {
  --ink: #050706;
  --muted: #5e6b7c;
  --paper: #fff;
  --surface: #f1f3f5;
  --line: #d5dce4;
  --accent: #0074ff;
  --warm: #17130e;
  --hero-ink: #fff;
  --font: Arial, Helvetica, sans-serif;
  --content: 1200px;
  --pad: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.wrap {
  width: min(var(--content), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 5;
  background: #fff;
  color: #000;
  padding: 12px 16px;
}
.skip:focus { top: 12px; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--warm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1), background 0.2s;
}
.button-dark { background: var(--warm); color: #fff; }
.button span { display: inline-block; transition: transform 0.2s; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  height: clamp(620px, 52.78vw, 760px);
  color: var(--hero-ink);
  background:
    linear-gradient(90deg, rgba(23,19,14,.65) 0%, rgba(23,19,14,.34) 45%, rgba(23,19,14,.06) 100%),
    linear-gradient(180deg, rgba(23,19,14,.3), transparent 35%, rgba(23,19,14,.18)),
    #21170f url("/assets/hero-office.webp") center / cover no-repeat;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 32px;
  padding-top: 22px;
}
.brand { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; }
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  max-width: 680px;
  padding-top: 6px;
  font-size: 13px;
  line-height: 1.3;
}
.site-header nav a { padding: 6px 0; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: 48px;
  max-width: var(--content);
}
.hero .eyebrow { letter-spacing: 0.28em; }
.hero h1 {
  margin-top: 14px;
  max-width: none;
  font-size: clamp(32px, 6.15vw, 88px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.lede {
  max-width: 38rem;
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.hero .button { margin-top: 26px; }
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.process { padding: 36px 0 12px; }
.process-wide { display: block; width: 100%; height: auto; }
.process-mobile { display: none; }

.opportunity { padding: 72px 0 28px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 28px 64px;
  align-items: end;
}
.opportunity .eyebrow, .approach .eyebrow, .continuity .eyebrow, .fit .eyebrow, .contact .eyebrow { color: var(--muted); }
h2 {
  margin-top: 10px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.prose p { font-size: 17px; line-height: 1.55; color: #3d4856; }
.prose p + p { margin-top: 14px; }
.pull {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.items, .promises, .checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.item h3, .promise h3, .card h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.item p, .promise p, .card p, .check { color: var(--muted); font-size: 15px; line-height: 1.45; }
.item h3 + p, .promise h3 + p { margin-top: 8px; }

.approach { background: var(--surface); padding: 76px 0; }
.approach-intro { max-width: 40rem; margin-top: 18px; font-size: 17px; line-height: 1.55; color: #3d4856; }
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.card {
  min-width: 0;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid #e6ebf0;
}
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card .line { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }

.discipline {
  background: var(--warm);
  color: #f6f1ea;
  padding: 84px 0;
}
.discipline .eyebrow { color: #d7cabb; }
.discipline h2 { max-width: 100%; }
.discipline .prose { max-width: 40rem; margin-top: 22px; }
.discipline .prose p { color: #efe7de; font-size: 18px; }
.discipline-note {
  margin-top: 28px;
  color: #d7cabb;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.continuity { padding: 80px 0 36px; }
.continuity .prose { max-width: 40rem; margin-top: 20px; }
.promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fit { padding: 36px 0 20px; }
.fit .prose { max-width: 42rem; margin-top: 18px; }
.checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.check::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: var(--accent);
}
.fit-close { margin-top: 28px; max-width: 36rem; font-size: 17px; line-height: 1.5; }

.partnership { padding: 8px 0 64px; }
.partnership-line {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px 48px;
  align-items: baseline;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.partnership h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; margin: 0; }
.partnership p { color: var(--muted); font-size: 16px; line-height: 1.5; }

.contact { background: var(--surface); padding: 72px 0 0; }
.contact .prose { max-width: 36rem; margin-top: 16px; }
.contact .button { margin-top: 26px; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 48px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-footer .brand { font-size: 16px; color: var(--ink); }
.quiet { text-decoration: underline; text-underline-offset: 3px; }

dialog {
  width: min(440px, calc(100% - 32px));
  max-width: 440px;
  padding: 32px 28px 28px;
  border: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px #0006;
}
dialog::backdrop { background: rgba(23, 19, 14, 0.72); }
dialog .eyebrow { color: var(--muted); }
dialog h2 { font-size: 32px; margin: 8px 0 14px; }
dialog p { font-size: 16px; line-height: 1.5; color: #3d4856; }
dialog .button { margin-top: 22px; }
.noscript { padding: 16px; text-align: center; font-size: 14px; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .button:hover span { transform: translate(2px, -2px); }
  .site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
}
.button:active { transform: translateY(0); }

@media (max-width: 800px) {
  .split, .items, .cards, .promises, .checks, .partnership-line { grid-template-columns: 1fr; }
  .opportunity, .approach, .continuity, .contact { padding-top: 56px; }
  .discipline { padding: 56px 0; }
  .approach { padding-bottom: 56px; }
  .partnership { padding-bottom: 48px; }
  .hero { height: auto; min-height: 0; }
  .hero-copy { padding-top: 36px; }
}

@media (max-width: 700px) {
  .site-header { flex-direction: column; gap: 8px; }
  .site-header nav { justify-content: flex-start; max-width: none; gap: 4px 16px; font-size: 13px; }
  .process-wide { display: none; }
  .process-mobile { display: flex; flex-direction: column; align-items: center; }
  .process-mobile img { display: block; width: 100%; height: auto; max-width: 460px; }
  .process-mobile img:first-child { width: 48%; max-width: 220px; margin-bottom: -30px; }
  .process-arrow { margin: 4px 0 12px; color: var(--accent); font-size: 32px; line-height: 1; }
  .process-mobile img:last-child { margin-top: 12px; }
  .hero h1 { font-size: clamp(34px, 10vw, 54px); max-width: none; }
  .lede { margin-top: 16px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: clamp(32px, 10vw, 39px); letter-spacing: -0.035em; }
  h2 { font-size: 32px; }
  .card h3 { font-size: 22px; }
  .site-footer { padding-bottom: 24px; }
  dialog { padding: 28px 20px 22px; }
  dialog h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button span { transition: none; }
  .button:hover, .button:hover span, .button:active { transform: none; }
}

@media(max-width:700px){
  .hero{background:linear-gradient(180deg,rgba(23,19,14,.62),rgba(23,19,14,.52) 72%,rgba(23,19,14,.3)),#21170f url('/assets/hero-office.webp') center/cover no-repeat}
}
