:root {
  --cf-light: #F5F6FC;
  --cf-primary: #1A7471;
  --cf-dark: #071E1D;
  --cf-accent: #6BD8D4;
  --cf-cloud: #EDEFF7;
  --cf-smoke: #D3D6E0;
  --cf-graphite: #6E7180;
  --cf-arsenic: #40424D;
  --paper: #FBFBF8;
  --ink: #0B2524;
  --line: rgba(7, 30, 29, .16);
  --line-dark: rgba(245, 246, 252, .16);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --nav-h: 78px;
  --ledger-h: 92px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--cf-arsenic);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--cf-accent); color: var(--cf-dark); }
:focus-visible { outline: 3px solid var(--cf-accent); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 2000; top: .5rem; left: .5rem;
  transform: translateY(-150%); padding: .75rem 1rem;
  background: var(--cf-accent); color: var(--cf-dark); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { color: var(--cf-dark); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 7.6vw, 7rem); line-height: .94; }
h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1; }
h3 { font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.08; }
p { text-wrap: pretty; }
.kicker {
  display: flex; align-items: center; gap: .8rem; color: var(--cf-primary);
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cf-light); }
.on-dark p { color: var(--cf-smoke); }
.on-dark .kicker { color: var(--cf-accent); }
.lede { max-width: none; margin-top: 1.35rem; color: var(--cf-graphite); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }

.nav { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--nav-h); background: var(--cf-dark); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.nav.is-scrolled { border-color: var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo img { width: 214px; height: auto; }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a, .nav__trigger { display: flex; align-items: center; gap: .35rem; padding: .65rem .8rem; color: var(--cf-smoke); font-size: .85rem; font-weight: 650; }
.nav__links a:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: white; }
.nav__trigger svg { width: 12px; transition: transform .2s ease; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + .65rem); left: 0; width: 290px; padding: .45rem;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  opacity: 0; visibility: hidden; transform: translateY(-5px); transition: .18s ease;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: .8rem; color: var(--cf-dark); border-bottom: 1px solid var(--line); }
.nav__menu a:last-child { border-bottom: 0; }
.nav__menu span { font-family: var(--serif); font-size: 1.05rem; }
.nav__cta { margin-left: .4rem; background: var(--cf-accent); color: var(--cf-dark) !important; border-radius: var(--radius); }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: white; transition: .2s ease; }

.hero { position: relative; min-height: min(900px, 100svh); padding-top: var(--nav-h); overflow: hidden; background: var(--cf-dark); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: linear-gradient(to right, black, transparent 70%); mask-image: linear-gradient(to right, black, transparent 70%); opacity: .26;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); min-height: calc(min(900px, 100svh) - var(--nav-h)); }
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding-block: 5rem; padding-right: clamp(2rem, 5vw, 6rem); }
.hero h1 em { color: var(--cf-accent); font-style: italic; }
.hero__copy > p { max-width: 62ch; margin-top: 1.65rem; color: var(--cf-smoke); font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__aside { margin-top: 1.4rem; font-size: .9rem; }
.hero__aside a { color: var(--cf-accent); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.hero__aside a:hover { color: var(--cf-light); }
.hero__visual {
  position: absolute; z-index: 1; inset-block: 0; left: 50%; width: 100vw; margin: 0;
  transform: translateX(-50%); overflow: hidden;
}
.hero__visual::before {
  content: ""; position: absolute; z-index: 2; inset: 0;
  background:
    linear-gradient(90deg, var(--cf-dark) 0%, rgba(7,30,29,.96) 24%, rgba(7,30,29,.68) 43%, rgba(7,30,29,.12) 72%, transparent 100%),
    linear-gradient(180deg, var(--cf-dark) 0%, transparent 16%, transparent 80%, var(--cf-dark) 100%);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__caption { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .7rem; align-items: center; padding: .6rem .75rem; color: white; background: rgba(7,30,29,.82); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero__caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--cf-accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .8rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .9rem; font-weight: 750; transition: transform .2s var(--ease), background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--cf-accent); color: var(--cf-dark); }
.btn--outline { border-color: rgba(255,255,255,.34); color: white; }
.btn--outline:hover { border-color: var(--cf-accent); color: var(--cf-accent); }
.btn--dark { background: var(--cf-dark); color: white; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--cf-primary); font-size: .88rem; font-weight: 750; border-bottom: 1px solid currentColor; }

.engagement-flow { position: relative; }
.ledger {
  position: sticky; z-index: 900; top: var(--nav-h); height: var(--ledger-h); margin-top: -1px;
  background: var(--cf-accent); color: var(--cf-dark); border-bottom: 1px solid rgba(7,30,29,.24);
  box-shadow: 0 8px 24px rgba(7,30,29,.12);
}
.ledger__layout { display: grid; grid-template-columns: minmax(150px, .62fr) minmax(0, 3.38fr); height: 100%; }
.ledger__label { display: flex; flex-direction: column; justify-content: center; padding-right: 1.25rem; }
.ledger__label strong { font-size: .72rem; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.ledger__hint { margin-top: .22rem; font-size: .68rem; opacity: .72; }
.ledger__hint--mobile { display: none; }
.ledger__viewport { min-width: 0; }
.ledger__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 100%; }
.ledger a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; align-items: center; min-width: 0;
  padding: .85rem 1rem; border-left: 1px solid rgba(7,30,29,.22);
  transition: background .2s ease, color .2s ease;
}
.ledger a:last-child { border-right: 1px solid rgba(7,30,29,.22); }
.ledger a:hover, .ledger a:focus-visible { background: var(--cf-dark); color: white; }
.ledger a:focus-visible { outline: 3px solid white; outline-offset: -3px; }
.ledger__copy { min-width: 0; }
.ledger__copy strong { display: block; overflow: hidden; font-family: var(--serif); font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 400; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.ledger__copy > span { display: block; overflow: hidden; margin-top: .32rem; font-size: .68rem; line-height: 1.3; opacity: .78; text-overflow: ellipsis; white-space: nowrap; }
.ledger__arrow { font-size: 1rem; line-height: 1; transition: transform .2s var(--ease); }
.ledger a:hover .ledger__arrow, .ledger a:focus-visible .ledger__arrow { transform: translate(.15rem, -.15rem); }

.client-strip { position: relative; z-index: 4; overflow: hidden; padding-block: 1.35rem; background: var(--cf-dark); border-top: 1px solid var(--line-dark); }
.client-strip__layout { display: grid; gap: 1rem; align-items: center; }
.client-strip .kicker { justify-content: center; color: var(--cf-smoke); line-height: 1.45; text-align: center; }
.client-strip__viewport {
  min-width: 0; overflow: hidden; contain: layout paint;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.client-strip__track { display: flex; width: max-content; animation: client-strip-scroll 36s linear infinite; will-change: transform; }
.client-strip__viewport:hover .client-strip__track { animation-play-state: paused; }
.client-strip__group { display: flex; flex: none; align-items: center; gap: clamp(2.25rem, 4vw, 3.5rem); padding-right: clamp(2.25rem, 4vw, 3.5rem); }
.client-strip__item { display: grid; flex: 0 0 13.75rem; place-items: center; width: 13.75rem; height: 3rem; }
.client-strip__item img { width: auto; height: auto; max-width: 100%; max-height: 1.875rem; filter: grayscale(1) brightness(0) invert(1); opacity: .58; }

@keyframes client-strip-scroll { to { transform: translate3d(-50%, 0, 0); } }

@media (min-width: 800px) {
  .client-strip { padding-block: 1.45rem; }
  .client-strip__layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 2rem; }
  .client-strip .kicker { justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .client-strip__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .client-strip__track { animation: none; will-change: auto; }
  .client-strip__group { padding-right: 0; }
  .client-strip__group[aria-hidden="true"] { display: none; }
}

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section--cloud { background: var(--cf-cloud); }
.section--dark { background: var(--cf-dark); }
.decision-section { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 4vw, 3rem); }
.services-section { padding: clamp(2rem, 3vw, 3rem) 0 clamp(3rem, 4vw, 4rem); scroll-margin-top: var(--ledger-h); }
.method-section, .outputs-section { padding-block: clamp(3rem, 4vw, 4rem); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head__main { max-width: none; }
.section-head h2, .detail-main h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.08; }
.section-head .lede { max-width: none; }

.moments { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.moment { position: relative; min-height: 380px; padding: clamp(2rem, 5vw, 4.5rem); }
.moment + .moment { border-left: 1px solid var(--line); }
.moment__label { color: var(--cf-primary); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.moment h3 { max-width: 13ch; margin-top: 3rem; }
.moment p { max-width: 50ch; margin-top: 1.25rem; }

.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 100px minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(1.25rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.service__num { color: var(--cf-primary); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.service h3 { margin-bottom: 1.1rem; }
.service__body > p { max-width: 58ch; }
.service__body .text-link { margin-top: 1.5rem; }
.service__deliverable { align-self: start; padding: 1.4rem; border-left: 1px solid var(--cf-primary); background: var(--cf-light); }
.service__deliverable b { display: block; margin-bottom: .75rem; color: var(--cf-primary); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.service__deliverable li { position: relative; padding: .48rem 0 .48rem 1.15rem; border-top: 1px solid var(--line); font-size: .88rem; }
.service__deliverable li::before { content: "+"; position: absolute; left: 0; color: var(--cf-primary); font-weight: 800; }

.loop { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.loop__steps { border-top: 1px solid var(--line-dark); }
.loop__steps li { padding-block: 1.2rem; border-bottom: 1px solid var(--line-dark); color: var(--cf-smoke); }
.loop__steps strong { display: block; color: white; font-size: 1rem; }
.loop__steps span { font-size: .88rem; }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.proof { min-height: 260px; padding: clamp(1.75rem, 4vw, 3.25rem); }
.proof:nth-child(even) { border-left: 1px solid var(--line); }
.proof:nth-child(n+3) { border-top: 1px solid var(--line); }
.proof b { color: var(--cf-primary); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.proof h3 { margin-top: 2.2rem; font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.proof p { max-width: 50ch; margin-top: .85rem; }

.cta { overflow: hidden; background: var(--cf-primary); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding-block: clamp(4rem, 9vw, 8rem); }
.home-cta .cta__inner { padding-block: clamp(4rem, 6vw, 6rem); }
.cta h2 { max-width: 13ch; color: white; }
.cta p { max-width: 55ch; margin-top: 1.25rem; color: var(--cf-light); }
.cta .btn { position: relative; z-index: 2; background: white; color: var(--cf-primary); }

.footer { padding-block: 3.5rem 2rem; background: var(--cf-dark); color: var(--cf-smoke); }
.footer__top { display: grid; grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(130px, .55fr)); gap: 3rem; }
.footer__brand img { width: 235px; height: auto; }
.footer__brand p { max-width: 45ch; margin-top: 1.2rem; font-size: .85rem; }
.footer h2 { color: var(--cf-accent); font-family: var(--sans); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer li { margin-top: .65rem; }
.footer a { font-size: .85rem; }
.footer a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); color: var(--cf-smoke); font-size: .72rem; }

.page-hero { padding: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem)) 0 clamp(4rem, 8vw, 7rem); background: var(--cf-dark); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .43fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.page-hero h1 { max-width: 12ch; margin-top: 1.2rem; font-size: clamp(3.4rem, 7vw, 6.4rem); }
.page-hero__aside { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.page-hero__aside p + p { margin-top: 1.25rem; }
.page-hero__aside b { color: var(--cf-accent); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.detail-grid + .detail-grid { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.detail-main { max-width: none; }
.detail-main > p { max-width: none; }
.detail-main > p { margin-top: 1.25rem; font-size: 1.08rem; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border: 1px solid var(--line); }
.detail-list li { min-height: 126px; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.detail-list li:nth-child(even) { border-left: 1px solid var(--line); }
.detail-list li:nth-last-child(-n+2) { border-bottom: 0; }
.detail-list b { display: block; margin-bottom: .35rem; color: var(--cf-primary); font-size: .7rem; letter-spacing: .11em; }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border: 1px solid var(--line-dark); }
.phase { min-height: 270px; padding: 1.5rem; }
.phase + .phase { border-left: 1px solid var(--line-dark); }
.phase b { color: var(--cf-accent); font-size: .68rem; letter-spacing: .12em; }
.phase h3 { margin-top: 3rem; color: white; font-family: var(--sans); font-size: 1.15rem; font-weight: 650; letter-spacing: 0; }
.phase p { margin-top: .75rem; font-size: .9rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.35rem 0; color: var(--cf-dark); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cf-primary); font-size: 1.35rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 72ch; padding: 0 2.5rem 1.5rem 0; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --ledger-h: 116px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; display: none; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; background: var(--cf-dark); border-top: 1px solid var(--line-dark); }
  .nav__links.is-open { display: block; }
  .nav__links > li { border-bottom: 1px solid var(--line-dark); }
  .nav__links a, .nav__trigger { width: 100%; justify-content: space-between; padding: 1rem 0; }
  .nav__cta { margin: 1rem 0 0; justify-content: center !important; }
  .nav__menu { position: static; display: none; width: 100%; padding: 0 0 .75rem; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open .nav__menu { display: block; }
  .nav__menu a { color: white; }
  .nav__menu span { font-family: var(--sans); font-size: .9rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { min-height: 650px; padding-right: 0; }
  .hero__visual { margin: 0; }
  .hero__visual::before {
    background:
      linear-gradient(90deg, rgba(7,30,29,.88), rgba(7,30,29,.48)),
      linear-gradient(180deg, var(--cf-dark) 0%, transparent 22%, transparent 72%, var(--cf-dark) 100%);
  }
  .hero__visual img { object-position: 58% center; }
  .ledger__layout { display: grid; grid-template-columns: 1fr; grid-template-rows: 36px 80px; width: 100%; padding-inline: 0; }
  .ledger__label { flex-direction: row; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid rgba(7,30,29,.22); }
  .ledger__hint { margin-top: 0; }
  .ledger__hint--desktop { display: none; }
  .ledger__hint--mobile { display: block; }
  .ledger__viewport { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .ledger__viewport::-webkit-scrollbar { display: none; }
  .ledger__grid { display: flex; width: max-content; padding-inline: var(--gutter); scroll-snap-type: x proximity; }
  .ledger a { flex: 0 0 178px; scroll-snap-align: start; }
  .ledger a:last-child { margin-right: var(--gutter); }
  .service { grid-template-columns: 68px 1fr; }
  .service__deliverable { grid-column: 2; }
  .loop { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__aside { max-width: 60ch; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --nav-h: 70px; --ledger-h: 116px; }
  .nav__logo img { width: 188px; }
  .section-head, .detail-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .moments, .proof-grid { grid-template-columns: 1fr; }
  .moment { min-height: auto; padding-block: clamp(2.5rem, 10vw, 4rem); }
  .moment + .moment, .proof:nth-child(even) { border-left: 0; }
  .proof:nth-child(n+2) { border-top: 1px solid var(--line); }
  .service { grid-template-columns: 1fr; }
  .service__deliverable { grid-column: auto; }
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer li { margin-top: .15rem; }
  .footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__bottom { flex-direction: column; }
  .detail-list, .phase-grid { grid-template-columns: 1fr; }
  .detail-list li:nth-child(even), .phase + .phase { border-left: 0; }
  .detail-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-list li:last-child { border-bottom: 0; }
  .phase + .phase { border-top: 1px solid var(--line-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Corefour Partners additions ---------- */
.hero__visual video, .hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Scale from the upper left so the source footage's corner watermark falls outside the frame. */
.hero__visual video, .hero__visual img { transform: scale(1.12); transform-origin: 35% 30%; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.8rem, 5.3vw, 5rem); line-height: .98; }
.hero__copy > p { max-width: 54ch; }
.hero__visual video { display: block; }

.cred-strip { position: relative; z-index: 4; padding-block: 1.35rem; background: var(--cf-dark); border-top: 1px solid var(--line-dark); }
.cred-strip__layout { display: grid; gap: 1rem; align-items: center; }
.cred-strip .kicker { color: var(--cf-smoke); line-height: 1.45; }
@media (min-width: 800px) { .cred-strip__layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 2rem; } }

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

.concerns { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); }
.concern { padding: clamp(2rem, 4.5vw, 3.75rem); }
.concern:nth-child(even) { border-left: 1px solid var(--line); }
.concern:nth-child(n+3) { border-top: 1px solid var(--line); }
.concern q { display: block; color: var(--cf-dark); font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.02em; quotes: "\201C" "\201D"; }
.concern p { max-width: 52ch; margin-top: 1rem; }
.concern p b { color: var(--cf-primary); }

.records { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.record { display: flex; flex-direction: column; padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.record:nth-child(even) { border-left: 1px solid var(--line); }
.record:nth-child(n+3) { border-top: 1px solid var(--line); }
.record__seat { color: var(--cf-primary); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.record h3 { margin-top: 1.5rem; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.record ul { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.record li { position: relative; padding: .7rem 0 .7rem 1.15rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.record li::before { content: "+"; position: absolute; left: 0; color: var(--cf-primary); font-weight: 800; }
.record li b { color: var(--cf-dark); }
.section--dark .record, .on-dark .records { border-color: var(--line-dark); }

.pillars { border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 120px minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(1.25rem, 4vw, 4rem); padding-block: clamp(2.25rem, 5vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + var(--ledger-h) + 1rem); }
.pillar__num { color: var(--cf-primary); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pillar h3 { margin-bottom: 1.1rem; }
.pillar__body > p { max-width: 58ch; }
.pillar__out { align-self: start; padding: 1.4rem; border-left: 1px solid var(--cf-primary); background: var(--cf-light); }
.pillar__out b { display: block; margin-bottom: .75rem; color: var(--cf-primary); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.pillar__out li { position: relative; padding: .48rem 0 .48rem 1.15rem; border-top: 1px solid var(--line); font-size: .88rem; }
.pillar__out li::before { content: "+"; position: absolute; left: 0; color: var(--cf-primary); font-weight: 800; }

.ai-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.stat { padding: 1.5rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat strong { display: block; color: var(--cf-accent); font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: .7rem; color: var(--cf-smoke); font-size: .86rem; line-height: 1.5; }
.ai-points { margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.ai-points li { padding-block: 1.1rem; border-bottom: 1px solid var(--line-dark); color: var(--cf-smoke); font-size: .95rem; }
.ai-points strong { display: block; color: white; }
.note { margin-top: 1.25rem; color: var(--cf-graphite); font-size: .78rem; }
.on-dark .note { color: rgba(211,214,224,.72); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.step { padding: clamp(1.5rem, 3vw, 2.25rem); }
.step + .step { border-left: 1px solid var(--line); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step h3 { margin-top: 1.75rem; font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.step b { color: var(--cf-primary); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.step h3 { margin-top: 2.5rem; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.step p { margin-top: .8rem; font-size: .93rem; }

.team { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.member { padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(0rem, 3vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.75rem) 0; border-bottom: 1px solid var(--line); }
.member:nth-child(even) { padding-left: clamp(1.5rem, 3.5vw, 2.75rem); padding-right: 0; border-left: 1px solid var(--line); }
.member__role { color: var(--cf-primary); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.member h3 { margin-top: .9rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.member p { max-width: 60ch; margin-top: 1rem; font-size: .95rem; }
.member__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.member__tags li { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--cf-arsenic); font-size: .72rem; font-weight: 650; }

.investor-band { background: var(--cf-dark); }
.investor-band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.investor-band .btn { margin-top: 2rem; }

.guide { display: grid; grid-template-columns: 1fr minmax(300px, .8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.guide__list { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.guide__list li { position: relative; padding: .7rem 0 .7rem 1.15rem; border-bottom: 1px solid var(--line); }
.guide__list li::before { content: "+"; position: absolute; left: 0; color: var(--cf-primary); font-weight: 800; }
.form { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--cf-dark); color: var(--cf-smoke); }
.form h3 { color: white; font-size: 1.75rem; }
.form label { display: block; margin-top: 1.1rem; color: var(--cf-smoke); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.form input { width: 100%; min-height: 48px; margin-top: .4rem; padding: .7rem .85rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.04); color: white; font: inherit; }
.form input::placeholder { color: rgba(211,214,224,.5); }
.form input:focus { border-color: var(--cf-accent); outline: none; }
.form .btn { width: 100%; margin-top: 1.5rem; }
.form__note { margin-top: .9rem; font-size: .78rem; text-align: center; }
.form__error { margin-top: .75rem; color: #ffb3b3; font-size: .85rem; }
.form__done { padding-block: 1rem; text-align: center; }
.form__done h3 { margin-top: .5rem; }
.hp { position: absolute; left: -9999px; top: -9999px; }

.disclosure { padding-block: 2rem; background: var(--cf-light); border-top: 1px solid var(--line); }
.disclosure p { max-width: 110ch; color: var(--cf-graphite); font-size: .75rem; line-height: 1.6; }

.thesis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.thesis article { padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.thesis article + article { border-left: 1px solid var(--line); }
.thesis b { color: var(--cf-primary); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.thesis h3 { margin-top: 2rem; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.thesis p { margin-top: .9rem; font-size: .95rem; }

.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { color: var(--cf-primary); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.compare tbody th { color: var(--cf-dark); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.compare td:last-child { color: var(--cf-dark); }
.table-scroll { overflow-x: auto; }

@media (max-width: 980px) {
  .steps, .thesis { grid-template-columns: 1fr 1fr; }
  .step + .step, .thesis article + article { border-left: 0; }
  .step:nth-child(even), .thesis article:nth-child(even) { border-left: 1px solid var(--line); }
  .step:nth-child(n+3), .thesis article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillar { grid-template-columns: 90px 1fr; }
  .pillar__out { grid-column: 2; }
  .ai-grid, .investor-band__grid, .guide { grid-template-columns: 1fr; }
  .ledger__grid--5 { display: flex; }
}

@media (max-width: 700px) {
  .concerns, .records, .steps, .team, .thesis { grid-template-columns: 1fr; }
  .concern:nth-child(even), .record:nth-child(even), .step:nth-child(even), .member:nth-child(even), .thesis article:nth-child(even) { border-left: 0; }
  .concern:nth-child(n+2), .record:nth-child(n+2), .step:nth-child(n+2), .thesis article:nth-child(n+2) { border-top: 1px solid var(--line); }
  .member, .member:nth-child(even) { padding-inline: 0; }
  .pillar { grid-template-columns: 1fr; }
  .pillar__out { grid-column: auto; }
  .stats { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare tr { display: block; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { display: block; padding: .2rem 0; border: 0; }
}

.loop__steps { list-style: none; }
.section { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* Logo rail: two identical tracks scroll left; the second is decorative and hidden from assistive tech. */
.logo-rail { display: flex; 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); }
.logo-rail__track { display: flex; flex-shrink: 0; align-items: center; gap: clamp(2.5rem, 4.5vw, 3.75rem); padding-right: clamp(2.5rem, 4.5vw, 3.75rem); list-style: none; animation: logo-rail 55s linear infinite; }
.logo-rail:hover .logo-rail__track { animation-play-state: paused; }
.logo-rail__track li { display: flex; flex-shrink: 0; align-items: center; height: 44px; color: var(--cf-light); opacity: .82; }
.logo-rail__track img { width: auto; height: var(--h, 24px); filter: brightness(0) invert(1); }
.logo-rail__word { font-family: var(--serif); font-size: 1.08rem; letter-spacing: .01em; white-space: nowrap; gap: .75rem; }
.logo-rail__stack { flex-direction: column; justify-content: center; gap: .3rem; }
.logo-rail__stack span { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.logo-rail__track img.logo-rail__seal { height: 40px; filter: grayscale(1) brightness(1.15) contrast(.95); }
@keyframes logo-rail { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-rail { -webkit-mask-image: none; mask-image: none; }
  .logo-rail__track { flex-shrink: 1; flex-wrap: wrap; gap: .75rem 2.25rem; padding-right: 0; animation: none; }
  .logo-rail__track li { height: 36px; }
  .logo-rail__word { font-size: .95rem; }
  .logo-rail__track[aria-hidden="true"] { display: none; }
}

/* Operating system: four decisions, the tools for each, AI across all four. */
.os-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.os-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: clamp(1.5rem, 2.4vw, 2.1rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.os-card__num { color: var(--cf-primary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.os-card h3 { margin-top: 1.1rem; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.1; }
.os-card > p { margin-top: .8rem; font-size: .95rem; }
.os-card__label { display: block; padding-top: 1.6rem; color: var(--cf-dark); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.os-card ul { margin-top: .6rem; list-style: none; }
.os-card li { position: relative; padding: .5rem 0 .5rem 1.15rem; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.4; }
.os-card li::before { content: "+"; position: absolute; left: 0; color: var(--cf-primary); font-weight: 800; }
.os-proof { display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: 0 2rem; align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.os-proof__label { padding-top: 1.6rem; color: var(--cf-primary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.os-proof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.os-proof__stats > div { padding: 1.25rem 1.5rem 0 0; }
.os-proof__stats dt { color: var(--cf-dark); font-family: var(--serif); font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.os-proof__stats dd { margin-top: .5rem; max-width: 22ch; font-size: .9rem; }
.os-proof__source { grid-column: 2; margin-top: 1rem; color: var(--cf-graphite); font-size: .75rem; }
.os-proof__source a { text-decoration: underline; }
@media (max-width: 800px) {
  .os-proof { grid-template-columns: 1fr; }
  .os-proof__label { padding-top: 0; margin-bottom: 1rem; }
  .os-proof__source { grid-column: 1; }
}
@media (max-width: 480px) { .os-proof__stats { grid-template-columns: 1.3fr 1fr 1fr; } .os-proof__stats > div { padding-right: .75rem; } .os-proof__stats dt { font-size: 1.65rem; } .os-proof__stats dd { font-size: .8rem; } }
.more-link { margin-top: 2rem; }
.more-link a { color: var(--cf-primary); font-weight: 700; border-bottom: 1px solid currentColor; }
@media (max-width: 1080px) { .os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .os-grid { grid-template-columns: 1fr; }
    .logo-rail__track { gap: 2.25rem; padding-right: 2.25rem; }
}

/* Two-item nav: stays in the bar at every width, no menu toggle */
@media (max-width: 980px) {
  .nav__links { position: static; display: flex; align-items: center; gap: .25rem; padding: 0; background: none; border: 0; }
  .nav__links > li { border: 0; }
  .nav__links a { width: auto; padding: .6rem .55rem; }
  .nav__cta { margin: 0 0 0 .25rem; padding-inline: .8rem !important; }
}
@media (max-width: 520px) {
  .nav__logo { flex-shrink: 0; }
  .nav .nav__logo img { width: 118px; }
  .nav__long { display: none; }
  .nav__links { gap: 0; }
  .nav__links a { padding: .5rem .45rem; font-size: .74rem; white-space: nowrap; }
  .nav__cta { padding-inline: .65rem !important; }
}

/* Full-width call bar that closes owner pages */
.call-bar { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.15rem var(--gutter); background: var(--cf-accent); color: var(--cf-dark); font-size: 1rem; font-weight: 700; letter-spacing: .01em; transition: background .2s ease; }
.call-bar:hover { background: var(--cf-light); }
.inline-link { color: var(--cf-primary); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; white-space: nowrap; }
.inline-link:hover { color: var(--cf-dark); }
.section-head--solo { margin-bottom: 0; }

/* Compact operating results grid (owner page) */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.result { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.1rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result:nth-child(3n) { border-right: 0; }
.result:nth-last-child(-n+3) { border-bottom: 0; }
.result__label { color: var(--cf-primary); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.result__fig { margin-top: .7rem; color: var(--cf-dark); font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.result__seat { margin-top: .9rem; color: var(--cf-dark); font-size: .82rem; font-weight: 650; }
.result p { margin-top: .55rem; color: var(--cf-graphite); font-size: .9rem; line-height: 1.55; }
@media (max-width: 980px) {
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result:nth-child(3n) { border-right: 1px solid var(--line); }
  .result:nth-child(2n) { border-right: 0; }
  .result:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .result:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .results { grid-template-columns: 1fr; }
  .result { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .result:last-child { border-bottom: 0 !important; }
}
.on-dark .inline-link { color: var(--cf-accent); }
.on-dark .inline-link:hover { color: var(--cf-light); }

/* Compact partnering grid (investor page) */
#partnership.section { padding-block: clamp(2.75rem, 4vw, 3.75rem); }
.proof-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); }
.proof-grid--compact .proof { min-height: 0; padding: clamp(1.25rem, 2vw, 1.6rem); }
.proof-grid--compact .proof + .proof { border-left: 1px solid var(--line); border-top: 0; }
.proof-grid--compact .proof h3 { margin-top: .75rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; }
.proof-grid--compact .proof p { margin-top: .5rem; font-size: .9rem; line-height: 1.55; }
@media (max-width: 980px) {
  .proof-grid--compact { grid-template-columns: 1fr 1fr; }
  .proof-grid--compact .proof:nth-child(odd) { border-left: 0; }
  .proof-grid--compact .proof:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .proof-grid--compact { grid-template-columns: 1fr; }
  .proof-grid--compact .proof { border-left: 0 !important; }
  .proof-grid--compact .proof + .proof { border-top: 1px solid var(--line); }
}

/* Tighter vertical rhythm across cards and lists */
body { line-height: 1.5; }
.lede { line-height: 1.5; }
.thesis article { padding: clamp(1.25rem, 2vw, 1.6rem); }
.thesis h3 { margin-top: .75rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; }
.thesis p { margin-top: .45rem; font-size: .9rem; }
.detail-list li { min-height: 0; padding: 1rem 1.25rem; }
.detail-list b { margin-bottom: .2rem; }
.step { padding: clamp(1.25rem, 2vw, 1.6rem); }
.step h3 { margin-top: .75rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; }
.step p { margin-top: .45rem; font-size: .9rem; }
.member h3 { margin-top: .5rem; }
.member p { margin-top: .6rem; }
.loop__steps li { padding-block: .8rem; }
.os-card h3 { margin-top: .75rem; }
.os-card > p { margin-top: .5rem; }


/* Tighter vertical padding; text fills the existing content width */
.section, #partnership.section { padding-block: clamp(2.25rem, 3.5vw, 3.25rem); }
.section-head { margin-bottom: clamp(1.25rem, 2.2vw, 1.75rem); }
.lede { margin-top: .9rem; }
.page-hero { padding: calc(var(--nav-h) + clamp(2.5rem, 4vw, 3.5rem)) 0 clamp(2.5rem, 4vw, 3.5rem); }
.home-cta .cta__inner, .cta__inner { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.proof p, .member p, .concern p, .cta p, .faq details p, .moment p, .page-hero__aside { max-width: none; }

/* Headings fill the line before wrapping */
h2 { text-wrap: wrap; }
