/* ==========================================================================
   Bright Figures LLC — Site Styles
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0a1b2e;
  --ink-2: #12294a;
  --ink-3: #1d3a63;
  --gold: #f5b83d;
  --gold-deep: #a86f00;
  --gold-soft: #fff4dc;
  --teal: #0f9d74;
  --teal-soft: #e3f6ef;
  --blue: #3b6fd8;

  /* Neutrals */
  --text: #1a2a3c;
  --muted: #5a6a7e;
  --subtle: #8796a8;
  --line: #e4e9f0;
  --line-strong: #d3dbe6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef3f9;

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 46, .06), 0 1px 3px rgba(10, 27, 46, .05);
  --shadow: 0 10px 30px -12px rgba(10, 27, 46, .18), 0 2px 6px rgba(10, 27, 46, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 27, 46, .28), 0 8px 20px -8px rgba(10, 27, 46, .12);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.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(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }

.h-display { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.h-xl { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.h-lg { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 750; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.hl { color: var(--gold-deep); }
.section-dark .hl, .on-dark .hl { color: var(--gold); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 27, 46, .5); }
.btn-primary:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(245, 184, 61, .7); }
.btn-gold:hover { background: #ffc756; transform: translateY(-1px); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  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.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 27, 46, .35); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-text small { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; color: var(--subtle); }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text);
  background: none; border: 0; cursor: pointer; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.has-mega .nav-link[aria-current="page"]::after { margin-left: -14px; }
.sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -10px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--muted); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-mega:hover .sub-toggle .icon, .has-mega.open .sub-toggle .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(880px, calc(100vw - 48px));
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 26px 26px 18px; }
.mega-title { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); padding: 0 10px 10px; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background-color .15s, color .15s; }
.mega-col a .icon { width: 18px; height: 18px; color: var(--ink-3); }
.mega-col a:hover { background: var(--bg-soft); color: var(--ink); }
.mega-col a:hover .icon { color: var(--gold-deep); }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 26px; background: var(--bg-soft); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.mega-foot p { font-size: 14px; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-mobile-cta { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #c9d4e3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #a9b8cc; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(245, 184, 61, .16), transparent 60%),
    radial-gradient(800px 520px at 0% 0%, rgba(59, 111, 216, .09), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #fff 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.hero-badge b { white-space: nowrap; display: inline-grid; place-items: center; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.hero-points .icon { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.4; }

/* Hero dashboard visual */
.hero-visual { position: relative; padding: 24px 0 24px 24px; }
.dash {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 22px; font-size: 13px;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.dash-sub { font-size: 12px; color: var(--subtle); }
.dash-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.kpi-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.kpi-value { font-family: var(--font-head); font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--teal); }
.delta.neutral { color: var(--muted); }
.chart-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.chart-head strong { font-family: var(--font-head); font-size: 13px; color: var(--ink); }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--subtle); padding: 4px 2px 2px; font-variant-numeric: tabular-nums; }
.line-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.2s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-size: 13px; animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.float-card .fc-icon.gold { background: var(--gold-soft); color: var(--gold-deep); }
.float-card .fc-icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 13.5px; }
.float-card span { color: var(--muted); font-size: 12px; }
.fc-1 { left: -18px; bottom: -36px; }
.fc-2 { right: -14px; top: -34px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Positioning / journey ---------- */
.positioning { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: 64px; }
.positioning .lead + .lead { margin-top: 16px; }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--gold) 85%); }
.journey li { position: relative; text-align: center; padding: 0 10px; }
.j-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-strong); color: var(--ink); box-shadow: var(--shadow-sm); }
.j-dot .icon { width: 22px; height: 22px; }
.journey li:last-child .j-dot { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.j-step { font-family: var(--font-head); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--subtle); }
.journey h3 { font-size: 17px; margin: 4px 0 6px; }
.journey p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--bg-tint); color: var(--ink-3); margin-bottom: 22px; transition: background-color .25s, color .25s; }
.svc-icon .icon { width: 24px; height: 24px; }
.svc-card:hover .svc-icon { background: var(--ink); color: var(--gold); }
.svc-num { position: absolute; top: 26px; right: 24px; font-family: var(--font-head); font-size: 12px; font-weight: 800; color: var(--line-strong); letter-spacing: .06em; }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.svc-card .link-arrow { margin-top: 20px; font-size: 14px; }
.svc-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card-cta { grid-column: span 2; background: var(--ink); border-color: var(--ink); color: #b8c6d8; justify-content: space-between; overflow: hidden; }
.svc-card-cta:hover { border-color: var(--ink); }
.svc-card-cta h3 { color: #fff; font-size: 22px; max-width: 360px; }
.svc-card-cta p { flex: none; color: #a9b8cc; max-width: 420px; }
.svc-card-cta .btn { align-self: flex-start; margin-top: 22px; }
.svc-card-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(245, 184, 61, .12); pointer-events: none; }

/* ---------- Dashboards showcase ---------- */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--teal); stroke-width: 2.4; }
.section-dark .check-list .icon { color: var(--gold); }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.showcase .check-list { margin: 32px 0 36px; color: #dbe4f0; font-size: 15px; }

.board { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255, 255, 255, .1); }
.widget { background: #fff; border-radius: 14px; padding: 16px; color: var(--text); font-size: 12.5px; }
.widget h4 { font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.widget h4 span { font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--subtle); letter-spacing: 0; }
.widget-wide { grid-column: span 2; }
.big-num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 130px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.bar-group { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.bar { width: 42%; max-width: 18px; border-radius: 4px 4px 0 0; background: var(--ink-3); transform-origin: bottom; }
.bar.budget { background: #cbd6e6; }
.bar.actual { background: var(--ink-3); }
.bar-labels { display: flex; gap: 12px; margin-top: 6px; }
.bar-labels span { flex: 1; text-align: center; font-size: 10.5px; color: var(--subtle); }
.hbars { display: grid; gap: 10px; }
.hbar-row { display: grid; grid-template-columns: 72px 1fr 34px; align-items: center; gap: 8px; font-size: 11.5px; }
.hbar-row span:first-child { color: var(--muted); }
.hbar-row b { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hbar-track { height: 8px; border-radius: 99px; background: var(--bg-tint); overflow: hidden; }
.hbar-track i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.aging { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: 6px 0 12px; }
.aging i { display: block; height: 100%; }
.aging-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 11px; color: var(--muted); }
.aging-legend span { display: flex; align-items: center; gap: 6px; }
.aging-legend em { width: 8px; height: 8px; border-radius: 2px; }
.aging-legend b { margin-left: auto; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.value { background: #fff; padding: 36px 32px; transition: background-color .25s; }
.value:hover { background: #fcfdfe; }
.value-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 20px; }
.value-icon .icon { width: 22px; height: 22px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }

/* ---------- Serve ---------- */
.serve { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.chip .icon { width: 17px; height: 17px; color: var(--ink-3); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: proc; }
.process li { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); counter-increment: proc; }
.process li::before { content: "0" counter(proc); display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); margin-bottom: 22px; }
.process h3 { font-size: 18px; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(44px, 6vw, 80px); background: var(--ink); color: #b8c6d8; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 100% 0%, rgba(245, 184, 61, .22), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(59, 111, 216, .25), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { font-size: 17px; max-width: 580px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; }
.page-hero h1 { margin: 18px 0 20px; max-width: 860px; }
.page-hero .lead { max-width: 680px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--subtle); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

/* ---------- Services page ---------- */
.cat-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.cat-nav a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.cat-nav a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-nav small { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--gold-deep); }
.cat-nav strong { font-family: var(--font-head); font-size: 16.5px; color: var(--ink); line-height: 1.3; }
.cat-nav span { font-size: 13.5px; color: var(--muted); }

.cat-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-bottom: 48px; max-width: 900px; }
.cat-num { font-family: var(--font-head); font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.cat-head .lead { margin-top: 12px; }

.svc-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 72px); padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-detail + .svc-detail { margin-top: 20px; }
.svc-detail:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .18); }
.svc-detail .svc-icon { margin-bottom: 20px; }
.svc-detail h3 { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 14px; }
.svc-detail .tagline { font-family: var(--font-head); font-weight: 700; color: var(--gold-deep); margin-bottom: 12px; font-size: 16px; }
.svc-detail p { color: var(--muted); }
.svc-detail .btn { margin-top: 28px; }
.incl { padding: 28px; border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); align-self: start; }
.incl h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 18px; }
.incl .check-list { font-size: 14.5px; }
.incl .check-list .icon { width: 18px; height: 18px; }
.sub-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.sub-area { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.sub-area:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .18); }
.sub-area h4 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sub-area h4 .icon { color: var(--gold-deep); }
.sub-area .check-list { font-size: 14.5px; gap: 9px; }
.sub-area .check-list .icon { width: 17px; height: 17px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 20px; }
.prose p.big { font-family: var(--font-head); font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.quote-card { position: relative; padding: 44px; border-radius: var(--r-lg); background: var(--ink); color: #c9d4e3; overflow: hidden; }
.quote-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(245, 184, 61, .12); }
.quote-card blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.35; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.quote-card blockquote span { color: var(--gold); }
.quote-card p { margin-top: 22px; font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { padding: 34px 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.principle .value-icon { background: var(--bg-tint); color: var(--ink-3); }
.principle h3 { font-size: 19px; margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ind-card .svc-icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; }
.ind-card .svc-icon .icon { width: 21px; height: 21px; }
.ind-card:hover .svc-icon { background: var(--ink); color: var(--gold); }
.ind-card h3 { font-size: 17px; margin-bottom: 8px; }
.ind-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ind-cta { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--ink); border-color: var(--ink); }
.ind-cta:hover { border-color: var(--ink); }
.ind-cta h3 { color: #fff; font-size: 20px; }
.ind-cta p { color: #a9b8cc; margin: 8px 0 18px; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.group-title h2 { font-size: clamp(22px, 2.4vw, 28px); }
.group-title p { color: var(--muted); font-size: 15px; max-width: 440px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--gold-deep); }
.field label .opt { color: var(--subtle); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #a3afbe; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c5d4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(29, 58, 99, .1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d14343; }
.field .error { display: none; font-size: 13px; color: #c23636; font-weight: 500; }
.field.invalid .error { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--subtle); }
.form-note .icon { width: 16px; height: 16px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .value-icon { margin: 0 auto 20px; width: 60px; height: 60px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.form-success .value-icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }
.form-card.sent form, .form-card.sent > h2, .form-card.sent > p { display: none; }
.form-card.sent .form-success { display: block; }
.btn[disabled] { opacity: .65; cursor: progress; }

.aside-stack { display: grid; gap: 18px; }
.info-card { padding: 30px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.info-card h3 { font-size: 18px; margin-bottom: 18px; }
.info-list { display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.info-list .ic .icon { width: 19px; height: 19px; }
.info-list small { display: block; font-size: 12.5px; color: var(--subtle); font-weight: 500; }
.info-list a, .info-list strong { font-weight: 600; color: var(--ink); font-size: 15px; }
.info-list a:hover { color: var(--gold-deep); }
.steps { display: grid; gap: 18px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; counter-increment: st; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.steps strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.info-card.dark { background: var(--ink); border-color: var(--ink); color: #b8c6d8; }
.info-card.dark h3 { color: #fff; }
.info-card.dark p { font-size: 14.5px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 14px; color: var(--subtle); }

/* ---------- Footer ---------- */
.site-footer { background: #071422; color: #97a7bc; padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #6f8197; }
.footer-brand .services-line { margin-top: 22px; font-size: 13px; letter-spacing: .04em; color: #c2cfdf; font-weight: 600; }
.footer-brand .tagline { margin-top: 10px; font-family: var(--font-head); font-size: 17px; line-height: 1.45; color: #fff; font-weight: 600; max-width: 320px; }
.footer-brand .btn { margin-top: 26px; }
.site-footer h4 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }
.disclaimer { padding-bottom: 32px; font-size: 12.5px; line-height: 1.65; color: #6f8197; max-width: 900px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.in > *:nth-child(n+7) { transition-delay: .36s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    display: block; padding: 16px var(--gutter) 32px; overflow-y: auto; background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 17px; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold-deep); }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .has-mega:hover .sub-toggle .icon { transform: none; }
  .has-mega.open .sub-toggle .icon { transform: rotate(180deg); }
  .mega, .has-mega:hover .mega, .has-mega:focus-within .mega {
    position: static; width: 100%; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-radius: 0; display: none; transition: none;
  }
  .has-mega.open .mega { display: block; transform: none; }
  .mega::before { display: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; padding: 4px 0 16px; gap: 16px 8px; }
  .mega-title { padding-left: 0; }
  .mega-col a { padding: 8px 0; }
  .mega-foot { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }

  .hero-grid, .showcase, .serve, .about-grid, .contact-grid, .positioning { grid-template-columns: minmax(0, 1fr); }
  .positioning { align-items: start; }
  .hero-visual { max-width: 600px; padding-left: 0; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .journey::before { display: none; }
  .cat-nav { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; padding: 32px; }
  .sub-areas, .principles { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .board { order: 2; }
}

@media (max-width: 720px) {
  .svc-grid, .ind-grid { grid-template-columns: 1fr 1fr; }
  .group-title { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section-head { margin-bottom: 40px; }
  .svc-grid, .ind-grid, .values-grid, .process, .cat-nav, .form-grid, .check-list.cols-2 { grid-template-columns: 1fr; }
  .svc-card-cta, .ind-cta { grid-column: auto; }
  .journey { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .fc-1 { left: 8px; bottom: -14px; }
  .fc-2 { right: 8px; top: -18px; }
  .board { grid-template-columns: 1fr; padding: 10px; }
  .widget-wide { grid-column: auto; }
  .bars { gap: 6px; }
  .bar-labels { gap: 6px; }
  .cat-head { grid-template-columns: 1fr; gap: 8px; }
  .svc-detail { padding: 24px 20px; }
  .incl { padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .mega-grid { grid-template-columns: 1fr; }
  .value { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line-draw { stroke-dashoffset: 0; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
