/* Hide content until the Chinese translation is applied (prevents English flash) */
html.tl-zh-pending body { visibility: hidden; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F4F7FC;
  --charcoal: #0B1220;
  --sage: #3B6EF6;
  --olive: #8FA9FF;
  --terracotta: #3B6EF6;
  --navy: #0E1A2F;
  --line: #E4E9F2;
  --muted: #56657F;
  --accent: #3B6EF6;
  --accent-2: #6B4BF5;

  --head: "Schibsted Grotesk", "Hanken Grotesk", sans-serif;
  --body: "Hanken Grotesk", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--olive); color: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ---------- TYPE ---------- */
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; }
.eyebrow {
  font-family: var(--body); font-weight: 500;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage);
}
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.7; max-width: 60ch; }

/* ---------- NAV ---------- */
header.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.nav.solid { background: rgba(247,244,238,0.88); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; display: flex; align-items: baseline; gap: 9px; }
.brand .jp { font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--charcoal); transition: color 0.25s var(--ease); position: relative; }
.nav-links a:not(.nav-btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--sage); transition: right 0.3s var(--ease);
}
.nav-links a:not(.nav-btn):hover::after { right: 0; }
.nav-links a:hover { color: var(--sage); }
.nav-links a.active { color: var(--sage); }
.nav-links a.active:not(.nav-btn)::after { right: 0; }
.nav-btn {
  border: 1px solid var(--navy); color: var(--navy) !important;
  padding: 9px 20px; border-radius: 2px; font-size: 13px; letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease) !important;
}
.nav-btn:hover { background: var(--navy); color: var(--paper) !important; }
.nav-toggle { display: none; }

/* light nav while over a dark hero (home), reverts to dark once solid */
.nav.on-hero:not(.solid) .brand,
.nav.on-hero:not(.solid) .nav-links a:not(.nav-btn) { color: var(--paper); }
.nav.on-hero:not(.solid) .brand .jp { color: rgba(247,244,238,0.72); }
.nav.on-hero:not(.solid) .nav-links a:hover { color: var(--olive); }
.nav.on-hero:not(.solid) .nav-btn { color: var(--paper) !important; border-color: rgba(247,244,238,0.7); }
.nav.on-hero:not(.solid) .nav-btn:hover { background: var(--paper); color: var(--charcoal) !important; }
.nav.on-hero:not(.solid) .nav-toggle span,
.nav.on-hero:not(.solid) .nav-toggle span::before,
.nav.on-hero:not(.solid) .nav-toggle span::after { background: var(--paper); }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.02fr 0.98fr; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 120px 64px 80px; }
.hero-text .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; line-height: 1.08; }
.hero h1 .accent { color: var(--terracotta); }
.hero .lede { margin: 30px 0 40px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--paper); padding: 15px 30px; border-radius: 2px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary:hover { background: #163b5d; transform: translateY(-2px); }
.btn-primary .arr { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arr { transform: translateX(4px); }
.btn-text { font-size: 14px; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--charcoal); padding-bottom: 3px; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn-text:hover { color: var(--sage); border-color: var(--sage); }
.hero-img { position: relative; overflow: hidden; background: var(--paper-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-cap { position: absolute; bottom: 28px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: flex-end; color: var(--paper); font-size: 12px; letter-spacing: 0.06em; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero-cap .r { font-family: var(--head); font-weight: 500; }

/* ---------- FULL-BLEED HERO BANNER (home) ---------- */
.hero-banner { position: relative; min-height: 94vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--charcoal); }
.hero-banner .hb-media { position: absolute; inset: 0; }
.hero-banner .hb-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner .hb-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(15,15,15,0.9) 0%, rgba(15,15,15,0.74) 40%, rgba(15,15,15,0.46) 72%, rgba(15,15,15,0.3) 100%),
  linear-gradient(0deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0) 52%); }
.hero-banner .hb-inner { position: relative; z-index: 2; max-width: 54ch; margin-top: auto; padding-top: 130px; }
.hero-banner .eyebrow { color: var(--olive); margin-bottom: 26px; }
.hero-banner h1 { font-size: clamp(40px, 5vw, 76px); font-weight: 500; line-height: 1.04; color: var(--paper); }
.hero-banner h1 .accent { color: var(--terracotta); }
.hero-banner .lede { color: rgba(247,244,238,0.86); margin: 28px 0 40px; max-width: 56ch; }
.hero-banner .btn-text { color: var(--paper); border-color: rgba(247,244,238,0.6); }
.hero-banner .btn-text:hover { color: var(--olive); border-color: var(--olive); }
.hero-banner .hb-meta { position: relative; z-index: 2; margin-top: 44px; padding-bottom: 30px; }
.hero-banner .hb-meta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(247,244,238,0.2); padding-top: 22px; }
.hero-banner .hb-meta span { font-size: 12px; letter-spacing: 0.08em; color: rgba(247,244,238,0.78); text-transform: uppercase; }
.hero-banner .hb-meta .r { font-family: var(--head); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- INTERIOR PAGE BANNER (full-bleed image) ---------- */
.banner { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--charcoal); }
.banner .bn-media { position: absolute; inset: 0; }
.banner .bn-media img { width: 100%; height: 100%; object-fit: cover; }
.banner .bn-scrim { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(16,16,16,0.86) 0%, rgba(16,16,16,0.42) 46%, rgba(16,16,16,0.22) 100%); }
.banner .bn-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; padding-top: 120px; }
.banner .sec-label { margin-bottom: 18px; }
.banner .sec-label .num { color: rgba(247,244,238,0.7); }
.banner .eyebrow { color: var(--olive); }
.banner h1 { font-size: clamp(36px, 4.6vw, 66px); font-weight: 500; line-height: 1.05; color: var(--paper); max-width: 18ch; }
.banner h1 .accent { color: var(--terracotta); }
.banner .lede { color: rgba(247,244,238,0.86); margin-top: 22px; }

/* ---------- EDITORIAL ROW (big alternating image + text) ---------- */
.editorial { background: var(--paper); }
.editorial.alt { background: var(--paper-2); }
.ed { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 0; align-items: stretch; }
.ed + .ed { margin-top: 0; }
.ed-media { position: relative; min-height: 480px; overflow: hidden; background: var(--paper-2); }
.ed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ed:hover .ed-media img { transform: scale(1.04); }
.ed-media .tag { position: absolute; left: 22px; bottom: 22px; background: rgba(18,18,18,0.72); color: var(--paper); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border-radius: 2px; backdrop-filter: blur(4px); }
.ed-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 88px); }
.ed-body.pad-l { padding-left: clamp(40px, 6vw, 110px); }
.ed-body.pad-r { padding-right: clamp(40px, 6vw, 110px); }
.ed-body .sec-label { margin-bottom: 16px; }
.ed-body h2 { font-size: clamp(27px, 2.8vw, 40px); font-weight: 500; line-height: 1.12; margin-bottom: 22px; }
.ed-body h2 .sage { color: var(--sage); }
.ed-body p { font-size: 16.5px; color: #39485a; line-height: 1.78; margin-bottom: 20px; max-width: 52ch; }
.ed-body p:last-of-type { margin-bottom: 0; }
.ed-body .ed-stats { display: flex; gap: 48px; margin-top: 38px; flex-wrap: wrap; }
.ed-body .ed-stats .n { font-family: var(--head); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--charcoal); }
.ed-body .ed-stats .t { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 10px; max-width: 16ch; }
.ed-body .ed-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ed-body .ed-tags span { font-size: 12px; letter-spacing: 0.05em; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 7px 15px; }
.ed.flip .ed-media { order: 2; }
.ed.flip .ed-body { order: 1; }
/* dark editorial variant */
.editorial.on-dark { background: var(--charcoal); }
.editorial.on-dark .ed-body h2 { color: var(--paper); }
.editorial.on-dark .ed-body p { color: rgba(247,244,238,0.72); }
.editorial.on-dark .ed-body .eyebrow { color: var(--olive); }
.editorial.on-dark .ed-body .sec-label .num { color: rgba(247,244,238,0.6); }
.editorial.on-dark .ed-body .ed-stats .n { color: var(--paper); }
.editorial.on-dark .ed-body .ed-tags span { color: rgba(247,244,238,0.7); border-color: rgba(247,244,238,0.24); }

/* ---------- PHILOSOPHY / PULL STATEMENT ---------- */
.philosophy { background: var(--paper); text-align: center; }
.philosophy.on-sage { background: var(--sage); }
.philosophy .inner { max-width: 1080px; margin: 0 auto; }
.philosophy .eyebrow { color: var(--sage); }
.philosophy.on-sage .eyebrow { color: rgba(247,244,238,0.85); }
.philosophy blockquote { font-family: var(--head); font-weight: 500; font-size: clamp(28px, 4vw, 52px); line-height: 1.18; letter-spacing: -0.01em; margin: 26px auto 0; max-width: 100%; text-wrap: balance; }
.philosophy.on-sage blockquote { color: var(--paper); }
.philosophy .src { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 32px; }
.philosophy.on-sage .src { color: rgba(247,244,238,0.8); }

/* ---------- STAT STRIP ---------- */
.stat-strip { background: var(--charcoal); color: var(--paper); }
.stat-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-strip .item { padding: 18px 36px; border-left: 1px solid rgba(247,244,238,0.16); }
.stat-strip .item:first-child { border-left: none; padding-left: 0; }
.stat-strip .item .n { font-family: var(--head); font-weight: 500; font-size: clamp(36px, 4vw, 58px); line-height: 1; color: var(--paper); }
.stat-strip .item .n em { font-style: normal; color: var(--olive); }
.stat-strip .item .t { font-size: 13px; color: rgba(247,244,238,0.66); letter-spacing: 0.03em; margin-top: 14px; line-height: 1.5; max-width: 22ch; }

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero { padding: 150px 0 72px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero .sec-label { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 500; line-height: 1.06; max-width: 18ch; }
.page-hero h1 .accent { color: var(--terracotta); }
.page-hero .lede { margin-top: 26px; }
.page-hero.on-dark { background: var(--charcoal); color: var(--paper); border-bottom-color: rgba(247,244,238,0.14); }
.page-hero.on-dark h1 { color: var(--paper); }
.page-hero.on-dark .lede { color: rgba(247,244,238,0.74); }
.page-hero.on-dark .eyebrow { color: var(--olive); }
.page-hero.on-dark .sec-label .num { color: rgba(247,244,238,0.6); }

/* staggered reveal on load */
.stagger { opacity: 0; transform: translateY(24px); }
.loaded .stagger { animation: rise 1s var(--ease) forwards; }
.loaded .stagger.s1 { animation-delay: 0.15s; }
.loaded .stagger.s2 { animation-delay: 0.30s; }
.loaded .stagger.s3 { animation-delay: 0.45s; }
.loaded .stagger.s4 { animation-delay: 0.60s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- TICKER ---------- */
.ticker { background: var(--charcoal); color: var(--paper); overflow: hidden; white-space: nowrap; display: flex; border-top: 1px solid var(--charcoal); }
.ticker-track { display: flex; flex-shrink: 0; align-items: center; animation: scroll 38s linear infinite; }
.ticker-track span { font-family: var(--head); font-weight: 400; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; padding: 16px 0; display: flex; align-items: center; color: rgba(247,244,238,0.85); }
.ticker-track span::after { content: "—"; margin: 0 30px; color: var(--olive); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- SECTION SHELL ---------- */
.section { padding: 130px 0; }
.section.tight { padding: 96px 0; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.sec-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sec-label .num { font-family: var(--head); font-size: 13px; color: var(--muted); }

/* ---------- OVERVIEW ---------- */
.overview { background: var(--paper); }
.ov-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.overview h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; }
.overview h2 .sage { color: var(--sage); }
.ov-body p { font-size: 17px; color: #39485a; margin-bottom: 22px; line-height: 1.75; }
.ov-body p.first { font-size: clamp(19px, 1.6vw, 23px); color: var(--charcoal); font-weight: 400; line-height: 1.6; }
.ov-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.ov-stat { padding: 28px 0 0; }
.ov-stat .n { font-family: var(--head); font-weight: 500; font-size: clamp(34px, 3.6vw, 50px); color: var(--charcoal); line-height: 1; }
.ov-stat .t { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-top: 12px; }

/* ---------- CATEGORIES ---------- */
.cats { background: var(--paper-2); }
.cats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.cats-head h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; max-width: 16ch; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease); }
.cat:hover { transform: translateY(-6px); border-color: var(--olive); }
.cat-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 24px 26px 30px; }
.cat-body .ci { font-family: var(--head); font-size: 12px; color: var(--sage); letter-spacing: 0.1em; }
.cat-body h3 { font-size: 23px; font-weight: 500; margin: 8px 0 10px; }
.cat-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cat.wide { grid-column: span 1; }

/* ---------- CATEGORY DETAIL (alternating rows) ---------- */
.cat-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper); margin-bottom: 32px; }
.cat-detail .cd-img { min-height: 360px; overflow: hidden; background: var(--paper-2); }
.cat-detail .cd-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat-detail:hover .cd-img img { transform: scale(1.04); }
.cat-detail .cd-body { padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; }
.cat-detail .cd-num { font-family: var(--head); font-size: 13px; color: var(--sage); letter-spacing: 0.12em; }
.cat-detail .cd-body h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; margin: 14px 0 16px; }
.cat-detail .cd-body p { font-size: 16px; color: #39485a; line-height: 1.75; margin-bottom: 22px; }
.cat-detail .cd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-detail .cd-tags span { font-size: 12px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; }
.cat-detail.flip .cd-img { order: 2; }

/* ---------- DISTRIBUTION ---------- */
.dist { background: var(--charcoal); color: var(--paper); position: relative; overflow: hidden; }
.dist .pbg { position: absolute; inset: -12% 0 0 auto; width: 46%; height: 124%; opacity: 0.5; }
.dist .pbg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) brightness(0.7); }
.dist .pbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 0%, rgba(31,31,31,0.2) 100%); }
.dist-inner { position: relative; z-index: 2; max-width: 640px; }
.dist .eyebrow { color: var(--olive); }
.dist h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; color: var(--paper); margin: 18px 0 26px; }
.dist .lede { color: rgba(247,244,238,0.74); }
.dist-list { margin-top: 50px; display: grid; gap: 0; }
.dist-row { display: grid; grid-template-columns: 50px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid rgba(247,244,238,0.16); }
.dist-row:last-child { border-bottom: 1px solid rgba(247,244,238,0.16); }
.dist-row .ri { font-family: var(--head); font-size: 14px; color: var(--olive); padding-top: 4px; }
.dist-row h4 { font-family: var(--head); font-weight: 500; font-size: 20px; color: var(--paper); margin-bottom: 8px; }
.dist-row p { font-size: 15px; color: rgba(247,244,238,0.66); line-height: 1.65; max-width: 46ch; }

/* dark variant for full distribution page (no parallax bg) */
.dist.flat { background: var(--charcoal); }
.dist.flat .dist-inner { max-width: none; }

/* process steps (light) */
.process { background: var(--paper-2); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.proc { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 32px 28px 36px; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease); }
.proc:hover { transform: translateY(-6px); border-color: var(--olive); }
.proc .pn { font-family: var(--head); font-size: 13px; color: var(--sage); letter-spacing: 0.12em; }
.proc h4 { font-family: var(--head); font-weight: 500; font-size: 20px; margin: 18px 0 12px; }
.proc p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---------- PARTNERS ---------- */
.partners { background: var(--paper); }
.partners-head { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.partners-head h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; margin: 16px 0 18px; }
.partners-head .lede { margin: 0 auto; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.logo-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease); padding: 14px; text-align: center; }
.logo-cell:nth-child(3n) { border-right: none; }
.logo-grid .logo-cell:nth-last-child(-n+3) { border-bottom: none; }
.logo-cell:hover { background: var(--paper-2); }
.logo-cell .mk { font-family: var(--head); font-weight: 500; font-size: clamp(16px, 1.5vw, 21px); color: #8695a4; letter-spacing: 0.02em; transition: color 0.4s var(--ease); text-align: center; line-height: 1.2; }
.logo-cell:hover .mk { color: var(--charcoal); }
.logo-cell .mk small { font-weight: 400; font-size: 0.6em; color: var(--olive); display: block; letter-spacing: 0.18em; margin-top: 3px; text-align: center; }

/* ---------- BEVERAGE TYPES ---------- */
.types { background: var(--paper-2); }
.types-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 52px; }
.types-head h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; max-width: 16ch; }
.types-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.type-card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease); }
.type-card:hover { transform: translateY(-6px); border-color: var(--olive); }
.type-card .ti { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.type-card .ti img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.type-card:hover .ti img { transform: scale(1.06); }
.type-card .tb { padding: 18px 18px 24px; }
.type-card .tn { font-family: var(--head); font-size: 12px; color: var(--sage); letter-spacing: 0.1em; }
.type-card h3 { font-size: 18px; font-weight: 500; margin: 7px 0 7px; }
.type-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- FORMAT / SPEC STRIP ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 6px; }
.spec { padding: 30px 34px 30px 0; border-bottom: 1px solid var(--line); }
.spec:nth-child(3n) { padding-right: 0; }
.spec .sn { font-family: var(--head); font-size: 13px; color: var(--sage); letter-spacing: 0.08em; }
.spec h4 { font-family: var(--head); font-weight: 500; font-size: 19px; margin: 12px 0 8px; }
.spec p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 30ch; }

/* ---------- VALUES ---------- */
.values { background: var(--sage); color: var(--paper); }
.values .eyebrow { color: rgba(247,244,238,0.8); }
.values .sec-label .num { color: rgba(247,244,238,0.6); }
.val-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.values h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; color: var(--paper); }
.val-head .lede { color: rgba(247,244,238,0.82); }
.val-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(247,244,238,0.28); }
.val { padding: 36px 24px 40px 28px; border-right: 1px solid rgba(247,244,238,0.22); }
.val:first-child { padding-left: 0; }
.val:last-child { border-right: none; padding-right: 0; }
.val .vn { font-family: var(--head); font-size: 13px; color: rgba(247,244,238,0.6); }
.val h3 { font-size: 21px; font-weight: 500; color: var(--paper); margin: 22px 0 14px; line-height: 1.2; }
.val p { font-size: 14px; color: rgba(247,244,238,0.78); line-height: 1.6; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--charcoal); color: var(--paper); text-align: center; }
.cta-band .inner { max-width: 720px; margin: 0 auto; }
.cta-band .eyebrow { color: var(--olive); }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 500; color: var(--paper); margin: 18px 0 24px; line-height: 1.1; }
.cta-band p { font-size: clamp(16px, 1.4vw, 19px); color: rgba(247,244,238,0.74); line-height: 1.7; margin: 0 auto 38px; max-width: 54ch; }
.cta-band .btn-primary { background: var(--terracotta); }
.cta-band .btn-primary:hover { background: #c1862a; }

/* ---------- CONTACT ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; margin: 18px 0 24px; }
.contact .lede { margin-bottom: 36px; }
.contact-meta { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 8px; }
.contact-meta .row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; gap: 20px; }
.contact-meta .row .k { color: var(--muted); }
.contact-meta .row .v { font-family: var(--head); font-weight: 500; text-align: right; }
.form { background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; padding: 44px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  font-family: var(--body); font-size: 16px; color: var(--charcoal); padding: 8px 0 12px;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8b6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.submit {
  width: 100%; margin-top: 8px; background: var(--navy); color: var(--paper); border: none;
  font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0.03em;
  padding: 17px; border-radius: 2px; cursor: pointer;
  transition: background 0.3s var(--ease);
}
.submit:hover { background: #163b5d; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 18px; line-height: 1.6; }

/* ---------- FOOTER ---------- */
footer { background: var(--charcoal); color: var(--paper); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 56px; }
.foot-brand { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: 0.02em; }
.foot-brand .jp { display: block; font-weight: 400; font-size: 13px; color: rgba(247,244,238,0.55); margin-top: 8px; letter-spacing: 0.1em; }
.foot-desc { font-size: 14px; color: rgba(247,244,238,0.6); margin-top: 22px; max-width: 34ch; line-height: 1.7; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 14.5px; color: rgba(247,244,238,0.78); margin-bottom: 13px; transition: color 0.25s var(--ease); }
.foot-col a:hover { color: var(--paper); }
.foot-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(247,244,238,0.14); padding: 26px 0 44px; font-size: 12.5px; color: rgba(247,244,238,0.5); letter-spacing: 0.04em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .wrap { padding: 0 28px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 110px 28px 60px; }
  .hero-img { min-height: 52vh; }
  .ov-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .val { border-right: none; border-bottom: 1px solid rgba(247,244,238,0.22); padding: 30px 0; }
  .val:nth-child(odd) { padding-right: 24px; border-right: 1px solid rgba(247,244,238,0.22); }
  .val:nth-child(even) { padding-left: 24px; }
  .val-head { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3n) { padding-right: 34px; }
  .spec:nth-child(2n) { padding-right: 0; }
  .logo-cell { border-right: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .dist .pbg { display: none; }
  .dist { background: var(--charcoal); }
  .cat-detail { grid-template-columns: 1fr; }
  .cat-detail .cd-img { min-height: 280px; order: 1 !important; }
  .cat-detail .cd-body { padding: 40px 36px; }

  /* editorial rows stack */
  .ed { grid-template-columns: 1fr; }
  .ed-media { min-height: 320px; order: 1 !important; }
  .ed-body { order: 2 !important; padding: 44px 28px !important; }
  .ed-body .ed-stats { gap: 32px; }
  .stat-strip .grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-strip .item { padding: 24px 24px; border-left: none; }
  .stat-strip .item:nth-child(even) { border-left: 1px solid rgba(247,244,238,0.16); }
  .stat-strip .item:first-child { padding-left: 24px; }
  .hero-banner { min-height: 88vh; }
  .banner { min-height: 48vh; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 8px; margin: -8px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); position: relative; transition: background 0.2s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--charcoal); transition: transform 0.3s var(--ease); }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(247,244,238,0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); padding: 12px 28px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    align-items: stretch;
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a:not(.nav-btn)::after { display: none; }
  .nav-links a.nav-btn { border: 1px solid var(--navy); text-align: center; margin-top: 16px; padding: 14px 20px; border-radius: 2px; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
  .spec, .spec:nth-child(3n), .spec:nth-child(2n) { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .ov-stats { grid-template-columns: 1fr; gap: 24px; }
  .ov-stat { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .form { padding: 30px 24px; }
  .foot-top { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .cat-detail .cd-body { padding: 34px 26px; }
  .stat-strip .grid { grid-template-columns: 1fr; }
  .stat-strip .item, .stat-strip .item:nth-child(even) { border-left: none; border-top: 1px solid rgba(247,244,238,0.16); padding: 22px 0; }
  .stat-strip .item:first-child { border-top: none; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal, .stagger { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* animations-off tweak */
body.no-anim .reveal, body.no-anim .stagger { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
body.no-anim .ticker-track { animation: none !important; }
body.no-anim [data-parallax] { transform: none !important; }
body.no-anim .mock-bars i, body.no-anim .float, body.no-anim .pulse { animation: none !important; }

/* =====================================================================
   MODERN ENTERPRISE-SAAS RE-SKIN  (loaded last — overrides above)
   ===================================================================== */
.wrap { max-width: 1200px; }
.section { padding: 160px 0; }
.section.tight { padding: 120px 0; }
h1, h2, h3 { letter-spacing: -0.025em; }
.eyebrow { color: var(--accent); letter-spacing: 0.16em; font-weight: 600; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; }
::selection { background: rgba(59,110,246,0.22); color: var(--ink, #0B1220); }

/* premium buttons */
.btn-primary { background: var(--accent); border-radius: 9px; padding: 16px 30px; box-shadow: 0 10px 30px -12px rgba(59,110,246,0.7); }
.btn-primary:hover { background: #2f5fe0; box-shadow: 0 16px 36px -12px rgba(59,110,246,0.8); }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-primary:hover { background: #2f5fe0; }
.nav-btn { border-radius: 8px; border-color: var(--accent); color: var(--accent) !important; }
.nav-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.nav.on-hero:not(.solid) .nav-btn { border-color: rgba(255,255,255,0.5); color: #fff !important; }
.nav.on-hero:not(.solid) .nav-btn:hover { background: #fff; color: var(--charcoal) !important; }

/* dark sections -> deep navy */
.stat-strip, footer, .cta-band { background: var(--charcoal); }
.editorial.on-dark { background: var(--charcoal); }
.values { background: var(--navy); }
.philosophy.on-sage { background: var(--navy); }
.philosophy.on-sage .eyebrow { color: var(--olive); }

/* interior banners: premium dark, imagery subordinate + grid overlay */
.banner { min-height: 60vh; background: var(--navy); }
.banner .bn-media img { opacity: 0.28; filter: grayscale(0.35) brightness(0.7); }
.banner .bn-scrim { background: linear-gradient(180deg, rgba(11,18,32,0.72) 0%, rgba(11,18,32,0.9) 100%); }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 72%);
}
.banner .bn-inner { z-index: 2; }
.banner .eyebrow { color: var(--olive); }

/* page-hero (contact) modern */
.page-hero { padding: 170px 0 84px; }

/* =====================================================================
   SAAS HERO  (home)
   ===================================================================== */
.hero-saas {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 620px at 82% -12%, #1a2c54 0%, #0d1830 46%, #0B1220 100%);
  padding: 176px 0 96px;
}
.hero-saas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(115% 90% at 78% 6%, #000 0%, transparent 70%);
  mask-image: radial-gradient(115% 90% at 78% 6%, #000 0%, transparent 70%);
}
.hero-saas .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 0; }
.hero-saas .glow.g1 { background: #2f5fe0; top: -160px; right: 4%; }
.hero-saas .glow.g2 { background: #6B4BF5; bottom: -220px; left: -60px; opacity: 0.32; }
.hero-saas .hs-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
.hero-saas .eyebrow { color: #8FB0FF; margin-bottom: 24px; }
.hero-saas .badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); padding: 7px 14px; border-radius: 100px; margin-bottom: 30px; }
.hero-saas .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 4px rgba(62,207,142,0.18); }
.hero-saas h1 { font-size: clamp(42px, 5.2vw, 78px); font-weight: 600; line-height: 1.03; letter-spacing: -0.03em; color: #fff; }
.hero-saas h1 .accent { background: linear-gradient(90deg, #6ea0ff, #a48bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-saas .lede { color: rgba(255,255,255,0.72); margin: 26px 0 38px; max-width: 52ch; }
.hero-saas .hero-cta { gap: 20px; }
.hero-saas .btn-text { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-saas .btn-text:hover { color: #8FB0FF; border-color: #8FB0FF; }
.hero-saas .hs-metrics { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-saas .hs-metrics .m .n { font-family: var(--head); font-weight: 600; font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.hero-saas .hs-metrics .m .t { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 5px; letter-spacing: 0.03em; }

/* dashboard mock */
.float { animation: floaty 6s var(--ease) infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mock { position: relative; background: linear-gradient(180deg, rgba(30,44,78,0.92), rgba(16,26,47,0.92)); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.mock .m-top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mock .m-top .dot3 { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock .m-top .title { margin-left: 10px; font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.mock .m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock .kpi { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 13px 14px; }
.mock .kpi .k { font-size: 10.5px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-transform: uppercase; }
.mock .kpi .v { font-family: var(--head); font-weight: 600; font-size: 21px; color: #fff; margin-top: 6px; letter-spacing: -0.01em; }
.mock .kpi .v em { font-style: normal; font-size: 12px; color: #3ecf8e; margin-left: 5px; }
.mock .m-chart { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 16px 16px 14px; }
.mock .m-chart .ch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock .m-chart .ch-head span { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.mock .m-chart .ch-head .pill { color: #8FB0FF; border: 1px solid rgba(143,176,255,0.3); border-radius: 100px; padding: 3px 9px; }
.mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.mock-bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #6ea0ff, #3B6EF6); opacity: 0.9; transform-origin: bottom; animation: grow 1.1s var(--ease) both; }
.mock-bars i:nth-child(even) { background: linear-gradient(180deg, #a48bff, #6B4BF5); }
@keyframes grow { from { transform: scaleY(0.05); opacity: 0.3; } to { transform: scaleY(1); opacity: 0.9; } }
.mock .m-rows { margin-top: 14px; display: grid; gap: 9px; }
.mock .m-rows .r { display: flex; align-items: center; gap: 10px; }
.mock .m-rows .r .lbl { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.09); }
.mock .m-rows .r .lbl.s { max-width: 62%; }
.mock .m-rows .r .lbl.s2 { max-width: 78%; }
.mock .m-rows .r .tick { width: 16px; height: 16px; border-radius: 5px; background: rgba(62,207,142,0.16); border: 1px solid rgba(62,207,142,0.5); }
.mock .badge-live { position: absolute; top: -14px; right: 22px; background: #101a2f; border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 7px 14px; font-size: 11px; color: #fff; letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.7); }
.mock .badge-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,207,142,0.5); } 100% { box-shadow: 0 0 0 8px rgba(62,207,142,0); } }

/* =====================================================================
   LOGOS / TRUST STRIP
   ===================================================================== */
.logos { background: var(--paper); border-bottom: 1px solid var(--line); padding: 46px 0; }
.logos .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logos .cap { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.logos .row { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.logos .row span { font-family: var(--head); font-weight: 600; font-size: 17px; color: #9aa6bd; letter-spacing: 0.01em; }

/* =====================================================================
   FEATURE GRID (core features) + generic section head
   ===================================================================== */
.sec-head { max-width: 720px; margin: 0 auto 68px; text-align: center; }
.sec-head.left { margin: 0 0 60px; text-align: left; }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 54px); font-weight: 600; line-height: 1.08; }
.sec-head p { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.65; margin: 20px auto 0; max-width: 60ch; }
.sec-head.left p { margin-left: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px 36px; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease); }
.feature:hover { transform: translateY(-6px); border-color: rgba(59,110,246,0.4); box-shadow: 0 30px 60px -34px rgba(20,40,90,0.4); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(59,110,246,0.1); margin-bottom: 22px; }
.feature .ic .g { width: 18px; height: 18px; background: var(--accent); }
.feature .ic .g.sq { border-radius: 4px; }
.feature .ic .g.ci { border-radius: 50%; }
.feature .ic .g.di { transform: rotate(45deg); border-radius: 3px; }
.feature .ic .g.ring { background: transparent; border: 4px solid var(--accent); border-radius: 50%; }
.feature .ic .g.bars { width: 20px; height: 16px; background: transparent; position: relative; }
.feature .ic .g.bars::before, .feature .ic .g.bars::after { content: ""; position: absolute; bottom: 0; width: 5px; background: var(--accent); border-radius: 2px; }
.feature .ic .g.bars::before { left: 2px; height: 16px; }
.feature .ic .g.bars::after { left: 11px; height: 9px; opacity: 0.6; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 11px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.62; }

/* =====================================================================
   PLATFORM SHOWCASE (app window + bullets)
   ===================================================================== */
.platform { background: var(--paper-2); }
.plat-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.plat-copy h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; margin: 18px 0 22px; }
.plat-copy p { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; max-width: 46ch; }
.plat-list { display: grid; gap: 18px; }
.plat-list .pl { display: flex; gap: 15px; align-items: flex-start; }
.plat-list .pl .chk { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(59,110,246,0.12); display: grid; place-items: center; margin-top: 1px; }
.plat-list .pl .chk::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-1px); }
.plat-list .pl .txt strong { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.plat-list .pl .txt span { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.appwin { background: #0d1830; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(20,40,90,0.5); }
.appwin .aw-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.07); }
.appwin .aw-bar .d { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.appwin .aw-bar .u { margin-left: 12px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255,255,255,0.05); max-width: 260px; }
.appwin .aw-body { display: grid; grid-template-columns: 92px 1fr; min-height: 340px; }
.appwin .aw-nav { border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 14px; display: grid; gap: 12px; align-content: start; }
.appwin .aw-nav i { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.08); }
.appwin .aw-nav i:first-child { background: rgba(59,110,246,0.5); }
.appwin .aw-main { padding: 22px; display: grid; gap: 16px; align-content: start; }
.appwin .aw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.appwin .aw-cards .c { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 14px; }
.appwin .aw-cards .c .kk { height: 8px; width: 60%; border-radius: 4px; background: rgba(255,255,255,0.12); }
.appwin .aw-cards .c .vv { height: 18px; width: 78%; border-radius: 5px; background: linear-gradient(90deg, #6ea0ff, #3B6EF6); margin-top: 12px; }
.appwin .aw-graph { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 16px; display: flex; align-items: flex-end; gap: 9px; height: 150px; }
.appwin .aw-graph i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(110,160,255,0.9), rgba(59,110,246,0.35)); }

/* =====================================================================
   INTEGRATIONS
   ===================================================================== */
.integrations { background: var(--paper); }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.int { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.int:hover { border-color: rgba(59,110,246,0.4); transform: translateY(-4px); }
.int .glyph { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; }
.int .glyph b { width: 15px; height: 15px; border-radius: 4px; background: var(--accent); display: block; }
.int:nth-child(3n) .glyph b { border-radius: 50%; background: var(--accent-2); }
.int:nth-child(4n) .glyph b { transform: rotate(45deg); }
.int h4 { font-family: var(--head); font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }
.int span { font-size: 12.5px; color: var(--muted); }

/* =====================================================================
   DEVELOPMENT PROCESS (stepped)
   ===================================================================== */
.proc-steps { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 8px; }
.steps .st { padding: 0 24px 0 0; position: relative; }
.steps .st .no { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--head); font-weight: 600; color: var(--accent); font-size: 15px; margin-bottom: 22px; position: relative; z-index: 2; }
.steps .st::before { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 1px; background: var(--line); z-index: 1; }
.steps .st:last-child::before { display: none; }
.steps .st h4 { font-family: var(--head); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.steps .st p { font-size: 14px; color: var(--muted); line-height: 1.6; padding-right: 10px; }

/* =====================================================================
   TECHNOLOGY STACK
   ===================================================================== */
.stack { background: var(--charcoal); color: #fff; }
.stack .sec-head h2 { color: #fff; }
.stack .sec-head p { color: rgba(255,255,255,0.62); }
.stack .sec-head .eyebrow { color: var(--olive); }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stack-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 30px 28px 32px; transition: border-color 0.4s var(--ease), background 0.4s var(--ease); }
.stack-card:hover { border-color: rgba(143,176,255,0.4); background: rgba(255,255,255,0.05); }
.stack-card .st-k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.stack-card h4 { font-family: var(--head); font-weight: 600; font-size: 19px; color: #fff; margin-bottom: 10px; }
.stack-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.62; }

/* =====================================================================
   CASE STUDIES (placeholder)
   ===================================================================== */
.cases { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(20,40,90,0.4); }
.case-card .thumb { height: 168px; position: relative; overflow: hidden; }
.case-card .thumb.c1 { background: linear-gradient(135deg, #3B6EF6, #6B4BF5); }
.case-card .thumb.c2 { background: linear-gradient(135deg, #0E1A2F, #29457e); }
.case-card .thumb.c3 { background: linear-gradient(135deg, #2f5fe0, #23c9a8); }
.case-card .thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(90% 90% at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(90% 90% at 30% 20%, #000, transparent 75%); }
.case-card .thumb .tag { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px); color: #fff; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.case-card .cc-body { padding: 26px 26px 30px; }
.case-card .cc-body .metric { font-family: var(--head); font-weight: 600; font-size: 30px; color: var(--charcoal); letter-spacing: -0.02em; }
.case-card .cc-body h4 { font-family: var(--head); font-weight: 600; font-size: 18px; margin: 6px 0 10px; }
.case-card .cc-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.case-card .cc-body .soon { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }

/* solution cards (icon, no photo) on home */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px 34px; transition: transform 0.5s var(--ease), border-color 0.4s var(--ease); position: relative; }
.sol:hover { transform: translateY(-6px); border-color: rgba(59,110,246,0.4); }
.sol .sn { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.sol h3 { font-size: 21px; font-weight: 600; margin: 14px 0 10px; }
.sol p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* industries as pills */
.ind-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ind-tags a, .ind-tags span { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--charcoal); background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 12px 22px; transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease); }
.ind-tags a:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,110,246,0.06); }

@media (max-width: 1000px) {
  .section { padding: 104px 0; }
  .hero-saas { padding: 130px 0 72px; }
  .hero-saas .hs-inner { grid-template-columns: 1fr; gap: 44px; }
  .plat-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .sol-grid, .stack-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps .st::before { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .feature-grid, .sol-grid, .stack-grid, .case-grid, .int-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .hero-saas .hs-metrics { gap: 28px; }
  .mock .m-kpis { grid-template-columns: repeat(3, 1fr); }
}
