/* =========================================================
   SAP — Social Finance Platform
   ========================================================= */

:root {
  --navy: #12143A;
  --navy-2: #171A48;
  --navy-3: #0E1030;
  --navy-line: #2E3266;
  --orange: #E8650A;
  --orange-2: #F28A2E;
  --peach: #F2A469;
  --rust: #B24E08;
  --cream: #FAF8F4;
  --sand: #F1EEE8;
  --line: #E6E1D8;
  --line-2: #DCD8CF;
  --ink: #12143A;
  --muted: #5A5750;
  --muted-2: #6E6A63;
  --on-dark: #C4C6DE;
  --white: #fff;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --section-y: clamp(80px, 9vw, 136px);
  --maxw: 1440px;
  --radius: 10px;
  --radius-lg: 18px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.dark { background: var(--navy); color: #fff; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow-peach { color: var(--peach); }
.eyebrow-light { color: #E6E3DC; }

.h1, .h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; text-wrap: balance; }
.h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; }
.h2 { font-size: clamp(34px, 3.7vw, 52px); line-height: 1.08; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); line-height: 1.65; }
.dark .lead { color: var(--on-dark); }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .h2 { max-width: 820px; }
.split-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.split-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.split-head.align-end .lead { max-width: 420px; padding-bottom: 8px; }

/* ---------- Links ---------- */
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding-bottom: 4px; white-space: nowrap;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; animation: line-in .6s .25s var(--ease) forwards; }
@keyframes line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.link-arrow i, .sol-more i, .pill-link i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }
.link-arrow.light { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --fill: var(--orange); --fill-fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 6px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(101%); transition: transform .65s var(--ease), border-radius .65s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--fill-fg); border-color: var(--fill); box-shadow: 0 14px 30px -12px rgba(232, 101, 10, .55); }
/* Text roll: JS wraps the label in .bl-in; the text-shadow is the copy that rolls up */
.btn-label { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.bl-in { display: block; text-shadow: 0 1.3em 0 currentColor; transition: transform .55s var(--ease); }
.btn:hover .bl-in { transform: translateY(-1.3em); }

.btn-sm { height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn-dark { --bg: var(--navy); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--navy); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); --bd: var(--navy); --fill: var(--navy); }
.btn-ghost-dark:hover { box-shadow: 0 14px 30px -12px rgba(18, 20, 58, .45); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 8px 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn-pill .orb {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  background: var(--navy); color: #fff; transition: transform .6s var(--ease);
}
.btn-pill:hover .orb { transform: rotate(-45deg) scale(1.08); }
.btn-pill .orb-orange { background: var(--orange); }
.btn-pill-light { background: #fff; color: var(--navy); }
.btn-pill-light:hover { background: var(--peach); }
.btn-pill-outline { border: 1px solid #3A3F85; color: #fff; }
.btn-pill-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Progress + cursor ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--peach)); transform-origin: left; transform: scaleX(0); }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(232, 101, 10, .55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), opacity .3s;
}
.cursor-label { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(232, 101, 10, .12); border-color: rgba(232,101,10,.35); }
.cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); border-color: var(--orange); }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-view .cursor-dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.nav-bar {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(234, 230, 222, .9);
}
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(18,20,58,.25); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { margin-right: auto; }
.brand img { height: 36px; width: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  position: relative; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-link:hover::after, .nav-link.is-current::after, .nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-trigger svg { transition: transform .4s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sep { width: 1px; height: 22px; background: var(--line); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(18,20,58,.18);
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.mega[hidden] { display: block; visibility: hidden; }
.mega.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mega-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 44px var(--gutter) 48px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 48px;
}
.mega-inner > * { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.mega.is-open .mega-inner > * { opacity: 1; transform: none; }
.mega.is-open .mega-inner > :nth-child(2) { transition-delay: .06s; }
.mega.is-open .mega-inner > :nth-child(3) { transition-delay: .12s; }
.mega.is-open .mega-inner > :nth-child(4) { transition-delay: .18s; }
.mega-intro { display: flex; flex-direction: column; gap: 14px; }
.mega-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.mega-intro p { color: var(--muted-2); font-size: 15px; max-width: 300px; }
.mega-intro .link-arrow { align-self: flex-start; }
.mega-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.mega-col b { font-size: 12px; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 4px; }
.mega-col a { transition: color .3s, transform .4s var(--ease); }
.mega-col a:hover { color: var(--orange); transform: translateX(6px); }
.mega-feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 180px; color: #fff; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12,14,40,.85)); }
.mega-feature span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.mega-feature small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--peach); margin-bottom: 6px; }
.mega-feature:hover img { transform: scale(1.07); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.2;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.mobile-menu nav a:hover { color: var(--peach); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .4s; }
.mobile-menu .btn { align-self: flex-start; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: clip-path 1s var(--ease-in-out); clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader-word { font-family: var(--serif); font-size: clamp(56px, 9vw, 110px); line-height: 1; letter-spacing: -.02em; overflow: hidden; }
.preloader-word span { display: inline-block; transform: translateY(105%); animation: pre-up .9s var(--ease) forwards; }
.preloader-word span:nth-child(2) { animation-delay: .08s; }
.preloader-word span:nth-child(3) { animation-delay: .16s; }
.preloader-word i { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--orange); margin-left: .06em; transform: scale(0); animation: pop .6s .5s var(--ease) forwards; }
.preloader-bar { width: min(240px, 50vw); height: 1px; background: rgba(255,255,255,.18); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.preloader-count { font-size: 12px; letter-spacing: .2em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
@keyframes pre-up { to { transform: translateY(0); } }
@keyframes pop { to { transform: scale(1); } }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .wi { transform: none; }

.js .img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .img-reveal img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.js .img-reveal.is-in img { transform: scale(1); }

/* Icon stroke drawing */
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico .acc { stroke: var(--orange); }
.js .ico.draw > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.js .is-in .ico.draw > *, .js .ico.draw.is-in > * { stroke-dashoffset: 0; }
.js .ico.draw > .acc { transition-delay: .45s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy);
}
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.12); }
.js .hero-media img { animation: hero-zoom 2.6s var(--ease) forwards; animation-play-state: paused; }
.is-loaded .hero-media img { animation-play-state: running; }
@keyframes hero-zoom { from { transform: scale(1.25); } to { transform: scale(1.06); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,14,40,.78) 0%, rgba(12,14,40,.42) 45%, rgba(12,14,40,.05) 75%),
    linear-gradient(180deg, rgba(12,14,40,.35) 0%, rgba(12,14,40,0) 30%, rgba(12,14,40,0) 50%, rgba(12,14,40,.65) 100%);
}
.hero-content { position: relative; padding-bottom: clamp(64px, 9vh, 104px); will-change: transform, opacity; }
.hero-kicker { margin-bottom: 26px; }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.025em;
  max-width: 1060px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--peach); }
.js :is(.hero-title, .page-title) .line > span { transform: translateY(110%); transition: transform 1.3s var(--ease); }
.js :is(.hero-title, .page-title) .line:nth-child(2) > span { transition-delay: .1s; }
.js :is(.hero-title, .page-title) .line:nth-child(3) > span { transition-delay: .2s; }
.is-loaded :is(.hero-title, .page-title) .line > span { transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.js [data-hero-in] { opacity: 0; transform: translateY(20px); transition: opacity 1s .45s, transform 1.2s .45s var(--ease); }
.js .hero-kicker[data-hero-in] { transition-delay: .05s; }
.is-loaded [data-hero-in] { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(64px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }


/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; }
.about-feature {
  position: relative; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  transform-style: preserve-3d;
}
.about-feature-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.about-feature-media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; transition: scale 1.4s var(--ease); }
.about-feature:hover .about-feature-media img { scale: 1.05; }
.about-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,14,40,0) 40%, rgba(12,14,40,.6) 66%, rgba(12,14,40,.95) 100%); }
.about-feature-body { padding: clamp(28px, 3.2vw, 48px); display: flex; flex-direction: column; gap: 26px; }
.about-feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.22; max-width: 660px; text-wrap: pretty; }
.about-feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.about-feature-foot > span { font-size: 14px; color: #E4E5F0; max-width: 340px; text-align: right; }
.pill-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.pill-link i { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 14px; transition: transform .6s var(--ease), background .4s, color .4s; }
.pill-link:hover i { transform: rotate(-45deg); background: var(--orange); color: #fff; }

.approach {
  border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden;
}
.approach::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,10,.35), transparent 70%); pointer-events: none;
}
.approach > p { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.3; }
.approach-list li {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; align-items: center; padding: 17px 0;
  border-top: 1px solid var(--navy-line); transition: padding .5s var(--ease);
}
.approach-list li:last-child { border-bottom: 1px solid var(--navy-line); }
.approach-list b { font-weight: 600; font-size: 17px; }
.approach-list i { font-style: normal; color: var(--peach); opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease); }
.approach-list li:hover { padding-left: 8px; }
.approach-list li:hover i { opacity: 1; transform: none; }
.approach .btn { margin-top: auto; align-self: flex-start; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 32px 28px 8px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pillar:first-child::before { right: 28px; }
.pillar:hover::before { transform: scaleX(1); }
.pillar .ico { color: var(--navy); transition: transform .6s var(--ease); }
.pillar:hover .ico { transform: translateY(-4px) rotate(-4deg); }
.pillar b { font-weight: 700; font-size: 18px; margin-top: 8px; }
.pillar span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-tagline { margin-top: clamp(48px, 5vw, 72px); text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--muted-2); }

/* ---------- Solutions ---------- */
.bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.sol { display: flex; flex-direction: column; gap: 14px; }
.sol-media { border-radius: var(--radius); overflow: hidden; height: 190px; position: relative; }
.sol-media img { width: 100%; height: 100%; object-fit: cover; }
.sol:hover .sol-media img, .sol:focus-visible .sol-media img { transform: scale(1.07) !important; transition-duration: 1.2s; }
.sol-media::after { content: ""; position: absolute; inset: 0; background: rgba(232,101,10,.0); transition: background .6s; }
.sol:hover .sol-media::after { background: rgba(18,20,58,.15); }
.sol .eyebrow { margin-top: 8px; font-size: 11.5px; }
.sol h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.sol h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.28; transition: color .4s; }
.sol:hover h4, .sol:hover h3 { color: var(--peach); }
.sol p { color: var(--on-dark); font-size: 16px; max-width: 560px; }
.sol-more { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; margin-top: 4px; }
.sol:hover .sol-more i { transform: translateX(6px); }
.sol-lead { grid-row: span 2; }
.sol-lead .sol-media { height: clamp(320px, 32vw, 460px); }
.sol:not(.sol-lead):not(.sol-wide) { padding-bottom: 24px; border-bottom: 1px solid var(--navy-line); }
.sol-wide { grid-column: span 2; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.sol-wide .sol-media { height: 140px; }
.sol-wide > div { display: flex; flex-direction: column; gap: 10px; }
.sol-wide .eyebrow { margin-top: 0; }

/* ---------- Why ---------- */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.why-intro { display: flex; flex-direction: column; gap: 20px; }
.why-intro .h2 { font-size: clamp(32px, 3vw, 44px); font-weight: 500; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.why-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(18,20,58,.35); border-color: transparent; }
.why-card-top { position: relative; height: 160px; background: var(--navy); color: #fff; display: grid; place-items: center; overflow: hidden; }
.why-card-top::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,138,46,.45), transparent 70%); transform: scale(0); transition: transform .8s var(--ease);
}
.why-card:hover .why-card-top::before { transform: scale(1.4); }
.why-card-top .ico { position: relative; transition: transform .8s var(--ease); }
.why-card-top .ico .acc { stroke: var(--orange-2); }
.why-card:hover .why-card-top .ico { transform: scale(1.12); }
.why-num { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.45); }
.why-card-body { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 8px; }
.why-card-body b { font-weight: 700; font-size: 18px; line-height: 1.3; }
.why-card-body .tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--rust); }
.why-card-body span:last-child { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Ecosystem ---------- */
.eco { background: #fff; }
.eco-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.eco-stage { position: relative; height: clamp(420px, 42vw, 600px); border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); position: sticky; top: calc(var(--header-h) + 32px); }
/* Photo switch: the new photo wipes in from the right while zooming out, then drifts
   slowly (Ken Burns). The previous photo stays underneath until the wipe completes. */
.eco-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; }
.eco-stage img.was-active { opacity: 1; z-index: 1; animation: eco-out 1.3s var(--ease-in-out) forwards; }
.eco-stage img.is-active { opacity: 1; z-index: 2; animation: eco-in 1.3s var(--ease-in-out) both, eco-drift 9s 1.3s linear forwards; }
.eco-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; background: var(--orange); pointer-events: none;
  opacity: 0; transform: translateX(-10px);
}
.eco-stage.is-switching::after { animation: eco-edge 1.3s var(--ease-in-out); }
@keyframes eco-in { from { clip-path: inset(0 0 0 100%); transform: scale(1.18); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes eco-out { to { transform: scale(1.06) translateX(-4%); filter: brightness(.7); } }
@keyframes eco-drift { to { transform: scale(1.07); } }
@keyframes eco-edge { 0% { opacity: 1; left: 100%; } 90% { opacity: 1; } 100% { opacity: 0; left: 0; } }
.eco-chip { z-index: 4 !important;
  position: absolute; left: 24px; top: 24px; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--navy); box-shadow: 0 10px 30px -12px rgba(18,20,58,.3);
}
.eco-chip-n { color: var(--orange); font-size: 12px; }
.eco-chip-k { display: inline-block; transition: opacity .3s, transform .4s var(--ease); }
.eco-chip.is-swapping .eco-chip-k { opacity: 0; transform: translateY(8px); }

.eco-list { border-top: 1px solid var(--line-2); }
.eco-item { position: relative; border-bottom: 1px solid var(--line-2); }
.eco-head { width: 100%; display: grid; grid-template-columns: 56px 40px 1fr 28px; align-items: center; padding: 24px 0; text-align: left; }
.eco-icon { width: 46px; height: 46px; border-radius: 50%; background: #F3F1EC; display: grid; place-items: center; color: #8A857B; transition: background .5s, color .5s, transform .6s var(--ease); }
.eco-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.eco-n { font-size: 13px; font-weight: 600; color: var(--rust); }
.eco-k { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--muted-2); transition: color .4s, transform .6s var(--ease); }
.eco-sign { position: relative; width: 18px; height: 18px; justify-self: end; }
.eco-sign::before, .eco-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--muted-2); transition: transform .5s var(--ease), background .4s; }
.eco-sign::after { transform: rotate(90deg); }
.eco-item:hover .eco-k { color: var(--navy); transform: translateX(6px); }
.eco-item:hover .eco-icon { transform: scale(1.06); }
.eco-item.is-open .eco-k { color: var(--navy); }
.eco-item.is-open .eco-icon { background: #F6E7DA; color: var(--navy); }
.eco-item.is-open .eco-sign::after { transform: rotate(0); }
.eco-item.is-open .eco-sign::before, .eco-item.is-open .eco-sign::after { background: var(--navy); }
.eco-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.eco-body > div { overflow: hidden; }
.eco-body p { margin: 0 0 26px 96px; color: var(--muted); font-size: 16px; max-width: 520px; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .7s var(--ease); }
.eco-item.is-open .eco-body { grid-template-rows: 1fr; }
.eco-item.is-open .eco-body p { opacity: 1; transform: none; transition-delay: .15s; }
.eco-timer { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.eco-item.is-open .eco-timer { animation: eco-timer var(--eco-dur, 7s) linear forwards; }
.eco-list.is-paused .eco-timer { animation-play-state: paused; }
@keyframes eco-timer { to { transform: scaleX(1); } }

/* ---------- Framework (pinned) ---------- */
.framework { position: relative; background: var(--cream); height: 320vh; }
.framework-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.framework-inner { display: flex; flex-direction: column; }
.framework-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: 52px; }
.framework-head > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.framework-detail { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-height: 132px; box-shadow: 0 20px 50px -35px rgba(18,20,58,.35); }
.fd-count { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; padding-top: 4px; white-space: nowrap; }
.fd-count b { font-family: var(--serif); font-weight: 400; font-size: 40px; color: var(--orange); line-height: 1; margin-right: 2px; }
.fd-text { display: flex; flex-direction: column; gap: 6px; transition: opacity .35s, transform .5s var(--ease); }
.fd-text.is-swapping { opacity: 0; transform: translateY(10px); }
.fd-label { font-size: 21px; font-weight: 700; }
.fd-body { color: var(--muted); }

.framework-track { height: 3px; background: var(--line-2); border-radius: 3px; margin-bottom: 14px; overflow: hidden; }
.framework-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform-origin: left; transform: scaleX(0); }
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.step button {
  width: 100%; text-align: left; background: #fff; color: var(--navy); border: 1px solid #E3DFD6; border-radius: var(--radius);
  padding: 20px 18px; min-height: clamp(164px, 24vh, 230px); display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.step-top { display: flex; justify-content: space-between; align-items: flex-start; }
.step .ico { width: 42px; height: 42px; stroke-width: 1.6; transition: transform .6s var(--ease); }
.step-n { font-size: 13px; font-weight: 600; color: var(--muted-2); transition: color .5s; }
.step-label { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); }
.step button:hover { border-color: var(--navy); transform: translateY(-4px); }
.step button:hover .ico { transform: rotate(-6deg) scale(1.06); }
.step.is-done button { border-color: rgba(232,101,10,.45); }
.step.is-active button { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-10px); box-shadow: 0 30px 50px -25px rgba(18,20,58,.55); }
.step.is-active .step-n { color: var(--on-dark); }
.step button:focus:not(:focus-visible) { outline: none; }
.steps { user-select: none; }
.framework-hint { margin-top: 28px; font-size: 13px; color: var(--muted-2); letter-spacing: .02em; }

/* Compact pinned layout for short laptop windows */
@media (min-width: 901px) and (max-height: 800px) {
  .framework-head { margin-bottom: 28px; gap: 32px; }
  .framework-head .h2 { font-size: clamp(30px, 3vw, 42px); }
  .framework-head > div:first-child { gap: 12px; }
  .framework-detail { min-height: 0; padding: 18px 22px; }
  .fd-count b { font-size: 32px; }
  .step button { min-height: 132px; padding: 16px 16px; }
  .step .ico { width: 34px; height: 34px; }
  .step.is-active button { transform: translateY(-6px); }
  .framework-hint { margin-top: 18px; }
  .framework-pin { padding-top: 24px; }
}
@media (min-width: 901px) and (max-height: 600px) {
  .framework-head .h2 { font-size: 30px; }
  .framework-detail { padding: 14px 18px; }
  .step button { min-height: 108px; gap: 8px; }
  .framework-hint { display: none; }
}

/* ---------- Audiences ---------- */
.audiences { background: var(--cream); padding-top: 0; }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { background: #fff; border: 1px solid #EAE6DE; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .7s var(--ease), transform .7s var(--ease); }
.aud-card:hover { box-shadow: 0 40px 70px -40px rgba(18,20,58,.4); transform: translateY(-6px); }
.aud-media { height: clamp(240px, 22vw, 320px); overflow: hidden; }
.aud-media img { width: 100%; height: 100%; object-fit: cover; }
.aud-card:hover .aud-media img { transform: scale(1.06) !important; transition-duration: 1.4s; }
.aud-body { padding: clamp(28px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.aud-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--sand); color: var(--muted); transition: background .4s, color .4s, transform .4s var(--ease); }
.chips li:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Serve ---------- */
.serve-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--navy-line);
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg); overflow: hidden;
}
.serve-photo { position: relative; min-height: 320px; overflow: hidden; }
.serve-photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 72% 55%; }
.serve-card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--navy-2); padding: 40px 32px 44px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  transition: background .5s;
}
.serve-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(242,138,46,.18), transparent 60%);
}
.serve-card:hover::before { opacity: 1; }
.serve-card:hover { background: #1B1F52; }
.serve-card .ico { color: #fff; transition: transform .7s var(--ease); }
.serve-card .ico .acc { stroke: var(--orange-2); }
.serve-card:hover .ico { transform: translateY(-6px); }
.serve-card b { font-weight: 700; font-size: 19px; margin-top: 22px; line-height: 1.3; }
.serve-card span { color: var(--on-dark); font-size: 15px; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { background: var(--cream); overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.cta-media { position: relative; height: clamp(440px, 40vw, 580px); }
.cta-img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-img-a { left: 0; top: 0; width: 78%; height: 80%; }
.cta-img-b { right: 0; bottom: 0; width: 52%; height: 56%; border: 8px solid var(--cream); border-radius: calc(var(--radius-lg) + 8px); }
.cta-badge { position: absolute; left: 56%; top: 6%; width: 120px; height: 120px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; z-index: 2; box-shadow: 0 20px 40px -18px rgba(232,101,10,.7); }
.cta-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.cta-badge text { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; fill: #fff; }
.cta-badge span { font-size: 24px; transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-copy { display: flex; flex-direction: column; gap: 22px; }
.cta-copy > p { color: var(--muted); }
.cta-copy > p.strong { color: var(--navy); font-weight: 600; }
.cta-copy .btn-row { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer-wrap { background: var(--cream); padding: 0 clamp(12px, 1.6vw, 24px) clamp(12px, 1.6vw, 24px); }
.footer {
  --gx: 50%; --gy: 0%;
  position: relative; overflow: hidden; isolation: isolate; background: var(--navy-3); color: #fff;
  border-radius: clamp(20px, 2.4vw, 32px); padding: clamp(64px, 7vw, 104px) clamp(24px, 4vw, 64px) 28px;
  display: flex; flex-direction: column; gap: clamp(56px, 6vw, 88px);
}
.footer-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--gx) var(--gy), rgba(232,101,10,.16), transparent 60%); transition: background .2s; }
.footer-rings { position: absolute; left: 50%; top: 0; z-index: -1; pointer-events: none; }
.footer-rings span { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1px solid #1E2256; transform: translate(-50%, -50%); }
.footer-rings span:nth-child(1) { width: 560px; height: 560px; }
.footer-rings span:nth-child(2) { width: 860px; height: 860px; border-style: dashed; border-color: #1B1F4E; animation: spin 90s linear infinite; }
.footer-rings span:nth-child(3) { width: 1160px; height: 1160px; }
.footer-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.footer-kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.footer-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 58px); line-height: 1.08; letter-spacing: -.015em; max-width: 960px; text-wrap: balance; }
.footer-cta .btn-row { margin-top: 8px; }
.footer-sub { color: var(--on-dark); font-size: 18px; max-width: 560px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; font-size: 15px; padding-top: 48px; border-top: 1px solid #262A5A; }
.footer-cols b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 14px; }
.footer-about span { color: var(--on-dark); max-width: 340px; display: block; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col a { color: var(--on-dark); position: relative; transition: color .3s, transform .4s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .4s var(--ease); }
.footer-col a:hover::before { transform: scale(1); }
.footer-word {
  font-family: var(--serif); font-size: clamp(120px, 24vw, 360px); line-height: .8; letter-spacing: -.04em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px #262A5A; margin: 0 0 -.1em; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid #262A5A; font-size: 13px; color: #8E91B8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-legal a { padding: 7px 14px; border-radius: 999px; background: #1B1F52; color: var(--on-dark); transition: background .3s, color .3s; }
.footer-legal a:hover { background: #fff; color: var(--navy); }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A3F85; color: #fff; font-size: 16px; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.to-top:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-4px); }

/* ---------- Header additions ---------- */
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: #CFCBC2; --fill: var(--navy); }
.btn-outline:hover { box-shadow: 0 14px 30px -12px rgba(18,20,58,.35); }
.nav-assess { margin-left: -12px; }
.nav-link.is-current { color: var(--navy); }
.nav-trigger.is-current::after { transform: scaleX(1); transform-origin: left; }
.mega-col a.is-current { color: var(--orange); }
.mobile-menu nav a.is-current { color: var(--peach); }
.mobile-menu .mm-sub { display: flex; flex-direction: column; gap: 4px; margin: 2px 0 10px 4px; }
.mobile-menu .mm-sub a { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.mobile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light-sm { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }

/* ---------- Page transitions ---------- */
html.is-entering::after {
  content: ""; position: fixed; inset: 0; z-index: 400; background: var(--navy); pointer-events: none;
  animation: curtain-up .85s .12s var(--ease-in-out) forwards;
}
@keyframes curtain-up { to { transform: translateY(-100%); } }
.curtain-out {
  position: fixed; inset: 0; z-index: 400; background: var(--navy); color: #fff;
  display: grid; place-items: center; transform: translateY(100%); transition: transform .6s var(--ease-in-out);
}
.curtain-out.is-on { transform: translateY(0); }
.curtain-out span { font-family: var(--serif); font-size: 44px; letter-spacing: -.02em; opacity: 0; transition: opacity .3s .3s; }
.curtain-out.is-on span { opacity: 1; }
.curtain-out i { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--orange); margin-left: .06em; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) 0 clamp(64px, 7vw, 104px);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-bg::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,10,.22), transparent 62%);
}
.page-hero-bg span { position: absolute; left: -180px; bottom: -420px; width: 760px; height: 760px; border-radius: 50%; border: 1px solid #1E2256; }
.page-hero-bg span + span { width: 1060px; height: 1060px; left: -330px; bottom: -570px; border-style: dashed; animation: spin 120s linear infinite; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--on-dark); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }
.crumbs i { font-style: normal; opacity: .45; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.03; letter-spacing: -.025em; }
.page-title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.page-title .line > span { display: inline-block; }
.page-title em { font-style: normal; color: var(--peach); }
.page-lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: #D9DAEC; max-width: 560px; }
.page-hero .hero-actions { margin-top: 12px; }
.page-hero-media { position: relative; will-change: transform; }
.page-hero-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; max-height: 560px; width: 100%; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,14,40,.45)); }
.js .page-hero-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s .15s var(--ease-in-out); }
.js .page-hero-img img { transform: scale(1.25); transition: transform 2s .15s var(--ease), scale 1.4s var(--ease), translate .9s var(--ease); }
.is-loaded .page-hero-img { clip-path: inset(0 0 0 0); }
.is-loaded .page-hero-img img { transform: scale(1); }
.page-hero-media:hover .page-hero-img img { scale: 1.04; }
.hero-float {
  position: absolute; left: -28px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--navy); padding: 16px 20px; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45);
  animation: bob 6s ease-in-out infinite;
}
.hero-float b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--orange); }
.hero-float span { font-size: 13.5px; line-height: 1.35; font-weight: 600; max-width: 160px; }
.js .hero-float { opacity: 0; translate: 0 20px; transition: opacity .8s 1s, translate 1s 1s var(--ease); }
.is-loaded .hero-float { opacity: 1; translate: 0 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Generic blocks ---------- */
.bg-white { background: #fff; }
.bg-sand { background: var(--sand); }
.intro-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.intro-split > div:first-child { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: clamp(17px, 1.25vw, 19px); color: var(--muted); line-height: 1.7; }
.prose .first { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.4; color: var(--navy); }
.callout {
  position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: var(--radius);
  background: var(--sand); color: var(--navy); font-size: 17px; line-height: 1.6; border-left: 3px solid var(--orange);
}
.callout .ico { flex: none; color: var(--navy); margin-top: 2px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span {
  font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy);
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.tag-row span:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.dark .tag-row span { background: rgba(255,255,255,.06); border-color: var(--navy-line); color: #fff; }
.dark .tag-row span:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Flagship (GFI) ---------- */
.flagship { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.flagship-copy { display: flex; flex-direction: column; gap: 22px; }
.flagship-copy .h2 { color: #fff; }
.flagship-copy > p { color: var(--on-dark); font-size: 18px; line-height: 1.7; }
.flagship-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--peach); margin-top: 8px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(232,101,10,.14); color: var(--peach); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232,101,10,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232,101,10,0); } }
.feature-stack { display: flex; flex-direction: column; gap: 14px; }
.feature {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 26px 26px 28px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid var(--navy-line);
  transition: border-color .5s, transform .6s var(--ease);
}
.feature::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(242,138,46,.16), transparent 60%); }
.feature:hover { border-color: rgba(242,138,46,.45); transform: translateX(6px); }
.feature:hover::before { opacity: 1; }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; }
.feature-ico .ico .acc { stroke: var(--orange-2); }
.feature b { display: block; font-size: 18px; margin-bottom: 6px; }
.feature span { color: var(--on-dark); font-size: 15.5px; line-height: 1.6; }

/* ---------- Product list ---------- */
.products { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.products-head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.products-head p { color: var(--muted); }
.products-note { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.products-note::before { content: "✦"; color: var(--orange); }
.product-list { border-top: 1px solid var(--line-2); counter-reset: p; }
.product {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 8px 24px; padding: 34px 0 36px; border-bottom: 1px solid var(--line-2);
}
.product::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.product:hover::before { transform: scaleX(1); }
.product-n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--line-2); transition: color .5s, transform .6s var(--ease); }
.product:hover .product-n { color: var(--orange); transform: translateY(-4px); }
.product-body { display: flex; flex-direction: column; gap: 10px; }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; transition: transform .6s var(--ease); }
.product:hover h3 { transform: translateX(6px); }
.product .tagline { font-weight: 700; font-size: 16px; color: var(--rust); }
.product p { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 640px; }
.product .tag-row { margin-top: 6px; }

/* ---------- Related / solution cards ---------- */
.related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.related-head > div { display: flex; flex-direction: column; gap: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.link-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: box-shadow .7s var(--ease), border-color .5s, transform .7s var(--ease); will-change: transform;
}
.link-card:hover { box-shadow: 0 40px 70px -40px rgba(18,20,58,.45); border-color: transparent; }
.link-card-media { height: 230px; overflow: hidden; }
.link-card-media img { width: 100%; height: 100%; object-fit: cover; }
.link-card:hover .link-card-media img { transform: scale(1.07) !important; transition-duration: 1.3s; }
.link-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.link-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.link-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.link-card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.link-card .go i { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 14px; transition: transform .6s var(--ease), background .4s; }
.link-card:hover .go i { transform: rotate(-45deg); background: var(--orange); }

/* ---------- Solutions page rows ---------- */
.sol-rows { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px); }
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sol-row:nth-child(even) .sol-row-media { order: 2; }
.sol-row-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.sol-row-media img { width: 100%; height: 100%; object-fit: cover; }
.sol-row-media:hover img { transform: scale(1.06) !important; transition-duration: 1.4s; }
.sol-row-media .num { position: absolute; left: 20px; top: 20px; z-index: 2; font-family: var(--serif); font-size: 26px; line-height: 1; color: #fff; padding: 12px 16px; border-radius: 12px; background: rgba(18,20,58,.72); backdrop-filter: blur(8px); }
.sol-row-copy { display: flex; flex-direction: column; gap: 20px; }
.sol-row-copy p { color: var(--muted); font-size: 17.5px; line-height: 1.7; }
.sol-row-copy .tag-row { margin-top: 2px; }
.sol-row-copy .link-arrow { align-self: flex-start; margin-top: 8px; }

/* ---------- Tabs ---------- */
.tabs-bar { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 44px; }
.tabs-bar button { position: relative; z-index: 1; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .4s; }
.tabs-bar button[aria-selected="true"] { color: #fff; }
.tabs-ink { position: absolute; left: 0; top: 6px; bottom: 6px; border-radius: 999px; background: var(--navy); transition: transform .6s var(--ease), width .6s var(--ease); }
.tab-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tab-panel[hidden] { display: none; }
.tab-panel > li {
  display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  font-size: 16.5px; line-height: 1.65; color: var(--navy);
  animation: tab-in .7s var(--ease) both;
}
.tab-panel > li:nth-child(2) { animation-delay: .08s; }
.tab-panel > li:nth-child(3) { animation-delay: .16s; }
.tab-panel > li b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--orange); }
@keyframes tab-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Statement ---------- */
.statement { text-align: center; }
.statement .eyebrow { justify-content: center; }
.statement blockquote { margin: 26px auto 0; max-width: 1040px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.statement blockquote em { font-style: normal; color: var(--peach); }
.statement p { margin: 28px auto 0; max-width: 720px; color: var(--on-dark); font-size: 18px; }
.statement .tag-row { justify-content: center; margin-top: 30px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 6.4vw, 96px); line-height: 1; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--rust); }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s var(--ease); }
.stat.is-in::after { transform: scaleX(.18); }

/* ---------- Discipline grid ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.disc {
  --mx: 50%; --my: 50%;
  position: relative; background: #fff; padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 22px; min-height: 180px; overflow: hidden;
}
.disc::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(232,101,10,.1), transparent 60%); }
.disc:hover::before { opacity: 1; }
.disc .ico { color: var(--navy); transition: transform .6s var(--ease); }
.disc:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.disc b { margin-top: auto; font-size: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-side > p { color: var(--muted); font-size: 18px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.contact-card {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.contact-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(18,20,58,.4); }
.contact-card .cc-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; color: var(--navy); }
.contact-card small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--rust); }
.contact-card strong { font-size: 17px; font-weight: 600; }
.contact-card > i { font-style: normal; font-size: 18px; transition: transform .5s var(--ease); }
.contact-card:hover > i { transform: translate(3px, -3px); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 48px); box-shadow: 0 40px 80px -60px rgba(18,20,58,.45); }
.form-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; display: flex; flex-direction: column; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 16px 10px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted-2); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s, top .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(18,20,58,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; color: var(--rust); font-weight: 600; }
.field-error { font-size: 13px; color: #B3261E; min-height: 0; margin-top: 6px; }
.field-error:empty { display: none; }
.has-error input, .has-error textarea { border-color: #B3261E; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 12px; padding: 0; }
legend small { font-weight: 400; color: var(--muted-2); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--navy); cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #B9B4AA; flex: none;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice span:hover { border-color: var(--navy); transform: translateY(-2px); }
.choice input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice input:checked + span::before { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 3px var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.has-error .choice span { border-color: #E3A39E; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.form-foot small { color: var(--muted-2); font-size: 13px; max-width: 340px; }
.form-status { font-weight: 600; color: #1C6B3A; }
.form-status:empty { display: none; }
button.btn { cursor: pointer; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.nf-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nf-code { font-family: var(--serif); font-size: clamp(120px, 22vw, 260px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--navy); position: relative; }
.nf-code i { font-style: normal; color: var(--orange); -webkit-text-stroke: 0; }
.nf p { color: var(--muted); max-width: 460px; }

/* ---------- Footer contact column ---------- */
.footer-col a.mail { color: #fff; font-weight: 600; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Page responsive ---------- */
@media (max-width: 1024px) {
  .page-hero-grid, .intro-split, .flagship, .products, .contact-grid, .sol-row { grid-template-columns: 1fr; }
  .intro-split > div:first-child, .products-head, .contact-side { position: static; }
  .sol-row:nth-child(even) .sol-row-media { order: 0; }
  .page-hero-img { aspect-ratio: 16 / 10; }
  .hero-float { left: 16px; bottom: 16px; }
  .card-grid { grid-template-columns: 1fr 1fr; }

  .disc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .card-grid, .card-grid.two, .tab-panel, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .product { grid-template-columns: 1fr; padding: 28px 0 30px; }
  .product-n { font-size: 34px; }
  .related-head { flex-direction: column; align-items: flex-start; }
  .tabs-bar { border-radius: 18px; }
  .tabs-bar button { padding: 10px 16px; font-size: 14px; }
  .contact-card { grid-template-columns: 44px 1fr auto; padding: 16px; }
  .contact-card .cc-ico { width: 44px; height: 44px; }
  .contact-card strong { font-size: 15px; word-break: break-all; }
  .hero-float { display: none; }
}
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .nav { gap: 20px; }
  .nav-sep, .nav-assess { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { max-width: 720px; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-photo { grid-column: span 2; min-height: 280px; }
  .steps { gap: 8px; }
  .step button { padding: 16px 14px; min-height: 148px; }
  .step .ico { width: 36px; height: 36px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .nav-cta, .nav-assess { display: none; }
  .burger { display: block; }
  .mega { display: none !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-feature { min-height: 480px; }
  .pillars { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0; }
  .pillar { padding: 28px 24px 28px 0 !important; border-right: 0; border-top: 1px solid var(--line); }
  .pillar:nth-child(odd) { padding-right: 28px !important; border-right: 1px solid var(--line); }
  .pillar:nth-child(even) { padding-left: 28px !important; }
  .pillar::before { right: 0 !important; }
  .bento { grid-template-columns: 1fr 1fr; }
  .sol-lead { grid-column: span 2; grid-row: auto; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-stage { position: relative; top: 0; height: clamp(320px, 56vw, 480px); }
  .framework-head { grid-template-columns: 1fr; align-items: start; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-media { order: 2; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: span 2; }
}

/* Framework unpins on small screens: horizontal scroll strip */
@media (max-width: 900px), (max-height: 460px) {
  .framework { height: auto; padding: var(--section-y) 0; }
  .framework-pin { position: relative; height: auto; overflow: visible; }
  .framework-head { margin-bottom: 36px; }
  .framework-track { display: none; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding: 14px 2px 18px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .framework-hint { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero { min-height: 600px; }
  .hero-shade { background: linear-gradient(180deg, rgba(12,14,40,.35) 0%, rgba(12,14,40,.2) 35%, rgba(12,14,40,.85) 100%); }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; }
  .hero-kicker::before { display: none; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .about-feature-foot { flex-direction: column; align-items: flex-start; }
  .about-feature-foot > span { text-align: left; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 24px 0 !important; border-right: 0 !important; }
  .bento { grid-template-columns: 1fr; }
  .sol-lead, .sol-wide { grid-column: auto; }
  .sol-wide { grid-template-columns: 1fr; }
  .sol-wide .sol-media { height: 190px; }
  .why-cards { grid-template-columns: 1fr; }
  .why-card { display: grid; grid-template-columns: 120px 1fr; }
  .why-card-top { height: auto; min-height: 150px; }
  .eco-head { grid-template-columns: 52px 32px 1fr 22px; padding: 20px 0; }
  .eco-body p { margin-left: 0; }
  .framework-detail { grid-template-columns: 1fr; gap: 10px; }
  .aud-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .serve-photo { grid-column: auto; }
  .serve-card { padding: 32px 26px 34px; }
  .cta-badge { width: 96px; height: 96px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { position: absolute; right: 24px; bottom: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.is-entering::after, .curtain-out { display: none !important; }
  .js [data-reveal], .js [data-split] .wi, .js .img-reveal, .js .img-reveal img, .js :is(.hero-title, .page-title) .line > span, .js [data-hero-in], .js .page-hero-img, .js .page-hero-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .ico.draw > * { stroke-dashoffset: 0 !important; }
  .framework { height: auto; padding: var(--section-y) 0; }
  .framework-pin { position: relative; height: auto; }
}

/* Contact form states */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status.is-error { color: #B3261E; }
#contact-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* =========================================================
   Version 2 additions: Social Analytic Platform
   ========================================================= */
.brand img { height: 44px; width: auto; }

/* Mega menu: intro + focus areas */
.mega-v2 { grid-template-columns: 1fr 1.5fr; }
.mega-kicker { font-weight: 700; font-size: 15px; color: var(--navy); }
.mega-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; align-content: start; }
.mega-label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 6px; }
.mega-area { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; transition: background .35s, transform .45s var(--ease); }
.mega-area .ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--sand); color: var(--navy); flex: none; transition: background .35s, color .35s, transform .5s var(--ease); }
.mega-area b { display: block; font-size: 15.5px; }
.mega-area small { display: block; font-size: 13px; color: var(--muted-2); }
.mega-area:hover { background: #F4F1EB; transform: translateX(4px); }
.mega-area:hover .ico { background: var(--navy); color: #fff; transform: rotate(-6deg); }
.mega-area.is-current b { color: var(--orange); }

/* What is SAP: modules list in the navy card */
.approach-lead { font-family: var(--serif); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; }
.approach .eyebrow { font-size: 11.5px; letter-spacing: .14em; }
.module-list { display: flex; flex-direction: column; }
.module-list a {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: start; padding: 14px 0;
  border-top: 1px solid var(--navy-line); transition: padding .5s var(--ease);
}
.module-list li:last-child a { border-bottom: 1px solid var(--navy-line); }
.module-list .ico { color: #fff; margin-top: 2px; }
.module-list .ico .acc { stroke: var(--orange-2); }
.module-list b { display: block; font-size: 16px; font-weight: 600; }
.module-list small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--on-dark); margin-top: 2px; }
.module-list i { font-style: normal; color: var(--peach); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); align-self: center; }
.module-list a:hover { padding-left: 8px; }
.module-list a:hover i { opacity: 1; transform: none; }
.insight-head { margin-top: clamp(56px, 6vw, 88px); display: flex; flex-direction: column; gap: 14px; }
.insight-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.insight-head + .pillars { margin-top: 28px; }

/* Five focus areas bento */
.bento-five { grid-template-columns: 1.3fr 1fr 1fr; }
.bento-five .sol-lead { grid-row: span 2; }
.bento-five .sol:not(.sol-lead) p { color: var(--on-dark); font-size: 15px; line-height: 1.55; }
.bento-five .sol:not(.sol-lead) .sol-media { height: 170px; }
.bento-five .sol-lead .sol-media { height: clamp(320px, 30vw, 440px); }

/* Five solution cards: 3 on top, 2 below */
.card-grid.five { grid-template-columns: repeat(6, 1fr); }
.card-grid.five > * { grid-column: span 2; }
.card-grid.five > :nth-child(4), .card-grid.five > :nth-child(5) { grid-column: span 3; }

/* Focus-area pages */
.hero-float-ico { gap: 12px; }
.hf-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.hf-ico .ico .acc { stroke: var(--orange-2); }
.hero-float-ico span:last-child { font-size: 15px; max-width: none; }
.module-badge { width: 76px; height: 76px; border-radius: 20px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 6px; box-shadow: 0 20px 40px -20px rgba(18,20,58,.6); }
.module-badge .ico { width: 38px; height: 38px; }
.module-badge .ico .acc { stroke: var(--orange-2); }
.module-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module-point {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 40px; padding: 24px 22px 26px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s, background .4s;
}
.module-point::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(232,101,10,.12), transparent 60%); }
.module-point span { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--orange); }
.module-point b { font-size: 18px; line-height: 1.3; }
.module-point:hover { transform: translateY(-6px); border-color: var(--navy); background: #fff; }
.module-point:hover::before { opacity: 1; }

.area-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.area-tile::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(232,101,10,.1), transparent 60%); }
.area-tile .at-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--sand); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; transition: background .4s, color .4s, transform .6s var(--ease); }
.area-tile b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.area-tile > span:last-child { font-size: 14.5px; font-weight: 600; color: var(--rust); }
.area-tile i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.area-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -32px rgba(18,20,58,.45); border-color: transparent; }
.area-tile:hover::before { opacity: 1; }
.area-tile:hover .at-ico { background: var(--navy); color: #fff; transform: rotate(-6deg); }
.area-tile:hover i { transform: translateX(5px); }

.get-started {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end;
  padding: clamp(36px, 4vw, 64px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.get-started::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(232,101,10,.14), transparent 65%); pointer-events: none; }
.get-started > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.get-started-copy { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.get-started-copy p { color: var(--muted); font-size: 18px; }

@media (max-width: 1024px) {
  .mega-v2 { grid-template-columns: 1fr; }
  .bento-five { grid-template-columns: 1fr 1fr; }
  .bento-five .sol-lead { grid-column: span 2; grid-row: auto; }
  .card-grid.five { grid-template-columns: 1fr 1fr; }
  .card-grid.five > *, .card-grid.five > :nth-child(4), .card-grid.five > :nth-child(5) { grid-column: auto; }
  .area-tiles { grid-template-columns: 1fr 1fr; }
  .get-started { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 720px) {
  .brand img { height: 38px; }
  .bento-five { grid-template-columns: 1fr; }
  .bento-five .sol-lead { grid-column: auto; }
  .card-grid.five, .area-tiles, .module-points { grid-template-columns: 1fr; }
  .module-point { gap: 18px; }
}

/* =========================================================
   Homepage matched to the version 2 design
   ========================================================= */

/* Hero: 680px tall, text vertically centred, stronger left shade */
.hero { height: 680px; min-height: 0; max-height: none; align-items: center; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(12,14,40,.9) 0%, rgba(12,14,40,.6) 45%, rgba(12,14,40,.1) 75%),
    linear-gradient(180deg, rgba(12,14,40,.3) 0%, rgba(12,14,40,0) 30%);
}
.hero-content { padding-top: var(--header-h); padding-bottom: 0; }
.hero-title { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.05; max-width: 900px; }
.hero .scroll-cue { bottom: 48px; }

/* Why: sand background, narrow heading column + four cards */
.why { background: #F1EDE5; }
.why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 56px; align-items: start; }
.why-cards { gap: 14px; }
.why-card { border-color: #E3DFD6; }
.why-card-top { height: 170px; }
.why-num { color: #8E91B8; }
.why-card-body { padding: 22px 20px 26px; gap: 10px; }
.why-card-body b { font-size: 17px; }
.why-card-body span:last-child { font-size: 14.5px; }

/* Journey: navy, seven cards that each show their description */
.journey { background: var(--navy); color: #fff; }
.journey-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.journey-head .h2 { color: #fff; }
.journey-steps { gap: 8px; }
.journey .step { display: flex; flex-direction: column; gap: 12px; }
.step-bar { display: block; height: 3px; background: var(--navy-line); border-radius: 3px; overflow: hidden; }
.step-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.journey .step button {
  min-height: 0; flex: 1; justify-content: flex-start; gap: 12px; padding: 20px 14px 24px;
  background: var(--navy-2); color: #fff; border: 1px solid var(--navy-line); border-radius: 6px;
}
.journey .step .ico { width: 36px; height: 36px; color: #fff; }
.journey .step .ico .acc { stroke: var(--orange-2); }
.journey .step-n { color: #8E91B8; }
.journey .step-label { font-family: var(--sans); font-weight: 700; font-size: 19px; margin-top: 6px; }
.step-desc { font-size: 13.5px; line-height: 1.55; color: var(--on-dark); }
.journey .step button:hover { border-color: rgba(242,138,46,.6); transform: translateY(-4px); }
.journey .step.is-done button { border-color: rgba(232,101,10,.35); }
.journey .step.is-active button {
  background: #1E2256; border-color: var(--orange); transform: translateY(-8px);
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(232,101,10,.25);
}
.journey .step.is-active .step-n { color: var(--peach); }
.journey .framework-hint { color: #8E91B8; }

/* Our Solutions: five cards in one row */
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.card-grid.five > *, .card-grid.five > :nth-child(4), .card-grid.five > :nth-child(5) { grid-column: auto; }
.card-grid.five .link-card { border-radius: 10px; }
.card-grid.five .link-card-media { height: 170px; }
.card-grid.five .link-card-body { padding: 22px 20px 24px; }
.card-grid.five .link-card .eyebrow { font-size: 11px; }
.card-grid.five .link-card h3 { font-size: 21px; }
.card-grid.five .link-card p { font-size: 14px; }

@media (max-width: 1200px) {
  .why-grid { grid-template-columns: 1fr; }
  .card-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .card-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px), (max-height: 460px) {
  .journey .steps { grid-auto-columns: minmax(220px, 1fr); }
  .journey .step.is-active button { transform: none; }
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: 600px; padding: 120px 0 72px; }
  .hero-content { padding-top: 0; }
  .card-grid.five { grid-template-columns: 1fr; }
}

/* Hero supporting paragraph */
.hero-lead { margin-top: 26px; max-width: 620px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #E4E5F0; }
.hero-lead + .hero-actions { margin-top: 32px; }
.js .hero-lead[data-hero-in] { transition-delay: .35s; }

/* Focus-area pages: "How You Can Apply ..." list */
.apply-block { margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.apply-title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; color: var(--navy); }
.apply-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.apply-list li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.35;
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .5s var(--ease);
}
.apply-list li .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #F6E7DA; stroke-width: 2.2; transition: background .4s; }
.apply-list li:hover { transform: translateX(4px); border-color: var(--navy); background: #fff; box-shadow: 0 16px 30px -24px rgba(18,20,58,.45); }
.apply-list li:hover .ico { background: var(--orange); }
.apply-list li:hover .ico .acc { stroke: #fff; }
@media (max-width: 720px) { .apply-list { grid-template-columns: 1fr; } }
