/* ================= Manar Technology — shared site stylesheet =================
   Ported from index.html (EN base) as part of the shared-template conversion
   (Phase A: home page). Contains design tokens, every shared component rule,
   and — because home is currently the only page driven by this stylesheet —
   the home-page-specific section rules too (hero, problem, stats, solutions,
   before/after, usp, industries teaser, process, calculator, examples, why).

   IMPORTANT — regression guard: .problem-grid uses flexbox (not CSS grid) so
   .problem-sticky's position:sticky works reliably across browsers (notably
   Safari, where sticky inside a grid track is unreliable). body has NO
   overflow-x:hidden — that silently promotes overflow-y to auto and breaks
   position:sticky by turning body into its own scroll container. Do not
   reintroduce either of those. */

/* ================= Design tokens =================
   Navy and gold are sampled directly from the supplied logo artwork:
   brand navy #001A36, brand gold #D89A2E. */
:root {
  --navy: #0A3160;        /* mid navy — icons, fills, secondary buttons */
  --navy-deep: #001A36;   /* brand navy, straight from the logo */
  --ink: #001A36;         /* body text */
  --ink-2: #000E1F;       /* deepest surface */
  --gold: #D89A2E;        /* brand gold, straight from the logo */
  --gold-light: #F0C263;
  --gold-deep: #8A6410;   /* text-safe gold on white (5.4:1) */
  --white: #FFFFFF;
  --tint: #F4F6FB;        /* cool navy-tinted section alt */
  --line: #E3E8F2;
  --line-strong: #C9D2E4;   /* decorative separators only — 1.5:1 on white */
  --line-control: #8494B5;  /* borders that ARE the control boundary (3:1, WCAG 1.4.11) */
  --mut: #55617D;
  --success: #15803D;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Lexend', sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-swoosh: 24px 120px 24px 24px;   /* signature asymmetric mask */

  --sh-sm: 0 1px 3px rgba(0, 26, 54, 0.08);
  --sh-md: 0 8px 28px rgba(0, 26, 54, 0.10);
  --sh-lg: 0 20px 60px rgba(0, 26, 54, 0.18);

  --nav-h: 76px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Off-screen reveal transforms translate sideways before they animate in;
   clip so they can never produce a horizontal scrollbar. */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16.5px; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); }
/* Navy ring plus a white band filling the offset gap. Gold alone measured
   2.45:1 on the white header/menu/form, and 1:1 where it ringed a gold
   button; the white band also keeps the ring legible on the dark sections. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--navy-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--white);
  transition: none;   /* buttons transition box-shadow; the ring must be instant */
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: calc(var(--nav-h) + 8px); position: relative; }

/* ================= Motion primitives ================= */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.rv-l { opacity: 0; transform: translateX(-36px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.rv-r { opacity: 0; transform: translateX(36px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.rv-s { opacity: 0; transform: scale(0.94); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.in .rv, .in.rv, .in .rv-l, .in.rv-l, .in .rv-r, .in.rv-r, .in .rv-s, .in.rv-s {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv, .rv-l, .rv-r, .rv-s { opacity: 1 !important; transform: none !important; }
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  min-height: 52px; padding: 14px 30px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out),
              border-color 250ms var(--ease-out), transform 250ms var(--ease-out),
              box-shadow 250ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arr { transition: transform 250ms var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: var(--ink-2); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 30px rgba(216, 154, 46, 0.35); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); box-shadow: var(--sh-md); transform: translateY(-2px); }

/* ================= Brand lockup =================
   The supplied logo artwork, used unmodified. Its navy measures 1.07:1 against
   the dark surfaces on this page, so every placement sits on a light ground. */
.logo-lockup { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.logo-lockup img { display: block; width: auto; flex-shrink: 0; }
.brand-mark { height: 42px; transition: transform 320ms var(--ease-out); }
.brand-word { height: 26px; }
.logo-lockup:hover .brand-mark { transform: translateY(-2px); }
.logo-px { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--td, 0s); transform-origin: center; transform-box: fill-box; }
@keyframes twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (max-width: 480px) {
  .brand-mark { height: 34px; }
  .brand-word { height: 21px; }
}

/* ================= Nav ================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.nav.solid { box-shadow: 0 8px 30px rgba(0, 26, 54, 0.12); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 20px; }
.nav-inner .logo-lockup { margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px;
  color: var(--navy-deep); text-decoration: none;
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  border-radius: 999px; position: relative;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--navy-deep); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); background: #FDF8ED; }
.nav-cta { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
.nav-burger svg { stroke: var(--navy-deep); }
/* The full desktop header (logo + 4 links + CTA) needs ~1123px. Collapse to
   the burger before it runs out of room, not after. */
@media (max-width: 1140px) {
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
    /* Landscape phones leave ~360px of height; without this the last items
       sit below the fold with no way to reach them. */
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 50px; font-size: 17px; border-radius: 12px; }
  .nav-burger { display: inline-flex; }
}
/* The assessment CTA stays in the bar at every width — it is the page's one
   conversion action. Below 780px it shortens. */
.cta-short { display: none; }
@media (max-width: 780px) {
  .nav-inner { gap: 12px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-cta { padding: 10px 18px; font-size: 14.5px; }
}
/* Needs to out-specify `.logo-lockup img`, which also sets display. Below this
   width the bar can no longer hold the wordmark alongside the CTA and burger. */
@media (max-width: 370px) {
  .logo-lockup .brand-word { display: none; }
}

/* ================= Hero ================= */
.hero {
  background:
    linear-gradient(90deg, rgba(0, 20, 45, 0.96) 0%, rgba(0, 20, 45, 0.88) 42%, rgba(0, 20, 45, 0.54) 100%),
    radial-gradient(900px 500px at 84% 15%, rgba(216, 154, 46, 0.16), transparent 58%),
    radial-gradient(720px 440px at 12% 100%, rgba(44, 120, 93, 0.16), transparent 56%),
    url('/assets/home-hero.jpg') center 35% / cover no-repeat,
    var(--ink-2);
  color: #fff;
  padding: calc(var(--nav-h) + 74px) 0 0;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 14, 31, 0.78));
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.84fr);
  align-items: center; gap: 58px; padding-bottom: 96px; position: relative; z-index: 1;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
/* Most eyebrows sit on white or tint, so the text-safe gold is the default.
   Light gold is opted into only on the dark grounds (hero + .section-dark). */
.hero .eyebrow { color: var(--gold-light); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 28px; max-width: 13ch;
}
.hero h1 .accent { font-style: italic; color: var(--gold); font-weight: 700; }
/* word-by-word entrance */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(1.5deg); animation: wordUp 800ms var(--ease-out) forwards; animation-delay: var(--wd, 0ms); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(16.5px, 1.5vw, 19px); color: rgba(255,255,255,0.82); max-width: 56ch; margin: 0 0 38px; opacity: 0; animation: fadeUp 900ms var(--ease-out) 650ms forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; opacity: 0; animation: fadeUp 900ms var(--ease-out) 800ms forwards; }
.hero-trust { font-size: 15px; color: rgba(255,255,255,0.55); opacity: 0; animation: fadeUp 900ms var(--ease-out) 950ms forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-console {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px 22px 72px 22px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  overflow: hidden; opacity: 0; transform: translateY(20px) rotate(1deg);
  animation: fadeUp 900ms var(--ease-out) 760ms forwards;
}
.console-top {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700;
  color: rgba(255,255,255,0.86);
}
.console-top strong {
  color: #BFE8D2; background: rgba(21, 128, 61, 0.18);
  border: 1px solid rgba(191, 232, 210, 0.38); border-radius: 999px;
  padding: 5px 10px; font-size: 12px;
}
.console-light {
  width: 10px; height: 10px; border-radius: 50%; background: #35D07F;
  box-shadow: 0 0 0 6px rgba(53, 208, 127, 0.13);
}
.console-body { padding: 20px; display: grid; gap: 16px; }
.console-feed { display: grid; gap: 10px; }
.feed-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
  background: rgba(0, 14, 31, 0.44); padding: 14px;
  transition: background-color 280ms var(--ease-out), border-color 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.feed-item.is-active {
  background: rgba(255,255,255,0.16); border-color: rgba(216, 154, 46, 0.58);
  transform: translateX(-6px);
}
.feed-time {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--gold-light); font-variant-numeric: tabular-nums;
}
.feed-item strong { font-family: var(--font-display); font-size: 15px; color: #fff; }
.feed-item p { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.64); margin-top: 2px; }
.console-panel {
  display: grid; grid-template-columns: 0.9fr 1fr; gap: 16px; align-items: stretch;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px;
  background: rgba(255,255,255,0.09); padding: 16px;
}
.mini-chart {
  min-height: 112px; display: flex; align-items: end; gap: 7px;
  padding: 8px 4px 0; border-bottom: 1px solid rgba(255,255,255,0.18);
}
.mini-chart span {
  width: 100%; min-width: 8px; height: var(--h);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 999px 999px 2px 2px;
  transform-origin: bottom; animation: barPulse 2.8s ease-in-out infinite;
}
.mini-chart span:nth-child(even) { animation-delay: 0.55s; background: linear-gradient(180deg, #BFE8D2, #2C785D); }
@keyframes barPulse { 0%, 100% { transform: scaleY(0.82); opacity: 0.78; } 50% { transform: scaleY(1); opacity: 1; } }
.console-metrics { display: grid; gap: 8px; }
.console-metrics div {
  background: rgba(0, 14, 31, 0.38); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 10px 12px;
}
.console-metrics span { display: block; font-size: 11.5px; color: rgba(255,255,255,0.58); }
.console-metrics strong {
  display: block; margin-top: 2px; font-family: var(--font-display);
  font-size: 20px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}

/* pixel dissolve field — the logo motif, animated */
.px-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.px-field i {
  position: absolute; display: block; background: var(--gold);
  width: var(--s, 8px); height: var(--s, 8px);
  left: var(--x); top: var(--y); opacity: 0;
  animation: pxDrift var(--t, 7s) ease-in-out infinite; animation-delay: var(--pd, 0s);
  border-radius: 2px;
}
@keyframes pxDrift {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  20% { opacity: 0.85; }
  80% { opacity: 0.15; }
  100% { opacity: 0; transform: translate(70px, -110px) rotate(90deg); }
}

.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(216, 154, 46,0.05) 16px, rgba(216, 154, 46,0.05) 32px),
    linear-gradient(160deg, #0C3A70, #001A36);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
  .hero-copy { max-width: 780px; }
  .hero h1 { max-width: 14ch; }
  .hero-console { max-width: 620px; width: 100%; }
}
@media (max-width: 620px) {
  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero h1 { max-width: none; }
  .console-panel { grid-template-columns: 1fr; }
  .hero-console { border-radius: 18px 18px 46px 18px; }
  .feed-item { grid-template-columns: 46px 1fr; }
}

/* ================= Marquee ================= */
.marquee {
  background: var(--gold); color: var(--ink-2);
  overflow: hidden; padding: 16px 0; position: relative; z-index: 2;
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-seq { display: flex; align-items: center; flex-shrink: 0; }
.marquee-seq span {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; padding: 0 18px;
}
.marquee-seq .sep { width: 8px; height: 8px; flex-shrink: 0; background: var(--ink-2); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ================= Shared section furniture ================= */
.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-dark {
  position: relative;
  background-color: var(--ink-2);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cpath d='M-40,620 C300,520 480,260 860,300 S1360,160 1680,110' stroke='%23D89A2E' stroke-opacity='0.18' stroke-width='1.6' fill='none'/%3E%3Cpath d='M-40,180 C260,300 560,470 840,410 S1340,560 1680,660' stroke='%232C785D' stroke-opacity='0.14' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"),
    radial-gradient(780px 460px at 88% -14%, rgba(216, 154, 46, 0.20), transparent 60%),
    radial-gradient(640px 400px at 6% 112%, rgba(44, 120, 93, 0.18), transparent 58%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 24px 24px, cover, auto, auto;
  background-position: 0 0, center, 0 0, 0 0;
  color: #fff;
}
.sec-head { max-width: 900px; margin-bottom: 20px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { color: var(--gold-deep); margin-bottom: 18px; }
.section-dark .eyebrow { color: var(--gold-light); }
.sec-title {
  font-size: clamp(32px, 4.4vw, 56px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 20px;
}
.sec-title .accent { font-style: italic; color: var(--gold-deep); }
.section-dark .sec-title .accent { color: var(--gold); }
.sec-lede { font-size: 18px; color: var(--mut); max-width: 60ch; }
.section-dark .sec-lede { color: rgba(255,255,255,0.78); }
.sec-head.center .sec-lede { margin: 0 auto; }

/* ================= Problem ================= */
/* Flexbox rather than grid — position:sticky inside a grid track is unreliable in some browsers (notably Safari). */
.problem-grid { display: flex; gap: 64px; align-items: flex-start; }
.problem-sticky { position: sticky; top: calc(var(--nav-h) + 32px); flex: 1 1 0; min-width: 0; }
.problem-grid .task-list { flex: 1 1 0; min-width: 0; }
.problem-note {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 20px; margin: 30px 0 34px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  color: var(--navy); max-width: 44ch; line-height: 1.4;
}
.task-list { list-style: none; display: grid; gap: 14px; }
.task-list li {
  display: flex; align-items: center; gap: 16px;
  background:
    linear-gradient(90deg, rgba(216, 154, 46, 0.07), transparent 34%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 22px;
  font-size: 16.5px; box-shadow: var(--sh-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.task-list li:hover { transform: translateX(8px); border-color: var(--gold); box-shadow: var(--sh-md); }
.task-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--tint); display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) { .problem-grid { flex-direction: column; gap: 40px; } .problem-sticky { position: static; } }

/* ================= Stats band ================= */
.stats-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(244, 246, 251, 0.92), rgba(255,255,255,0.72)),
    url('/assets/hero-team.jpg') center 48% / cover;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 56px 28px; text-align: left;
  border-left: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.03em;
  color: var(--navy); font-variant-numeric: tabular-nums;
}
.stat-num .unit { font-size: 0.45em; font-weight: 700; color: var(--gold-deep); margin-left: 2px; }
.stat-label { font-size: 15.5px; color: var(--mut); margin-top: 12px; max-width: 22ch; }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 36px 20px; }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ================= Solutions ================= */
.sol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 56px; }
.sol-card {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,246,251,0.72)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--sh-sm); position: relative;
  transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out),
              border-color 350ms var(--ease-out), border-radius 450ms var(--ease-out);
  will-change: transform;
}
.sol-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--gold), #2C785D, var(--navy));
  opacity: 0; transition: opacity 260ms var(--ease-out);
}
.sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 3; }
.sol-card:hover {
  box-shadow: var(--sh-lg); border-color: var(--gold);
  border-radius: 28px 90px 28px 28px;
}
.sol-card:hover::before { opacity: 1; }
.sol-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform 350ms var(--ease-out);
}
.sol-card:hover .sol-icon { transform: rotate(-6deg) scale(1.06); }
.sol-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.sol-tagline { color: var(--mut); font-size: 16px; margin-bottom: 18px; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sol-tags li {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--navy); background: var(--tint);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.sol-card:hover .sol-tags li { border-color: var(--line-strong); }
.sol-quote {
  font-size: 15px; color: var(--mut); font-style: italic;
  border-left: 2px solid var(--gold); padding-left: 14px; margin-top: 16px;
}
@media (max-width: 980px) { .sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 3; } }
@media (max-width: 640px) { .sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 6; } }

/* ================= Before / After ================= */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.ba-col { border-radius: var(--r-lg); padding: 36px 32px; position: relative; overflow: hidden; }
.ba-before { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.12); }
.ba-after { background: rgba(216, 154, 46, 0.07); border: 1px solid rgba(216, 154, 46, 0.45); border-radius: 28px 110px 28px 28px; }
.ba-label {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
.ba-before .ba-label { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.ba-after .ba-label { background: var(--gold); color: var(--ink-2); }
.ba-steps { list-style: none; }
.ba-steps li {
  position: relative; padding: 13px 16px 13px 44px;
  font-size: 16px; border-radius: 12px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(var(--i) * 120ms);
}
.in .ba-steps li { opacity: 1; transform: none; }
.ba-steps li + li { margin-top: 24px; }
.ba-steps li + li::before {
  content: ""; position: absolute; left: 23px; top: -20px; width: 2px; height: 16px;
  transform: scaleY(0); transform-origin: top;
  transition: transform 300ms var(--ease-out); transition-delay: calc(var(--i) * 120ms + 80ms);
}
.in .ba-steps li + li::before { transform: scaleY(1); }
.ba-before .ba-steps li { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.ba-before .ba-steps li + li::before { background: rgba(255,255,255,0.3); }
.ba-after .ba-steps li { background: rgba(216, 154, 46, 0.13); color: #fff; }
.ba-after .ba-steps li + li::before { background: var(--gold); }
.ba-steps li::after {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
}
.ba-before .ba-steps li::after { background: rgba(255,255,255,0.4); }
.ba-after .ba-steps li::after { background: var(--gold); }
.ba-first { font-weight: 600; }
.ba-punch {
  text-align: center; margin-top: 56px;
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.01em;
}
.ba-punch .accent { font-style: italic; color: var(--gold); }
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; } }

/* ================= Workflow Lab ================= */
.workflow-lab {
  background:
    linear-gradient(180deg, #fff 0%, #F7F9FC 100%);
  overflow: hidden;
}
.workflow-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr); gap: 64px; align-items: center; }
.workflow-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px;
}
.workflow-tab {
  min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-control); background: #fff; color: var(--navy-deep);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.workflow-tab:hover { transform: translateY(-2px); border-color: var(--gold); }
.workflow-tab.is-active { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.workflow-stage {
  position: relative; min-height: 520px;
  border: 1px solid var(--line); border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 49, 96, 0.06), transparent 34%),
    #fff;
  box-shadow: var(--sh-lg); overflow: hidden;
}
.workflow-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10,49,96,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,49,96,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 88%);
}
.workflow-panel {
  position: absolute; inset: 0; padding: 34px;
  display: grid; align-content: start; gap: 24px;
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.workflow-panel.is-active { opacity: 1; pointer-events: auto; transform: none; }
.workflow-panel-head {
  position: relative; background: var(--ink-2); color: #fff;
  border-radius: 18px; padding: 26px; overflow: hidden;
}
.workflow-panel-head::after {
  content: ""; position: absolute; right: -44px; top: -44px; width: 160px; height: 160px;
  border: 24px solid rgba(216, 154, 46, 0.18); border-radius: 50%;
}
.workflow-panel-head span {
  display: block; color: var(--gold-light); font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 8px;
}
.workflow-panel-head h3 { position: relative; z-index: 1; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; max-width: 14ch; }
.workflow-panel-head p { position: relative; z-index: 1; color: rgba(255,255,255,0.76); margin-top: 12px; max-width: 48ch; }
.workflow-steps { list-style: none; display: grid; gap: 12px; position: relative; z-index: 1; }
.workflow-steps li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center;
  background: rgba(255,255,255,0.86); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--sh-sm);
}
.workflow-steps li span {
  width: 30px; height: 30px; border-radius: 50%;
  background: #EAF7F0; border: 1px solid #BFE8D2; position: relative;
}
.workflow-steps li span::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #2C785D;
}
.workflow-steps p { color: var(--mut); font-size: 15px; }
.workflow-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.workflow-outcomes div {
  background: #FDF8ED; border: 1px solid #EAD289;
  border-radius: 16px; padding: 16px;
}
.workflow-outcomes span {
  display: block; font-family: var(--font-display); color: #6E5205;
  font-size: 12px; font-weight: 700; margin-bottom: 4px;
}
.workflow-outcomes strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 17px; line-height: 1.25; }
@media (max-width: 980px) {
  .workflow-grid { grid-template-columns: 1fr; gap: 38px; }
  .workflow-stage { min-height: 540px; }
}
@media (max-width: 620px) {
  .workflow-panel { padding: 20px; }
  .workflow-stage { min-height: 680px; }
  .workflow-outcomes { grid-template-columns: 1fr; }
}

/* ================= USP ================= */
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.usp-point { display: flex; gap: 16px; margin-top: 26px; align-items: flex-start; }
.usp-point .tick {
  width: 30px; height: 30px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
}
.usp-point p { color: var(--mut); font-size: 15.5px; }
.usp-point strong { display: block; font-family: var(--font-display); font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.stack-diagram { display: grid; justify-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 28px 28px 110px 28px; padding: 44px 30px; box-shadow: var(--sh-md); }
.stack-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stack-chip {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  background: var(--tint); border: 1px solid var(--line-strong);
  color: var(--navy); border-radius: 999px; padding: 10px 20px;
  transition: transform 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.stack-chip:hover { transform: translateY(-4px); border-color: var(--gold); }
.stack-flow { height: 44px; width: 2px; margin: 8px 0; position: relative; overflow: hidden; background: var(--line); border-radius: 1px; }
.stack-flow::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--gold); animation: flowDown 1.6s linear infinite;
}
@keyframes flowDown { to { top: 110%; } }
.stack-layer {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  padding: 16px 30px 16px 18px; border-radius: 16px;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 34px rgba(0, 26, 54, 0.3);
  display: inline-flex; align-items: center; gap: 14px;
}
/* the brand navy needs a light ground to stay legible inside the navy block */
.stack-brand {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
}
.stack-brand img { display: block; width: 25px; height: auto; }
.stack-result {
  background: var(--gold); color: var(--ink-2);
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  padding: 14px 30px; border-radius: 999px;
}
@media (max-width: 900px) { .usp-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ================= Industries ================= */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.ind-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-sm);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--navy); }
.ind-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--navy); }
.ind-more svg { transition: transform 250ms var(--ease-out); }
.ind-card:hover .ind-more svg { transform: translateX(4px); }
.ind-visual {
  height: 74px; border-radius: 18px 60px 18px 18px; margin-bottom: 22px;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0, 26, 54,0.04) 14px, rgba(0, 26, 54,0.04) 28px),
    linear-gradient(135deg, var(--tint), #E7ECF6);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--line);
  display: flex; align-items: center; padding-left: 20px;
  transition: border-radius 400ms var(--ease-out);
}
.ind-card:hover .ind-visual { border-radius: 18px 18px 18px 60px; }
.ind-visual .ind-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--white);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm);
}
.ind-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ind-card p { font-size: 15px; color: var(--mut); }
.ind-cta { text-align: center; margin-top: 56px; }
.ind-cta p { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 20px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .ind-grid { grid-template-columns: 1fr; } }

/* ================= Process ================= */
.proc { margin-top: 64px; position: relative; }
.proc-row {
  display: grid; grid-template-columns: 130px 1fr 1.2fr; gap: 28px; align-items: baseline;
  padding: 34px 8px; border-top: 1px solid var(--line);
  transition: background-color 300ms var(--ease-out);
}
.proc-row:last-child { border-bottom: 1px solid var(--line); }
.proc-row:hover { background: var(--tint); }
.proc-num {
  font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--line-strong); letter-spacing: -0.02em;
  transition: color 400ms var(--ease-out);
}
/* --gold measures 2.26:1 on the tint behind this section; --gold-deep keeps
   the same ignite-on-scroll moment at 4.96:1. */
.proc-row.in .proc-num { color: var(--gold-deep); }
.proc-row h3 { font-size: 21px; font-weight: 700; color: var(--ink); }
.proc-row p { font-size: 16px; color: var(--mut); }
@media (max-width: 780px) {
  .proc-row { grid-template-columns: 70px 1fr; gap: 14px; }
  .proc-row p { grid-column: 2; }
  .proc-num { font-size: 32px; }
}

/* ================= Calculator ================= */
.calc-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); margin-top: 56px;
}
.calc-inputs { padding: 46px 40px; }
.calc-field { margin-bottom: 30px; }
.calc-field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 15.5px; margin-bottom: 12px; color: var(--ink);
}
.calc-field .calc-val { color: var(--gold-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--navy); height: 36px; cursor: pointer; }
.calc-hint { font-size: 13.5px; color: var(--mut); margin-top: 4px; }
.calc-result {
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(12, 58, 112, 0.95), transparent 70%),
    var(--ink-2);
  color: #fff; padding: 46px 40px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.calc-result-label {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 12px;
}
.calc-figure {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 4.4vw, 54px); letter-spacing: -0.02em;
  color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.calc-sub { color: rgba(255,255,255,0.78); font-size: 16.5px; margin-bottom: 26px; max-width: 38ch; }
.calc-disclaimer { font-size: 12.5px; color: rgba(255,255,255,0.58); margin-top: 24px; max-width: 46ch; }
@media (max-width: 860px) { .calc-wrap { grid-template-columns: 1fr; } }

/* ================= Examples ================= */
.ex-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FBF3DC; border: 1px solid #EAD289; color: #6E5205;
  font-size: 14px; font-weight: 500; border-radius: 999px;
  padding: 9px 18px; margin-top: 6px;
}
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ex-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.ex-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ex-visual {
  height: 120px; position: relative;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(0, 26, 54,0.05) 16px, rgba(0, 26, 54,0.05) 32px),
    linear-gradient(150deg, #0C3A70, var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
}
.ex-visual svg { opacity: 0.6; }
.ex-visual .ex-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); background: var(--gold); border-radius: 999px; padding: 5px 12px;
}
.ex-body { padding: 26px; }
.ex-tag {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep);
  display: block; margin-bottom: 8px;
}
.ex-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.ex-row { margin-bottom: 13px; }
.ex-row strong {
  display: block; font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px;
}
.ex-row p { font-size: 15px; color: var(--mut); }
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }

/* ================= Why ================= */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 52px; }
.why-item {
  grid-column: span 2;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--r-md); padding: 28px 26px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.why-item:nth-child(4), .why-item:nth-child(5) { grid-column: span 3; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.why-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.why-item p { font-size: 15px; color: var(--mut); }
@media (max-width: 900px) { .why-item, .why-item:nth-child(4), .why-item:nth-child(5) { grid-column: span 3; } }
@media (max-width: 620px) { .why-item, .why-item:nth-child(4), .why-item:nth-child(5) { grid-column: span 6; } }

/* ================= About ================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-copy p { color: var(--mut); margin-bottom: 18px; max-width: 56ch; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.mv-card { background: var(--ink-2); color: #fff; border-radius: var(--r-md); padding: 28px 26px; position: relative; overflow: hidden; }
.mv-card::after {
  content: ""; position: absolute; right: -20px; bottom: -20px; width: 90px; height: 90px;
  background:
    linear-gradient(45deg, transparent 40%, rgba(216, 154, 46,0.25) 40%, rgba(216, 154, 46,0.25) 60%, transparent 60%);
}
.mv-card h3 { color: var(--gold); font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.mv-card p { font-size: 15.5px; color: rgba(255,255,255,0.85); }
/* overlapping about collage */
.about-collage { position: relative; min-height: 460px; }
.about-collage .ph { color: #fff; }
.about-collage .ph-c {
  position: absolute; top: 0; left: 8%; width: 80%; height: 66%;
  border-radius: 28px 120px 28px 28px;
}
.about-collage .ph-d {
  position: absolute; bottom: 0; right: 0; width: 52%; height: 42%;
  border-radius: 28px 28px 28px 90px; transform: rotate(2deg); z-index: 2;
  box-shadow: var(--sh-lg);
}
.about-collage .ph-c img, .about-collage .ph-d img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.about-px { position: absolute; left: 0; bottom: 12%; z-index: 3; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } .mv-grid { grid-template-columns: 1fr; } .about-collage { min-height: 380px; } }

/* ================= Footer ================= */
.footer { background: var(--ink-2); color: rgba(255,255,255,0.6); padding: 72px 0 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer a { color: rgba(255,255,255,0.62); text-decoration: none; font-size: 15px; transition: color 200ms var(--ease-out); }
.footer a:hover { color: var(--gold-light); }
/* The full lockup sits on its own white ground — the artwork's navy is
   invisible on this surface otherwise. */
.brand-plate {
  display: inline-block; background: var(--white);
  border-radius: 16px 52px 16px 16px; padding: 24px 30px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  transition: transform 320ms var(--ease-out), border-radius 420ms var(--ease-out);
}
.brand-plate:hover { transform: translateY(-4px); border-radius: 16px 16px 16px 52px; }
.brand-plate img { display: block; width: 168px; height: auto; }
.footer-brand > p { font-size: 15px; max-width: 34ch; margin-top: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,0.58);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* Screen-reader-only utility used by the calculator's aria-live region
   (present in both source pages as a bare class with no visible rule —
   defining it here so it actually behaves as visually-hidden). */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
