/* =========================================================
   Intelliscan.Africa — main stylesheet
   ========================================================= */

:root {
  /* Brand palette */
  --ink:        #0B1B2B;       /* primary dark surface */
  --ink-2:      #122435;       /* elevated dark surface */
  --slate:      #1F3247;       /* tertiary dark */
  --gold:       #B8860B;       /* brand accent */
  --gold-light: #D4A847;       /* hover / highlight */
  --gold-soft:  #E8C97A;       /* very light gold for badges */
  --sand:       #E8DCC4;       /* warm divider */
  --sand-soft:  #F4EEDE;       /* soft cream */
  --paper:      #FAFAF7;       /* page background */
  --white:      #FFFFFF;
  --text:       #0E1419;       /* body text on light */
  --text-mute:  #5A6473;       /* secondary text */
  --line:       #E5E2D7;       /* hairline dividers */
  --line-dark:  #1F3247;       /* hairline on dark */

  /* Type */
  --font-serif: "Fraunces", "Newsreader", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 0 var(--line), 0 12px 32px -16px rgba(11, 27, 43, 0.12);
  --shadow-lift: 0 2px 0 var(--line), 0 24px 48px -20px rgba(11, 27, 43, 0.18);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
p { margin: 0; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }

/* Section rhythm */
section { padding-block: clamp(72px, 9vw, 128px); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lede {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--text-mute);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost-light { color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-ghost-dark { color: var(--ink); border: 1px solid var(--line); background: var(--white); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Link arrow */
.linkout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s ease, gap .2s ease;
}
.linkout:hover { color: var(--gold); gap: 12px; }
.linkout.on-dark { color: var(--white); }
.linkout.on-dark:hover { color: var(--gold-soft); }

/* =========================================================
   Top bar / Navigation
   ========================================================= */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  gap: 24px;
}
.topbar a { color: inherit; opacity: 0.85; }
.topbar a:hover { color: var(--gold-soft); opacity: 1; }
.topbar-meta { display: flex; gap: 22px; align-items: center; }
.topbar-meta span { display: inline-flex; align-items: center; gap: 8px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 27, 43, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand .dot { color: var(--gold); }
.brand .africa { font-style: italic; font-weight: 400; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 8px;
    color: var(--white);
  }
  .menu-toggle:hover { background: rgba(255,255,255,0.08); }
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
  .topbar-meta { display: none; }
}

.mobile-menu {
  display: none;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px var(--gutter);
  color: rgba(255,255,255,0.9);
  border-top: 1px solid var(--line-dark);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--gold-soft); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(184, 134, 11, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(184, 134, 11, 0.10), transparent 60%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 168px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 980px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.32);
  border-radius: 999px;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(184,134,11,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184,134,11,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(184,134,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,134,11,0); }
}
.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
  margin-top: 28px;
  max-width: 60ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-strip .stat .num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-strip .stat .num .accent { color: var(--gold); }
.hero-strip .stat .label {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* =========================================================
   Trust / proof bar
   ========================================================= */
.proofbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}
.proofbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.proofbar-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.proofbar-items {
  display: flex; gap: 36px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-mute);
  font-weight: 500;
}
.proofbar-items span { display: inline-flex; align-items: center; gap: 8px; }
.proofbar-items span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   Services — three pillars
   ========================================================= */
.services { background: var(--paper); }
.services-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold);
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), var(--slate));
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.svc-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.svc-card p { color: var(--text-mute); font-size: 15.5px; line-height: 1.6; }
.svc-card ul {
  margin: 22px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
}
.svc-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.svc-card .linkout { margin-top: auto; align-self: flex-start; }

/* =========================================================
   ADBOK feature
   ========================================================= */
.adbok {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.adbok::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(184,134,11,0.25), transparent 65%);
  pointer-events: none;
}
.adbok-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .adbok-grid { grid-template-columns: 1fr; gap: 48px; } }

.adbok-title {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.adbok-title em { color: var(--gold); font-style: italic; }
.adbok-lede {
  margin-top: 24px;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.65;
  max-width: 52ch;
}
.adbok-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.adbok-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.adbok-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 10px;
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: 4px;
  margin-bottom: 22px;
}
.adbok-domains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.adbok-domain {
  background: var(--ink);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adbok-domain .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.adbok-domain .t {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* =========================================================
   Industries grid
   ========================================================= */
.industries { background: var(--sand-soft); }
.industries-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries-grid { grid-template-columns: 1fr; } }

.industry {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .2s ease;
  cursor: default;
}
.industry:hover { background: var(--sand-soft); }
.industry .icon {
  color: var(--gold);
  margin-bottom: 8px;
}
.industry h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.industry p { font-size: 14.5px; color: var(--text-mute); line-height: 1.55; }

/* =========================================================
   Case study highlight
   ========================================================= */
.case-highlight { background: var(--paper); }
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-top: 48px;
}
@media (max-width: 960px) { .case-card { grid-template-columns: 1fr; } }

.case-content { padding: 56px 48px; }
.case-content .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.case-content h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 22ch;
}
.case-content p { color: var(--text-mute); font-size: 16px; line-height: 1.65; }
.case-content .quote {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
}
.case-content .quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-sans); font-size: 13px; color: var(--text-mute); letter-spacing: 0.02em; }

.case-stats {
  background: linear-gradient(165deg, var(--ink) 0%, var(--slate) 100%);
  color: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  position: relative;
}
.case-stats::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.case-stat { position: relative; }
.case-stat .v {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
}
.case-stat .l {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 28ch;
}

/* =========================================================
   Engagement models
   ========================================================= */
.engage { background: var(--white); border-top: 1px solid var(--line); }
.engage-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .engage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .engage-grid { grid-template-columns: 1fr; } }

.engage-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.engage-card:hover { border-color: var(--gold); background: var(--white); transform: translateY(-3px); }
.engage-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.engage-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.engage-card p { font-size: 14.5px; color: var(--text-mute); line-height: 1.6; }

/* =========================================================
   Quote / testimonial
   ========================================================= */
.testimonial {
  background: var(--sand);
  color: var(--ink);
  padding-block: clamp(72px, 9vw, 120px);
}
.testimonial blockquote {
  margin: 0 auto;
  max-width: 880px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: center;
}
.testimonial blockquote::before {
  content: "“";
  display: block;
  font-size: 96px;
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 28px;
}
.testimonial cite {
  display: block;
  margin-top: 32px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  text-transform: uppercase;
  text-align: center;
}

/* =========================================================
   Compliance / governance
   ========================================================= */
.compliance { background: var(--paper); }
.compliance-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .compliance-grid { grid-template-columns: 1fr; gap: 40px; } }

.compliance-badges {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.badge {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.badge:hover { border-color: var(--gold); color: var(--gold); }
.badge .sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.compliance-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pdf-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s ease, color .2s ease;
}
.pdf-pill:hover { border-color: var(--gold); color: var(--gold); }
.pdf-pill .icn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================
   Final CTA
   ========================================================= */
.cta-final {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(184,134,11,0.18), transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto;
  position: relative;
}
.cta-final h2 em { color: var(--gold); font-style: italic; }
.cta-final p {
  margin: 24px auto 36px;
  max-width: 56ch;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  position: relative;
}
.cta-final .actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  position: relative;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #07111B;
  color: rgba(255,255,255,0.7);
  padding-block: 72px 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold-soft); }
.footer-brand p { margin-top: 16px; max-width: 32ch; color: rgba(255,255,255,0.55); }
.footer-brand .brand { color: var(--white); font-size: 24px; }
.footer-contact div { margin-bottom: 8px; }
.footer-contact strong { display: block; color: var(--white); margin-bottom: 4px; font-weight: 500; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 460px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.4);
  z-index: 60;
  display: none;
}
.cookie.visible { display: block; }
.cookie p { color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.cookie .cookie-actions { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 16px; font-size: 13px; }

/* =========================================================
   Inner-page hero (smaller than homepage)
   ========================================================= */
.hero.inner {
  padding-block: clamp(80px, 9vw, 132px);
}
.hero.inner .hero-title {
  font-size: clamp(36px, 5.4vw, 72px);
  max-width: 22ch;
}
.hero.inner .hero-sub { max-width: 58ch; }

/* Breadcrumb */
.crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.crumb a { color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1px; }
.crumb a:hover { color: var(--gold-soft); border-color: var(--gold); }
.crumb .sep { padding: 0 8px; opacity: 0.5; }

/* =========================================================
   Two-column content
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.two-col h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.two-col h3 em { color: var(--gold); font-style: italic; }
.two-col p { color: var(--text-mute); font-size: 16px; line-height: 1.7; }
.two-col p + p { margin-top: 18px; }

.feature-list {
  display: grid;
  gap: 24px;
}
.feature-list .feat {
  display: flex; gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.feature-list .feat:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list .feat .icn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--sand-soft);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-list .feat h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.feature-list .feat p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* =========================================================
   Anchor section list (Industries)
   ========================================================= */
.anchor-nav {
  position: sticky;
  top: 80px;
  background: var(--paper);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  z-index: 20;
  margin-top: -1px;
}
.anchor-nav-inner {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: 13.5px;
}
.anchor-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-mute);
  border: 1px solid var(--line);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.anchor-nav a:hover { color: var(--ink); border-color: var(--ink); }
.anchor-nav a.active { color: var(--ink); background: var(--ink); color: var(--white); border-color: var(--ink); }

.anchor-block {
  padding-block: clamp(64px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.anchor-block:last-child { border-bottom: 0; }
.anchor-block h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 20px;
}
.anchor-block h2 em { color: var(--gold); font-style: italic; }

/* =========================================================
   Page intro (hero-light alternative for inner pages)
   ========================================================= */
.page-intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(56px, 6vw, 88px);
}
.page-intro .crumb {
  color: var(--text-mute);
  margin-bottom: 16px;
}
.page-intro .crumb a {
  color: var(--text-mute);
  border-bottom-color: var(--line);
}
.page-intro .crumb a:hover { color: var(--gold); border-color: var(--gold); }
.page-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: -0.02em;
  max-width: 22ch;
  line-height: 1.05;
}
.page-intro h1 em { color: var(--gold); font-style: italic; }
.page-intro .lede {
  margin-top: 22px;
  max-width: 64ch;
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--text-mute);
  line-height: 1.65;
}

/* =========================================================
   Prose (for legal pages, blog posts, etc.)
   ========================================================= */
.prose {
  max-width: 70ch;
  margin: 0 auto;
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.75;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 56px 0 16px;
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 16px 0 18px 24px; }
.prose ul li, .prose ol li { margin-bottom: 8px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.prose a:hover { color: var(--ink); border-color: var(--ink); }
.prose strong { font-weight: 600; }

/* =========================================================
   Contact form
   ========================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .form-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.contact-info { padding-top: 12px; }
.contact-info h3 {
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.contact-info p { color: var(--text-mute); margin-bottom: 32px; line-height: 1.65; }
.contact-info .ci-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-info .ci-block:last-child { border-bottom: 1px solid var(--line); }
.contact-info .ci-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-info .ci-value {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.contact-info .ci-sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow .pulse { animation: none; }
}
