/* ═══════════════════════════════════════════════════════════════════
   TRINFAC — Brand-Aligned Stylesheet
   Brand System Quick Guide 2024
   Colors: Deep Navy #0A1628 | White #FFFFFF | Signal Gold #C9A84C
   Type: Inter (Light 300, Regular 400, Medium 500, Bold 700)
═══════════════════════════════════════════════════════════════════ */

/* ── OFFLINE FONT STACK ─────────────────────────────────────────────
   Inter ships natively on most modern devices. This stack ensures
   the best available humanist sans-serif is used without a network call.
   Order: Inter → system-ui → Segoe UI (Win) → -apple-system (Mac/iOS)
   → Helvetica Neue → Arial
──────────────────────────────────────────────────────────────────── */

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary */
  --color-deep-navy:    #0A1628;
  --color-white:        #FFFFFF;
  --color-signal-gold:  #C9A84C;
  --color-gold-lt:      #DFC06E;

  /* Secondary */
  --color-teal:         #0D7B7E;
  --color-slate:        #4A6FA5;
  --color-sage:         #5A8A72;
  --color-amber:        #E8963A;
  --color-crimson:      #C0392B;
  --color-violet:       #6C5CE7;

  /* Neutrals */
  --color-navy-mid:     #0F1F3A;
  --color-navy-light:   #162440;
  --color-off-white:    #F4F5F7;
  --color-grey-light:   #D1D8E4;
  --color-grey-mid:     #8892A4;
  --color-grey-dark:    #4A5568;

  /* Typography */
  --font:        'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-bold:     700;

  /* Scale */
  --text-xs:   0.70rem;
  --text-sm:   0.82rem;
  --text-base: 0.95rem;
  --text-md:   1.05rem;
  --text-lg:   1.30rem;
  --text-xl:   1.80rem;
  --text-2xl:  2.40rem;
  --text-3xl:  3.40rem;
  --text-4xl:  4.20rem;

  /* Spacing */
  --sp-1:  4px;  --sp-2:  8px;   --sp-3:  12px; --sp-4:  16px;
  --sp-5:  24px; --sp-6:  32px;  --sp-8:  48px; --sp-10: 64px;
  --sp-12: 80px; --sp-16: 100px;

  /* Borders */
  --radius-sm:   2px;
  --radius:      4px;
  --radius-md:   6px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10,22,40,.08);
  --shadow-md: 0 8px 24px rgba(10,22,40,.12);
  --shadow-lg: 0 16px 48px rgba(10,22,40,.18);
  --shadow-gold: 0 4px 20px rgba(201,168,76,.25);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t:      0.22s ease;
  --t-slow: 0.40s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: var(--fw-regular);
  color: var(--color-deep-navy);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section-light { background: var(--color-off-white); }
.section-dark  { background: var(--color-deep-navy); }

section { padding: var(--sp-16) 0; }

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────────────── */
.label-caps {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
}

.gold-text  { color: var(--color-signal-gold); }
.white-text { color: var(--color-white); }

.section-eyebrow { margin-bottom: var(--sp-3); }

.section-heading {
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: var(--fw-medium);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-5);
  color: var(--color-deep-navy);
}
.section-heading.white-text { color: var(--color-white); }

.section-lead {
  font-size: var(--text-md);
  font-weight: var(--fw-light);
  color: var(--color-grey-dark);
  max-width: 640px;
  margin-bottom: var(--sp-10);
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--color-signal-gold);
  color: var(--color-deep-navy);
}
.btn-gold:hover {
  background: var(--color-gold-lt);
  box-shadow: var(--shadow-gold);
}

.btn-navy {
  background: var(--color-deep-navy);
  color: var(--color-white);
}
.btn-navy:hover {
  background: var(--color-navy-mid);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--color-signal-gold);
  color: var(--color-signal-gold);
  background: rgba(201,168,76,0.06);
}

.btn-sm { padding: 9px 18px; font-size: var(--text-xs); }

.action-link {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-signal-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap var(--t);
}
.action-link:hover { gap: 8px; }

/* ── REVEAL ANIMATION ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER / NAV ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--color-deep-navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(10,22,40,0.4); }

.navbar {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: 72px;
}

.nav-logo { flex-shrink: 0; padding: var(--sp-2) 0; }
.logo-svg { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-grey-light);
  letter-spacing: 0.04em;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  border-bottom-color: var(--color-signal-gold);
}

.nav-cta { margin-left: var(--sp-5); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-deep-navy);
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-wave-accent {
  position: absolute;
  bottom: 0; right: -40px;
  width: 55%;
  max-width: 700px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-wave-accent svg { width: 100%; height: auto; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

.hero-eyebrow { color: var(--color-signal-gold); margin-bottom: var(--sp-4); }

.hero-headline {
  font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  font-weight: var(--fw-medium);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--sp-5);
}

.hero-subhead {
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  color: var(--color-grey-light);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.metric-item { display: flex; flex-direction: column; gap: 2px; }
.metric-num {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-signal-gold);
  line-height: 1;
}
.metric-label {
  font-size: var(--text-xs);
  color: var(--color-grey-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ── WHY SECTION ─────────────────────────────────────────────────── */
.why .section-heading { max-width: 500px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-deep-navy);
}
.card-body {
  font-size: var(--text-base);
  color: var(--color-grey-dark);
  line-height: 1.65;
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.about-col-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  margin-bottom: var(--sp-4);
}
.about-col-body {
  font-size: var(--text-base);
  color: var(--color-grey-light);
  margin-bottom: var(--sp-5);
  line-height: 1.7;
}

.problem-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.problem-list li {
  font-size: var(--text-base);
  color: var(--color-grey-light);
  line-height: 1.6;
  padding-left: var(--sp-4);
  border-left: 2px solid rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pill-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--color-signal-gold);
  letter-spacing: 0.06em;
}

.pillar-steps { display: flex; flex-direction: column; gap: var(--sp-3); }
.pillar-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--t);
}
.pillar-step:hover { background: rgba(201,168,76,0.06); }
.pillar-num {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-signal-gold);
  min-width: 28px;
  line-height: 1.5;
}
.pillar-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pillar-content strong {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.pillar-content span {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
}

/* Success Stories */
.success-stories { margin-top: var(--sp-4); }
.success-stories .section-eyebrow { margin-bottom: var(--sp-6); }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}

.story-card {
  background: var(--color-navy-light);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--t), box-shadow var(--t);
}
.story-card:hover {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 8px 32px rgba(201,168,76,0.08);
}
.story-stat {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: 1;
}
.story-title {
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.story-body {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  line-height: 1.65;
  flex: 1;
}
.story-tags { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-2); }
.tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--color-signal-gold);
  background: rgba(201,168,76,0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

/* ── SERVICES ────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-2px);
}

.service-card--highlight {
  background: var(--color-signal-gold);
  border-color: var(--color-signal-gold);
}
.service-card--highlight .service-title,
.service-card--highlight .service-body { color: var(--color-deep-navy); }
.service-card--highlight .service-list li { color: var(--color-deep-navy); border-color: rgba(10,22,40,0.3); }
.service-card--highlight .action-link { color: var(--color-deep-navy); }
.service-card--highlight:hover { box-shadow: var(--shadow-gold); }

.service-icon-line {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius-md);
}
.service-card--highlight .service-icon-line { background: rgba(10,22,40,0.12); }

.service-title {
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--color-deep-navy);
  line-height: 1.3;
}
.service-body {
  font-size: var(--text-base);
  color: var(--color-grey-dark);
  line-height: 1.65;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.service-list li {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  padding-left: var(--sp-4);
  border-left: 2px solid var(--color-grey-light);
}

/* ── METHODOLOGY ─────────────────────────────────────────────────── */
.success-track {
  margin-bottom: var(--sp-12);
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.s-step {
  background: var(--color-navy-light);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  transition: background var(--t);
}
.s-step:hover { background: rgba(201,168,76,0.08); }
.s-step:nth-child(6),
.s-step:nth-child(7),
.s-step:nth-child(8),
.s-step:nth-child(9),
.s-step:nth-child(10) {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.s-num {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.1);
  color: var(--color-signal-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.s-num.gold-bg {
  background: var(--color-signal-gold);
  color: var(--color-deep-navy);
}
.s-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.s-label strong {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.s-label span {
  font-size: var(--text-xs);
  color: var(--color-grey-mid);
  line-height: 1.4;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-5);
}

.framework-card {
  background: var(--color-navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.framework-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  margin-bottom: var(--sp-3);
}
.framework-body {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  line-height: 1.65;
}

.cwr-phases { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-5); }
.cwr-phase {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-grey-light);
}
.cwr-num {
  width: 24px; height: 24px;
  background: rgba(201,168,76,0.1);
  color: var(--color-signal-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.kpi-card { grid-column: 1 / -1; }
.kpi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.kpi-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-grey-light);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background var(--t), border-color var(--t);
}
.kpi-tag:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}

/* ── RESOURCES ───────────────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

.resource-cat-label {
  color: var(--color-signal-gold);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-grey-light);
}

.resource-items { display: flex; flex-direction: column; gap: var(--sp-5); }

.resource-item {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.resource-item:hover { box-shadow: var(--shadow-md); }

.resource-item-title {
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--color-deep-navy);
}
.resource-item-body {
  font-size: var(--text-sm);
  color: var(--color-grey-dark);
  line-height: 1.6;
}

.badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-top: 2px;
}
.badge-gated { background: rgba(74,111,165,0.15); color: var(--color-slate); }
.badge-demand { background: rgba(13,123,126,0.12); color: var(--color-teal); }
.badge-live   { background: rgba(201,168,76,0.15); color: #8b6e1e; }

.date-label {
  font-size: var(--text-xs);
  color: var(--color-grey-mid);
  margin-top: 2px;
}

.resource-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.highlight-card {
  background: var(--color-deep-navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.highlight-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.highlight-body {
  font-size: var(--text-base);
  color: var(--color-grey-mid);
  line-height: 1.65;
  flex: 1;
}

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.contact-block {
  background: var(--color-navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
}
.contact-block--email {
  border-color: rgba(201,168,76,0.2);
}

.contact-block-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  margin-bottom: var(--sp-4);
}
.contact-block-body {
  font-size: var(--text-base);
  color: var(--color-grey-mid);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.contact-email-link {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--color-signal-gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 2px;
  transition: border-color var(--t);
  display: inline-block;
  margin-top: var(--sp-4);
}
.contact-email-link:hover { border-color: var(--color-signal-gold); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex;
  gap: var(--sp-4);
  position: relative;
  padding-bottom: var(--sp-5);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.tl-item:last-child::before { display: none; }

.tl-marker {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.1);
  color: var(--color-signal-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tl-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}
.tl-body strong {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}
.tl-body span {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-4) 0;
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.faq-item summary {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  user-select: none;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  color: var(--color-signal-gold);
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  line-height: 1.7;
  margin-top: var(--sp-3);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--color-deep-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-12);
}

.footer-inner {
  display: flex;
  gap: var(--sp-12);
  align-items: flex-start;
  padding-bottom: var(--sp-12);
}

.footer-brand { flex-shrink: 0; }
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  line-height: 1.7;
  margin-top: var(--sp-4);
}

.footer-nav {
  display: flex;
  gap: var(--sp-12);
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-col-head {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-grey-mid);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--color-signal-gold); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: var(--text-xs);
  color: var(--color-grey-mid);
}
.footer-bar-right { letter-spacing: 0.06em; }

/* ── SCROLL TO TOP ────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 50;
  width: 44px; height: 44px;
  background: var(--color-signal-gold);
  color: var(--color-deep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), background var(--t);
  box-shadow: var(--shadow-gold);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--color-gold-lt); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .frameworks-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { grid-column: 1 / -1; }
  .success-steps { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 860px) {
  section { padding: var(--sp-12) 0; }

  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--color-deep-navy);
    padding: var(--sp-8) var(--sp-6);
    gap: var(--sp-5);
    z-index: 90;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.open ~ .nav-cta { display: none; }
  .nav-menu.open .nav-link { font-size: var(--text-lg); }

  .about-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .contact-grid { grid-template-columns: 1fr; }
  .resource-highlights { grid-template-columns: 1fr; }
  .frameworks-grid { grid-template-columns: 1fr; }
  .success-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .footer-nav { margin-left: 0; gap: var(--sp-8); }
}

@media (max-width: 600px) {
  .hero-headline { font-size: var(--text-2xl); }
  .services-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: var(--sp-5); }
  .metric-divider { display: none; }
  .success-steps { grid-template-columns: 1fr; }
}

/* ── RIPPLE ──────────────────────────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}
