/* ===========================================================
   ReWired Consulting — Brand Stylesheet
   Colors: Dark Blue #0D2459 (primary) · Royal Purple #7B3FBE (accent)
   White #FFFFFF (background) · Pale Blue-Gray #F4F4FA (support)
   Typography: Heavyweight sans for headlines, system sans for body
   =========================================================== */

:root {
  --db: #0D2459;        /* Dark Blue — primary */
  --db-light: #16337a;
  --db-dark: #081739;
  --rp: #7B3FBE;         /* Royal Purple — accent */
  --rp-light: #9a63d6;
  --rp-dark: #5f2f96;
  --white: #FFFFFF;
  --pale: #F4F4FA;       /* Support background */
  --ink: #1B1F2A;
  --gray: #5B6272;
  --line: #E3E3F0;

  --font-head: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(13, 36, 89, 0.10);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

/* Each top-level section gently glides to rest at the top of the viewport
   as you scroll, instead of stopping wherever the scroll happens to end.
   "proximity" (not "mandatory") means it only snaps near a boundary, so
   long sections still scroll and read normally in between. */
main > section {
  scroll-snap-align: start;
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--db);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 900;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

/* Card/item sub-headings: semantically h3 (no skipped heading levels),
   visually sized like the former h4 so nothing shifts on screen. */
h3.card-heading { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--gray); }
p:last-child { margin-bottom: 0; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rp);
  margin-bottom: 14px;
}

.eyebrow.on-dark { color: #C9A9F2; }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* Scroll reveal: sections fade and lift into view as the page scrolls.
   Class is only added by JS, so content stays fully visible with JS disabled. */
section.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
section.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  section.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mission pull-quote */
.mission-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.mission-quote .eyebrow { display: block; }
.mission-quote p {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--db);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.mission-quote p.mission-sub {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray);
  font-size: 1.02rem;
}

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-pale { background: var(--pale); }
.bg-navy {
  background: linear-gradient(155deg, var(--db) 0%, var(--db-dark) 100%);
  color: var(--white);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: #C7CEE6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(123, 63, 190, 0.35);
}
.btn-primary:hover { background: var(--rp-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--db);
  color: var(--db);
}
.btn-outline-dark:hover { background: var(--db); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg { width: 40px; height: 40px; flex-shrink: 0; }

.brand-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.18rem;
  color: var(--db);
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-word span { color: var(--rp); }
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--gray);
  margin-top: 4px;
}

nav.main-nav { display: flex; align-items: center; gap: 36px; }
nav.main-nav a {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--rp); }
nav.main-nav a.active { color: var(--rp); }

/* ---------- Nav dropdowns ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--gray);
}
.dropdown-toggle:hover { color: var(--rp); }
.dropdown-toggle .caret { transition: transform 0.2s ease; display: block; }
.nav-item.open .dropdown-toggle .caret,
.nav-item:hover .dropdown-toggle .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-menu a:hover { background: var(--pale); color: var(--rp); }

@media (min-width: 761px) {
  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.82rem; }
.nav-cta .btn-primary { background: var(--db); box-shadow: none; }
.nav-cta .btn-primary:hover { background: var(--rp); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2.5px; background: var(--db); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,63,190,0.35), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 20px; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.2; }
.hero-lead { font-size: 1.12rem; color: #C7CEE6; max-width: 560px; margin-bottom: 14px; }
.hero-lead:last-of-type { margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.trust-bar {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 64px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-bar .item {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.trust-bar .item span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: #A8B2D6;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin-top: 4px;
}

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 32px;
}
.hero-panel .node-graphic { width: 100%; height: auto; }
.hero-text-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.hero-text-panel .hero-lead { margin-bottom: 0; }
.hero-graphic-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Cards / Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.problem-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.problem-card .num {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--rp);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.why-card {
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--db);
  color: var(--white);
}
.why-card h3, .why-card p { color: var(--white); }
.why-card p { color: #C7CEE6; }
.why-card .check {
  color: var(--rp-light);
  font-family: var(--font-head);
  margin-right: 8px;
}

.stage-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--rp), var(--rp-dark));
  color: var(--white);
}
.stage-card .stage-tag {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 4px;
  display: block;
}
.stage-card .stage-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  display: block;
}
.stage-card h3 { color: var(--white); }
.stage-card p { color: rgba(255,255,255,0.92); margin: 0; }
.stage-card .check {
  color: var(--white);
  font-family: var(--font-head);
  margin-right: 8px;
}

.pillar-card {
  border-top: 4px solid var(--rp);
  background: var(--pale);
  border-radius: var(--radius);
  padding: 30px;
}
.pillar-card .idx {
  font-family: var(--font-head);
  color: var(--rp);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.pillar-so-what {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--db);
}

/* Play / offer cards */
.offer-card {
  border-radius: 14px;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.offer-card.dark {
  background: linear-gradient(160deg, var(--db), var(--db-dark));
  color: var(--white);
  border: none;
}
.offer-card.dark h3, .offer-card.dark h4 { color: var(--white); }
.offer-card.dark p { color: #C7CEE6; }
.offer-card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: var(--pale);
  color: var(--db);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.offer-card.dark .tag { background: rgba(255,255,255,0.12); color: var(--white); }

.persona-line {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rp);
  margin: -6px 0 18px;
}
.offer-card.dark .persona-line { color: var(--rp-light); }
.card .persona-line {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--db);
}

.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--gray);
}
.offer-card.dark .check-list li { color: #C7CEE6; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rp);
  font-weight: 900;
}
.offer-card.dark .check-list li::before { color: var(--rp-light); }

.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 24px 0; }
.deliv-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.deliv-item p { font-size: 0.92rem; margin-bottom: 0; }

.outcomes {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.offer-card.dark .outcomes { border-top-color: rgba(255,255,255,0.16); }
.outcomes .out-item { font-size: 0.92rem; font-weight: 700; color: var(--db); }
.offer-card.dark .outcomes .out-item { color: var(--white); }

/* Stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--rp);
  font-weight: 900;
}
.stat-strip .stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 6px; }

.founder-stats {
  max-width: 980px;
  margin: 0 auto 48px;
  padding: 32px 28px;
  background: var(--pale);
  border-radius: var(--radius);
}
.stat-strip-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 20px;
  text-align: center;
}
.stat-strip-5 .stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--rp);
  font-weight: 900;
  line-height: 1.15;
}
.stat-strip-5 .stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 6px; line-height: 1.4; }

/* Founder cards */
.founder-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.founder-photo {
  height: 240px;
  background: linear-gradient(140deg, var(--pale), #ECE7F7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo .initials {
  font-family: var(--font-head);
  font-size: 3.2rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}
.founder-photo img {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(13,36,89,0.22);
  border: 3px solid var(--white);
}
.founder-body { padding: 30px; }
.founder-body h3 { margin-bottom: 2px; }
.founder-role { color: var(--rp); font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; }
.founder-loc { color: var(--gray); font-size: 0.85rem; margin-bottom: 18px; }
.founder-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--gray);
}

/* CTA band */
.cta-band {
  background: linear-gradient(155deg, var(--rp), var(--rp-dark));
  color: var(--white);
  text-align: center;
  border-radius: 18px;
  padding: 64px 40px;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: #EADCFA; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--rp-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--pale); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); }

/* Approach steps */
.steps { counter-reset: step; }
.step-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--rp);
  opacity: 0.85;
}

/* Values grid */
.value-item { display: flex; gap: 16px; }
.value-item .mark {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--rp);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
}

/* ---------- Stage callout ---------- */
.stage-callout {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 22px 32px;
  background: var(--pale);
  border-left: 4px solid var(--rp);
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--db);
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 8px; }
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--db);
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.faq-a { color: var(--gray); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item { margin-bottom: 28px; }
.contact-info-item h3 { margin-bottom: 6px; }
.contact-info-item a { color: var(--rp); font-weight: 700; }

.contact-form-success {
  text-align: center;
  padding: 24px 8px;
}
.contact-form-success h4 { color: var(--rp); margin-bottom: 10px; }

form.contact-form { display: grid; gap: 16px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--db);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--pale);
  color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--rp);
  outline-offset: 1px;
  background: var(--white);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--db-dark);
  color: #B7BFE0;
  padding: 64px 0 28px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { flex: 1 1 300px; max-width: 340px; }
.footer-grid > div:not(.footer-brand) { flex: 0 0 auto; min-width: 150px; }
.footer-grid h4 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.08em; margin: 0 0 18px; }
.footer-grid a { display: block; margin-bottom: 11px; color: #B7BFE0; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--rp-light); }
.footer-brand p { color: #93A0CC; font-size: 0.92rem; max-width: 320px; margin-top: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #7A86B3;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 68px 0 64px; }
.page-hero .eyebrow { color: #C9A9F2; }
.page-hero p { max-width: 640px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-w { max-width: 720px; }
.center-p { margin-left: auto; margin-right: auto; }

/* ---------- Stage Ladder Infographic ---------- */
.stage-ladder-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 24px 8px;
}
.stage-ladder { width: 100%; height: auto; display: block; }
.stage-ladder .ladder-label {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 19px;
  fill: var(--db);
}
.stage-ladder .ladder-sub {
  font-size: 13px;
  fill: var(--gray);
}
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--pale);
  color: var(--db);
}

/* ---------- Customer Journey Timeline ---------- */
.journey-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 12px;
}
.journey-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}
.journey-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--rp);
  color: var(--rp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.95rem;
}
.journey-step.is-here .journey-num {
  background: var(--rp);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(123,63,190,0.18);
}
.journey-step .journey-tag {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--rp);
  margin-bottom: 6px;
}
.journey-step h3 { font-size: 1rem; margin-bottom: 6px; }
.journey-step p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* ---------- Our Story: animated narrative ---------- */
.story-narrative { position: relative; }
.story-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.story-chapter.in-view { opacity: 1; transform: translateY(0); }
.story-chapter:not(:last-child) { border-bottom: 1px solid var(--line); }
.story-chapter.reverse { grid-template-columns: 1fr 1fr; }
.story-chapter.reverse .story-visual { order: -1; }
.story-chapter-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--rp);
  display: block;
  margin-bottom: 10px;
}
.story-chapter ul { margin: 14px 0 0; padding: 0; list-style: none; }
.story-chapter ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}
.story-chapter ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--rp);
  font-weight: 700;
}
.story-visual {
  border-radius: var(--radius);
  border: 2px dashed var(--line);
  background: var(--pale);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.story-visual .ph-label {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.story-visual .ph-sub { font-size: 0.8rem; color: var(--gray); margin-top: 6px; }

/* ---------- Our Story: video placeholder ---------- */
.story-video-frame {
  position: relative;
  max-width: 900px;
  margin: 8px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 75% 15%, rgba(154,99,214,0.45), transparent 55%),
    linear-gradient(155deg, var(--db), var(--rp-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  padding: 6px 12px;
  border-radius: 20px;
}
.video-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.video-play-btn svg { margin-left: 4px; }
.story-video-caption {
  text-align: center;
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-5 { grid-template-columns: repeat(3, 1fr); }
  .deliv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .journey-track::before { display: none; }
  .story-chapter, .story-chapter.reverse { grid-template-columns: 1fr; }
  .story-chapter.reverse .story-visual { order: 0; }
}

@media (max-width: 760px) {
  .stat-strip-5 { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  nav.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  section { padding: 56px 0; }
  .step-row { grid-template-columns: 50px 1fr; }

  /* Mobile nav: dropdowns render as always-visible indented sublists,
     no hover/click toggle needed since the whole menu is already a
     vertical list. */
  .nav-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item > a { padding: 12px 0; }
  .dropdown-toggle { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 0 0 8px 16px;
    margin-bottom: 4px;
  }
  .dropdown-menu a { padding: 8px 10px; font-size: 0.86rem; }
}

/* ===========================================================
   Intro Splash
   =========================================================== */
body.intro-active {
  overflow: hidden;
  height: 100vh;
}

#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(123,63,190,0.35), transparent 55%),
    linear-gradient(155deg, var(--db) 0%, var(--db-dark) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#intro-splash.intro-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#intro-splash.intro-instant {
  transition: none;
  opacity: 0;
  visibility: hidden;
  display: none;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.intro-graphic {
  width: min(72vw, 420px);
  height: auto;
  margin-bottom: 8px;
}

.i-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  pathLength: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: draw-line 1s ease forwards;
}
.i-line.rp { stroke: #9a63d6; }
.i-line.wh { stroke: rgba(255,255,255,0.55); }

.i-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop-node 0.6s cubic-bezier(.34,1.56,.64,1) forwards, glow-pulse 2.6s ease-in-out 2.4s infinite;
}

@keyframes draw-line {
  0% { opacity: 1; stroke-dashoffset: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes pop-node {
  0% { opacity: 0; transform: scale(0.2); }
  70% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(154,99,214,0)); }
  50% { filter: drop-shadow(0 0 10px rgba(154,99,214,0.85)); }
}

.intro-word {
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 2.15s;
  margin-top: 6px;
}
.intro-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  letter-spacing: 0.02em;
}
.intro-brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: #B7A6E0;
  margin-top: 8px;
}
.intro-tagline {
  margin-top: 14px;
  color: #C7CEE6;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.intro-enter {
  opacity: 0;
  animation: fade-up 0.8s ease forwards, enter-pulse 2.2s ease-in-out 3.4s infinite;
  animation-delay: 2.7s, 3.4s;
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rp);
  color: var(--white);
  border: none;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(123,63,190,0.45);
}
.intro-enter:hover { background: var(--rp-light); }
.intro-enter svg { transition: transform 0.2s ease; }
.intro-enter:hover svg { transform: translateX(3px); }

@keyframes enter-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 26px rgba(123,63,190,0.45); }
  50% { transform: scale(1.045); box-shadow: 0 10px 34px rgba(123,63,190,0.65); }
}

.intro-skip {
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 2.9s;
  margin-top: 20px;
  background: none;
  border: none;
  color: #8E9BC7;
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}
.intro-skip:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .i-line, .i-node, .intro-word, .intro-enter, .intro-skip {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .intro-enter { padding: 14px 26px; font-size: 0.82rem; }
}

/* ---------- GTM Deliverables Matrix table ---------- */
.matrix-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--white);
}
table.matrix th, table.matrix td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--gray);
}
table.matrix thead th {
  background: var(--db);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
table.matrix thead th span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: #C9A9F2;
  margin-top: 4px;
  text-transform: none;
}
table.matrix th.row-label, table.matrix td.row-label {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.82rem;
  color: var(--db);
  background: var(--pale);
  white-space: nowrap;
}
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: none; }
