/* ===== Self-Hosted Instrument Sans Font ===== */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Self-Hosted Lora Font ===== */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-v37-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-v37-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-v37-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-v37-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--navy, #0a2842);
  color: #f0ede8;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== Focus Visible ===== */
:focus-visible {
  outline: 2px solid var(--navy, #0a2842);
  outline-offset: 2px;
}

[data-theme="dark"] :focus-visible {
  outline-color: var(--color-blue, #52c8ea);
}

.btn:focus-visible {
  outline-offset: 3px;
}

.nav-links a:focus-visible {
  outline-offset: 4px;
  border-radius: 2px;
}

.archetype-item:focus-visible,
.reference-card:focus-visible,
.package:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius, 6px);
}

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

/* ===== Custom Properties ===== */
:root {
  --navy: #0a2842;
  --bg: #f8f7f4;
  --text-secondary: #455565;
  --border: #d4d0c8;
  --card-bg: #ffffff;
  --footer-bg: #0a2842;

  --color-green: #8ed44b;
  --color-blue: #3db8e0;
  --color-blue-dark: #0a2842;
  --color-violet: #8b6aff;
  --color-violet-light: rgba(139, 106, 255, 0.1);
  --gradient-accent: linear-gradient(90deg, #0a2842, #1a5c3a);
  --color-coral: #ff6b6b;
  --color-green-dark: #1a6038;
  --card-hover-shadow: rgba(10, 40, 66, 0.12);
  --card-hover-border: var(--color-blue);

  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --section-padding: 50px 40px;
  --nav-height: 64px;

  --btn-text: #f0ede8;
  --btn-hover-bg: #0d3354;
  --footer-text: #c0bfba;
  --footer-link: #e0ddd6;
  --invalid: #c0392b;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --flowify-hero-start: #0a2842;
  --flowify-hero-end: #14304a;
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --navy: #e0e0e0;
  --bg: #121820;
  --text-secondary: #9aa8b5;
  --border: #222e38;
  --card-bg: #1a222c;
  --footer-bg: #0a1018;
  --btn-text: #121820;
  --btn-hover-bg: #c0d0e0;
  --footer-text: #7a8a96;
  --footer-link: #9aa8b5;
  --invalid: #e74c3c;
  --card-shadow: rgba(0, 0, 0, 0.3);
  --color-blue-dark: #e0e0e0;
  --color-violet: #9d82ff;
  --color-blue: #52c8ea;
  --color-green: #9ee05a;
  --color-coral: #ff8585;
  --color-green-dark: var(--color-green);
  --card-hover-shadow: rgba(61, 184, 224, 0.15);
  --card-hover-border: var(--color-blue);
  --flowify-hero-start: #0a1018;
  --flowify-hero-end: #101e2c;
}

html {
  font-size: 20px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.6;
  font-kerning: normal;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 1.25rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 1.9rem);
  margin-bottom: 16px;
}
h3 { font-size: 1.2rem; margin-bottom: 8px; }

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== Utilities ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.subtitle {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
}

.hero-subtitle-2 {
  font-size: 0.889rem;
  opacity: 0.8;
  margin-top: -16px;
}

.section-divider-accent {
  height: 2px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--color-green), var(--color-blue), transparent);
  max-width: 400px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 0.778rem;
  letter-spacing: 1px;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
}
.btn:hover {
  background: var(--btn-hover-bg);
  text-decoration: none;
  box-shadow: 0 4px 20px var(--card-hover-shadow);
  transform: translateY(-1px);
}
.divider {
  width: 50px;
  height: 2px;
  background: var(--gradient-accent);
  margin: 24px auto;
}

/* ===== Dark Section ===== */
.section-dark {
  background: #0a2842;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle dividers around dark section */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.section-dark-decor {
  display: none;
}

.section-dark .container {
  position: relative;
  z-index: 2;
}

/* ===== Section Background Variants ===== */
.bg-warm {
  background: linear-gradient(180deg, #f8f7f4 0%, #f5f3ef 100%);
}

.bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
}

.bg-warm-deep {
  background: linear-gradient(180deg, #f6f4f0 0%, #f8f7f4 100%);
}

[data-theme="dark"] .bg-warm {
  background: linear-gradient(180deg, #121820 0%, #161e28 100%);
}

[data-theme="dark"] .bg-white {
  background: linear-gradient(180deg, #1a222c 0%, #162030 100%);
}

[data-theme="dark"] .bg-warm-deep {
  background: linear-gradient(180deg, #161e28 0%, #121820 100%);
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  z-index: 100;
  height: var(--nav-height);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo svg {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.778rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  text-decoration: none;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.nav-links a.nav-pill {
  background: transparent;
  color: var(--color-green-dark);
  border: 1.5px solid var(--color-green);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a.nav-pill:hover {
  background: var(--color-green);
  color: #fff;
}

[data-theme="dark"] .nav-links a.nav-pill {
  color: var(--color-green);
  border-color: var(--color-green);
}

[data-theme="dark"] .nav-links a.nav-pill:hover {
  background: var(--color-green);
  color: #121820;
}

.nav-links a.nav-pill.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Theme Toggle & Language Switcher ===== */

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

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.theme-toggle:hover {
  color: var(--navy);
}

[data-theme="dark"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon,
:root:not([data-theme]) .icon-moon { display: none; }

.lang-switch {
  font-size: 0.722rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.lang-switch:hover {
  text-decoration: none;
}
.lang-switch .active {
  color: var(--navy);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  border-top: none;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.is-loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

[data-theme="dark"] .hero-overlay {
  background: rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero {
    background: url('/assets/hero/hero-poster.webp') center top/cover no-repeat;
  }
}

.hero,
.hero h1 {
  color: #ffffff;
}

.hero .label {
  color: rgba(255, 255, 255, 0.7);
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.hero .btn {
  background: #ffffff;
  color: #0a2842;
}

.hero .btn:hover {
  background: #e8e8e8;
}

.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hero-content {
  text-align: center;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.1rem);
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.111rem;
}

.hero-video-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-video-toggle:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-video-toggle .icon-play {
  display: none;
}

.hero-video-toggle.paused .icon-pause {
  display: none;
}

.hero-video-toggle.paused .icon-play {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-toggle {
    display: none;
  }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}


/* ===== Trust Leiste ===== */
.section-trust {
  padding: 40px 0;
}

.trust-content {
  text-align: center;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.trust-logos li { display: flex; align-items: center; }

.trust-logos img {
  max-height: 36px;
  width: auto;
  filter: grayscale(60%) opacity(0.75);
  transition: filter 0.3s ease;
}

.trust-logos img:hover {
  filter: grayscale(0%) opacity(1);
}

.trust-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 28px 0;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.trust-stat {
  text-align: center;
}

.trust-stat dt {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(142, 212, 75, 0.25);
}

[data-theme="dark"] .trust-stat dt {
  color: var(--color-blue);
}

.trust-stat dd {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 4px 0 0;
}

/* ===== Vision / Mission / USP ===== */
.section-vision-mission {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-vision-mission > .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.vision-mission-block {
  max-width: none;
  margin: 0;
  text-align: left;
  border-left: 3px solid var(--color-blue);
  padding-left: 1.25rem;
}

.vision-mission-block:nth-child(2) {
  border-left-color: var(--color-green);
}

.vision-mission-block:nth-child(3) {
  border-left-color: var(--color-violet);
}

.vision-mission-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== Why Liftric ===== */
.section-why-liftric {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
}

/* ===== Why Liftric (Beats) ===== */
.why-liftric-beats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.why-liftric-beat h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-liftric-beat p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.why-liftric-link {
  color: var(--color-green);
  text-decoration: none;
  font-size: 0.889rem;
}

.why-liftric-link:hover {
  text-decoration: underline;
}

/* ===== Archetypes ===== */
.section-archetypes {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-archetypes > .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.archetypes-header {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.archetypes-header .subtitle {
  margin-top: 8px;
  font-size: 0.889rem;
}

.archetype-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.archetype-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.archetype-item:hover {
  text-decoration: none;
  background-color: rgba(61, 184, 224, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .archetype-item:hover {
  background-color: rgba(61, 184, 224, 0.08);
  box-shadow: 0 2px 8px rgba(61, 184, 224, 0.1);
}

.archetype-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  opacity: 0.5;
  min-width: 1.75rem;
  line-height: 1.4;
}

.archetype-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.375rem;
  font-style: italic;
}

.archetype-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.archetype-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== Flowify Banner ===== */
.flowify-banner {
  padding: clamp(32px, 4vw, 48px) 0;
  background: rgba(139, 106, 255, 0.06);
  text-align: left;
  border-left: 4px solid var(--color-violet);
}

.flowify-banner h2 {
  margin-bottom: 0.5rem;
}

.flowify-banner p {
  max-width: 640px;
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flowify-banner-link {
  font-weight: 600;
  color: var(--color-violet);
  text-decoration: none;
}

.flowify-banner-link:hover {
  text-decoration: underline;
}

/* ===== Services Anchor Nav ===== */
.anchor-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.anchor-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.anchor-nav-inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav-inner::after {
  content: '';
  position: sticky;
  right: 0;
  flex-shrink: 0;
  width: 40px;
  min-height: 1px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

.anchor-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--font-body);
  font-size: 0.722rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.anchor-pill:hover {
  color: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
}

.anchor-pill.active {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(10, 40, 66, 0.06);
}

[data-theme="dark"] .anchor-pill.active {
  background: rgba(224, 224, 224, 0.08);
}

/* ===== Services Archetype Journeys ===== */
.svc-archetype {
  padding: var(--section-padding) 0;
}

.svc-situation {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.svc-items {
  max-width: 720px;
  margin: 1rem 0 2rem;
  padding-left: 1.25rem;
}

.svc-items li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Scenario accent colors */
.svc-archetype[data-accent="blue"] { --scenario-accent: var(--color-blue); }
.svc-archetype[data-accent="green"] { --scenario-accent: var(--color-green); }
.svc-archetype[data-accent="violet"] { --scenario-accent: var(--color-violet); }

.svc-scenario-number {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--scenario-accent);
  opacity: 0.14;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.svc-outcome {
  margin: 2rem 0 1.5rem;
  border-left: 3px solid var(--scenario-accent, var(--color-blue));
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 4px 4px 0;
}

[data-theme="dark"] .svc-outcome {
  background: rgba(255, 255, 255, 0.03);
}

.svc-outcome-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

[data-theme="dark"] .svc-outcome-text {
  color: var(--color-green);
}


.svc-archetype-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.svc-archetype-link:hover {
  text-decoration: underline;
}

/* ===== Why a Boutique ===== */
.svc-boutique {
  padding: var(--section-padding) 0;
}

.svc-boutique-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
}

.svc-boutique-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.svc-boutique-point h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.svc-boutique-point p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

.svc-faq-hint {
  margin-top: 2.5rem;
  font-size: 0.889rem;
  color: var(--text-secondary);
}

.svc-faq-hint a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.svc-faq-hint a:hover {
  text-decoration: underline;
}

/* ===== About Methodology ===== */
.about-methodology {
  padding: var(--section-padding) 0;
}

.about-methodology .approach-body {
  max-width: 720px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-methodology .minicase-body {
  max-width: 720px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: none;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px;
  font-size: 0.778rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-address {
  line-height: 1.8;
}
.footer-company {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.footer-contact-line {
  margin-top: 12px;
}
.footer-address a {
  color: var(--footer-link);
}
.footer-address a:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.footer-links a {
  color: var(--footer-link);
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
}
.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.footer-social a {
  color: var(--footer-text);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 0.778rem;
}

/* ===== Packages ===== */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.package {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: var(--radius);
}

.package-desc {
  color: var(--text-secondary);
  font-size: 0.833rem;
  margin-top: 12px;
}

.package {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
  background: rgba(61, 184, 224, 0.04);
  box-shadow: 0 4px 16px var(--card-shadow);
}

[data-theme="dark"] .package:hover {
  background: rgba(61, 184, 224, 0.06);
}


/* ===== Process Steps ===== */
.steps {
  display: flex;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gradient-accent);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 0.833rem;
  color: var(--navy);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 0.889rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.722rem;
  color: var(--text-secondary);
}

/* ===== Ongoing Step (∞) ===== */
.step-ongoing .step-num {
  border-color: var(--color-green);
  color: var(--color-green);
  font-size: 1.111rem;
}

/* ===== Package & Step Icons ===== */
.package-icon {
  color: var(--color-blue);
}

.package-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.package-header .package-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.step-icon {
  color: #ffffff;
  margin-top: 8px;
}

/* ===== Process on Dark ===== */
.section-dark h2 {
  color: #ffffff;
}

.section-dark .subtitle {
  color: #a3b1be;
}

.section-dark .label {
  color: var(--color-blue);
}

.section-dark .step h3 {
  color: #ffffff;
}

.section-dark .step p {
  color: #a3b1be;
}

.section-dark .step-num {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: #0a2842;
}

.section-dark .step-ongoing .step-num {
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ===== About ===== */
.about-text {
  max-width: 700px;
  color: var(--text-secondary);
  font-size: 0.944rem;
  margin-bottom: 48px;
  line-height: 1.7;
}

.about-story p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.about-agentic {
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}


.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.member {
  text-align: center;
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--border);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  object-fit: cover;
}

.member h3 {
  font-size: 0.889rem;
  margin-bottom: 2px;
}

.member p {
  font-size: 0.722rem;
  color: var(--text-secondary);
}

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

.member-initials {
  background: #0a2842;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.889rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.section-dotgrid {
  position: relative;
  overflow: hidden;
}

.section-dotgrid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 40%;
  background-image: radial-gradient(circle, rgba(139, 106, 255, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at top left, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top left, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* ===== Show More / Less ===== */
.team:not(.expanded) .member:nth-child(n+7) {
  display: none;
}

.teaser-section .reference-cards:not(.expanded) .reference-card:nth-child(n+4) {
  display: none;
}

.teaser-section .faq-list:not(.expanded) .faq-item:nth-child(n+5) {
  display: none;
}

.show-more-btn {
  display: block;
  margin: 32px auto 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.778rem;
  padding: 10px 28px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s;
}

.show-more-btn:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  text-align: center;
}

.numbers-item dt {
  font-family: var(--font-display);
  font-size: 2.667rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.numbers-item dd {
  font-size: 0.833rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ===== References ===== */
.reference-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.reference-card {
  background: var(--card-bg);
  border: none;
  border-top: 3px solid var(--color-blue);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  display: block;
  box-shadow: 0 1px 4px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reference-card:nth-child(3n+2) { border-top-color: var(--color-green); }
.reference-card:nth-child(3n+3) { border-top-color: var(--color-violet); }
.reference-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--card-hover-shadow);
  text-decoration: none;
}


.reference-teaser {
  color: var(--text-secondary);
  font-size: 0.833rem;
  margin-top: 12px;
  line-height: 1.6;
}

.reference-card-result {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-top: 0.25rem;
}


.reference-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.778rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
}

.reference-logo {
  margin-bottom: 16px;
}

.reference-logo img {
  max-height: 40px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(30%);
  transition: opacity 0.2s, filter 0.2s;
}

.reference-card:hover .reference-logo img {
  opacity: 1;
  filter: grayscale(0%);
}

.reference-badge-flowify {
  display: inline-block;
  background: var(--color-violet-light);
  color: var(--color-violet);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.reference-page .reference-badge-flowify {
  margin-top: -28px;
}

a.reference-badge-flowify {
  text-decoration: none;
  color: inherit;
}
a.reference-badge-flowify:hover {
  opacity: 0.85;
}

.reference-screenshots {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reference-screenshot {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.111rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.833rem;
  padding-bottom: 20px;
  line-height: 1.7;
}

/* ===== Contact Form ===== */
.form-error-banner {
  background: var(--color-coral, #e74c3c);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  max-width: 700px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.722rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-family: var(--font-body);
  font-size: 0.833rem;
  color: var(--navy);
  border-radius: var(--radius);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: var(--invalid);
}

.field-error {
  display: block;
  font-size: 0.778rem;
  color: var(--invalid);
  min-height: 1.2em;
  margin-top: 4px;
}

.form-field input.valid {
  border-color: var(--color-green-dark);
}

.btn.is-sending {
  opacity: 0.7;
  pointer-events: none;
}

.form-success {
  max-width: 700px;
  margin-top: 32px;
  color: var(--navy);
  font-size: 0.944rem;
}

.form-reset-btn {
  display: inline-block;
  margin-top: 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.833rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.form-reset-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* ===== Calendly ===== */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.778rem;
  letter-spacing: 1px;
  padding: 14px 36px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--btn-text);
  text-decoration: none;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 24px;
  max-width: 700px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-divider span {
  color: var(--text-secondary);
  font-size: 0.778rem;
}

/* ===== Form Progressive Disclosure ===== */
.form-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.722rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.form-details-toggle:hover {
  color: var(--navy);
}

.form-details-toggle-icon {
  transition: transform 0.2s;
}

.form-details-toggle[aria-expanded="true"] .form-details-toggle-icon {
  transform: rotate(45deg);
}

.form-optional-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.form-optional-wrapper.is-open {
  grid-template-rows: 1fr;
}

.form-optional-inner {
  overflow: hidden;
}

.form-optional-inner .form-grid {
  padding-top: 4px;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .form-optional-wrapper {
    transition: none;
  }
}

/* ===== Person CTA ===== */
.person-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--warm);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.person-cta-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.person-cta-name {
  font-size: 1rem;
  margin-bottom: 0;
}

.person-cta-role {
  font-size: 0.778rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.person-cta-text {
  font-size: 0.889rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.person-cta--duo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.person-cta--duo .person-cta-text {
  margin: 0 0 1rem;
}

.person-cta-avatars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.person-cta-avatar-stack {
  display: flex;
}

.person-cta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.person-cta-avatar + .person-cta-avatar {
  margin-left: -10px;
}

.person-cta-avatar-label {
  font-size: 0.778rem;
  opacity: 0.8;
}


/* ===== Legal Pages ===== */

.legal-page h1 {
  margin-bottom: 40px;
}

.legal-page h3 {
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page ul {
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ===== Reference Pages ===== */
.reference-page .subtitle {
  max-width: 700px;
}

.reference-detail-logo {
  margin-bottom: 16px;
}

.reference-detail-logo img {
  max-height: 48px;
  width: auto;
}

/* ===== Key Results ===== */
.key-results {
  background: var(--bg);
  border-left: 3px solid var(--color-green);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.key-results-label {
  font-size: 0.722rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.key-results-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.key-result-item dt {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.key-result-item dd {
  font-size: 0.778rem;
  color: var(--text-secondary);
  margin: 0.15rem 0 0;
}

/* ===== Result Paragraph ===== */
.result-paragraph {
  border-left: 3px solid var(--color-blue);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== Reference Journey Layout ===== */
.reference-journey {
  margin: 2.5rem 0;
}

.reference-journey h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.journey-prose {
  max-width: 720px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.journey-prose p {
  margin-bottom: 1rem;
}

.journey-prose p:last-child {
  margin-bottom: 0;
}

/* ===== Liftric Contributions ===== */
.reference-contributions {
  margin: 2.5rem 0;
}

.reference-contributions h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contributions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contribution-item {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-blue);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contribution-item dt {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contribution-item dd {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Dark mode overrides */
[data-theme="dark"] .contribution-item {
  background: rgba(255, 255, 255, 0.04);
}

.result-paragraph p {
  font-size: 0.889rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

/* ===== Inline Testimonial ===== */
.section-testimonial-inline {
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-inline {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-style: normal;
}

.testimonial-inline p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.testimonial-inline cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.778rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* ===== Dark Mode Pattern Overrides ===== */
[data-theme="dark"] .nav {
  box-shadow: 0 1px 8px rgba(0,0,0,0.2);
}



[data-theme="dark"] .section-dark {
  background: #0f1a24;
}

[data-theme="dark"] .section-dotgrid::after {
  background-image: radial-gradient(circle, rgba(157, 130, 255, 0.06) 1px, transparent 1px);
}

[data-theme="dark"] .trust-logos img {
  filter: grayscale(100%) brightness(1.5) opacity(0.7);
}

.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: inline-block; }

[data-theme="dark"] .section-why-liftric {
  background: var(--card-bg);
  color: var(--navy);
}

/* ===== Animated Gradient Shimmer ===== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes shimmer-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.divider-animated {
  width: 80px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 24px auto;
  position: relative;
  overflow: hidden;
}

.divider-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer-slide 2s ease-out 1s 1;
  will-change: transform;
}

/* ===== Directional Reveals ===== */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Numbers Progress Bar ===== */
.numbers-item {
  position: relative;
}

.numbers-bar {
  display: none;
  width: 60px;
  height: 3px;
  background: var(--border);
  margin: 12px auto 0;
  border-radius: 2px;
  overflow: hidden;
}

.numbers-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-accent);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.numbers-bar-fill.animated {
  width: 100%;
}

/* ===== SVG Illustrations ===== */
.svg-illustration {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.svg-draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s ease-out;
}
.svg-draw-delay-1 { transition-delay: 0.2s; }
.svg-draw-delay-2 { transition-delay: 0.4s; }
.svg-draw-delay-3 { transition-delay: 0.6s; }

.visible .svg-draw {
  stroke-dashoffset: 0;
}

.svg-node {
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.svg-node-delay-1 { transition-delay: 0.3s; }
.svg-node-delay-2 { transition-delay: 0.5s; }
.svg-node-delay-3 { transition-delay: 0.7s; }

.visible .svg-node {
  transform: scale(1);
}

.svg-stamp {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.4s ease-out 0.8s;
}
.svg-stamp-delay-1 { transition-delay: 1.0s; }
.svg-stamp-delay-2 { transition-delay: 1.2s; }

.visible .svg-stamp {
  stroke-dashoffset: 0;
}

@keyframes helix-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.svg-helix {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s ease-out;
}

.visible .svg-helix {
  stroke-dashoffset: 0;
  animation: helix-pulse 3s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes wave-pulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

.svg-wave {
  animation: wave-pulse 2.5s ease-out infinite;
}
.svg-wave-delay-1 { animation-delay: 0.5s; }
.svg-wave-delay-2 { animation-delay: 1.0s; }
.svg-wave-delay-3 { animation-delay: 1.5s; }

@keyframes stream-flow {
  0% { stroke-dashoffset: 20; }
  100% { stroke-dashoffset: 0; }
}

.svg-stream {
  animation: stream-flow 1s linear infinite;
}
.svg-stream-delay-1 { animation-delay: 0.3s; }
.svg-stream-delay-2 { animation-delay: 0.6s; }

/* ===== Subpage Hero ===== */

.subpage-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 100px 40px 80px;
}

.subpage-hero-text {
  flex: 1;
}

.subpage-hero-text h1 {
  margin-bottom: 0;
}

.subpage-hero-illustration {
  flex: 0 0 360px;
}

/* ===== About Hero Photo Background ===== */
.about-hero-photo {
  position: relative;
  overflow: hidden;
}

.about-hero-photo::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('/assets/photos/directors.webp') center top/cover no-repeat;
  filter: blur(4px) brightness(0.4);
  z-index: 0;
}

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

.about-hero-photo h1,
.about-hero-photo .subtitle {
  color: #ffffff;
}

.about-hero-photo .label {
  color: var(--color-violet);
}

.about-hero-photo .divider-animated {
  background: var(--gradient-accent);
}

/* ===== Closing CTA ===== */
.closing-cta {
  background: #122f48;
  border-top: 3px solid var(--color-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .closing-cta {
  background: #1a2636;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-cta .person-cta-text,
.closing-cta .person-cta-avatar-label {
  color: rgba(255, 255, 255, 0.85);
}

.closing-cta .person-cta {
  border-color: rgba(255, 255, 255, 0.1);
}

.closing-cta .btn-outline {
  color: var(--color-green);
  border-color: var(--color-green);
}

.closing-cta .btn-outline:hover {
  background: rgba(142, 212, 75, 0.12);
  color: var(--color-green);
}

.closing-cta .person-cta-btn {
  background: var(--color-green);
  color: #0a2842;
  border: none;
  font-weight: 600;
}

.closing-cta .person-cta-btn:hover {
  background: #7dc43e;
  box-shadow: 0 4px 20px rgba(142, 212, 75, 0.25);
}

.closing-cta .person-cta-avatar {
  width: 52px;
  height: 52px;
}

.closing-cta-inner {
  padding: 96px 40px;
}

/* ===== Teaser Sections ===== */
.teaser-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.teaser-text {
  flex: 1;
}

.teaser-illustration {
  flex: 0 0 360px;
}

.teaser-desc {
  color: var(--text-secondary);
  font-size: 0.944rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.teaser-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.833rem;
  color: var(--navy);
  border-bottom: 2px solid var(--color-violet);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.teaser-cta:hover {
  color: var(--color-violet);
  text-decoration: none;
}

.teaser-cta-light {
  color: #ffffff;
  border-bottom-color: var(--color-green);
}

.teaser-cta-light:hover {
  color: var(--color-green);
}

.teaser-cta-secondary {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.teaser-cta-secondary:hover {
  opacity: 1;
}

/* Team teaser cards */
.team-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.team-card:hover {
  box-shadow: 0 4px 20px var(--card-hover-shadow);
  border-color: var(--color-blue);
}

.team-card-photo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.team-card-info h3 {
  font-size: 0.889rem;
  margin-bottom: 2px;
}

.team-card-info p {
  font-size: 0.722rem;
  color: var(--text-secondary);
}

/* Contact teaser */
.contact-teaser {
  text-align: center;
}

.contact-teaser-inner {
  position: relative;
}

.contact-teaser .svg-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  max-width: 500px;
  pointer-events: none;
}



/* ===== Photography ===== */
.photo-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
  z-index: 1;
}
.photo-bg > * {
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .photo-bg::before {
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
}

.photo-aside {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--card-shadow);
}

/* ===== Philosophy Teaser ===== */
.section-philosophy-teaser {
  padding: var(--section-padding);
  text-align: center;
  color: #fff;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-philosophy-teaser .label {
  color: rgba(255,255,255,0.8);
}
.section-philosophy-teaser h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.section-philosophy-teaser p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.9);
}
.section-philosophy-teaser .teaser-cta {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.section-philosophy-teaser .teaser-cta:hover {
  border-color: #fff;
}

/* ===== Approach Page ===== */
.approach-hero {
  padding: 120px 40px 80px;
  text-align: center;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-hero h1 {
  font-size: 2.4rem;
  max-width: 720px;
  margin: 0 auto 16px;
}
.approach-hero .divider-animated {
  margin: 0 auto 16px;
}
.approach-hero .subtitle {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
}

.approach-section {
  padding: var(--section-padding);
}
.approach-section h2 {
  max-width: 720px;
  margin-bottom: 16px;
}
.approach-body {
  max-width: 720px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.approach-body strong {
  color: var(--navy);
  font-weight: 600;
}
.approach-cta {
  margin-top: 24px;
}
.approach-cta a {
  color: var(--color-violet);
  font-weight: 500;
  text-decoration: none;
}
.approach-cta a:hover {
  text-decoration: underline;
}

/* Approach mini-case */
.approach-minicase { padding: 3rem 0; }
.approach-minicase h3 { margin-bottom: 1rem; }
.approach-minicase .minicase-body { max-width: 720px; line-height: 1.7; color: var(--text-secondary); }

/* ===== Flowify AI Page ===== */
.flowify-hero {
  background: linear-gradient(135deg, var(--flowify-hero-start), var(--flowify-hero-end));
  color: #fff;
  text-align: center;
  padding: 80px 40px 60px;
}
.flowify-hero h1 {
  color: #fff;
  max-width: 720px;
  margin: 0 auto 16px;
}
.flowify-hero .label {
  color: var(--color-blue);
}
.flowify-hero .divider-animated {
  margin: 16px auto;
}
.flowify-hero .subtitle {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
}
.flowify-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.flowify-hero-btn2 {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.4);
}
.flowify-hero-btn2:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.flowify-hero-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 16px;
}
.flowify-hero-img {
  display: block;
  max-width: 560px;
  width: 100%;
  height: auto;
  margin: 32px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Flowify Anchor Nav */
#flowify-solution,
#flowify-howitworks,
#flowify-performance,
#demo-form {
  scroll-margin-top: calc(var(--nav-height) + 44px);
}

/* Solution Intro */
.flowify-solution-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 8px;
}

/* Challenge grid */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.challenge-card {
  background: transparent;
  border-left: 3px solid var(--color-coral);
  padding: 24px;
  border-radius: 0;
}
.challenge-card h3 {
  margin-bottom: 8px;
}
.challenge-card p {
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.6;
}

/* Persona Block */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.persona-card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius);
  border-top: 3px solid var(--color-coral);
}
.persona-card h3 {
  margin-bottom: 4px;
}
.persona-roles {
  color: var(--text-secondary);
  font-size: 0.833rem;
  margin-bottom: 16px;
}
.persona-card ul {
  list-style: none;
  padding: 0;
}
.persona-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.889rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.persona-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-coral);
}

/* Evidence Stats (replaces 4-col metrics grid) */
.flowify-evidence {
  margin-top: 40px;
}
.flowify-evidence-stats {
  display: flex;
  gap: 64px;
}
.flowify-evidence-stat dt {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.flowify-evidence-stat dd {
  font-size: 0.889rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.flowify-evidence-context {
  margin-top: 24px;
  font-size: 0.889rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-left: 3px solid var(--color-blue);
  padding-left: 16px;
  max-width: 700px;
}
.flowify-pubs-heading {
  margin-top: 56px;
  margin-bottom: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Steps */
.flowify-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}
.flowify-step-group {
  display: flex;
  align-items: center;
  gap: 40px;
}
.flowify-step-group--reversed {
  flex-direction: row-reverse;
}
.flowify-step-img {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.flowify-step-pair {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.flowify-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.flowify-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}
.flowify-step-content h3 {
  margin-bottom: 4px;
}
.flowify-step-content p {
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.6;
}

/* Get Started Timeline */
.flowify-timeline {
  position: relative;
  margin-top: 40px;
}
.flowify-tl-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}
.flowify-tl-step:last-child {
  padding-bottom: 0;
}
.flowify-tl-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  z-index: 1;
}
.flowify-tl-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.flowify-tl-step:last-child .flowify-tl-line {
  display: none;
}
.flowify-tl-content {
  flex: 1;
  padding-top: 8px;
}
.flowify-tl-content h3 {
  margin-bottom: 4px;
}
.flowify-tl-content p {
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.6;
}
.flowify-tl-content ul {
  padding-left: 20px;
  margin: 8px 0;
}
.flowify-tl-content li {
  color: var(--text-secondary);
  font-size: 0.889rem;
  line-height: 1.6;
  margin-bottom: 4px;
}
.flowify-tl-subhead {
  display: block;
  font-size: 0.889rem;
  margin-top: 12px;
  margin-bottom: 4px;
}
.flowify-tl-note {
  font-size: 0.833rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--card-bg);
  border-left: 2px solid var(--color-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Demo Request Form */
.flowify-demo-form {
  max-width: 700px;
  margin-top: 32px;
}
.flowify-form-group-title {
  font-size: 1rem;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.flowify-form-group-title:first-of-type {
  margin-top: 0;
}

.form-optional-inner .flowify-form-group-title:first-of-type {
  margin-top: 16px;
}
.flowify-form-submit {
  margin-top: 24px;
}
.flowify-form-note {
  font-size: 0.833rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 700px;
}
.form-error {
  max-width: 700px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(192, 57, 43, 0.08);
  border-left: 3px solid var(--invalid);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-error p {
  color: var(--invalid);
  font-size: 0.889rem;
}

/* App Download Links */
.flowify-app-links {
  margin-top: 40px;
  max-width: 700px;
}
.flowify-app-links-title {
  font-size: 0.889rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.flowify-app-badges {
  display: flex;
  gap: 12px;
}
.flowify-app-badge {
  padding: 10px 24px;
  font-size: 0.778rem;
}

/* Differentiators */
.flowify-differentiators {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}
.diff-row {
  display: flex;
  gap: 40px;
  align-items: center;
}
.diff-row--reversed {
  flex-direction: row-reverse;
}
.diff-text {
  flex: 2;
}
.diff-text h3 {
  margin-bottom: 8px;
}
.diff-text p {
  color: var(--text-secondary);
  line-height: 1.7;
}
.diff-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: var(--card-bg);
  border-radius: var(--radius);
  color: var(--color-violet);
}

/* Products Built on Flowify AI */
.flowify-builton-cards {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}
.flowify-builton-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px 32px;
  border-radius: var(--radius);
  text-align: left;
  text-decoration: none;
  flex: 1;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.flowify-builton-card:hover {
  box-shadow: 0 8px 32px var(--card-hover-shadow);
  border-color: var(--color-blue);
  transform: translateY(-2px);
  text-decoration: none;
}
.flowify-builton-logo {
  max-height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.flowify-builton-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.778rem;
  color: var(--color-blue);
}
.flowify-builton-story {
  color: var(--text-secondary);
  font-size: 0.833rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Publications */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
.publication-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 16px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s ease;
}
.publication-card:last-child {
  border-bottom: none;
}
.publication-card:hover {
  text-decoration: none;
}
.publication-info h3 {
  margin-bottom: 2px;
}
.publication-info p {
  font-size: 0.833rem;
  color: var(--text-secondary);
}
.publication-link {
  color: var(--color-blue);
  font-size: 0.889rem;
  white-space: nowrap;
  margin-left: 16px;
}

/* ===== Collapsible Sections ===== */
.section-collapsible-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.section-collapsible-wrapper.is-open {
  grid-template-rows: 1fr;
}

.section-collapsible-inner {
  overflow: hidden;
}

.section-collapse-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.833rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px var(--card-shadow);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  margin-bottom: 2rem;
}

.section-collapse-toggle:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--card-bg);
  box-shadow: 0 2px 8px var(--card-shadow);
}

[data-theme="dark"] .section-collapse-toggle:hover {
  background: rgba(224, 224, 224, 0.05);
}

.section-collapse-toggle .toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.667rem;
}

.section-collapse-toggle.is-open .toggle-icon {
  transform: rotate(90deg);
}

/* ===== Form Success ===== */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(142, 212, 75, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(142, 212, 75, 0.2);
}

.form-success h3 {
  color: var(--color-green-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.889rem;
}

[data-theme="dark"] .form-success {
  background: rgba(142, 212, 75, 0.06);
  border-color: rgba(142, 212, 75, 0.15);
}

[data-theme="dark"] .form-success h3 {
  color: var(--color-green);
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {

  .persona-grid {
    grid-template-columns: 1fr;
  }

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

  .steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  .steps::before {
    display: none;
  }
  .step {
    flex: 0 0 calc(33% - 24px);
  }

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

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

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

  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flowify-evidence-stats {
    gap: 40px;
  }

  .section-archetypes > .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .archetypes-header {
    position: static;
  }

}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {

  .persona-grid {
    grid-template-columns: 1fr;
  }

  html {
    font-size: 16px;
  }

  .anchor-nav-inner {
    padding: 10px 20px;
  }

  :root {
    --section-padding: 36px 20px;
  }

  .section-dark-decor {
    display: none;
  }

  /* h1/h2 sizing handled by clamp() — no override needed */

  .section-vision-mission > .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vision-mission-block {
    text-align: left;
  }

  .section-archetypes > .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archetypes-header {
    position: static;
  }

  .hero-content {
    padding: 60px 20px;
  }

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

  .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 40px;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 0.889rem;
    font-weight: 500;
  }

  .trust-logos img {
    filter: grayscale(60%) opacity(0.75);
  }

  .person-cta-avatar {
    width: 44px;
    height: 44px;
  }

  /* Hamburger animation */
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Stacking */
  .packages {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  .team {
    grid-template-columns: 1fr;
  }

  .reference-cards {
    grid-template-columns: 1fr;
  }


  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero .subtitle br,
  .hero h1 br {
    display: none;
  }

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


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

  .subpage-hero-inner {
    flex-direction: column;
    padding: 80px 24px 60px;
    text-align: center;
  }

  .subpage-hero-illustration {
    flex: none;
    max-width: 260px;
  }

  .teaser-inner {
    flex-direction: column;
  }

  .teaser-illustration {
    flex: none;
    max-width: 260px;
  }

  .team-teaser {
    grid-template-columns: 1fr;
  }

  .process-timeline-body {
    flex-direction: column;
    gap: 12px;
  }

  .team-grid-cards {
    grid-template-columns: 1fr;
  }

  .person-cta {
    flex-direction: column;
    text-align: center;
  }

  .closing-cta .person-cta-avatar {
    width: 48px;
    height: 48px;
  }

  .testimonial-inline p {
    font-size: 1.05rem;
  }

  .approach-hero {
    padding: 100px 24px 60px;
  }
  .approach-hero h1 {
    font-size: 1.8rem;
  }

  .flowify-hero {
    padding: 64px 24px 48px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .flowify-evidence-stats {
    flex-direction: column;
    gap: 24px;
  }
  .flowify-builton-cards {
    flex-direction: column;
  }
  .flowify-builton-card {
    width: 100%;
  }
  .publication-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
  }
  .publication-link {
    margin-left: 0;
  }
  .flowify-hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .flowify-hero-btn2 {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .flowify-hero-img {
    max-width: 100%;
    margin-top: 24px;
    border-radius: 8px;
  }
  .flowify-step-group,
  .flowify-step-group--reversed {
    flex-direction: column;
    text-align: center;
  }
  .flowify-step-img {
    width: 160px;
    margin: 0 auto;
  }
  .flowify-step {
    text-align: left;
  }
  .flowify-tl-step {
    padding-bottom: 24px;
  }
  .flowify-tl-content h3 {
    font-size: 1rem;
  }
  .flowify-app-badges {
    flex-direction: column;
  }
  .flowify-app-badge {
    text-align: center;
  }
  .trust-stats {
    flex-direction: column;
    gap: 16px;
  }

  .trust-stat {
    background: rgba(0, 0, 0, 0.025);
    padding: 16px 20px;
    border-radius: var(--radius);
  }

  [data-theme="dark"] .trust-stat {
    background: rgba(255, 255, 255, 0.04);
  }

  .vision-mission-block {
    padding-bottom: 24px;
  }

  .vision-mission-block:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .flowify-evidence-stat dt {
    font-size: 2.4rem;
  }
}

/* ===== Process Page ===== */
.process-timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(139, 106, 255, 0.25);
}

.process-timeline-item {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.process-timeline-item:last-child {
  padding-bottom: 0;
}

.process-timeline-marker {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.process-timeline-marker .step-num {
  border-color: var(--color-violet);
  color: var(--color-violet);
  background: var(--footer-bg, #0a2842);
}

.step-ongoing-num {
  border-color: var(--color-green) !important;
  color: var(--color-green) !important;
  font-size: 1.111rem;
}

.process-timeline-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 4px;
}

.process-timeline-icon {
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0.3;
}

.process-timeline-icon svg {
  width: 32px;
  height: 32px;
}

.process-timeline-text h3 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: 1rem;
}

.step-duration {
  font-size: 0.722rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.process-disclaimer {
  font-size: 0.778rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}

.mvp-duration {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-green);
  text-align: center;
  margin-top: 0.5rem;
}

.process-timeline-text p {
  color: #a3b1be;
  font-size: 0.889rem;
  line-height: 1.7;
}

.process-step-toggle {
  background: none;
  border: none;
  color: var(--color-violet);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.process-step-toggle::after {
  content: '+';
  font-size: 1rem;
  transition: transform 0.2s;
}

.process-timeline-item.open .process-step-toggle::after {
  content: '\2212';
}

.process-step-details-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.process-timeline-item.open .process-step-details-wrap {
  max-height: 500px;
}

.process-step-details {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.process-step-details li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1.2rem;
  position: relative;
}

.process-step-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.process-step-details li strong {
  color: rgba(255, 255, 255, 0.95);
}

/* ===== MVP Section ===== */
.mvp-section {
  padding: 4rem 0;
  text-align: center;
}

.mvp-section .subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mvp-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.mvp-timeline-item {
  border-left: 3px solid var(--color-green);
  padding: 1rem 1.5rem;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mvp-timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mvp-timeline-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mvp-timeline-details li {
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
  color: var(--text-secondary);
}

.mvp-timeline-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  opacity: 0.4;
}

.mvp-deliverables {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

[data-theme="dark"] .mvp-deliverables {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}

.mvp-deliverables h3 {
  font-size: 1rem;
  color: #166534;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .mvp-deliverables h3 {
  color: #86efac;
}

.mvp-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mvp-deliverables li {
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
  color: #166534;
}

[data-theme="dark"] .mvp-deliverables li {
  color: rgba(255, 255, 255, 0.85);
}

.mvp-deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
}


/* ===== Team Grid Cards (About Page) ===== */
.team-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.team-grid-cards .team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 8px;
}

.team-card-initials {
  background: linear-gradient(135deg, var(--color-blue), #0a2842);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.111rem;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px var(--card-shadow);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .package:hover,
  .reference-card:hover {
    transform: none;
  }

  .svg-draw, .svg-node, .svg-stamp, .svg-helix {
    stroke-dashoffset: 0;
    transform: scale(1);
    opacity: 1;
    transition: none;
    animation: none;
  }

  .svg-wave, .svg-stream {
    animation: none;
    opacity: 0.4;
  }

  .divider-animated::after {
    animation: none;
  }

  .numbers-bar-fill {
    animation: none;
    transition: none;
  }

}
