@import url('/hostallies/brand-system.css');
@import url('/hostallies/icons.css');

:root {
  --content: 1120px;
  --header-height: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pine-dark); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.content-shell, .header-shell { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 10px 14px; background: var(--pine-dark); color: white; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); background: rgba(255,255,255,.98); border-bottom: 1px solid #edf0ee; }
.header-shell { height: 100%; display: grid; grid-template-columns: 220px 1fr 190px; align-items: stretch; }
.hostallies-brand { align-self: center; justify-self: start; display: inline-flex; align-items: center; text-decoration: none; }
.hostallies-brand img { display: block; width: 128px; height: 41px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: flex-end; align-items: stretch; }
.nav-group { position: relative; display: flex; align-items: stretch; border-left: 1px solid #f0f2f1; }
.nav-trigger { min-width: 135px; padding: 0 20px; border: 0; background: transparent; font: 700 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .14em; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.nav-trigger:hover, .nav-group.open .nav-trigger { color: var(--orange-dark); }
.nav-direct-link { min-width: 108px; display: grid; place-items: center; padding: 0 16px; border-left: 1px solid #f0f2f1; color: var(--pine); text-decoration: none; font: 700 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; }
.nav-direct-link:hover { color: var(--orange-dark); }
.chevron { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.nav-group.open .chevron { transform: rotate(225deg) translate(-2px,-1px); }
.consultation-link { min-width: 190px; display: grid; place-items: center; padding: 0 16px; text-align: center; text-decoration: none; background: var(--orange); color: var(--black); font: 700 12px/1.15 var(--heading); text-transform: uppercase; letter-spacing: .12em; }
.consultation-link:hover { background: var(--orange-dark); color: var(--white); }

.dropdown { position: absolute; z-index: 1001; top: calc(100% + 2px); left: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 34px rgba(31,42,40,.13); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; }
.nav-group.open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.services-menu { width: 780px; display: grid; grid-template-columns: 1fr 1fr; }
.services-menu a { min-height: 79px; display: grid; grid-template-columns: 32px 1fr; align-items: center; padding: 0 29px; text-decoration: none; border-bottom: 1px solid #e8ece9; }
.services-menu a:nth-child(odd) { border-right: 1px solid #e8ece9; }
.services-menu a:nth-last-child(-n+2) { border-bottom: 0; }
.services-menu span { color: var(--orange-dark); font: 700 13px/1 var(--heading); }
.services-menu strong { font: 500 20px/1.2 var(--body); }
.single-menu { width: 384px; }
.single-menu a, .single-menu .resource-nav-item { min-height: 79px; display: flex; align-items: center; gap: 7px; padding: 0 31px; border-bottom: 1px solid #e8ece9; font-size: 20px; text-decoration: none; }
.single-menu a:last-child, .single-menu .resource-nav-item:last-child { border-bottom: 0; }
.dropdown a:hover { background: var(--sand-light); }
.resources-group .dropdown { left: auto; right: 0; }
.resources-menu .trustkeeping-link { color: var(--orange); background: #f5efe0; }
.resource-nav-item small { font-size: 12px; line-height: 1.35; font-weight: 700; }
.resources-menu .resource-disabled { color: var(--pine); background: transparent; cursor: default; }

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

.hero { padding: 64px 0 78px; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 51%) minmax(0, 1fr); align-items: center; gap: 70px; }
.boxed-kicker { display: inline-block; margin: 0 0 18px; padding: 9px 13px 7px; border: 1px solid var(--orange-line); color: var(--orange-dark); font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .13em; }
h1, h2, h3 { font-family: var(--heading); color: var(--pine-dark); margin-top: 0; }
h1 { max-width: 590px; margin-bottom: 24px; font-size: clamp(50px, 3.75vw, 54px); line-height: .96; letter-spacing: -.055em; font-weight: 700; }
h1 em { color: var(--orange-dark); font-style: normal; }
.hero h1 {
  max-width: 100%;
  font-size: 44px;
}
.hero h1 > span {
  display: block;
  font-size: 0.64em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero h1 > span + br { display: none; }
.hero-lead { max-width: 590px; margin: 0 0 28px; color: var(--pine); font-size: 18px; line-height: 1.67; }
.button-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font: 700 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
.button-arrow { width: 14px; height: 14px; margin-left: 10px; }
.button.primary { background: var(--orange); color: var(--black); }
.button.primary:hover { background: var(--orange-dark); color: var(--white); }
.button.secondary, .button.outline { background: var(--white); color: var(--pine-dark); border-color: var(--line); }
.button.outline { transition: border-color 200ms ease, color 200ms ease; }
.button.secondary:hover { background: var(--sand-light); border-color: var(--pine); }
.button.outline:hover, .button.outline:focus-visible { border-color: var(--orange); color: var(--orange); }
.hero-experience { max-width: 590px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--pine); font-size: 14px; line-height: 1.57; }
.hero-statement { min-width: 0; }
.statement-card {
  --statement-row-h: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(31, 42, 40, 0.12);
  overflow: hidden;
}
.statement-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.statement-title { margin: 0; color: var(--pine-dark); font: 500 15px/1.4 var(--heading); }
.statement-period { margin: 0; color: var(--moss-dark); font: 500 11px/1.4 var(--heading); letter-spacing: .1em; }
.statement-columns { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; background: var(--sand-light); color: var(--moss-dark); font: 500 10px/1.4 var(--heading); letter-spacing: .1em; }
.statement-rows { position: relative; overflow: hidden; }
.statement-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 2px;
  background: var(--orange);
  opacity: 0;
  pointer-events: none;
  transition: top 280ms linear, opacity 280ms linear;
}
.statement-card.is-playing .statement-scan { opacity: 1; }
.statement-card.is-scan-1 .statement-scan { top: calc(var(--statement-row-h) * 1); }
.statement-card.is-scan-2 .statement-scan { top: calc(var(--statement-row-h) * 2); }
.statement-card.is-scan-3 .statement-scan { top: calc(var(--statement-row-h) * 3); }
.statement-card.is-scan-4 .statement-scan { top: calc(var(--statement-row-h) * 4); }
.statement-card.is-scan-5 .statement-scan { top: calc(var(--statement-row-h) * 5); }
.statement-card.is-scan-6 .statement-scan { top: calc(var(--statement-row-h) * 6); }
.statement-card.is-scan-7 .statement-scan { top: calc(var(--statement-row-h) * 7); }
.statement-card.is-scan-8 .statement-scan { top: calc(var(--statement-row-h) * 8); }
.statement-card.is-totals .statement-scan { opacity: 0; transition: opacity 500ms ease; }
.statement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--statement-row-h);
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--pine-dark);
  font: 400 14px/1.4 var(--body);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.statement-row:last-child { border-bottom: 0; }
.statement-row.is-negative { color: var(--pine); }
.statement-row:nth-child(2) { transition-delay: 0ms; }
.statement-row:nth-child(3) { transition-delay: 220ms; }
.statement-row:nth-child(4) { transition-delay: 440ms; }
.statement-row:nth-child(5) { transition-delay: 660ms; }
.statement-row:nth-child(6) { transition-delay: 880ms; }
.statement-row:nth-child(7) { transition-delay: 1100ms; }
.statement-row:nth-child(8) { transition-delay: 1320ms; }
.statement-row:nth-child(9) { transition-delay: 1540ms; }
.statement-row > span:first-child { min-width: 0; }
.statement-amount { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.statement-card.is-playing .statement-row,
.statement-card.is-complete .statement-row { opacity: 1; transform: none; }
.statement-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--orange-line);
  background: var(--sand-light);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.statement-card.is-totals .statement-total,
.statement-card.is-complete .statement-total { opacity: 1; transform: none; }
.statement-difference { display: grid; gap: 4px; min-width: 0; }
.statement-total-label { color: var(--orange-dark); font: 500 10px/1.4 var(--heading); letter-spacing: .1em; }
.statement-total-amount { color: var(--pine-dark); font: 500 20px/1.2 var(--heading); font-variant-numeric: tabular-nums; }
.statement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--orange-dark);
  font: 700 10px/1 var(--heading);
  letter-spacing: .1em;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 500ms ease, transform 500ms ease;
}
.statement-card.is-balanced .statement-badge,
.statement-card.is-complete .statement-badge { opacity: 1; transform: scale(1); }
.statement-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.statement-caption { margin: 10px 0 0; color: var(--moss-dark); font: 400 10px/1.4 var(--body); text-align: right; }
.reference-photo { position: absolute; inset: 0; background-image: url('/hostallies/reference-home.png'); background-repeat: no-repeat; }
.ally-card span { display: block; margin-bottom: 7px; color: var(--orange-dark); font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .13em; }

.proof-strip { overflow: hidden; background: var(--pine-dark); }
.proof-row { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,2.28fr); align-items: center; gap: 34px; padding: 30px 0; }
.proof-row strong { color: var(--white); font: 700 14px/1.57 var(--heading); text-transform: uppercase; letter-spacing: .11em; }
.client-proof-viewport { min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.client-proof-track { width: max-content; display: flex; animation: client-proof-scroll 38s linear infinite; }
.client-proof-track:hover, .client-proof-track:focus-within { animation-play-state: paused; }
.client-proof-group { display: flex; gap: 10px; padding-right: 10px; }
.client-proof-link { width: 158px; min-height: 96px; display: grid; grid-template-rows: 48px auto; place-items: center; gap: 8px; padding: 12px 10px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.025); text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.client-proof-link:hover { border-color: var(--orange-dark); transform: translateY(-2px); }
.client-proof-link img { display: block; max-width: 100%; width: auto; height: auto; max-height: 42px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.client-proof-link--photo img { filter: grayscale(1) invert(1) brightness(3) contrast(4); mix-blend-mode: screen; }
.client-proof-link span { min-width: 0; overflow-wrap: anywhere; text-align: center; color: rgba(255,255,255,.82); font: 700 10px/1.35 var(--heading); text-transform: uppercase; letter-spacing: .07em; }
@keyframes client-proof-scroll { to { transform: translateX(-50%); } }

.section { padding: 112px 0; }
.eyebrow { margin: 0 0 15px; color: var(--orange-dark); font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .14em; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 3.15vw, 44px); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; }
.section-intro { max-width: 720px; margin: 0 0 48px; color: var(--pine); font-size: 18px; line-height: 1.67; }
.section-intro.wide { max-width: 630px; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.problem-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.problem-grid article:hover {
  border-color: var(--orange-line);
  box-shadow: 0 8px 22px rgba(31, 42, 40, 0.12);
}
.problem-grid article:hover .icon-tile { background: var(--sand); }
.problem-grid .icon-tile {
  width: 34px;
  height: 34px;
  align-self: flex-start;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: var(--sand-light);
  color: var(--orange);
  font-style: normal;
  transition: background 250ms ease;
}
.problem-grid .icon-tile .lucide-icon { width: 17px; height: 17px; }
.problem-grid h3 { margin: 28px 0 10px; font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -.025em; }
.problem-grid p { margin: 0; color: var(--pine); font-size: 16px; line-height: 1.625; }
.problem-grid.is-playing article {
  animation: problem-card-enter 550ms cubic-bezier(.22, .9, .3, 1) both;
}
.problem-grid.is-playing article:nth-child(1) { animation-delay: 0ms; }
.problem-grid.is-playing article:nth-child(2) { animation-delay: 90ms; }
.problem-grid.is-playing article:nth-child(3) { animation-delay: 180ms; }
.problem-grid.is-playing article:nth-child(4) { animation-delay: 270ms; }
.problem-grid.is-playing article:nth-child(5) { animation-delay: 360ms; }
.problem-grid.is-playing article:nth-child(6) { animation-delay: 450ms; }
.problem-grid.is-playing .icon-tile {
  animation: problem-tile-enter 450ms cubic-bezier(.22, 1.22, .36, 1) both;
}
.problem-grid.is-playing article:nth-child(1) .icon-tile { animation-delay: 120ms; }
.problem-grid.is-playing article:nth-child(2) .icon-tile { animation-delay: 210ms; }
.problem-grid.is-playing article:nth-child(3) .icon-tile { animation-delay: 300ms; }
.problem-grid.is-playing article:nth-child(4) .icon-tile { animation-delay: 390ms; }
.problem-grid.is-playing article:nth-child(5) .icon-tile { animation-delay: 480ms; }
.problem-grid.is-playing article:nth-child(6) .icon-tile { animation-delay: 570ms; }
@keyframes problem-card-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes problem-tile-enter {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}

.sand-section { background: var(--sand); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer-grid article { min-height: 620px; display: flex; flex-direction: column; padding: 31px 26px 26px; background: var(--white); border: 1px solid rgba(31,42,40,.12); border-radius: 12px; }
.offer-grid article > span { color: var(--orange-dark); font: 700 12px/1.5 var(--heading); }
.offer-grid h3 { margin: 17px 0 4px; font-size: 22px; line-height: 1.35; letter-spacing: -.03em; }
.offer-grid small { min-height: 44px; color: var(--pine); font-size: 14px; line-height: 1.57; }
.offer-grid p { color: var(--pine); font-size: 16px; line-height: 1.625; }
.offer-grid ul { padding: 0; margin: 12px 0 24px; list-style: none; color: var(--pine-dark); font-size: 16px; line-height: 1.625; }
.offer-grid li::before { content: ""; width: 11px; height: 11px; display: inline-block; margin-right: 9px; background: var(--orange); -webkit-mask: url('/hostallies/icons/check.svg') center / contain no-repeat; mask: url('/hostallies/icons/check.svg') center / contain no-repeat; }
.engagement-models { margin-top: 64px; padding-top: 56px; }
.engagement-intro { max-width: 800px; margin-bottom: 30px; }
.engagement-intro h3 { margin: 0 0 16px; font-size: clamp(30px,2.8vw,40px); line-height: 1.14; letter-spacing: -.04em; }
.engagement-intro > p:last-child { margin: 0; color: var(--pine); font-size: 18px; line-height: 1.67; }
.engagement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.engagement-grid article { min-height: 360px; padding: 30px 28px; border: 1px solid rgba(31,42,40,.12); border-radius: 12px; background: var(--white); }
.engagement-grid article > span { color: var(--orange-dark); font: 700 12px/1.5 var(--heading); letter-spacing: .12em; }
.engagement-grid h4 { margin: 18px 0 12px; color: var(--pine-dark); font: 700 23px/1.25 var(--heading); letter-spacing: -.025em; }
.engagement-grid p { margin: 0 0 20px; color: var(--pine); font-size: 16px; line-height: 1.625; }
.engagement-grid strong { display: block; margin: 26px 0 8px; color: var(--orange-dark); font: 700 11px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .12em; }

.ally-grid { display: grid; grid-template-columns: minmax(0, 1fr) 470px; align-items: center; gap: 80px; }
.feature-list { display: grid; gap: 18px; }
.feature-list article { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.feature-list i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #efc9b7; color: var(--orange); font: 700 12px/1 var(--heading); font-style: normal; }
#why .feature-list i {
  background: var(--sand-light);
  border: none;
  border-radius: 8px;
}
.feature-list h3 { margin: 0 0 5px; font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
.feature-list p { margin: 0; color: var(--pine); font-size: 16px; line-height: 1.625; }
.ally-media { position: relative; height: 420px; overflow: visible; border-radius: 20px; background: var(--sand-light); }
.interior-photo { background-image: url('/hostallies/why-hostallies-interior.png'); background-size: cover; background-position: center; }
.ally-card { position: absolute; right: -12px; bottom: -18px; width: 305px; padding: 22px; border-radius: 12px; background: var(--sand); color: var(--pine-dark); font-size: 14px; line-height: 1.57; }
#why.is-playing .ally-media {
  animation: why-media-enter 700ms cubic-bezier(.22, .9, .3, 1) both;
}
#why.is-playing .ally-card {
  animation: why-card-enter 550ms cubic-bezier(.22, .9, .3, 1) 120ms both;
}
#why.is-playing .feature-list article {
  animation: why-article-enter 550ms cubic-bezier(.22, .9, .3, 1) both;
}
#why.is-playing .feature-list article:nth-child(1) { animation-delay: 120ms; }
#why.is-playing .feature-list article:nth-child(2) { animation-delay: 230ms; }
#why.is-playing .feature-list article:nth-child(3) { animation-delay: 340ms; }
#why.is-playing .feature-list article:nth-child(4) { animation-delay: 450ms; }
#why.is-playing .feature-list i {
  animation: why-marker-enter 450ms cubic-bezier(.22, 1.22, .36, 1) both;
}
#why.is-playing .feature-list article:nth-child(1) i { animation-delay: 240ms; }
#why.is-playing .feature-list article:nth-child(2) i { animation-delay: 350ms; }
#why.is-playing .feature-list article:nth-child(3) i { animation-delay: 460ms; }
#why.is-playing .feature-list article:nth-child(4) i { animation-delay: 570ms; }
@keyframes why-media-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes why-card-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes why-article-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes why-marker-enter {
  from { opacity: 0; transform: scale(.84); }
  to { opacity: 1; transform: scale(1); }
}

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid article {
  min-height: 310px;
  padding: 25px 24px;
  border: 1px solid rgba(31,42,40,.1);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.process-grid article:hover {
  border-color: var(--orange-line);
  box-shadow: 0 8px 22px rgba(31, 42, 40, 0.10);
}
.process-grid article:hover .icon-tile { background: var(--sand); }
.process-grid article > div { display: flex; justify-content: space-between; align-items: center; }
.process-grid .icon-tile {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: var(--sand-light);
  color: var(--orange);
  font-style: normal;
  transition: background 250ms ease;
}
.process-grid .icon-tile .lucide-icon { width: 17px; height: 17px; color: var(--orange); }
.process-grid span { color: var(--moss-dark); font: 700 18px/1 var(--heading); }
.process-grid h3 { margin: 28px 0 9px; font-size: 20px; line-height: 1.4; }
.process-grid p { margin: 0; color: var(--pine); font-size: 16px; line-height: 1.625; }
.process-grid.is-playing article {
  animation: process-card-enter 600ms cubic-bezier(.22, .9, .3, 1) both;
}
.process-grid.is-playing article:nth-child(1) { animation-delay: 0ms; }
.process-grid.is-playing article:nth-child(2) { animation-delay: 130ms; }
.process-grid.is-playing article:nth-child(3) { animation-delay: 260ms; }
.process-grid.is-playing article:nth-child(4) { animation-delay: 390ms; }
.process-grid.is-playing .icon-tile {
  animation: process-tile-enter 450ms cubic-bezier(.22, 1.22, .36, 1) both;
}
.process-grid.is-playing article:nth-child(1) .icon-tile { animation-delay: 140ms; }
.process-grid.is-playing article:nth-child(2) .icon-tile { animation-delay: 270ms; }
.process-grid.is-playing article:nth-child(3) .icon-tile { animation-delay: 400ms; }
.process-grid.is-playing article:nth-child(4) .icon-tile { animation-delay: 530ms; }
.process-grid.is-playing article > div > span {
  animation: process-number-enter 500ms ease both;
}
.process-grid.is-playing article:nth-child(1) > div > span { animation-delay: 200ms; }
.process-grid.is-playing article:nth-child(2) > div > span { animation-delay: 330ms; }
.process-grid.is-playing article:nth-child(3) > div > span { animation-delay: 460ms; }
.process-grid.is-playing article:nth-child(4) > div > span { animation-delay: 590ms; }
@keyframes process-card-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes process-tile-enter {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes process-number-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.center-action { display: flex; justify-content: center; margin-top: 34px; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.results-grid article { min-height: 650px; display: flex; flex-direction: column; padding: 30px 18px; border: 1px solid #e6eae7; border-radius: 12px; }
.results-grid article > span { color: var(--orange-dark); font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .13em; }
.results-grid h3 { margin: 19px 0 12px; font-size: 22px; line-height: 1.35; min-height: 59.4px; }
.results-grid p { color: var(--pine); font-size: 16px; line-height: 1.625; min-height: 156px; }
.results-grid strong { display: grid; gap: 6px; margin-top: 20px; padding: 18px 20px; border-radius: 8px; background: var(--sand-light); text-align: center; color: var(--pine); min-height: 125.1px; }
.results-grid strong b { display: block; color: var(--orange-dark); font: 700 34px/1.15 var(--heading); }
.results-grid strong small { display: block; color: var(--pine); font: 600 14px/1.57 var(--heading); text-transform: uppercase; letter-spacing: .06em; text-wrap: balance; }
.results-grid strong.results-stat-pair { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); align-items: center; column-gap: 0; row-gap: 0; padding-inline: 12px; }
.results-grid .results-stat { display: grid; gap: 6px; min-width: 0; padding-inline: 28px; text-align: center; justify-items: center; }
.results-grid .results-stat-pair b { font-size: 34px; line-height: 1.15; white-space: nowrap; }
.results-grid .results-stat-pair small { font-size: 14px; line-height: 1.57; letter-spacing: 0; }
.results-grid .results-stat-divider { width: 1px; justify-self: center; align-self: stretch; margin-block: 15%; background: var(--orange-line); }
.results-grid blockquote { margin: 0; padding-top: 22px; color: var(--pine-dark); font-size: 16px; font-style: italic; line-height: 1.625; }
.results-grid cite { display: block; margin-top: auto; padding-top: 12px; color: var(--pine-dark); font: 700 14px/1.57 var(--heading); text-transform: uppercase; letter-spacing: .06em; }
.results-grid cite small { display: block; margin-top: 4px; color: var(--pine); font-size: 12px; line-height: 1.5; font-style: normal; font-weight: 500; }
.results-grid a { margin-top: 18px; font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }

.centered { text-align: center; }
.centered .section-intro { margin-inline: auto; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 42px 0 16px; overflow: hidden; border: 1px solid #ddd9c9; border-radius: 12px; background: #e2e1da; }
.logo-grid a { min-height: 126px; display: grid; grid-template-rows: 56px auto; place-items: center; gap: 9px; padding: 19px 14px 16px; background: var(--white); color: var(--pine-dark); text-align: center; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.logo-grid a:hover { background: var(--sand-light); color: var(--orange-dark); }
.logo-grid img { width: 52px; height: 52px; object-fit: contain; }
.logo-grid b { font: 600 14px/1.4 var(--heading); }
.ecosystem small { color: var(--pine); font-size: 14px; line-height: 1.57; }

.team-grid { display: grid; grid-template-columns: 1fr 470px; gap: 82px; align-items: center; }
.team-section ul { padding: 0; margin: 22px 0 0; list-style: none; font-size: 16px; line-height: 1.625; }
.team-section li::before { content: "•"; margin-right: 10px; color: var(--orange); }
.team-photo-wrap { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--sand-light); }
.team-photo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

.consultation { padding: 90px 0; background: var(--pine-dark); color: var(--white); }
.consultation h2 { color: var(--white); }
.consultation .eyebrow { color: var(--orange); }
.consultation p:not(.eyebrow) { max-width: 600px; margin: 0 auto 26px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.625; }
.centered-buttons { align-items: center; }
.button.dark-secondary { color: var(--white); border-color: rgba(255,255,255,.34); }
.button.dark-secondary:hover { background: rgba(255,255,255,.08); }

.site-footer { padding: 54px 0 24px; background: var(--pine-dark); color: var(--white); border-top: 1px solid rgba(255,255,255,.17); }
.site-footer .content-shell { width: min(1360px, calc(100% - 64px)); }
.footer-grid { display: grid; grid-template-columns: minmax(410px, 2fr) repeat(5, minmax(0, 1fr)); column-gap: 40px; row-gap: 40px; padding-bottom: 42px; }
@media (min-width: 1181px) {
  .footer-grid {
    grid-template-columns: minmax(300px, auto) repeat(4, max-content) minmax(max-content, auto);
    column-gap: 32px;
    justify-content: space-between;
  }
}
@media (min-width: 1181px) and (max-width: 1279px) {
  .footer-grid { column-gap: 12px; }
}
.footer-wordmark { display: block; width: 126px; height: auto; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; margin: 14px 0 18px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.57; }
.footer-brand > a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 17px; border-radius: 12px; background: var(--orange); color: var(--black); font: 700 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .11em; text-decoration: none; }
.site-footer h3 { margin: 2px 0 14px; color: var(--orange); font: 700 12px/1.5 var(--heading); text-transform: uppercase; letter-spacing: .13em; }
.site-footer div > a:not(.footer-brand > a), .site-footer .footer-resource-item { display: block; margin: 0 0 8px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.57; text-decoration: none; }
.site-footer .resource-disabled { color: rgba(255,255,255,.54); }
.footer-bottom { display: flex; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.5; }

:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }

@media (max-width: 1180px) {
  .header-shell { width: 100%; padding-left: 24px; grid-template-columns: 190px 1fr 170px; }
  .nav-trigger { min-width: 124px; padding: 0 14px; font-size: 12px; }
  .consultation-link { min-width: 170px; }
  .services-menu { width: 720px; }
  .site-footer .content-shell { width: min(100% - 48px, var(--content)); }
  .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .results-grid p { min-height: 182px; }
  .results-grid .results-stat-pair b { font-size: 32px; }
  .results-grid .results-stat-pair small { font-size: 12px; }
}

@media (max-width: 1024px) {
  .results-grid h3 { min-height: 89.1px; }
  .results-grid p { min-height: 208px; }
  .results-grid .results-stat-pair b { font-size: 28px; }
  .results-grid .results-stat-pair small { font-size: 11px; }
}

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .header-shell { padding: 0 20px; grid-template-columns: 1fr auto; }
  .desktop-nav, .consultation-link { display: none; }
  .mobile-menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; background: var(--orange); cursor: pointer; }
  .mobile-menu-toggle span { width: 20px; height: 2px; background: var(--black); }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 72px; max-height: calc(100vh - 72px); overflow: auto; padding: 10px 24px 28px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 20px 32px rgba(31,42,40,.12); }
  .mobile-menu.open { display: block; }
  .mobile-home-link { min-height: 54px; display: flex !important; align-items: center; border-bottom: 1px solid var(--line); color: var(--pine-dark) !important; font: 700 13px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; }
  .mobile-primary-link { min-height: 54px; display: flex !important; align-items: center; padding: 0 !important; border-bottom: 1px solid var(--line); color: var(--pine-dark) !important; font: 700 13px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; }
  .mobile-menu details { border-bottom: 1px solid var(--line); }
  .mobile-menu summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; list-style: none; font: 700 13px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
  .mobile-menu summary::after { content: "+"; }
  .mobile-menu details[open] summary::after { content: "−"; }
  .mobile-menu a, .mobile-menu .mobile-resource-item { display: block; padding: 10px 8px; color: var(--pine); text-decoration: none; }
  .mobile-menu .resource-disabled { color: rgba(71,84,81,.68); }
  .mobile-menu .mobile-consultation { margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--orange); color: var(--black); font: 700 12px/1 var(--heading); text-transform: uppercase; letter-spacing: .12em; text-align: center; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .ally-grid, .team-grid { grid-template-columns: 1fr; }
  .offer-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-row { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .results-grid h3 { min-height: 29.7px; }
  .results-grid p { min-height: 78px; }
  .results-grid strong { min-height: 103.1px; }
  .results-grid .results-stat-pair b { font-size: 34px; }
  .results-grid .results-stat-pair small { font-size: 14px; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .ally-media, .team-grid > div:last-child { width: min(100%, 560px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .content-shell { width: min(100% - 32px, var(--content)); }
  .site-footer .content-shell { width: min(100% - 32px, var(--content)); }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .hero-grid { gap: 42px; }
  .proof-row { grid-template-columns: 1fr; padding: 24px 0; }
  .section { padding: 76px 0; }
  .problem-grid, .offer-grid, .process-grid { grid-template-columns: 1fr; }
  .offer-grid article { min-height: 0; }
  .results-grid strong.results-stat-pair { grid-template-columns: 1fr; row-gap: 14px; }
  .results-grid .results-stat-divider { display: none; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid a { min-height: 112px; padding: 16px 10px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .statement-row:nth-child(n+5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .client-proof-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .client-proof-track { animation: none; }
  .client-proof-group[aria-hidden="true"] { display: none; }
  .statement-row,
  .statement-total,
  .statement-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .statement-scan {
    opacity: 0 !important;
    transition: none !important;
  }
  .problem-grid.is-playing article,
  .problem-grid.is-playing .icon-tile {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .process-grid.is-playing article,
  .process-grid.is-playing .icon-tile,
  .process-grid.is-playing article > div > span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #why.is-playing .ally-media,
  #why.is-playing .ally-card,
  #why.is-playing .feature-list article,
  #why.is-playing .feature-list i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
