/* ═══════════════════════════════════════════════════════════════════
   HUBERT ME — Thème WordPress
   Design system inspiré de RHEOS Capital
   Palette : Obsidien · Or · Ivoire
   Typographie : Cormorant Garamond (display) · DM Sans (corps)
   ═══════════════════════════════════════════════════════════════════ */

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

/* ─── Variables ───────────────────────────────────────────────────── */
:root {
  --bg:           #080808;
  --bg-alt:       #0d0d0d;
  --bg-card:      #111111;
  --bg-card-h:    #161616;
  --bg-overlay:   rgba(8, 8, 8, 0.92);

  --gold:         #c9a84c;
  --gold-light:   #dfc06a;
  --gold-pale:    #e8d49a;
  --gold-dim:     rgba(201, 168, 76, 0.55);
  --gold-glow:    rgba(201, 168, 76, 0.07);
  --gold-border:  rgba(201, 168, 76, 0.14);
  --gold-border-h:rgba(201, 168, 76, 0.38);

  --white:        #f5f2ec;
  --white-dim:    rgba(245, 242, 236, 0.72);
  --muted:        #5a5a5a;
  --muted-light:  #888888;
  --border:       rgba(255, 255, 255, 0.055);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --max-w:        1200px;
  --max-w-narrow: 780px;
  --pad-section:  130px;
  --pad-x:        clamp(24px, 5vw, 80px);

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   0.45s var(--ease);

  --radius:       2px;
  --radius-card:  4px;
}

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

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201,168,76,0.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ─── Typography Scale ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display-hero em { font-style: italic; color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ─── Layout Utilities ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { position: relative; z-index: 1; }

.section-inner {
  padding: var(--pad-section) 0;
}

.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.8rem 0;
}

.gold-line--center { margin-left: auto; margin-right: auto; }

/* ─── Navigation ──────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--pad-x);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
              border-bottom 0.5s var(--ease);
}

#site-header.scrolled {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  text-decoration: none;
}
.site-logo span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--gold-border-h);
  color: var(--gold) !important;
  transition: all 0.3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
  border-color: var(--gold);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(201,168,76,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 20% 70%, rgba(8,8,8,0.9) 0%, transparent 70%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.18;
  filter: grayscale(100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  display: block;
  margin-bottom: 0.15em;
}

.hero-subtitle-wrap {
  height: 1.3em;
  overflow: hidden;
  margin-top: 1.8rem;
  margin-bottom: 3rem;
}

.hero-subtitles {
  display: flex;
  flex-direction: column;
  animation: subtitleCycle 9s ease-in-out infinite;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white-dim);
  white-space: nowrap;
  line-height: 1.3;
  flex-shrink: 0;
}

.hero-subtitle .accent { color: var(--gold); font-style: italic; }

@keyframes subtitleCycle {
  0%, 28%     { transform: translateY(0); }
  33%, 61%    { transform: translateY(-33.33%); }
  66%, 94%    { transform: translateY(-66.66%); }
  100%        { transform: translateY(-66.66%); }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--gold-border-h);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border-h);
  padding: 11px 26px;
}
.btn-ghost:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn svg, .btn .btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── Ticker / Marquee ────────────────────────────────────────────── */
.ticker-wrap {
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  padding: 14px 0;
  background: rgba(201,168,76,0.025);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  /* Les items sont dupliqués en PHP, on translate de -50% pour boucler */
  animation: ticker 35s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

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

/* ─── Section: Présentation ───────────────────────────────────────── */
#presentation {
  background: var(--bg-alt);
}

.presentation-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 6rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gold-border);
}

.presentation-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  max-width: 380px;
}

.presentation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}

.presentation-photo:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.presentation-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-border);
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(8,8,8,0.9), transparent);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.presentation-bio {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bio-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
}

.bio-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ─── Stats ───────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-border);
  margin-bottom: 6rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.stat-card:hover { background: var(--bg-card-h); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.stat-suffix {
  font-size: 0.5em;
  color: var(--gold-dim);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.stat-detail {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── Timeline Carrière ───────────────────────────────────────────── */
.timeline-title {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline {
  position: relative;
  padding-bottom: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-border);
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-top: 3rem;
  cursor: pointer;
}

.timeline-node {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--muted);
  transition: all 0.35s var(--ease);
  z-index: 2;
}

.timeline-item.active .timeline-node,
.timeline-item:hover .timeline-node {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,0.4);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.timeline-event-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline-event-body {
  font-size: 0.84rem;
  color: var(--muted-light);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s;
  opacity: 0;
}

.timeline-item.active .timeline-event-body,
.timeline-item:hover .timeline-event-body {
  max-height: 200px;
  opacity: 1;
}

.timeline-content {
  padding: 0 1.2rem;
  border-left: 1px solid var(--gold-border);
}

.timeline-item:first-child .timeline-content { border-left: none; }

/* ─── Section: RHEOS Capital ──────────────────────────────────────── */
#rheos {
  background: var(--bg);
  overflow: hidden;
}

.rheos-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.rheos-logo-block {
  display: flex;
  flex-direction: column;
}

.rheos-logotype {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.rheos-logotype span { color: var(--gold); }

.rheos-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 2.5rem;
}

.rheos-intro {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
}

.rheos-intro strong { color: var(--white); }

.rheos-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rheos-metric {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  transition: all 0.35s;
}

.rheos-metric:hover {
  background: var(--bg-card-h);
  border-left-color: var(--gold-light);
}

.rheos-metric-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}

.rheos-metric-label {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.5;
}

/* ─── RHEOS Pillars ───────────────────────────────────────────────── */
.rheos-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-border);
  margin-bottom: 4rem;
}

.pillar-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.pillar-card:hover { background: var(--bg-card-h); }

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  display: block;
}

.pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--muted-light);
  line-height: 1.65;
}

.rheos-cta-block {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--gold-border);
  background: var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.rheos-cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.rheos-cta-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.rheos-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--white-dim);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.rheos-quote em { color: var(--gold); font-style: normal; }

.rheos-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ─── Section: Contact ────────────────────────────────────────────── */
#contact {
  background: var(--bg-alt);
}

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

.contact-info p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--white);
  text-decoration: none;
  transition: all 0.35s;
  font-size: 0.9rem;
}

.contact-link:hover {
  border-color: var(--gold-border-h);
  background: var(--bg-card-h);
  color: var(--gold);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── Contact Form ────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.form-input,
.form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 12px 16px;
  transition: border-color 0.3s;
  resize: none;
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-border-h);
  background: var(--bg-card-h);
}

.form-textarea { min-height: 120px; }

.form-submit {
  align-self: flex-start;
  cursor: pointer;
}

.form-message {
  font-size: 0.85rem;
  padding: 10px 0;
  display: none;
}

.form-message.success { color: #6ec87a; display: block; }
.form-message.error   { color: #e07070; display: block; }

/* ─── Footer ──────────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  padding: 3.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.7;
  margin-top: 0.8rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-nav-group h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-group a {
  font-size: 0.82rem;
  color: var(--muted-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-copy a {
  color: var(--muted-light);
}

.footer-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── Scroll Reveal Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── WordPress specifics ─────────────────────────────────────────── */
.wp-block-image, .aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-section: 90px; }

  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .rheos-pillars      { grid-template-columns: repeat(2, 1fr); }
  .presentation-header{ grid-template-columns: 1fr; gap: 3rem; }
  .presentation-photo { max-width: 260px; }
  .rheos-header       { grid-template-columns: 1fr; gap: 3rem; }
  .timeline-track     { grid-template-columns: repeat(2, 1fr); }
  .timeline::before   { display: none; }
}

@media (max-width: 768px) {
  :root {
    --pad-section: 70px;
    --pad-x: 24px;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }

  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }

  .stats-grid         { grid-template-columns: 1fr 1fr; }
  .rheos-pillars      { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner       { flex-direction: column; }
  .footer-nav         { flex-direction: column; gap: 2rem; }
  .footer-bottom      { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row           { grid-template-columns: 1fr; }
  .timeline-track     { grid-template-columns: 1fr; }
  .hero-ctas          { flex-direction: column; align-items: flex-start; }
  .rheos-cta-btns     { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-subtitle { white-space: normal; }
}
