/* =========================================================
   SDDA — Chartered Accountants · site styles
   Brand: deep green #12524a · mid green #3e8549 · lime #a9ce48
   ========================================================= */

:root {
  --accent: #12524a;
  --accent-2: #3e8549;
  --accent-soft: #e4f2b8;
  --lime: #a9ce48;
  --tint: #f3f8e2;

  --bg: #fcfcfa;
  --surface: #ffffff;
  --surface-2: #f7faee;
  --border: #e3e9d3;
  --text: #1f2622;
  --text-2: #474d49;
  --text-3: #757b77;

  --slate-900: #0a2b27;
  --slate-800: #0e3b35;
  --slate-700: #154840;
  --slate-600: #1d5a51;
  --emerald: #a9ce48;
  --emerald-2: #8fb83a;

  --ok: #3e8549;
  --warn: #b7791f;
  --bad: #c0392b;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 22, .04), 0 4px 16px rgba(16, 24, 22, .05);

  --f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-head: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Source Code Pro", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #a9ce48;
    --accent-2: #c5e07a;
    --accent-soft: #1d3d2c;
    --bg: #0a1f1c;
    --surface: #0f3f38;
    --surface-2: #13312c;
    --border: #22443c;
    --text: #e7eeeb;
    --text-2: #b3c0bb;
    --text-3: #83918b;
    --ok: #a9ce48;
    --warn: #e0a64a;
    --bad: #ef6a5b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
    --tint: #0d2622;
  }
}
:root[data-theme="dark"] {
  --accent: #a9ce48;
  --accent-2: #c5e07a;
  --accent-soft: #1d3d2c;
  --bg: #0a1f1c;
  --surface: #0f3f38;
  --surface-2: #13312c;
  --border: #22443c;
  --text: #e7eeeb;
  --text-2: #b3c0bb;
  --text-3: #83918b;
  --ok: #a9ce48;
  --warn: #e0a64a;
  --bad: #ef6a5b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  color-scheme: dark;
    --tint: #0d2622;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--f-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; color: var(--accent); letter-spacing: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 400 !important; letter-spacing: -.005em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-2); }
code, .mono { font-family: var(--f-mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.eyebrow {
  display: inline-block;
  font: 600 .74rem/1 var(--f-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .95rem/1 var(--f-body);
  padding: .85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn--primary { color: #0a2b27; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #0a2b27; } }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: var(--emerald); color: #12524a; }
.btn--light:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--outline-light { color: #e7eeeb; border-color: rgba(255,255,255,.25); background: transparent; }
.btn--outline-light:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.25rem/1 var(--f-head); letter-spacing: .02em; }
.brand-sub { font: 500 .68rem/1.2 var(--f-body); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text-2); font-weight: 500; font-size: .94rem;
  text-decoration: none; position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 3px;
  background: var(--accent); border-radius: 3px 3px 0 0;
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-btn { display: none; }
.nav-cta { margin-left: 8px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 84vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--slate-800); padding: 84px 14px 24px;
    transform: translateX(-100%); transition: transform .25s ease;
    margin: 0; z-index: 60; overflow-y: auto;
  }
  .nav-links a { color: #c9d6d1; padding: 12px 14px; font-size: 1rem; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; }
  .nav-links a:hover { background: rgba(255,255,255,.05); color: #fff; }
  .nav-links a[aria-current="page"] { color: #fff; border-left-color: var(--emerald); background: rgba(169,206,72,.08); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-links-cta { margin-top: 14px; }
  .nav-links .nav-links-cta a { background: var(--emerald); color: #12524a; text-align: center; border-radius: 8px; border: 0; font-weight: 600; }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav-actions { margin-left: auto; }
  .brand { order: 0; }
}
@media (min-width: 961px) { .nav-links .nav-links-cta { display: none; } .nav-scrim { display: none; } }
.menu-btn { order: -1; }

/* ---------- hero (dark slate + emerald) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(169,206,72,.14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(169,206,72,.08), transparent 60%),
    linear-gradient(180deg, var(--slate-900), var(--slate-800));
  color: #e7eeeb;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; padding-top: 88px; padding-bottom: 96px; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--emerald); }
.hero .eyebrow { color: var(--lime); }
.hero p { color: #b3c3bd; }
.hero .lead { color: #c3d1cc; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 30px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: #cfdbd6; }
.hero-points svg { width: 16px; height: 16px; color: var(--emerald); flex-shrink: 0; }

/* page hero (inner pages) */
.page-hero { padding-top: 56px; padding-bottom: 52px; }
.page-hero .lead { color: #c3d1cc; }
.crumbs { font-size: .82rem; color: #8ea39b; margin-bottom: 18px; }
.crumbs a { color: #b3c3bd; }

/* ---------- Automation Flow graphic ---------- */
.flow {
  --f-card: #0f3d37;
  --f-line: rgba(169,206,72,.35);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 0;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  isolation: isolate;
}
.flow-label {
  position: absolute; top: -12px; left: 22px;
  font: 600 .68rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: #12524a; background: var(--emerald); padding: 6px 10px; border-radius: 99px;
}
.flow-card {
  position: relative;
  background: var(--f-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 14px 12px;
  font-size: .78rem;
  color: #cfe0d9;
  min-width: 0;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.flow-card h4 {
  flex-wrap: wrap;
  font: 600 .7rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: #8fb3a7; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.flow-card .tag {
  white-space: nowrap;
  font: 500 .62rem/1 var(--f-mono); letter-spacing: 0; text-transform: none;
  padding: 3px 6px; border-radius: 4px; background: rgba(255,255,255,.06); color: #a9c3ba;
}
.flow-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.07); font-family: var(--f-mono); font-size: .72rem; }
.flow-row:last-of-type { border-bottom: 0; }
.flow-row span:first-child { color: #9db5ad; font-family: var(--f-body); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-row b { font-weight: 500; color: #e7eeeb; white-space: nowrap; }
.flow-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font: 600 .8rem/1 var(--f-mono); color: #fff; }

/* invoice side shimmer (being "read") */
.flow-card--in .scan {
  position: absolute; left: 0; right: 0; height: 36px; top: 0;
  background: linear-gradient(180deg, transparent, rgba(169,206,72,.18), transparent);
  border-radius: 12px; pointer-events: none;
  animation: scan 3.6s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(190px); opacity: 0; } }

/* balance sheet side: rows fade in sequentially */
.flow-card--out .flow-row, .flow-card--out .flow-total { animation: rowIn 6s ease-in-out infinite both; }
.flow-card--out .flow-row:nth-of-type(1) { animation-delay: .2s; }
.flow-card--out .flow-row:nth-of-type(2) { animation-delay: .45s; }
.flow-card--out .flow-row:nth-of-type(3) { animation-delay: .7s; }
.flow-card--out .flow-row:nth-of-type(4) { animation-delay: .95s; }
.flow-card--out .flow-row:nth-of-type(5) { animation-delay: 1.2s; }
.flow-card--out .flow-total { animation-delay: 1.45s; }
@keyframes rowIn { 0%, 8% { opacity: .25; transform: translateX(-4px); } 20%, 88% { opacity: 1; transform: none; } 100% { opacity: .25; } }

.stamp {
  position: absolute; right: 10px; bottom: 34px;
  font: 700 .62rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--emerald); border: 1.5px solid var(--emerald); border-radius: 6px;
  padding: 5px 7px; transform: rotate(-8deg); opacity: 0;
  animation: stamp 6s ease-in-out infinite; animation-delay: 1.8s;
  background: rgba(15,61,55,.85);
  display: flex; align-items: center; gap: 4px;
}
.stamp svg { width: 11px; height: 11px; }
@keyframes stamp { 0%, 6% { opacity: 0; transform: rotate(-8deg) scale(1.5); } 12%, 80% { opacity: 1; transform: rotate(-8deg) scale(1); } 92%, 100% { opacity: 0; transform: rotate(-8deg) scale(1); } }

/* pipe between cards */
.flow-pipe { position: relative; height: 100%; min-height: 200px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flow-pipe .lane { position: relative; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.flow-pipe .lane::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  animation: flowLane 2.8s linear infinite;
  opacity: .55;
}
.flow-pipe .lane:nth-child(2)::after { animation-delay: .5s; }
.flow-pipe .lane:nth-child(3)::after { animation-delay: 1s; }
.flow-pipe .lane:nth-child(4)::after { animation-delay: 1.5s; }
.flow-pipe .lane:nth-child(5)::after { animation-delay: 2s; }
@keyframes flowLane { to { left: 100%; } }
.flow-pipe .node {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #0b302b; border: 1px solid rgba(169,206,72,.45); color: var(--emerald);
  box-shadow: 0 0 0 6px rgba(169,206,72,.06);
  animation: nodePulse 2.8s ease-in-out infinite;
}
.flow-pipe .node svg { width: 20px; height: 20px; }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 6px rgba(169,206,72,.06); } 50% { box-shadow: 0 0 0 10px rgba(169,206,72,.12); } }

/* steps strip under the cards */
.flow-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.flow-step { font-size: .7rem; color: #8fb3a7; text-align: center; padding: 8px 4px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); transition: color .3s, border-color .3s, background .3s; }
.flow-step b { display: block; font: 600 .82rem/1.2 var(--f-head); color: #e7eeeb; letter-spacing: .02em; }

/* hover: data pulses & flows faster, cards lift */
.flow:hover .flow-pipe .lane { background: rgba(169,206,72,.12); }
.flow:hover .flow-pipe .lane::after { animation-duration: 1.1s; opacity: 1; }
.flow:hover .flow-card--in { transform: translateX(-3px); border-color: rgba(169,206,72,.35); }
.flow:hover .flow-card--out { transform: translateX(3px); border-color: rgba(169,206,72,.55); box-shadow: 0 0 0 1px rgba(169,206,72,.2), 0 18px 40px -16px rgba(169,206,72,.45); }
.flow:hover .flow-card--in .flow-row b { animation: dataPulse 1.1s ease-in-out infinite; }
.flow:hover .flow-card--in .flow-row:nth-of-type(2) b { animation-delay: .15s; }
.flow:hover .flow-card--in .flow-row:nth-of-type(3) b { animation-delay: .3s; }
.flow:hover .flow-card--in .flow-row:nth-of-type(4) b { animation-delay: .45s; }
.flow:hover .flow-card--in .flow-row:nth-of-type(5) b { animation-delay: .6s; }
@keyframes dataPulse { 0%,100% { color: #e7eeeb; text-shadow: none; } 50% { color: var(--emerald); text-shadow: 0 0 10px rgba(169,206,72,.6); } }
.flow:hover .flow-step { color: #bfe9d6; border-color: rgba(169,206,72,.2); }
.flow .flow-step.is-active { background: rgba(169,206,72,.12); border-color: rgba(169,206,72,.4); color: #d5f5e6; }

/* flying data packets (JS adds them) */
.packet {
  position: absolute; z-index: 2; pointer-events: none;
  font: 500 .62rem/1 var(--f-mono); color: #12524a;
  background: var(--emerald); padding: 3px 6px; border-radius: 4px;
  box-shadow: 0 0 12px rgba(169,206,72,.6);
  animation: packet 1.1s cubic-bezier(.5,0,.3,1) forwards;
}
@keyframes packet {
  0% { opacity: 0; transform: translate(0, 0) scale(.8); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); }
}

@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; padding: 18px 14px; }
  .flow-pipe { min-height: 64px; flex-direction: row; gap: 10px; justify-content: center; }
  .flow-pipe .lane { width: 2px; height: 48px; }
  .flow-pipe .lane::after { left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--emerald), transparent); animation-name: flowLaneV; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
}
@keyframes flowLaneV { from { top: -40%; } to { top: 100%; } }

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

/* ---------- KPI / stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-num { font: 700 clamp(1.6rem, 5vw, 2.2rem)/1.05 var(--f-head); color: var(--accent); }
.stat-label { font-size: .86rem; color: var(--text-2); margin-top: 8px; }
.stats-band { margin-top: -36px; position: relative; z-index: 2; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); min-width: 0;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.card--link:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .92rem; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card--link:hover .more svg { transform: translateX(3px); }

.ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; flex-shrink: 0;
}
.ico svg { width: 22px; height: 22px; }
.num-badge { font: 700 .78rem/1 var(--f-mono); color: var(--accent); background: var(--accent-soft); padding: 5px 8px; border-radius: 6px; display: inline-block; margin-bottom: 12px; }

.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--accent); }
.pillar ul { margin: 12px 0 0; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d8448' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 500; }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps--5 { }
@media (min-width: 1000px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 700 1.6rem/1 var(--f-head); color: var(--accent); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- tables ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--f-head); font-weight: 600; font-variant-numeric: tabular-nums; }
td .mono { color: var(--text-3); }

/* stacked table on mobile */
@media (max-width: 680px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: 3px 0; }
  table.stack td::before { content: attr(data-label); display: block; font: 600 .68rem/1.4 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  table.stack td.num { text-align: left; }
}

/* status pills (always icon + label) */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.status svg { width: 13px; height: 13px; }
.status--ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.status--warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.status--bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }

/* ---------- split / feature rows ---------- */
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--rev > :first-child { order: 2; } }

/* ---------- ERP Before / After ---------- */
.ba { position: relative; }
.ba-tabs {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px;
}
.ba-tab {
  font: 600 .9rem/1 var(--f-body); padding: 10px 16px; border-radius: 7px; border: 0; cursor: pointer;
  background: transparent; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px;
}
.ba-tab svg { width: 16px; height: 16px; }
.ba-tab[aria-selected="true"][data-side="before"] { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.ba-tab[aria-selected="true"][data-side="after"] { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .ba-tab[aria-selected="true"][data-side="after"] { color: #0a2b27; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ba-tab[aria-selected="true"][data-side="after"] { color: #0a2b27; } }

.ba-stage {
  --pos: 50%;
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  min-height: 440px; user-select: none; touch-action: pan-y;
  background: var(--surface);
}
.ba-pane { position: absolute; inset: 0; padding: 22px; overflow: hidden; }
.ba-pane--after { background: linear-gradient(170deg, var(--slate-800), var(--slate-900)); color: #e7eeeb; }
.ba-pane--before {
  background: #f3efe6; color: #3b3a36;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  z-index: 2;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 18px rgba(169,206,72,.6); }
.ba-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--slate-800); border: 0; cursor: ew-resize;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-cap {
  position: absolute; top: 14px; z-index: 5; font: 600 .68rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 99px; pointer-events: none;
}
.ba-cap--before { left: 14px; background: #c0392b; color: #fff; }
.ba-cap--after { right: 14px; background: var(--emerald); color: #12524a; }

/* legacy (before) content */
.legacy { position: relative; height: 100%; padding-top: 30px; font-family: "Courier New", var(--f-mono); }
.legacy h4 { font: 700 1.1rem/1.2 "Courier New", monospace; color: #3b3a36; margin: 0 0 10px; }
.legacy-sheet { background: #fffdf7; border: 1px solid #d9d2c1; padding: 10px; font-size: .72rem; line-height: 1.4; transform: rotate(-1deg); max-width: 440px; }
.legacy-sheet .r { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; border-bottom: 1px solid #ece5d3; padding: 3px 0; }
.legacy-sheet .r span:nth-child(n+2) { text-align: right; }
.legacy-sheet .x { color: #c0392b; font-weight: 700; }
.legacy-alert {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fde2df; color: #9b2c20; border: 1px solid #f3b4ab; border-radius: 4px;
  font: 600 .72rem/1.2 var(--f-body); padding: 6px 9px; margin: 6px 6px 0 0;
}
.legacy-alert svg { width: 13px; height: 13px; flex-shrink: 0; }
.legacy-notes { margin: 14px 0 0; padding-left: 18px; font-size: .78rem; color: #5b574d; max-width: 440px; }
.legacy-notes li { margin-bottom: 3px; }
.sticky-note {
  position: absolute; right: 8%; top: 54%; width: 150px; padding: 10px; font: .75rem/1.35 "Comic Sans MS", "Segoe Print", cursive;
  background: #fff3a6; color: #5b4f00; transform: rotate(4deg); box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.sticky-note.n2 { right: 26%; top: 74%; transform: rotate(-5deg); background: #ffd9a6; color: #6b3d00; }

/* erp (after) content */
.erp { display: grid; grid-template-columns: 148px 1fr; gap: 14px; height: 100%; padding-top: 30px; }
.erp-side { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 12px 8px; font-size: .74rem; }
.erp-side .g { font: 600 .6rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #6f8f85; margin: 10px 8px 6px; }
.erp-side .g:first-child { margin-top: 2px; }
.erp-side .it { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 6px; color: #b9cdc6; border-left: 2px solid transparent; }
.erp-side .it.on { background: rgba(169,206,72,.1); color: #fff; border-left-color: var(--emerald); }
.erp-side .bd { font: 600 .6rem/1 var(--f-mono); padding: 2px 5px; border-radius: 99px; background: rgba(255,255,255,.08); }
.erp-side .bd.red { background: #c0392b; color: #fff; }
.erp-main { min-width: 0; display: grid; gap: 12px; align-content: start; }
.erp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.erp-kpi { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; }
.erp-kpi small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb3a7; }
.erp-kpi b { font: 700 1.35rem/1.1 var(--f-head); color: #fff; }
.erp-kpi i { font-style: normal; font-size: .66rem; color: var(--emerald); display: flex; align-items: center; gap: 3px; }
.erp-kpi i svg { width: 11px; height: 11px; }
.erp-chart { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; }
.erp-chart small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb3a7; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 78px; margin-top: 8px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--emerald), rgba(169,206,72,.35)); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow 1s ease both; }
.bars span:nth-child(odd) { opacity: .75; }
@keyframes grow { from { transform: scaleY(0); } }
.erp-checks { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 8px 12px; font-size: .74rem; }
.erp-checks .c { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.07); color: #cfe0d9; }
.erp-checks .c:last-child { border-bottom: 0; }
.erp-checks .ok { display: inline-flex; align-items: center; gap: 4px; color: var(--emerald); font-weight: 600; font-size: .68rem; white-space: nowrap; }
.erp-checks .ok svg { width: 12px; height: 12px; }

@media (max-width: 700px) {
  .ba-stage { min-height: 560px; }
  .erp { grid-template-columns: 1fr; }
  .erp-side { display: none; }
  .erp-kpi b { font-size: 1.1rem; }
  .sticky-note { right: 4%; top: 64%; width: 130px; }
  .sticky-note.n2 { display: none; }
}

/* ---------- Concept cards (internal audit) ---------- */
.concept { display: flex; flex-direction: column; }
.concept .tagline { font: 600 .74rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.concept .ticks { margin: 14px 0 16px; }

/* matrix demo */
.matrix .code { font-family: var(--f-mono); font-size: .82rem; color: var(--text-3); }

/* ---------- dashboard mock (Power BI) ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-top b { font: 600 .95rem/1.2 var(--f-head); }
.mock-top small { font-size: .72rem; color: var(--text-3); }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .mock-kpis { grid-template-columns: repeat(4, 1fr); } }
.mock-kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.mock-kpi small { display: block; font-size: .68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.mock-kpi b { font: 700 1.3rem/1.2 var(--f-head); }
.mock-kpi .status { margin-top: 4px; font-size: .68rem; padding: 2px 7px; }
.ageing { display: grid; gap: 8px; }
.ageing .a { display: grid; grid-template-columns: 74px 1fr 40px; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-2); }
.ageing .track { height: 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.ageing .fill { height: 100%; background: var(--accent); border-radius: 99px; }
.ageing .a b { font: 600 .82rem/1 var(--f-head); text-align: right; }

/* ---------- training levels ---------- */
.level .lvl { font: 700 .78rem/1 var(--f-mono); color: var(--accent); }
.level h3 { margin-top: 6px; }
.level .who { font-size: .88rem; color: var(--text-3); margin-bottom: 12px; }
.level .case { font-size: .86rem; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--slate-800), #0f3f38);
  color: #e7eeeb; border-radius: 18px; padding: 40px 28px; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(169,206,72,.25), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { color: #b8c9c3; }
.cta-grid { display: grid; gap: 28px; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta { padding: 52px 48px; } .cta-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.cta-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cta-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.cta-steps .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem/1 var(--f-head); color: #12524a; background: var(--emerald); }
.cta-steps b { color: #fff; display: block; font-weight: 600; }
.cta-steps span { font-size: .9rem; color: #a8bbb4; }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 680px) { .industries { grid-template-columns: repeat(4, 1fr); } }
.industry { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-weight: 500; font-size: .95rem; }
.industry svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: var(--surface); margin: 0; font-weight: 400; }
.checks input { accent-color: var(--accent); width: auto; }
.form-note { font-size: .82rem; color: var(--text-3); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.contact-list .ico { margin: 0; width: 40px; height: 40px; }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--text); }

/* ---------- vision / mission ---------- */
.vm { border-left: 3px solid var(--accent); }
.vm p { font-family: var(--f-head); font-size: 1.3rem; line-height: 1.35; color: var(--text); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate-900); color: #a8bbb4; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #cfdbd6; }
.site-footer a:hover { color: var(--emerald); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #6f8f85; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #7f978f; }
.site-footer p { color: #93a8a0; font-size: .92rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; color: #7f978f; }
.footer-bottom button { background: none; border: 0; color: #cfdbd6; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- ICAI disclaimer ---------- */
.disclaimer {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px;
  background: rgba(6, 30, 27, .72); backdrop-filter: blur(4px);
}
.disclaimer.is-open { display: grid; }
.disclaimer-box { background: var(--surface); color: var(--text); border-radius: 14px; max-width: 580px; width: 100%; padding: 28px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,.35); max-height: 90vh; overflow-y: auto; }
.disclaimer-box h3 { font-size: 1.4rem; }
.disclaimer-box p { font-size: .92rem; }
.disclaimer-box ul { padding-left: 18px; font-size: .9rem; color: var(--text-2); }
.disclaimer-box li { margin-bottom: 6px; }

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.center { text-align: center; }
.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; }
.note { font-size: .84rem; color: var(--text-3); }
.divider { height: 1px; background: var(--border); margin: 28px 0; border: 0; }
[hidden] { display: none !important; }

/* ---------- home: services overview ---------- */
.svc-group { font-size: 1.15rem; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.svc-group .muted { font: 400 .88rem/1.4 var(--f-body); }
.svc { padding: 20px; }
.svc .ico { width: 40px; height: 40px; margin-bottom: 12px; }
.svc h3 { font-size: 1.12rem; }
.svc p { font-size: .9rem; }
.cta-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cta-links a {
  display: grid; grid-template-columns: 22px 1fr 18px; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: #e7eeeb; text-decoration: none; transition: border-color .2s, background .2s;
}
.cta-links a:hover { border-color: var(--emerald); background: rgba(169,206,72,.08); }
.cta-links svg { width: 20px; height: 20px; color: var(--emerald); }
.cta-links b { display: block; font-weight: 600; }
.cta-links small { color: #a8bbb4; font-size: .84rem; }

/* ---------- home hero: credentials + photo collage ---------- */
.hero-cred { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-cred li { padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); min-width: 0; }
.hero-cred b { display: block; font: 700 1.25rem/1.15 var(--f-head); color: #fff; }
.hero-cred span { font-size: .8rem; color: #a8bbb4; }
@media (max-width: 520px) { .hero-cred { grid-template-columns: 1fr; } .hero-cred li { display: flex; align-items: baseline; gap: 10px; } }

.hero-photos { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 420px; }
.hp { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); background: var(--slate-700); }
.hp img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp:hover img { transform: scale(1.04); }
.hp--main { grid-row: 1 / 3; }
.hp-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(10,43,39,.88); border: 1px solid rgba(169,206,72,.35); backdrop-filter: blur(6px);
  color: #e7eeeb; box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.hp-badge svg { width: 22px; height: 22px; color: var(--emerald); flex-shrink: 0; }
.hp-badge b { display: block; font-size: .88rem; }
.hp-badge small { font-size: .74rem; color: #a8bbb4; }
.hp-badge--top { top: 18px; left: -14px; }
.hp-badge--bottom { bottom: 18px; right: 18px; }
@media (max-width: 999px) { .hp-badge--top { left: 12px; } }
@media (max-width: 560px) {
  .hero-photos { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px; }
  .hp--main { grid-row: 1; grid-column: 1 / 3; }
  .hp-badge--bottom { display: none; }
}

/* ---------- who we are ---------- */
.photo-stack { position: relative; padding: 0 0 48px 0; }
.ps-main { width: 88%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.ps-inset { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 6px solid var(--bg); box-shadow: 0 18px 36px -14px rgba(0,0,0,.35); }
.values { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 22px 0; }
@media (min-width: 560px) { .values { grid-template-columns: 1fr 1fr; } }
.values > div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .86rem; color: var(--text-2); }
.values svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.values b { display: block; color: var(--text); font-size: .93rem; }
.vm-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .vm-row { grid-template-columns: 1fr 1fr; } }
.vm-row .card { padding: 16px 18px; }
.vm-row .vm p { font-size: 1.05rem; margin: 0; }
.vm-row .eyebrow { margin-bottom: 6px; }

/* ---------- photo service cards ---------- */
.card--photo { padding: 0; overflow: hidden; }
.card--photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.card--photo:hover img { transform: scale(1.04); }
.card--photo .cp-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--accent); position: relative; background: var(--surface); }

/* ---------- reviews ---------- */
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.review .quote { font: 700 3.4rem/0.6 var(--f-head); color: var(--accent); height: 22px; }
.review blockquote { margin: 0; font-size: 1rem; color: var(--text); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.review .avatar svg { width: 20px; height: 20px; }
.review b { display: block; font-size: .92rem; }
.review small { color: var(--text-3); font-size: .82rem; }
.review--placeholder { border-style: dashed; box-shadow: none; }
.review--placeholder blockquote, .review--placeholder b { color: var(--text-3); font-style: italic; }

/* flow graphic on light pages */
.flow-dark { background: linear-gradient(180deg, var(--slate-900), var(--slate-800)); border-radius: 20px; padding: 34px 18px 18px; }
.ps-main, .ps-inset, .card--photo img { height: auto; }
.card--photo img { flex-shrink: 0; }

/* Mobile menu fix: backdrop-filter on the header traps the fixed slide-out menu
   inside the 68px header. Use a solid header on small screens instead. */
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .nav-links { padding-top: 24px; }
  .nav-links::before { content: "Menu"; display: block; padding: 8px 14px 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); font: 600 .7rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #6f8f85; }
}

/* =========================================================
   Brand alignment with the SDDA firm profile (PDF)
   DM Serif Display: titles & big numbers · Source Sans 3: everything else
   Dark teal #12524a · mid green #3e8549 · lime #a9ce48 · pale lime #e4f2b8 · tint #f3f8e2
   ========================================================= */
.eyebrow { color: var(--accent-2); font-weight: 700; letter-spacing: .2em; font-size: .72rem; }
.hero .eyebrow { color: var(--lime); }
.section--alt { background: var(--tint); border-color: var(--border); }
.site-header { border-bottom: 3px solid var(--lime); }

/* wordmark: serif name + plain "Chartered Accountants", as in the profile header */
.brand-mark { width: 30px; height: 42px; }
.brand-name { font: 400 1.55rem/1 var(--f-display); letter-spacing: 0; color: var(--accent); }
.brand-sub { font: 400 .8rem/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-3); margin-top: 3px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #b9c9c4; }

/* display numbers */
.stat-num, .step::before, .hero-cred b, .cta-steps .n { font-family: var(--f-display); font-weight: 400; }
.stat-num { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.hero-cred b { font-size: 1.4rem; }
.vm p { font-family: var(--f-display); font-weight: 400; color: var(--accent); }

/* cards: like the profile's pale-lime service boxes */
.card { border-color: var(--border); }
.section--alt .card { border-color: transparent; }
.card h3 { color: var(--accent); }
.pillar::before, .card--photo .cp-body { border-top-color: var(--lime); }
.pillar::before { background: var(--lime); }
.ico { background: var(--accent-soft); color: var(--accent); }
.vm { border-left-color: var(--lime); }
.ticks li::before {
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312524a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* buttons: dark teal primary, lime on dark backgrounds */
.btn--primary { background: var(--accent); color: #fff; }
.btn--light { background: var(--lime); color: #12524a; }
.nav-links a[aria-current="page"]::after { background: var(--lime); height: 3px; bottom: -15px; }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
@media (max-width: 960px) { .nav-links a[aria-current="page"] { color: #fff; } }

/* dark hero & bands in brand teal */
.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(169,206,72,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(62,133,73,.25), transparent 60%),
    linear-gradient(180deg, #0e3b35, #12524a);
}
.hero h1 em { color: var(--lime); }
.cta { background: linear-gradient(135deg, #0e3b35, #12524a); }
.site-footer { background: #0a2b27; border-top: 3px solid var(--lime); }

/* dark mode: headings in light text, lime accents */
:root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] .card h3 { color: var(--text); }
:root[data-theme="dark"] .btn--primary { background: var(--lime); color: #12524a; }
:root[data-theme="dark"] .brand-name { color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) h1, :root:not([data-theme="light"]) h2, :root:not([data-theme="light"]) .card h3 { color: var(--text); }
  :root:not([data-theme="light"]) .btn--primary { background: var(--lime); color: #12524a; }
  :root:not([data-theme="light"]) .brand-name { color: #fff; }
}
.hero h1, .cta h2 { color: #fff; }
#who-we-are .split { align-items: start; }
@media (min-width: 960px) { #who-we-are .photo-stack { position: sticky; top: 96px; } }
