/* ============================================================
   css/style.css — Ipernova · ipernovation.eu
   Phase 1 — index.html styles
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Colours */
  --bg-primary:         #0A0B0F;
  --bg-secondary:       #111318;
  --accent-teal:        #00E5C3;
  --accent-amber:       #F5A623;
  --text-primary:       #FFFFFF;
  --text-secondary:     rgba(255, 255, 255, 0.6);
  --text-muted:         rgba(255, 255, 255, 0.35);
  --text-label:         rgba(255, 255, 255, 0.3);

  /* Cards */
  --card-bg:            rgba(255, 255, 255, 0.045);
  --card-border:        rgba(255, 255, 255, 0.07);
  --card-border-hover:  rgba(0, 229, 195, 0.4);

  /* Nav */
  --nav-bg:             rgba(10, 11, 15, 0.85);
  --nav-border:         rgba(255, 255, 255, 0.08);
  --btn-primary-text:   #0A0B0F;

  /* Typography */
  --font-display:       'Syne', sans-serif;
  --font-body:          'DM Sans', sans-serif;

  /* Shape */
  --radius-card:        12px;
  --radius-btn:         6px;
  --radius-pill:        100px;

  /* Layout */
  --max-width:          1100px;
  --container-pad:      24px;

  /* Spacing */
  --section-v:          120px;
  --section-v-sm:       64px;
}


/* ============================================================
   2. RESET + BASE STYLES
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

blockquote {
  font-style: normal;
}


/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.hero__headline {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 10px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 14px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-label);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 48px;
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}


/* ============================================================
   5. COMPONENT STYLES
   ============================================================ */

/* ----- NAV ----- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav.scrolled {
  border-color: var(--nav-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-url {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link--cta {
  color: var(--accent-teal);
  font-weight: 500;
}

.nav__link--cta:hover {
  color: var(--text-primary);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ----- BUTTONS ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--accent-teal);
  color: var(--btn-primary-text);
  border-color: var(--accent-teal);
}

.btn--primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}


/* ----- CARDS ----- */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 229, 195, 0.07);
}

.card__icon {
  color: var(--accent-teal);
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card__text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Work card variant */
.card--work {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__client {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.card__year {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: auto;
  padding-top: 8px;
}


/* ----- TAG PILLS ----- */

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-teal);
  border: 1px solid rgba(0, 229, 195, 0.4);
  background: transparent;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}


/* ----- TEAL LINK ----- */

.link-teal {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-teal);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.link-teal:hover {
  opacity: 0.75;
}


/* ----- TICKER ----- */

.ticker-wrap {
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
  cursor: default;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 38s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 8px;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 15px;
  user-select: none;
}


/* ============================================================
   6. SECTION-SPECIFIC STYLES
   ============================================================ */

/* ----- HERO ----- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -5%, rgba(0, 229, 195, 0.04) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Initial state — invisible, offset down */
  opacity: 0;
  transform: translateY(20px);
}

/* Fired by JS adding .loaded to body */
body.loaded .hero__content {
  animation: fadeSlideUp 0.8s ease 0.08s forwards;
}

.hero__mark {
  margin-bottom: 22px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ----- PROOF STRIP ----- */

.proof {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof .container {
  margin-bottom: 24px;
}

.proof .section-eyebrow {
  margin-bottom: 0;
}


/* ----- SERVICES ----- */

.services {
  padding: var(--section-v) 0;
}

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


/* ----- FEATURED WORK ----- */

.work {
  padding: var(--section-v) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.work__more {
  text-align: center;
}


/* ----- FUNDING CALLOUT ----- */

.funding {
  padding: var(--section-v) 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.funding__inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 72px;
  align-items: center;
}

.funding__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 700;
  font-style: normal;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 24px;
}

.funding__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

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

.funding__bullets li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1.5;
}

.bullet-dot {
  color: var(--accent-teal);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -1px;
}


/* ----- SPEAKING ----- */

.speaking {
  padding: var(--section-v) 0;
}

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

.speaking__pull-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
  border-left: 2px solid var(--accent-teal);
  padding-left: 28px;
}

.speaking__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}


/* ----- CONTACT CTA ----- */

.contact-cta {
  position: relative;
  padding: var(--section-v) 0;
  text-align: center;
  overflow: hidden;
}

.contact-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 195, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
}

.contact-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-cta__sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.contact-cta__email {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-cta__email:hover {
  color: var(--accent-teal);
  text-decoration-color: rgba(0, 229, 195, 0.5);
}


/* ----- FOOTER ----- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer__link {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--accent-teal);
}


/* ============================================================
   7. ANIMATIONS & TRANSITIONS
   ============================================================ */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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


/* ============================================================
   8. MEDIA QUERIES — mobile-first
      Breakpoints: 768px (tablet), 1024px (desktop)
   ============================================================ */

/* ---- TABLET 768px+ ---- */
@media (min-width: 768px) {

  .nav__hamburger {
    display: none;
  }

  .nav__links {
    display: flex !important; /* override mobile slide-down */
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    gap: 28px;
  }

  .nav__link {
    padding: 0;
    font-size: 14px;
  }

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

}

/* ---- DESKTOP 1024px+ ---- */
@media (min-width: 1024px) {

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

}

/* ---- MOBILE max 767px ---- */
@media (max-width: 767px) {

  :root {
    --section-v: var(--section-v-sm);
    --container-pad: 20px;
  }

  /* Mobile nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 11, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0 20px;
    gap: 0;
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 14px var(--container-pad);
    font-size: 16px;
    text-align: left;
  }

  /* Hero */
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

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

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Work */
  .work__grid {
    grid-template-columns: 1fr;
  }

  /* Funding */
  .funding__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Speaking */
  .speaking__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .speaking__pull-quote {
    padding-left: 20px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Section eyebrow */
  .section-eyebrow {
    margin-bottom: 32px;
  }

}


/* ============================================================
   === SHARED — INNER PAGES ===
   Active nav, compact hero, scroll reveal
   ============================================================ */

/* Active nav link (set per-page via JS) */
.nav__link.active {
  color: var(--accent-teal);
}

/* Compact page hero */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero--md { height: 320px; }
.page-hero--sm { height: 240px; }

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 68px; /* clear fixed navbar */
  max-width: 720px;
  width: 100%;
}

.page-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-hero__subline {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

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

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


/* ============================================================
   === WORK PAGE ===
   Filter bar, project grid, card arrow
   ============================================================ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 0 48px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: var(--section-v);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 16px;
  color: var(--accent-teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.project-card:hover .card__arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   === FUNDING PAGE ===
   Credibility bar, body layout, service cards, tag cloud, stats
   ============================================================ */

.credibility-bar {
  text-align: center;
  padding: 18px 0 52px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.funding-page__body {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 72px;
  align-items: start;
  padding: var(--section-v) 0;
}

.funding-page__prose p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.funding-page__prose p:last-child { margin-bottom: 0; }

/* Compact stacked service cards */
.service-cards-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card-sm {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}

.service-card-sm:hover { border-color: var(--card-border-hover); }

.service-card-sm__icon {
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card-sm__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.service-card-sm__body {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

/* Instruments tag cloud */
.instruments-section {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tag-cloud .tag {
  font-size: 12px;
  padding: 6px 14px;
  background: rgba(0, 229, 195, 0.04);
}

/* Social proof stat strip */
.stat-strip {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0;
}

.stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-block {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-block:last-child { border-right: none; }

.stat-block__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-block__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.stat-block__note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-label);
  letter-spacing: 0.04em;
}


/* ============================================================
   === SPEAKING PAGE ===
   Topic pills, talks grid, invite panel
   ============================================================ */

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 24px 0 0;
}

.talks-section {
  padding: var(--section-v) 0;
}

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

.talk-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.talk-card__event {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.talk-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.talk-card__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: auto;
  padding-top: 4px;
}

.invite-panel {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--section-v) 0;
  text-align: center;
}

.invite-panel__headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.invite-panel__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.75;
}


/* ============================================================
   === CONTACT PAGE ===
   Contact grid, info block, form, Calendly placeholder
   ============================================================ */

.contact-section {
  padding: var(--section-v) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info__role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-info__item svg { color: var(--accent-teal); flex-shrink: 0; }

.contact-info__item a {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info__item a:hover { color: var(--accent-teal); }

.contact-info__note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Form fields */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s ease;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}

.form-field::placeholder { color: rgba(255, 255, 255, 0.22); }
.form-field:focus { border-color: var(--accent-teal); }

.form-btn { width: 100%; margin-top: 6px; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success__check {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}

.form-success__headline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-success__sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}

/* Calendly placeholder */
.cal-toggle {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
  width: 100%;
}

.cal-toggle:hover { color: var(--text-secondary); }

.cal-expand {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  text-align: center;
}

.cal-expand.open { display: block; }


/* ============================================================
   === INNER PAGES — MOBILE BREAKPOINTS ===
   ============================================================ */

@media (max-width: 767px) {

  .page-hero,
  .page-hero--md,
  .page-hero--sm {
    height: auto;
    padding: 100px 0 48px;
  }

  .project-grid,
  .talks-grid {
    grid-template-columns: 1fr;
  }

  .funding-page__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-strip__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 32px;
  }

  .stat-block:last-child { border-bottom: none; padding-bottom: 0; }

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

}
