:root {
  --graphite: #0B0D10;
  --bone: #E7E1D8;
  --copper: #C77A43;
  --graphite-soft: #171A1F;
  --bone-soft: #F2EEE8;
  --line: rgba(11, 13, 16, 0.16);
  --line-light: rgba(231, 225, 216, 0.2);
  --max: 1240px;
  --header-height: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bone);
  color: var(--graphite);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px;
  transform: translateY(-200%); background: var(--graphite); color: var(--bone);
  padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 100; top: 0; min-height: var(--header-height);
  background: rgba(231, 225, 216, 0.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height); display: grid;
  grid-template-columns: 118px 1fr auto; gap: 32px; align-items: center;
}

.brand { display: inline-flex; width: 104px; text-decoration: none; }
.brand img { width: 100%; height: auto; }

.primary-nav {
  display: flex; justify-content: center; gap: clamp(16px, 2.2vw, 34px);
  font-size: 0.88rem; font-weight: 650;
}
.primary-nav a, .text-link, .contact-email, .footer-links a {
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.primary-nav a { text-decoration: none; }
.primary-nav a:hover, .text-link:hover, .contact-email:hover, .footer-links a:hover { color: var(--copper); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 22px; border: 1px solid var(--graphite); background: var(--graphite);
  color: var(--bone); font-weight: 720; text-decoration: none; letter-spacing: -0.01em;
}
.button:hover { background: var(--copper); border-color: var(--copper); color: var(--graphite); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: 0.86rem; }
.button-light { background: var(--bone); border-color: var(--bone); color: var(--graphite); }
.button-light:hover { background: var(--copper); border-color: var(--copper); }

.section-anchor { scroll-margin-top: var(--header-height); }

.hero {
  min-height: min(820px, calc(100vh - var(--header-height))); display: grid; align-items: center;
  padding: 104px 0 96px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(48px, 8vw, 120px); align-items: center;
}
.hero-copy { max-width: 850px; }
.eyebrow, .section-index, .subheading, .number {
  margin: 0 0 20px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; color: var(--copper);
}
.hero h1, .section-heading h2, .contact-inner h2 {
  margin: 0; text-wrap: balance; font-weight: 720; letter-spacing: -0.045em; line-height: 1.03;
}
.hero h1 { max-width: 940px; font-size: clamp(3rem, 6.5vw, 6.4rem); }
.lead { max-width: 780px; margin: 32px 0 0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 38px; }
.text-link { font-weight: 720; }
.capabilities { margin: 34px 0 0; color: rgba(11, 13, 16, 0.64); font-size: 0.9rem; letter-spacing: 0.025em; }
.hero-mark { align-self: stretch; display: grid; place-items: center; opacity: 0.95; }
.hero-mark img { width: min(100%, 580px); height: auto; }

.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-soft { background: var(--bone-soft); }
.section-dark, .contact-section {
  background: var(--graphite); color: var(--bone); border-bottom-color: var(--line-light);
}
.section-dark .section-index, .contact-section .section-index { color: var(--copper); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .contact-inner h2 { font-size: clamp(2.2rem, 4.2vw, 4.5rem); }
.section-heading > p:last-child { max-width: 690px; margin: 24px 0 0; font-size: 1.05rem; }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .solution-card, .engagement article { min-height: 250px; padding: 30px; background: var(--bone); }
.card h3, .solution-card h3, .engagement h3, .process-list h3 {
  margin: 0; font-size: 0.9rem; line-height: 1.35; letter-spacing: 0.04em;
}
.card p, .solution-card p:last-child, .engagement p, .process-list p { margin: 22px 0 0; }
.section-dark .grid { background: var(--line-light); border-color: var(--line-light); }
.section-dark .solution-card { background: var(--graphite-soft); }
.solution-card .number { margin-bottom: 80px; }
.supporting-statement {
  max-width: 900px; margin: 44px 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: rgba(231, 225, 216, 0.8);
}

.split {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 10vw, 150px); align-items: start;
}
.split .section-heading { margin-bottom: 0; }
.outcome-list, .principles-list {
  margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line);
}
.outcome-list li, .principles-list li {
  position: relative; padding: 24px 0 24px 34px; border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}
.outcome-list li::before, .principles-list li::before {
  content: ""; position: absolute; left: 0; top: 35px; width: 8px; height: 8px; background: var(--copper);
}

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.process-number { color: var(--copper); font-weight: 800; letter-spacing: 0.12em; }
.process-list p { max-width: 760px; }
.engagement { margin-top: 88px; }
.engagement .subheading { margin-bottom: 22px; }
.engagement article { min-height: 210px; background: var(--bone); }

.contact-section { padding-block: 124px; }
.contact-inner { max-width: 930px; margin-inline: auto; text-align: center; }
.contact-inner p:not(.section-index) {
  max-width: 760px; margin: 28px auto 0; color: rgba(231, 225, 216, 0.82); font-size: 1.08rem;
}
.contact-inner .button { margin-top: 38px; }
.contact-email { display: block; width: fit-content; margin: 26px auto 0; color: var(--bone); }

.site-footer {
  padding: 34px 0; background: var(--graphite); color: var(--bone); border-top: 1px solid var(--line-light);
}
.footer-inner { display: flex; gap: 32px; justify-content: space-between; align-items: center; }
.footer-brand { margin: 0; font-weight: 850; letter-spacing: 0.16em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.88rem; }

@media (max-width: 980px) {
  :root { --header-height: 132px; }
  .header-inner { grid-template-columns: 100px 1fr; min-height: var(--header-height); padding-block: 16px; }
  .primary-nav {
    grid-column: 1 / -1; grid-row: 2; justify-content: flex-start;
    overflow-x: auto; padding-bottom: 4px; white-space: nowrap;
  }
  .header-inner > .button { justify-self: end; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-mark { max-width: 520px; justify-self: end; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-height: 126px; }
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { gap: 14px 20px; }
  .brand { width: 82px; }
  .button-small { padding-inline: 13px; font-size: 0.8rem; }
  .primary-nav { gap: 18px; font-size: 0.82rem; }
  .hero { min-height: auto; padding: 72px 0; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4.6rem); }
  .hero-mark { max-width: 360px; }
  .section, .contact-section { padding-block: 76px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .card, .solution-card, .engagement article { min-height: auto; }
  .solution-card .number { margin-bottom: 42px; }
  .process-list li { grid-template-columns: 52px 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 10px; }
}
