/* Growcrest One v2 — editorial fintech design system. See ../../DESIGN.md */
:root {
  --navy: #2A4E91; --navy-deep: #1B3466; --navy-ink: #122345; --navy-950: #0B1A3A;
  --sky: #2AA7DF; --sky-ink: #1874A5; --sky-soft: #E6F4FB; --sky-mist: #F2F9FD; /* sky-ink: sky for small text (4.5:1 on light surfaces) */
  --green: #34C659; --green-deep: #1B8B38; --green-soft: #E8F8EC;
  --amber: #FCAA23;
  --ink: #0F1B33; --ink-soft: #4B5A76; --muted: #66728A; /* darkened from #7A879E for 4.5:1 on light surfaces */
  --line: #E3E8F0; --surface: #F6F8FB; --paper: #FBFCFE; --white: #fff;
  --wash: linear-gradient(135deg, #2A4E91 0%, #2AA7DF 100%);
  --r: 24px; --r-sm: 14px; --r-xs: 10px;
  --shadow: 0 10px 30px rgba(42, 78, 145, .08); --shadow-lg: 0 30px 70px rgba(18, 35, 69, .18);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px; --gutter: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --hdr-h: 84px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg, video, picture { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; color: var(--navy-ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.03em; line-height: 1.02; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 16px; font-weight: 600; }
.display { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.035em; line-height: .98; }
h1 em, h2 em, .display em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--sky); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 58ch; }
.lead--light { color: #C9DBEF; }
.muted { color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.eyebrow--light { color: #BFE4F6; } .eyebrow--light::before { box-shadow: 0 0 0 4px rgba(52, 198, 89, .25); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; }
.section { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
.hero + .section, .section + .section, .phero + .section { border-top: 1px solid rgba(42, 78, 145, .08); }
.section--dark + .section, .section + .section--dark { border-top-color: transparent; }
/* section edge wash: a soft brand-blue shade in the top corner, alternating right / left */
.section::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(460px, 70%); z-index: 0; pointer-events: none; background: radial-gradient(55% 110% at 100% 0%, rgba(42, 167, 223, .20), rgba(42, 167, 223, 0) 70%), linear-gradient(180deg, rgba(42, 78, 145, .05), rgba(42, 78, 145, 0) 45%); }
.section:nth-of-type(even)::after { background: radial-gradient(55% 110% at 0% 0%, rgba(42, 78, 145, .16), rgba(42, 78, 145, 0) 70%), linear-gradient(180deg, rgba(42, 78, 145, .05), rgba(42, 78, 145, 0) 45%); }
.section--dark::after, .section--lift.section--dark::after { display: none; }
.section--lift::after { border-radius: 44px 44px 0 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--dark { background: var(--navy-950); color: #C9DBEF; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--surface { background: var(--surface); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
@media (min-width: 900px) {
  /* eyebrow sits above both columns' content; the right column lines up with the heading itself, not with eyebrow + heading */
  .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); row-gap: 0; }
  .sec-head:not(.sec-head--center) > div:first-child { display: contents; }
  .sec-head:not(.sec-head--center) .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
  .sec-head:not(.sec-head--center) h2 { grid-column: 1; grid-row: 2; align-self: last baseline; }
  /* intro paragraph: first line level with the heading's first line */
  .sec-head:not(.sec-head--center) > .lead { grid-column: 2; grid-row: 2; align-self: start; margin-top: var(--sec-lead-nudge, 6px); }
  /* link or button: right edge of the grid, on the baseline of the heading's last line */
  .sec-head:not(.sec-head--center) > div:last-child { grid-column: 2; grid-row: 2; align-self: last baseline; justify-self: end; }
}
.sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; grid-template-columns: 1fr; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head .lead { margin-bottom: 0; }
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Chrome: grain, progress */
.grain { display: none; opacity: .045; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 210; background: linear-gradient(90deg, var(--sky), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; background: transparent; font: 600 15.5px/1 var(--font); cursor: pointer; transition: transform .4s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; white-space: nowrap; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 17px; }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
@property --rim { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(52, 198, 89, .28); isolation: isolate; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), background .25s, box-shadow .3s; }
.btn--primary::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; padding: 2px; pointer-events: none; background: conic-gradient(from var(--rim), transparent 0 55%, var(--sky) 72%, #DFFBE7 82%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rim 4s linear infinite; }
.btn--primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .22) 50%, transparent 54%) no-repeat; background-size: 200% 100%; background-position: 200% 0; animation: sheen 6s ease-in-out infinite; }
.btn--primary:hover { background: var(--green-deep); color: #fff; box-shadow: 0 16px 34px rgba(27, 139, 56, .38); transform: translateY(-2px) scale(1.035); }
.btn--primary:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
@keyframes rim { to { --rim: 360deg; } }
@keyframes sheen { 0%, 60% { background-position: 200% 0; } 80%, 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .btn--primary::before, .btn--primary::after { animation: none; } .btn--primary::before { background: conic-gradient(var(--sky), var(--green), var(--sky)); opacity: .5; } }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--outline { border-color: rgba(42, 78, 145, .3); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--ghost { color: var(--navy-ink); padding-inline: 10px; }
.btn--ghost:hover { color: var(--sky); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.link, .link-arrow { min-height: 44px; } /* 44 px tap target on phones */
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: transform .5s var(--ease), background .3s, padding .3s; }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr.is-scrolled { background: rgba(251, 252, 254, .96); padding: 10px 0; box-shadow: 0 1px 0 rgba(18, 35, 69, .06); }
.hdr__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 38px; width: auto; }
.pillnav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(18, 35, 69, .08); box-shadow: 0 4px 16px rgba(18, 35, 69, .06); }
.pillnav a { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--navy-ink); transition: background .25s, color .25s; }
.pillnav a:hover { background: var(--sky-soft); color: var(--navy); }
.pillnav a[aria-current] { background: var(--navy-ink); color: #fff; }
.hdr__cta { display: flex; gap: 8px; align-items: center; }
.hdr__cta .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(18, 35, 69, .12); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-ink); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1023px) {
  .pillnav, .hdr__cta .btn--ghost { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) { .hdr__cta { display: none; } }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: #fff; padding: calc(var(--hdr-h) + 20px) var(--gutter) 40px; overflow: auto; }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; gap: 40px; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; font-size: clamp(34px, 9vw, 56px); font-weight: 700; letter-spacing: -.03em; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a:nth-child(2) { transition-delay: .05s } .menu__links a:nth-child(3) { transition-delay: .1s } .menu__links a:nth-child(4) { transition-delay: .15s } .menu__links a:nth-child(5) { transition-delay: .2s }
.menu__links span { font: italic 400 18px var(--serif); color: var(--sky); }
.menu__foot { display: grid; gap: 18px; color: #8FA6C8; font-size: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.menu__foot .btn { width: 100%; }
.menu__phone { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.menu__foot p { margin: 0; max-width: 32ch; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 660px; max-height: 1000px; padding: var(--hdr-h) 0 0; overflow: hidden; display: flex; flex-direction: column; }
.mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mesh { background: radial-gradient(42% 60% at 12% 0%, rgba(207, 233, 248, .9), transparent 70%), radial-gradient(38% 55% at 92% 4%, rgba(220, 235, 255, .95), transparent 70%), radial-gradient(30% 40% at 70% 100%, rgba(223, 246, 230, .8), transparent 70%); }
.mesh span { display: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; flex: 1; min-height: 0; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 32px; } }
.hero__copy { align-self: center; padding: 16px 0 40px; }
@media (min-width: 960px) and (max-height: 760px) {
  .hero { min-height: 0; }
  .hero__copy h1 { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 16px; }
  .hero__copy .lead { font-size: 17px; margin-bottom: 22px; }
  .hero__copy .eyebrow { margin-bottom: 10px; }
  .hero__proof { margin-top: 20px; }
  .hero .btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
}
.hero__copy h1 { margin-bottom: 24px; max-width: 12ch; }
.hero__copy .lead { margin-bottom: 36px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; color: var(--ink-soft); font-size: 15px; }
.avatars { display: flex; flex: none; }
.hero__proof > div { min-width: 0; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; margin-left: -12px; object-fit: cover; box-shadow: 0 2px 8px rgba(18, 35, 69, .15); }
.avatars img:first-child { margin-left: 0; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 14px; }
.hero__visual { position: relative; align-self: stretch; min-height: 0; container-type: size; }
/* the stage is the orb's box; it is sized from the column's width AND height so the orb and the woman's head never reach the header */
.hero__stage { position: absolute; left: 50%; bottom: 0; width: min(100cqw - 28px, 680px, (100cqh - 16px) / 1.2); aspect-ratio: 1; transform: translateX(-50%); }
.orb { position: absolute; inset: 0; border-radius: 50%; background: var(--wash); }
.orb::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; padding: 1.5px; background: conic-gradient(from 0deg, transparent 0 60%, var(--green) 75%, var(--sky) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 14s linear infinite; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 50%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23fff' fill-opacity='.2'/%3E%3C/svg%3E"); }
@keyframes spin { to { transform: rotate(360deg); } }
/* cut = the orb's circle for the lower half + an open rectangle above its centre, so her head rises out of the orb and her body is framed by its curve */
.hero__cut { position: absolute; left: 0; right: 0; bottom: 0; height: 120%; z-index: 2; -webkit-mask: linear-gradient(#000 0 0) top / 100% 58.34% no-repeat, radial-gradient(closest-side, #000 calc(100% - 1px), transparent) bottom / 100% 83.34% no-repeat; mask: linear-gradient(#000 0 0) top / 100% 58.34% no-repeat, radial-gradient(closest-side, #000 calc(100% - 1px), transparent) bottom / 100% 83.34% no-repeat; }
.hero__woman { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; will-change: transform; }
.hero__woman img { height: 100%; width: auto; max-width: none; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .95); border: 1px solid #fff; box-shadow: 0 20px 50px rgba(18, 35, 69, .18); font-size: 13px; font-weight: 600; color: var(--navy-ink); will-change: transform; }
.chip strong { display: block; font-size: 22px; line-height: 1; letter-spacing: -.03em; color: var(--navy); margin-bottom: 3px; }
.chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12px; }
.chip__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); flex: none; }
.chip__ic--sky { background: var(--sky-soft); color: var(--sky); }
.chip--1 { left: 0; top: 12%; } .chip--2 { right: 0; top: 38%; } .chip--3 { left: 2%; bottom: 12%; }
@media (max-width: 959px) { .hero { height: auto; min-height: 0; max-height: none; padding-top: calc(var(--hdr-h) + 16px); } .hero__copy { padding-bottom: 8px; } .hero__grid { gap: 8px; } .hero__visual { height: clamp(400px, 105vw, 560px); } .chip--3 { display: none; } .chip { padding: 10px 12px; } .chip strong { font-size: 18px; } .chip--1 { bottom: 9%; left: 0; top: auto; } .chip--2 { top: 56%; right: 0; } }

/* Ticker */
.ticker { background: var(--navy-950); color: #fff; overflow: hidden; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.ticker__track { display: flex; width: max-content; gap: 0; animation: marquee 40s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 18px; padding: 0 28px; font-size: 14.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: #DCE8F5; }
.ticker__item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ticker__item em { font: italic 400 1.2em var(--serif); color: var(--sky); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Big outlined numerals */
.bignum { font-size: clamp(90px, 14vw, 200px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(42, 78, 145, .28); white-space: nowrap; }
.section--dark .bignum { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }

/* Services grid: all eight visible, no carousel */
.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.svc-cta { display: grid; gap: 20px; align-items: center; margin-top: 24px; padding: 28px 32px; border-radius: var(--r); background: var(--sky-mist); border: 1px solid var(--line); }
@media (min-width: 760px) { .svc-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.svc-cta h3 { font-size: 22px; margin-bottom: 4px; }
.svc-cta p { margin: 0; color: var(--ink-soft); }

/* Timeline (how we work) */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-bottom: 36px; }
.timeline li::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::before { display: none; }
.timeline__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 8px 20px rgba(42, 78, 145, .25); }
.timeline h3 { font-size: 24px; margin: 10px 0 4px; }
.timeline__sub { color: var(--sky-ink); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.timeline li > div > p:last-child { color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; } .timeline__n { width: 44px; height: 44px; font-size: 17px; } .timeline li::before { left: 21px; top: 52px; } .timeline h3 { font-size: 20px; margin-top: 6px; } }

.timeline__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; padding: 20px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.timeline__cta strong { display: block; color: var(--navy-ink); }
.timeline__cta span { color: var(--ink-soft); font-size: 15px; }

/* Testimonial grid */
.tgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tgrid__more { display: none; }
@media (max-width: 759px) {
  .tgrid { gap: 14px; }
  .tgrid:not(.is-open) > :nth-child(n+4) { display: none; }
  .tgrid__more { display: inline-flex; margin-top: 20px; }
  .tgrid.is-open + .tgrid__more { display: none; }
}

/* Showcase (services) */
.showcase { position: relative; overflow: hidden; background: var(--paper); }
.showcase__head { display: grid; gap: 24px; align-items: end; padding-bottom: 32px; }
@media (min-width: 900px) { .showcase__head { grid-template-columns: minmax(0, 1fr) auto; } }
.track-wrap { position: relative; }
.track { display: flex; gap: 20px; padding: 10px 0 40px; will-change: transform; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--gutter); }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track { scroll-padding-left: var(--gutter); cursor: grab; }
.track-nav { display: flex; gap: 10px; align-items: center; }
.track-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.track-nav button:hover { background: var(--navy-ink); color: #fff; border-color: var(--navy-ink); transform: translateY(-2px); }
.track-nav button:disabled { opacity: .35; pointer-events: none; }
.track-bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.track-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--sky), var(--green)); border-radius: 3px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-height: 0; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); --mx: 50%; --my: 50%; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(42, 167, 223, .14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { opacity: 1; }
.svc-card__num { font: italic 400 20px var(--serif); color: var(--sky); }
.svc-card__icon { width: 96px; height: 96px; margin: 0 0 4px; align-self: flex-start; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__icon { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
.svc-card h3 { font-size: 19px; margin: 0; }
.svc-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; flex: 1; }
@media (max-width: 759px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 22px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .svc-card__icon { grid-row: 1 / 3; grid-column: 1; width: 56px; height: 56px; margin: 0; }
  .svc-card h3 { grid-column: 2; grid-row: 1; font-size: 16px; }
  .svc-card p { grid-column: 2; grid-row: 2; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-grid .svc-card .link { grid-column: 3; grid-row: 1 / 3; font-size: 0; color: var(--sky); justify-content: flex-end; }
  .svc-grid .svc-card .link::after { font-size: 20px; }
  .svc-card:hover { transform: none; box-shadow: none; }
}
.svc-card .link { font-size: 15px; }
.svc-card--cta { background: var(--navy-950); color: #C9DBEF; border-color: transparent; justify-content: center; }
.svc-card--cta h3 { color: #fff; font-size: 30px; }
.svc-card--cta h3 em { color: var(--sky); }
.svc-card--cta::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(52, 198, 89, .22), transparent 45%); }

/* Steps: sticky + stacking cards */
.steps-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .steps-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .steps-sticky { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.steps-sticky img { border-radius: var(--r); box-shadow: var(--shadow-lg); margin-top: 28px; }
.stack { display: grid; gap: 20px; }
.stack-card { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(18, 35, 69, .06); }
.stack-card:nth-child(2) { top: calc(var(--hdr-h) + 44px); } .stack-card:nth-child(3) { top: calc(var(--hdr-h) + 64px); } .stack-card:nth-child(4) { top: calc(var(--hdr-h) + 84px); }
.stack-card__n { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--wash); color: #fff; font-weight: 800; font-size: 20px; }
.stack-card h3 { font-size: 24px; margin-bottom: 4px; }
.stack-card__sub { color: var(--sky); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.stack-card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 959px) { .stack-card { position: static; padding: 24px; } }

/* Story */
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.story .checks { margin: 24px 0 28px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.duo { align-items: stretch; }
.duo .team-card img { aspect-ratio: 4/5; }
.duo .team-card__body { padding: 18px 20px; }
.duo .team-card__body h3 { font-size: 19px; }
.duo .team-card__role { margin: 0; font-size: 13px; }
@media (min-width: 760px) { .duo .team-card__role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.proofrow { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .proofrow { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); } }
.proofrow .tile { min-height: 190px; }
.proofrow .tile--quote { grid-column: span 3; }
@media (max-width: 899px) { .proofrow .tile { padding: 18px 14px; min-height: 150px; } .proofrow .tile--stat strong { font-size: 34px; } .proofrow .tile--stat > span { font-size: 12.5px; } }
@media (min-width: 900px) { .proofrow .tile--quote { grid-column: span 1; } }
.btn--play { gap: 12px; }
.btn--play .btn__ic { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-left: -8px; transition: background .25s, color .25s; }
.btn--lg.btn--play .btn__ic { width: 34px; height: 34px; margin-left: -10px; }
.btn--play:hover .btn__ic { background: #fff; color: var(--navy); }

/* Video lightbox */
.vmodal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 16px; background: rgba(11, 26, 58, .86); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.vmodal.is-open { opacity: 1; }
.vmodal__frame { width: min(100%, 1100px); aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .4s var(--ease); }
.vmodal.is-open .vmodal__frame { transform: none; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.vmodal__close:hover { background: #fff; color: var(--navy); }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; } }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--2x2 { grid-column: span 2; grid-row: span 2; } .tile--2x1 { grid-column: span 2; } .tile--1x2 { grid-row: span 2; }
.tile--img { padding: 0; }
.tile--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile--img picture { height: 100%; }
.tile--img:hover img { transform: scale(1.04); }
.tile__label { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; color: var(--navy-ink); }
.tile__label span { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.tile--stat strong { font-size: clamp(40px, 4.5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.tile--stat > span { color: var(--ink-soft); font-size: 14.5px; }
.tile--navy { background: rgba(255, 255, 255, .05); color: #C9DBEF; border-color: rgba(255, 255, 255, .1); }
.tile--navy strong { color: #fff; }
.tile--wash { background: var(--wash); color: #fff; border-color: transparent; }
.tile--wash strong { color: #fff; }
.tile--wash > span { color: #DCEBFF; }
.tile--quote { justify-content: center; gap: 12px; }
.tile--quote blockquote { margin: 0; font: italic 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); color: var(--navy-ink); }
.tile--quote cite { font: 600 13px var(--font); color: var(--ink-soft); font-style: normal; }
.section--dark .tile--quote { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--dark .tile--quote blockquote { color: #fff; } .section--dark .tile--quote cite { color: #8FA6C8; }
.section--dark .tile--stat > span { color: #B9C9E0; }
.tile .video { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }

/* Video facade */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--navy-ink); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1s var(--ease); }
.video:hover img { transform: scale(1.03); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .4s var(--ease); }
.video:hover .video__play span { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Marquee testimonials */
.tmarquee { overflow: hidden; display: grid; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tmarquee__row { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.tmarquee__row--rev { animation-direction: reverse; animation-duration: 80s; }
.tmarquee__row:hover { animation-play-state: paused; }
.tcard { width: auto; padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #DCE8F5; display: flex; flex-direction: column; gap: 18px; }
.tcard blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.tcard blockquote::before { content: "“"; display: block; font: italic 400 48px/0.6 var(--serif); color: var(--sky); margin-bottom: 14px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tcard__who strong { display: block; color: #fff; font-size: 15px; }
.tcard__who span { font-size: 13px; color: #8FA6C8; }

/* Blog */
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { overflow: hidden; }
.post-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font-weight: 600; font-size: 12px; }
.post-card__title { font-size: 21px; margin: 0; }
.post-card__title a { color: var(--navy-ink); }
.post-card p { color: var(--ink-soft); font-size: 15px; margin: 0; flex: 1; }
.post-hero { padding: calc(var(--hdr-h) + 48px) 0 36px; }
.post-hero .container { max-width: 860px; }
.post-hero h1 { font-size: clamp(34px, 5vw, 62px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--ink-soft); font-size: 14.5px; }
.post-cover { width: min(100% - 2 * var(--gutter), 1080px); margin: 8px auto 0; }
.post-cover img { border-radius: var(--r); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.prose { max-width: 720px; margin-inline: auto; font-size: clamp(17px, 1.1vw + 13px, 18.5px); line-height: 1.75; }
.prose h2 { font-size: 32px; margin-top: 1.8em; }
.prose h3 { font-size: 23px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li strong { color: var(--navy-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--sky); font: italic 400 1.35em/1.35 var(--serif); color: var(--navy-ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.post-end { max-width: 720px; margin: 56px auto 0; padding: 32px; background: var(--sky-mist); border-radius: var(--r); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.post-end p { margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a, .ccard a { display: inline-block; padding-block: 12px; margin-block: -12px; } /* bigger tap area, same layout */

/* Inner page hero */
.phero { position: relative; padding: calc(var(--hdr-h) + 56px) 0 clamp(48px, 6vw, 96px); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.phero__grid > * { min-width: 0; }
.phero__art img { width: 100%; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; } }
.phero h1 { max-width: 14ch; }
.phero__art { position: relative; }
.phero__art img { border-radius: var(--r); box-shadow: var(--shadow-lg); }
.phero__art--float img { box-shadow: none; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy-ink); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Services page */
.subnav { position: sticky; top: var(--hdr-offset, 0px); z-index: 60; background: rgba(251, 252, 254, .97); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink-soft); }
.subnav a:hover, .subnav a.is-active { background: var(--navy-ink); color: #fff; }
.svc-sec { display: grid; gap: 40px; align-items: center; padding: clamp(56px, 7vw, 100px) 0; scroll-margin-top: 0; border-top: 1px solid var(--line); }
.svc-sec:first-of-type { border-top: 0; }
@media (min-width: 960px) { .svc-sec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .svc-sec--flip .svc-sec__media { order: 2; } }
.svc-sec__media { position: relative; }
.svc-sec__media > picture img, .svc-sec__media > img:not(.svc-sec__icon) { border-radius: var(--r); box-shadow: var(--shadow-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.svc-sec__num { font: italic 400 22px var(--serif); color: var(--sky-ink); margin-bottom: 8px; display: block; }
.svc-sec h2 { font-size: clamp(30px, 3.4vw, 44px); }
.svc-sec__tag { color: var(--navy); font-weight: 600; margin-bottom: 12px; }
.analogy { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--green); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-soft); font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B8B38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Feature tiles */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; --mx: 50%; --my: 50%; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(42, 167, 223, .12), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.feature:hover::before { opacity: 1; }
.feature__n { font: italic 400 22px var(--serif); color: var(--sky-ink); display: block; margin-bottom: 14px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.team-card { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.team-card:hover img { transform: scale(1.03); }
.team-card__body { padding: 26px; }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__role { color: var(--sky); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.team-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 18px; color: var(--navy-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-weight: 500; transition: transform .35s var(--ease), background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy-ink); color: #fff; }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

/* Contact */
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ccard { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.ccard__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; }
.ccard h3 { font-size: 15px; margin-bottom: 4px; }
.ccard p, .ccard a { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.ccard a { color: var(--navy); font-weight: 600; }
.split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: p; }
.process li { display: flex; gap: 16px; align-items: flex-start; counter-increment: p; padding: 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.process li::before { content: counter(p, decimal-leading-zero); flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--wash); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.process strong { display: block; color: var(--navy-ink); }
.process span { color: var(--ink-soft); font-size: 15px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; align-content: start; font-size: 13.5px; font-weight: 600; color: var(--navy-ink); }
.field em { color: var(--green-deep); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-xs); font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(42, 167, 223, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D64545; }
.field__err { font-size: 13px; font-weight: 500; color: #C03535; }
.field__err:empty, .field__count:empty { display: none; }
.field__count { justify-self: end; font-size: 12.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.field__count.is-max { color: #C03535; }
.hp { display: none !important; } /* display:none, not off-screen: browsers autofill off-screen fields, which made real people look like bots */
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form__status { margin: 0; font-size: 15px; color: var(--navy); font-weight: 500; min-height: 1.4em; }
.form.is-sent .form__status { color: var(--green-deep); }
/* form buttons: full width, wrap long labels instead of overflowing narrow phones */
.form [type=submit] { width: 100%; height: auto; min-height: 52px; padding-block: 12px; white-space: normal; line-height: 1.25; text-align: center; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { cursor: progress; }
/* success panel: replaces the fields after a send */
.form.is-sent > :not(.form__done) { display: none; }
.form__done { display: grid; justify-items: center; gap: 10px; padding: 28px 8px 8px; text-align: center; scroll-margin-block: calc(var(--hdr-h) + 24px); }
.form__done-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); box-shadow: 0 0 0 10px rgba(52, 198, 89, .08); animation: done-pop .6s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes done-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.form__done h3 { margin: 8px 0 0; font-size: clamp(24px, 3vw, 30px); outline: none; }
.form__done p { margin: 0; max-width: 38ch; color: var(--ink-soft); }
.form__done-alt { font-size: 15px; }
.form__done-alt a { font-weight: 600; white-space: nowrap; }
.form__done .form__again { margin-top: 10px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 26, 58, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal__panel { position: relative; width: min(100%, 580px); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.modal__close:hover { background: var(--sky-soft); color: var(--navy); }
.modal h2 { font-size: 32px; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: clamp(96px, 12vw, 180px) 0; text-align: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(11, 26, 58, .2), rgba(11, 26, 58, .85)); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: #fff; max-width: 14ch; margin-bottom: 20px; }
.cta .lead { text-align: center; margin-bottom: 36px; }
.cta .actions { justify-content: center; }

/* Footer */
.ftr { background: var(--navy-950); color: #B9C9E0; padding: 72px 0 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.ftr__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 56px; }
@media (min-width: 960px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.ftr__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.ftr__brand p { font-size: 15px; max-width: 40ch; }
.ftr__disclaimer { color: #fff; font-weight: 600; }
.ftr h4 { color: #fff; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr li { font-size: 15px; }
.ftr a { color: #B9C9E0; } .ftr a:hover { color: #fff; }
.ftr__addr { max-width: 30ch; }
.social { display: flex !important; gap: 10px; margin-top: 18px !important; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.social a:hover { background: var(--sky); color: #fff; }
.ftr__big { font-size: clamp(34px, 11.5vw, 170px); font-weight: 800; letter-spacing: -.05em; line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); white-space: nowrap; text-align: center; margin-bottom: -.12em; user-select: none; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8FA6C8; }
.ftr__bottom p { margin: 0; }

/* 404 */
.error-page { text-align: center; padding: calc(var(--hdr-h) + 80px) 0 120px; }
.error-page .big { font-size: clamp(110px, 18vw, 220px); font-weight: 800; letter-spacing: -.06em; line-height: .9; background: var(--wash); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- Texture system (static backgrounds only, no filters) ---------- */
.section, .phero, .hero { isolation: isolate; }
.section > .container, .phero > .container, .hero > .container { position: relative; z-index: 1; }
/* dot grid */
.tex-dots::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(42, 78, 145, .16) 1.2px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%); }
.section--dark.tex-dots::before { background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.6px); }
/* contour and flow line art */
.tex-contours::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(/img/tex-contours.webp) right top / 60% auto no-repeat; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 60%), linear-gradient(#000 60%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 20%, #000 60%), linear-gradient(#000 60%, transparent); mask-composite: intersect; }
.tex-contours--left::before { background-position: left bottom; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 70%), linear-gradient(transparent 30%, #000 80%); mask-image: linear-gradient(90deg, #000 30%, transparent 70%), linear-gradient(transparent 30%, #000 80%); }
.tex-flow::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(/img/tex-flow.webp) center bottom / 110% auto no-repeat; opacity: .5; -webkit-mask-image: linear-gradient(transparent 35%, #000 100%); mask-image: linear-gradient(transparent 35%, #000 100%); }
.tex-flow--top::before { background-position: center top; transform: scaleY(-1); -webkit-mask-image: linear-gradient(transparent 35%, #000 100%); mask-image: linear-gradient(transparent 35%, #000 100%); }
/* logomark watermark */
.tex-mark::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(/img/logo-mark.png) right -6% center / auto 72% no-repeat; opacity: .05; }
.section--dark.tex-mark::before { opacity: .06; }
/* grain + glow for dark sections (painted once, no blend mode) */
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section--dark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(60% 50% at 85% 0%, rgba(42, 167, 223, .22), transparent 70%), radial-gradient(40% 40% at 10% 100%, rgba(52, 198, 89, .12), transparent 70%); }
/* lifted rounded edges */
.section--dark, .cta { border-radius: 44px 44px 0 0; }
.section--lift { position: relative; z-index: 2; margin-top: -44px; border-radius: 44px 44px 0 0; background: var(--paper); border-top: 0 !important; }
.section--lift.section--surface { background: var(--surface); }
/* gradient hairline under section heads */
.sec-head > div:first-child h2::after, .phero h1::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--green)); }
.sec-head--center > div:first-child h2::after { margin-inline: auto; }
/* numbered eyebrows */
.eyebrow b { font-weight: 600; color: var(--sky-ink); margin-right: 2px; }
.eyebrow--light b { color: var(--green); }
/* hero: dot grid behind the orb + ring motif */
.hero .mesh::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(42, 78, 145, .14) 1.2px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(45% 60% at 72% 55%, #000, transparent 100%); mask-image: radial-gradient(45% 60% at 72% 55%, #000, transparent 100%); }
.phero .mesh::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(42, 78, 145, .14) 1.2px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(40% 70% at 80% 40%, #000, transparent 100%); mask-image: radial-gradient(40% 70% at 80% 40%, #000, transparent 100%); }
/* services page: alternating tinted bands with texture */
.svc-sec:nth-of-type(even) { background: var(--surface); }
.svc-sec { position: relative; }
.svc-sec::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; background: url(/img/tex-contours.webp) left center / 50% auto no-repeat; -webkit-mask-image: linear-gradient(90deg, #000, transparent 50%); mask-image: linear-gradient(90deg, #000, transparent 50%); }
.svc-sec--flip::before { background-position: right center; -webkit-mask-image: linear-gradient(270deg, #000, transparent 50%); mask-image: linear-gradient(270deg, #000, transparent 50%); }
.svc-sec > * { position: relative; z-index: 1; }
.svc-wrap { position: relative; }
.svc-wrap > .svc-sec { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
@media (min-width: 1320px) { .svc-wrap > .svc-sec { margin-inline: calc((var(--container) - 100vw) / 2 + 8px); padding-inline: calc((100vw - var(--container)) / 2 - 8px); } }
/* step number tiles get a ring */
.timeline__n { position: relative; }
.timeline__n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(42, 167, 223, .35); }
/* ticker-style thin brand strip at the top of the footer CTA */
.cta { border-top: 3px solid transparent; background-clip: padding-box; }
.cta::after { background: radial-gradient(70% 80% at 50% 50%, rgba(11, 26, 58, .2), rgba(11, 26, 58, .85)); }

/* Reveal (GSAP drives these; without GSAP everything stays visible) */
.js.gsap [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.gsap [data-split] .line { overflow: hidden; padding: .06em .12em .16em 0; margin: -.06em -.12em -.16em 0; }
.counter { font-variant-numeric: tabular-nums; }
/* narrow phones (≤ 400 px): pill buttons wrap onto two lines instead of running past their card or the screen edge */
@media (max-width: 400px) {
  .btn, .btn--lg { height: auto; min-height: 48px; padding-block: 12px; white-space: normal; line-height: 1.2; text-align: center; max-width: 100%; }
  .btn--lg { min-height: 56px; }
}
/* narrow phones: logo steps down so logo + burger fit in 280 px; contact-card text (email address) may break mid-word */
@media (max-width: 400px) { .brand img { height: 32px; } }
.ccard > div { min-width: 0; }
.ccard a, .ccard p { overflow-wrap: anywhere; }
