/* ==========================================================================
   Zanzali Mohamad & Co — main stylesheet
   ========================================================================== */

:root {
  /* Brand */
  --brand: #D93000;          /* buttons, fills (white text on top) */
  --brand-text: #C42D00;     /* orange text on light backgrounds */
  --brand-hover: #962200;
  --brand-bright: #FF6B3D;   /* orange accents on dark backgrounds */
  --gold: #FFD27A;           /* secondary accent on dark */

  /* Neutrals */
  --ink: #16191D;            /* dark sections, body text */
  --ink-2: #23272D;          /* raised surfaces on dark */
  --paper: #F7F5F2;          /* page background */
  --white: #FFFFFF;
  --line: #E7E2DB;
  --line-strong: #D6CEC4;
  --muted: #4A4642;          /* body copy on light */
  --muted-2: #6A645E;        /* captions on light */
  --on-dark: #EEF0F2;
  --on-dark-2: #C8CCD2;
  --on-dark-3: #A9AFB7;
  --on-dark-4: #DCDFE3;

  /* Type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(72px, 9vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-text); }
a:hover { color: var(--brand-hover); }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.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;
}

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-text);
}
.on-dark .eyebrow { color: var(--brand-bright); }
.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 800;
}
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark .section-title { color: var(--white); }
.on-dark .lead { color: var(--on-dark-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease,
              transform .15s ease, box-shadow .15s ease;
}
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,48,0,.28); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--line); color: var(--ink); transform: translateY(-2px); }
.btn-light:active { transform: translateY(0); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.text-link {
  font-weight: 700; font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center;
  transition: color .15s ease, gap .15s ease;
}
.text-link:hover { gap: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 12px;
  transition: padding-block .25s ease;
}
.site-header.is-scrolled .header-inner { padding-block: 8px; }
.brand img { height: 56px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .brand img { height: 44px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.main-nav a {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding-block: 4px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transition: right .22s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a:hover { color: var(--brand-text); }
.main-nav a.is-active { color: var(--brand-text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted-2);
  background: transparent; border: 1px solid transparent; border-radius: 999px;
  padding: 6px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 2px;
  transition: border-color .15s ease, background-color .15s ease;
}
.lang-switch:hover { border-color: var(--line-strong); background: var(--paper); }
.lang-opt { padding: 2px 3px; transition: color .15s ease, font-weight .15s ease; }
.lang-opt.is-active { color: var(--brand-text); font-weight: 700; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn, .lang-switch { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .brand img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-inner {
  position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding-block: 72px 56px;
}
.hero-copy { flex: 1 1 520px; min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-2);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.badge-logo {
  height: 38px; width: auto; display: block;
  background: var(--white); border-radius: 4px; padding: 4px 7px;
}
.hero h1 {
  margin-top: 28px; color: var(--white);
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 800;
}
.hero h1 .accent { color: var(--brand-bright); }
.hero-sub { margin-top: 28px; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--on-dark-2); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Compliance card */
.compliance-card {
  flex: 1 1 400px; min-width: 0; max-width: 520px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--on-dark-3);
}
.status-ok { color: var(--brand-bright); }
.status-warn { color: var(--gold); }
.deadline-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.deadline-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; background: rgba(255,255,255,.05); border-radius: var(--radius-sm);
}
.deadline-name { font-weight: 700; font-size: 16px; color: var(--white); }
.deadline-meta { font-size: 13px; color: var(--on-dark-3); margin-top: 2px; }
.deadline-date { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
.card-note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--on-dark-3); }

/* Stats */
.stats {
  position: relative; padding-bottom: 72px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid rgba(255,255,255,.14); margin: 0;
}
.stats-grid div { padding: 28px 24px 0 0; }
.stats-grid dt { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--on-dark-3); }
.stats-grid dd { margin: 6px 0 0; font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums; }

/* ---------- About ---------- */
.about { padding-block: var(--section-y) calc(var(--section-y) - 16px); display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.about-copy { flex: 1 1 480px; min-width: 0; }
.about-copy .lead { margin-top: 24px; font-size: 18px; line-height: 1.7; }
.fact-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fact { padding: 20px; background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.fact-label { font-size: 13px; color: var(--muted-2); }
.fact-value { font-weight: 700; margin-top: 4px; }
.mono { font-family: var(--font-mono); }

.policy-card {
  flex: 1 1 420px; min-width: 0; border-radius: 24px; padding: 48px 40px;
}
.policy-quote {
  margin: 20px 0 0; color: var(--white);
  font-size: clamp(26px, 3vw, 40px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em;
}
.policy-card p.lead { margin-top: 24px; }
.policy-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; color: var(--on-dark-2); }

/* ---------- Services ---------- */
.services { background: var(--white); border-block: 1px solid var(--line); }
.services .container { padding-block: var(--section-y); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { max-width: 680px; }
.section-head .lead { max-width: 420px; }
.service-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(22,25,29,.08);
  border-color: var(--line-strong);
}
.service-num { font-family: var(--font-mono); font-size: 14px; color: var(--muted-2); }
.service-card h3 { margin-top: 10px; font-size: 24px; letter-spacing: -0.02em; }
.service-card > p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.service-card .text-link { margin-top: 20px; }

.panel {
  margin-top: 20px; background: var(--ink); border-radius: 14px; padding: 18px;
  font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-4);
}
.panel-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .08em; color: var(--on-dark-3); }
.panel-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.panel-list li { display: flex; gap: 10px; }
.tick { color: var(--brand-bright); }
.pending { color: var(--gold); }
.bar-group { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.bar { margin-top: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); }
.bar span { display: block; height: 6px; border-radius: 3px; }
.bar-in { background: var(--brand-bright); }
.bar-out { background: var(--gold); }
.panel-foot { color: var(--on-dark-3); }
.panel-tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.panel-tiles span { padding: 8px 10px; border-radius: 8px; background: rgba(255,107,61,.12); }
.panel-pills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.panel-pills span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }

/* ---------- Case studies ---------- */
.cases { padding-block: var(--section-y); }
.cases .section-title { max-width: 720px; }
.case-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.case-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(22,25,29,.1);
}
.case-top { min-height: 180px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.case-top.tone-ink { background: var(--ink); }
.case-top.tone-brand { background: var(--brand); }
.case-top.tone-ink2 { background: var(--ink-2); }
.case-tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 12px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.tone-ink .case-tag { color: var(--brand-bright); }
.tone-brand .case-tag { color: var(--white); }
.tone-ink2 .case-tag { color: var(--gold); }
.case-figure { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.case-client { font-size: 13px; color: var(--muted-2); }
.case-body h3 { font-size: 19px; line-height: 1.35; }

/* ---------- Why ---------- */
.why .container { padding-block: var(--section-y); display: flex; flex-wrap: wrap; gap: 64px; }
.why-copy { flex: 1 1 380px; min-width: 0; }
.why-copy .lead { margin-top: 24px; }
.why-copy .btn { margin-top: 32px; }
.why-grid {
  flex: 2 1 560px; min-width: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden;
}
.why-item { background: var(--ink); padding: 32px; transition: background-color .2s ease; }
.why-item:hover { background: var(--ink-2); }
.why-item .service-num { color: var(--brand-bright); }
.why-item h3 { margin-top: 14px; font-size: 21px; color: var(--white); }
.why-item p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }

/* ---------- Clients ---------- */
.clients { padding-block: var(--section-y); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.chip-row li { display: flex; }
.type-chip {
  padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.type-chip:hover { border-color: var(--brand); color: var(--brand-text); transform: translateY(-2px); }
.type-chip:active { transform: translateY(0); }
.type-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.client-empty { margin: 40px 0 0; font-size: 15px; color: var(--muted-2); }
.client-empty:not([hidden]) { display: block; }
.client-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.client-grid li {
  background: var(--white); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}
.client-grid li:hover { background: var(--paper); }
.client-grid li[hidden] { display: none; }
.client-grid.is-filtering li { opacity: 0; transform: scale(.98); }
.client-name { font-weight: 700; font-size: 15px; }
.client-type { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.client-year { font-family: var(--font-mono); font-size: 13px; color: var(--brand-text); }

/* ---------- Contact ---------- */
.contact { padding-block: var(--section-y); }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px;
}
.contact-copy { flex: 1 1 420px; min-width: 0; }
.contact-copy .section-title { margin-top: 0; }
.contact-copy .lead { margin-top: 16px; }
.topic-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.topic-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.topic-chip:active { transform: translateY(0); }
.topic-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.offices { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 24px; }
.office { flex: 1 1 220px; }
.office-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); }
.office address { margin-top: 8px; font-style: normal; font-size: 15px; line-height: 1.6; }
.office a { display: inline-block; margin-top: 6px; font-weight: 700; text-decoration: none; }

.contact-form {
  flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px;
  background: var(--paper); border-radius: var(--radius); padding: 28px;
}
.form-topic { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--brand-text); text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 16px; background: var(--white); color: var(--ink); font-weight: 400;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; }
.form-status { font-size: 14px; line-height: 1.5; min-height: 1.5em; }
.form-status.is-success { color: #1F7A3F; }
.form-status.is-error { color: #B42318; }

/* ---------- Footer ---------- */
.site-footer .container { padding-block: 72px 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.footer-brand { flex: 2 1 360px; min-width: 0; }
.footer-brand img { height: 60px; width: auto; margin-left: -4px; }
.footer-brand p { margin-top: 18px; max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }
.footer-col { flex: 1 1 180px; }
.footer-col h2 { font-size: 15px; font-weight: 700; color: var(--white); }
.footer-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--on-dark-2); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--on-dark-3);
}
.view-counter { font-family: var(--font-mono); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: .06s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .12s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .18s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .3s; }

/* ---------- Hero entrance ---------- */
.hero-copy .badge,
.hero h1,
.hero-sub,
.hero-ctas {
  opacity: 0; transform: translateY(16px);
  animation: hero-in .7s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-copy .badge { animation-delay: .05s; }
.hero h1 { animation-delay: .14s; }
.hero-sub { animation-delay: .22s; }
.hero-ctas { animation-delay: .3s; }
.compliance-card {
  opacity: 0; transform: translateY(24px) scale(.98);
  animation: hero-card-in .75s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: .3s;
}
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-card-in { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 96px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--white); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background-color .15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-copy .badge, .hero h1, .hero-sub, .hero-ctas, .compliance-card { opacity: 1; transform: none; }
}
