:root {
  --paper: #ffffff;
  --paper-alt: #f1f7f8;
  --paper-soft: #f7fafb;
  --ink: #0b2033;
  --ink-soft: #526273;
  --teal: #007a80;
  --teal-deep: #005e65;
  --brass: #a8742f;
  --rule: #bed1d3;
  --rule-strong: #8eb4b8;
  --card: #ffffff;
  --focus: #b87d22;
  --shadow-hero: 22px 28px 0 rgba(0, 122, 128, 0.07);
  --edge: clamp(24px, 5vw, 88px);
  --section-space: clamp(72px, 10vw, 144px);
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #081a29;
  --paper-alt: #0c2634;
  --paper-soft: #102c3b;
  --ink: #f4fbfb;
  --ink-soft: #b5cbd0;
  --teal: #46c0c0;
  --teal-deep: #78d8d2;
  --brass: #e0b96e;
  --rule: #2a5361;
  --rule-strong: #407584;
  --card: #0d2432;
  --focus: #f1c66e;
  --shadow-hero: 22px 28px 0 rgba(70, 192, 192, 0.08);
  color-scheme: dark;
}

html[data-theme="dark"] .header-cta {
  color: #78d8d2;
}

html[data-theme="dark"] .button.secondary {
  color: #f4fbfb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 122, 128, 0.16);
  transition: background-color 220ms ease, color 220ms ease;
}

main {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
a {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 12px var(--edge);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.86vw, 0.88rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-decoration: none;
}

.brand > span:last-child {
  max-width: 520px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-links a,
.header-cta,
.button,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.contact-card a:hover,
.site-footer a:hover {
  color: var(--teal);
}

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

.header-actions-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--teal);
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.theme-toggle-btn,
.menu-toggle-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle-btn:hover,
.menu-toggle-btn:hover {
  background: var(--paper-alt);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  transition: transform 220ms ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(16deg);
}

html[data-theme="light"] .theme-toggle-btn .sun-icon,
html[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

.menu-toggle-btn {
  display: none;
}

.menu-toggle-btn svg line {
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links .mobile-cta {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.86fr);
  gap: clamp(54px, 8vw, 148px);
  align-items: center;
  min-height: min(900px, calc(100vh - 76px));
  padding: clamp(64px, 9vw, 140px) var(--edge) clamp(76px, 8vw, 118px);
  background: var(--paper);
}

.hero::before {
  position: absolute;
  top: clamp(66px, 9vw, 142px);
  bottom: clamp(76px, 8vw, 118px);
  left: calc(var(--edge) * 0.54);
  width: 1px;
  background: var(--rule);
  content: "";
}

.hero::after {
  position: absolute;
  top: clamp(76px, 11vw, 170px);
  left: calc((var(--edge) * 0.54) - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 148px 0 var(--teal), 0 296px 0 var(--teal), 0 444px 0 var(--teal);
  content: "";
}

.hero-copy {
  position: relative;
  max-width: 760px;
  padding-left: clamp(18px, 4vw, 68px);
}

.hero-copy::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: var(--teal);
  content: "";
}

.hero-context,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3.15rem, 4.45vw, 4.95rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h2 {
  max-width: 980px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.4rem, 3.9vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.01rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid var(--teal);
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--paper-alt);
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-2px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 0;
  border-top: 1px solid var(--rule-strong);
}

.hero-proof div {
  min-width: 0;
  padding: 20px 18px 4px;
  border-left: 1px solid var(--rule);
}

.hero-proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof dt {
  color: var(--brass);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero-media::before {
  inset: -20px 20px 20px -20px;
  border: 1px solid var(--rule-strong);
}

.hero-media::after {
  top: -42px;
  right: 0;
  width: 1px;
  height: 52px;
  background: var(--teal);
}

.hero-media img {
  width: 100%;
  min-height: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-hero);
}

@media (min-width: 1400px) {
  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(470px, 0.76fr);
    gap: clamp(54px, 5vw, 104px);
    min-height: 780px;
    padding-block: clamp(72px, 5vw, 100px) 76px;
  }

  .hero-media {
    width: min(100%, 650px);
    justify-self: end;
  }

  .hero-media img {
    min-height: 0;
    max-height: 690px;
  }
}

.section {
  padding: var(--section-space) var(--edge);
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(42px, 5vw, 72px);
}

.section-heading p:not(.section-kicker),
.split-section p,
.expertise-panel p,
.timeline p,
.contact-section p,
.publication-list {
  color: var(--ink-soft);
}

.section-heading p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.section-heading.compact {
  max-width: 900px;
}

.services-section,
.career-section {
  background: var(--paper-alt);
}

.services-section {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

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

.service-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--card);
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:first-child {
  grid-column: span 4;
  min-height: 300px;
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 2;
}

.service-card:nth-child(4) {
  grid-column: span 4;
}

.service-card:hover {
  z-index: 1;
  background: var(--paper);
  border-color: var(--teal);
  box-shadow: 8px 9px 0 color-mix(in srgb, var(--teal) 12%, transparent);
  transform: translate(-2px, -2px);
}

.service-number {
  display: block;
  margin-bottom: clamp(42px, 6vw, 84px);
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.service-card p,
.expertise-panel p,
.timeline p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(52px, 9vw, 150px);
  align-items: start;
  background: var(--paper);
}

.split-section > div:first-child {
  position: relative;
  padding-left: 26px;
}

.split-section > div:first-child::before {
  position: absolute;
  top: 0;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: var(--teal);
  content: "";
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule-strong);
  overflow: visible;
}

.approach-list article {
  position: relative;
  min-width: 0;
  padding: 24px clamp(20px, 3vw, 42px) 0;
  border-left: 1px solid var(--rule);
}

.approach-list article:first-child {
  padding-left: 0;
  border-left: 0;
}

.approach-list article::before {
  position: absolute;
  top: -35px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 2px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.approach-list article:first-child::before {
  left: 0;
}

.approach-list h3 {
  min-height: 2.7em;
}

.approach-list p {
  margin-bottom: 0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.proof-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #071d2d;
  box-shadow: none;
}

.proof-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--edge) * 0.55);
  width: 2px;
  background: var(--teal);
  content: "";
}

.proof-section h2 {
  color: #ffffff;
}

.proof-section .section-kicker {
  color: #6bd1ce;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(221, 242, 240, 0.38);
}

.metric {
  min-height: 180px;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 3vw, 34px);
  border-left: 1px solid rgba(221, 242, 240, 0.38);
}

.metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  color: #e1b65f;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.metric span {
  color: rgba(247, 253, 253, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
}

.expertise-section {
  background: var(--paper);
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-rows: repeat(3, minmax(142px, auto));
  border-top: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}

.expertise-panel {
  padding: clamp(26px, 3.4vw, 54px);
  background: var(--card);
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
}

.expertise-panel:first-child {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}

.expertise-panel:first-child h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.expertise-panel:hover {
  background: var(--paper-alt);
}

.career-section {
  border-top: 1px solid var(--rule);
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--teal);
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 70px);
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--teal);
}

.timeline span {
  grid-row: span 2;
  margin: 2px 0 0;
  color: var(--brass);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.timeline h3,
.timeline p {
  grid-column: 2;
}

.timeline h3 {
  margin-bottom: 6px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.publications-section {
  position: relative;
  background: var(--paper);
}

.publications-section::before {
  position: absolute;
  top: 0;
  right: var(--edge);
  left: var(--edge);
  height: 2px;
  background: var(--teal);
  content: "";
}

.publication-list {
  max-width: 1100px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.publication-list li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.6;
}

.publication-list li::before {
  position: absolute;
  top: 1.05em;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 50%;
  content: "";
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(44px, 8vw, 152px);
  align-items: center;
  margin: 0;
  padding: var(--section-space) var(--edge);
  color: #ffffff;
  background: #071d2d;
  border-radius: 0;
}

.contact-section h2 {
  color: #ffffff;
}

.contact-section .section-kicker {
  color: #6bd1ce;
  margin-bottom: 24px;
}

.contact-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(247, 253, 253, 0.78);
}

.contact-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(224, 244, 242, 0.75);
  box-shadow: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}

.contact-card a {
  padding: 19px 24px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-card a + a {
  border-top: 1px solid rgba(224, 244, 242, 0.75);
}

.contact-card a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px var(--edge);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--teal);
}

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

  .menu-toggle-btn {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: flex;
    min-height: calc(100vh - 76px);
    padding: 56px var(--edge);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 28px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .site-header.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .nav-links .mobile-cta {
    display: inline-flex;
    width: min(100%, 320px);
    margin-top: 16px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 48px;
  }

  .expertise-panel:first-child {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 64px;
  }

  .hero::before {
    top: 58px;
    bottom: auto;
    height: 250px;
  }

  .hero::after {
    top: 66px;
    box-shadow: 0 100px 0 var(--teal), 0 200px 0 var(--teal);
  }

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

  .hero-media {
    width: min(100%, 780px);
    margin-left: auto;
  }

  .hero-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

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

  .service-card:first-child,
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    grid-column: auto;
    min-height: 260px;
  }

  .approach-list {
    margin-top: 0;
  }

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

  .metric:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .metric:nth-child(n + 3) {
    padding-top: 34px;
    border-top: 1px solid rgba(221, 242, 240, 0.38);
  }

  .expertise-layout {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-panel:first-child {
    grid-row: span 2;
    min-height: 0;
  }

  .expertise-panel:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .brand {
    gap: 9px;
    font-size: 0.7rem;
    line-height: 1.14;
  }

  .brand > span:last-child {
    max-width: 215px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .header-actions-right {
    gap: 8px;
  }

  .theme-toggle-btn,
  .menu-toggle-btn {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    top: 68px;
    min-height: calc(100vh - 68px);
    padding: 48px 24px;
  }

  section[id] {
    scroll-margin-top: 84px;
  }

  .hero {
    gap: 42px;
    padding: 68px 24px 72px;
  }

  .hero::before {
    left: 13px;
  }

  .hero-copy {
    padding-left: 18px;
  }

  .hero-copy::before {
    width: 1px;
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero-proof div {
    padding: 18px 14px;
  }

  .hero-proof div:first-child {
    padding-left: 0;
  }

  .hero-proof div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .hero-proof div:nth-child(n + 3) {
    margin-top: 14px;
    padding-top: 18px;
  }

  .hero-media::before {
    inset: -12px 12px 12px -12px;
  }

  .hero-media::after {
    top: -26px;
    height: 36px;
  }

  .hero-media img {
    aspect-ratio: 2 / 1;
    height: clamp(180px, 52vw, 220px);
    object-position: center 60%;
  }

  .section {
    padding: 60px 24px;
  }

  .service-grid,
  .approach-list,
  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 42px;
  }

  .split-section {
    gap: 30px;
  }

  .approach-list {
    padding-top: 14px;
  }

  .approach-list article,
  .approach-list article:first-child {
    padding: 32px 0 30px 22px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .approach-list article::before,
  .approach-list article:first-child::before {
    top: -5px;
    left: 0;
  }

  .approach-list h3 {
    min-height: 0;
  }

  .proof-section::before {
    left: 12px;
  }

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

  .metric,
  .metric:first-child,
  .metric:nth-child(3) {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(221, 242, 240, 0.38);
    border-left: 0;
  }

  .metric:first-child {
    border-top: 0;
  }

  .metric strong {
    font-size: 4.2rem;
  }

  .expertise-layout {
    grid-template-rows: auto;
  }

  .expertise-panel:first-child,
  .expertise-panel:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }

  .expertise-panel:first-child {
    min-height: 260px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline span,
  .timeline h3,
  .timeline p {
    grid-column: 1;
  }

  .timeline span {
    grid-row: auto;
    margin: 0;
  }

  .publications-section::before {
    right: 24px;
    left: 24px;
  }

  .publication-list li {
    padding-left: 24px;
    font-size: 0.9rem;
  }

  .contact-section {
    gap: 32px;
    padding: 56px 24px;
  }

  .contact-card a {
    padding: 18px;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 24px;
  }
}

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