/* ===================================================
   Felix Schmidt — Personal Speaker Website
   Design: Bright authority — white/light, electric blue accent
   =================================================== */

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

:root {
  --white: #ffffff;
  --off-white: #F8F9FB;
  --light: #F0F2F5;
  --text: #1A1A2E;
  --text-secondary: #5A5F7A;
  --text-muted: #8B90A5;
  --accent: #2563EB;
  --accent-light: #DBEAFE;
  --accent-dark: #1D4ED8;
  --border: #E2E5EC;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.08);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.6) 40%,
    rgba(248,249,251,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDown 1.5s ease infinite;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.2);
  color: var(--text);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--text);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.2);
}

/* --- Proof Bar --- */
.proof-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.proof-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-logos span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition);
  letter-spacing: 0.02em;
}

.proof-logos span:hover { opacity: 1; }

/* --- Stats Ribbon --- */
.stats-ribbon {
  padding: 56px 0;
  background: var(--text);
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Keynotes --- */
.keynotes {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.keynote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.keynote-card:hover {
  box-shadow: var(--shadow-md);
}

.keynote-header {
  padding: 24px 28px;
  cursor: pointer;
  position: relative;
}

.keynote-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  padding-right: 32px;
}

.keynote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.keynote-toggle {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 24px;
  height: 24px;
}

.keynote-toggle::before,
.keynote-toggle::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.keynote-toggle::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.keynote-toggle::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.keynote-card.active .keynote-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.keynote-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.keynote-card.active .keynote-body {
  max-height: 400px;
  padding: 0 28px 24px;
}

.keynote-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.keynote-body ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.keynote-body li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.keynote-fit {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

.keynote-formats {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 180px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* --- About --- */
.about-photo {
  flex-shrink: 0;
}

.about-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-light);
  box-shadow: var(--shadow-md);
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.credential-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
}

.credential strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.credential span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Timeline --- */
.timeline {
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}

.timeline-item:first-child::before {
  background: var(--accent);
}

.timeline-year {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}

.timeline-location {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.timeline-location.eu {
  background: #E8F0FE;
  color: #1A3C8F;
}

.timeline-location.us {
  background: #FEE8E8;
  color: #8F1A1A;
}

.timeline-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Advisory --- */
.advisory-roles {
  text-align: center;
}

.advisory-roles h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

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

.advisory-card {
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  text-align: center;
}

.advisory-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.advisory-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Insights --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.insight-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
  border-color: rgba(37,99,235,0.2);
  position: relative;
}

.insight-card.featured .insight-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.insight-source {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.insight-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

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

.insight-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  padding: 36px;
  background: var(--off-white);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.connect-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.connect-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  transition: color var(--transition);
}

.connect-links a:hover {
  color: var(--accent-dark);
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
  font-weight: 600;
}

.footer-social a:hover { color: var(--accent); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- LinkedIn Banner --- */
.linkedin-banner {
  padding: 14px 0;
  background: var(--accent-light);
  border-bottom: 1px solid rgba(37,99,235,0.1);
}

.linkedin-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.linkedin-banner-inner:hover {
  color: var(--accent-dark);
}

.linkedin-banner-inner svg {
  flex-shrink: 0;
}

.linkedin-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.linkedin-banner-inner:hover .linkedin-arrow {
  transform: translateX(4px);
}

/* --- Brand Reel --- */
.brand-reel-wrap {
  overflow: hidden;
  padding: 24px 0 48px;
}

.brand-reel {
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-reel-track {
  display: flex;
  gap: 56px;
  animation: brandScroll 30s linear infinite;
  width: max-content;
}

.brand-logo {
  height: 32px;
  width: 120px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
  flex-shrink: 0;
}

.brand-logo:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

.brand-logo-dark {
  filter: grayscale(100%) brightness(0);
}

.brand-logo-dark:hover {
  filter: grayscale(0%) brightness(0.3);
}

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

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%238B90A5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form .btn {
  align-self: flex-start;
}

#contactFormWrap {
  width: 100%;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

#contactFormWrap.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-success.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.6s ease forwards;
}

.contact-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 320px;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-cta {
    order: 2;
    font-size: 0.8rem;
    padding: 8px 16px;
    margin-left: auto;
  }

  .nav-menu {
    order: 1;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    visibility: visible;
  }

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

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

  .stat-number {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }

  .about-photo img {
    width: 180px;
    height: 180px;
  }

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

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

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

  .section {
    padding: 64px 0;
  }

  .proof-logos {
    gap: 24px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .connect-links {
    flex-direction: column;
    align-items: center;
  }
}
