/* ============================================================
   GLOSSOLALIE ADVISORY — Main Stylesheet
   Version 1.0 · glossolalie.pro
   WCAG 2.1 AA compliant · all contrast ratios verified
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600&display=swap');
@import url('/assets/css/tokens.css');

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--black);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   ACCESSIBILITY — Skip Navigation
   ============================================================ */

.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-modal);
  padding: var(--space-3) var(--space-6);
  background: var(--navy-profond);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius-base) var(--radius-base);
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--teal-signal);
  outline-offset: 2px;
}

/* ============================================================
   TYPOGRAPHY — BASE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  color: var(--navy-profond);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl)); font-weight: var(--weight-regular); }
h2 { font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl)); }
h4 { font-size: var(--text-2xl); font-weight: var(--weight-medium); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-6); max-width: 72ch; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--teal-signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover { color: var(--teal-dark); }

a:focus-visible {
  outline: 3px solid var(--teal-signal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

strong { font-weight: var(--weight-semibold); }
em { font-style: italic; }

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

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

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   CASCADE MARK — Brand Motif
   The three-bar cascade: structural identity element
   ============================================================ */

.cascade-mark {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cascade-mark__bar {
  height: 4px;
  border-radius: 2.5px;
  background: var(--teal-signal);
  display: block;
}

.cascade-mark__bar:nth-child(1) { width: 100%; opacity: 1; }
.cascade-mark__bar:nth-child(2) { width: 75%;  opacity: 0.55; }
.cascade-mark__bar:nth-child(3) { width: 50%;  opacity: 0.25; }

/* Sizing variants */
.cascade-mark--sm  { width: 32px; }
.cascade-mark--md  { width: 48px; }
.cascade-mark--lg  { width: 64px; }
.cascade-mark--xl  { width: 96px; }

/* Inverted — on dark backgrounds */
.cascade-mark--inverted .cascade-mark__bar { background: var(--teal-signal); }
/* Cascade mark on light backgrounds */
.cascade-mark--light .cascade-mark__bar { background: var(--teal-signal); }


/* ============================================================
   WORDMARK
   ============================================================ */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--navy-profond);
  text-transform: uppercase;
}

.wordmark__advisory {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 0.6rem;
  letter-spacing: var(--tracking-widest);
  color: var(--teal-signal);
  text-transform: uppercase;
}

.wordmark--inverted .wordmark__name    { color: var(--white); }
.wordmark--inverted .wordmark__advisory { color: var(--teal-signal); }

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  background: rgba(30, 58, 95, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(21, 44, 71, 0.98);
  box-shadow: var(--shadow-md);
}

.site-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.site-nav__menu a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  border-radius: var(--radius-sm);
}

.site-nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--teal-signal);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.site-nav__menu a:hover,
.site-nav__menu a[aria-current="page"] {
  color: var(--white);
}

.site-nav__menu a:hover::after,
.site-nav__menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__menu a:focus-visible {
  outline: 2px solid var(--teal-signal);
  outline-offset: 2px;
  color: var(--white);
}

/* CTA Nav button */
.site-nav__cta {
  padding: var(--space-2) var(--space-5) !important;
  background: transparent;
  border: 1px solid rgba(13, 148, 136, 0.5) !important;
  border-radius: var(--radius-full) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: background var(--transition-fast), border-color var(--transition-fast) !important;
}

.site-nav__cta::after { display: none !important; }

.site-nav__cta:hover {
  background: rgba(13, 148, 136, 0.10) !important;
  border-color: var(--teal-signal) !important;
  color: var(--navy-profond);
}

/* Mobile burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-base);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--teal-signal);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.nav-toggle__bar:nth-child(1) { width: 24px; }
.nav-toggle__bar:nth-child(2) { width: 18px; }
.nav-toggle__bar:nth-child(3) { width: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  width: 24px;
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  width: 24px;
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-profond);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Subtle background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(13, 148, 136, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 75% 60%, rgba(45, 81, 128, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.2s forwards;
}

.hero__eyebrow-text {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal-signal);
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(var(--text-4xl), 6vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  color: var(--white);
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.35s forwards;
}

.hero__heading em {
  font-style: italic;
  color: var(--teal-signal);
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.5s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.65s forwards;
}

/* Large cascade mark in hero */
.hero__cascade {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-20);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1.2s ease 1s forwards;
}

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

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

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--teal-signal);
  outline-offset: 3px;
}

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

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active { transform: translateY(0); }


.btn--secondary {
  background: white;
  color: var(--navy-profond);
  border: 2px solid var(--navy-profond);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-base);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}
.btn--secondary:hover {
  background: var(--navy-profond);
  color: white;
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid var(--navy-profond);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

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

.btn--outline:hover {
  background: var(--navy-profond);
  color: var(--white);
}

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

.btn--teal-outline:hover {
  background: var(--teal-signal);
  color: var(--white);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

/* ============================================================
   SECTIONS — General
   ============================================================ */

.section {
  padding: clamp(var(--space-12), 5.5vw, var(--space-24)) 0;
}

.section--dark {
  background: #F2F4F7;
  color: var(--navy-profond);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--navy-profond);
}

.section--mid {
  background: var(--ivory-dark, #EDEBE5);
}

.section--teal-accent {
  background: var(--ivory);
  position: relative;
}

.section__label {
  display: block;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-signal);
  margin-bottom: var(--space-3);
}

.section__title {
  margin-bottom: var(--space-6);
}

.section__intro {
  font-family: var(--font-body);
  font-size: clamp(var(--text-lg), 1.8vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: var(--grey-700);
  font-weight: var(--weight-regular);
  max-width: 64ch;
  margin-bottom: var(--space-12);
}

.section--dark .section__intro {
  color: var(--grey-700);
}

.section-divider {
  height: 1px;
  background: var(--grey-200);
  border: none;
}

/* ============================================================
   FRAMEWORK CARDS
   ============================================================ */

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.framework-card {
  background: var(--white);
  border: var(--border-thin);
  border-left: 3px solid var(--teal-signal);
  padding: var(--space-8);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.framework-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.framework-card:focus-within {
  outline: 2px solid var(--teal-signal);
  outline-offset: 2px;
}

.framework-card__acronym {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-3xl);
  color: var(--navy-profond);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.framework-card__tm {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: var(--weight-regular);
  color: var(--teal-signal);
}

.framework-card__name {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--grey-700);
}

.framework-card__description {
  font-size: var(--text-base);
  color: var(--grey-700);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
  margin-bottom: 0;
}

/* ============================================================
   CONVICTIONS SECTION
   ============================================================ */

.convictions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.conviction-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) 0;
  border-bottom: var(--border-thin);
}

.conviction-item:first-child { border-top: var(--border-thin); }

.conviction-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
  color: var(--teal-signal);
  line-height: 1;
  width: 2rem;
  text-align: right;
  padding-top: var(--space-1);
  opacity: 0.6;
}

.conviction-body h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-2);
}

.conviction-body p {
  font-size: var(--text-base);
  font-size: var(--text-base);
  color: var(--grey-600);
  margin-bottom: 0;
}

/* ============================================================
   ABOUT / BIOGRAPHY SECTION
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-12);
}

.about-sidebar {}

.about-sidebar__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-light);
  font-style: italic;
  line-height: 1.05;
  margin-bottom: var(--space-8);
}

.about-sidebar__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.about-sidebar__meta li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--grey-600);
}

.about-sidebar__meta li::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal-signal);
  border-radius: 1px;
  flex-shrink: 0;
}

.about-content {}

.about-content p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--grey-700);
}

.about-content p + p {
  margin-top: var(--space-6);
}

.career-timeline {
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: var(--border-thin);
}

.career-timeline h3 {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal-signal);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-8);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--grey-100);
  position: relative;
}

.timeline-period {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--grey-400);
  text-transform: uppercase;
  padding-top: var(--space-1);
}

.timeline-role strong {
  display: block;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  color: var(--navy-profond);
  margin-bottom: var(--space-1);
}

.timeline-role span {
  font-size: var(--text-sm);
  color: var(--grey-600);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-12);
}

.contact-info {}

.contact-info__heading {
  font-size: var(--text-4xl);
  font-style: italic;
  font-weight: var(--weight-light);
  margin-bottom: var(--space-6);
}

.contact-info p {
  color: var(--grey-600);
  margin-bottom: var(--space-8);
}

.contact-channels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.contact-channels li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
}

.contact-channels a {
  color: var(--navy-profond);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-channels a:hover { color: var(--teal-signal); }

.channel-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-signal);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--grey-600);
}

.form-label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal-signal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: var(--leading-normal);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--error);
  display: none;
}

.form-group[data-error] .form-error {
  display: block;
}

.form-group[data-error] .form-input,
.form-group[data-error] .form-textarea {
  border-color: var(--error);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--grey-400);
}

.form-status {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-base);
  font-size: var(--text-sm);
  display: none;
}

.form-status--success {
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.25);
  color: var(--success);
}

.form-status--error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.25);
  color: var(--error);
}

.form-status[aria-live] { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}

.footer-brand {}

.footer-brand__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-4);
  line-height: var(--leading-snug);
  max-width: 28ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-nav__heading {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal-signal);
  margin-bottom: var(--space-4);
}

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav__list a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav__list a:hover { color: rgba(255,255,255,0.9); }

.footer-nav__list a:focus-visible {
  outline: 2px solid var(--teal-signal);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.60);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */

.page-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--grey-200);
  padding: calc(var(--nav-height) + var(--space-10)) 0 var(--space-10);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,148,136,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-header__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal-signal);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.page-header__title {
  color: var(--navy-profond);
  font-weight: var(--weight-regular);
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: var(--space-5);
}

.page-header__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--grey-700);
  max-width: 60ch;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb a {
  color: var(--grey-600);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal-signal); }

.breadcrumb__sep {
  color: var(--grey-400);
}

.breadcrumb [aria-current="page"] {
  color: var(--navy-profond);
  font-weight: var(--weight-medium);
}

/* ============================================================
   STAT CHIPS / HIGHLIGHTS
   ============================================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3vw, var(--text-5xl));
  font-weight: var(--weight-medium);
  color: var(--navy-profond);
  line-height: 1;
}

.section--dark .stat-value { color: var(--navy-profond); }

.stat-label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: var(--weight-medium);
}

.section--dark .stat-label { color: var(--grey-700); }

.stat-teal { color: var(--teal-signal); }

/* ============================================================
   PULL QUOTE
   ============================================================ */

.pull-quote {
  background: var(--teal-light);
  border-left: 4px solid var(--teal-signal);
  padding: var(--space-8) var(--space-10);
  margin: var(--space-10) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--navy-profond);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--navy-profond);
  line-height: var(--leading-snug);
  max-width: none;
  margin-bottom: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center    { text-align: center; }
.text-right     { text-align: right; }
.text-teal      { color: var(--teal-signal); }
.text-navy      { color: var(--navy-profond); }
.text-muted     { color: var(--grey-600); }
.text-display   { font-family: var(--font-display); }
.text-italic    { font-style: italic; }

.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .about-grid         { grid-template-columns: 1fr; }
  .contact-layout     { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr; }
  .footer-nav         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle  { display: flex; }

  .site-nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--gutter);
    gap: var(--space-2);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .site-nav__menu.is-open {
    transform: translateX(0);
  }

  .site-nav__menu a {
    font-size: var(--text-base);
    padding: var(--space-4) 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .site-nav__menu a::after { display: none; }

  .site-nav__cta {
    margin-top: var(--space-4);
    border-radius: var(--radius-full) !important;
  }

  .frameworks-grid { grid-template-columns: 1fr; }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .footer-nav      { grid-template-columns: 1fr; }
  .timeline-item   { grid-template-columns: 1fr; gap: var(--space-2); }
  .conviction-item { grid-template-columns: 1fr; }
  .conviction-number { text-align: left; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .stats-row     { grid-template-columns: 1fr; }
  .pull-quote    { padding: var(--space-6); }
}

/* ============================================================
   UTILITY CLASSES — extracted from inline styles
   ============================================================ */

/* Footer location label */
.footer-location { color: rgba(255,255,255,0.35); }

/* Stats section — career separator */
.stats-career-separator {
  margin-top: var(--space-12, 3rem);
  padding-top: var(--space-10, 2.5rem);
  border-top: 1px solid var(--grey-200);
}

/* Stats section — career pull-quote */
.stats-career-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl, 1.25rem);
  font-style: italic;
  font-weight: 300;
  color: var(--navy-profond);
  max-width: 70ch;
}

/* CTA section — cascade mark centred */
.cascade-mark--cta { margin: 0 auto var(--space-8, 2rem); }

/* CTA heading italic */
.cta__heading {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy-profond);
  margin-bottom: var(--space-6, 1.5rem);
}

/* CTA sub-tagline */
.cta__tagline {
  color: var(--navy-mid);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl, 1.25rem);
  max-width: 52ch;
  margin: 0 auto var(--space-10, 2.5rem);
}

/* About page — LinkedIn link */
.about-linkedin-link {
  color: var(--color-teal);
  font-weight: 500;
  text-decoration: none;
}
.about-linkedin-link:hover { text-decoration: underline; }

/* About page — spaced pull-quote */
.pull-quote--spaced { margin-top: var(--space-10, 2.5rem); }

/* Contact form — two-column row */
.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5, 1.25rem);
}
@media (max-width: 600px) { .form-row--2col { grid-template-columns: 1fr; } }

/* Contact form — RGPD checkbox */
.form-checkbox__label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3, 0.75rem);
  cursor: pointer;
}
.form-checkbox__input {
  margin-top: 3px;
  accent-color: var(--color-teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.form-checkbox__text {
  font-size: 0.875rem;
  color: var(--color-text-muted, #666);
  line-height: 1.5;
}
.form-link { color: var(--color-teal); text-decoration: underline; }
.form-link:hover { color: var(--color-teal-dark, #065F52); }

/* Contact form — wide submit button */
.btn--submit-wide {
  align-self: flex-start;
  min-width: 200px;
}

/* Generic muted light text (dark backgrounds) */
.text-muted-light { color: rgba(255,255,255,0.35); }

/* ============================================================
   ERROR PAGES — 404 / 5xx
   ============================================================ */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  background: var(--color-ivory);
}

.error-page__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.error-page__inner .cascade-mark--lg {
  margin: 0 auto var(--space-xl);
  width: 120px;
}

.error-page__inner .cascade-mark--lg .cascade-mark__bar:nth-child(1) { width: 100%; }
.error-page__inner .cascade-mark--lg .cascade-mark__bar:nth-child(2) { width: 75%; }
.error-page__inner .cascade-mark--lg .cascade-mark__bar:nth-child(3) { width: 50%; }

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-teal);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

.error-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  color: var(--color-navy);
  margin: 0 0 var(--space-lg);
}

.error-page__message {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 var(--space-xl);
}

.error-page__message a {
  color: var(--color-teal);
  text-decoration: underline;
}

.error-page__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.error-page__links {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  text-align: left;
}

.error-page__links p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.error-page__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.error-page__links li a {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.error-page__links li a::before {
  content: '→';
  color: var(--color-teal);
  font-size: 0.875em;
}

.error-page__links li a:hover { color: var(--color-teal); }

/* ============================================================
   LEGAL PAGES — Mentions légales / Politique de confidentialité
   ============================================================ */

.page-hero--minimal {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--ivory);
  color: var(--navy-profond);
  border-bottom: 2px solid var(--teal-signal);
}

.page-hero--minimal .page-hero__content { max-width: 640px; }

.page-hero--minimal .cascade-mark { margin-bottom: var(--space-md); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--navy-profond);
  margin: 0 0 var(--space-sm);
}

.page-hero__subtitle {
  font-size: 0.95rem;
  color: var(--grey-600);
  margin: 0;
}

/* Legal content wrapper */
.legal-content { padding: var(--space-3xl) 0; }

.legal-content__inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-intro {
  background: white;
  border-left: 4px solid var(--color-teal);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-section {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-of-type { border-bottom: none; }

.legal-section__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-teal);
  display: inline-block;
}

.legal-section__subheading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: var(--space-lg) 0 var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-section p {
  margin: 0 0 var(--space-md);
  line-height: 1.75;
  color: var(--color-text);
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--color-teal);
  text-decoration: underline;
}

.legal-section a:hover { color: var(--color-teal-dark); }

/* Definition list */
.legal-dl {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: var(--space-xs) var(--space-lg);
  margin: var(--space-md) 0;
}

.legal-dl dt {
  font-weight: 600;
  color: var(--color-navy);
  padding-top: 2px;
}

.legal-dl dd {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

.legal-dl dd a {
  color: var(--color-teal);
  text-decoration: underline;
}

/* Data table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.5;
}

.legal-table thead th {
  background: var(--teal-signal);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table tbody tr:nth-child(even) { background: rgba(13, 148, 136, 0.04); }

.legal-table tbody tr:hover { background: rgba(13, 148, 136, 0.08); }

/* List */
.legal-list {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.legal-list li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-text);
}

.legal-list li strong { color: var(--color-navy); }

/* Update note */
.legal-update {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .legal-dl { grid-template-columns: 1fr; }
  .legal-dl dt { margin-top: var(--space-sm); }
  .legal-table { font-size: 0.8rem; }
  .legal-table th, .legal-table td { padding: var(--space-xs) var(--space-sm); }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .site-nav,
  .hero__cascade,
  .nav-toggle,
  .btn { display: none !important; }

  body { background: white; color: black; font-size: 11pt; }

  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #666; }

  .section { padding: 2em 0; }
  .hero    { min-height: auto; padding: 2em 0; background: none; }
  .hero__heading  { color: black; font-size: 24pt; }
  .hero__tagline  { color: #444; font-size: 14pt; }
  .site-footer    { background: none; color: black; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: var(--space-4);
  flex-shrink: 0;
}

.lang-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  padding: 0 3px;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: rgba(255,255,255,0.85);
}

.lang-btn--active {
  color: var(--color-teal, var(--teal-signal));
  background: rgba(13,148,136,0.12);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--teal-signal);
  outline-offset: 2px;
}

/* Legal language note banner */
.legal-lang-note {
  background: rgba(13,148,136,0.08);
  border-left: 3px solid var(--teal-signal);
  padding: var(--space-3) var(--space-5);
  margin: 0;
}

.legal-lang-note[hidden] { display: none; }

.legal-lang-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--grey-700, #4A4A44);
  font-style: italic;
}
