/* =========================================================
   The SME Mall — site styles
   Mobile-first. Breakpoints: 600 (large phone), 900 (tablet), 1100 (desktop nav)
   ========================================================= */

:root {
  --navy: #0B2438;
  --navy-2: #16354F;
  --red: #D40019;
  --red-dark: #B30015;
  --red-tint: #FBE5E7;
  --pink: #FF7A87;
  --cream: #FAF8F5;
  --sand: #F1ECE4;
  --line: #ECE7DF;
  --line-strong: #D9D3C8;
  --ink: #0B2438;
  --ink-2: #3E4E5E;
  --muted: #5B6875;
  --green: #1C6B3A;
  --green-tint: #E6F2EA;
  --white: #fff;

  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 68px;

  --shadow-sm: 0 1px 2px rgba(11, 36, 56, .06), 0 2px 8px rgba(11, 36, 56, .04);
  --shadow-md: 0 8px 24px rgba(11, 36, 56, .08), 0 2px 6px rgba(11, 36, 56, .05);
  --shadow-lg: 0 24px 60px rgba(11, 36, 56, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1100px) { :root { --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 500; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; color: var(--red); margin-bottom: 14px; letter-spacing: .005em; }
.eyebrow--light { color: var(--pink); }
.h-display { font-size: clamp(36px, 7.6vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.h-section { font-size: clamp(30px, 5.2vw, 48px); }
.h-card { font-size: clamp(20px, 2.4vw, 24px); }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--muted); max-width: 52ch; }
.mono { font-family: var(--mono); font-weight: 500; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
@media (min-width: 900px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .section-head > :first-child { max-width: 720px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(212, 0, 25, .22); }
.btn--red:hover { background: var(--red-dark); box-shadow: 0 8px 22px rgba(212, 0, 25, .3); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }
@media (min-width: 600px) { .btn--block { width: auto; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy); font-size: 15px; }
.link-arrow .arr { color: var(--red); transition: transform .25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light .arr { color: var(--pink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 36, 56, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 48px; } }

.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-signin { display: none; font-weight: 500; color: var(--navy); padding: 10px 12px; border-radius: 10px; }
.header-signin:hover { color: var(--red); }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--navy); }
.menu-toggle:hover { background: var(--sand); }
.menu-toggle .bars { position: relative; width: 22px; height: 14px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 420px) { .header-actions .btn { padding-inline: 16px; } }

@media (min-width: 1100px) {
  .main-nav { display: flex; align-items: center; gap: 4px; margin-left: clamp(16px, 4vw, 64px); }
  .header-signin { display: inline-block; }
  .menu-toggle { display: none; }
}
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 400; color: var(--navy);
  transition: background-color .2s, color .2s;
}
.nav-trigger:hover, .nav-item.is-open .nav-trigger { background: var(--sand); }
.nav-trigger svg { width: 12px; height: 12px; color: var(--red); transition: transform .25s var(--ease); }
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--navy); font-size: 15px; font-weight: 400; }
.nav-dropdown a:hover { background: var(--cream); color: var(--red); }

.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.tag--soon { background: var(--sand); color: var(--muted); }
.tag--open { background: var(--green-tint); color: var(--green); }
.tag--red { background: var(--red); color: #fff; }
.tag--dark { background: rgba(255, 255, 255, .12); color: #fff; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--cream); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
@media (min-width: 1100px) { .mobile-nav { display: none; } }
.m-group { border-bottom: 1px solid var(--line); }
.m-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; font-size: 19px; font-weight: 500; color: var(--navy); }
.m-trigger svg { width: 14px; height: 14px; color: var(--red); transition: transform .25s var(--ease); }
.m-group.is-open .m-trigger svg { transform: rotate(180deg); }
.m-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.m-group.is-open .m-panel { grid-template-rows: 1fr; }
.m-panel > div { overflow: hidden; }
.m-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 4px; border-radius: 12px; color: var(--ink-2); font-size: 16px; background: #fff; }
.m-panel a:last-child { margin-bottom: 16px; }
.m-panel a:active { background: var(--sand); }
.m-actions { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.m-actions .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 36, 56, .25) 0%, rgba(11, 36, 56, .55) 40%, rgba(11, 36, 56, .94) 100%);
}
@media (min-width: 900px) {
  .hero::after { background: linear-gradient(90deg, rgba(11, 36, 56, .94) 0%, rgba(11, 36, 56, .8) 38%, rgba(11, 36, 56, .3) 75%, rgba(11, 36, 56, .15) 100%); }
}
.hero-inner { min-height: min(calc(100svh - var(--header-h)), 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px 96px; }
@media (min-width: 900px) { .hero-inner { justify-content: center; min-height: 680px; padding-block: 96px 112px; } }
.hero-copy { max-width: 640px; }
.hero-copy > * { transition: opacity .45s ease, transform .45s var(--ease); }
.hero-copy.is-changing > * { opacity: 0; transform: translateY(12px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255, 255, 255, .86); max-width: 48ch; margin-bottom: 28px; }
.hero .btn-row .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero .btn-row .btn { flex: 0 0 auto; } }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 28px; }
.hero-controls .container { display: flex; align-items: center; gap: 16px; }
@media (min-width: 900px) { .hero-controls .container { justify-content: center; } }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 28px; height: 28px; display: grid; place-items: center; }
.hero-dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .35s var(--ease), background-color .35s; }
.hero-dot[aria-current="true"] span { width: 32px; background: var(--red); }
.hero-dot:hover span { background: #fff; }
.hero-dot[aria-current="true"]:hover span { background: var(--red); }
.hero-pause { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); color: #fff; margin-left: 4px; }
.hero-pause:hover { background: rgba(255, 255, 255, .12); }
.hero-pause svg { width: 12px; height: 12px; }
.hero-pause .i-play { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero.is-paused .hero-pause .i-pause { display: none; }

/* ---------- Ecosystem orbit ---------- */
.ecosystem .section-head { margin-bottom: 8px; }
.orbit { position: relative; width: 100%; max-width: 420px; margin: 24px auto 0; aspect-ratio: 1 / 1; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-svg .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit-svg .ring--dash { stroke-dasharray: 3 6; }
.orbit-svg .ring--soft { stroke: var(--line); }
.orbit-svg .spoke { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.orbit-svg .spoke.is-active { stroke: var(--red); stroke-width: 1.5; }

.orbit-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 20px 50px rgba(11, 36, 56, .25);
}
.orbit-hub::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, rgba(212, 0, 25, .12), transparent 65%); z-index: -1; animation: pulse 4s ease-in-out infinite; }
.orbit-hub-inner { padding: 12%; display: grid; justify-items: center; gap: 6px; }
.orbit-hub img { width: 52%; height: auto; }
.orbit-hub p { font-size: clamp(11px, 1.4vw, 14px); line-height: 1.35; color: rgba(255, 255, 255, .85); }
@keyframes pulse { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }

.orbit-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); color: var(--navy);
  box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
}
.orbit-node .num { display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 12px; border-radius: 50%; background: var(--red-tint); color: var(--red); transition: background-color .25s, color .25s; }
.orbit-node .label { font-weight: 500; font-size: 15px; }
.orbit-node.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(212, 0, 25, .3); }
.orbit-node.is-active .num { background: rgba(255, 255, 255, .22); color: #fff; }

/* Mobile/tablet: compact numbered nodes, details in the caption below */
.orbit-node { width: 44px; height: 44px; justify-content: center; padding: 0; }
.orbit-node .num { width: 100%; height: 100%; background: transparent; font-size: 13px; }
.orbit-node.is-active .num { background: transparent; }
.orbit-node .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.orbit-node.is-active { transform: translate(-50%, -50%) scale(1.12); }

.orbit-caption {
  max-width: 520px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
}
.orbit-caption .num { grid-row: span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--mono); font-weight: 500; font-size: 14px; }
.orbit-caption h3 { font-size: 19px; }
.orbit-caption p { color: var(--muted); font-size: 15px; }
.orbit-caption .link-arrow { margin-top: 6px; font-size: 14px; }
.orbit-caption > :not(.num) { transition: opacity .25s; }
.orbit-caption.is-changing > :not(.num) { opacity: 0; }
.orbit-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (min-width: 600px) and (max-width: 899px) { .orbit { max-width: 540px; } .orbit-node { width: 52px; height: 52px; } }

@media (min-width: 900px) {
  .orbit { max-width: 1000px; aspect-ratio: 1000 / 600; margin-top: 8px; }
  .orbit-hub { width: 19%; }
  .orbit-node { width: auto; height: auto; padding: 8px 18px 8px 8px; }
  .orbit-node .num { width: 30px; height: 30px; background: var(--red-tint); }
  .orbit-node.is-active .num { background: rgba(255, 255, 255, .22); }
  .orbit-node .label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .orbit-node:hover { border-color: var(--red); }
  .orbit-node.is-active { transform: translate(-50%, -50%) scale(1.04); }
  .orbit-hint { display: none; }
}

/* ---------- Understand (BHC) ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; } }
.split .lead { margin-block: 18px 28px; }
.steps-list { border-top: 1px solid var(--line-strong); }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.steps-list .mono { color: var(--red); font-size: 14px; padding-top: 4px; }
.steps-list h3 { font-size: clamp(19px, 2vw, 22px); }
.steps-list p { grid-column: 2; color: var(--muted); font-size: 15px; }
@media (min-width: 600px) { .steps-list li { grid-template-columns: 72px 1fr; } }

/* ---------- Products ---------- */
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card { display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.product-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.app-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px; }
.app-icon--navy { background: var(--navy); }
.app-icon--red { background: var(--red); }
.product-card p { color: var(--muted); }
.product-card .link-arrow { margin-top: auto; padding-top: 8px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Professional support ---------- */
.service-grid { display: grid; gap: 10px; }
@media (min-width: 600px) { .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-link {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); font-weight: 500;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.service-link .mono { color: var(--red); font-size: 12px; }
.service-link .arr { margin-left: auto; color: var(--red); transition: transform .25s var(--ease); }
.service-link:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.service-link:hover .arr { transform: translateX(4px); }

/* ---------- Community ---------- */
.feature-card { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-card:hover .media img { transform: scale(1.03); }
.feature-card .body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature-card .lead { margin-block: 18px 22px; }
@media (min-width: 900px) { .feature-card { grid-template-columns: 1fr 1fr; } .feature-card .media { aspect-ratio: auto; min-height: 460px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--navy); background: var(--cream); }

/* ---------- Provider band ---------- */
.dark-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: rgba(255, 255, 255, .78); border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 80px); display: grid; gap: 40px;
}
.dark-band::before {
  content: ""; position: absolute; z-index: -1; right: -6%; top: -14%; width: min(420px, 60%); aspect-ratio: 1;
  background: var(--red); opacity: .16; clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.dark-band h2 { color: #fff; }
.dark-band .lead { color: rgba(255, 255, 255, .75); margin-block: 18px 28px; }
@media (min-width: 900px) { .dark-band { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; } }
.process { display: grid; gap: 10px; }
.process li {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 500;
  backdrop-filter: blur(4px);
}
.process .step { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-family: var(--mono); font-size: 13px; }
.process-note { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 6px; }

/* ---------- Programmes bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .bento .flagship { grid-row: span 2; } }
.flagship { background: var(--navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.flagship .media { aspect-ratio: 16 / 9; overflow: hidden; }
.flagship .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.flagship:hover .media img { transform: scale(1.03); }
.flagship .body { padding: clamp(24px, 3vw, 32px); display: grid; gap: 12px; }
.flagship h3 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.flagship .meta { color: rgba(255, 255, 255, .72); font-size: 15px; }
.prog-card { display: flex; flex-direction: column; gap: 12px; }
.prog-card h3 { font-size: clamp(19px, 2vw, 22px); }
.prog-card .meta { color: var(--muted); font-size: 15px; }
.prog-card .link-arrow { margin-top: auto; padding-top: 12px; }
.cta-card { background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px; min-height: 200px; position: relative; overflow: hidden; transition: background-color .3s; }
.cta-card:hover { background: var(--red-dark); }
.cta-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; aspect-ratio: 1; background: #fff; opacity: .08; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cta-card .eyebrow { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-card h3 { color: #fff; font-size: clamp(20px, 2.2vw, 24px); }
.cta-card .link-arrow { color: #fff; margin-top: auto; }
.cta-card .link-arrow .arr { color: #fff; }

/* ---------- Proof ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.3; color: var(--navy); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
.quote figcaption { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); text-align: left; }
.quote figcaption strong { color: var(--navy); font-weight: 500; }
.quote .avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--red); font-size: 22px; font-weight: 600; line-height: 1; }
.logos-label { text-align: center; font-size: 14px; color: var(--muted); margin: clamp(48px, 7vw, 72px) 0 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(48px, 8vw, 96px); padding-right: clamp(48px, 8vw, 96px); }
.marquee img { height: 44px; width: auto; mix-blend-mode: multiply; opacity: .8; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
.marquee img.tall { height: 60px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Resources ---------- */
.res-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.res-scroller::-webkit-scrollbar { display: none; }
.res-scroller > * { scroll-snap-align: start; }
@media (min-width: 700px) { .res-scroller { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .res-scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }
.res-card { display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.res-card .type { font-size: 13px; font-weight: 500; color: var(--red); }
.res-card h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.res-card .meta { margin-top: auto; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.res-card .meta .arr { color: var(--red); transition: transform .25s var(--ease); }
.res-card:hover .meta .arr { transform: translateX(4px); }
.scroll-hint { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
@media (min-width: 1000px) { .scroll-hint { display: none; } }
.scroll-hint span { width: 6px; height: 6px; border-radius: 99px; background: var(--line-strong); transition: width .3s, background-color .3s; }
.scroll-hint span.on { width: 20px; background: var(--navy); }

/* ---------- Newsletter ---------- */
.newsletter { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 72px); }
.newsletter-inner { display: grid; gap: 24px; }
@media (min-width: 900px) { .newsletter-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }
.newsletter h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.newsletter p { color: var(--muted); }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 600px) { .nl-row { flex-direction: row; } }
.input {
  flex: 1; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--cream); font: inherit; font-size: 16px; color: var(--navy); transition: border-color .2s, background-color .2s;
}
.input::placeholder { color: #8A96A2; }
.input:focus { outline: none; border-color: var(--navy); background: #fff; }
.input.is-invalid { border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--red); cursor: pointer; }
.form-msg { font-size: 14px; min-height: 1.5em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding-block: clamp(56px, 7vw, 80px) 28px; font-size: 15px; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr 3fr; gap: 64px; } }
.footer-brand .logo-tile { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 22px; }
.footer-brand .logo-tile img { height: 48px; width: auto; }
.footer-brand address { font-style: normal; display: grid; gap: 6px; }
.footer-brand a:hover { color: #fff; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 500; font-size: 14px; transition: background-color .2s; }
.wa-btn:hover { background: rgba(255, 255, 255, .14); }
.wa-btn svg { width: 18px; height: 18px; color: #25D366; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer-cols { grid-template-columns: repeat(5, 1fr); } }
.footer-col h3 { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 14px; }
.legal-links, .social-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background-color .2s, color .2s; }
.social-links a:hover { background: var(--red); color: #fff; }
.social-links svg { width: 18px; height: 18px; }
.legal-links a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .07s; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .28s; }
.js .reveal-stagger.is-visible > :nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
