:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --paper: #fbfaf7;
  --panel: #fffdf8;
  --line: #e6ddcd;
  --gold: #d7b46a;
  --gold-dark: #8a6a2f;
  --warm-panel: #f8f1e3;
  --warm-panel-strong: #ead7ad;
  --warm-text: #5f4820;
  --navy: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f7f0e5 48%, #fbfaf7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(251, 250, 247, 0.94);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 23px;
  font-weight: 850;
}

.brand strong {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.client-access {
  opacity: 0.78;
  transition: color 160ms ease, opacity 160ms ease, background 160ms ease;
}

.nav a:hover,
.client-access:hover {
  color: var(--gold);
  opacity: 1;
}

.client-access {
  border: 1px solid currentColor;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.22));
}

.hero-floor {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  padding: 0 0 30px clamp(20px, 5vw, 64px);
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  max-width: 990px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 650;
  line-height: 1.02;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.hero-actions,
.research-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.primary:hover {
  background: #e5c984;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.dark:hover {
  background: #2b3445;
}

.button.warm {
  border-color: #f4c28e;
  background: var(--warm-panel);
  color: var(--warm-text);
}

.button.warm:hover {
  background: var(--warm-panel-strong);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1040px, calc(100% - 40px));
  margin: 0 0 54px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
}

.hero-metrics strong {
  display: block;
  font-size: 25px;
  font-weight: 650;
}

.hero-metrics span {
  display: block;
  max-width: 260px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: 96px clamp(20px, 5vw, 64px);
}

.overview {
  position: relative;
  isolation: isolate;
  padding-top: 110px;
  padding-bottom: 86px;
  background:
    linear-gradient(90deg, rgba(215, 180, 106, 0.16) 0%, rgba(215, 180, 106, 0.08) 32%, rgba(251, 250, 247, 0) 70%),
    var(--paper);
}

.overview::before {
  content: "";
  position: absolute;
  inset: 64px auto 64px 0;
  z-index: -1;
  width: clamp(220px, 31vw, 520px);
  background: linear-gradient(135deg, #b58a3c 0%, #e3c879 100%);
}

.overview > div {
  padding: clamp(26px, 4vw, 46px);
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
}

.overview .section-kicker {
  color: #e5c984;
}

.overview h2 {
  color: #fff;
}

.overview > p {
  align-self: center;
  padding: clamp(26px, 4vw, 40px);
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.overview,
.research-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: end;
}

.section h2,
.approach-section h2,
.contact-section h2 {
  margin-bottom: 0;
  max-width: 840px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 650;
  line-height: 1.12;
}

.section p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border-block: 1px solid #e4d5b9;
  background: #e4d5b9;
}

.pillar-grid article {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 244, 232, 0.92) 0%, rgba(255, 250, 246, 0.98) 100%);
  padding: 34px;
}

.pillar-grid article:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(250, 246, 239, 0.98) 100%);
}

.pillar-grid article:nth-child(2) {
  background: linear-gradient(135deg, #e2c982 0%, #f1dfb3 100%);
  color: #111827;
}

.pillar-grid article:nth-child(3) {
  background: linear-gradient(135deg, #b98b3e 0%, #d7b46a 100%);
  color: #111827;
}

.pillar-grid article:nth-child(2) .pillar-icon,
.pillar-grid article:nth-child(2) p {
  color: rgba(70, 37, 10, 0.78);
}

.pillar-grid article:nth-child(3) .pillar-icon,
.pillar-grid article:nth-child(3) p {
  color: rgba(17, 24, 39, 0.78);
}

.pillar-icon {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 850;
}

.pillar-grid h3 {
  margin: 34px 0 14px;
  font-size: 24px;
  font-weight: 650;
}

.pillar-grid p,
.site-layers p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.approach-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  padding: 96px clamp(20px, 5vw, 64px);
  background: var(--navy);
  color: #fff;
}

.approach-list {
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.approach-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.approach-list article:last-child {
  border-bottom: 0;
}

.approach-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.approach-list h3 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 650;
}

.approach-list p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.75;
}

.research-section {
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(215, 180, 106, 0.16) 0%, rgba(215, 180, 106, 0.08) 38%, rgba(251, 250, 247, 0) 70%),
    #fffdf8;
}

.research-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(180deg, #d7b46a 0%, #e5c984 50%, #111827 100%);
}

.research-section > div:first-child {
  position: relative;
  padding-left: clamp(18px, 2vw, 28px);
}

.research-section > div:first-child::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: var(--gold);
}

.site-layers {
  border-left: 0;
  padding-left: 0;
  background: rgba(17, 24, 39, 0.98);
  color: #fff;
}

.site-layers article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 32px;
}

.site-layers article:last-child {
  border-bottom: 0;
}

.site-layers h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 650;
  color: #fff;
}

.site-layers p {
  color: rgba(255, 255, 255, 0.66);
}

.contact-section {
  grid-template-columns: minmax(0, 620px) minmax(280px, 520px);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  justify-content: space-between;
  padding: clamp(90px, 9vw, 132px) clamp(20px, 5vw, 64px);
  border-top: 12px solid var(--navy);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.2) 0%, rgba(248, 241, 227, 0.96) 42%, #ead7ad 100%);
}

.contact-section > div {
  max-width: 620px;
}

.contact-section .section-kicker {
  margin-bottom: 22px;
}

.contact-section h2 {
  max-width: 620px;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.06;
}

.contact-section p {
  max-width: 590px;
  margin-top: 18px;
  margin-bottom: 0;
}

.contact-section .button {
  width: 100%;
  min-height: 58px;
  align-self: center;
  font-size: 15px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 30px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer p {
  max-width: 820px;
  margin: 0;
}

.footer span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: 86px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .client-access {
    display: inline-flex;
  }

  .hero {
    display: block;
  }

  .hero-content {
    padding-top: 25vh;
  }

  .hero-metrics,
  .overview,
  .pillar-grid,
  .approach-section,
  .research-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 44px;
  }

  .approach-section,
  .overview,
  .research-section,
  .contact-section {
    gap: 36px;
  }

  .site-layers {
    border-left: 0;
    padding-left: 0;
  }

  .contact-section .button {
    width: fit-content;
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
  }

  .footer span {
    white-space: normal;
  }
}
