/* Atomic Revenue — corporate editorial theme
   Brand: navy #1b4c65 · blue #217cbb · orange #f36c27 · graphite #4d4d4f
   Principles: light surfaces, hairline structure, restrained radius, flat colour, quiet motion. */

:root {
  --navy: #133a4d;
  --navy-deep: #0d2a39;
  --brand-navy: #1b4c65;
  --blue: #217cbb;
  --blue-tint: #eaf3fa;
  --orange: #f36c27;
  --orange-dark: #d85a18;
  --ink: #0f1f2a;
  --text: #43515b;
  --muted: #6e7b85;
  --bg: #ffffff;
  --paper: #f6f8fa;
  --line: #dfe5ea;
  --line-strong: #c8d2da;
  --line-dark: rgba(255, 255, 255, 0.14);
  --r: 6px;
  --r-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --util-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 600; color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.022em; }
h1 { font-size: clamp(34px, 4.2vw, 54px); }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: clamp(19px, 1.5vw, 21px); letter-spacing: -0.012em; line-height: 1.3; }
h4 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.35; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--soft { background: var(--paper); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, 0.74); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }

/* Section label: orange bar + uppercase text */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-navy); margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--orange); line-height: 1.3;
}
.eyebrow--light, .section--dark .eyebrow { color: #a9cbe3; }
.lead { font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.75; color: var(--text); max-width: 62ch; }
.section--dark .lead { color: rgba(255, 255, 255, 0.74); }
.hl { color: var(--orange); }
.hl-blue { color: var(--blue); border-bottom: 1px solid currentColor; }
.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 4.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: 28px; border-top: 1px solid var(--line); }
.section--dark .section-head--split { border-color: var(--line-dark); }
.section-head--split .lead { margin: 0; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--r);
  font: 600 15px/1.2 var(--font); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 15.5px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-deep); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--blue);
  padding-bottom: 2px; border-bottom: 1px solid rgba(33, 124, 187, 0.35); width: fit-content; transition: color 0.25s, border-color 0.25s;
}
.link-arrow::after { content: "›"; font-size: 1.2em; line-height: 1; }
a:hover > .link-arrow, a:hover .post__body .link-arrow, .link-arrow:hover { color: var(--orange); border-color: var(--orange); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Page fade transition ---------- */
.js body { opacity: 0; }
.js.is-loaded body { opacity: 1; transition: opacity 0.45s ease; }
.js.is-leaving body { opacity: 0; transition: opacity 0.3s ease; }
.js:not(.is-loaded):not(.is-leaving) body { animation: page-in 0.4s ease 1.6s forwards; } /* safety net */
@keyframes page-in { to { opacity: 1; } }

/* ---------- Header ---------- */
.util { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); font-size: 13px; height: var(--util-h); }
.util__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.util a:hover { color: #fff; }
.util__promo { margin-left: auto; color: #fff; font-weight: 600; }
.util__promo b { color: var(--orange); font-weight: 700; margin-right: 6px; }
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(15, 31, 42, 0.5); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.logo img { height: 40px; width: auto; }
.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; align-items: stretch; gap: 6px; height: 100%; }
.nav__item { position: relative; display: flex; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  position: relative; transition: color 0.2s;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__link:hover, .nav__item--drop:hover > .nav__link { color: var(--blue); }
.nav__link[aria-current="page"]::after, .nav__item--drop:hover > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dropdown {
  position: absolute; top: 100%; left: 0; width: 360px; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-top: 2px solid var(--orange); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 24px 50px -24px rgba(15, 31, 42, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.dropdown--sm { width: 220px; }
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); transition: background-color 0.2s; }
.dropdown a:hover { background: var(--paper); }
.dropdown strong { display: block; font-size: 14px; font-weight: 600; }
.dropdown small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.dropdown__icon { flex: none; width: 38px; height: 38px; border-radius: var(--r); background: var(--paper); display: grid; place-items: center; }
.dropdown__icon img { width: 24px; height: auto; }
.dropdown__icon--accent { background: #fdeee5; }
.dropdown__icon svg { width: 18px; height: 18px; fill: var(--orange); }
.header__cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 90; background: #fff; padding: 12px 24px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; border-top: 1px solid var(--line);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__inner { display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.mobile-menu__inner > a:not(.btn) { font-weight: 600; font-size: 18px; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__sub { display: flex; flex-direction: column; padding: 6px 0 10px 14px; border-bottom: 1px solid var(--line); }
.mobile-menu__sub a { font-size: 15px; color: var(--muted); padding: 6px 0; }
.mobile-menu a[aria-current="page"] { color: var(--orange); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 6vw, 80px); background: #fff; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 .hl { display: block; }
.hero__sub { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; color: var(--brand-navy); letter-spacing: -0.01em; margin-bottom: 18px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 26px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: var(--r); }
.hero__badge b { background: var(--navy); color: #fff; font-size: 11px; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; }
.hero__badge:hover { border-color: var(--line-strong); }
.hero__media { position: relative; padding: 0 0 22px 22px; }
.hero__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; background: var(--blue-tint); border-radius: var(--r-lg); }
.hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 5.2; background: var(--navy); }
.hero__frame img { width: 100%; height: 115%; object-fit: cover; object-position: 22% 50%; }
.hero__note { position: absolute; right: 18px; bottom: 44px; background: #fff; border-radius: var(--r); padding: 14px 18px; border-left: 3px solid var(--orange); box-shadow: 0 18px 40px -20px rgba(15, 31, 42, 0.45); max-width: 230px; }
.hero__note strong { display: block; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.hero__note span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

/* Proof bar: metrics separated by hairlines */
.proof { background: var(--paper); border-block: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 30px 28px; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { display: block; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; color: var(--brand-navy); line-height: 1.1; }
.proof__item span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 4px; }

/* ---------- Client name strip (straight marquee) ---------- */
.logos { padding: 30px 0; border-bottom: 1px solid var(--line); background: #fff; }
.logos .container { display: flex; align-items: center; gap: 36px; }
.logos__label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.logos__viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.logos__track:hover { animation-play-state: paused; }
.wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: #8995a0; white-space: nowrap; padding-right: 56px; transition: color 0.25s; }
.wordmark:hover { color: var(--ink); }
.wordmark i { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 32px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.card:hover { border-color: var(--line-strong); box-shadow: 0 16px 36px -26px rgba(15, 31, 42, 0.4); }
.card:hover::before { transform: scaleX(1); }
.section--dark .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.section--dark .card:hover { box-shadow: none; background: rgba(255, 255, 255, 0.07); }
.card p { font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 54px; height: 54px; border-radius: var(--r); background: var(--paper); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon img { width: 34px; height: 34px; object-fit: contain; }
.card__icon--lg { width: 64px; height: 64px; }
.card__icon--lg img { width: 44px; height: 44px; }
.card__num { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange); text-transform: uppercase; margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; }

/* Service table: three columns sharing borders */
.grid--3.svc { gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc-card { display: flex; flex-direction: column; }
.grid--3.svc .svc-card { border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.grid--3.svc .svc-card:first-child { border-left: 0; }
.grid--3.svc .svc-card::before { border-radius: 0; }
.svc-card__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.svc-card h3 { font-size: 22px; margin: 6px 0 10px; }
.svc-card .checks { margin: 20px 0 24px; }
.svc-card__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.svc-card__foot p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.svc-card--featured { background: var(--paper); }
.pill { position: absolute; top: 24px; right: 24px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 4px; text-transform: uppercase; }

.checks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217cbb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--dark .checks li { color: rgba(255, 255, 255, 0.88); }
.section--dark .checks li::before { filter: brightness(1.6); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 4px; background: var(--paper); font-size: 13.5px; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.split__media img { width: 100%; height: auto; }
.split__media--cover { aspect-ratio: 4 / 3.2; }
.split__media--cover img { height: 112%; object-fit: cover; }
.split__media--contain { padding: clamp(26px, 4vw, 48px); display: grid; place-items: center; border: 1px solid var(--line); }
.split__media--contain img { max-height: 400px; width: auto; }
.split__body h2 { margin-bottom: 18px; }
.split__body h3.sub { font-weight: 600; color: var(--blue); font-size: 17px; letter-spacing: 0; margin-bottom: 16px; }

/* ---------- Stats (hairline row) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.section--dark .stats, .section--dark .stat { border-color: var(--line-dark); }
.stat__num { font-weight: 600; font-size: clamp(42px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em; color: var(--brand-navy); display: flex; align-items: baseline; gap: 2px; }
.section--dark .stat__num { color: #fff; }
.stat__num small { font-size: 0.5em; color: var(--orange); font-weight: 600; }
.stat h4 { margin: 16px 0 6px; font-size: 16px; }
.stat__icon { width: 44px; height: 44px; object-fit: contain; margin-bottom: 18px; }
.stat p { font-size: 14.5px; margin: 0; color: var(--muted); }
.section--dark .stat p { color: rgba(255, 255, 255, 0.6); }

/* ---------- Feature band ---------- */
.band { border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; background: var(--navy); color: rgba(255, 255, 255, 0.76); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--orange); }
.band h2 { color: #fff; }
.band__media { display: grid; place-items: center; }
.band__media img { width: min(280px, 100%); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pstep { position: relative; padding: 36px 32px 8px; border-left: 1px solid var(--line); }
.pstep:first-child { border-left: 0; padding-left: 0; }
.pstep__img { height: 96px; display: flex; align-items: center; margin-bottom: 18px; }
.pstep__img img { max-height: 96px; width: auto; }
.pstep__n { position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--orange); font-size: 0; }
.pstep:not(:first-child) .pstep__n { left: 32px; }
.pstep h4 { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.pstep h3 { margin-bottom: 10px; }
.pstep p { font-size: 15px; }

/* ---------- Testimonials (single editorial slider) ---------- */
.quotes__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; display: grid; grid-template-columns: 1fr; gap: 26px; padding-right: 4px; }
.quote__mark { display: none; }
.quote p { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; max-width: 34em; margin: 0; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; flex: none; }
.quote footer strong { display: block; font-size: 15.5px; }
.quote footer span { display: block; font-size: 13.5px; color: var(--muted); }
.quotes__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.quotes__count { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.quotes__count b { color: var(--ink); }
.quotes__nav { display: flex; gap: 8px; }
.quotes__nav button { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.quotes__nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.quotes__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.quote--feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(30px, 4.5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; }
.quote--feature p { font-size: clamp(18px, 1.7vw, 23px); margin-bottom: 24px; }
.quote--feature .quote__logo { width: 120px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }

/* ---------- Posts ---------- */
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: border-color 0.25s, box-shadow 0.25s; }
.post:hover { border-color: var(--line-strong); box-shadow: 0 16px 36px -26px rgba(15, 31, 42, 0.4); }
.post__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post:hover .post__media img { transform: scale(1.03); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.post h3 { font-size: 18px; margin-bottom: 10px; }
.post p { font-size: 14.5px; color: var(--muted); }
.post .link-arrow { margin-top: auto; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 6vw, 84px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -0.028em; margin-bottom: 18px; }
.page-hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 3.8; background: #fff; border: 1px solid var(--line); }
.page-hero__media img { width: 100%; height: 112%; object-fit: cover; }
.page-hero__media--contain { display: grid; place-items: center; padding: 34px; }
.page-hero__media--contain img { height: auto; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.page-hero__media--navy { background: var(--navy); border-color: var(--navy); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb span { color: var(--ink); font-weight: 500; }

/* ---------- Team ---------- */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.collage img { width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: 50% 20%; border-radius: var(--r); background: #fff; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.member__photo { aspect-ratio: 1 / 1.08; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); margin-bottom: 14px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(0.15); transition: filter 0.4s; }
.member:hover .member__photo img { filter: none; }
.member h3 { font-size: 17px; margin-bottom: 2px; }
.member p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.team-group + .team-group { margin-top: clamp(56px, 6vw, 80px); }
.team-group__head { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 30px; gap: 20px; }
.team-group__head h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 0; }
.team-group__head span { font-size: 14px; color: var(--muted); }

/* ---------- Video ---------- */
.video { position: relative; overflow: hidden; display: block; background: var(--navy); aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.video:hover img { opacity: 0.88; }
.video__play { position: absolute; left: 20px; bottom: 20px; height: 46px; padding: 0 18px 0 14px; border-radius: var(--r); background: #fff; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.video__play::after { content: "Play video"; }
.video__play svg { width: 16px; height: 16px; fill: var(--orange); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard { display: block; }
.vcard .video { aspect-ratio: 400 / 284; }
.vcard .video__play { left: 12px; bottom: 12px; height: 36px; padding: 0 10px; }
.vcard .video__play::after { content: none; }
.vcard h3 { font-size: 17px; margin: 14px 0 4px; transition: color 0.2s; }
.vcard span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.vcard:hover h3 { color: var(--blue); }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.feature:nth-child(even) { padding: 32px 0 32px 32px; border-left: 1px solid var(--line); }
.section--dark .features, .section--dark .feature { border-color: var(--line-dark); }
.feature__n { font-size: 14px; font-weight: 700; color: var(--orange); padding-top: 3px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; margin: 0; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: 36px; }
.chip { padding: 26px 24px 4px; border-left: 1px solid var(--line-dark); }
.chip:first-child { border-left: 0; padding-left: 0; }
.chip h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #fff; margin-bottom: 6px; }
.chip p { font-size: 14.5px; margin: 0; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.calc > * { min-width: 0; }
.calc__in { padding: clamp(28px, 4vw, 48px); background: var(--navy); color: rgba(255, 255, 255, 0.72); }
.calc__in h3 { color: #fff; }
.calc__in label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #a9cbe3; margin: 24px 0 10px; }
.calc__in input { width: 100%; min-width: 0; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font); padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.06); color: #fff; }
.calc__in input:focus { outline: none; border-color: var(--orange); }
.calc__in small { display: block; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.calc__out { padding: clamp(28px, 4vw, 48px); }
.calc__row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc__row b { font-weight: 600; font-size: 19px; color: var(--ink); }
.calc__row--hl b { color: var(--orange); font-size: 24px; }
.calc__out .btn { margin-top: 26px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps .card h3::before { counter-increment: s; content: "Step " counter(s); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }

/* ---------- Contact / forms ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact__info .card { margin-bottom: 14px; padding: 22px 24px; }
.contact__info h3 { font-size: 16px; margin-bottom: 6px; }
.contact__info p { margin: 0; font-size: 15px; }
.contact__info a { color: var(--blue); font-weight: 500; }
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: 400 15px/1.4 var(--font); padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 124, 187, 0.15); }
.form__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

.dl__cover { border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.job { display: block; }
.job__img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--paper); margin-bottom: 14px; }
.job__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.job h3 { font-size: 17px; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: #217cbb url("/assets/images/molecule-bg.png") right center / cover no-repeat; color: rgba(255, 255, 255, 0.85); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(44px, 5vw, 64px) 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 2.6vw, 36px); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: var(--paper); color: var(--text); border-top: 4px solid var(--orange); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(48px, 5vw, 72px) 0; }
.footer__logo img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 34ch; }
.footer__badge { display: inline-flex; margin-top: 8px; }
.footer__badge img { height: 54px; width: auto; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__col h4 { color: var(--ink); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.footer__col a { width: fit-content; transition: color 0.2s; }
.footer__col a:hover { color: var(--blue); }
.footer__col span { line-height: 1.55; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line-strong); display: grid; place-items: center; background: #fff; transition: background-color 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--navy); border-color: var(--navy); }
.socials svg { width: 15px; height: 15px; fill: var(--ink); transition: fill 0.2s; }
.socials a:hover svg { fill: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Motion (quiet) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Image wipe: starts fully clipped — JS observes the parent, not this element. */
.js [data-img-reveal] { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); transition-delay: var(--d, 0s); }
.js [data-img-reveal].is-in { clip-path: inset(0 0 0 0); }
.js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: 0.06s; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: 0.12s; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: 0.18s; }
.js [data-stagger].is-in > *:nth-child(n+5) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .util__hide { display: none; }
}
@media (max-width: 960px) {
  .hero__inner, .page-hero__inner, .split, .band, .contact, .calc, .section-head--split { grid-template-columns: 1fr; }
  .section-head--split { gap: 16px; }
  .split--rev .split__media { order: 0; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3.svc { grid-template-columns: 1fr; }
  .grid--3.svc .svc-card { border-left: 0; border-top: 1px solid var(--line); }
  .grid--3.svc .svc-card:first-child { border-top: 0; }
  .process { grid-template-columns: 1fr; }
  .pstep, .pstep:first-child { border-left: 0; padding: 30px 0 8px; border-bottom: 1px solid var(--line); }
  .pstep:not(:first-child) .pstep__n { left: 0; }
  .proof__grid, .chips { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item { border-top: 1px solid var(--line); }
  .proof__item:nth-child(-n+2) { border-top: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 28px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .stats--4 { grid-template-columns: 1fr 1fr; }
  .stats--4 .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .stats--4 .stat:nth-child(-n+2) { border-top: 0; }
  .section--dark .stat { border-color: var(--line-dark); }
  .chip:nth-child(3) { border-left: 0; padding-left: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 26px 0; border-left: 0; }
  .hero__media { max-width: 560px; width: 100%; }
  .quote--feature { grid-template-columns: 1fr; }
  .logos .container { flex-direction: column; align-items: stretch; gap: 16px; }
  .logos__label { text-align: center; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .util { display: none; }
  .container, .container--narrow { width: calc(100% - 36px); }
  .logo img { height: 34px; }
  .grid--2, .grid--3, .grid--4, .steps, .chips, .form__row { grid-template-columns: 1fr; }
  .chip, .chip:first-child, .chip:nth-child(3) { border-left: 0; padding: 22px 0 4px; }
  .team { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .footer__inner { grid-template-columns: 1fr; }
  .stat__num { font-size: 40px; }
  .stats--4 .stat:nth-child(even) { padding-left: 16px; }
  .proof__item { padding: 22px 16px; }
  .proof__item:nth-child(odd) { padding-left: 0; }
  .hero__media { padding: 0 0 14px 14px; }
  .hero__note { right: 12px; bottom: 30px; padding: 10px 14px; }
  .hero__note strong { font-size: 18px; }
  .btn--lg { padding: 15px 22px; }
  .actions .btn { width: 100%; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .quotes__bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js body { opacity: 1; }
  .js [data-reveal], .js [data-img-reveal], .js [data-stagger] > * { opacity: 1; transform: none; clip-path: none; }
}
