/* Haig Advisory */
:root {
  --navy: #002855;
  --navy-2: #0A3468;
  --navy-3: #12407A;
  --navy-deep: #001B3A;
  --blue: #4F8BC9;
  --blue-deep: #1F5C99;
  --blue-light: #9CC3EA;
  --blue-soft: #EAF2FB;
  --bg: #FFFFFF;
  --tint: #F4F7FB;
  --surface: #FFFFFF;
  --text: #0A1F3D;
  --muted: #536276;
  --line: #DFE6EF;
  --line-dark: rgba(255,255,255,.14);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(0,40,85,.04), 0 12px 32px -16px rgba(0,40,85,.18);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
em { font-style: normal; color: var(--blue-deep); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font: 500 16px/1 var(--font); text-decoration: none;
  border: 1px solid var(--navy); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--navy-3); border-color: var(--navy-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-soft); border-color: var(--blue-light); }
.btn--block { width: 100%; }

/* Announcement bar */
.announce {
  position: absolute; top: 0; left: 0; right: 0; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 6px 16px;
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; text-align: center;
}
.announce p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.announce strong { font-weight: 600; color: var(--blue-light); }
.announce__icon { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--blue-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Nav: floating light pill */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav__bar { padding: calc(var(--nav-offset, 44px) + 18px) 40px 0; }
.nav__pill {
  pointer-events: auto; position: relative;
  max-width: 1360px; height: 70px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand__logo { height: 30px; width: auto; }
.brand__sub {
  font-size: 10.5px; line-height: 1.25; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line);
}
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a, .nav__util a {
  color: var(--navy); text-decoration: none; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em; opacity: .75; transition: opacity .2s, color .2s;
}
.nav__menu a:hover, .nav__util a:hover { opacity: 1; color: var(--blue-deep); }
.nav__menu .nav__menu-cta, .nav__menu .nav__menu-util { display: none; }
/* FAQ and Contact sit apart on the right, styled like the main links */
.nav__end { justify-self: end; display: flex; align-items: center; }
.nav__util { display: flex; gap: 28px; }
.nav__toggle { display: none; }

/* Hero: light waves, copy left, the Haig mark turning around it */
.hero { background: var(--bg); }
.hero__panel {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 200px 0 140px;
  background: radial-gradient(60% 60% at 30% 10%, rgba(79,139,201,.12), transparent 70%), var(--tint);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(0,40,85,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,40,85,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 40% 40%, #000, transparent 85%); mask-image: radial-gradient(70% 70% at 40% 40%, #000, transparent 85%);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: translateY(24%) scale(1.15); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(244,247,251,0) 70%, var(--bg) 100%); }
.hero__copy {
  position: relative; z-index: 2; width: 100%; max-width: calc(1360px + 80px); margin: 0 auto;
  padding: 0 calc(40px + 28px);
}
.hero h1 { width: fit-content; max-width: 700px; font-size: clamp(38px, 4.4vw, 62px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; color: var(--navy); }
.lede { width: fit-content; max-width: 520px; margin-top: 24px; font-size: 20px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; width: fit-content; }
.btn--ghost { background: rgba(255,255,255,.75); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 32px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s;
}
.hero__scroll:hover { color: var(--navy); }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -12px; width: 1px; height: 12px; background: var(--blue); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { to { top: 100%; } }

/* Haig mark as a recurring motif */
.hero__dial, .hero__ring, .eyebrow span::after, .watermark {
  -webkit-mask: url("assets/haig-mark.svg") center / contain no-repeat; mask: url("assets/haig-mark.svg") center / contain no-repeat;
}
.hero__dial { display: block; width: 52px; height: 52px; margin: 0 auto 28px; background: var(--blue); animation: dial 40s linear infinite; }
@keyframes dial { to { transform: rotate(360deg); } }
.hero__ring {
  position: absolute; z-index: 1; pointer-events: none;
  left: var(--ring-x, 30%); top: var(--ring-y, 50%); width: var(--ring-d, 1100px); aspect-ratio: 1;
  translate: -50% -50%; background: var(--blue); opacity: .16;
  transform: rotate(var(--spin, 0deg)); will-change: transform;
}
.eyebrow span::after {
  width: 12px !important; height: 12px !important; margin: 0 0 0 14px !important; opacity: 1 !important;
  background: currentColor !important; vertical-align: -1px !important;
}
.watermark { position: absolute; pointer-events: none; z-index: 0; background: #fff; animation: dial 120s linear infinite; }
.watermark--platform { width: 640px; height: 640px; right: -200px; top: -160px; opacity: .05; }
.watermark--contact { width: 520px; height: 520px; left: -180px; bottom: -200px; opacity: .06; }
.footer { position: relative; overflow: hidden; }
.footer > .wrap { position: relative; z-index: 1; }

/* Principles */

/* Sections */
.section { padding: 120px 0; }
/* who-we-partner-with band between the hero and section 01 */
.stats { background: var(--navy); color: #fff; padding: 28px 0; }
.stats__row { display: flex; align-items: center; gap: 48px; }
.stats__label { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light); padding-right: 48px; border-right: 1px solid var(--line-dark); }
.stats__list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; justify-content: center; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.stats__list li { display: flex; align-items: center; gap: 40px; font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -0.01em; white-space: nowrap; }
/* the Haig mark between each firm type */
.stats__list li + li::before { content: ""; width: 14px; height: 14px; background: var(--blue); -webkit-mask: url(assets/haig-mark.svg) center / contain no-repeat; mask: url(assets/haig-mark.svg) center / contain no-repeat; }
@media (max-width: 860px) {
  .stats__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats__label { padding-right: 0; border-right: 0; }
  .stats__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .stats__list li { gap: 10px; font-size: 16px; white-space: normal; }
  .stats__list li::before, .stats__list li + li::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--blue); -webkit-mask: url(assets/haig-mark.svg) center / contain no-repeat; mask: url(assets/haig-mark.svg) center / contain no-repeat; }
}
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy em, .contact em { color: var(--blue-light); }
.section__head { max-width: 780px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section__head--split .section__intro { margin: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow span { color: var(--blue); }
.eyebrow span::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .7; }
.eyebrow--light { color: rgba(255,255,255,.65); }
.eyebrow--light span { color: var(--blue-light); }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 400; letter-spacing: -0.03em; color: var(--navy); }
.section--navy h2, .contact h2 { color: #fff; }
.section__intro { margin-top: 20px; font-size: 19px; color: var(--muted); }
.section--navy .section__intro, .contact .section__intro { color: rgba(255,255,255,.72); }

/* Photo backgrounds and banners */
.section--photo { position: relative; overflow: hidden; }
.section--photo > .wrap { position: relative; z-index: 1; }
.section__bg { position: absolute; inset: 0; pointer-events: none; background-size: cover; background-position: center; }
.section__bg--towers {
  background-image: url("assets/media/towers-1600.jpg");
  background-image: image-set(url("assets/media/towers-1600.avif") type("image/avif"), url("assets/media/towers-1600.webp") type("image/webp"), url("assets/media/towers-1600.jpg") type("image/jpeg"));
  opacity: .16; filter: grayscale(.2);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.4) 55%, transparent 90%); mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.4) 55%, transparent 90%);
}
.section__bg--boardroom {
  background-image: url("assets/media/boardroom-1600.jpg");
  background-image: image-set(url("assets/media/boardroom-1600.avif") type("image/avif"), url("assets/media/boardroom-1600.webp") type("image/webp"), url("assets/media/boardroom-1600.jpg") type("image/jpeg"));
  opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 40%, #000 100%);
}
.photo-card { grid-column: 1 / -1; position: relative; margin: 56px 0 0; height: 360px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.photo-card picture { display: block; height: 100%; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,27,58,.55), transparent 55%), linear-gradient(180deg, transparent 50%, rgba(0,27,58,.45)); }
.photo-card figcaption {
  position: absolute; left: 22px; bottom: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff;
  background: rgba(0,27,58,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.photo-card figcaption span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); }

/* Partnership: exchange + journey */
.xitem__icon svg, .journey__icon svg, .benefit__icon svg, .contact__points svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.exchange { display: grid; grid-template-columns: 1fr 88px 1fr; align-items: stretch; }
.exchange__col { border-radius: 24px; padding: 40px; }
.exchange__col--keep { background: radial-gradient(90% 70% at 0% 0%, rgba(79,139,201,.28), transparent 60%), var(--navy); color: #fff; }
.exchange__col--take { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.exchange__kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.exchange__col--keep .exchange__kicker { color: var(--blue-light); }
.exchange__col h3 { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; margin: 8px 0 32px; color: var(--navy); }
.exchange__col--keep h3 { color: #fff; }
.xgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.xitem { display: flex; gap: 14px; align-items: flex-start; }
.xitem__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue-deep); }
.exchange__col--keep .xitem__icon { background: rgba(79,139,201,.18); color: var(--blue-light); box-shadow: inset 0 0 0 1px rgba(156,195,234,.35); }
.xitem h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 2px 0 4px; }
.xitem p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.exchange__col--keep .xitem p { color: rgba(255,255,255,.66); }
.exchange__bond { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.exchange__line { flex: 1; width: 2px; background: linear-gradient(transparent, var(--blue), transparent); opacity: .45; }
.exchange__mark {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 12px 0; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--blue); box-shadow: 0 0 0 8px rgba(79,139,201,.10);
}
.exchange__mark img { width: 34px; transform: rotate(var(--turn, 0deg)); }
@media (min-width: 1025px) {
  .exchange__bond { position: relative; }
  .exchange__line { background: var(--blue); }
  /* the mark rides the line from top to bottom as you scroll */
  .exchange__mark { position: absolute; z-index: 1; left: 50%; top: calc(var(--slide, .5) * (100% - 66px)); margin: 0; translate: -50% 0; }
}

.journey { margin-top: 88px; }
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.journey__head h3 { font-size: 28px; font-weight: 400; color: var(--navy); }
.journey__head p { color: var(--muted); }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.journey__steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue-light), var(--blue) 70%, var(--line)); }
.journey__step { position: relative; text-align: center; padding: 0 18px 28px; }
.journey__icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px;
  border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue-deep);
}
.journey__step--key .journey__icon { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 0 0 8px rgba(79,139,201,.16); }
.journey__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.journey__step h4 { font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.journey__step p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.journey__badge { display: inline-block; margin: -2px 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12.5px; font-weight: 600; }

/* Story */
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
/* the book on a soft stage, with the year set large behind it */
.story__stage {
  position: relative; margin: 0; padding: 56px 32px 32px; border-radius: 28px; overflow: hidden;
  display: grid; justify-items: center; gap: 20px;
  background: radial-gradient(80% 60% at 50% 35%, #fff, transparent 70%), var(--blue-soft);
}
/* the year, set large in the section's top right */
.story__wrap { position: relative; }
/* the year hangs from the top of the section and fades out where the copy starts */
.section.story { --yr: clamp(170px, 18vw, 270px); --st: 120px; }
.story__year {
  position: absolute; right: 0; top: calc(var(--st) * -1); z-index: 0; pointer-events: none;
  font-size: var(--yr); font-weight: 400; line-height: .8; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 2px var(--blue); opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--st) * .55), transparent calc(var(--st) + 90px));
  mask-image: linear-gradient(180deg, #000 calc(var(--st) * .55), transparent calc(var(--st) + 90px));
}
.story__grid { position: relative; z-index: 1; }
.story__year--inline { display: none; }
.story__stage .book { transform: rotate(-4deg); }
.story__stage figcaption { position: relative; font-size: 12.5px; color: var(--muted); text-align: center; }
.story__copy h2 { font-size: clamp(32px, 3.6vw, 48px); }
.story__lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 560px; }
.story__lead strong { font-weight: 600; color: var(--navy); }
.story__quote { position: relative; margin: 40px 0 0; padding-top: 44px; max-width: 560px; }
.story__quote::before { content: "\201C"; position: absolute; left: -4px; top: -18px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: var(--blue); }
.story__quote p { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); }
.story__quote footer { margin-top: 12px; font-size: 15px; color: var(--blue-deep); }
.book {
  width: 200px; aspect-ratio: 2 / 3; padding: 22px 18px; border-radius: 3px 8px 8px 3px;
  display: flex; flex-direction: column; text-align: center; color: #F4ECD8; font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,0) 7%), #1F3F8F;
  box-shadow: inset 0 0 0 9px #1F3F8F, inset 0 0 0 11px #C9A54A, inset 0 0 0 14px #1F3F8F, inset 0 0 0 15px #C9A54A,
              18px 24px 40px -18px rgba(0,27,58,.55);
}
.book__title { margin-top: 38%; font-size: 21px; line-height: 1.2; }
.book__author { margin-top: auto; font-size: 13px; letter-spacing: .02em; }
.book__meta { margin-top: 10px; font-size: 10px; line-height: 1.4; letter-spacing: .06em; color: #D9C48A; }
/* timeline: dots on a line, 1921 highlighted */
.story__timeline { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.story__timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--blue-light), var(--blue) 50%, var(--line)); }
.story__timeline li { position: relative; padding: 32px 20px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.story__timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.story__timeline li.is-key::before { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 6px rgba(79,139,201,.18); }
.story__timeline strong { display: block; margin-bottom: 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--navy); }
.story__timeline li.is-key strong { color: var(--blue-deep); }
.story__note { margin-top: 48px; font-size: 12.5px; color: var(--muted); }

/* Owner paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.path--feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.path__hero { position: relative; height: 300px; overflow: hidden; }
.path__hero picture { display: block; height: 100%; }
.path__hero picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.path:hover .path__hero picture img { transform: scale(1.04); }
.path__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,27,58,.05) 25%, rgba(0,27,58,.85) 100%); }
.path__hero--graphic {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px),
    radial-gradient(70% 80% at 80% 20%, rgba(79,139,201,.45), transparent 65%), var(--navy-2);
}
.path__hero--graphic::after { background: linear-gradient(180deg, transparent 40%, var(--navy) 100%); }
.path__mark { position: absolute; top: 40px; right: 40px; width: 150px; height: auto; opacity: .9; }
.path__over { position: absolute; left: 36px; right: 36px; bottom: 28px; z-index: 1; color: #fff; }
.path__tag {
  display: inline-flex; font-size: 13px; padding: 6px 13px; border-radius: 999px; font-weight: 500; margin-bottom: 14px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.path__over h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.025em; }
.path__body { display: flex; flex-direction: column; flex: 1; padding: 32px 36px 36px; }
.path__body > p { color: var(--muted); }
.path--feature .path__hero::after { background: linear-gradient(180deg, rgba(0,27,58,.1) 30%, rgba(0,40,85,.92) 100%); }
.path--feature .path__body > p { color: rgba(255,255,255,.7); }
.benefits { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.benefit__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--blue-soft); color: var(--blue-deep); }
.benefit__icon svg { width: 19px; height: 19px; }
.path--feature .benefit__icon { background: rgba(79,139,201,.2); color: var(--blue-light); box-shadow: inset 0 0 0 1px rgba(156,195,234,.35); }
.path__cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--blue-deep); padding-bottom: 3px; border-bottom: 1.5px solid currentColor;
}
.path__cta span { transition: transform .2s; }
.path__cta:hover span { transform: translateX(4px); }
.path--feature .path__cta { color: var(--blue-light); }

/* Deal */
.deal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deal__stage { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.deal__stage--key { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79,139,201,.12), var(--shadow); }
.deal__when { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 16px; }
.deal__bar { display: flex; height: 48px; border-radius: 12px; overflow: hidden; margin-bottom: 24px; background: var(--tint); }
.deal__fill { display: flex; align-items: center; padding: 0 14px; width: var(--w); font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
/* bars fill in on scroll, one stage after another */
.deal__stage.reveal .deal__fill { width: 0; color: transparent; transition: width 1.1s cubic-bezier(.22,.8,.24,1) var(--d, .25s), color .4s ease calc(var(--d, .25s) + .7s); }
.deal__stage.is-visible .deal__fill { width: var(--w); color: #fff; }
.deal__stage:nth-child(2) { --d: .55s; }
.deal__stage:nth-child(2) .deal__fill + .deal__fill { --d: 1.1s; }
.deal__stage:nth-child(3) { --d: 1.3s; }
.deal__fill--yours { background: var(--navy); }
.deal__fill--cash { background: var(--blue-deep); }
.deal__fill--group { background: linear-gradient(90deg, var(--navy) 0 14%, var(--navy-3) 14% 32%, var(--blue-deep) 32% 56%, var(--blue) 56%); }
.deal__stage h3 { font-size: 21px; margin-bottom: 8px; color: var(--navy); }
.deal__stage p { font-size: 15px; color: var(--muted); }
.deal__note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Platform (navy) */
.diagram { margin: 0 0 56px; padding: 44px; border-radius: 28px; background: var(--navy-deep); border: 1px solid var(--line-dark); }
.diagram__row { display: grid; gap: 14px; }
.diagram__row--firms { grid-template-columns: repeat(3, 1fr); }
.diagram__row--out { grid-template-columns: repeat(4, 1fr); }
.chip { padding: 16px 18px; border-radius: 14px; text-align: center; font-weight: 500; font-size: 16px; background: var(--navy-2); border: 1px solid var(--line-dark); }
.chip small { display: block; margin-top: 6px; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.65); }
.chip--out { background: rgba(79,139,201,.14); border-color: rgba(156,195,234,.35); color: #DCEAF8; }
.diagram__flow { display: flex; justify-content: space-around; height: 44px; }
.diagram__flow span { width: 1px; background: linear-gradient(var(--line-dark), var(--blue)); position: relative; overflow: hidden; }
.diagram__flow span::after { content: ""; position: absolute; left: -2px; width: 5px; height: 12px; border-radius: 3px; background: var(--blue-light); animation: flow 2.4s linear infinite; }
.diagram__flow span:nth-child(2)::after { animation-delay: .6s; }
.diagram__flow span:nth-child(3)::after { animation-delay: 1.2s; }
.diagram__flow span:nth-child(4)::after { animation-delay: 1.8s; }
@keyframes flow { from { top: -12px; } to { top: 100%; } }
.diagram__core { padding: 30px 26px; border-radius: 18px; text-align: center; background: var(--navy-2); border: 1.5px solid var(--blue); }
.diagram__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.diagram__brand img { height: 30px; width: auto; }
.diagram__brand strong { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-light); }
.diagram__core span { display: block; margin-top: 12px; color: rgba(255,255,255,.75); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { border-top: 1px solid rgba(156,195,234,.45); padding-top: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: rgba(255,255,255,.7); }
.works-with { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line-dark); text-align: center; }
.works-with p { font-size: 14px; color: rgba(255,255,255,.62); }
.logos { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 46px; }
.logo { width: auto; opacity: .78; transition: opacity .2s; }
.logo:hover { opacity: 1; }
.logo--quickbooks { height: 30px; } .logo--xero { height: 34px; } .logo--sage-intacct { height: 22px; } .logo--netsuite { height: 30px; }
.logo--karbon { height: 26px; } .logo--taxdome { height: 24px; } .logo--canopy { height: 24px; } .logo--cch { height: 30px; }
.logo--ultratax { height: 48px; } .logo--lacerte { height: 21px; } .logo--microsoft { height: 24px; }
.chip__logos { display: flex; align-items: center; justify-content: center; gap: 22px; height: 44px; margin-top: 12px; }
.cl { width: auto; opacity: .92; }
.cl--quickbooks { height: 30px; } .cl--karbon { height: 25px; } .cl--xero { height: 36px; } .cl--taxdome { height: 24px; }
.cl--sage-intacct { height: 22px; } .cl--cch { height: 32px; }

/* Ownership */
.ownership { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ownership__copy .btn { margin-top: 36px; }
.ownership__copy strong { color: var(--navy); font-weight: 600; }
.ownership__chart { display: grid; }
.ocard { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.ocard--haig { background: var(--navy); border-color: var(--navy); color: #fff; }
.ocard__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.ocard--haig .ocard__kicker { color: var(--blue-light); }
.ocard h3 { font-size: 22px; margin-bottom: 12px; color: var(--navy); }
.ocard--haig h3 { color: #fff; }
.ocard ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.ocard--haig ul { color: rgba(255,255,255,.75); }
.ocard__link { position: relative; height: 64px; display: grid; place-items: center; }
.ocard__link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: repeating-linear-gradient(var(--blue) 0 6px, transparent 6px 11px); }
.ocard__link span { position: relative; padding: 5px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12.5px; font-weight: 600; border: 1px solid var(--blue-light); }

/* FAQ */
/* FAQ: sticky heading on the left, answers in a card on the right */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 140px; }
.faq__aside { margin: 28px 0 16px; font-size: 17px; color: var(--muted); }
.faq__list { padding: 8px 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq__list details + details { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 26px 52px 26px 0; position: relative; font-size: 19px; font-weight: 500; color: var(--navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__num { flex: none; width: 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--blue); }
.faq__list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-soft); font-size: 19px; color: var(--blue-deep); transition: transform .25s, background .25s, color .25s;
}
.faq__list summary:hover::after { background: var(--blue-light); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--navy); color: #fff; }
.faq__list details p { padding: 0 52px 26px 48px; font-size: 16.5px; color: var(--muted); }

/* Contact (navy) */
.contact { background: radial-gradient(60% 80% at 100% 0%, rgba(79,139,201,.25), transparent 60%), var(--navy); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact__points li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); }
.contact__points svg { color: var(--blue-light); }
.form { background: #fff; color: var(--text); border-radius: 24px; padding: 36px; display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: 16px var(--font); color: var(--text);
  background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #536276 50%), linear-gradient(135deg, #536276 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,139,201,.22); }
.form .invalid { border-color: #C2334D; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 15px; min-height: 1.4em; color: var(--blue-deep); }
.form__status.error { color: #B4233C; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); }
.footer .brand__sub { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.2); }
.footer__bar { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; padding: 40px 0 24px; border-bottom: 1px solid var(--line-dark); }
.footer__nav { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; font-size: 15px; }
.footer__nav a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 32px; font-size: 13px; color: rgba(255,255,255,.5); }

/* Smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

/* Responsive */
@media (max-width: 1180px) {
  .hero__copy { padding: 0 calc(40px + 22px); }
  .nav__menu { gap: 18px; }
  .nav__menu a, .nav__util a { letter-spacing: .05em; font-size: 11.5px; }
  .nav__util { gap: 18px; }
  .nav__pill { padding-left: 22px; }
}

@media (max-width: 1080px) {
  .hero__copy { padding: 0 calc(24px + 22px); }
  .nav__bar { padding-left: 24px; padding-right: 24px; }
  .nav__pill { grid-template-columns: 1fr auto auto; gap: 10px; padding: 0 12px 0 22px; }
  .nav__toggle { display: grid; gap: 6px; place-content: center; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); transition: transform .25s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    border-radius: 14px; padding: 8px 20px 20px; display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav__menu .nav__menu-cta { display: block; border-bottom: 0; color: var(--blue-deep); opacity: 1; }
  .nav__menu .nav__menu-util { display: block; }
  .nav__util { display: none; }
}

@media (max-width: 1024px) {

  .features { grid-template-columns: repeat(2, 1fr); }
  .ownership, .faq, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .story__grid { grid-template-columns: 1fr; gap: 48px; }
  /* year sits fully above the book panel */
  /* stacked: the year moves below the book, just above the story copy */
  .story__wrap > .story__year { display: none; }
  .story__year--inline {
    display: block; position: static; margin: 0 0 -72px auto; width: max-content;
    font-size: 150px; opacity: .4;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  }
  .story__copy { position: relative; }
  .story__copy > :not(.story__year) { position: relative; }
  /* timeline runs down the left: dot, year, label on one row */
  .story__timeline { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
  .story__timeline::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(var(--blue-light), var(--blue) 50%, var(--line)); }
  .story__timeline li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; column-gap: 12px; padding: 0 0 22px 36px; font-size: 15px; }
  .story__timeline li:last-child { padding-bottom: 0; }
  .story__timeline li::before { top: 4px; }
  .story__timeline strong { margin: 0; font-size: 19px; }
  .faq__head { position: static; }
  .exchange { grid-template-columns: 1fr; }
  .exchange__bond { flex-direction: row; height: 88px; }
  .exchange__line { height: 2px; width: auto; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
  .exchange__mark { margin: 0 12px; }
  .journey__steps { grid-template-columns: 1fr; gap: 0; }
  .journey__steps::before { top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--blue-light), var(--blue) 70%, var(--line)); }
  .journey__step { display: grid; grid-template-columns: 58px 1fr; column-gap: 22px; text-align: left; padding: 0 0 32px; }
  .journey__icon { grid-row: span 4; margin: 0; }
  .journey__badge { justify-self: start; }
  .deal { grid-template-columns: 1fr; }
  .section__head--split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .paths, .diagram__row--firms { grid-template-columns: 1fr; }
  .diagram__row--out { grid-template-columns: 1fr 1fr; }
  .diagram { padding: 24px; }
  .chip__logos { gap: 18px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .announce__icon, .announce__more { display: none; }
  .announce { font-size: 13px; min-height: 40px; padding: 7px 14px; }
  .nav__bar { padding-left: 16px; padding-right: 16px; padding-top: calc(var(--nav-offset, 40px) + 12px); }
  .nav__pill { height: 62px; padding: 0 10px 0 18px; }
  .hero__copy { padding: 0 calc(16px + 18px); }
  .brand__logo { height: 25px; }
  .brand { gap: 10px; }
  .brand__sub { font-size: 9.5px; padding-left: 10px; }
  .hero__panel { padding: 150px 0 130px; }
  .lede { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .section { padding: 80px 0; }
  .story__year--inline { font-size: 116px; margin-bottom: -56px; }
  .section__intro { font-size: 17px; }
  .features, .form__row, .xgrid { grid-template-columns: 1fr; }
  .faq__list { padding: 4px 20px; }
  .faq__list summary { font-size: 17px; gap: 14px; }
  .faq__list details p { padding: 0 0 22px 42px; }
  .exchange__col, .form, .deal__stage { padding: 26px; }
  .path__hero { height: 240px; }
  .path__over { left: 24px; right: 24px; bottom: 22px; }
  .path__body { padding: 26px; }
  .photo-card { height: 240px; margin-top: 40px; }
  .photo-card img { object-position: 60% 45%; }
  .footer__bar { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .hero__dial { width: 42px; height: 42px; margin-bottom: 22px; }
  .watermark--platform, .watermark--contact { width: 360px; height: 360px; }
  .logos { gap: 22px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .diagram__flow span::after { animation: none; display: none; }
  .hero__video { display: none; }
  .hero__scroll span::after { animation: none; }
  .hero__dial, .watermark { animation: none; }
  .deal__stage.reveal .deal__fill { transition: none; }
}
