/* ========================================
   Romain Bastide — Site
   B&W Premium Minimal

   Design philosophy:
   - Dieter Rams: less, but better
   - Massimo Vignelli: the grid is sacred
   - Hedi Slimane: radical B&W, dramatic negative space
   - Apple Marcom: cinematic scroll pacing
   ======================================== */

/* --- Tokens --- */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F4F4F1;
  --text: #111;
  --text-mid: #555;
  --text-light: #999;
  --border: #E8E8E5;
  --border-light: #F0F0ED;
  --white: #fff;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --container: 1200px;
  --container-narrow: 800px;
  --section-py: clamp(6rem, 12vw, 11rem);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* --- Grain overlay (print texture) --- */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* --- Page load animation --- */
body {
  animation: pageIn 0.8s var(--ease-out-expo) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--text);
  z-index: 200;
  width: 0;
  transition: none;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
h1 {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 580px;
  margin-top: 1.5rem;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 2rem 0;
  transition: all 0.5s var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.5; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 0.4; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--text);
  transition: all 0.4s var(--ease-out-expo) !important;
}
.nav-cta:hover {
  background: var(--text) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}
.nav-cta::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.nav-mobile.open { display: flex; opacity: 1; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  transition: opacity 0.3s;
}
.nav-mobile a:hover { opacity: 0.4; }

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.15rem 3rem;
  border: 1px solid var(--text);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}
.btn-primary {
  background: var(--text);
  color: var(--white);
}
.btn-primary:hover {
  background: transparent;
  color: var(--text);
}
.btn-outline {
  background: transparent;
  color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}
.btn-small {
  padding: 0.8rem 2rem;
  font-size: 0.65rem;
}
.btn-arrow::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-arrow:hover::after { transform: translateX(5px); }

/* --- Hero (home — split layout) --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 3rem;
  max-width: 440px;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 1s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-image:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}
/* Image reveal animation */
.hero-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  transform-origin: right;
  animation: imageReveal 1.2s var(--ease-out-expo) 0.4s both;
}
@keyframes imageReveal {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Hero centered (sub-pages) */
.hero-centered {
  min-height: 75vh;
  min-height: 75dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}
.hero-centered h1 { margin-bottom: 1.5rem; }
.hero-centered .hero-subtitle {
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}
.hero-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-top: 1.5rem;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-subtitle { margin: 0 auto 3rem; }
  .hero-image { order: -1; max-width: 300px; margin: 0 auto 2rem; }
  .hero-centered { min-height: auto; padding-top: 8rem; }
}

/* --- Grid --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Cards --- */
.card {
  padding: clamp(2rem, 3vw, 3rem);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  background: var(--bg);
}
.card:hover {
  border-color: var(--text);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.08);
}
.card-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 2rem;
  transition: color 0.5s var(--ease-out-expo);
}
.card:hover .card-number { color: var(--text); }
.card h3 {
  margin-bottom: 1rem;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.card-cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.card-cta::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.4s var(--ease-out-expo);
}
.card-cta:hover::after { transform: translateX(5px); }

/* --- Steps --- */
.step {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.5s var(--ease-out-expo);
}
.step:first-child { border-top: 1px solid var(--border); }
.step:hover { padding-left: 1.5rem; }
.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  transition: color 0.5s var(--ease-out-expo);
}
.step:hover .step-number { color: var(--text); }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-mid); }

/* --- Timeline (parcours) --- */
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 500px;
}
.timeline-item {
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-left: 1px solid var(--border);
  position: relative;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all 0.4s var(--ease-out-expo);
}
.timeline-item:hover {
  color: var(--text);
  padding-left: 3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -3px; top: 2rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.4s var(--ease-out-expo);
}
.timeline-item:hover::before {
  background: var(--text);
  transform: scale(1.5);
}

/* --- About grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* --- Testimonials carousel --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.7s var(--ease-out-expo);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 2.5rem;
  max-width: 720px;
}
.testimonial-text::before { content: '\201C\00A0'; }
.testimonial-text::after { content: '\00A0\201D'; }
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.testimonial-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 3.5rem;
  align-items: center;
}
.testimonial-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.4s var(--ease-out-expo);
}
.testimonial-btn:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}
.testimonial-counter {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-left: 1rem;
}

/* --- Testimonial marquee (home page) --- */
.testimonial-marquee {
  overflow: hidden;
  padding: 0.75rem 0;
}
.testimonial-marquee-track {
  display: flex;
  width: max-content;
}
.testimonial-marquee-track:hover { animation-play-state: paused; }
.marquee-ltr { animation: marquee-ltr 45s linear infinite; }
.marquee-rtl { animation: marquee-rtl 50s linear infinite; }
.testimonial-marquee-inner {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.75rem;
}
.tcard {
  width: 380px;
  flex-shrink: 0;
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.4s var(--ease-out-expo);
}
.tcard:hover { border-color: var(--text); }
.tcard-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.tcard-text::before { content: '\201C\00A0'; font-family: var(--font-heading); font-size: 1.2rem; }
.tcard-text::after { content: '\00A0\201D'; font-family: var(--font-heading); font-size: 1.2rem; }
.tcard-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tcard-role {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (max-width: 600px) {
  .tcard { width: 300px; padding: 1.5rem; }
}

/* Testimonial grid (Upgrade page) */
.testimonial-grid-card {
  padding: clamp(2rem, 3vw, 3rem);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out-expo);
}
.testimonial-grid-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}
.testimonial-grid-card blockquote {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}
.testimonial-grid-card .testimonial-author { font-size: 0.8rem; }
.testimonial-grid-card .testimonial-role { font-size: 0.7rem; }

/* --- Logos marquee --- */
.logos-section {
  padding: 5rem 0;
  overflow: hidden;
}
.logos-label {
  text-align: center;
  margin-bottom: 3rem;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}
.marquee-inner span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-inner span:hover { color: var(--text); }
.marquee-separator {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Sessions list --- */
.session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.5s var(--ease-out-expo);
}
.session-item:first-child { border-top: 1px solid var(--border); }
.session-item:hover { padding-left: 2rem; }
.session-date {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.session-time {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}
.session-item .btn-small { flex-shrink: 0; }

/* --- Check list --- */
.check-list { max-width: 620px; }
.check-item {
  padding: 1.4rem 0 1.4rem 2.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-mid);
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}
.check-item:first-child { border-top: 1px solid var(--border); }
.check-item:hover {
  color: var(--text);
  padding-left: 3rem;
}
.check-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 1px;
  background: var(--border);
  transition: all 0.4s var(--ease-out-expo);
}
.check-item:hover::before {
  background: var(--text);
  width: 16px;
}

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  font-size: 1rem;
  text-align: left;
  transition: opacity 0.3s;
}
.faq-question:hover { opacity: 0.5; }
.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.5s var(--ease-out-expo);
  flex-shrink: 0;
  margin-left: 2rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 2rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* --- Articles grid --- */
.article-card {
  display: block;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.article-card:hover::before { transform: scaleX(1); }
.article-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
}
.article-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.article-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.article-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.article-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-link::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.4s var(--ease-out-expo);
}
.article-card:hover .article-link::after { transform: translateX(5px); }

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 1.5rem; }
.cta-section p {
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.cta-note {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 1.25rem;
}

/* --- Motto --- */
.motto-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.motto {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  text-align: center;
  color: var(--text-mid);
  line-height: 1.4;
}
.motto-values {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1.5rem;
}

/* --- Horizontal rule animation --- */
.hr-animate {
  width: 0;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  transition: width 1.2s var(--ease-out-expo);
}
.hr-animate.visible { width: 80px; }

/* --- Footer --- */
.footer {
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 3rem;
}
.footer-links a {
  font-size: 0.8rem;
  transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 0.4; }
.footer-copy {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .footer-links { flex-direction: column; gap: 1.25rem; }
}

/* --- Scroll-triggered animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-quint), transform 0.9s var(--ease-out-quint);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="1"] { transition-delay: 0.12s; }
[data-animate][data-delay="2"] { transition-delay: 0.24s; }
[data-animate][data-delay="3"] { transition-delay: 0.36s; }
[data-animate][data-delay="4"] { transition-delay: 0.48s; }
[data-animate][data-delay="5"] { transition-delay: 0.60s; }
[data-animate][data-delay="6"] { transition-delay: 0.72s; }

/* Scale variant */
[data-animate="scale"] {
  transform: scale(0.95) translateY(20px);
}
[data-animate="scale"].visible {
  transform: scale(1) translateY(0);
}

/* Fade only variant */
[data-animate="fade"] {
  transform: none;
}

/* --- Utilities --- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- Selection color --- */
::selection {
  background: var(--text);
  color: var(--white);
}
