:root {
  --charcoal: #1f2624;
  --ink: #111614;
  --ivory: #f6f0e6;
  --paper: #fbf7ef;
  --stone: #d8ccb7;
  --copper: #b98252;
  --slate: #69716e;
  --green-grey: #59675f;
  --line: rgba(31, 38, 36, 0.14);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--ivory);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.narrow { max-width: 780px; }
.medium { max-width: 980px; }
.section > .container.narrow:not(.prose) {
  max-width: var(--max);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(246, 240, 230, 0.92);
  border-bottom: 1px solid rgba(31, 38, 36, 0.08);
  backdrop-filter: blur(18px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 13vw, 176px);
  flex: 0 0 auto;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-brand-logo {
  width: clamp(150px, 13vw, 178px);
  margin-bottom: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: rgba(31, 38, 36, 0.76);
}
.site-nav a {
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--charcoal);
  border-color: var(--copper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--charcoal);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  color: var(--ivory);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 17, 15, 0.9) 0%, rgba(11, 17, 15, 0.72) 42%, rgba(11, 17, 15, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 17, 15, 0.34), rgba(11, 17, 15, 0.08));
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-tagline {
  text-transform: none;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: 0;
}
h1 { font-size: clamp(48px, 7vw, 92px); max-width: 840px; }
.hero h1 {
  max-width: 980px;
  font-size: clamp(56px, 6vw, 82px);
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(56px, 6vw, 82px);
}
h2 { font-size: clamp(32px, 4.2vw, 58px); }
h3 { font-size: 26px; }
p { margin: 0; }
.hero-copy,
.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(246, 240, 230, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button.primary {
  color: #fffaf2;
  background: var(--copper);
  border-color: var(--copper);
}
.button.ghost { color: var(--ivory); }
.text-link {
  color: var(--copper);
  font-weight: 700;
  font-size: 14px;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}
.about-context {
  padding-bottom: clamp(44px, 6vw, 72px);
}
.about-defines {
  padding-top: clamp(44px, 6vw, 72px);
}
.perspective {
  border-bottom: 1px solid var(--line);
}
.perspective h2,
.narrow h2 {
  margin-bottom: 28px;
}
.perspective h2 {
  max-width: 980px;
}
.perspective p {
  max-width: 920px;
}
.perspective p + p,
.narrow p + p {
  margin-top: 18px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 42px;
}
.compact-heading {
  margin-top: 70px;
  margin-bottom: 26px;
}
.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}
.section-heading .section-copy {
  grid-column: 1;
  max-width: 760px;
  color: rgba(31, 38, 36, 0.68);
  font-size: 18px;
}

.capability-grid,
.three-up,
.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.capability-card,
.three-up article,
.insight-cards article,
.team-card,
.pillar-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 251, 244, 0.58);
}
.capability-card,
.three-up article,
.insight-cards article,
.team-card {
  min-height: 260px;
  padding: 28px;
}
.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: 36px;
  min-height: auto;
  padding: 34px;
}
.team-card-heading {
  align-self: start;
}
.team-role {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}
.team-focus {
  color: rgba(31, 38, 36, 0.62);
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
}
.team-bio p:first-child {
  margin-top: 0;
}
.team-bio p {
  font-size: 16px;
  line-height: 1.72;
}
.insight-cards article {
  display: grid;
  grid-template-rows: auto minmax(104px, auto) auto;
  align-items: start;
}
.pillar-card span,
.insight-cards span,
.team-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}
.capability-card p,
.three-up p,
.insight-cards p,
.team-card p,
.capability-panel p,
.pillar-card p {
  margin-top: 16px;
  color: rgba(31, 38, 36, 0.72);
}
.three-up h3 {
  min-height: 62px;
}
.insight-cards h3 {
  align-self: start;
  min-height: 118px;
}
.insight-cards p {
  margin-top: 0;
}
.insight-card-link {
  display: block;
  min-height: 100%;
}
.insight-card-link article {
  height: 100%;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.insight-card-link:hover article,
.insight-card-link:focus-visible article {
  transform: translateY(-2px);
  border-color: rgba(185, 130, 82, 0.7);
  background: rgba(255, 251, 244, 0.78);
}

.dark-band,
.closing-cta {
  color: var(--ivory);
  background: var(--ink);
}
.dark-band .eyebrow,
.closing-cta .eyebrow {
  color: var(--copper);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 240, 230, 0.28);
  border-radius: 999px;
  color: rgba(246, 240, 230, 0.86);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 72px;
  align-items: center;
}
.experience-grid p:last-child {
  color: rgba(31, 38, 36, 0.72);
  font-size: 20px;
}

.insights-preview {
  border-top: 1px solid var(--line);
}
.insight-list {
  border-top: 1px solid var(--line);
}
.insight-row {
  display: grid;
  grid-template-columns: 220px 1fr 56px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.insight-row span {
  color: var(--slate);
  font-size: 13px;
}
.insight-row strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.12;
}
.insight-row em {
  color: var(--copper);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.closing-cta .split {
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(11, 17, 15, 0.9) 0%, rgba(11, 17, 15, 0.72) 45%, rgba(11, 17, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 17, 15, 0.28), rgba(11, 17, 15, 0.08)),
    url("assets/images/olduvai-abstract-map.jpg") center / cover no-repeat;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .container.narrow,
.page-hero .container.medium {
  max-width: var(--max);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 72px;
  align-items: center;
}
.visual-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--charcoal);
}
.visual-panel.small {
  min-height: 260px;
}
.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.visual-panel strong {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
}

.about-copy h2,
.section > .container.narrow:not(.prose) h2 {
  max-width: 980px;
}
.section > .container.narrow:not(.prose) p {
  max-width: 920px;
}
.about-copy p {
  max-width: 860px;
}
.about-copy h2 + p {
  margin-top: 28px;
}
.about-copy p + p {
  margin-top: 18px;
}

.pillar-stack .container {
  display: grid;
  gap: 16px;
}
.pillar-card {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.55fr) 1fr;
  gap: 28px;
  padding: 30px;
  align-items: start;
}
.pillar-card h2 {
  font-size: clamp(26px, 3vw, 40px);
}
.pillar-card p {
  margin-top: 0;
}

.capability-sections .container {
  display: grid;
  gap: 22px;
}
.capability-panel {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 251, 244, 0.52);
}
.capability-panel.dark {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}
.capability-panel.dark p,
.capability-panel.dark aside {
  color: rgba(246, 240, 230, 0.72);
}
.capability-panel aside {
  color: rgba(31, 38, 36, 0.62);
  font-size: 14px;
  border-left: 1px solid currentColor;
  padding-left: 24px;
  margin-top: 74px;
}

.full {
  margin-top: 50px;
}
.contact-section {
  padding-top: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.contact-form {
  padding: clamp(24px, 4vw, 42px);
}
.contact-form h2,
.contact-card h2 {
  margin-bottom: 24px;
  font-size: 32px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(31, 38, 36, 0.72);
  font-size: 13px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 38, 36, 0.16);
  border-radius: 4px;
  padding: 13px 12px;
  background: #fffaf2;
  color: var(--charcoal);
  font: inherit;
}
input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}
.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
}
.check input {
  width: 16px;
  margin-top: 3px;
}
.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--green-grey);
  font-weight: 700;
}
.contact-card {
  padding: 32px;
  border-radius: 4px;
  color: var(--ivory);
  background: var(--ink);
}
.contact-card p + p {
  margin-top: 24px;
}
.contact-card a {
  color: var(--stone);
}
.compliance-note {
  max-width: 780px;
  margin-top: 56px;
  color: rgba(31, 38, 36, 0.7);
}
.prose h2 {
  margin: 36px 0 12px;
  font-size: 32px;
}
.prose h2:first-child {
  margin-top: 0;
}

.article-page {
  padding: clamp(72px, 11vw, 136px) 0;
}
.article-container {
  max-width: 840px;
}
.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}
.article-container h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
}
.article-deck {
  max-width: 760px;
  color: rgba(31, 38, 36, 0.72);
  font-size: clamp(19px, 2.2vw, 25px);
  font-style: italic;
  line-height: 1.42;
}
.article-body {
  margin-top: 58px;
  color: rgba(31, 38, 36, 0.82);
}
.article-body h2 {
  margin: 54px 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}
.article-body h3 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.18;
}
.article-body p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.78;
}
.article-body p + p {
  margin-top: 18px;
}
.article-disclaimer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(31, 38, 36, 0.62);
  font-size: 13px;
}

.site-footer {
  padding: 56px 0;
  color: rgba(246, 240, 230, 0.78);
  background: var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-wordmark {
  display: inline-block;
  color: var(--ivory);
  margin-bottom: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: flex-end;
  font-size: 13px;
}
.site-footer a:hover {
  color: var(--ivory);
}
.footer-legal {
  width: min(calc(100% - 40px), var(--max));
  margin: 28px auto 0;
  color: rgba(246, 240, 230, 0.56);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 66px;
  }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    padding: 8px 20px 20px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(31, 38, 36, 0.12);
  }
  .site-nav.is-open {
    display: grid;
    gap: 0;
  }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    min-height: 760px;
  }
  .hero-shade {
    background: linear-gradient(90deg, rgba(11, 17, 15, 0.92), rgba(11, 17, 15, 0.58));
  }
  .hero h1,
  .page-hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 7vw, 64px);
  }
  .section-heading,
  .split,
  .experience-grid,
  .page-hero-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .capability-grid,
  .three-up,
  .insight-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .capability-card,
  .three-up article,
  .insight-cards article,
  .team-card {
    min-height: auto;
  }
  .team-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }
  .pillar-card {
    gap: 16px;
  }
  .pillar-card span {
    margin-bottom: 0;
  }
  .insight-cards article {
    grid-template-rows: auto;
  }
  .insight-cards h3 {
    min-height: 0;
  }
  .three-up h3 {
    min-height: 0;
  }
  .pillar-card,
  .capability-panel,
  .insight-row {
    grid-template-columns: 1fr;
  }
  .capability-panel aside {
    border-left: 0;
    border-top: 1px solid currentColor;
    padding-left: 0;
    padding-top: 18px;
    margin-top: 0;
  }
  .closing-cta .split {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .footer-legal {
    width: min(calc(100% - 28px), var(--max));
  }
  h1 { font-size: 45px; }
  .hero h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero {
    min-height: 680px;
  }
  .hero-inner {
    padding: 72px 0;
  }
  .button {
    width: 100%;
  }
  .visual-panel,
  .visual-panel.small {
    min-height: 230px;
  }
}
