/* ---------- Custom properties ---------- */
:root {
  --charcoal: #3A3536;
  --orange: #F5891E;
  --white: #FFFFFF;
  --gray-light: #F5F4F3;
  --gray-border: #E4E1E0;
  --text-muted: #6E6A6B;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-width: 1160px;
  --radius: 6px;
  --transition: 180ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.eyebrow, .section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-label { margin-bottom: 12px; display: block; }
.section-label-light { color: var(--orange); }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.section-title-light { color: var(--white); }

.lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.lead-light { color: #C9C4C3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: #dd7810; }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark { flex-shrink: 0; width: 58px; height: 58px; object-fit: contain; }
.brand-word {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--charcoal);
}
.brand-word-sub {
  display: block;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--orange);
}

.primary-nav ul {
  display: flex;
  gap: 28px;
}
.primary-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.primary-nav a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.primary-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 137, 30, 0.10), transparent 55%),
    var(--white);
  border-bottom: 1px solid var(--gray-border);
}
.hero-inner { max-width: 760px; }
.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 24px;
}
.hero .eyebrow { margin-bottom: 18px; display: block; }

/* Video hero (home page) */
.hero-video-section {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: none;
  padding: 130px 0 110px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--charcoal) center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 137, 30, 0.18), transparent 55%),
    rgba(58, 53, 54, 0.86);
}
.hero-video-section .hero-inner {
  position: relative;
  z-index: 1;
}
.hero-video-section h1 { color: var(--white); }
.hero-video-section .hero-sub { color: #C9C4C3; }

/* ---------- Page banner (sub-page intro) ---------- */
.page-banner {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 137, 30, 0.10), transparent 55%),
    var(--white);
  border-bottom: 1px solid var(--gray-border);
}
.page-banner .eyebrow { margin-bottom: 14px; display: block; }
.page-banner h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-banner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}

/* ---------- Home teasers ---------- */
.teaser-actions { margin-top: 8px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.mini-card {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.mini-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.mini-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--orange);
}
.mini-icon svg { width: 20px; height: 20px; }
.mini-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt { background: var(--gray-light); }
.section-dark {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}
.sme-watermark {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 260px;
  height: 260px;
  object-fit: contain;
  opacity: 0.08;
  pointer-events: none;
}

/* Who we serve */
.who-we-serve {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.who-card {
  padding: 28px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.who-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.who-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 137, 30, 0.12);
  color: var(--orange);
  margin-bottom: 16px;
}
.who-icon svg { width: 22px; height: 22px; }
.who-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.who-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.closing-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  border-left: 4px solid var(--orange);
  padding-left: 20px;
  max-width: 640px;
}

/* Mission & Vision */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.mv-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.5;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(58, 53, 54, 0.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--orange);
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Wide service bands (Hemerge 360) */
.band-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.band-list-tight { margin-bottom: 24px; }
.band {
  display: flex;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 36px 40px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.band:hover {
  box-shadow: 0 10px 28px rgba(58, 53, 54, 0.08);
  transform: translateY(-2px);
}
.band-head {
  flex: 0 0 240px;
}
.band-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--orange);
  margin-bottom: 16px;
}
.band-icon svg { width: 24px; height: 24px; }
.band-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.band-head p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.band-checklist {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 24px;
  align-content: start;
}
.band-checklist li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--gray-border);
}
.band-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--orange);
  font-weight: 700;
}

/* Start Up / entity grid */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.entity-card-wide { grid-column: span 2; }
.entity-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.entity-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(58, 53, 54, 0.08);
  transform: translateY(-2px);
}
.entity-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.entity-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.entity-note {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.entity-note a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SME section */
.sme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sme-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), background var(--transition);
}
.sme-card:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}
.sme-number {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}
.sme-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.sme-card p {
  font-size: 0.92rem;
  color: #C9C4C3;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray-border);
}
.contact-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 137, 30, 0.12);
  color: var(--orange);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-list a {
  font-weight: 600;
  transition: color var(--transition);
}
.contact-list a:hover { color: var(--orange); }

.contact-form {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row:last-of-type { margin-bottom: 28px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--orange);
  outline: none;
}

/* ---------- Placeholder note ---------- */
.placeholder-note {
  display: inline-block;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  background: var(--gray-light);
  border: 1px dashed var(--gray-border);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin-bottom: 40px;
}
.section-alt .placeholder-note { background: var(--white); }
.editorial-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 24px;
}
.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 137, 30, 0.12);
  color: var(--orange);
  margin-bottom: 16px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.why-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-step {
  position: relative;
  padding-top: 8px;
}
.process-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.35;
  margin-bottom: 8px;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Stats ---------- */
.stats-section { background: var(--charcoal); color: var(--white); }
.stats-section .section-label { color: var(--orange); }
.stats-section .section-title { color: var(--white); }
.stats-section .placeholder-note {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #C9C4C3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C9C4C3;
}

/* ---------- Case Studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.case-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 28px rgba(58, 53, 54, 0.08);
  transform: translateY(-2px);
}
.team-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-light);
  border: 2px dashed var(--gray-border);
  color: #C9C4C3;
}
.team-avatar svg { width: 38px; height: 38px; }
.team-avatar-photo {
  border: none;
  background: var(--gray-light);
  overflow: hidden;
}
.team-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: 3px solid var(--white);
}
.team-avatar-badge svg { width: 14px; height: 14px; }
.team-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 10px;
  border-top: 1px solid var(--gray-border);
}
.team-linkedin svg { width: 15px; height: 15px; }
.team-linkedin:hover { color: var(--charcoal); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.article-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 28px rgba(58, 53, 54, 0.08);
  transform: translateY(-2px);
}
.article-thumb {
  height: 140px;
  background: repeating-linear-gradient(45deg, var(--gray-light), var(--gray-light) 10px, var(--white) 10px, var(--white) 20px);
  border-bottom: 1px solid var(--gray-border);
}
.article-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 24px 6px;
}
.article-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 24px 20px;
}

/* ---------- Final CTA ---------- */
.section-cta {
  background: var(--charcoal);
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-inner p {
  color: #C9C4C3;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ---------- Legal pages ---------- */
.legal-container {
  max-width: 760px;
}
.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 40px 0 14px;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.legal-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}
.legal-page li {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.legal-page a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page h3 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 28px 0 10px;
}
.legal-page strong { color: var(--charcoal); }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.92rem;
}
.legal-page th,
.legal-page td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
}
.legal-page th {
  background: var(--gray-light);
  font-weight: 700;
  color: var(--charcoal);
}
.legal-page td { color: var(--text-muted); }
.legal-page em {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

/* Article meta + back link (blog posts) */
.article-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}
.article-meta span { color: var(--orange); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.back-link:hover { color: var(--orange); }
.back-link svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-inner .brand-word { color: var(--white); }
.footer-tagline {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-copy {
  color: #A7A2A1;
  font-size: 0.82rem;
  margin-top: 8px;
}
.footer-copy a {
  color: #A7A2A1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy a:hover { color: var(--orange); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 4px;
}
.footer-legal a {
  color: #A7A2A1;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--orange); }
.footer-legal span {
  color: #6b6667;
  font-size: 0.78rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sme-grid { grid-template-columns: repeat(2, 1fr); }
  .who-we-serve { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .band { flex-direction: column; gap: 20px; }
  .band-head { flex: none; }
  .band-checklist { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .primary-nav.is-open { max-height: 320px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .primary-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-border);
  }

  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid-3 { grid-template-columns: 1fr; }
  .sme-grid { grid-template-columns: 1fr; }
  .band { padding: 24px; }
  .band-checklist { grid-template-columns: 1fr; }
  .entity-grid { grid-template-columns: 1fr; }
  .entity-card-wide { grid-column: span 1; }
  .entity-card { padding: 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .section-cta { padding: 56px 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 56px 0 40px; }

  .contact-form { padding: 24px; }
}

@media (max-width: 420px) {
  .brand-mark { width: 46px; height: 46px; }
  .brand-word { font-size: 0.72rem; }
  .brand-word-sub { font-size: 0.48rem; }
  .header-inner { height: 80px; }
  .primary-nav { top: 80px; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  /* Last-resort fallback: force this away even if JS never runs or hangs. */
  animation: preloaderForceHide 0.01s linear 6s forwards;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.is-loading {
  overflow: hidden;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* "Hemerge" wordmark: the icon stands in for the H, "EMERGE" types in beside it */
.preloader-word {
  display: flex;
  align-items: center;
  gap: 0.05em;
  margin: 0;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.preloader-h-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.02em;
}
.preloader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  height: 170%;
  transform: translate(-50%, -50%) scale(0.9);
  background: radial-gradient(circle, rgba(245, 137, 30, 0.55), transparent 70%);
  filter: blur(10px);
  opacity: 0;
  animation: preloaderGlowPulse 2.4s ease-in-out infinite 0.5s;
}
.preloader-mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.4) rotate(-10deg);
  animation: preloaderMarkBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s;
}
.preloader-emerge span {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  animation: preloaderLetterPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.preloader-emerge span:nth-child(1) { animation-delay: 0.5s; }
.preloader-emerge span:nth-child(2) { animation-delay: 0.56s; }
.preloader-emerge span:nth-child(3) { animation-delay: 0.62s; }
.preloader-emerge span:nth-child(4) { animation-delay: 0.68s; }
.preloader-emerge span:nth-child(5) { animation-delay: 0.74s; }
.preloader-emerge span:nth-child(6) { animation-delay: 0.8s; }

/* "Support Services": diagonal colour-sweep reveal */
.preloader-sub {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.preloader-sweep {
  display: inline-block;
  background-image: linear-gradient(100deg,
    transparent 0%, transparent 42%,
    #ffffff 48%, var(--orange) 56%,
    var(--orange) 100%);
  background-size: 280% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: preloaderSweep 0.85s ease forwards 1.15s;
}

@keyframes preloaderMarkBounce {
  0% { opacity: 0; transform: scale(0.4) rotate(-10deg); }
  55% { opacity: 1; transform: scale(1.12) rotate(3deg); }
  78% { transform: scale(0.96) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes preloaderGlowPulse {
  0%, 100% { opacity: 0.16; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 0.42; transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes preloaderLetterPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes preloaderSweep {
  to { background-position: 100% 0; }
}
@keyframes preloaderForceHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 480px) {
  .preloader-word { font-size: 2.3rem; }
  .preloader-sub { font-size: 0.78rem; letter-spacing: 0.24em; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-mark,
  .preloader-emerge span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .preloader-sweep {
    animation: none !important;
    background-position: 100% 0 !important;
  }
  .preloader-glow { animation: none !important; opacity: 0.2 !important; }
  .preloader { transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
}
