:root {
  --ink: #102d46;
  --ink-deep: #0e1823;
  --cream: #e9eef2;
  --paper: #f7f9fa;
  --sage: #9fb1bf;
  --line: rgba(16, 45, 70, 0.17);
  --gold: #527b9e;
  --white: #ffffff;
  --sans: "DM Sans", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.is-hidden {
  display: none;
}

svg {
  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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 24px 5vw;
  color: var(--white);
  background: var(--ink-deep);
  box-shadow: 0 8px 28px rgba(7, 21, 33, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  display: block;
  width: 315px;
  height: 132px;
  object-fit: contain;
}

.footer-brand img {
  width: 210px;
  height: 88px;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.overflow {
  position: relative;
  justify-self: end;
}

.overflow-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.overflow-toggle > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.overflow-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  display: none;
  width: 290px;
  padding: 18px 24px;
  color: var(--white);
  background: #162838;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}

.overflow-menu.open {
  display: flex;
  flex-direction: column;
}

.overflow-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.overflow-menu a:last-child {
  border-bottom: 0;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 53% 47%;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 205px 8vw 100px 8vw;
  color: var(--white);
}

.hero-copy > .eyebrow {
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: #6688a4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--sage);
}

.section-label {
  margin-bottom: 30px;
  font-size: 14px;
  letter-spacing: 0.18em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 680px;
  font-size: clamp(56px, 5.3vw, 84px);
}

.hero-intro {
  max-width: 570px;
  margin: 34px 0 0;
  color: #bdcbd5;
  font-size: 17px;
  line-height: 1.7;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: 680px;
  margin-top: 30px;
}

.hero-services a {
  padding-bottom: 5px;
  color: #d9e3ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.hero-services a:hover {
  color: var(--white);
  border-color: var(--white);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 205px;
  padding: 18px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.hero-actions .button-primary {
  justify-content: center;
}

.button-primary:hover {
  background: #dbe5ec;
}

.hero-visual {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 21, 33, 0.03) 40%, rgba(7, 21, 33, 0.85) 100%),
    url("assets/executive-team.jpg") center / cover no-repeat;
}

.section {
  padding: 106px 7vw;
  scroll-margin-top: 145px;
}

.expertise {
  padding-top: 61px;
  padding-bottom: 71px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 42px;
}

.section-heading h2,
.about h2 {
  max-width: 690px;
  font-size: clamp(47px, 5vw, 72px);
}

.section-heading > p,
.section-subheading {
  max-width: 380px;
  margin: 0 0 4px;
  color: #617383;
  font-size: 15px;
  line-height: 1.7;
}

.section-subheading {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
}

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

.service-card {
  position: relative;
  scroll-margin-top: 150px;
  min-height: 370px;
  padding: 30px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
}

.service-card:nth-child(even) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-card:hover,
.service-card.featured {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-8px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 18px 0 46px;
  color: var(--gold);
  border: 1px solid rgba(82, 123, 158, 0.42);
  border-radius: 50%;
  background: rgba(82, 123, 158, 0.08);
}

.service-card:hover .service-icon,
.service-card.featured .service-icon {
  color: #8fb7d6;
  border-color: rgba(143, 183, 214, 0.5);
  background: rgba(143, 183, 214, 0.1);
}

.service-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h3,
.step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 18px 0 28px;
  color: #667989;
  font-size: 16px;
  line-height: 1.65;
}

.service-card:hover p,
.service-card.featured p {
  color: #c6d2cb;
}

.service-card a {
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  padding: 106px 8vw;
  color: var(--white);
  background: var(--ink-deep);
  scroll-margin-top: 145px;
}

.approach-intro {
  position: sticky;
  top: 80px;
  align-self: start;
}

.approach h2 {
  font-size: clamp(50px, 5.4vw, 78px);
}

.approach h2 em {
  color: var(--gold);
  font-weight: 400;
}

.approach-intro > p:last-child {
  max-width: 410px;
  margin: 38px 0 0;
  color: #aebfcb;
  font-size: 15px;
  line-height: 1.8;
}

.steps,
.experience-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.experience-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat {
  min-height: 205px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:nth-child(even) {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.stat p {
  max-width: 190px;
  margin: 18px 0 0;
  color: #b7c8c0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 25px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.step-marker {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 14px;
}

.step p {
  margin: 12px 0 0;
  color: #9eb1bf;
  font-size: 13px;
  line-height: 1.6;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9vw;
  background: #e9eef2;
}

.about-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  overflow: hidden;
  background: url("assets/aaron-gillingham-headshot-blue.jpg") center bottom / contain no-repeat;
}

.about-lead {
  margin: 34px 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.45;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  color: #5e7180;
  font-size: 14px;
  line-height: 1.8;
}

.button-outline {
  width: max-content;
  margin-top: 34px;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

blockquote {
  margin: 42px 0 0;
  padding: 23px 0 0 30px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
}

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

.insight-list {
  border-top: 1px solid var(--line);
}

.insight {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 30px;
  padding: 34px 20px;
  border-bottom: 1px solid var(--line);
  transition: padding 250ms ease, background 250ms ease;
}

.insight:hover {
  padding-right: 30px;
  padding-left: 30px;
  background: var(--cream);
}

.insight h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.insight small {
  display: block;
  margin-bottom: 9px;
  color: #82958c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.insight-arrow {
  justify-self: end;
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 10vw;
  padding: 86px 8vw;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(41, 73, 102, 0.38), transparent 34%),
    var(--ink-deep);
  scroll-margin-top: 145px;
}

.contact h2 {
  max-width: 800px;
  font-size: clamp(50px, 6vw, 85px);
}

.contact .eyebrow {
  color: #b5c9d8;
}

.contact-action p {
  max-width: 430px;
  margin: 0 0 33px;
  color: #d5e0e7;
  font-size: 15px;
  line-height: 1.75;
}

.button-light {
  width: 100%;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  text-transform: none;
}

.button-light:hover {
  background: var(--cream);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  color: #d5e0e7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease;
}

.contact-links a:hover {
  color: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 38px 5vw;
  color: var(--white);
  background: var(--ink-deep);
  font-size: 10px;
  letter-spacing: 0.05em;
}

footer p {
  color: #9babb7;
}

footer > a:last-child {
  justify-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 680px;
    padding-right: 9vw;
  }

  .hero-visual {
    min-height: 580px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .service-card {
    min-height: 370px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(even) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-icon {
    margin-bottom: 50px;
  }

  .approach {
    grid-template-columns: 1fr;
  }

  .approach-intro {
    position: static;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .insight {
    grid-template-columns: 1fr 30px;
  }

  .about-art {
    min-height: 500px;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

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

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

  .brand img {
    width: 225px;
    height: 99px;
  }

  .footer-brand img {
    width: 171px;
    height: 75px;
  }

  .hero-copy {
    min-height: 650px;
    padding: 170px 22px 70px;
  }

  h1 {
    font-size: 51px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .section,
  .approach,
  .contact {
    padding: 72px 22px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading h2,
  .about h2 {
    font-size: 46px;
  }

  .service-card {
    padding: 30px 26px;
  }

  .approach h2 {
    font-size: 48px;
  }

  .step {
    grid-template-columns: 64px 1fr;
  }

  .experience-stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(even) {
    grid-column: auto;
    min-height: 170px;
    border-right: 0;
  }

  .step-marker {
    width: 47px;
    height: 47px;
  }

  .about-art {
    min-height: 400px;
  }

  .about {
    gap: 60px;
  }

  .insight {
    grid-template-columns: 1fr 20px;
    gap: 14px;
    padding: 26px 5px;
  }

  .contact h2 {
    font-size: 48px;
  }

  .button-light {
    gap: 10px;
    min-width: 0;
    font-size: 11px;
    letter-spacing: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 38px 22px;
  }

  footer > a:last-child {
    justify-self: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}
