/* Layout: Fiori-style launchpad. Shell bar on top, a blue header band with a clickable
   process flow, then sections built from tiles, an icon-tab bar and expandable cards. */
:root {
  --bg: #000000;
  --surface: #111111;
  --ink: #FFFFFF;
  --muted: #FFFFFF;
  --line: #262626;
  --brand: #4DA8F0;
  --brand-ink: #06243D;
  --brand-soft: #0F1E2E;
  --gold: #F0AB00;
  --hero-a: #0B4F8A;
  --hero-b: #0E2A4F;
  --hero-ink: #FFFFFF;
  --hero-muted: #FFFFFF;
  --hero-panel: #12355F;
  --hero-line: #3A6FA8;
  --hero-accent: #FFFFFF;
  --wa: #25D366;
  --wa-ink: #06260F;
  --warn: #FFB14A;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-up: 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 168, 240, 0.55);
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1140px;
  --r: 12px;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #111111; --ink: #FFFFFF; --muted: #FFFFFF; --line: #262626;
    --brand: #4DA8F0; --brand-ink: #06243D; --brand-soft: #0F1E2E;
    --gold: #F0AB00;
    --hero-a: #0B4F8A; --hero-b: #0E2A4F; --hero-ink: #FFFFFF; --hero-muted: #FFFFFF;
    --hero-panel: #12355F; --hero-line: #3A6FA8; --hero-accent: #FFFFFF;
    --wa: #25D366; --wa-ink: #06260F; --warn: #FFB14A;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    --shadow-up: 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 168, 240, 0.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #111111; --ink: #FFFFFF; --muted: #FFFFFF; --line: #262626;
  --brand: #4DA8F0; --brand-ink: #06243D; --brand-soft: #0F1E2E;
  --gold: #F0AB00;
  --hero-a: #0B4F8A; --hero-b: #0E2A4F; --hero-ink: #FFFFFF; --hero-muted: #FFFFFF;
  --hero-panel: #12355F; --hero-line: #3A6FA8; --hero-accent: #FFFFFF;
  --wa: #25D366; --wa-ink: #06260F; --warn: #FFB14A;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-up: 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(77, 168, 240, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--warn); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 40px; }
.head { display: grid; gap: 10px; margin-bottom: 30px; }
.head h2 { font-size: clamp(28px, 3.6vw, 38px); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.lede { color: var(--muted); max-width: 64ch; }
.tcode { font-family: var(--mono); font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }

/* Shell bar */
.shell { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.shell .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 8px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); border-radius: 8px 8px 0 0; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 16px; text-decoration: none; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--brand); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
.btn-solid { background: var(--brand); color: var(--brand-ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); border-color: var(--wa); }
.btn-light { background: var(--hero-ink); color: var(--hero-b); border-color: var(--hero-ink); }
.btn-outline { background: transparent; color: var(--hero-ink); border-color: var(--hero-muted); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); color: var(--hero-ink); padding-block: 60px 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.hero .lede { max-width: 64ch; }
.portrait { display: block; width: 280px; height: auto; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.hero .kicker { color: var(--hero-accent); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-block: 14px 18px; }
.hero h1 em { font-style: normal; color: var(--hero-accent); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hero .lede { color: var(--hero-muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.flow { background: var(--hero-panel); border: 1px solid var(--hero-line); border-radius: var(--r); padding: 20px; min-width: 0; }
.flow-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--hero-muted); margin-bottom: 12px; }
.flow-steps { display: grid; gap: 8px; }
.step { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; background: transparent; border: 1px solid var(--hero-line); border-radius: 10px; padding: 11px 14px; cursor: pointer; color: var(--hero-ink); transition: background 0.15s, border-color 0.15s; }
.step:hover { border-color: var(--hero-accent); }
.step[aria-pressed="true"] { background: var(--hero-ink); color: var(--hero-b); border-color: var(--hero-ink); }
.step .n { font-family: var(--mono); font-size: 13px; opacity: 0.8; }
.step strong { font-weight: 600; }
.step code { font-family: var(--mono); font-size: 12.5px; padding: 2px 8px; border-radius: 6px; border: 1px solid currentColor; opacity: 0.85; }
.flow-detail { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--hero-line); font-size: 15.5px; color: var(--hero-muted); min-height: 4.6em; }
.flow-detail strong { color: var(--hero-ink); display: block; margin-bottom: 2px; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: -52px; position: relative; }
.kpi { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border-bottom: 4px solid var(--brand); padding: 18px; min-width: 0; transition: transform 0.15s, box-shadow 0.15s; }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.kpi b { display: block; font-size: clamp(30px, 3.6vw, 40px); line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.kpi b { font-weight: 700; }
.kpi span { display: block; margin-top: 8px; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; }

/* Services: icon-tab bar + list */
.panel { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 16px 14px 13px; font-weight: 600; font-size: 16.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--brand); }
.tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tab small { font-family: var(--mono); font-size: 12px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.tabpanel { padding: 22px 24px 12px; }
.tabpanel > p { color: var(--muted); margin-bottom: 10px; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 8px; border-top: 1px solid var(--line); border-radius: 6px; transition: background 0.12s; }
.rows li:hover { background: var(--brand-soft); }
.rows li span:first-child { min-width: 0; }
.rows b { font-weight: 600; display: block; }
.rows small { display: block; color: var(--muted); font-size: 14.5px; }
.tabpanel h4 { margin: 18px 0 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); }
.rep { columns: 2; column-gap: 28px; }
.rep li { break-inside: avoid; position: relative; padding: 10px 6px 10px 24px; border-top: 1px solid var(--line); border-radius: 6px; font-size: 16.5px; transition: background 0.12s; }
.rep li::before { content: ""; position: absolute; left: 8px; top: 1.15em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.rep li:hover { background: var(--brand-soft); }
.wricef { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 12px; }
.wricef article { border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; transition: border-color 0.15s, transform 0.15s; }
.wricef article:hover { border-color: var(--brand); transform: translateY(-2px); }
.wricef b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font-size: 20px; }
.wricef h4 { margin: 12px 0 4px; font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.wricef p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .rep { columns: 1; } .wricef { grid-template-columns: minmax(0, 1fr); } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: transform 0.15s, box-shadow 0.15s; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.project .status { align-self: flex-start; }
.project h3 { font-size: 19px; }
.project p { color: var(--muted); font-size: 15px; }
@media (max-width: 1100px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .projects { grid-template-columns: minmax(0, 1fr); } }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 28px; }
.svc-strip strong { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.svc-strip a { color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; }
.svc-strip a:hover { border-color: var(--gold); color: var(--gold); }
.svc-list { margin-top: 26px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 18px; justify-items: start; }
.svc-list h3 { font-size: 22px; }
.svc-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; width: 100%; }
.svc-cols h4 { color: var(--gold); font-size: 15px; letter-spacing: 0.04em; margin-bottom: 8px; }
.svc-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.rules { margin-top: 22px; }
.rules ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
@media (max-width: 960px) { .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cols { grid-template-columns: minmax(0, 1fr); } .svc-list { padding: 18px; } }
.tile { display: grid; gap: 8px; align-content: start; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; text-decoration: none; min-width: 0; min-height: 168px; transition: transform 0.15s, box-shadow 0.15s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.tile h3 { font-size: 19px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .go { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--brand); }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; }
.chips strong { margin-right: 6px; }

/* Approach */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stage { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; border-top: 4px solid var(--brand); min-width: 0; }
.stage .n { font-size: 13.5px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }
.stage h3 { font-size: 20px; margin-block: 8px 6px; }
.stage { display: flex; flex-direction: column; }
.stage p { color: var(--muted); font-size: 15.5px; }
.stage .out { margin-top: auto; padding-top: 14px; color: var(--ink); font-weight: 600; font-size: 15px; }
.stage .out b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 2px; }

/* Training */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; transition: box-shadow 0.15s; }
.course details { align-self: stretch; }
.course .price { margin-top: auto; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.course .btn { margin-top: auto; }
.course .price + .btn { margin-top: 0; }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.buy-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; font-size: 15.5px; min-width: 0; }
.buy-steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 15px; }
@media (max-width: 960px) { .buy-steps { grid-template-columns: minmax(0, 1fr); } }
.get { margin-bottom: 14px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border-left: 4px solid var(--brand); padding: 20px 22px; display: grid; gap: 12px; }
.get h3 { font-size: 20px; }
.get ul { display: grid; gap: 10px; }
.get li { position: relative; padding-left: 20px; color: var(--muted); font-size: 16px; max-width: 80ch; }
.get li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.get li b { color: var(--ink); }
.get p { font-size: 14.5px; color: var(--muted); }
.course:hover { box-shadow: var(--shadow-up); }
.status { justify-self: start; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.course h3 { font-size: 22px; }
.course > p { color: var(--muted); font-size: 15.5px; }
.course details { border-top: 1px solid var(--line); padding-top: 10px; }
.course summary { cursor: pointer; font-weight: 600; color: var(--brand); font-size: 15.5px; }
.course details ul { display: grid; gap: 6px; margin-top: 10px; font-size: 15px; }
.course details li { padding-left: 16px; position: relative; }
.course details li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.course .btn { justify-self: start; font-size: 15px; padding: 9px 16px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.formats span { font-size: 14.5px; padding: 5px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); }
.train-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* Writing */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.posts .tile h3 { font-size: 18px; overflow-wrap: anywhere; }
.posts .date { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.plain-link { color: var(--brand); font-weight: 600; }
@media (max-width: 960px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* Enquiry */
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 14px; align-items: start; }
.enquiry { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { min-height: 104px; resize: vertical; }
.form-error { grid-column: 1 / -1; border-left: 4px solid var(--warn); background: var(--bg); padding: 10px 14px; font-size: 15px; border-radius: 4px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.form-foot p { font-size: 14px; color: var(--muted); flex: 1 1 240px; min-width: 0; }
.preview { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 12px; min-width: 0; }
.preview h3 { font-size: 17px; }
.bubble { background: var(--brand-soft); border-radius: 4px 14px 14px 14px; padding: 14px 16px; font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 5.5em; }
.preview small { color: var(--muted); font-size: 13.5px; }

/* Live teaser */
.live-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 24px; align-items: center; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; }
.live-card .kicker { color: var(--hero-muted); }
.live-card h2 { font-size: clamp(24px, 3vw, 32px); margin-block: 8px 10px; color: var(--hero-ink); }
.live-card .lede { color: var(--hero-muted); }
.live-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; color: var(--hero-muted); font-size: 15px; }
.lbadge { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); color: var(--hero-ink); }
.lbadge.on { background: #E5484D; color: #FFFFFF; }
.live-actions { display: grid; gap: 12px; justify-items: start; }
.live-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.live-platforms a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--hero-ink); padding: 7px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.22); }
.live-platforms a:hover { background: rgba(0, 0, 0, 0.35); }
.ldot { width: 9px; height: 9px; border-radius: 50%; }
.ldot.yt { background: #FF3B3B; }
.ldot.tw { background: #A970FF; }
.ldot.kick { background: #53FC18; }
@media (max-width: 800px) { .live-card { grid-template-columns: minmax(0, 1fr); padding: 22px; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 14px; align-items: start; }
.about-copy, .contact { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; min-width: 0; }
.about-copy h2 { font-size: clamp(24px, 3vw, 32px); margin-block: 10px 14px; }
.about-copy p { color: var(--muted); max-width: 60ch; }
.about-copy p + p { margin-top: 12px; }
.contact { display: grid; gap: 16px; }
.contact h3 { font-size: 21px; }
.contact dl { margin: 0; display: grid; gap: 14px; }
.contact dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.contact a { color: var(--brand); }
.copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.copy-btn { font-size: 13.5px; font-weight: 600; background: transparent; color: var(--brand); border: 1px solid var(--brand); border-radius: 6px; padding: 3px 10px; cursor: pointer; user-select: none; }

.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9; background: var(--wa); color: var(--wa-ink); font-weight: 600; font-size: 14px; text-decoration: none; padding: 9px 15px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.wa-float:hover { transform: scale(1.05); }
footer .wrap { padding-block: 24px 84px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .hero .wrap, .enquiry-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portrait { width: 132px; order: -1; border-width: 4px; }
  .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kpi { grid-column: span 2; }
  .kpi:nth-child(n+4) { grid-column: span 3; }
  .tiles, .tiles.three, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 32px; }
}
@media (max-width: 600px) {
  .shell .wrap { flex-wrap: wrap; gap: 6px; }
  .nav { margin-left: 0; width: 100%; }
  html { scroll-padding-top: 112px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi, .kpi:nth-child(n+4) { grid-column: span 1; }
  .kpi:last-child { grid-column: 1 / -1; }
  .tiles, .tiles.three, .stages, .enquiry { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; }
  .tabpanel { padding: 18px 14px 8px; }
  .rows li { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Black & Gold layer: black ground, champagne gold accents, serif headings, hairline cards ===== */
:root, :root[data-theme] {
  --bg: #000000;
  --surface: #0B0B0B;
  --line: #2A251C;
  --ink: #FFFFFF;
  --muted: #FFFFFF;
  --brand: #C9A55C;
  --brand-ink: #0A0A0A;
  --brand-soft: #17130B;
  --gold: #C9A55C;
  --gold-soft: #8C7442;
  --hero-a: #000000;
  --hero-b: #000000;
  --hero-ink: #FFFFFF;
  --hero-muted: #FFFFFF;
  --hero-accent: #C9A55C;
  --hero-line: #3A3122;
  --wa: #C9A55C;
  --wa-ink: #0A0A0A;
  --shadow: 0 0 0 1px #2A251C;
  --shadow-up: 0 0 0 1px #C9A55C;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --r: 6px;
}
::selection { background: #C9A55C; color: #000000; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
h1 { line-height: 1.05; }
h3 { letter-spacing: 0.01em; }
.kicker { font-size: 12.5px; letter-spacing: 0.22em; color: var(--gold); }
.lede { line-height: 1.7; }

/* Shell bar and monogram */
.shell { background: rgba(0, 0, 0, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.avatar { background: transparent; color: var(--gold); border: 1px solid var(--gold); font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
.brand { letter-spacing: 0.02em; }
.nav a { font-weight: 500; letter-spacing: 0.03em; }
.nav a:hover { background: transparent; color: var(--gold); }
.nav a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 1200px) and (min-width: 961px) { .nav { gap: 0; } .nav a { padding: 8px 8px; font-size: 14.5px; } }

/* Hero: black with a soft gold glow */
.hero { background: radial-gradient(ellipse 60% 70% at 78% 30%, rgba(201, 165, 92, 0.16), transparent 70%), #000000; border-bottom: 1px solid var(--line); padding-block: 72px 104px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); }
.hero h1 em { color: var(--gold); text-decoration-color: rgba(201, 165, 92, 0.55); text-decoration-thickness: 1px; text-underline-offset: 8px; font-style: italic; }
.hero .kicker { color: var(--gold); }
.portrait { border: 1px solid var(--gold); padding: 6px; background: #000000; box-shadow: 0 0 60px rgba(201, 165, 92, 0.18); }
/* Photo on the left, text on the right (desktop); stacked with the photo first on phones */
.hero .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 64px; }
.hero .portrait { order: -1; width: 320px; }
.hero { background: radial-gradient(ellipse 55% 70% at 18% 40%, rgba(201, 165, 92, 0.16), transparent 70%), #000000; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hero .portrait { width: 150px; } }

/* Buttons: gold outline, gold fill on the main action */
.btn { border-radius: 2px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13.5px; padding: 13px 22px; }
.btn:hover { transform: none; box-shadow: none; filter: none; }
.btn-light, .btn-solid, .btn-wa { background: var(--gold); color: #0A0A0A; border-color: var(--gold); }
.btn-light:hover, .btn-solid:hover, .btn-wa:hover { background: #DDBE7E; border-color: #DDBE7E; }
.btn-outline { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.wa-float { background: #000000; color: var(--gold); border: 1px solid var(--gold); box-shadow: 0 0 24px rgba(201, 165, 92, 0.18); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12.5px; }

/* Cards become hairline panels */
.kpi, .tile, .panel, .course, .project, .stage, .enquiry, .preview, .about-copy, .contact, .get, .live-card {
  background: var(--surface); box-shadow: none; border: 1px solid var(--line); border-radius: var(--r);
}
.kpi:hover, .tile:hover, .project:hover, .course:hover { transform: none; box-shadow: none; border-color: var(--gold-soft); }
.kpi { border-bottom: 1px solid var(--gold); }
.kpi b { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: clamp(36px, 4vw, 48px); }
.stage { border-top: 1px solid var(--gold); }
.get { border-left: 1px solid var(--gold); }
.get li::before, .course details li::before, .rep li::before { background: var(--gold); }
.wricef b { background: transparent; color: var(--gold); border: 1px solid var(--gold); font-family: var(--serif); }
.wricef article { border-color: var(--line); }

/* Chips, pills, tabs */
.tcode { background: transparent; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 2px; }
.status { background: transparent; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 2px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; }
.tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.tab small { background: transparent; color: var(--gold); }
.rows li:hover, .rep li:hover { background: var(--brand-soft); }

/* Links and form */
a.plain-link, .contact a, .tile .go, .course summary { color: var(--gold); }
.field input, .field select, .field textarea { background: #050505; border-color: var(--line); border-radius: 2px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.bubble { background: var(--brand-soft); border: 1px solid var(--line); }

/* Live teaser */
.live-card { background: radial-gradient(ellipse 50% 80% at 90% 10%, rgba(201, 165, 92, 0.12), transparent 70%), var(--surface); }
.live-card .kicker { color: var(--gold); }
.live-platforms a { background: transparent; border: 1px solid var(--line); border-radius: 2px; }
.live-platforms a:hover { border-color: var(--gold); }

footer .wrap { border-top: 1px solid var(--line); }

/* One quiet entrance for the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > div, .portrait { animation: rise 0.9s ease-out both; }
  .portrait { animation-delay: 0.15s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* ===== Interactive layer ===== */
/* Reading progress line under the shell bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 11; pointer-events: none; }

/* Live dot in the nav */
.nav-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E5484D; margin-left: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6); }
@media (prefers-reduced-motion: no-preference) { .nav-dot { animation: ping 1.6s ease-out infinite; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } }

/* Hairline gold glow that follows the pointer on cards */
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.25s; z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 165, 92, 0.16), transparent 65%); }
.glow:hover::after { opacity: 1; }

/* Scroll reveal: movement only, the content is always visible */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(18px); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { transform: none; }
}

/* Find the right fit */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 14px; align-items: stretch; }
.fit-q, .fit-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.fit-q fieldset { border: 0; margin: 0; padding: 0; }
.fit-q fieldset + fieldset { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.fit-q legend { padding: 0; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: 9px 14px; font-size: 15px; cursor: pointer; color: var(--ink); transition: border-color 0.15s, background 0.15s, color 0.15s; }
.opt:hover { border-color: var(--gold-soft); }
.opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0A0A0A; font-weight: 600; }
.fit-out { display: flex; flex-direction: column; gap: 12px; background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(201, 165, 92, 0.12), transparent 70%), var(--surface); }
.fit-out .step-n { font-family: var(--mono); font-size: 12.5px; color: var(--gold); letter-spacing: 0.08em; }
.fit-out h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.fit-out p { font-size: 16px; }
.fit-out ul { display: grid; gap: 8px; }
.fit-out li { position: relative; padding-left: 20px; font-size: 15.5px; }
.fit-out li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.fit-out .btn { align-self: flex-start; margin-top: auto; }
.fit-meter { display: flex; gap: 6px; }
.fit-meter i { flex: 1; height: 2px; background: var(--line); transition: background 0.3s; }
.fit-meter i.on { background: var(--gold); }
@media (max-width: 960px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Project filter */
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pfilter .opt span { font-family: var(--mono); font-size: 12px; margin-left: 6px; opacity: 0.8; }

/* Show all toggles */
.clip { position: relative; max-height: var(--clip, 340px); overflow: hidden; }
.clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.clip.open { max-height: none; }
.clip.open::after { display: none; }
.more { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; background: transparent; border: 1px solid var(--gold-soft); color: var(--gold); border-radius: 2px; padding: 8px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.more:hover { border-color: var(--gold); }
.more-row { display: flex; justify-content: center; margin-top: 18px; }
.projects .project.extra { display: none; }
.projects.open .project.extra { display: flex; }

/* Projects open as case studies */
.project { cursor: pointer; }
.project .open-case { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.project p.sum { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
dialog.case { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 0; background: #070707; color: var(--ink); border: 1px solid var(--gold-soft); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 80px rgba(201, 165, 92, 0.1); }
dialog.case::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(4px); }
.case-in { padding: 30px; display: grid; gap: 16px; }
.case-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.case h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 10px; }
.case-x { flex: none; width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.case-x:hover { border-color: var(--gold); color: var(--gold); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-grid div { padding: 14px 12px; border-right: 1px solid var(--line); min-width: 0; }
.case-grid div:last-child { border-right: 0; }
.case-grid dt { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.case-grid dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.case-body { font-size: 16.5px; line-height: 1.7; } .case-body ul { display: grid; gap: 8px; margin-top: 10px; } .case-body li { position: relative; padding-left: 18px; } .case-body li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); } .case-body b { color: var(--gold); font-weight: 600; }
.case-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 6px; }
.case-nav .arrows { display: flex; gap: 8px; }
.case-nav .arrows button { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 2px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
.case-nav .arrows button:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 600px) { .case-in { padding: 22px; } .case-grid { grid-template-columns: minmax(0, 1fr); } .case-grid div { border-right: 0; border-bottom: 1px solid var(--line); } .case-grid div:last-child { border-bottom: 0; } }

/* SAP process explorer */
.explorer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; }
.explorer .tabs { padding: 0 16px; }
.ex-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 0; }
.ex-steps { padding: 22px 24px; display: grid; gap: 0; counter-reset: s; border-right: 1px solid var(--line); }
.ex-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; background: transparent; border: 0; padding: 10px 0; cursor: pointer; color: var(--ink); }
.ex-step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink); background: #000; transition: background 0.3s, border-color 0.3s, color 0.3s; position: relative; z-index: 1; }
.ex-steps li:not(:last-child) .ex-step::after { content: ""; position: absolute; left: 16.5px; top: 44px; bottom: -10px; width: 1px; background: var(--line); }
.ex-step.done::before { border-color: var(--gold-soft); color: var(--gold); }
.ex-steps li:not(:last-child) .ex-step.done::after { background: var(--gold-soft); }
.ex-step[aria-current="step"]::before { background: var(--gold); border-color: var(--gold); color: #0A0A0A; box-shadow: 0 0 0 6px rgba(201, 165, 92, 0.15); }
.ex-step b { display: block; font-weight: 600; font-size: 16px; padding-top: 6px; }
.ex-step small { display: block; font-size: 14.5px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.ex-step[aria-current="step"] small { max-height: 6em; margin-top: 2px; }
.ex-side { padding: 24px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(ellipse 80% 60% at 100% 100%, rgba(201, 165, 92, 0.1), transparent 70%); }
.ex-side h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.ex-side p { font-size: 15.5px; }
.ex-ctrl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ex-ctrl button { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 2px; padding: 8px 14px; cursor: pointer; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.ex-ctrl button:hover { border-color: var(--gold); color: var(--gold); }
.ex-bar { height: 2px; background: var(--line); }
.ex-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.4s ease; }
@media (max-width: 800px) { .ex-body { grid-template-columns: minmax(0, 1fr); } .ex-steps { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px; } .ex-side { padding: 18px 16px; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 4px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--gold); font-family: var(--sans); font-size: 18px; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 4px 22px; max-width: 78ch; line-height: 1.7; }

/* Honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
footer .wrap { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--gold); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-dl { display: inline-flex; align-items: center; gap: 8px; }

/* ===== Multi-page company layout (2026-11) ===== */
:root, :root[data-theme] { --sans: "Source Sans 3", "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif; }
.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 6px 0 14px; }
.page-hero .lede { max-width: 760px; }
.page-hero .hero-actions { margin-top: 22px; }
.home-hero { padding: 72px 0 24px; }
.home-hero h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 66px); line-height: 1.04; margin: 8px 0 18px; max-width: 900px; }
.home-hero h1 em { color: var(--gold); font-style: italic; }
.home-hero .lede { max-width: 780px; font-size: 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.svc-card { display: grid; gap: 10px; align-content: start; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; text-decoration: none; color: var(--ink); transition: transform 0.15s, box-shadow 0.15s; min-width: 0; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.svc-card .ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 15px var(--serif); }
.svc-card h3 { font-size: 21px; }
.svc-card p { color: var(--muted); font-size: 15.5px; }
.svc-card .go { color: var(--gold); font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.who > div { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 8px; align-content: start; }
.who h3 { font-size: 19px; }
.who p { font-size: 15px; color: var(--muted); }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; list-style: none; padding: 0; }
.steps4 li { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border-top: 3px solid var(--gold); padding: 20px; display: grid; gap: 6px; align-content: start; }
.steps4 .n { color: var(--gold); font: 600 13px var(--mono); letter-spacing: 0.08em; }
.steps4 h3 { font-size: 18px; }
.steps4 p { font-size: 15px; color: var(--muted); }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.clients span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; }
.founder { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; }
.founder img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.founder .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.founder .links a { color: var(--gold); }
.cta-band { background: var(--surface); border: 1px solid var(--gold); border-radius: var(--r); padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--serif); font-size: 30px; }
.cta-band p { color: var(--muted); }
.site-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; margin-bottom: 14px; }
.site-foot-cols strong { display: block; color: var(--gold); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.site-foot-cols a { display: block; color: var(--ink); text-decoration: none; padding: 2px 0; }
.site-foot-cols a:hover { color: var(--gold); }
:lang(hi) .lede, :lang(hi) p, :lang(hi) li { line-height: 1.75; }
@media (max-width: 960px) {
  .svc-grid, .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .svc-grid, .who, .steps4, .site-foot-cols { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 20px; }
  .founder img { width: 150px; height: 150px; }
  .home-hero { padding-top: 40px; }
  .page-hero { padding-top: 36px; }
}

.page-first { padding-top: 48px; }
.head h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 6px 0 14px; }
.head .hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

.home-hero + .wrap .kpis { margin-top: 12px; }
:lang(hi) .kicker, :lang(hi) .chips strong { letter-spacing: 0.02em; }
.page-first .kpis { margin: 10px 0 26px; }

/* service icons and sample work */
.svc-card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-cols > div { scroll-margin-top: 90px; }
.svc-cols > div:target { outline: 1px solid var(--gold); outline-offset: 10px; border-radius: 4px; }
.sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.sample { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sample .tag { align-self: flex-start; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; letter-spacing: 0.04em; }
.sample h3 { font-size: 18px; }
.sample p { font-size: 15px; color: var(--muted); }
.sample .metric { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.sample .metric b { color: var(--gold); font-family: var(--serif); font-size: 24px; font-weight: 600; }
@media (max-width: 1100px) { .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sample-grid { grid-template-columns: minmax(0, 1fr); } }

/* Four-up KPI strip (election page) */
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis.four .kpi, .kpis.four .kpi:nth-child(n+4), .kpis.four .kpi:last-child { grid-column: auto; }
@media (max-width: 960px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis.three .kpi, .kpis.three .kpi:nth-child(n+4), .kpis.three .kpi:last-child { grid-column: auto; }
@media (max-width: 600px) { .kpis.three { grid-template-columns: minmax(0, 1fr); } }

/* Election page: sample data set */
.demo .tabpanel { padding: 22px 24px 8px; }
.demo-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.demo-sum div { background: var(--surface); padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.demo-sum b { color: var(--gold); font-size: 22px; font-variant-numeric: tabular-nums; }
.demo-sum span { font-size: 14.5px; }
.demo-bands { margin-top: 18px; display: grid; gap: 6px; max-width: 620px; }
.demo-cap { font-size: 14px; margin-bottom: 4px; }
.demo-bands i, .demo-cap i { display: inline-block; height: 12px; border-radius: 2px; }
.demo-cap i { width: 12px; margin: 0 5px 0 8px; vertical-align: -1px; }
.demo-bands .dm { background: var(--gold); }
.demo-bands .df, .demo-cap .df { background: #8FA8C8; }
.demo-cap .dm { background: var(--gold); }
.demo-bands .br { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13.5px; }
.demo-bands .br div { display: flex; }
.demo-bands .br div:first-of-type { justify-content: flex-end; }
.demo-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.demo-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.demo-table th, .demo-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.demo-table th { font-size: 13px; font-weight: 600; color: var(--gold); background: #070707; }
.demo-table .l { text-align: left; }
.demo-table tbody tr:last-child td { border-bottom: 0; }
.demo-table tbody tr:hover { background: var(--brand-soft); }
.demo-table .up { color: #7BC59A; } .demo-table .dn { color: #E58C8C; }
.demo-note { font-size: 14px; margin: 10px 0 6px; }
.demo-formats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 24px 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.demo-formats b { font-weight: 600; border: 1px solid var(--gold-soft); color: var(--gold); border-radius: 2px; padding: 4px 10px; font-size: 13.5px; }
.sum-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.sum-row .demo-bands { margin-top: 0; max-width: none; }
.ch.pie { justify-items: center; text-align: center; }
.ch.pie .ch-leg { justify-content: center; }
@media (max-width: 760px) { .sum-row { grid-template-columns: minmax(0, 1fr); } }
.ch-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ch-facts div { background: var(--surface); padding: 14px 16px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.ch-facts b { color: var(--gold); font-size: 22px; font-variant-numeric: tabular-nums; }
.ch-facts span { font-size: 14px; line-height: 1.5; }
.ch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ch { margin: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 10px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.ch figcaption { font-weight: 700; font-size: 16px; }
.ch-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.ch-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.ch-note { font-size: 13.5px; }
.ch.wide { grid-column: 1 / -1; }
.ch svg rect title { pointer-events: none; }
@media (max-width: 960px) { .ch-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ch-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .demo-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .demo .tabpanel { padding: 16px 12px 6px; } .demo-formats { padding: 12px; } }
/* Info cards that are not links (election services): no lift on hover */
div.svc-card { border: 1px solid var(--line); box-shadow: none; }
div.svc-card:hover { transform: none; box-shadow: none; border-color: var(--gold-soft); }
div.svc-card .ico { font: 600 12.5px var(--mono); letter-spacing: 0.04em; }
:lang(hi) .kpi b { font-family: "Noto Sans Devanagari", var(--sans); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }
.get.rules ul { padding-left: 0; }

/* Hindi pages: headings in a Devanagari font, so dashes and punctuation match the letters */
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .faq summary { font-family: "Noto Sans Devanagari", var(--sans); font-weight: 700; letter-spacing: 0; }
:lang(hi) h1 { line-height: 1.25; }

/* Headings that keep the outline in order for screen readers, without changing the look (20 Nov 2026) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Easier to tap on phones */
.train-note .plain-link { display: inline-block; padding: 10px 0; }
