:root {
  --paper: #f2efe7;
  --paper-warm: #e8e2d5;
  --ink: #151713;
  --muted: #5f665d;
  --green: #143f35;
  --green-deep: #0b241f;
  --green-soft: #d8e0d3;
  --brass: #a67f3f;
  --line: rgba(21, 23, 19, 0.16);
  --line-light: rgba(242, 239, 231, 0.18);
  --white: #fffdf8;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(21, 23, 19, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 23, 19, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

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

p {
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 239, 231, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 78px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-cta {
  min-width: 152px;
  padding: 0 18px;
}

.button {
  min-width: 216px;
  padding: 0 24px;
}

.button:hover,
.nav-cta:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 112px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(242, 239, 231, 0.98) 0%, rgba(242, 239, 231, 0.9) 46%, rgba(242, 239, 231, 0.54) 100%),
    url("assets/advisory-field.png");
  background-position: center, right clamp(18px, 6vw, 90px) center;
  background-repeat: no-repeat;
  background-size: 100% 100%, min(58vw, 760px) auto;
}

.hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 96px);
  bottom: 0;
  width: min(42vw, 520px);
  height: 9px;
  content: "";
  background: var(--brass);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: inherit;
  padding: clamp(64px, 10vw, 118px) 0 clamp(66px, 8vw, 96px);
}

.hero-copy {
  max-width: 1040px;
}

.eyebrow {
  color: var(--brass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 1040px;
  margin-top: 34px;
  font-size: 86px;
}

h2 {
  font-size: 56px;
}

h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-lede {
  max-width: 720px;
  margin-top: 28px;
  color: #33372f;
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.capacity {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-bar {
  overflow: hidden;
  background: var(--green-deep);
  color: var(--paper);
}

.stat-marquee {
  max-width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.stat-track {
  display: flex;
  width: max-content;
  animation: stat-scroll 34s linear infinite;
  will-change: transform;
}

.stat-marquee:hover .stat-track {
  animation-play-state: paused;
}

.stat-set {
  display: flex;
  flex: 0 0 auto;
}

.stat-item {
  display: block;
  flex: 0 0 clamp(220px, 22vw, 300px);
  min-height: 126px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-light);
}

.stat-set .stat-item:first-child {
  border-left: 1px solid var(--line-light);
}

.stat-link {
  background: rgba(216, 224, 211, 0.06);
}

.stat-link:hover {
  background: rgba(216, 224, 211, 0.12);
}

.stat-track strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.stat-track span {
  display: block;
  margin-top: 12px;
  color: rgba(242, 239, 231, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

@keyframes stat-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

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

.split,
.operator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 22px;
}

.section-copy p {
  color: #32372f;
  font-size: 19px;
  line-height: 1.72;
}

.section-head {
  display: grid;
  max-width: 780px;
  gap: 22px;
  margin-bottom: 44px;
}

.section-head p:not(.eyebrow) {
  max-width: 680px;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.32);
}

.service span,
.process-list span {
  display: inline-flex;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.service h3 {
  margin-top: 48px;
}

.service p {
  margin-top: 18px;
}

.process-band {
  background: var(--green);
  color: var(--paper);
}

.process-band .eyebrow,
.process-band h2,
.process-band h3 {
  color: var(--paper);
}

.process-band .section-head p,
.process-band p {
  color: rgba(242, 239, 231, 0.72);
}

.process-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.process-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 120px;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.process-list p {
  max-width: 720px;
  margin-top: 10px;
}

.process-list strong {
  justify-self: end;
  color: rgba(242, 239, 231, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.fit-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--white);
}

.fit-card.inverse {
  background: var(--ink);
  border-color: var(--ink);
}

.fit-card.inverse h3,
.fit-card.inverse li {
  color: var(--paper);
}

.fit-card h3 {
  margin-bottom: 28px;
}

.fit-card ul {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding-left: 26px;
  color: #32372f;
}

.fit-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--brass);
}

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

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-card {
  display: grid;
  min-height: 360px;
  padding: 30px;
  background: var(--paper);
}

.client-name {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 42px;
}

.work-card p:not(.client-name) {
  margin-top: 18px;
}

.work-card span {
  align-self: end;
  margin-top: 34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.named-clients {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.named-clients strong {
  color: var(--ink);
  font-weight: 700;
}

.operator {
  background: var(--paper);
}

.operator-role {
  margin-top: 18px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.operator-photo {
  width: min(100%, 320px);
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.operator-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.closing {
  padding-top: 0;
}

.closing-panel {
  padding: clamp(38px, 6vw, 64px);
  border-top: 6px solid var(--brass);
  background: var(--green-deep);
}

.closing-panel h2,
.closing-panel p {
  color: var(--paper);
}

.closing-panel p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(242, 239, 231, 0.74);
  font-size: 18px;
}

.button.secondary {
  margin-top: 34px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--green-deep);
}

.button.secondary:hover {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-style: normal;
}

.footer address a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 50px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service {
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 70px;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-width: 138px;
    padding: 0 14px;
    font-size: 11px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(242, 239, 231, 0.98) 0%, rgba(242, 239, 231, 0.86) 58%, rgba(242, 239, 231, 0.44) 100%),
      url("assets/advisory-field.png");
    background-position: center right 32%;
    background-size: cover;
  }

  .hero-grid {
    min-height: auto;
    padding: 70px 0 76px;
  }

  h1 {
    margin-top: 24px;
    font-size: 50px;
    line-height: 1;
  }

  .hero-lede {
    font-size: 18px;
  }

  .stat-item {
    flex-basis: 238px;
  }

  .split,
  .operator-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .process-list strong {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .brand strong {
    font-size: 19px;
  }

  .nav-cta {
    min-width: auto;
    min-height: 40px;
    padding: 0 12px;
    letter-spacing: 0.04em;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .capacity {
    max-width: 230px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .section {
    padding: 62px 0;
  }

  .stat-item {
    flex-basis: 224px;
    min-height: 104px;
    padding: 22px 18px;
  }

  .stat-track strong {
    font-size: 29px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .service,
  .work-card {
    min-height: auto;
  }

  .service h3,
  .work-card h3 {
    margin-top: 34px;
  }

  .fit-card {
    padding: 26px;
  }

  .operator-photo {
    width: min(100%, 280px);
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer address {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stat-track {
    width: 100%;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .stat-set {
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .stat-set[aria-hidden="true"] {
    display: none;
  }

  .stat-item {
    flex: 1 1 220px;
  }
}
