/* ============================================
   Joseph Carter Group — Design System
   Brand Book v1.0 — February 2026
   ============================================

   Typography: Montserrat (web fallback for Neulis Alt)
   Color palette sourced from brand book pp. 14–15.
   ============================================ */

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

/* ── Utility ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Brand Tokens ── */
:root {
  /* Primary palette */
  --navy:           #19314A;
  --navy-dark:      #0F2035;
  --charcoal:       #2F3A45;
  --steel:          #88939F;

  /* Secondary palette */
  --gray-mid:       #A8A8A8;
  --gray-dark:      #353535;
  --white:          #FFFFFF;

  /* Functional accents */
  --accent:         #3A7CA5;
  --accent-hover:   #2D6488;
  --gold:           #C8A951;
  --gold-hover:     #B59541;

  /* Surfaces */
  --bg:             #FFFFFF;
  --bg-light:       #F5F6F8;
  --bg-warm:        #FAFAF9;
  --border:         #E0E2E6;
  --border-light:   #ECEDF0;

  /* Text */
  --text:           #353535;
  --text-secondary: #5C6370;
  --text-light:     #88939F;
  --text-inverse:   rgba(255, 255, 255, 0.85);

  /* Spacing */
  --space-xs:       8px;
  --space-sm:       16px;
  --space-md:       24px;
  --space-lg:       40px;
  --space-xl:       64px;
  --space-2xl:      96px;

  /* Layout */
  --max-width:      1200px;
  --nav-height:     72px;

  /* Radius */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(25, 49, 74, 0.06);
  --shadow-md:      0 4px 12px rgba(25, 49, 74, 0.08);
  --shadow-lg:      0 8px 30px rgba(25, 49, 74, 0.10);
  --shadow-card:    0 2px 8px rgba(25, 49, 74, 0.06);

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --speed:          0.25s;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

.subhead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 640px;
  margin: var(--space-xs) auto 0;
  line-height: 1.6;
}

.text-center { text-align: center; }
.mb-lg { margin-bottom: var(--space-lg); }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--speed) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo img,
.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav-logo--text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg-light);
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: background var(--speed) var(--ease) !important;
}

.nav-cta:hover {
  background: var(--charcoal) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
  transition: all var(--speed) var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-light);
}

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }


/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.badge-accent { background: rgba(58, 124, 165, 0.1); color: var(--accent); }
.badge-gold { background: rgba(200, 169, 81, 0.12); color: var(--gold-hover); }
.badge-coming-soon { background: rgba(200, 169, 81, 0.12); color: var(--gold-hover); }
.badge--sm { font-size: 0.7rem; vertical-align: middle; }


/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: var(--navy);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(58, 124, 165, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.hero .subhead {
  color: var(--text-inverse);
  max-width: 580px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.badge-hero {
  margin-bottom: var(--space-md);
}

.hero-description {
  color: var(--text-inverse);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 580px;
  margin: var(--space-sm) auto 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: var(--space-lg);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero--centered .badge-hero {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  padding: 10px 24px;
  letter-spacing: 0.16em;
}

.hero--centered h1 {
  max-width: 10ch;
  margin-left: auto;
  margin-right: auto;
}

.hero--centered .hero-description {
  max-width: 680px;
}


/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: var(--navy);
  color: white;
  text-align: center;
}

.page-header h1 {
  color: white;
}

.page-header p,
.page-header .subhead {
  color: var(--text-inverse);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}


/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(58, 124, 165, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-copy {
  margin-top: var(--space-lg);
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-copy > * + * {
  margin-top: 18px;
}

.legal-copy h2,
.legal-copy h3 {
  margin-top: 28px;
}

.legal-copy p,
.legal-copy li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-copy ul {
  list-style: disc;
  padding-left: 22px;
}

.legal-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}


/* ============================================
   CARDS SECTION (homepage "What We Do")
   ============================================ */
.cards-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--speed) var(--ease);
  position: relative;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}


/* ============================================
   TEXT SECTION (positioning statement)
   ============================================ */
.text-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-light);
}

.cards-grid--home {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.text-section p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* About page — left-aligned text variant */
.text-section--left p {
  text-align: left;
}

.text-section--left .section-title {
  text-align: left;
}

.home-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--white);
}

.home-section--soft {
  background: var(--bg-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-lg);
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.portfolio-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  transition: all var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.portfolio-overlay h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.portfolio-overlay p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.portfolio-overlay--visible {
  opacity: 1;
}

.portfolio-item--coming {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--bg-light);
}

.portfolio-item--coming .portfolio-overlay h3 {
  color: var(--text-primary);
}

.portfolio-info {
  padding: var(--space-md);
}

.portfolio-info h4 {
  margin-bottom: 6px;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.portfolio-info a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.portfolio-info a:hover {
  text-decoration: underline;
}


/* ============================================
   CONNECT / BOOK A CALL PAGE
   ============================================ */
.connect-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-light);
}

/* Booking grid — 3 cards */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto var(--space-lg);
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.booking-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.booking-card--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.booking-card--featured:hover {
  border-color: var(--accent);
}

.booking-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.booking-card--featured .booking-card-label {
  color: var(--navy);
}

.booking-card h2 {
  color: var(--navy);
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.booking-card-format {
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.booking-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.booking-btn {
  width: 100%;
  text-align: center;
}

/* Outside Ohio note */
.booking-outside {
  text-align: center;
  max-width: 960px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.booking-outside p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

/* Detail cards below booking */
.connect-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}

.connect-detail-item {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.connect-detail-item h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.connect-detail-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.connect-detail-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.connect-detail-item a:hover {
  text-decoration: underline;
}


/* ============================================
   RECENT WORK (homepage)
   ============================================ */
.recent-work {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-light);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.recent-work-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  transition: all var(--speed) var(--ease);
}

.recent-work-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.recent-work-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
  overflow: hidden;
}

.recent-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-work-info {
  padding: var(--space-md);
}

.recent-work-info h4 {
  margin-bottom: 6px;
}

.recent-work-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.recent-work-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

.recent-work-grid--campaign {
  margin-top: 0;
}


/* ============================================
   SUB-BRANDS BAR
   ============================================ */
.subbrands {
  background: var(--bg-light);
  padding: var(--space-xl) var(--space-md);
}

.subbrands-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.subbrand {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--speed) var(--ease);
}

.subbrand:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.subbrand-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.subbrand-icon.gold { background: rgba(200, 169, 81, 0.12); }
.subbrand-icon.blue { background: rgba(58, 124, 165, 0.1); }

.subbrand-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.subbrand-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.subbrand-text .arrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}


/* ============================================
   POSITIONING STATEMENT
   ============================================ */
.positioning {
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-xl) var(--space-md);
}

.positioning .section-title {
  margin-bottom: var(--space-md);
}

.positioning p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}


/* ============================================
   CTA SECTION
   ============================================ */
/* CTA — dark background variant (homepage) */
.cta {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.cta p {
  color: var(--text-inverse);
  max-width: 520px;
  margin: 0 auto var(--space-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* CTA — light background variant (subpages) */
.cta-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-section.has-bg {
  background: var(--bg-light);
}

.cta-section h2 {
  margin-bottom: var(--space-xs);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}


/* ============================================
   SERVICE LANDING SYSTEM
   ============================================ */
body.service-landing {
  --service-accent: var(--gold);
  --service-accent-strong: #a98931;
  --service-accent-soft: rgba(200, 169, 81, 0.16);
  --service-glow: rgba(200, 169, 81, 0.22);
  --service-hero-bg:
    radial-gradient(circle at top left, rgba(200, 169, 81, 0.16), transparent 34%),
    radial-gradient(circle at right center, rgba(58, 124, 165, 0.22), transparent 40%),
    linear-gradient(145deg, #102338 0%, #17314b 50%, #1e4464 100%);
}

body.service-landing--campaign {
  --service-accent: var(--navy);
  --service-accent-strong: var(--navy-dark);
  --service-accent-soft: rgba(25, 49, 74, 0.14);
  --service-glow: rgba(25, 49, 74, 0.24);
  --service-hero-bg:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at right center, rgba(200, 169, 81, 0.12), transparent 40%),
    linear-gradient(145deg, #0b1b2d 0%, #142940 52%, #1d3957 100%);
}

body.service-landing--web {
  --service-accent: var(--gold);
  --service-accent-strong: var(--gold-hover);
  --service-accent-soft: rgba(200, 169, 81, 0.14);
  --service-glow: rgba(200, 169, 81, 0.26);
  --service-hero-bg:
    radial-gradient(circle at top left, rgba(200, 169, 81, 0.16), transparent 32%),
    radial-gradient(circle at right center, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(145deg, #0c1f34 0%, #17314b 55%, #24425d 100%);
}

body.service-landing--digital {
  --service-accent: #3A7CA5;
  --service-accent-strong: #2D6488;
  --service-accent-soft: rgba(58, 124, 165, 0.15);
  --service-glow: rgba(58, 124, 165, 0.28);
  --service-hero-bg:
    radial-gradient(circle at top left, rgba(58, 124, 165, 0.24), transparent 34%),
    radial-gradient(circle at right center, rgba(45, 191, 168, 0.16), transparent 38%),
    linear-gradient(145deg, #0f2740 0%, #163752 48%, #1f5470 100%);
}

body.service-landing--launch {
  --service-accent: var(--gold);
  --service-accent-strong: #8A6B1F;
  --service-accent-soft: rgba(200, 169, 81, 0.18);
  --service-glow: rgba(200, 169, 81, 0.3);
  --service-hero-bg:
    radial-gradient(circle at top left, rgba(200, 169, 81, 0.22), transparent 32%),
    radial-gradient(circle at right center, rgba(255, 243, 214, 0.1), transparent 36%),
    linear-gradient(145deg, #2d2417 0%, #41311f 48%, #594527 100%);
}

.nav-logo--campaign {
  gap: 0;
}

.campaign-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.campaign-brand__mark {
  display: block;
  width: auto;
  height: 38px;
  max-width: 176px;
  object-fit: contain;
}

.nav-logo--campaign .campaign-brand__mark,
.footer-logo-text .campaign-brand__mark {
  height: 38px;
}

.campaign-brand__divider {
  width: 1px;
  height: 30px;
  background: rgba(25, 49, 74, 0.16);
  flex: none;
}

.campaign-brand__word {
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nav-logo--campaign .campaign-brand__word,
.footer-logo-text .campaign-brand__word {
  font-size: 1.28rem;
}

body.service-landing--campaign .detail-card p,
body.service-landing--campaign .path-card p {
  color: var(--text-secondary);
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 56px) var(--space-md) 72px;
  background: var(--service-hero-bg);
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 84px);
  opacity: 0.18;
  pointer-events: none;
}

.service-hero::after {
  content: '';
  position: absolute;
  top: 8%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: var(--service-glow);
  filter: blur(28px);
  pointer-events: none;
}

.service-hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-lg);
  align-items: center;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-hero-copy h1 {
  max-width: 12ch;
  color: var(--white);
}

.service-hero-copy p {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.service-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.6;
}

.service-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-trust span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 600;
}

.service-hero-panel {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(8, 20, 34, 0.46);
  box-shadow: 0 24px 60px rgba(8, 20, 34, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.service-hero-panel h2,
.service-hero-panel h3,
.service-hero-panel h4 {
  color: var(--white);
}

.service-panel-label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-panel-copy {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}

.detail-stack {
  display: grid;
  gap: 12px;
}

.detail-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-card h3 {
  color: var(--white);
}

.detail-card p {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
}

.campaign-hero {
  background:
    linear-gradient(90deg, #0b223a 0%, #0f3151 58%, #344867 58%, #344867 100%);
}

.campaign-hero::after {
  right: -5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(90, 152, 201, 0.24) 0%, rgba(90, 152, 201, 0) 70%);
}

.campaign-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  align-items: stretch;
}

.campaign-hero-copy {
  padding-right: clamp(28px, 4vw, 64px);
}

.campaign-hero-copy h1 {
  max-width: 8.6ch;
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  line-height: 0.96;
}

.campaign-hero-copy p {
  max-width: 720px;
  font-size: 1.08rem;
}

.campaign-hero-rail {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-left: clamp(28px, 4vw, 48px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.campaign-hero-card {
  display: block;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(58, 74, 100, 0.9);
  box-shadow: 0 20px 50px rgba(6, 15, 26, 0.18);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.campaign-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 54px rgba(6, 15, 26, 0.24);
}

.campaign-hero-card h2,
.campaign-hero-card h3 {
  color: var(--white);
}

.campaign-hero-card p {
  color: rgba(255, 255, 255, 0.82);
}

.campaign-hero-card--intro {
  background: rgba(74, 88, 114, 0.9);
}

.campaign-hero-card--sample {
  overflow: hidden;
  padding: 0;
  background: rgba(37, 52, 76, 0.94);
}

.campaign-hero-card__media img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center top;
}

.campaign-hero-card__body {
  padding: 20px 22px 22px;
}

.campaign-card-label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.campaign-hero-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-hero-card--link {
  height: 100%;
}

.service-proof-thumb {
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 18px;
  aspect-ratio: 1.2 / 1;
  background: linear-gradient(160deg, rgba(25, 49, 74, 0.08), rgba(58, 124, 165, 0.14));
}

.service-proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.service-asset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.service-asset-chip {
  width: 110px;
  height: 110px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(25, 49, 74, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-asset-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-faq-section {
  max-width: var(--max-width);
}

.service-faq-section .section-intro {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.service-faq-section .faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.service-section {
  padding: 76px var(--space-md);
}

.service-section--soft {
  background: linear-gradient(180deg, var(--bg-light), #fbfbfc);
}

.service-section--plain {
  background: var(--white);
}

.service-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.service-line-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(25, 49, 74, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.service-line-card__media {
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(25, 49, 74, 0.08), rgba(58, 124, 165, 0.14));
}

.service-line-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.service-line-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  min-height: 100%;
}

.service-line-card__eyebrow {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-line-card h3 {
  margin: 0;
}

.service-line-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
}

.service-line-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service-line-card--web .service-line-card__eyebrow {
  color: var(--gold-hover);
}

.service-line-card--digital .service-line-card__eyebrow {
  color: var(--accent);
}

.service-line-card--launch .service-line-card__eyebrow {
  color: #8A6B1F;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-intro p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.offer-grid,
.path-grid {
  display: grid;
  gap: var(--space-md);
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card,
.path-card {
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(25, 49, 74, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.offer-card {
  display: flex;
  flex-direction: column;
}

.offer-card h3,
.path-card h3 {
  margin-bottom: 10px;
}

.offer-card p,
.path-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.offer-card .card-link {
  margin-top: auto;
  color: var(--service-accent-strong);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--space-lg);
  align-items: start;
}

.credential-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(25, 49, 74, 0.08);
  background:
    linear-gradient(145deg, rgba(25, 49, 74, 0.04), var(--service-accent-soft)),
    var(--white);
  box-shadow: var(--shadow-md);
}

.credential-panel p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.credential-panel h3 {
  margin-bottom: 10px;
}

.credential-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.credential-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.68;
}

.credential-list li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--service-accent);
}

.founder-pair {
  display: grid;
  gap: 16px;
}

.founder-card-lite {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(25, 49, 74, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.founder-card-lite img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
}

.founder-card-lite .role {
  display: block;
  margin-top: 4px;
  color: var(--service-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-card-lite p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card .price {
  display: block;
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
}

.campaign-page-header {
  background:
    radial-gradient(circle at top left, rgba(79, 139, 227, 0.16), transparent 34%),
    linear-gradient(145deg, #0b2238 0%, #153552 55%, #204d72 100%);
}


/* ============================================
   SERVICE SECTIONS (services.html) — v2 compact
   ============================================ */

/* CAO360 brand token */
:root {
  --cao-teal: #2DBFA8;
  --cao-teal-hover: #25A592;
  --cao-teal-light: rgba(45, 191, 168, 0.08);
}

.page-header--compact {
  padding-bottom: var(--space-lg);
}

.svc {
  padding: var(--space-xl) var(--space-md);
}

.svc--alt {
  background: var(--bg-light);
}

.svc-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.svc-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.svc-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto var(--space-md);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: left;
  transition: all var(--speed) var(--ease);
}

.svc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.svc-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.svc-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.svc-action {
  text-align: center;
  margin-top: var(--space-md);
}

/* ── CAO360 branded section ── */
.svc--cao {
  background: var(--cao-teal-light);
  border-top: 3px solid var(--cao-teal);
}

.cao-logo-block {
  margin-bottom: var(--space-sm);
}

.cao-logo {
  height: 120px;
  width: auto;
}

.svc-title--cao {
  color: var(--navy);
}

.svc-card--cao {
  border-color: rgba(45, 191, 168, 0.25);
}

.svc-card--cao:hover {
  border-color: var(--cao-teal);
}

.svc-card--cao h3 {
  color: #1A7A6B;
}

.btn-cao {
  display: inline-block;
  padding: 12px 32px;
  background: var(--cao-teal);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--speed) var(--ease);
}

.btn-cao:hover {
  background: var(--cao-teal-hover);
}


/* ============================================
   STORY SECTION (about.html)
   ============================================ */
.story-section {
  padding: var(--space-2xl) 0;
}

.story-section h2 {
  margin-bottom: var(--space-md);
}

.story-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  max-width: 720px;
}


/* ============================================
   PRINCIPLES GRID (about.html)
   ============================================ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.principle-card {
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--speed) var(--ease);
  text-align: left;
}

.principle-card:hover {
  box-shadow: var(--shadow-sm);
}

.principle-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.principle-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: none;
  text-align: left;
}


/* ============================================
   TEAM (about.html)
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: left;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto var(--space-md) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 3px solid var(--border-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.team-card .bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}


/* ============================================
   CONTACT LAYOUT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.contact-form h2 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group .required {
  color: #C44;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2388939F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-status {
  margin: 4px 0 var(--space-sm);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid transparent;
}

.form-status[data-state="pending"] {
  background: rgba(58, 124, 165, 0.08);
  border-color: rgba(58, 124, 165, 0.18);
  color: var(--accent);
}

.form-status[data-state="success"] {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.16);
  color: #256B29;
}

.form-status[data-state="warning"] {
  background: rgba(200, 169, 81, 0.12);
  border-color: rgba(200, 169, 81, 0.24);
  color: #7A5F18;
}

.form-status[data-state="error"] {
  background: rgba(196, 68, 68, 0.08);
  border-color: rgba(196, 68, 68, 0.18);
  color: #A33636;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.contact-info-item {
  margin-bottom: var(--space-xs);
}

.contact-info-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-item a {
  color: var(--accent);
  font-weight: 500;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-info-item p {
  margin: 0;
  color: var(--text);
}

.contact-info-card--dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.contact-info-card--dark h3 {
  color: #fff;
}

.contact-info-card--dark p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-sm);
}

.contact-info-card--dark .btn {
  width: 100%;
  text-align: center;
}

.contact-detail {
  margin-bottom: var(--space-md);
}

.contact-detail .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--accent);
  font-weight: 500;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.booking-card {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.booking-card h4 {
  margin-bottom: var(--space-xs);
}

.booking-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}

.faq-item.open {
  border-color: var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--steel);
  transition: transform var(--speed) var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '\2013';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer--open {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--text-inverse);
  padding-top: var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: var(--space-xl);
}

.footer-brand .nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(6, 15, 26, 0.18);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.footer-brand .nav-logo-mark {
  background: rgba(255, 255, 255, 0.15);
}

.footer-brand > p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.footer-nav h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: var(--steel);
  font-size: 0.9rem;
  transition: color var(--speed) var(--ease);
}

.footer-nav a:hover {
  color: white;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 8px;
}

.footer-nowrap {
  white-space: nowrap;
}

.footer-companies {
  white-space: nowrap;
}

.footer-companies a {
  display: inline;
  margin-bottom: 0;
}

.footer-pipe {
  margin: 0 6px;
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-bottom .disclaimer {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(136, 147, 159, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.card,
.portfolio-item,
.principle-card,
.subbrand,
.svc-card,
.team-card,
.recent-work-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid,
  .offer-grid--four,
  .path-grid,
  .split-panel,
  .service-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-hero-grid,
  .campaign-hero-link-grid {
    grid-template-columns: 1fr;
  }

  .campaign-hero-rail {
    margin-top: 32px;
    padding-top: 32px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: white;
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s var(--ease);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: var(--space-sm);
    text-align: center;
  }

  /* Stack grids */
  .cards-grid,
  .portfolio-grid,
  .svc-grid,
  .principles-grid,
  .offer-grid,
  .offer-grid--four,
  .path-grid,
  .split-panel,
  .service-hero-grid,
  .service-line-grid {
    grid-template-columns: 1fr;
  }

  .subbrands-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .contact-info-card {
    padding: var(--space-sm) var(--space-md);
  }

  .contact-info-card--dark .btn {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Spacing reductions */
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

  .hero-buttons,
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-trust,
  .service-trust,
  .service-hero-actions {
    justify-content: center;
  }

  .campaign-hero-copy {
    padding-right: 0;
  }

  .campaign-hero .service-trust,
  .campaign-hero .service-hero-actions {
    justify-content: flex-start;
  }

  .service-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

  .cta-buttons,
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .positioning p {
    text-align: left;
  }

  .recent-work-grid {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .connect-details {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .founder-card-lite {
    grid-template-columns: 1fr;
  }

  .founder-card-lite img {
    width: 96px;
    height: 96px;
  }

  .campaign-hero-card,
  .campaign-hero-card__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-asset-chip {
    width: 92px;
    height: 92px;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    gap: var(--space-sm);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .nav-logo img,
  .nav-logo-img {
    height: 32px;
    max-width: 140px;
  }

  .footer-logo-img {
    height: 28px;
    max-width: 140px;
  }
}


/* ============================================
   STORY + PROFILE PAGES
   ============================================ */
.story-hero,
.profile-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 78px);
  padding-bottom: 84px;
  background:
    radial-gradient(circle at top left, rgba(200, 169, 81, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(58, 124, 165, 0.22), transparent 30%),
    linear-gradient(150deg, #09182a 0%, #12263f 52%, #162f4c 100%);
  color: var(--white);
}

.story-hero::before,
.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 100%);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

.story-hero .container,
.profile-hero .container {
  position: relative;
  z-index: 1;
}

.story-hero__grid,
.profile-hero__grid,
.story-two-col,
.profile-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.story-kicker,
.profile-kicker,
.story-note,
.profile-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.story-kicker::before,
.profile-kicker::before,
.story-note::before,
.profile-note::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.story-hero h1,
.profile-hero h1 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(2.9rem, 6vw, 4.9rem);
  max-width: 11ch;
}

.story-hero p,
.profile-hero p {
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.03rem;
  line-height: 1.8;
}

.story-hero__copy p,
.profile-hero__copy p {
  margin-top: 18px;
  max-width: 640px;
}

.story-actions,
.profile-actions,
.story-chip-row,
.profile-chip-row,
.compact-stat-grid,
.story-card-grid,
.profile-card-grid,
.capability-grid,
.proof-grid,
.story-work-grid,
.signal-grid,
.team-story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.story-actions,
.profile-actions {
  margin-top: 28px;
}

.story-chip-row,
.profile-chip-row {
  margin-top: 24px;
}

.story-chip,
.profile-chip,
.company-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.story-surface,
.profile-surface,
.story-proof-card,
.proof-card,
.signal-card,
.capability-card,
.story-founder-card,
.story-work-card,
.journey-panel,
.profile-quote-card {
  border: 1px solid rgba(25, 49, 74, 0.09);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 50px rgba(15, 32, 53, 0.08);
}

.story-hero .story-surface,
.profile-hero .profile-surface {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: 0 22px 60px rgba(8, 20, 34, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.story-surface,
.profile-surface {
  padding: 26px;
}

.story-panel-title,
.profile-panel-title {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.2;
}

.story-panel-copy,
.profile-panel-copy {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.75;
}

.compact-stat-grid {
  margin-top: 22px;
}

.compact-stat {
  flex: 1 1 160px;
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-stat strong {
  display: block;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.compact-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

.story-section,
.profile-section {
  padding: 82px 0;
}

.story-section--soft,
.profile-section--soft {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.story-section--dark,
.profile-section--dark {
  background:
    radial-gradient(circle at top right, rgba(58, 124, 165, 0.22), transparent 32%),
    linear-gradient(160deg, #10213a 0%, #142b45 100%);
  color: var(--white);
}

.story-section--dark h2,
.story-section--dark h3,
.profile-section--dark h2,
.profile-section--dark h3 {
  color: var(--white);
}

.section-shell {
  display: grid;
  gap: 28px;
}

.section-heading {
  max-width: 760px;
}

.section-heading .section-eyebrow {
  margin-bottom: 14px;
}

.section-heading p {
  margin-top: 14px;
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

.story-section--dark .section-heading p,
.profile-section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.capability-grid,
.proof-grid,
.story-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-card,
.signal-card {
  padding: 24px;
}

.capability-card h3,
.signal-card h3 {
  margin-bottom: 10px;
}

.capability-card p,
.signal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.72;
}

.capability-card .icon-tag,
.signal-card .icon-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(58, 124, 165, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.company-pill,
.meta-pill {
  border-color: rgba(25, 49, 74, 0.08);
  background: rgba(25, 49, 74, 0.04);
  color: var(--navy);
}

.profile-hero .company-pill,
.story-hero .company-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.story-founder-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.story-founder-card img,
.profile-portrait,
.proof-card__thumb img,
.story-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-founder-card__photo {
  overflow: hidden;
  border-radius: 22px;
  min-height: 140px;
}

.story-founder-card__role {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.story-founder-card p,
.story-work-card p,
.proof-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.72;
}

.story-founder-card__actions,
.proof-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.story-work-card,
.proof-card {
  overflow: hidden;
}

.story-work-card__thumb,
.proof-card__thumb {
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(25, 49, 74, 0.08), rgba(58, 124, 165, 0.14));
}

.story-work-card__body,
.proof-card__body {
  padding: 22px;
}

.story-work-card__tag,
.proof-card__tag {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(200, 169, 81, 0.12);
  color: var(--gold-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-work-card h3,
.proof-card h3 {
  margin-top: 16px;
}

.story-work-card a,
.proof-card a {
  color: var(--accent-hover);
  font-weight: 700;
}

.profile-portrait-shell {
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  box-shadow: 0 20px 60px rgba(8, 20, 34, 0.24);
}

.profile-portrait {
  display: block;
  min-height: 100%;
}

.profile-hero__aside {
  display: grid;
  gap: 18px;
}

.profile-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-badge-list .meta-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.journey-shell {
  display: grid;
  gap: 24px;
}

.journey-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey-nav::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(25, 49, 74, 0.1), rgba(58, 124, 165, 0.28), rgba(200, 169, 81, 0.22));
  z-index: 0;
}

.story-section--dark .journey-nav::before,
.profile-section--dark .journey-nav::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(58, 124, 165, 0.36), rgba(200, 169, 81, 0.32));
}

.journey-stop {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.journey-stop::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 12px;
  border-radius: 999px;
  background: var(--white);
  border: 4px solid rgba(58, 124, 165, 0.3);
  box-shadow: 0 0 0 8px rgba(58, 124, 165, 0.08);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.journey-stop__year {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(25, 49, 74, 0.06);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-section--dark .journey-stop__year,
.profile-section--dark .journey-stop__year {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.journey-stop__label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.journey-stop__meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.story-section--dark .journey-stop__meta,
.profile-section--dark .journey-stop__meta {
  color: rgba(255, 255, 255, 0.7);
}

.journey-stop.active::before,
.journey-stop:hover::before,
.journey-stop:focus-visible::before {
  transform: scale(1.08);
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 10px rgba(58, 124, 165, 0.15);
}

.journey-stop.active .journey-stop__year,
.journey-stop:hover .journey-stop__year,
.journey-stop:focus-visible .journey-stop__year {
  background: var(--navy);
  color: var(--white);
}

.journey-panels {
  position: relative;
}

.journey-panel {
  display: none;
  padding: 28px;
}

.journey-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.journey-panel h3 {
  margin-bottom: 12px;
}

.journey-panel p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.74;
}

.journey-panel ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}

.journey-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.journey-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.journey-panel__aside {
  padding: 20px;
  border-radius: 22px;
  background: rgba(15, 32, 53, 0.04);
}

.journey-panel__aside strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-panel__aside p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.story-section--dark .journey-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.08);
}

.story-section--dark .journey-panel p,
.profile-section--dark .journey-panel p,
.story-section--dark .journey-panel li,
.profile-section--dark .journey-panel li {
  color: rgba(255, 255, 255, 0.79);
}

.story-section--dark .journey-panel__aside,
.profile-section--dark .journey-panel__aside {
  background: rgba(255, 255, 255, 0.08);
}

.story-section--dark .journey-panel__aside strong,
.profile-section--dark .journey-panel__aside strong {
  color: rgba(255, 255, 255, 0.8);
}

.profile-quote-card {
  padding: 24px;
}

.profile-quote-card blockquote {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.55;
}

.profile-quote-card p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.story-cta,
.profile-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(200, 169, 81, 0.18), transparent 24%),
    linear-gradient(155deg, rgba(25, 49, 74, 0.96), rgba(15, 32, 53, 0.98));
  color: var(--white);
  box-shadow: 0 24px 60px rgba(8, 20, 34, 0.22);
}

.story-cta h2,
.profile-cta h2,
.story-cta p,
.profile-cta p {
  color: var(--white);
}

.story-cta p,
.profile-cta p {
  margin-top: 12px;
  max-width: 700px;
  opacity: 0.82;
}

.story-cta__actions,
.profile-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .capability-grid,
  .proof-grid,
  .story-work-grid,
  .team-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-nav::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .story-hero__grid,
  .profile-hero__grid,
  .story-two-col,
  .profile-two-col,
  .journey-panel.active,
  .story-cta,
  .profile-cta {
    grid-template-columns: 1fr;
  }

  .profile-portrait-shell {
    min-height: 360px;
  }

  .story-cta__actions,
  .profile-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .story-hero,
  .profile-hero {
    padding-top: calc(var(--nav-height) + 54px);
    padding-bottom: 64px;
  }

  .story-section,
  .profile-section {
    padding: 66px 0;
  }

  .capability-grid,
  .proof-grid,
  .story-work-grid,
  .team-story-grid,
  .journey-nav,
  .compact-stat-grid {
    grid-template-columns: 1fr;
  }

  .story-founder-card {
    grid-template-columns: 1fr;
  }

  .story-founder-card__photo {
    min-height: 240px;
  }

  .journey-panel,
  .story-surface,
  .profile-surface,
  .story-cta,
  .profile-cta,
  .story-work-card__body,
  .proof-card__body {
    padding: 22px;
  }

  .story-hero h1,
  .profile-hero h1 {
    max-width: none;
  }

  .campaign-brand__word {
    font-size: 1.08rem;
  }

  .campaign-brand__divider {
    height: 24px;
  }
}

@media (max-width: 560px) {
  .nav-logo--campaign .campaign-brand__mark,
  .footer-logo-text .campaign-brand__mark {
    height: 30px;
  }

  .nav-logo--campaign .campaign-brand__word,
  .footer-logo-text .campaign-brand__word {
    font-size: 0.96rem;
  }

  .campaign-brand__divider {
    height: 22px;
  }

  .story-actions,
  .profile-actions,
  .story-founder-card__actions,
  .proof-card__actions,
  .story-cta__actions,
  .profile-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .story-actions .btn,
  .profile-actions .btn,
  .story-founder-card__actions .btn,
  .proof-card__actions .btn,
  .story-cta__actions .btn,
  .profile-cta__actions .btn {
    width: 100%;
  }

  .story-chip,
  .profile-chip,
  .company-pill,
  .meta-pill {
    width: 100%;
    justify-content: center;
  }

  .journey-stop {
    padding: 18px;
    border-radius: 22px;
    background: rgba(25, 49, 74, 0.04);
    border: 1px solid rgba(25, 49, 74, 0.08);
  }

  .journey-stop::before {
    margin-left: 0;
  }
}
