/* ============================================================
   AI Democratix — Modern Redesign
   style.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ── CSS Variables ── */
:root {
  /* Original site palette */
  --teal-deep:  #0f2528;
  --teal-1:     #1a3f44;
  --teal-2:     #23545b;
  --teal-3:     #3a7d87;
  --gold-1:     #8a6a2f;
  --gold-2:     #b48e56;
  --gold-3:     #d4b87a;
  --cream:      #f5f4f2;
  --charcoal:   #2a2a2a;

  /* Mapped design tokens */
  --bg:           #1a4545;
  --bg-2:         #235858;
  --bg-card:      rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.12);
  --accent:       var(--gold-2);
  --accent-2:     var(--gold-3);
  --accent-light: rgba(180,142,86,0.15);
  --text:         #f0f5f5;
  --text-muted:   rgba(255,255,255,0.7);
  --text-dim:     rgba(255,255,255,0.35);
  --white:        #ffffff;
  --radius:       16px;
  --radius-sm:    8px;
  --nav-h:        84px;
  --transition:   0.25s ease;
  --shadow:       0 4px 32px rgba(0,0,0,0.5);
  --glow-gold:    0 0 40px rgba(180,142,86,0.4);
  --glow-teal:    0 0 40px rgba(58,125,135,0.3);
  --gradient:     linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
}

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

html { height: 100%; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

body.page-light {
  --bg: #f3f0ea;
  --bg-2: #fbfaf7;
  --bg-card: #ffffff;
  --border: #d9e1df;
  --accent: #1e6f79;
  --accent-2: #0f5962;
  --accent-light: rgba(30,111,121,0.08);
  --text: #10222b;
  --text-muted: #51626d;
  --text-dim: #73808a;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(16,34,43,0.08);
  --glow-gold: 0 0 40px rgba(30,111,121,0.14);
  --glow-teal: 0 0 40px rgba(30,111,121,0.12);
  --gradient: linear-gradient(135deg, #0f5962 0%, #1e6f79 50%, #3b8f99 100%);
  background: var(--bg);
  color: var(--text);
}

body.page-light nav {
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,34,43,0.08);
}

body.page-light nav.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(16,34,43,0.08);
  box-shadow: 0 10px 30px rgba(16,34,43,0.08);
}

body.page-light .nav-links a,
body.page-light .nav-mobile a {
  color: var(--text-muted);
}

body.page-light .nav-links a:hover,
body.page-light .nav-links a.active,
body.page-light .nav-mobile a:hover {
  color: var(--text);
}
body.page-light .nav-links a::after {
  background: var(--accent);
}

body.page-light .nav-mobile {
  background: rgba(255,255,255,0.98);
  border-bottom-color: rgba(16,34,43,0.08);
}

body.page-light .nav-hamburger span {
  background: var(--text);
}

body.page-light .btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(30,111,121,0.18);
}
body.page-light .btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 12px 24px rgba(30,111,121,0.22);
}

body.page-light .btn-secondary {
  background: #eef4f6;
  color: var(--text);
  border: 1.5px solid var(--border);
}
body.page-light .btn-secondary:hover {
  background: #e4eef1;
  border-color: #c9d6dd;
}

body.page-light .btn-outline {
  color: var(--text);
  border-color: var(--border);
}
body.page-light .btn-outline:hover {
  color: var(--text);
  background: rgba(30,111,121,0.06);
  border-color: rgba(30,111,121,0.2);
}

body.page-light .card,
body.page-light .trust-card,
body.page-light .about-founder-card,
body.page-light .contact-email-card,
body.page-light .contact-form-wrap,
body.page-light .faq-item {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 10px 28px rgba(16,34,43,0.05);
}

body.page-light .card:hover {
  border-color: rgba(30,111,121,0.24);
  box-shadow: 0 12px 30px rgba(16,34,43,0.08);
}

body.page-light .problem-item:hover,
body.page-light .contact-email-card:hover {
  border-color: rgba(30,111,121,0.28);
}

body.page-light .card h3,
body.page-light .about-founder-card h3,
body.page-light .contact-form-wrap h3,
body.page-light .form-success h4,
body.page-light .footer-copy,
body.page-light .footer-copy a {
  color: var(--text);
}

body.page-light .card p,
body.page-light .trust-card p,
body.page-light .page-hero p,
body.page-light .approach-header p,
body.page-light .reality-sub,
body.page-light .problem-text,
body.page-light .contact-form-wrap .sub,
body.page-light .founder-content p,
body.page-light .about-story-content p,
body.page-light .cta-section p,
body.page-light .stat-label,
body.page-light .industries-label,
body.page-light .email-info a,
body.page-light .contact-point,
body.page-light .response-note,
body.page-light .faq-item p {
  color: var(--text-muted);
}

body.page-light .page-hero,
body.page-light .approach,
body.page-light .workflow,
body.page-light .founder {
  background: transparent;
}

body.page-light .page-hero {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-1) 50%, var(--teal-2) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.page-light .page-hero h1,
body.page-light .page-hero p,
body.page-light .page-hero .section-label {
  color: var(--white);
}

body.page-light .page-hero p {
  color: rgba(255,255,255,0.82);
}

body.page-light .page-hero .section-label {
  color: var(--gold-3);
}

body.page-light .about-story {
  background: #f7f4ee;
}

body.page-light .about-people {
  background: #fbfaf7;
}

body.page-light .about-philosophy {
  background: #f7f4ee;
}

body.page-light .workflow {
  background: #f7f4ee;
}

/* ── Section divider lines (page-light only, excludes home) ── */
body.page-light .page-hero {
  border-bottom: none; /* next section's border-top is the visible divider */
}

body.page-light .about-story,
body.page-light .about-people,
body.page-light .about-philosophy,
body.page-light .approach,
body.page-light .workflow,
body.page-light .contact-body,
body.page-light .cta-section {
  border-top: 1px solid var(--border);
}

body.page-light .stats {
  border-bottom: none; /* cta-section border-top handles the divider below */
}

.workflow-grid.four-col::before {
  display: none;
}

body.page-light .reality,
body.page-light .stats,
body.page-light .cta-section {
  background: #fbfaf7;
}

body.page-light .stats {
  background: #f5f2ec;
  border-top-color: var(--border);
  border-bottom-color: var(--border);
}

body.page-light .cta-section::after,
body.page-light .reality::before {
  opacity: 0.18;
}

body.page-light .page-hero::after {
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 70%);
}

body.page-light .about-founder-card .role,
body.page-light .founder-title,
body.page-light .section-label {
  color: var(--accent);
}

body.page-light .section-label {
  letter-spacing: 0.12em;
}

body.page-light .card-icon {
  background: rgba(30,111,121,0.1);
}

body.page-light .card-icon svg,
body.page-light .founder-tag svg {
  stroke: var(--accent);
}

body.page-light .founder-image-wrap::before {
  opacity: 0.35;
}

body.page-light .workflow-index,
body.page-light .email-icon {
  background: rgba(30,111,121,0.1);
  color: var(--accent-2);
}

body.page-light .industry-tag,
body.page-light .contact-point {
  background: #f3f7fa;
  border-color: var(--border);
}
body.page-light .contact-point::before {
  background: rgba(56,189,248,0.1);
}

body.page-light .faq-item summary {
  color: var(--text);
}

body.page-light .faq-item[open] {
  border-color: rgba(30,111,121,0.24);
}

body.page-light .faq-item[open] summary {
  border-bottom-color: rgba(16,34,43,0.08);
}

body.page-light .form-group input,
body.page-light .form-group select,
body.page-light .form-group textarea {
  background: #f7fafc;
  color: var(--text);
  border-color: var(--border);
}

body.page-light .form-group input::placeholder,
body.page-light .form-group textarea::placeholder {
  color: var(--text-dim);
}

body.page-light .form-group select option {
  background: #ffffff;
  color: var(--text);
}

body.page-light footer,
body.page-light .footer-simple {
  background: #ffffff;
  border-top-color: var(--border);
}

body.page-light .footer-copy a:hover,
body.page-light .email-info a:hover,
body.page-light .about-founder-card .email a:hover {
  color: var(--accent);
}

main {
  display: block;
  padding-top: var(--nav-h);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-deep);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1, h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; font-weight: 400; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shine-word {
  position: relative;
  display: inline-block;
}
.shine-word::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.15) 35%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.15) 65%,
    transparent 80%
  );
  background-size: 300% auto;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  animation: lightSweepOnce 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s 1 forwards;
}

@keyframes lightSweepOnce {
  0%   { background-position: 200% center; opacity: 1; }
  80%  { opacity: 1; }
  100% { background-position: -100% center; opacity: 0; }
}

/* ── Layout ── */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

footer {
  min-height: auto;
  padding: 40px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gold-2);
  color: var(--teal-deep);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(180,142,86,0.3);
}
.btn-primary:hover {
  background: var(--gold-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(180,142,86,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold-2);
  color: var(--white);
  background: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 13px 0;
}
.btn-ghost:hover { color: var(--white); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-top: 12px;
  background: rgba(10,15,30,0.45);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

nav.scrolled {
  background: rgba(10,15,30,0.82);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Logo image — nav */
.logo-img {
  height: 45px;
  width: auto;
  display: block;
}

/* Logo image — footer (slightly smaller) */
.footer-logo {
  height: 48px;
}

.nav-logo .logo-tagline,
.footer-left .logo-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
/* Animated gold underline on hover / active */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: width 0.28s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.15);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-switcher a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.lang-switcher a:hover { color: var(--white); }
.lang-switcher .lang-sep { color: rgba(255,255,255,0.2); }
.lang-switcher .lang-active { color: var(--white); }

body.page-light .lang-switcher {
  border-left-color: rgba(16,34,43,0.15);
}
body.page-light .lang-switcher a { color: var(--text-muted); }
body.page-light .lang-switcher a:hover { color: var(--accent); }
body.page-light .lang-switcher .lang-sep { color: var(--border); }
body.page-light .lang-switcher .lang-active { color: var(--text); font-weight: 700; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(200,155,60,0.13) 0%, rgba(180,130,40,0.05) 50%, transparent 75%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(220,170,80,0.09) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid rgba(180,142,86,0.35);
  border-radius: 100px;
  background: rgba(180,142,86,0.08);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-copy {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-support {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 18px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.hero-support-divider {
  color: rgba(255,255,255,0.35);
}
.hero-support span:first-child,
.hero-support span:last-child {
  font-weight: 500;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 48px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease;
}

.proof-chip:hover {
  background: rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.9);
}

.hero-note {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.trust-strip {
  padding-top: 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.trust-value {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Secondary button — dark teal fill, white text */
.btn-secondary {
  background: rgba(35,84,91,0.7);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover {
  background: rgba(35,84,91,1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── The Reality Section ── */
.reality {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.reality::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.4;
}

.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.reality-heading { margin-bottom: 12px; }
.reality-sub { font-size: 1.05rem; margin-bottom: 0; }

.reality-problems {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.problem-item:hover { border-color: rgba(58,125,135,0.4); }
.problem-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 1.5px solid rgba(239,68,68,0.4);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: #f87171;
}
.problem-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Approach Section ── */
.approach-header {
  text-align: center;
  margin-bottom: 64px;
}
.approach-header h2 { margin-bottom: 16px; }
.approach-header p { max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workflow-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 20px;
}

.workflow-grid.four-col::before {
  content: '';
  position: absolute;
  top: 43px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(180,142,86,0.5), rgba(180,142,86,0.5), transparent);
  pointer-events: none;
  z-index: 0;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.section-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(180,142,86,0.3);
  box-shadow: 0 12px 40px rgba(180,142,86,0.1);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(58,125,135,0.15);
  border: 1px solid rgba(58,125,135,0.35);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal-3);
}
.card h3 { margin-bottom: 10px; color: var(--white); }
.card p  { font-size: 0.93rem; }

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-list {
  margin-top: 18px;
  padding-left: 0;
  display: grid;
  gap: 8px;
}
.service-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: inherit;
}

.case-study-points {
  margin-top: 18px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  list-style: disc;
}
.case-study-points li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 16px;
}
.faq-item {
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 32px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 32px 28px;
  margin: 0;
}
.faq-item[open] {
  border-color: rgba(180,142,86,0.35);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.faq-item[open] summary {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item ul {
  padding: 0 32px 20px 52px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item ul li {
  font-size: 0.96rem;
  line-height: 1.6;
}
.faq-item p + ul,
.faq-item ul + p {
  padding-top: 0;
}
.faq-item p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 20px 4px 4px;
  border-bottom: 1px solid rgba(180,142,86,0.2);
  margin-bottom: 4px;
}
body.page-light .faq-category {
  color: var(--teal);
  border-bottom-color: rgba(30,111,121,0.2);
}
body.page-light .faq-item ul li,
body.page-light .faq-item p a {
  color: var(--text-muted);
}
body.page-light .faq-item p a {
  color: var(--teal);
}
.workflow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(180,142,86,0.12);
  border: 1.5px solid rgba(180,142,86,0.45);
  color: var(--gold-2);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

/* ── Stats Section ── */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-item {}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Industries ticker */
.industries {
  margin-top: 0;
  text-align: center;
}
.industries-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.industries-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-tag {
  padding: 6px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Founder Section ── */
.founder {
  position: relative;
  overflow: hidden;
}

.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}

.founder-image-wrap {
  position: relative;
}
.founder-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: var(--gradient);
  z-index: -1;
  opacity: 0.6;
}
.founder-image-wrap img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.founder-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border-radius: calc(var(--radius) - 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.founder-content {}
.founder-content .section-label { display: block; margin-bottom: 8px; }
.founder-content h2 { margin-bottom: 8px; }
.founder-title {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.founder-content p {
  font-size: 1rem;
  margin-bottom: 32px;
}
.founder-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.founder-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.founder-tag svg { color: var(--accent); }

/* ── Proof cards ── */
.card-industry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-3);
  margin-bottom: 14px;
}
.card-industry::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--teal-3);
  border-radius: 2px;
  opacity: 0.6;
}

.proof-card {
  display: flex;
  flex-direction: column;
}
.proof-card .outcome-box {
  margin-top: auto;
}

.outcome-box {
  padding-top: 20px;
  padding: 14px 16px;
  background: rgba(180,142,86,0.07);
  border-left: 2px solid var(--gold-2);
  border-radius: 0 8px 8px 0;
}
.outcome-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.outcome-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.55;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.3;
}

.cta-glow {
  display: none;
}

body:not(.page-light) .home-section-cta .cta-glow {
  display: none;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { max-width: 480px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ── Homepage section surfaces ── */
body:not(.page-light) .home-section {
  position: relative;
  overflow: hidden;
}
body:not(.page-light) .home-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body:not(.page-light) .home-section-surface {
  background: linear-gradient(135deg, #0b1719 0%, #10292b 45%, #163538 100%);
}
body:not(.page-light) .home-section-muted {
  background:
    radial-gradient(ellipse 75% 50% at 50% 0%, rgba(214,188,150,0.16) 0%, transparent 60%),
    linear-gradient(180deg, #f4f1eb 0%, #efebe3 100%);
  color: #1b2d31;
}
body:not(.page-light) .home-section-surface-2 {
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(179,142,86,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #091112 0%, #132123 55%, #1c2d2e 100%);
}
body:not(.page-light) .home-section-muted-2 {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180,142,86,0.16) 0%, transparent 70%),
    linear-gradient(180deg, #d8b06d 0%, #b98a43 100%);
  color: #1b1107;
}
body:not(.page-light) .home-section-cta {
  background:
    radial-gradient(ellipse 80% 50% at 50% 25%, rgba(255,240,190,0.25) 0%, transparent 70%),
    #b48e56;
  color: #201507;
}
body:not(.page-light) .home-section-muted .section-label,
body:not(.page-light) .home-section-muted-2 .section-label,
body:not(.page-light) .home-section-cta .section-label {
  color: #1a5f69;
}
body:not(.page-light) .home-section-cta .gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #1e6f79;
}
body:not(.page-light) .home-section-muted .approach-header p,
body:not(.page-light) .home-section-muted .card p,
body:not(.page-light) .home-section-muted .workflow-step p,
body:not(.page-light) .home-section-muted .section-actions .btn-outline,
body:not(.page-light) .home-section-muted-2 .approach-header p,
body:not(.page-light) .home-section-muted-2 .card p,
body:not(.page-light) .home-section-muted-2 .workflow-step p,
body:not(.page-light) .home-section-cta p {
  color: rgba(27,45,49,0.8);
}
body:not(.page-light) .home-section-muted .card,
body:not(.page-light) .home-section-muted .workflow-step,
body:not(.page-light) .home-section-muted-2 .card,
body:not(.page-light) .home-section-muted-2 .workflow-step {
  background: rgba(255,255,255,0.72);
  border-color: rgba(27,45,49,0.1);
  box-shadow: 0 14px 30px rgba(27,45,49,0.08);
}
body:not(.page-light) .home-section-muted .card h3,
body:not(.page-light) .home-section-muted .workflow-step h3,
body:not(.page-light) .home-section-muted-2 .card h3,
body:not(.page-light) .home-section-muted-2 .workflow-step h3 {
  color: #10252a;
}
body:not(.page-light) .home-section-muted .section-label,
body:not(.page-light) .home-section-muted .approach-header h2,
body:not(.page-light) .home-section-muted .approach-header p,
body:not(.page-light) .home-section-muted .workflow-step .workflow-index,
body:not(.page-light) .home-section-muted .service-card p,
body:not(.page-light) .home-section-muted .service-card h3,
body:not(.page-light) .home-section-muted .cards-grid .section-label,
body:not(.page-light) .home-section-muted .cards-grid p {
  color: #1b2d31;
}
body:not(.page-light) .home-section-muted-2 .section-label,
body:not(.page-light) .home-section-muted-2 .approach-header h2,
body:not(.page-light) .home-section-muted-2 .approach-header p,
body:not(.page-light) .home-section-muted-2 .cards-grid .section-label,
body:not(.page-light) .home-section-muted-2 .cards-grid p,
body:not(.page-light) .home-section-muted-2 .card h3 {
  color: #201507;
}
body:not(.page-light) .home-section-cta .btn-primary {
  background: #10252a;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16,37,42,0.24);
}
body:not(.page-light) .home-section-cta .btn-primary:hover {
  background: #0a1b1e;
}
body:not(.page-light) .home-section-cta .btn-secondary {
  background: rgba(16,37,42,0.08);
  color: #10252a;
  border-color: rgba(16,37,42,0.18);
}
body:not(.page-light) .home-section-cta .btn-secondary:hover {
  background: rgba(16,37,42,0.12);
}
body:not(.page-light) .home-section-muted .section-actions .btn-outline,
body:not(.page-light) .home-section-muted-2 .section-actions .btn-outline {
  border-color: rgba(16,37,42,0.2);
  color: #10252a;
  background: rgba(255,255,255,0.18);
}
body:not(.page-light) .home-section-muted .section-actions .btn-outline:hover,
body:not(.page-light) .home-section-muted-2 .section-actions .btn-outline:hover {
  background: rgba(255,255,255,0.32);
}

/* ── About Page ── */
.page-hero {
  padding-top: 0;
  padding-bottom: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  display: none;
}
.page-hero h1 { margin-bottom: 20px; position: relative; z-index: 1; }
.page-hero p  { max-width: 540px; margin: 0 auto; font-size: 1.1rem; position: relative; z-index: 1; }

.about-story {
  background: var(--bg-2);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about-founder-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.about-founder-card img,
.about-founder-card .placeholder-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.founder-photo {
  filter: grayscale(100%) contrast(1.08) brightness(0.88);
  box-shadow: 0 0 0 2px rgba(180,142,86,0.6), 0 6px 20px rgba(10,30,35,0.35);
  transition: filter 0.4s ease, box-shadow 0.4s ease;
}
.founder-photo:hover {
  filter: grayscale(80%) contrast(1.06) brightness(0.92);
  box-shadow: 0 0 0 2px rgba(180,142,86,0.85), 0 8px 24px rgba(10,30,35,0.4);
}
/* People grid — ready for real photos */
.people-card .founder-photo {
  width: 104px; height: 104px;
}
.placeholder-avatar {
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 2px solid rgba(180,142,86,0.35);
}
.about-founder-card h3 { color: var(--white); margin-bottom: 4px; }
.about-founder-card .role { font-size: 0.85rem; color: var(--accent); margin-bottom: 16px; }
.about-founder-card .email a {
  font-size: 0.8rem;
  color: var(--text-dim);
  word-break: break-all;
  transition: color var(--transition);
}
.about-founder-card .email a:hover { color: var(--accent); }

.about-story-content {}
.about-story-content h2 { margin-bottom: 24px; }
.about-story-content p { margin-bottom: 20px; }
.about-story-content p:last-child { margin-bottom: 0; }

.about-people {
  padding-top: 0;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.people-card {
  text-align: center;
}
.people-card img,
.people-card .person-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
}
.people-card img {
  border: 1px solid rgba(16,34,43,0.08);
  box-shadow: 0 12px 24px rgba(16,34,43,0.08);
}
.person-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,111,121,0.08), rgba(180,142,86,0.12));
  border: 1px solid rgba(16,34,43,0.08);
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(16,34,43,0.06);
}
.people-card h3 {
  margin-bottom: 4px;
  color: var(--text);
}
.people-card .role {
  color: var(--accent);
  font-size: 0.84rem;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.people-card p:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Corkboard people layout ── */
.about-people-corkboard { padding-top: 0; }
.corkboard-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 10px;
  letter-spacing: 0.06em;
}
.corkboard-wrap {
  position: relative;
  min-height: 680px;
  margin-top: 40px;
  /* Always dark — matches the mockup regardless of page theme */
  background:
    radial-gradient(ellipse at 20% 30%, rgba(180,142,86,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(58,125,135,0.06) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.008) 0px, rgba(255,255,255,0.008) 1px, transparent 1px, transparent 8px),
    linear-gradient(160deg, #1a3f44 0%, #132a2d 50%, #0f2528 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 2px 40px rgba(0,0,0,0.3), 0 16px 60px rgba(0,0,0,0.4);
  padding: 32px 16px 80px;
}
.pin-card {
  position: absolute;
  width: 168px;
  cursor: default;
  transform-origin: top center;
  transition: transform 0.3s ease, z-index 0s;
  z-index: 1;
}
.pin-card:hover { z-index: 10; transform: var(--base-rot, rotate(0deg)) scale(1.1) !important; }
.pin-dot {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.pin-dot::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.pin-tape {
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 60px; height: 20px;
  background: rgba(212,184,122,0.15);
  border: 1px solid rgba(212,184,122,0.18);
  border-radius: 3px;
}
.pin-inner {
  /* Always dark card */
  background: rgba(20,50,55,0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.25s, border-color 0.25s;
}
.pin-card:hover .pin-inner {
  background: rgba(26,63,68,0.96);
  border-color: rgba(180,142,86,0.3);
}
.pin-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #d4b87a;
  border: 1px solid rgba(180,142,86,0.25);
  overflow: hidden;
}
.pin-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b48e56;
  margin-bottom: 4px;
  line-height: 1.3;
}
.pin-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f5f5;
  line-height: 1.3;
}
.pin-bio {
  font-size: 0.78rem;
  color: rgba(240,245,245,0.68);
  margin-top: 8px;
  line-height: 1.5;
  display: none;
}
.pin-card:hover .pin-bio { display: block; }
/* Section header text stays readable on both themes */
.about-people-corkboard .approach-header h2,
.about-people-corkboard .approach-header p,
.about-people-corkboard .section-label,
.about-people-corkboard .corkboard-hint {
  color: inherit;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 32px; }

.contact-email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  transition: border-color var(--transition);
}
.contact-email-card:hover { border-color: var(--accent); }
.email-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.email-info .label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 2px; }
.email-info a { font-size: 0.95rem; color: var(--text); font-weight: 500; transition: color var(--transition); }
.email-info a:hover { color: var(--accent); }

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.contact-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.contact-point::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(56,189,248,0.12);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.response-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.response-note::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-wrap h3 { color: var(--white); margin-bottom: 6px; }
.contact-form-wrap .sub { font-size: 0.88rem; margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180,142,86,0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-2); color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h4 { color: var(--white); margin-bottom: 8px; }

/* ── Footer ── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-simple .footer-inner {
  justify-content: center;
  text-align: center;
}
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: none;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}
.footer-copy a { color: var(--text-dim); transition: color var(--transition); }
.footer-copy a:hover { color: var(--accent); }

/* ── About: Brand Story ── */
.about-brand {
  background: var(--teal-deep);
}

.about-brand .approach-header p {
  color: rgba(240,245,245,0.45);
}

.about-brand .section-label {
  color: var(--gold-3);
  opacity: 0.8;
}

.about-brand .section-label::before {
  background: var(--gold-2);
}

.about-brand h2 {
  color: var(--white);
}

.about-brand .gradient-text {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-body {
  font-size: 1rem;
  color: rgba(240,245,245,0.52);
  line-height: 1.82;
  max-width: 660px;
  margin-bottom: 18px;
}

.brand-pull-quote {
  border-left: 2px solid var(--gold-2);
  padding: 14px 0 14px 28px;
  margin: 36px 0;
  max-width: 640px;
}

.brand-pull-quote blockquote {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-style: italic;
  color: rgba(240,245,245,0.82);
  line-height: 1.65;
  font-weight: 300;
}

.brand-pull-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,245,245,0.25);
}

.brand-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.brand-dual-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 28px;
  transition: background var(--transition);
}

.brand-dual-card:hover {
  background: rgba(255,255,255,0.07);
}

.brand-flag {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1;
}

.brand-dual-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,245,245,0.28);
  margin-bottom: 10px;
}

.brand-reading {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.brand-dual-card.sg .brand-reading { color: #3b8f99; }
.brand-dual-card.th-card .brand-reading { color: var(--gold-3); }

.brand-dual-card p {
  font-size: 0.9rem;
  color: rgba(240,245,245,0.4);
  line-height: 1.68;
  max-width: 100%;
}

.brand-content-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
  margin-top: 8px;
}

.brand-text-col .brand-body { margin-bottom: 18px; }
.brand-text-col .brand-body:last-child { margin-bottom: 0; }

.brand-butterfly {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.brand-butterfly img {
  width: 200px;
  max-width: 100%;
  transform: translate(-50px, -30px);
}

.brand-note {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: rgba(240,245,245,0.28);
  font-style: italic;
  line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .brand-content-row { grid-template-columns: 1fr; gap: 40px; }
  .about-brand .approach-header { margin-bottom: 24px; }
  .brand-butterfly { order: -1; justify-content: center; }
  .brand-butterfly img { width: 140px; transform: translate(0, 0); }
  .brand-dual-grid { grid-template-columns: 1fr; }
  .trust-grid       { grid-template-columns: 1fr; }
  .reality-grid      { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid        { grid-template-columns: 1fr; }
  .service-grid      { grid-template-columns: 1fr; }
  .three-up          { grid-template-columns: 1fr; }
  .workflow-grid     { grid-template-columns: 1fr; }
  .workflow-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .founder-grid      { grid-template-columns: 1fr; gap: 48px; }
  .founder-image-wrap { max-width: 280px; margin: 0 auto; }
  .about-story-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-founder-card { position: static; max-width: 280px; margin: 0 auto; }
  .people-grid       { grid-template-columns: 1fr; }
  .philosophy-grid   { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid        { grid-template-columns: 1fr; gap: 32px; }
  .form-row          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-support {
    margin-top: 28px;
    padding: 14px 0 0;
    text-align: center;
    justify-content: center;
  }
  .faq-item summary, .faq-item p { padding-left: 24px; padding-right: 24px; }
  .contact-form-wrap { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { min-height: calc(100vh - var(--nav-h)); text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }

  /* Corkboard: switch from absolute scatter to 2-col grid on mobile */
  .corkboard-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    min-height: unset;
    padding: 32px 16px 40px;
    position: static;
  }
  .pin-card {
    position: static !important;
    width: 100% !important;
    left: unset !important;
    top: unset !important;
    transform: none !important;
  }
  /* Give each card a gentle tilt to keep the pinboard feel */
  .pin-card:nth-child(odd)  { transform: rotate(-2deg) !important; }
  .pin-card:nth-child(even) { transform: rotate(1.5deg) !important; }
  .pin-card:hover { transform: rotate(0deg) scale(1.04) !important; }
  .pin-inner { padding: 14px 12px 14px; }
  .pin-avatar { width: 60px; height: 60px; font-size: 0.9rem; }
  .pin-name { font-size: 0.88rem; }
  .pin-role { font-size: 0.62rem; }
  /* Bio hidden by default on mobile — tap card to expand */
  .pin-bio { display: none; }
  .pin-card.tapped .pin-bio { display: block; }
  .pin-card.tapped .pin-inner { border-color: rgba(180,142,86,0.3); background: rgba(26,63,68,0.96); }
  .pin-card.tapped { transform: rotate(0deg) scale(1.04) !important; z-index: 10; }

  /* Workflow cards: compact horizontal layout on mobile */
  .workflow-grid.four-col { grid-template-columns: 1fr; gap: 10px; }
  .workflow-grid.four-col::before { display: none; }
  .workflow-step.card {
    padding: 16px;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
  }
  .workflow-step .workflow-index {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
    margin-bottom: 0;
    align-self: start;
    margin-top: 2px;
  }
  .workflow-step h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .workflow-step p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 0;
  }
}

/* ── Dot navigation ── */
.scroll-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.scroll-dot.active {
  background: var(--gold-2);
  transform: scale(1.5);
}
@media (max-width: 640px) { .scroll-dots { display: none; } }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
  .hero-particles {
    display: none;
  }
}

/* ══════════════════════════════════════════
   Hero Adoption Dashboard (Option A)
══════════════════════════════════════════ */
.dash-a {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 680px;
  width: 100%;
  backdrop-filter: blur(12px);
  margin: 28px auto 20px;
}
.ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.ring-svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.05s linear;
}
.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-pct  { font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1; }
.ring-sub  { font-size: 0.58rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; margin-top: 3px; }
.ring-sub2 { font-size: 0.46rem; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; margin-top: 1px; }
.dash-right { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dash-header { display: flex; justify-content: space-between; align-items: baseline; }
.dash-title { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #7dd3dc; }
.dash-counter { font-size: 0.62rem; color: rgba(255,255,255,0.3); }
.depts { display: flex; gap: 5px; flex-wrap: wrap; }
.dept-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.dept-chip .dept-count {
  font-size: 0.57rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 100px;
  background: rgba(58,125,135,0.28);
  color: #7dd3dc;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.dept-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  color: #c8dede !important;
  -webkit-text-fill-color: #c8dede !important;
}
.dc-tot {
  font-weight: 400;
  color: #8aa8a8 !important;
  -webkit-text-fill-color: #8aa8a8 !important;
}
.dept-chip.active {
  background: rgba(58,125,135,0.18);
  border-color: rgba(58,125,135,0.45);
  color: #d0f0f4;
  box-shadow: 0 0 10px rgba(58,125,135,0.14);
}
.dept-chip.active .dept-count {
  background: rgba(58,125,135,0.38);
  color: #7dd3dc;
}
.depts-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.depts-col .dept-chip {
  border-radius: 8px;
  justify-content: space-between;
  width: 100%;
}
.sparkline-wrap { display: flex; flex-direction: column; gap: 5px; }
.spark-label { display: flex; justify-content: space-between; font-size: 0.62rem; color: rgba(255,255,255,0.32); }
.spark-svg { width: 100%; height: 38px; }
.org-stats {
  display: flex;
  gap: 14px;
  font-size: 0.59rem;
  color: rgba(255,255,255,0.22);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 8px;
  margin-top: 1px;
}
.org-stats strong { color: rgba(255,255,255,0.45); font-weight: 600; }

.dash-a .dash-footnote {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
  margin: 6px 0 0;
  letter-spacing: 0.01em;
  text-align: left;
  max-width: none;
}

@media (max-width: 540px) {
  .dash-a { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .ring-wrap { width: 88px; height: 88px; align-self: center; }
  .ring-svg { width: 88px; height: 88px; }
  .ring-pct { font-size: 1.2rem; }
  .dash-right { width: 100%; }
  .depts-col { grid-template-columns: 1fr 1fr; gap: 3px; }
  .depts-col .dept-chip { padding: 3px 6px; font-size: 0.58rem; }
  .depts-col .dept-chip .dept-count { font-size: 0.54rem; padding: 1px 4px; }
  .org-stats { flex-wrap: wrap; gap: 8px; }
}
