/* =========================================================
   Cyrille Varin — Portfolio
   Design : Claude Design "Cyrille Varin - Portfolio"
   Palette : noir profond / gris clair, typographie fine
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          #000000;
  --bg-soft:     #030405;
  --bg-card:     #040506;
  --bg-hover:    #0b0c0d;

  --line:        #1a1c1e;
  --line-2:      #1f2225;
  --line-3:      #23262a;
  --line-4:      #2c2f33;
  --line-5:      #41464b;

  --fg:          #ebeff2;
  --fg-strong:   #ffffff;
  --fg-1:        #dfe3e6;
  --fg-2:        #c9ced3;
  --fg-3:        #c2c7cb;
  --fg-4:        #9aa0a5;
  --fg-5:        #8a9095;
  --fg-6:        #75797e;
  --fg-7:        #6d7378;
  --fg-8:        #52585d;
  --fg-9:        #4a4f54;

  --gut:         34px;
  --ease:        cubic-bezier(.16, 1, .3, 1);
  --font:        'Helvetica Neue', Helvetica, Arial, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--fg); color: #000; }

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--fg-strong); }

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

h1, h2, h3, p { margin: 0; }

canvas { display: block; }

:focus-visible {
  outline: 1px solid var(--fg-3);
  outline-offset: 3px;
}

/* Le header est fixe : les ancres doivent s'arrêter en dessous, pas dessous. */
section[id], main[id] { scroll-margin-top: 92px; }
@media (max-width: 900px) { section[id], main[id] { scroll-margin-top: 74px; } }

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

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.section-title {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-5);
}

.hint {
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-7);
}

/* ---------- Ghost button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 15px 20px;
  border: 1px solid var(--line-4);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-1);
  transition: border-color .4s, background .4s, color .4s;
}
.btn:hover,
.btn:focus-visible { border-color: var(--fg-7); background: var(--bg-hover); color: var(--fg-strong); }
.btn .arrow { font-size: 13px; }
.btn--hero { gap: 44px; padding: 16px 22px; margin-top: 38px; font-size: 10px; letter-spacing: .24em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color .4s, gap .4s;
}
.link-arrow:hover { color: var(--fg-strong); gap: 18px; }
.link-arrow .arrow { font-size: 13px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  /* Trois colonnes plutôt qu'un space-between : la navigation reste centrée
     sur la page quel que soit le nombre d'éléments à sa droite. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px var(--gut);
}
.site-header .nav-toggle { justify-self: end; }
/* Le flou est porté par un pseudo-élément : appliqué sur le header lui-même,
   il créerait un bloc conteneur et enfermerait le menu mobile en position fixed. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(#000000cc, #00000000);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg);
}
.brand .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fg);
  opacity: .7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-nav a { color: var(--fg-2); transition: color .4s; }
.site-nav a:hover { color: var(--fg-strong); }
.site-nav .sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--fg-9);
}

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  grid-column: 3;
  width: 34px; height: 34px;
  padding: 0;
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--fg-3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 15px; height: 1px;
  background: currentColor;
  position: relative;
  transition: background .3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 15px; height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0; left: 22%;
  width: 78%; height: 100%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, #000 58%, #00000000 70%);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  left: var(--gut);
  top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 10;
}
.hero__scroll span.label {
  font-size: 9px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--fg-7);
  writing-mode: vertical-rl;
}
.hero__rail {
  position: relative;
  width: 1px; height: 200px;
  background: linear-gradient(#3a3e42, #14161800);
}
.hero__rail i {
  position: absolute;
  left: -3px; top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fg);
  animation: scrollDot 4.5s ease-in-out infinite;
}

.hero__body {
  position: relative;
  z-index: 10;
  padding: 110px var(--gut) 40px 130px;
  max-width: 560px;
}
/* Le sur-titre fait partie du H1 : mêmes pixels à l'écran, mais le titre de
   niveau 1 porte enfin les mots que l'on cherche à référencer. */
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__eyebrow {
  display: block;
  margin-bottom: 26px;
  line-height: 1.6;
}
.hero__claim { display: block; }
.hero h1 .muted { color: #7e858b; }
.hero__sub {
  margin-top: 30px;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-4);
}

.socials { display: flex; gap: 10px; margin-top: 44px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-3);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--fg-5);
  transition: border-color .4s, color .4s;
}
.socials a.is-icon { color: var(--fg-4); }
.socials a.is-icon svg { display: block; }
.socials a:hover { border-color: var(--fg-7); color: var(--fg-strong); }

.hero__note {
  position: absolute;
  right: var(--gut);
  bottom: 56px;
  z-index: 10;
  max-width: 190px;
}
.hero__note p:first-child {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero__note p:last-child {
  font-size: 11px;
  line-height: 1.7;
  color: #71777c;
}

/* =========================================================
   Pinned horizontal sections
   ========================================================= */
.pin {
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* Hauteurs de repli avant que le JS ne calcule le défilement réel */
.projects { height: 200vh; }
.path     { height: 180vh; }
.pin__frame {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  will-change: transform;
}

/* --- Projets --- */
.projects .pin__frame {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-left: var(--gut);
}
.projects__intro { flex: 0 0 250px; }
.projects__main { flex: 1; min-width: 0; }

.rail { overflow: hidden; }
.rail__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
}

.card {
  flex: 0 0 320px;
  margin-right: 22px;
  position: relative;
  min-height: 250px;
  border: 1px solid var(--line-2);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .5s;
  /* Colonne souple : les descriptions n'ont pas toutes le même nombre de
     lignes, mais les liens « Voir le projet » restent alignés d'une carte
     à l'autre. */
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--line-5); }

.card__media {
  position: relative;
  flex: 0 0 150px;
  height: 150px;
  border-bottom: 1px solid #14161a;
  overflow: hidden;
  /* Les captures viennent de sites clairs comme de sites sombres. Le
     désaturation seule laissait les plus clairs crever l'écran dans une carte
     noire : on baisse la luminance et on pose un voile dégradé par-dessus,
     ce qui remet toute la rangée au même niveau. */
  filter: grayscale(1) contrast(1.02) brightness(.68);
  background: radial-gradient(120% 100% at 30% 0%, #101315 0%, #050607 70%);
}
.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.62) 100%);
  pointer-events: none;
}
.card:hover .card__media { filter: grayscale(1) contrast(1.02) brightness(.86); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.card__media--empty {
  display: grid;
  place-items: center;
}
.card__media--empty span {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #3a3e42;
}
.card__field {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px; width: 100%;
}
.card__body {
  position: relative;
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__body > .link-arrow,
.card__body > .card__soon { margin-top: auto; align-self: flex-start; }
.card__kicker {
  margin-bottom: 16px;
  font-size: 8px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg-6);
}
.card__body h3 {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 300;
}
.card__desc {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-5);
}
.card__soon {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-7);
}

.btn--compact { gap: 16px; padding: 14px 18px; }

.rail__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding-right: var(--gut);
}
.progress {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.progress i {
  position: absolute;
  left: 0; top: 0;
  height: 1px; width: 30%;
  background: var(--fg-3);
}

/* --- Parcours --- */
.path .pin__frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
}
.path__intro { padding: 0 var(--gut); max-width: 520px; }

.ticker {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding-left: var(--gut);
  will-change: transform;
}
.logo {
  flex: 0 0 auto;
  width: 210px; height: 58px;
  margin-right: 104px;
  opacity: .66;
  transition: opacity .5s;
}
.logo:hover { opacity: 1; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo--invert  { filter: grayscale(1) brightness(0) invert(1); }
.logo--plate   { filter: grayscale(1) brightness(1.35) contrast(1.05); }
.logo--badge   { filter: grayscale(1) brightness(1.55) contrast(.9); }

.path__progress { padding: 0 var(--gut); }
.path__progress .progress { max-width: 420px; flex: none; }

/* =========================================================
   Expériences & formations
   ========================================================= */
.cv {
  position: relative;
  padding: 82px var(--gut) 92px;
  border-bottom: 1px solid var(--line);
}
.cv__head { max-width: 620px; margin-bottom: 62px; }

.cv__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 64px;
  align-items: start;
}

.cv__label {
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.cv__list { list-style: none; margin: 0; padding: 0; }

.cv__item {
  position: relative;
  padding: 0 0 30px 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid #141618;
}
.cv__item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

/* Le repère de la frise : un trait fin, pas une pastille */
.cv__item::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 1px;
  background: var(--fg-7);
}

.cv__meta {
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-7);
}
.cv__date { color: var(--fg-3); }

.cv__role {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--fg);
}
.cv__org { color: var(--fg-5); }

.cv__desc {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--fg-5);
  max-width: 46ch;
}

/* =========================================================
   À propos
   ========================================================= */
.about {
  position: relative;
  padding: 78px var(--gut) 92px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(230px, 1fr) minmax(0, 470px);
  gap: 46px;
  align-items: start;
  overflow: hidden;
}
.about__canvas {
  position: absolute;
  right: 0; bottom: -40px;
  width: 60%; height: 280px;
  pointer-events: none;
}
.about__col { position: relative; }

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  row-gap: 34px;
}
.stats > div { padding-right: 16px; }
.stats .num {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.stats .lbl { font-size: 11px; color: var(--fg-5); }

.skills__title {
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
}
.skills li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--fg-3);
  list-style: none;
  transition: border-color .4s, color .4s;
}
.skills li:hover { border-color: var(--line-5); color: var(--fg); }
.skills li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--fg-7);
  flex: 0 0 auto;
}
.skills { padding: 0; margin: 0; }

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative;
  padding: 78px var(--gut) 120px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 46px;
  align-items: start;
  overflow: hidden;
}
.contact__canvas {
  position: absolute;
  right: -4%; bottom: -90px;
  width: 66%; height: 340px;
  pointer-events: none;
}
.contact__col { position: relative; }
.coords {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 6px;
  max-width: 340px;
}
.coords div {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-3);
}
.coords .glyph {
  color: var(--fg-7);
  font-size: 15px;
  width: 16px;
  text-align: center;
  flex: 0 0 auto;
}
.coords a { color: var(--fg-3); }
.coords a:hover { color: var(--fg-strong); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--line);
  padding: 30px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-7);
}
.site-footer a { color: var(--fg-7); transition: color .4s; }
.site-footer a:hover { color: var(--fg-3); }

/* Les particules dorment sous le bas de page ; le curseur les fait remonter
   à travers le footer, puis elles retombent. Le canvas déborde vers le haut
   pour leur laisser de la course. */
.site-footer__bed {
  /* Le canvas est un élément remplacé : sans width explicite, left/right ne
     suffisent pas et il retombe sur sa taille intrinsèque. */
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 300px;
  z-index: -1;
  pointer-events: none;
  /* Le haut du canvas s'efface : aucune particule ne peut être tranchée net
     par le bord, et le panache se fond dans la section Contact. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.28) 26%, #000 58%);
}
.site-footer > span { position: relative; z-index: 1; }

/* =========================================================
   Animations
   ========================================================= */
@keyframes scrollDot {
  0%   { transform: translateY(0);     opacity: .2; }
  50%  { transform: translateY(120px); opacity: 1;  }
  100% { transform: translateY(0);     opacity: .2; }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reveal — initial state applied by JS only when it is active */
.reveal-init {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
}
.reveal-in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* =========================================================
   Responsive
   ========================================================= */

/* --- Laptop --- */
@media (max-width: 1180px) {
  .about { grid-template-columns: minmax(180px, 230px) 1fr; }
  .about__skills { grid-column: 1 / -1; }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  :root { --gut: 22px; }

  .site-header { padding: 18px var(--gut); }

  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: #000000f5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    letter-spacing: .26em;
    transform: translateY(-100%);
    transition: transform .55s var(--ease);
    z-index: 30;
  }
  .site-nav.is-open { transform: none; }
  .site-nav .sep { display: none; }
  .nav-toggle { position: relative; z-index: 41; }

  .rail__footer .progress { display: none; }

  .hero__body { padding: 130px var(--gut) 60px; max-width: none; }
  .hero__canvas { left: 0; width: 100%; opacity: .55; }
  .hero__veil { background: linear-gradient(180deg, #000 0%, #000000cc 45%, #00000066 100%); }
  .hero__scroll, .hero__note { display: none; }
  .hero__sub { max-width: none; }

  /* Pins become natural vertical / native-scroll sections */
  .pin { height: auto !important; }
  .pin__frame {
    position: relative;
    height: auto;
    transform: none !important;
    overflow: visible;
  }
  .projects .pin__frame {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
    padding: 70px var(--gut) 74px;
  }
  .projects__intro { flex: none; }
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { height: 0; }
  .rail { scrollbar-width: none; }
  .rail__track { transform: none !important; padding-right: var(--gut); }
  .card { flex-basis: 280px; scroll-snap-align: start; }
  .rail__footer { padding-right: 0; }

  .path .pin__frame { padding: 70px 0 74px; gap: 40px; }
  .ticker__track { animation: tickerScroll 34s linear infinite; }
  .path__progress { display: none; }

  .cv { padding: 64px var(--gut) 74px; }
  .cv__head { margin-bottom: 44px; }
  .cv__cols { grid-template-columns: 1fr; gap: 46px; }

  .about {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 64px var(--gut) 74px;
  }
  .about__canvas { width: 100%; opacity: .6; }

  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px var(--gut) 90px;
  }
  .contact__canvas { width: 100%; opacity: .6; }
}

/* --- Phone --- */
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .card { flex-basis: 250px; }
  .logo { width: 150px; height: 46px; margin-right: 62px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { width: 100%; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__rail i { animation: none; }
  .ticker__track { animation: none; }
  .reveal-init { opacity: 1; transform: none; filter: none; }
}
