:root {
  --home-section: clamp(62px, 5.5vw, 80px);
  --home-rule: #e4e0d8;
  --home-shadow: 0 14px 34px rgba(23, 55, 70, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  color: var(--ds5-body);
  background: var(--ds5-warm);
  font-family: var(--ds5-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.home-shell {
  width: min(100% - 40px, var(--ds5-shell));
  margin-inline: auto;
}

.home-eyebrow {
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ds5-gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--ds5-gold);
}

.home-hero {
  padding: 12px 0 18px;
  background: linear-gradient(180deg, #fcfbf8 0%, #f7f5f0 100%);
}

.home-hero-grid {
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(40px, 4.4vw, 64px);
}

.home-hero-copy {
  padding: 30px 0 38px;
}

.home-hero h1 {
  max-width: 630px;
  margin: 0;
  color: var(--ds5-midnight);
  font-family: var(--ds5-serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
}

.home-hero-lead {
  max-width: 585px;
  margin: 23px 0 0;
  color: var(--ds5-body);
  font-size: 17.5px;
  line-height: 1.72;
}

.home-actions {
  margin-top: 29px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background var(--ds5-ease), border-color var(--ds5-ease), transform var(--ds5-ease);
}

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

.home-button--primary {
  color: var(--ds5-midnight);
  background: var(--ds5-gold);
  border: 1px solid var(--ds5-gold);
  box-shadow: 0 7px 18px rgba(152, 118, 63, .12);
}

.home-button--primary:hover {
  background: #d5bc8c;
  border-color: #d5bc8c;
}

.home-button--secondary {
  color: var(--ds5-midnight);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(49, 95, 112, .34);
}

.home-button--secondary:hover {
  background: #fff;
  border-color: var(--ds5-blue);
}

.home-hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.19 / 1;
  border: 1px solid rgba(23, 55, 70, .12);
  border-radius: 18px;
  background: #e7e4dd;
  box-shadow: var(--home-shadow);
}

.home-hero-media picture,
.home-hero-media img {
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: 58% 34%;
}

.home-services {
  padding: var(--home-section) 0;
  background: #fff;
}

.home-section-intro {
  max-width: 760px;
}

.home-section-intro h2,
.home-partners-copy h2 {
  margin: 0;
  color: var(--ds5-midnight);
  font-family: var(--ds5-serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1.16;
}

.home-section-intro > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ds5-body);
  font-size: 17px;
  line-height: 1.72;
}

.home-service-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(46px, 7vw, 92px);
}

.home-service-item {
  min-height: 208px;
  padding: 26px 0 25px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 21px;
  border-top: 1px solid var(--home-rule);
}

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

.home-service-number {
  padding-top: 4px;
  color: var(--ds5-gold-dark);
  font-family: var(--ds5-serif);
  font-size: 15px;
}

.home-service-item h3 {
  margin: 0 0 11px;
  color: var(--ds5-midnight);
  font-family: var(--ds5-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
}

.home-service-nowrap { white-space: nowrap; }

.home-service-item p {
  max-width: 475px;
  margin: 0 0 19px;
  color: var(--ds5-body);
  font-size: 14.5px;
  line-height: 1.7;
}

.home-service-item a,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ds5-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-service-item a span,
.home-text-link span {
  color: var(--ds5-gold-dark);
  transition: transform var(--ds5-ease);
}

.home-service-item a:hover,
.home-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-service-item a:hover span,
.home-text-link:hover span { transform: translateX(3px); }

.home-partners {
  padding: var(--home-section) 0;
  background: #f2f5f4;
  border-top: 1px solid #dce2e1;
  border-bottom: 1px solid #dce2e1;
}

.home-partners-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(64px, 8vw, 110px);
}

.home-partners-copy {
  max-width: 670px;
}

.home-partners-copy > p:not(.home-eyebrow) {
  max-width: 570px;
  margin: 21px 0 0;
  color: var(--ds5-body);
  font-size: 16px;
  line-height: 1.75;
}

.home-partners-copy .home-actions { align-items: center; }

.home-professional-audiences h3 {
  margin: 0 0 16px;
  color: var(--ds5-gold-dark);
  font: 800 12px/1.35 var(--ds5-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-professional-audiences ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfd9d7;
}

.home-professional-audiences li {
  padding: 13px 0;
  color: var(--ds5-midnight);
  border-bottom: 1px solid #cfd9d7;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.home-final {
  padding: 52px 0;
  background: #edf1f1;
  border-top: 1px solid #dce2e1;
}

.home-final-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.home-final h2 {
  margin: 0;
  color: var(--ds5-midnight);
  font-family: var(--ds5-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.home-final p:not(.home-eyebrow) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--ds5-body);
  font-size: 16px;
}

.home-final .home-actions {
  margin-top: 0;
  flex: 0 0 auto;
}

:where(.home-hero, .home-services, .home-partners, .home-final) :where(a, button):focus-visible {
  outline: 3px solid var(--ds5-gold-dark);
  outline-offset: 3px;
}

@media (min-width: 1200px) {
  .home-hero-title-line { display: block; white-space: nowrap; }
}

@media (max-width: 1120px) {
  .home-hero-grid { gap: 40px; }
  .home-hero-lead { font-size: 16.5px; }
  .home-button { padding-inline: 19px; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@media (max-width: 1279px) {
  .home-hero h1 { font-size: 38px; }
  .home-section-intro h2,
  .home-partners-copy h2 { font-size: 32px; }
  .home-final h2 { font-size: 30px; }
}

@media (max-width: 899px) {
  .home-hero { padding-top: 10px; }
  .home-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-hero-copy { padding: 36px 0 30px; }
  .home-hero h1 { max-width: 680px; }
  .home-hero-lead { max-width: 650px; }
  .home-hero-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .home-hero-media img { object-position: 58% 30%; }
  .home-partners-panel { grid-template-columns: 1fr; }
  .home-partners-panel { gap: 38px; }
  .home-final-layout { align-items: flex-start; flex-direction: column; }
  .home-final .home-actions { width: 100%; }
}

@media (max-width: 700px) {
  .home-shell { width: calc(100% - 40px); }
  .home-hero-copy { padding: 30px 0 26px; }
  .home-eyebrow { font-size: 10.5px; }
  .home-hero h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  .home-hero-lead {
    margin-top: 19px;
    font-size: 16px;
  }
  .home-actions {
    margin-top: 24px;
    display: grid;
    width: 100%;
  }
  .home-button { width: 100%; min-height: 52px; }
  .home-hero-media { aspect-ratio: 4 / 3; border-radius: 15px; }
  .home-hero-media img { object-position: 60% 31%; }
  .home-services,
  .home-partners { padding: 54px 0; }
  .home-section-intro > p:last-child { font-size: 16px; }
  .home-service-list { margin-top: 35px; grid-template-columns: 1fr; }
  .home-service-item {
    min-height: 0;
    padding: 23px 0;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 13px;
  }
  .home-service-item:nth-last-child(2) { border-bottom: 0; }
  .home-partners-copy .home-text-link { min-height: 44px; justify-content: center; }
  .home-final { padding: 48px 0; }
}

@media (max-width: 767px) {
  .home-hero h1 { font-size: 32px; }
  .home-section-intro h2,
  .home-partners-copy h2 { font-size: 27px; line-height: 1.17; }
  .home-final h2 { font-size: 27px; line-height: 1.16; }
  .home-service-item h3 { font-size: 20px; line-height: 1.23; }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-service-item a span,
  .home-text-link span { transition: none; }
}
