/* ==========================================================================
   RISK3 CONSULTING — TSCM.COM.HK
   Design system: dark charcoal / deep navy / white type / Risk3 orange
   No frameworks. HTML5 + CSS3 only.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — adjust --orange to match official Risk3 hex when available */
  --orange: #E8622C;
  --orange-bright: #FF7A3D;
  --orange-dim: rgba(232, 98, 44, 0.14);

  /* Surfaces */
  --ink: #0A0D12;          /* page background */
  --charcoal: #10141B;     /* alternate section */
  --navy: #0D1420;         /* deep navy band */
  --surface: #151B25;      /* cards */
  --surface-2: #1A2130;    /* raised cards */

  /* Lines & text */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #E9ECF1;
  --text-soft: #C3CAD4;
  --muted: #8B95A3;

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --container: 1180px;
  --radius: 6px;
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange-bright); }

ul, ol { list-style: none; }

::selection { background: var(--orange); color: #0A0D12; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #0A0D12; padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: #FFFFFF;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { color: var(--text-soft); }

.lead { font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.65; color: var(--text-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--orange); }

.section-head { max-width: 780px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head p { margin-top: 1.1rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .eyebrow::before { display: none; }

/* ---------- 4. Layout ---------- */
.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 3rem); margin-inline: auto; }

section { padding-block: var(--section-pad); }
.section-charcoal { background: var(--charcoal); }
.section-navy {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(232,98,44,.07), transparent 60%),
    var(--navy);
}
.section-line-top { border-top: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange); color: #0A0D12; }
.btn-primary:hover { background: var(--orange-bright); color: #0A0D12; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-bright); }

.btn-sm { padding: .62rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.02rem; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--orange); display: inline-flex; align-items: center; gap: .45rem;
}
.text-link:hover { color: var(--orange-bright); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10, 13, 18, 0.9); }

.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark {
  font-family: var(--font-head); font-weight: 750; font-size: 1.5rem;
  letter-spacing: .04em; color: #fff;
}
.brand-mark sup { color: var(--orange); font-size: .72em; top: -0.42em; position: relative; }
.brand-sub {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted); margin-top: .28rem;
}

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: .35rem; align-items: center; }
.main-nav a {
  font-size: .92rem; font-weight: 500; color: var(--text-soft);
  padding: .55rem .8rem; border-radius: var(--radius); display: block; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"] { color: var(--orange-bright); }

.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ""; display: inline-block; margin-left: .45rem;
  border: 4px solid transparent; border-top-color: var(--muted);
  transform: translateY(2px);
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: .6rem .85rem; font-size: .9rem; border-radius: 4px; }
.dropdown a:hover { background: rgba(255,255,255,.05); }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .7rem; color: var(--orange); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.hotline {
  font-family: var(--font-mono); font-size: .84rem; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
}
.hotline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-dim); }
.hotline:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .55rem .7rem; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(4.5rem, 10vw, 8.5rem));
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(1200px 620px at 78% -18%, rgba(232,98,44,.12), transparent 62%),
    radial-gradient(900px 500px at -12% 15%, rgba(28,60,110,.22), transparent 60%),
    linear-gradient(180deg, #0C1018 0%, var(--ink) 100%);
}
.hero::before { /* fine grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(1000px 640px at 60% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(1000px 640px at 60% 0%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 820px; }
.hero h1 { margin: 1.35rem 0 1.5rem; }
.hero .lead { max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.75rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.hero-meta div { min-width: 130px; }
.hero-meta .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; letter-spacing: -0.02em;
}
.hero-meta .num em { color: var(--orange); font-style: normal; }
.hero-meta .lbl { font-size: .82rem; color: var(--muted); margin-top: .2rem; letter-spacing: .02em; }

.skyline {
  position: absolute; bottom: -2px; left: 0; right: 0; z-index: 1;
  color: rgba(255,255,255,.05); pointer-events: none;
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { border-color: rgba(232,98,44,.45); transform: translateY(-3px); }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .96rem; color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 1.3rem; }

.card-icon {
  width: 44px; height: 44px; margin-bottom: 1.35rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--orange);
  background: rgba(255,255,255,.02);
}
.card-icon svg { width: 22px; height: 22px; }

.card-num {
  font-family: var(--font-mono); font-size: .8rem; color: var(--orange);
  letter-spacing: .15em; margin-bottom: 1.1rem; display: block;
}

/* Stat blocks */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat {
  border-left: 2px solid var(--orange); padding: .35rem 0 .35rem 1.5rem;
}
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat .num em { color: var(--orange); font-style: normal; }
.stat .lbl { margin-top: .65rem; font-size: .92rem; color: var(--muted); max-width: 24ch; }

/* Threat list */
.threat-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.4rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line);
}
.threat-item:last-child { border-bottom: 0; }
.threat-item .t-num { font-family: var(--font-mono); color: var(--orange); font-size: .85rem; letter-spacing: .1em; padding-top: .3rem; }
.threat-item h3 { margin-bottom: .5rem; font-size: 1.22rem; }
.threat-item p { font-size: .98rem; }

/* Checklist */
.checklist li {
  position: relative; padding-left: 2rem; margin-bottom: .95rem;
  color: var(--text-soft); font-size: .99rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.checklist li strong { color: #fff; }

/* ---------- 9. FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.45rem 0; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--text); transition: color .2s ease;
}
.faq-q:hover { color: var(--orange-bright); }
.faq-q .faq-icon {
  flex: 0 0 auto; width: 26px; height: 26px; position: relative;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--orange);
  transition: transform .25s ease;
}
.faq-q .faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-q .faq-icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 3rem 1.6rem 0; color: var(--muted); font-size: .99rem; }
.faq-a-inner p + p { margin-top: .8rem; }

/* ---------- 10. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.form-field label .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .85rem 1rem;
  color: var(--text); font-family: var(--font-body); font-size: .97rem;
  transition: border-color .2s ease;
  width: 100%;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(139,149,163,.55); }
.form-note { font-size: .84rem; color: var(--muted); }
.form-note a { color: var(--orange); }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.ok { display: block; background: rgba(46, 160, 67, .12); border: 1px solid rgba(46,160,67,.4); color: #7ee2a8; }
.form-status.err { display: block; background: rgba(232, 98, 44, .1); border: 1px solid rgba(232,98,44,.45); color: var(--orange-bright); }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(232,98,44,.09), transparent 60%),
    linear-gradient(180deg, #0C1018 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; margin-top: 1.2rem; }
.page-hero .lead { max-width: 720px; margin-top: 1.4rem; }

.breadcrumbs { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .6rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .6rem; color: rgba(139,149,163,.5); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange-bright); }
.breadcrumbs [aria-current] { color: var(--text-soft); }

/* ---------- 12. Content blocks ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { margin: 2.6rem 0 1.1rem; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.prose h3 { margin: 2rem 0 .85rem; }
.prose ul { margin: 0 0 1.25rem; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; color: var(--text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: var(--orange); }
.prose strong { color: #fff; }
.prose blockquote {
  border-left: 2px solid var(--orange); padding: .4rem 0 .4rem 1.6rem;
  margin: 2rem 0; font-size: 1.15rem; color: var(--text); font-style: italic;
}

.sidebar-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: sticky; top: calc(var(--header-h) + 24px);
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.sidebar-card p { font-size: .92rem; color: var(--muted); margin-bottom: 1.3rem; }
.sidebar-card .btn { width: 100%; }
.sidebar-card .hotline { margin-top: 1.1rem; justify-content: center; width: 100%; }
.sidebar-links { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.2rem; }
.sidebar-links a { display: block; font-size: .9rem; color: var(--text-soft); padding: .45rem 0; }
.sidebar-links a:hover { color: var(--orange-bright); }

/* Process steps */
.process { counter-reset: step; }
.process li {
  counter-increment: step; position: relative;
  padding: 0 0 2rem 3.6rem; border-left: 1px solid var(--line); margin-left: 1.2rem;
}
.process li:last-child { padding-bottom: 0; border-left-color: transparent; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -1.25rem; top: -0.2rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--orange); font-family: var(--font-mono); font-size: .8rem;
  display: grid; place-items: center;
}
.process h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.process p { font-size: .96rem; color: var(--muted); }

/* Case studies */
.case-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.6rem;
}
.case-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .75rem; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--muted);
}
.tag.tag-accent { border-color: rgba(232,98,44,.5); color: var(--orange); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.case-grid h4 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.case-grid p { font-size: .93rem; color: var(--muted); }

/* Insights / articles */
.article-card { position: relative; }
.article-card .a-date { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); letter-spacing: .1em; margin-bottom: .9rem; display: block; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }

.article-header { max-width: 860px; }
.article-body { max-width: 760px; }
.article-body p { margin-bottom: 1.3rem; font-size: 1.05rem; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.article-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(800px 300px at 50% 120%, rgba(232,98,44,.16), transparent 65%),
    var(--navy);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { max-width: 720px; margin-inline: auto; }
.cta-band p { max-width: 600px; margin: 1.2rem auto 0; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .discretion { margin-top: 2rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Trust bar */
.trust-bar { border-block: 1px solid var(--line); padding-block: 1.6rem; background: var(--charcoal); }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2.5rem; align-items: center; }
.trust-bar span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6rem; }
.trust-bar span::before { content: ""; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }

/* ---------- 13. Footer ---------- */
.site-footer { background: #080B0F; border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.footer-brand p { font-size: .92rem; color: var(--muted); margin-top: 1.1rem; max-width: 34ch; }
.footer-col h4, .footer-col .footer-h { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer-col a { display: block; font-size: .92rem; color: var(--text-soft); padding: .32rem 0; }
.footer-col a:hover { color: var(--orange-bright); }
.footer-col p { font-size: .92rem; color: var(--text-soft); padding: .32rem 0; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom .mono { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; }

/* ---------- 14. Reveal animations (scoped to .js so no-JS visitors see everything) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: .1s; }
  .js .reveal-delay-2 { transition-delay: .2s; }
  .js .reveal-delay-3 { transition-delay: .3s; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .header-cta .hotline { display: none; }
}

@media (max-width: 920px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .sidebar-card { position: static; }

  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #0C1016; border-bottom: 1px solid var(--line-strong);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    overflow-y: auto;
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; }
  .main-nav a { padding: .8rem .4rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 0 1.1rem;
  }
  .dropdown a { font-size: .92rem; color: var(--muted); }
  .has-dropdown > a::after { display: none; }
  /* Collapse sub-menus on mobile; JS injects .sub-toggle buttons */
  .js .main-nav .dropdown { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .js .main-nav .has-dropdown.open .dropdown { max-height: 600px; }
  .main-nav .has-dropdown > a { display: flex; justify-content: space-between; align-items: center; }
  .sub-toggle {
    background: none; border: 1px solid var(--line-strong); border-radius: 4px;
    color: var(--text-soft); width: 34px; height: 34px; cursor: pointer;
    flex: 0 0 auto; margin-left: .8rem; font-size: .9rem; line-height: 1;
    transition: transform .25s ease;
  }
  .has-dropdown.open .sub-toggle { transform: rotate(45deg); color: var(--orange); border-color: var(--orange); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .threat-item { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- 15b. Header CTA labels & mobile action bar ---------- */
.cta-short { display: none; }
@media (max-width: 920px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-cta .btn { display: inline-flex; padding: .55rem .9rem; }
}

.mobile-actions {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 90;
  grid-template-columns: 1fr 1.4fr;
  background: rgba(8, 11, 15, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-actions a {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.mobile-actions .ma-call { border: 1px solid var(--line-strong); color: var(--text); }
.mobile-actions .ma-enquire { background: var(--orange); color: #0A0D12; }
@media (max-width: 700px) {
  .mobile-actions { display: grid; }
  body { padding-bottom: 68px; }
}

/* ---------- 15c. Utilities & components added in v2 ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.h-sm { font-size: 1.08rem !important; }
.vh { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.mt-05 { margin-top: .5rem; } .mt-1 { margin-top: 1rem; } .mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; } .mt-25 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.inline-link { display: inline; padding: 0; }

.mini-label {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .5rem;
}

.footer-affil { margin-top: 1.2rem !important; font-size: .82rem !important; }
.footer-affil a { display: inline; padding: 0; color: var(--text-soft); }

.form-field select option { background: #1A2130; color: #E9ECF1; }

/* Emergency panel */
.alert-panel {
  border: 1px solid rgba(232, 98, 44, .55); border-radius: var(--radius);
  background: rgba(232, 98, 44, .07); padding: 1.6rem 1.8rem; margin-bottom: 2.2rem;
}
.alert-panel h2, .alert-panel h3 { color: var(--orange-bright); font-size: 1.05rem; margin-bottom: .6rem; }
.alert-panel p, .alert-panel li { font-size: .95rem; color: var(--text-soft); }
.alert-panel ul { margin-top: .6rem; }
.alert-panel li { padding-left: 1.4rem; position: relative; margin-bottom: .35rem; }
.alert-panel li::before { content: "·"; position: absolute; left: .4rem; color: var(--orange); font-weight: 700; }

/* Secure messaging / QR */
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.qr-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; text-align: center;
}
.qr-card img { width: 132px; height: 132px; margin: 0 auto .8rem; border-radius: 4px; background: #fff; padding: 6px; }
.qr-card .qr-app { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; }
.qr-card .qr-num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.qr-card a { color: var(--orange); font-size: .82rem; }
@media (max-width: 420px) { .qr-grid { grid-template-columns: 1fr; } }

/* FAQ toolbar */
.faq-tools { display: flex; gap: .8rem; margin-bottom: 1.6rem; }
.faq-tools button {
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text-soft); font-family: var(--font-head); font-size: .84rem; font-weight: 600;
  padding: .5rem 1rem; cursor: pointer;
}
.faq-tools button:hover { border-color: var(--orange); color: var(--orange-bright); }
.faq-item { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Engagement tiers */
.tier-card { border-top: 2px solid var(--orange); }
.tier-card .tier-for { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .8rem 0 0; }

/* Progressive-disclosure form details */
details.form-more { grid-column: 1 / -1; }
details.form-more summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--text-soft); padding: .4rem 0; list-style: none;
}
details.form-more summary::before { content: "+ "; color: var(--orange); }
details.form-more[open] summary::before { content: "− "; }
details.form-more .form-grid { margin-top: 1rem; }

/* Timeline (About) */
.timeline { border-left: 1px solid var(--line-strong); margin-left: .4rem; padding-left: 1.8rem; }
.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -2.15rem; top: .45em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
}
.timeline .t-year { font-family: var(--font-mono); font-size: .8rem; color: var(--orange); letter-spacing: .1em; display: block; }
.timeline p { font-size: .95rem; color: var(--text-soft); }

/* Glossary */
.glossary-list dt { font-family: var(--font-head); font-weight: 650; color: #fff; font-size: 1.1rem; margin-top: 2rem; }
.glossary-list dd { color: var(--text-soft); margin-top: .5rem; max-width: 70ch; }
.glossary-list dt:target { color: var(--orange-bright); }

/* ---------- 16. Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-ctas, .nav-toggle { display: none; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4, p, li { color: #111 !important; }
}
