/* ============================================================
   APMH Moores Rowland — Advisory Blog Stylesheet
   Shared across all APD-series blog pages
   Version: 2.0 | April 2026
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0B2240;
  --navy-mid:    #153560;
  --gold:        #C9983A;
  --gold-light:  #E8B85A;
  --teal:        #2A7A8C;
  --teal-light:  #3DA5BB;
  --cream:       #F8F4EC;
  --white:       #ffffff;
  --text-body:   #2C3E5A;
  --text-light:  #8BA5C4;
  --grey-bg:     #f4f6f9;
  --border:      rgba(11,34,64,.10);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--text-body);
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
h1, h2, h3, h4,
.author-name,
.scard h3,
.card-title { font-family: 'Playfair Display', serif; }

/* ── READING PROGRESS BAR ── */
#prog {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  z-index: 9999;
  transition: width .1s;
}

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 62px;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 32px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-logo-text span {
  color: var(--gold-light);
  font-weight: 400;
}

/* Nav links (desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
  padding: 6px 12px;
  border-radius: 5px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* Nav right (WA + CTA) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background .2s;
}
.nav-wa-icon:hover { background: rgba(37,211,102,.25); }
.nav-wa-icon svg { width: 17px; height: 17px; fill: #25D366; }

/* CTA button */
.btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: none; transition: background .2s, color .2s, transform .15s; text-decoration: none; }
.btn-primary,
.btn.nav-cta,
.btn-primary.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
}
.btn-primary:hover,
.btn.nav-cta:hover,
.btn-primary.nav-cta:hover {
  background: var(--gold-light);
}
.btn-wa {
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 6px;
}
.btn-wa:hover { background: #1ebe5d; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: 6px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 14px 20px 20px;
  position: sticky;
  top: 62px;
  z-index: 999;
  max-height: calc(100vh - 62px);
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 10px 14px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .2s;
}
.mobile-drawer a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-drawer .btn-primary { justify-content: center; text-align: center; margin-top: 8px; }
.mobile-drawer .btn-wa { justify-content: center; text-align: center; margin-top: 6px; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--navy);
  padding: 80px 48px 70px;
  position: relative;
  overflow: hidden;
}
.hero-orb1 {
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,152,58,.14), transparent 70%);
  pointer-events: none;
}
.hero-orb2 {
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(61,165,187,.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp .7s .1s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp .7s .25s forwards;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-byline {
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp .7s .35s forwards;
}
.hero-sub {
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .7s .45s forwards;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  opacity: 0;
  animation: fadeUp .7s .55s forwards;
}
.stat-val, .hstat-val {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold-light);
  display: block;
}
.stat-lbl, .hstat-lbl {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-img-wrap {
  opacity: 0;
  animation: fadeUp .7s .3s forwards;
}
.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 0 0 4px rgba(201,152,58,.35), 0 24px 60px rgba(0,0,0,.4);
  object-fit: cover;
}
.hero-img-placeholder {
  width: 100%;
  max-width: 420px;
  height: 300px;
  border-radius: 16px;
  box-shadow: 0 0 0 4px rgba(201,152,58,.35);
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-img-placeholder span { font-size: 52px; }
.hero-img-placeholder p {
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-align: center;
  padding: 0 20px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   PAGE LAYOUT
   ================================================================ */
.layout,
.page-body {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 60px 48px;
}

/* ================================================================
   AUTHOR CARD
   ================================================================ */
.author-card {
  background: var(--white);
  border-radius: 14px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 6px 28px rgba(11,34,64,.10);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--gold-light);
  font-size: 22px;
  flex-shrink: 0;
}
.author-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 4px;
}
.author-desig {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #1a4a60;
  margin-bottom: 10px;
}
.badges, .author-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  background: rgba(11,34,64,.08);
  color: var(--navy);
  border-radius: 50px;
  padding: 4px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
}

/* ================================================================
   TABLE OF CONTENTS PILLS
   ================================================================ */
.toc, .toc-wrap { margin-bottom: 36px; }
.toc-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.toc-pills, .toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a,
.toc-pills a {
  background: var(--white);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.toc a:hover, .toc-pills a:hover {
  background: var(--navy);
  color: var(--white);
}

/* ================================================================
   LEAD PARAGRAPH
   ================================================================ */
.lead {
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #253B57;
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 40px;
}

/* ================================================================
   ARTICLE SECTIONS
   ================================================================ */
.sec { margin-bottom: 52px; }
.sec-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.sec h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.sec h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
}
.sec p {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  color: var(--text-body);
  text-align: justify;
  hyphens: none;
  line-height: 1.9;
  margin-bottom: 14px;
}
.sec-divider, .divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .35;
  margin: 40px 0;
}

/* ================================================================
   CALLOUT BOX
   ================================================================ */
.callout {
  background: var(--navy);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  margin: 24px 0;
}
.callout p {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  color: #fff;
  font-style: italic;
  text-align: justify;
  margin-bottom: 0;
}
.callout strong { color: var(--gold-light); font-style: normal; font-weight: 700; }

/* ================================================================
   METRIC / STAT CARDS
   ================================================================ */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metric-card, .mcard {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 4px 16px rgba(11,34,64,.08);
  text-align: center;
}
.metric-val, .mcard-val {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.metric-lbl, .mcard-lbl {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================================================
   STEP / NUMBERED LIST
   ================================================================ */
.sec-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 20px; }
.sec-list li { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; }
.step-row, .sitem { display: flex; align-items: flex-start; gap: 14px; }
.sitem { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.step-badge, .sitem-badge {
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50px;
  padding: 4px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}
.sitem-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.step-title, .sitem-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-body, .sitem-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  text-align: justify;
  line-height: 1.85;
}
.step-body { padding-left: 52px; }
.timeline-tag {
  display: inline-block;
  background: rgba(11,34,64,.07);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 2px 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--gold);
  margin-top: 6px;
}

/* ================================================================
   INDUSTRY / SECTOR CARDS
   ================================================================ */
.ind-grid, .sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.ind-card, .sc {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(11,34,64,.07);
  padding: 22px 20px;
  border: 1px solid rgba(11,34,64,.06);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ind-card:hover, .sc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11,34,64,.12);
}
.sc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.sc:hover::after { transform: scaleX(1); }
.sc-icon { font-size: 22px; margin-bottom: 8px; }
.ind-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ind-letter {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.ind-card h3, .sc h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 6px;
}
.ind-card p, .sc p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  text-align: justify;
  line-height: 1.75;
}

/* ================================================================
   DATA TABLE
   ================================================================ */
.tbl-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(11,34,64,.12);
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.tbl-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; }
.tbl-wrap thead tr { background: var(--navy); }
.tbl-wrap thead th {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}
.tbl-wrap tbody tr:nth-child(even) { background: #f4f8fc; }
.tbl-wrap tbody tr:hover { background: #ebf3fa; }
.tbl-wrap tbody td {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: var(--text-body);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(11,34,64,.06);
  vertical-align: top;
}

/* ================================================================
   COMPARISON VISUAL
   ================================================================ */
.compare-vis {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(11,34,64,.09);
  overflow: hidden;
  margin: 24px 0;
}
.cv-box { flex: 1; padding: 28px 20px; text-align: center; }
.cv-box.cv-mid {
  border-left: 2px dashed var(--gold);
  border-right: 2px dashed var(--gold);
  background: #fdf9f3;
}
.cv-val {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2em;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.cv-box.cv-mid .cv-val { color: var(--gold); }
.cv-lbl { font-family: 'Poppins', sans-serif; font-size: 12px; color: var(--text-light); line-height: 1.5; }
.cv-arrow { font-size: 1.8em; color: var(--gold); padding: 0 8px; flex-shrink: 0; align-self: center; }

/* ================================================================
   CONCLUSION BOX
   ================================================================ */
.conclusion {
  background: var(--navy);
  border-radius: 14px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.conclusion::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 220px;
  color: rgba(201,152,58,.12);
  position: absolute;
  top: -30px; left: 20px;
  line-height: 1;
  pointer-events: none;
}
.conclusion p,
.conclusion-text {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.conclusion .attr,
.conclusion-attr {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.conclusion .attr strong,
.conclusion-attr strong { color: var(--gold-light); font-weight: 700; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar { }
.sidebar-sticky { position: sticky; top: 80px; }
/* Legacy: older blogs use .sidebar with position:sticky directly */
.sidebar[style*="sticky"],
.sidebar.sidebar { position: sticky; top: 80px; align-self: start; }

.scard {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(11,34,64,.08);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.scard h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

/* Sidebar nav */
.snav a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: all .2s;
  margin-bottom: 2px;
}
.snav a:hover {
  border-left-color: var(--gold);
  background: rgba(201,152,58,.06);
  padding-left: 14px;
  color: var(--navy);
}
.snav-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  min-width: 24px;
  flex-shrink: 0;
}

/* Sidebar quick-facts rows */
.srow {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(11,34,64,.08);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  gap: 8px;
}
.srow:last-child { border-bottom: none; }
.srow-lbl, .srow > span:first-child { color: var(--text-light); flex-shrink: 0; }
.srow-val, .srow > span:last-child { font-weight: 700; color: var(--navy); text-align: right; }

/* About bio */
.sbio, .about-bio {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #1a3a5c;
  line-height: 1.75;
  margin-bottom: 14px;
}
.sbtn, .about-cta {
  display: block;
  background: var(--navy);
  color: var(--gold-light);
  text-decoration: none;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: background .2s;
}
.sbtn:hover, .about-cta:hover { background: var(--navy-mid); }

/* Bullet list */
.bull-list { list-style: none; padding: 0; }
.bull-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
}
.bull-list li::before {
  content: '●';
  color: var(--gold);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Expertise tags */
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.exp-tag {
  background: rgba(11,34,64,.07);
  border: 1.5px solid rgba(11,34,64,.15);
  color: var(--navy);
  border-radius: 50px;
  padding: 5px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  transition: all .2s;
}
.exp-tag:hover { background: var(--navy); color: var(--gold-light); }

/* Sidebar timeline */
.stl { display: flex; flex-direction: column; }
.stl-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 18px;
  position: relative;
}
.stl-item::after {
  content: '';
  position: absolute;
  left: 14px; top: 32px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.stl-item:last-child::after { display: none; }
.stl-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 9px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.stl-yr {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}
.stl-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ================================================================
   WA FLOATING BUTTON
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9000;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float-tooltip {
  position: absolute;
  right: 60px;
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ================================================================
   FOOTER
   ================================================================ */
#site-footer, footer#site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 32px 28px;
}
.footer-vcard-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,152,58,.3);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-vcard-strip p {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 38px; width: auto; }
.footer-logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.footer-logo-name span { color: var(--gold-light); font-weight: 400; }
.footer-brand p {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.social-btn:hover { background: rgba(201,152,58,.3); }
.social-btn svg { width: 16px; height: 16px; fill: rgba(255,255,255,.75); stroke: none; }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-office {
  display: flex;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-office strong { color: rgba(255,255,255,.9); }
.footer-office a { color: var(--gold-light); }
.footer-office-flag { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-moores {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-moores img { height: 28px; width: auto; opacity: .85; }
.footer-moores span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { color: var(--gold); }
.fc { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); }

/* Btn variants for footer */
.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
}
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { font-size: 12px; padding: 6px 14px; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   MOBILE-FIRST RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ── 1100px: tighten hero columns ── */
@media (max-width: 1100px) {
  .hero { padding: 60px 32px 52px; }
  .layout, .page-body { padding: 50px 32px; gap: 40px; }
}

/* ── 960px: single-column layout ── */
@media (max-width: 960px) {
  .layout,
  .page-body {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }
  .sidebar,
  .sidebar-sticky { position: static !important; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── 900px: hide hero image, single-col hero ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero { padding: 52px 28px 44px; }
}

/* ── 860px: hamburger shows ── */
@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-inner { padding: 0 20px; }
}

/* ── 700px: compare vis stacks ── */
@media (max-width: 700px) {
  .compare-vis { flex-direction: column; }
  .cv-box.cv-mid {
    border-left: none;
    border-right: none;
    border-top: 2px dashed var(--gold);
    border-bottom: 2px dashed var(--gold);
  }
  .cv-arrow { transform: rotate(90deg); padding: 8px 0; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .ind-grid, .sec-grid { grid-template-columns: 1fr; }
  .conclusion { padding: 28px 24px; }
  .hero-stats { gap: 20px; }
}

/* ── 600px: hide desktop CTA, tighten further ── */
@media (max-width: 600px) {
  .btn.nav-cta,
  .btn-primary.nav-cta { display: none; }
  .hero { padding: 40px 18px 36px; }
  .layout, .page-body { padding: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 36px 18px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-vcard-strip { flex-direction: column; align-items: flex-start; }
  .author-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .author-avatar { width: 60px; height: 60px; font-size: 16px; }
  .lead { font-size: 15px; }
  .sec h2 { font-size: 22px; }
  .sec h3 { font-size: 19px; }
  .toc-pills a, .toc a { font-size: 12px; padding: 5px 13px; }
  .wa-float { bottom: 18px; right: 18px; width: 46px; height: 46px; }
  .wa-float svg { width: 22px; height: 22px; }
}

/* ── 480px: extra-small ── */
@media (max-width: 480px) {
  .metric-row { grid-template-columns: 1fr; }
  .sitem { grid-template-columns: 36px 1fr; gap: 10px; }
  .sitem-badge { width: 36px; height: 36px; font-size: 11px; }
  .nav-logo-text { font-size: 13px; }
  .nav-logo img { height: 30px; }
  .hero-title { font-size: 26px; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-val, .hstat-val { font-size: 22px; }
  .conclusion::before { font-size: 140px; }
  .tbl-wrap table { min-width: 360px; }
}

/* ── Print ── */
@media print {
  #navbar, .mobile-drawer, .wa-float, #prog, .sidebar { display: none !important; }
  .layout, .page-body { grid-template-columns: 1fr; padding: 20px; }
  .hero { padding: 30px 20px; }
  .conclusion { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}