/* ══════════════════════════════════════════════
   Convolving — Shared Stylesheet v4
   Dark theme, LeftClick-inspired
   Fonts: Fraunces (headings) + DM Sans (body)
   ══════════════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
  --color-bg: #0d0e13;
  --color-bg-alt: #0f1018;
  --color-surface: #181c26;
  --color-surface-hover: #1e2435;
  --color-text: #eef0f4;
  --color-text-secondary: rgba(238, 240, 244, 0.58);
  --color-text-muted: rgba(238, 240, 244, 0.38);
  --color-border: rgba(255, 255, 255, 0.07);
  --color-accent: #3b82f6;
  --color-accent-light: #93c5fd;
  --color-btn-bg: #eef0f4;
  --color-btn-text: #0d0e13;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --radius-pill: 100px;
  --radius-card: 16px;
  --radius-sm: 8px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --max-width: 1200px;
  --section-py: clamp(5rem, 10vw, 10rem);
  --section-px: clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Grain texture overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-wrap: balance;
}
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; }

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

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

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

/* ── Section Badge (editorial) ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.75rem;
}

.section-badge::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-badge .badge-num {
  display: none;
}

.section-badge span:last-child {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform 0.15s ease, opacity var(--transition-fast);
  text-decoration: none;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
}

.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg);
  transition: transform var(--transition-fast);
}

.btn .arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  opacity: 1;
  background: rgba(238, 240, 244, 0.88);
  transform: translateY(-1px);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn:active {
  transform: scale(0.97) translateY(0);
  opacity: 0.85;
  transition-duration: 0.08s;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn-outline .arrow {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav { display: flex; gap: 2rem; align-items: center; }

.nav a {
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav a:hover { color: var(--color-text); }

.nav-cta .btn {
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-btn-text);
}

.nav-cta .btn .arrow {
  width: 26px;
  height: 26px;
}

/* ── Mobile Nav Toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ── Hero ── */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 1.75rem;
  line-height: 1;
}

.hero h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ── Marquee (Logo Bar) ── */
.marquee-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.marquee-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.marquee-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-left: var(--section-px);
  padding-right: 1.5rem;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: var(--color-bg);
}

.marquee-label::after {
  content: '';
  position: absolute;
  top: -1.5rem;
  bottom: -1.5rem;
  right: -80px;
  width: 80px;
  background: linear-gradient(to right, var(--color-bg), transparent);
  pointer-events: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-compact { padding: 3rem 0 2rem; }

.section-heading {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.section-heading h2 { margin-bottom: 1rem; }

.section-heading p {
  font-size: 1.0625rem;
  max-width: 600px;
}

/* ── Intro Section (text + image) ── */
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.intro-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Intro Credentials Block ── */
.intro-credentials {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.credentials-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cred-num {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 0.95;
}

.cred-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.credentials-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ── Quote Cards ── */
.quotes-breakout {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.quotes-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.quote-card:first-child {
  grid-row: 1 / 3;
}

.quote-card:first-child blockquote {
  font-size: 1.5rem;
}

.quote-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: auto;
  padding-bottom: 1.5rem;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ── Team Section ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
}

.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.team-photo {
  width: 180px;
  border-radius: 14px;
  background: var(--color-surface);
  overflow: hidden;
  position: relative;
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition-med);
}

.team-card:hover .team-photo img {
  filter: grayscale(60%);
}

.team-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--color-accent-light);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-cell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.service-cell:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08), inset 0 0 48px rgba(59, 130, 246, 0.04);
}

a.service-cell { text-decoration: none; color: inherit; cursor: pointer; }

.service-cell h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: auto;
  padding-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.service-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.service-cell:hover .service-tag {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Process Steps ── */
#process {
  position: relative;
  overflow: hidden;
}

.process-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

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

/* ── Steps Grid ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: rgba(19, 21, 31, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.step-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
}

.step-connector {
  position: absolute;
  top: 2.1rem;
  right: -0.625rem;
  width: 1.25rem;
  height: 1px;
  background: var(--color-border);
  z-index: 1;
}

.step-card:last-child .step-connector {
  display: none;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--color-text);
}

.step-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ── CTA Section ── */
.cta-section {
  padding: var(--section-py) 0;
  text-align: center;
  background: var(--color-bg-alt);
}

.cta-section h2 {
  font-style: italic;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer {
  padding: 5rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-left h3 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.footer-left p {
  font-size: 1.125rem;
  font-weight: 450;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li { margin-bottom: 0.625rem; }

.footer-nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav a:hover { color: var(--color-text); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.footer-bottom-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════
   Sub-Page Styles
   ══════════════════════════════════════════════ */

/* ── Page Hero (sub-pages) ── */
.page-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 0 4rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.page-hero .hero-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

.page-hero .hero-content {
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  letter-spacing: -0.05em;
  line-height: 1;
  min-height: 3em;
}

.page-hero-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* ── Track Overview ── */
.track-overview {
  max-width: 640px;
}

.track-overview p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ── Offering Grid ── */
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offering-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.offering-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition-fast);
}

.offering-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08), inset 0 0 40px rgba(59, 130, 246, 0.03);
}

.offering-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
}

.offering-icon svg { width: 100%; height: 100%; }

.offering-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.offering-meta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.875rem;
}

.offering-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── Offering card: row layout (icon left, content right) ── */
.offering-card-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.offering-card-row .offering-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}

.offering-card-row .offering-body { min-width: 0; }

.offering-card-row h4 {
  font-size: 1.5rem;
  margin-bottom: 0.375rem;
}

.offering-card-row .offering-meta {
  font-size: 0.8125rem;
  margin-bottom: 0.875rem;
}

.offering-card-row p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ── Cards Grid (Turnkey etc.) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition-fast);
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── Persona Cards ── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.persona-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
}

.persona-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.persona-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── Comparison Layout (partnerships) ── */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.comparison-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
}

.comparison-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.comparison-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.comparison-note {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 800px;
}

/* ── Arrow connector ── */
.journey-connector {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.journey-connector p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-top: 0.5rem;
}

/* ── Inline CTA ── */
.inline-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.inline-cta p {
  margin-bottom: 1.25rem;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Hero is always visible (no scroll-reveal delay) */
.hero .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .intro-layout { grid-template-columns: 1fr; }
  .intro-image { max-width: 500px; }
  .intro-credentials { max-width: 500px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .quote-card:first-child { grid-row: auto; }
  .quote-card:first-child blockquote { font-size: 1.25rem; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .offering-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.75rem 2rem;
    gap: 0;
    transition: right var(--transition-fast);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--color-border);
  }

  .nav.open { right: 0; }

  .nav a {
    font-size: 1rem;
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta { margin-top: 1rem; }

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

  .hero { min-height: 68vh; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .quote-card:first-child { grid-row: auto; }
  .quote-card:first-child blockquote { font-size: 1.25rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }

  .team-card {
    grid-template-columns: 80px 1fr;
    gap: 1.25rem;
  }

  .team-photo,
  .team-photo img {
    width: 80px;
    height: 80px;
  }

  .footer-layout { grid-template-columns: 1fr; gap: 2rem; }
  .offering-grid { grid-template-columns: 1fr; }
  .offering-grid.two-col { grid-template-columns: 1fr; }
  .offering-card-row { grid-template-columns: 1fr; gap: 1rem; }
  .offering-card-row .offering-icon { width: 56px; height: 56px; }
  .offering-card-row h4 { font-size: 1.25rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 68vh; padding: 6.5rem 0 3rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ══════════════════════════════════════════════
   Legal Pages (Privacy / Terms)
   ══════════════════════════════════════════════ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 10rem) var(--section-px) clamp(4rem, 8vw, 6rem);
  color: var(--color-text-secondary);
}
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}
.legal-page .last-updated {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 3rem 0 1rem;
  letter-spacing: -0.01em;
}
.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0;
}
.legal-page p,
.legal-page li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.legal-page p { margin: 0 0 1.25rem; }
.legal-page ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.legal-page li { margin-bottom: 0.5rem; }
.legal-page a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: text-decoration-color var(--transition-fast);
}
.legal-page a:hover { text-decoration-color: var(--color-text); }
.legal-page address {
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   Footer Legal Links Row
   ══════════════════════════════════════════════ */
.footer-bottom {
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-left: auto;
}
.footer-legal-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-legal-links a:hover { color: var(--color-text); }
.footer-legal-links .sep {
  color: var(--color-text-muted);
  opacity: 0.5;
}
@media (max-width: 768px) {
  .footer-legal-links { margin-left: 0; justify-content: center; }
}

/* ══════════════════════════════════════════════
   Cookie Consent Banner
   ══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 1.25rem 1.5rem;
  animation: cookie-slide-up 0.35s ease-out;
}
@keyframes cookie-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-banner-text {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.cookie-banner-text a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-banner .btn {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
}
@media (max-width: 768px) {
  .cookie-banner { padding: 1rem 1.25rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
