/* =========================================================
   TransferClear — site styles
   Visual language follows the approved homepage designs:
   navy + gold, bold serif headlines, tinted product cards.
   ========================================================= */
:root {
  --navy: #081736;
  --navy-2: #0c1f4a;
  --navy-3: #12295c;
  --ink: #0b1631;
  --gold: #f2c063;
  --gold-hi: #ffd88a;
  --gold-text: #e3a948;
  --tan: #b98a4e;
  --blue: #1c4fd0;
  --link: #1c46b8;
  --paper: #f7f9fc;
  --mist: #eef3fb;
  --slate: #5b6478;
  --slate-2: #4d5568;
  --rule: rgba(11, 22, 49, .1);
  --rule-dark: rgba(255, 255, 255, .16);
  --text-dark: rgba(255, 255, 255, .84);

  --serif: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif; /* headline face, matches transferclear.com */
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(18px, 6.2vw, 128px);
  --max: 1420px;
  --section: clamp(60px, 6.4vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --node: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { margin-bottom: 14px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--tan); }
.dark .eyebrow { color: var(--gold); }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; }
.h1 { font-size: clamp(2.1rem, 3.9vw, 3.55rem); line-height: 1.06; }
.h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; }
.h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.1; }
.h1 em, .h2 em, .h3 em { font-style: normal; color: var(--gold-text); }
.dark .h1 em, .dark .h2 em { color: var(--gold); }
.lede { font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.45; color: var(--slate); max-width: 38em; }
.dark .lede { color: var(--text-dark); }
.rule { width: 52px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 24px; }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 34px; border-radius: 7px; border: 0; cursor: pointer; background: transparent; color: inherit;
  font: 600 .95rem/1 var(--sans); white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); box-shadow: 0 10px 28px -10px rgba(242, 192, 99, .7); }
.btn--line { color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); min-width: 182px; }
.btn--line:hover { background: rgba(242, 192, 99, .12); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(11, 22, 49, .5); }
.btn--ink:hover { background: var(--navy-3); }
.btn--sm { height: 46px; padding: 0 26px; }
.login-link { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px; font-weight: 600; font-size: .95rem; color: #fff; transition: color .2s; }
.login-link:hover { color: var(--gold-hi); }
.login-link .ic { width: 18px; height: 18px; }
.drawer__actions { display: grid; gap: 12px; }
.drawer__actions .btn { width: 100%; }

.link-more {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 8px;
  font-weight: 600; font-size: .95rem; color: var(--link);
}
.link-more::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, #e9a24a 0 34%, #c8d3ea 34%);
}
.link-more::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1;
  background: var(--link); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.link-more:hover::before { transform: scaleX(1); }
.link-more .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform .3s var(--ease); }
.link-more:hover .ic { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: transform .45s var(--ease), background-color .35s, box-shadow .35s; }
.site-header.is-solid { background: rgba(8, 23, 54, .9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule-dark); }
.site-header__in { display: flex; align-items: center; gap: 24px; height: 88px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font: 400 1.65rem/1 var(--sans); letter-spacing: -.035em; }
.brand b { font-weight: 700; }
.brand img { width: auto; height: 38px; }

.nav { display: flex; gap: 8px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__link { position: relative; display: flex; align-items: center; height: 46px; padding: 0 16px; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .92); }
.nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__item:focus-within > .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.drop {
  position: absolute; left: 0; top: 100%; min-width: 270px; padding: 10px; margin-top: 6px;
  background: #fff; color: var(--ink); border-radius: 14px;
  box-shadow: 0 28px 60px -20px rgba(8, 23, 54, .45), 0 0 0 1px rgba(11, 22, 49, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.drop::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; transition: background-color .15s; }
.drop a:hover { background: var(--mist); }
.drop strong { font-weight: 600; font-size: .97rem; }
.drop span { font-size: .85rem; color: var(--slate); }

.header-actions { display: flex; align-items: center; gap: 24px; }
.icon-btn { display: grid; place-items: center; width: 50px; height: 46px; background: none; border: 0; border-radius: 6px; color: inherit; cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.header-actions .search-btn { border-right: 1px solid var(--rule-dark); border-radius: 0; }
.menu-btn { display: none; }

.drawer {
  position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: auto 1fr auto; gap: 20px;
  background: var(--navy); color: #fff; padding: 0 var(--gutter) 28px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.drawer__links { align-self: start; display: grid; overflow-y: auto; }
.drawer__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule-dark); font: 600 1.25rem/1 var(--sans); }
.drawer__links a[aria-current="page"] { color: var(--gold); }
.drawer__links .ic { width: 20px; height: 20px; color: var(--gold); }

.search { position: fixed; inset: 0; z-index: 160; display: grid; place-items: start center; padding: 12vh var(--gutter) 0; background: rgba(4, 12, 32, .78); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.search.is-open { opacity: 1; visibility: visible; }
.search__box { width: min(620px, 100%); background: linear-gradient(160deg, #10255a, #0a1a40 60%); color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); transform: translateY(-10px); transition: transform .3s var(--ease); }
.search.is-open .search__box { transform: none; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--rule-dark); color: var(--gold); }
.search__field input { flex: 1; height: 62px; border: 0; outline: 0; font: 500 1.1rem var(--sans); color: #fff; background: none; }
.search__field input::placeholder { color: rgba(255, 255, 255, .5); }
.search__results { scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.search__field kbd { font: 600 .72rem var(--sans); padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--text-dark); }
.search__results { max-height: 50vh; overflow: auto; padding: 8px; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 10px; color: #fff; transition: background-color .15s; }
.search__results a:hover, .search__results a.is-active { background: rgba(242, 192, 99, .14); box-shadow: inset 2px 0 0 var(--gold); }
.search__results span { color: var(--text-dark); font-size: .86rem; }
.search__empty { padding: 20px 14px; color: var(--text-dark); }

/* =========================================================
   Hero
   ========================================================= */
.dark { background: var(--navy); color: #fff; }
.hero {
  position: relative; overflow: hidden; min-height: 33.34vw; padding: 100px 0 clamp(16px, 1.8vw, 30px);
  display: flex; flex-direction: column; justify-content: flex-end; background: #071330;
}
/* Photo layers: slow settle-in zoom on load, light parallax on scroll (main.js sets --py) */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); will-change: translate; }
.hero .photo { object-position: 62% 50%; animation: settle 9s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes settle { from { scale: 1.1; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 19, 48, .9) 0%, rgba(7, 19, 48, .72) 28%, rgba(7, 19, 48, 0) 52%),
    linear-gradient(0deg, rgba(7, 19, 48, .92) 0%, rgba(7, 19, 48, .55) 22%, rgba(7, 19, 48, 0) 42%),
    linear-gradient(180deg, rgba(7, 19, 48, .6) 0, rgba(7, 19, 48, 0) 140px);
}
.hero__body, .hero__trust { position: relative; z-index: 2; }
.hero { z-index: 2; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .75); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(242, 192, 99, 0) 0%, rgba(242, 192, 99, .9) 30%, #ffe2a6 50%, rgba(242, 192, 99, .9) 70%, rgba(242, 192, 99, 0) 100%);
  box-shadow: 0 0 18px 2px rgba(242, 192, 99, .45); }
.hero + .section.dark { background: linear-gradient(180deg, #102658 0%, #0b1d45 45%, var(--navy) 100%); }
.hero__body > * { animation: rise .9s var(--ease) both; }
.hero__body > :nth-child(2) { animation-delay: .08s; }
.hero__body > :nth-child(3) { animation-delay: .18s; }
.hero__body > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero .h1 { max-width: 12em; font-size: clamp(1.95rem, 3.05vw, 3.2rem); line-height: 1.08; }
.hero .lede { max-width: 30em; margin: clamp(12px, 1.2vw, 20px) 0 clamp(18px, 1.7vw, 28px); font-size: clamp(.95rem, 1.1vw, 1.06rem); }
.hero .btn { height: clamp(44px, 3.2vw, 50px); padding: 0 28px; }
.hero .btn--line { min-width: 0; padding: 0 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 20px; }

.trust { display: flex; flex-wrap: wrap; gap: 18px 0; margin-top: clamp(20px, 2.1vw, 34px); }
.trust li { display: flex; align-items: center; gap: 20px; padding: 0 30px; border-left: 1px solid var(--rule-dark); font-size: .9rem; line-height: 1.35; animation: rise .9s var(--ease) both; }
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust li:nth-child(1) { animation-delay: .4s; } .trust li:nth-child(2) { animation-delay: .48s; }
.trust li:nth-child(3) { animation-delay: .56s; } .trust li:nth-child(4) { animation-delay: .64s; }
.trust__icon { display: grid; place-items: center; flex: none; width: clamp(46px, 3.6vw, 56px); height: clamp(46px, 3.6vw, 56px); border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); background: rgba(7, 19, 48, .45); }
.trust__icon .ic { width: 55%; height: 55%; stroke-width: 1.5; }

.hero__arcs { position: absolute; left: 0; bottom: 0; z-index: 1; width: min(64vw, 1000px); height: clamp(34px, 3.2vw, 54px); pointer-events: none; }
.hero__arcs path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .6s var(--ease) forwards; }
.hero__arcs path:nth-of-type(2) { animation-delay: .75s; }
.hero__arcs path:nth-of-type(3) { animation-delay: .9s; }
.hero__arcs path:nth-of-type(4) { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }


/* =========================================================
   Sections & reveal
   ========================================================= */
.section { position: relative; padding: var(--section) 0; overflow: hidden; overflow: clip; } /* clip, not hidden: hidden would break the sticky journey column */
.section--light { background: #f4f7fc; }
.section--mist { background: var(--mist); }
.section--white { background: #fff; }
.section--flush-top { padding-top: 0; }
.section--snug { padding-top: clamp(26px, 2.4vw, 44px); padding-bottom: clamp(36px, 3.4vw, 56px); }
.section::before { /* soft light sweeps, as in the designs */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(214, 224, 245, .5), transparent 70%), radial-gradient(40% 50% at 0% 60%, rgba(228, 233, 245, .55), transparent 70%);
}
.section--plain::before { display: none; }
.dark.section::before { background: radial-gradient(45% 60% at 100% 0%, rgba(44, 86, 190, .26), transparent 70%), radial-gradient(35% 50% at 0% 100%, rgba(44, 86, 190, .14), transparent 70%); }
.section.dark + .section.dark { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.section > .wrap { position: relative; }

.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 28px; }
.head > div { max-width: 52rem; }
.head .lede { margin-top: 10px; }
.head .link-more { margin-top: 26px; }
.head + .head, .cards + .head { margin-top: clamp(30px, 2.8vw, 46px); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Cards (services / products / solutions) — tinted, per the designs
   ========================================================= */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; gap: 26px; min-width: 0; padding: 22px 78px 26px 24px;
  border-radius: 16px; background: var(--tint); border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(25, 40, 80, .06), 0 1px 2px rgba(25, 40, 80, .05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px -12px rgba(25, 40, 80, .2); }
.card__icon { display: grid; place-items: center; flex: none; width: 88px; height: 88px; border-radius: 14px; background: var(--tile); color: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.card__icon { --node: currentColor; }
.card__icon .ic { width: 46px; height: 46px; stroke-width: 2; }
.card h3 { margin: 6px 0 8px; font: 600 1.18rem/1.2 var(--sans); letter-spacing: -.01em; }
.card p { font-size: .95rem; line-height: 1.5; color: var(--slate-2); max-width: 22em; }
.card__sub { color: var(--slate) !important; }
.card__go {
  position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--go); color: var(--ink); transition: transform .3s var(--ease);
}
.card__go .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.card:hover .card__go { transform: translateX(4px); }

.card--mini { align-items: center; gap: 16px; padding: 16px 60px 16px 16px; }
.card--mini .card__icon { width: 62px; height: 62px; }
.card--mini .card__sub { font-size: .86rem; }
.card--mini > div { min-width: 0; }
.card--mini h3 { font-size: 1.1rem; }
.card--mini .card__icon .ic { width: 34px; height: 34px; }
.card--mini h3 { margin: 0 0 6px; }
.card--mini p { white-space: nowrap; }
.card--mini .card__go { top: 50%; bottom: auto; right: 14px; margin-top: -19px; width: 38px; height: 38px; }

.card--stack { flex-direction: column; gap: 18px; padding: 22px 24px 70px 28px; }
.card--stack .card__top { display: flex; align-items: center; gap: 22px; }
.card--stack .card__icon { width: 70px; height: 68px; }
.card--stack .card__icon .ic { width: 36px; height: 36px; }
.card--stack h3 { margin: 0 0 4px; }

/* Photo cards: the illustration replaces the icon tile */
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; margin: -10px -12px 4px; border-radius: 12px; background: var(--navy-2); }
.card--stack .card__media { margin: -8px -10px 0 -14px; }
.card__media img, .card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.card:hover .card__media img, .card:hover .card__thumb img { scale: 1.06; }
.card--photo { flex-direction: column; gap: 14px; padding: 22px 24px 26px; }
.card--photo .card__media { margin: -10px -12px 4px; }
.card--photo p { max-width: none; padding-right: 54px; }
.card__thumb { display: block; flex: none; width: 78px; height: 62px; overflow: hidden; border-radius: 12px; background: var(--navy-2); }
.product-name .card__thumb { width: 104px; height: 64px; }
.media--photo { background: var(--navy-2); }
.media__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.06; transition: scale 2.4s var(--ease); }
.media--photo.is-in .media__bg { scale: 1; }
.media--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 23, 54, .75) 0%, rgba(8, 23, 54, 0) 60%); }
.media--photo .ui { position: relative; z-index: 2; }

.card--blue   { --tint: linear-gradient(135deg, #e8effd, #f4f7ff); --tile: linear-gradient(140deg, #d8e5fe, #a9c4f8); --accent: #1d55d0; --go: #c9dbfb; }
.card--green  { --tint: linear-gradient(135deg, #e7f6ef, #f3fbf7); --tile: linear-gradient(140deg, #cff2e2, #98dfbf); --accent: #0d8a61; --go: #bdeed6; }
.card--purple { --tint: linear-gradient(135deg, #eeecfc, #f7f6ff); --tile: linear-gradient(140deg, #e2dcfd, #bcb0f5); --accent: #5440d0; --go: #dcd6fb; }
.card--orange { --tint: linear-gradient(135deg, #fdf2df, #fffaf1); --tile: linear-gradient(140deg, #fde3ab, #f3bd5e); --accent: #a8640a; --go: #fbe1b0; }

/* =========================================================
   Services: light ribbons drifting behind the cards
   ========================================================= */
.services-sec { background: linear-gradient(180deg, #ffffff 0%, #eaf0fb 100%); }
.services-sec.dark { background: var(--navy); }
.dark .ribbons { opacity: .1; }
.services-sec::before { display: none; }
.ribbons { position: absolute; z-index: 0; left: -8%; top: 0; width: min(80%, 1250px); height: 100%; pointer-events: none; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, 2%, 0); } }

/* =========================================================
   Journey (added section, scroll-driven)
   ========================================================= */
.journey__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.journey__sticky { position: sticky; top: 112px; align-self: start; }
.journey__sticky .lede { margin-top: 18px; }
.journey__stage {
  position: relative; overflow: hidden; margin-top: 30px; width: 100%; max-width: 560px;
  height: clamp(220px, calc(100vh - 440px), 400px); border-radius: 18px; background: var(--navy-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.journey__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; transition: opacity .9s var(--ease), scale 2.6s var(--ease); }
.journey__stage img.is-active { opacity: 1; scale: 1; }
.journey__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 19, 48, .88) 0%, rgba(7, 19, 48, 0) 46%); }
.journey__meter { position: absolute; z-index: 1; left: 24px; bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.journey__num { font: 700 clamp(2.6rem, 3.8vw, 3.6rem)/.85 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.journey__of { color: var(--text-dark); }
.journey__steps { position: relative; padding-left: 64px; }
.journey__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--rule-dark); }
.journey__rail i { position: absolute; inset: 0; background: linear-gradient(var(--gold-hi), var(--gold)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; min-height: 34vh; padding-bottom: 40px; opacity: .38; transition: opacity .5s; }
.step:last-child { min-height: 0; padding-bottom: 0; }
.step.is-active, .step.is-done { opacity: 1; }
.step__dot { position: absolute; left: -64px; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rule-dark); background: var(--navy); color: var(--gold); transition: border-color .4s, background-color .4s, color .4s, box-shadow .4s; }
.step__dot .ic { width: 22px; height: 22px; }
.step.is-active .step__dot, .step.is-done .step__dot { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(242, 192, 99, .14); }
.step.is-active .step__dot { background: var(--gold); color: var(--ink); --node: var(--ink); }
.step__n { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: var(--gold); }
.step h3 { font: 700 clamp(1.4rem, 2vw, 1.8rem)/1.1 var(--serif); margin-bottom: 10px; }
.step p { color: var(--text-dark); max-width: 30em; }
.step__img { display: none; }

/* =========================================================
   Global network
   ========================================================= */
.network { background: linear-gradient(110deg, #f1f5fc 0%, #e9f0fb 55%, #e3ecfa 100%); }
.network__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.network .h2 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); }
.network .lede { margin: 16px 0 30px; color: var(--slate); }
.network .btn--ink { min-width: 230px; }
.network__map { position: relative; }
.network__map canvas { width: 118%; max-width: none; margin-left: -6%; height: auto; aspect-ratio: 18 / 7; }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 48px); margin: -18% 4% 0 8%; }
.stat {
  position: relative; overflow: hidden; padding: 24px 26px 26px; border-radius: 14px; color: #fff;
  background: linear-gradient(160deg, #142553, #0a1430 62%); box-shadow: 0 22px 40px -14px rgba(11, 22, 49, .45);
}
.stat::before { content: ""; position: absolute; left: -28px; top: -28px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 228, 165, .95) 0, rgba(242, 192, 99, .4) 24%, transparent 66%); animation: glow 4s ease-in-out infinite; }
.stat:nth-child(2)::before { animation-delay: -1.3s; } .stat:nth-child(3)::before { animation-delay: -2.6s; }
@keyframes glow { 50% { opacity: .55; transform: scale(.85); } }
.stat strong { position: relative; display: block; font: 600 clamp(1.9rem, 2.6vw, 2.5rem)/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { position: relative; display: block; margin-top: 10px; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.pin { position: absolute; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(242, 192, 99, .28), 0 0 22px 6px rgba(255, 210, 120, .7); pointer-events: none; }

/* =========================================================
   Why choose
   ========================================================= */
.why { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.why li { padding: 0 32px; border-left: 1px solid var(--rule); }
.why li:first-child { padding-left: 0; border-left: 0; }
.why__icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 26px; border-radius: 16px; background: linear-gradient(140deg, #edf3fe, #e1eafc); color: #1f5fe0; transition: transform .4s var(--ease); }
.why li:hover .why__icon { transform: translateY(-4px) rotate(-3deg); }
.why__icon .ic { width: 42px; height: 42px; stroke-width: 1.7; }
.why h3 { font: 600 1.18rem/1.2 var(--sans); margin-bottom: 8px; }
.why p { font-size: .98rem; color: var(--slate); max-width: 16em; }
.section__lines { position: absolute; right: -4%; top: -10%; width: 46%; height: 120%; pointer-events: none; opacity: .5; }

/* =========================================================
   Products bento: full-bleed images, copy over a dark fade
   ========================================================= */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(230px, 18vw, 300px)); gap: 20px; }
.tile-x { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; border-radius: 20px; background: var(--navy-2); color: #fff; box-shadow: 0 24px 50px -30px rgba(8, 23, 54, .6); }
.tile-x--lg { grid-row: span 2; }
.tile-x--wide { grid-column: span 2; }
.tile-x > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.tile-x::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 17, 42, .92) 0%, rgba(6, 17, 42, .45) 40%, rgba(6, 17, 42, 0) 68%); }
.tile-x::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .4s; pointer-events: none; }
.tile-x:hover > img { scale: 1.07; }
.tile-x:hover::after { box-shadow: inset 0 0 0 1.5px rgba(242, 192, 99, .75); }
.tile-x__body { padding: clamp(20px, 2vw, 30px) 84px clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px); }
.tile-x__tag { display: inline-block; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(242, 192, 99, .16); color: var(--gold-hi); font-size: .8rem; font-weight: 600; }
.tile-x h3 { font: 700 clamp(1.45rem, 1.9vw, 1.9rem)/1.05 var(--serif); }
.tile-x--lg h3 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.tile-x p { margin-top: 10px; max-width: 30em; color: rgba(255, 255, 255, .82); }
.tile-x__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform .35s var(--ease); }
.tile-x__go .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.tile-x:hover .tile-x__go { transform: rotate(-45deg); }

/* =========================================================
   Why choose: photo panel + feature list on navy
   ========================================================= */
.why-x { background: radial-gradient(60% 80% at 100% 0%, rgba(44, 86, 190, .35), transparent 70%), var(--navy); }
.why-x__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.why-x__media { position: relative; overflow: hidden; min-height: 460px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.why-x__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-x__badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: rgba(8, 23, 54, .74); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.why-x__year { font: 700 2.5rem/1 var(--serif); color: var(--gold); }
.why-x__badge strong { display: block; font-weight: 600; }
.why-x__badge div > span { display: block; margin-top: 2px; font-size: .86rem; color: var(--text-dark); }
.why-x__copy { align-self: center; }
.why-x .lede { margin-top: 14px; }
.why-x__list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--rule-dark); }
.why-x__list li { display: flex; gap: 18px; padding: 26px 22px 26px 0; border-bottom: 1px solid var(--rule-dark); }
.why-x__list li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--rule-dark); }
.why-x__list .trust__icon { width: 52px; height: 52px; transition: background-color .3s, color .3s; }
.why-x__list li:hover .trust__icon { background: var(--gold); color: var(--ink); --node: var(--ink); }
.why-x__list h3 { font: 600 1.1rem/1.25 var(--sans); margin: 4px 0 6px; }
.why-x__list p { color: var(--text-dark); font-size: .95rem; }

/* =========================================================
   Insights
   ========================================================= */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(25, 40, 80, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: 0 18px 38px -12px rgba(25, 40, 80, .2); }
.post__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--navy-2); }
.post__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.post:hover .post__art img { scale: 1.06; }
.post__body { padding: 20px 20px 24px; }
.post__meta { display: flex; gap: 14px; font-size: .85rem; color: var(--slate); }
.post__meta b { color: var(--tan); font-weight: 600; letter-spacing: .04em; }
.post h3 { margin: 10px 0 8px; font: 600 1.15rem/1.3 var(--sans); }
.post h3 a:hover { color: var(--link); }
.post p { color: var(--slate); }
.post--feature { grid-column: 1 / -1; grid-template-columns: 7fr 5fr; grid-template-rows: none; align-items: center; }
.post--feature .post__art { aspect-ratio: 16 / 9; height: 100%; }
.post--feature .post__body { padding: clamp(24px, 3vw, 48px); }
.post--feature h3 { font: 700 clamp(1.6rem, 2.4vw, 2.15rem)/1.1 var(--serif); }
.post.is-hidden { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* =========================================================
   CTA band
   ========================================================= */
.cta { position: relative; overflow: hidden; background: #0a1838; color: #fff; }
.cta .photo { object-position: 50% 58%; scale: 1.06; transition: scale 2.4s var(--ease); }
.cta.is-in .photo { scale: 1; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 24, 56, .2) 0%, rgba(10, 24, 56, .5) 34%, rgba(10, 24, 56, .62) 52%, rgba(10, 24, 56, .25) 72%, rgba(10, 24, 56, 0) 100%); }
.cta__in { position: relative; z-index: 2; min-height: clamp(300px, 21vw, 400px); display: flex; align-items: center; }
.cta__copy { margin-left: calc(44% - var(--gutter)); padding: 40px 0 38px; max-width: 40rem; }
.cta .h2 { font-size: clamp(1.75rem, 3vw, 2.9rem); }
.cta .lede { margin: 12px 0 22px; max-width: 26em; color: var(--text-dark); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__stripe { position: absolute; z-index: 2; right: 80px; top: -40px; width: 10px; height: 260px; background: linear-gradient(#b8822f, var(--gold)); transform: rotate(-28deg) scaleY(0); transform-origin: top; transition: transform 1.2s .2s var(--ease); }
.cta.is-in .cta__stripe { transform: rotate(-28deg) scaleY(1); }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; overflow: hidden; padding: 64px 0 120px; background: #07112a; color: var(--text-dark); }
.footer::before { content: ""; position: absolute; left: 15%; right: 5%; bottom: -140px; height: 260px; background: radial-gradient(ellipse at 50% 60%, rgba(242, 192, 99, .16), rgba(40, 80, 170, .16) 45%, transparent 70%); }
.footer__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, 1fr) repeat(5, auto) auto; }
.footer__in > * { padding: 0 clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--rule-dark); }
.footer__brand { padding-left: 0 !important; border-left: 0 !important; }
.footer .brand { color: #fff; }
.footer__tag { position: relative; margin-top: 30px; padding-top: 32px; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.footer__tag::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--gold); }
.footer__copy { margin-top: 48px; font-size: .92rem; white-space: nowrap; }
.footer__col { display: flex; flex-direction: column; align-self: start; }
.footer__col h4 { margin-bottom: 20px; font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.footer__col a { padding: 4px 0; font-size: .95rem; white-space: nowrap; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.social { display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding-right: 0 !important; }
.social a { color: #fff; transition: color .2s, transform .3s var(--ease); }
.social a:hover { color: var(--gold); transform: translateY(-3px); }
.social .ic { width: 28px; height: 28px; max-width: none; }
.footer__legal { position: relative; z-index: 1; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer__arcs { position: absolute; left: 0; bottom: 0; width: 100%; height: 140px; pointer-events: none; }
.footer__arcs path { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 3s var(--ease); }
.footer.is-in .footer__arcs path { stroke-dashoffset: 0; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding: 170px 0 84px; background: #071330; color: #fff; }
.page-hero .photo { object-position: 70% 50%; animation: settle 9s cubic-bezier(.2, .6, .2, 1) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 19, 48, .94) 0%, rgba(7, 19, 48, .78) 34%, rgba(7, 19, 48, .15) 66%, rgba(7, 19, 48, 0) 100%), linear-gradient(180deg, rgba(7, 19, 48, .55) 0, rgba(7, 19, 48, 0) 150px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .wrap > * { animation: rise .9s var(--ease) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > :nth-child(3) { animation-delay: .16s; }
.page-hero .h1 { max-width: 13em; }
.page-hero .lede { margin-top: 22px; max-width: 36em; color: var(--text-dark); }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }

.subnav { position: sticky; top: 88px; z-index: 90; background: rgba(8, 23, 54, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule-dark); transition: top .45s var(--ease); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 18px 14px; font-weight: 500; font-size: .95rem; color: var(--text-dark); box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .3s; }
.subnav a:hover { color: #fff; }
.subnav a.is-current { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split + .split { margin-top: var(--section); }
.split .lede { margin-top: 16px; }
.media {
  position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(70% 60% at 100% 0%, rgba(74, 134, 255, .4), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(242, 192, 99, .18), transparent 70%), var(--navy-2);
}
.media .ic-big { position: absolute; right: 32px; top: 32px; width: 120px; height: 120px; color: rgba(255, 255, 255, .14); stroke-width: 1; --node: rgba(242, 192, 99, .6); }
.product-name { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-name .card__icon { width: 64px; height: 64px; border-radius: 14px; }
.product-name .card__icon .ic { width: 34px; height: 34px; }
.product-name b { font-weight: 600; font-size: 1.05rem; }
.product-name span { display: block; color: var(--slate); font-size: .92rem; }

.checks { display: grid; gap: 12px; margin: 24px 0 30px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks .tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.checks .tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.dark .checks li { color: var(--text-dark); }

/* Mock product UI (illustrative) */
.ui { background: #fff; color: var(--ink); border-radius: 16px; padding: 20px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); font-size: .92rem; }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui__row + .ui__row { margin-top: 10px; }
.ui__label { color: var(--slate); font-size: .82rem; }
.ui__amount { font: 600 1.5rem/1.1 var(--sans); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.ui__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: .78rem; }
.ui__chip i { width: 7px; height: 7px; border-radius: 50%; background: #23a866; }
.ui__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.ui__track span { position: relative; height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.ui__track span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.is-in .ui__track span::after { animation: fill 1.1s var(--ease) forwards; }
.is-in .ui__track span:nth-child(2)::after { animation-delay: .8s; }
.is-in .ui__track span:nth-child(3)::after { animation-delay: 1.6s; }
@keyframes fill { to { transform: scaleX(1); } }
.ui__steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; font-size: .76rem; color: var(--slate); }
.ui__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.ui__list li:first-child { border-top: 0; }
.ui__cur { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ui__cur b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mist); font: 700 .68rem var(--sans); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 28px 26px 30px; border-radius: 16px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(25, 40, 80, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -14px rgba(25, 40, 80, .2); }
.tile .why__icon { width: 64px; height: 64px; margin-bottom: 22px; border-radius: 14px; }
.tile .why__icon .ic { width: 32px; height: 32px; }
.tile h3 { font: 600 1.15rem/1.25 var(--sans); margin-bottom: 8px; }
.tile p { color: var(--slate); }
.dark .tile { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .06); box-shadow: none; }
.dark .tile p { color: var(--text-dark); }
.dark .tile .why__icon { background: rgba(242, 192, 99, .12); color: var(--gold); }

.licence { display: grid; gap: 20px; padding: clamp(26px, 3vw, 38px); border-radius: 20px; color: #fff; background: radial-gradient(60% 60% at 100% 0%, rgba(242, 192, 99, .2), transparent 70%), var(--navy-2); }
.licence__no { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--serif); color: var(--gold); }
.licence dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; }
.licence dt { color: var(--text-dark); }
.licence dd { margin: 0; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: linear-gradient(90deg, var(--gold) 0 67%, var(--rule-dark) 67%); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.timeline.is-in::before { transform: none; }
.timeline li { position: relative; padding: 46px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(242, 192, 99, .2); }
.timeline li.is-planned::before { background: var(--navy); box-shadow: inset 0 0 0 2px var(--gold); }
.timeline h3 { font: 700 1.75rem/1.05 var(--serif); margin-bottom: 8px; }
.timeline .tag { color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 10px; display: block; }
.timeline p { color: var(--text-dark); max-width: 24em; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office { display: grid; gap: 12px; align-content: start; padding: 28px 26px; border-radius: 16px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(25, 40, 80, .06); }
.office h3 { font: 700 1.75rem/1.05 var(--serif); }
.office__tag { font-weight: 600; font-size: .9rem; color: var(--tan); }
.office address { font-style: normal; color: var(--slate); }
.office--planned { background: transparent; border: 2px dashed rgba(11, 22, 49, .18); box-shadow: none; }

.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.policy { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .2s, transform .3s var(--ease); }
.policy:hover { box-shadow: 0 0 0 1.5px var(--link); transform: translateX(4px); }
.policy .ic { color: var(--link); }
.policy strong { display: block; font-weight: 600; }
.policy span { font-size: .9rem; color: var(--slate); }
.policy > .ic:last-child { margin-left: auto; width: 18px; height: 18px; }

.quote { font: 700 clamp(1.55rem, 2.6vw, 2.2rem)/1.15 var(--serif); color: #fff; }
.quote em { font-style: normal; color: var(--gold); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 20px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(25, 40, 80, .06), 0 40px 80px -50px rgba(8, 23, 54, .35); }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field__error:empty { display: none; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(11, 22, 49, .16); background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(28, 79, 208, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2412d; }
.field__error { font-size: .85rem; color: #c2412d; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 10px 16px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11, 22, 49, .16); font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + label { background: var(--ink); color: #fff; box-shadow: none; }
.seg input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__foot p { font-size: .88rem; color: var(--slate); max-width: 30em; }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 10px; background: #e7f6ee; color: #14532d; }
.form__status.is-shown { display: block; }
.contact__aside { display: grid; gap: 14px; }
.contact-line { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .2s; }
a.contact-line:hover { box-shadow: 0 0 0 1.5px var(--link); }
.contact-line .why__icon { width: 52px; height: 52px; margin: 0; border-radius: 12px; }
.contact-line .why__icon .ic { width: 26px; height: 26px; }
.contact-line span { display: block; font-size: .85rem; color: var(--slate); }
.contact-line strong { font-weight: 600; font-size: 1.05rem; }

/* =========================================================
   Dark sections: component variants
   ========================================================= */
.dark .link-more { color: var(--gold-hi); }
.dark .link-more::after { background: linear-gradient(90deg, var(--gold) 0 34%, rgba(255, 255, 255, .22) 34%); }
.dark .link-more::before { background: var(--gold); }

.card--blue   { --glow: rgba(74, 134, 255, .2); }
.card--green  { --glow: rgba(35, 190, 120, .16); }
.card--purple { --glow: rgba(124, 104, 240, .22); }
.card--orange { --glow: rgba(242, 192, 99, .18); }
.dark .card { background: linear-gradient(150deg, var(--glow, rgba(255, 255, 255, .06)), rgba(255, 255, 255, .02) 65%), #0c1d45; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); }
.dark .card:hover { border-color: rgba(242, 192, 99, .45); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .8); }
.dark .card p, .dark .card__sub { color: var(--text-dark) !important; }

.dark .post { background: #0c1d45; border-color: rgba(255, 255, 255, .08); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); }
.dark .post p, .dark .post__meta { color: var(--text-dark); }
.dark .post__meta b { color: var(--gold); }
.dark .post h3 a:hover { color: var(--gold-hi); }
.dark .chip { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.dark .chip:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.dark .chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); box-shadow: none; }

.dark .office { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.dark .office address, .dark .office p { color: var(--text-dark); }
.dark .office__tag { color: var(--gold); }
.dark .office--planned { background: transparent; border: 2px dashed rgba(255, 255, 255, .18); }
.dark .policy, .dark .contact-line { background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.dark .policy:hover, .dark a.contact-line:hover { box-shadow: 0 0 0 1.5px var(--gold); }
.dark .policy span, .dark .contact-line span { color: var(--text-dark); }
.dark .policy .ic { color: var(--gold); }

.dark .why li { border-color: var(--rule-dark); }
.dark .why p { color: var(--text-dark); }
.dark .why__icon { background: rgba(242, 192, 99, .12); color: var(--gold); }
.dark .product-name span { color: var(--text-dark); }
.dark .media { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.dark .note { background: rgba(242, 192, 99, .12); color: #fff; }
.dark .section__lines { opacity: .25; }

/* Back to top */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 120;
  display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--gold); color: var(--ink); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .55), 0 0 0 4px rgba(242, 192, 99, .18);
  opacity: 0; pointer-events: none; transform: translateY(14px) scale(.9);
  transition: opacity .3s, transform .35s var(--ease), background-color .2s;
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold-hi); }
.to-top .ic { width: 22px; height: 22px; stroke-width: 2.2; transition: transform .3s var(--ease); }
.to-top:hover .ic { transform: translateY(-3px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1320px) {
  .nav__link { padding: 0 11px; }
  .nav__link::after { left: 11px; right: 11px; }
  .header-actions { gap: 12px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__in > :nth-child(3n + 2) { padding-left: 0; border-left: 0; }
  .social { justify-content: flex-start; }
}
@media (max-width: 1100px) {
  .trust li { padding: 0 20px; }
  .trust__icon { width: 52px; height: 52px; }
  .cards--3 { grid-template-columns: 1fr; }
  }
@media (max-width: 960px) {
    .network__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 280px; }
  .tile-x--lg { grid-row: auto; grid-column: span 2; }
  .why-x__grid { grid-template-columns: 1fr; }
  .why-x__media { min-height: 360px; }
  .why { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .why li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tiles--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .header-actions .search-btn { border-right: 0; }
  .hero { justify-content: flex-start; min-height: 0; padding-top: 110px; padding-bottom: 32px; }
  .hero .photo { height: 560px; object-position: 58% 50%; }
  .hero::after { background: linear-gradient(0deg, #071330 calc(100% - 560px), rgba(7, 19, 48, .55) calc(100% - 300px), rgba(7, 19, 48, .45)); }
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .trust li, .trust li:first-child { padding: 0; border: 0; }
  .journey__grid { grid-template-columns: 1fr; }
  .journey__sticky { position: static; }
  .journey__stage { display: none; }
  .step__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 16px; border-radius: 14px; }
  .step { min-height: 0; opacity: 1; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--feature { grid-template-columns: 1fr; }
  .cta .photo { object-position: 88% 30%; }
  .cta::before { background: rgba(10, 24, 56, .72); }
  .cta__copy { margin-left: 0; padding: 56px 0; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--flip .media { order: -1; }
  .tiles, .offices { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--gold) 0 67%, var(--rule-dark) 67%); transform: scaleY(0); transform-origin: top; }
  .timeline li { padding: 0 0 0 48px; }
  .head { flex-direction: column; gap: 4px; }
  .head .link-more { margin-top: 10px; }
  .page-hero::after { background: linear-gradient(90deg, rgba(7, 19, 48, .92) 0%, rgba(7, 19, 48, .7) 100%); }
  .policies { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header__in { height: 72px; }
  .login-link__txt { display: none; }
  .login-link { padding: 0 10px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 44px; }
  .brand { font-size: 1.35rem; }
  .brand img { height: 27px; }
  .subnav { top: 72px; }
  .hero { padding-top: 110px; }
  .eyebrow { font-size: .72rem; letter-spacing: .2em; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: 1fr; }
  .cards--4, .posts, .tiles, .tiles--4, .offices, .form { grid-template-columns: 1fr; }
  .card { gap: 18px; padding-right: 66px; }
  .card--stack, .card--photo { padding-right: 24px; }
  .card__icon { width: 64px; height: 64px; }
  .card__icon .ic { width: 34px; height: 34px; }
  .card--mini p { white-space: normal; }
  .ribbons { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -6% 0 0; }
  .stat { padding: 16px 14px; }
  .stat span { font-size: .85rem; }
  .network__map canvas { width: 100%; margin: 0; }
  .why { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile-x--lg, .tile-x--wide { grid-column: auto; }
  .why-x__list { grid-template-columns: 1fr; }
  .why-x__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .why-x__media { min-height: 320px; }
  .why li, .why li:nth-child(3) { padding: 0; border: 0; }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .footer__in > *, .footer__in > :nth-child(3n + 2) { padding: 0; border: 0; }
  .footer__col a { white-space: normal; }
  .footer__copy { white-space: normal; }
  .page-hero { padding-top: 130px; }
  .h2 br { display: none; }
  .section__lines { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* wide product tile: copy sits left, so fade from the left as well */
.tile-x--wide::before { background: linear-gradient(90deg, rgba(6, 17, 42, .9) 0%, rgba(6, 17, 42, .55) 40%, rgba(6, 17, 42, 0) 70%), linear-gradient(0deg, rgba(6, 17, 42, .7) 0%, rgba(6, 17, 42, 0) 50%); }
.tile-x--wide p { max-width: 24em; }
.nowrap { white-space: nowrap; }
