:root {
  color-scheme: light;
  --ink: #17201f;
  --ink-soft: #43514e;
  --muted: #6a7471;
  --paper: #fbfaf6;
  --warm: #f2eee4;
  --line: #d9d2c2;
  --teal: #235f5c;
  --teal-dark: #143d3b;
  --brass: #aa7a36;
  --brass-soft: #d8bd88;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 32, 31, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 54px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 1px 0 rgba(23, 32, 31, 0.09);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 265px;
}

.brand-logo {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 62px;
  flex: 0 0 auto;
  margin-top: -3px;
  color: #d5081c;
}

.brand-word {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.brand-tag {
  position: absolute;
  right: 3px;
  bottom: 0;
  display: inline-flex;
  min-width: 58px;
  min-height: 19px;
  align-items: center;
  justify-content: center;
  background: #1d1d1b;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
}

.brand-descriptor {
  display: block;
  margin-top: 8px;
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 620;
  opacity: 0.72;
}

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

.site-nav a {
  position: relative;
  opacity: 0.88;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 18, 0.94) 0%, rgba(12, 19, 18, 0.74) 42%, rgba(12, 19, 18, 0.24) 100%),
    linear-gradient(180deg, rgba(12, 19, 18, 0.2) 0%, rgba(12, 19, 18, 0.68) 100%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/advisory-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0 32px;
}

.eyebrow,
.section-kicker {
  color: var(--brass-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--brass);
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  width: min(760px, 100%);
  margin-top: 18px;
  font-size: 4.55rem;
}

h2 {
  font-size: 3.35rem;
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  width: min(680px, 100%);
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 760;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brass);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #94672d;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-band {
  background: var(--warm);
}

.intro-section,
.metrics-section,
.capabilities,
.global-section,
.experience,
.industries,
.approach,
.why-care,
.contact-section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro-grid h2 {
  margin-top: 14px;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  width: min(760px, 100%);
  gap: 16px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.section-heading.compact {
  width: min(860px, 100%);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.metric-card strong {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 0.95;
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.card-index,
.timeline span,
.approach-steps span {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-grid h3 {
  margin-top: auto;
  color: var(--teal-dark);
}

.capability-grid p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.global-section {
  background: var(--teal-dark);
  color: var(--white);
}

.global-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
}

.global-panel h2 {
  margin-top: 14px;
}

.global-copy {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.market-list span {
  display: flex;
  min-height: 68px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 720;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  border-left: 2px solid var(--brass);
  padding: 8px 0 28px 28px;
}

.timeline h3 {
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 1.28rem;
}

.timeline p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.industries-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(220px, 0.7fr));
  gap: 26px;
}

.industries-grid h2 {
  margin-top: 14px;
}

.industries-grid article {
  border-top: 3px solid var(--teal);
  padding-top: 22px;
}

.industries-grid article p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 86px);
}

.approach-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.approach-steps article {
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
}

.approach-steps h3 {
  margin-top: 12px;
  color: var(--teal-dark);
}

.approach-steps p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 84px);
}

.why-grid h2 {
  margin-top: 14px;
}

.why-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.why-list strong {
  color: var(--teal-dark);
}

.why-list span {
  color: var(--ink-soft);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-panel {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.contact-panel h2 {
  width: min(780px, 100%);
}

.contact-panel p {
  width: min(660px, 100%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  width: min(720px, 100%);
  gap: 14px;
  margin-top: 10px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  outline: none;
  padding: 13px 14px;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brass-soft);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form .button {
  width: fit-content;
  margin-top: 6px;
  cursor: pointer;
}

.contact-form [name="_honey"] {
  position: absolute;
  left: -9999px;
}

.form-status {
  width: min(720px, 100%);
  min-height: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  margin: 2px 0 0;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.form-status:not(:empty) {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.form-status.is-success {
  border-color: rgba(126, 173, 135, 0.55);
  background: rgba(41, 91, 68, 0.38);
  color: #d7ebdc;
}

.form-status.is-error {
  border-color: rgba(243, 178, 168, 0.45);
  background: rgba(119, 47, 39, 0.28);
  color: #f3b2a8;
}

.site-footer {
  padding: 30px 0;
  background: #101615;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .brand {
    min-width: 0;
  }

  .brand-descriptor {
    display: none;
  }

  .site-nav a {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .global-layout,
  .experience-grid,
  .approach-layout,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .global-copy {
    grid-column: auto;
  }

  .metric-grid,
  .capability-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-heading {
    position: static;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .metric-card strong {
    font-size: 2.65rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .brand-logo {
    width: 104px;
    height: 54px;
  }

  .brand-word {
    font-size: 2.9rem;
  }

  .brand-tag {
    min-width: 52px;
    min-height: 17px;
    font-size: 0.52rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(12, 19, 18, 0.92), rgba(12, 19, 18, 0.68)),
      linear-gradient(180deg, rgba(12, 19, 18, 0.1), rgba(12, 19, 18, 0.78));
  }

  h1 {
    font-size: 3.18rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .metric-card strong {
    font-size: 2.35rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-form .button {
    width: 100%;
  }

  .metric-grid,
  .capability-grid,
  .industries-grid,
  .market-list {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 170px;
  }

  .capability-grid article {
    min-height: 230px;
  }

  .why-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
