/* Lisière Subtil · Créature Hybride
   Palette : bleus profonds sur blanc laiteux, crème pour le script. */

@font-face {
  font-family: 'Corinthia';
  src: url('/assets/fonts/corinthia-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue-line: #3565c9;
  --blue-deep: #1e4fb3;
  --blue-ink: #163e8f;
  --sky: #eef4ff;
  --cream: #f7f0c6;
  --cream-deep: #efe3a8;
  --glass-hi: rgba(255, 255, 255, 0.85);
  --glass-mid: rgba(185, 212, 250, 0.5);
  --glass-low: rgba(135, 175, 238, 0.42);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: #cfdef6;
  color: var(--blue-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue-deep); color: var(--cream); }

/* ---------- couche 0 : ciel quadrillé ---------- */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ---------- barre haute ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(1.15rem + env(safe-area-inset-top)) 1.35rem 0.6rem;
}

.brand {
  font-family: 'Corinthia', cursive;
  font-weight: 700;
  font-size: clamp(2.1rem, 6.5vw, 2.9rem);
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  padding-top: 0.35em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 3px 14px rgba(24, 62, 140, 0.55),
    0 1px 2px rgba(24, 62, 140, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand:hover { transform: scale(1.04) rotate(-1.5deg); }

/* pastille de verre (burger et petits contrôles) */
.aero-chip {
  width: 44px;
  height: 39px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, var(--glass-hi) 0%, var(--glass-mid) 48%, var(--glass-low) 52%, rgba(215, 236, 255, 0.6) 100%);
  box-shadow:
    0 8px 24px rgba(30, 79, 179, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -6px 12px rgba(64, 122, 214, 0.32);
  backdrop-filter: blur(10px) saturate(1.35);
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}
.aero-chip:hover { transform: translateY(-1px) scale(1.04); }
.aero-chip:active { transform: scale(0.94); }

.burger { position: relative; }
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s;
}
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.burger span:nth-child(2) { transform: translate(-50%, -50%); }
.burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
body.menu-open .burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(0.2); }
body.menu-open .burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- menu plein écran ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: linear-gradient(160deg, rgba(219, 236, 255, 0.72), rgba(147, 184, 240, 0.66) 55%, rgba(206, 228, 255, 0.75));
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
body.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.menu-inner { text-align: center; display: grid; justify-items: center; gap: clamp(1.2rem, 4vh, 2.2rem); }

.menu-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: 0.06em;
  color: var(--blue-ink);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.25s;
}
body.menu-open .menu-link { animation: menuIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
body.menu-open .menu-link:nth-child(1) { animation-delay: 0.08s; }
body.menu-open .menu-link:nth-child(2) { animation-delay: 0.16s; }
body.menu-open .menu-link:nth-child(3) { animation-delay: 0.24s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

.menu-link:hover { color: #fff; text-shadow: 0 2px 18px rgba(30, 79, 179, 0.8); }
.menu-num {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--blue-deep);
  opacity: 0.7;
}
.menu-foot {
  margin-top: 3vh;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  opacity: 0.65;
}

/* ---------- hero ---------- */
main { position: relative; z-index: 1; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.halo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 44%;
  width: min(120vw, 90svh);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(235, 245, 255, 0.35) 38%, rgba(235, 245, 255, 0) 68%);
  pointer-events: none;
}

.title {
  position: absolute;
  z-index: 2;
  top: max(11svh, calc(env(safe-area-inset-top) + 9.5svh));
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Corinthia', cursive;
  font-weight: 700;
  color: var(--cream);
  pointer-events: none;
}
.title-line {
  display: block;
  font-size: clamp(5.2rem, 24.5vw, 15rem);
  line-height: 0.62;
  -webkit-text-stroke: 0.022em var(--cream);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 1px rgba(190, 150, 60, 0.18),
    0 10px 34px rgba(24, 62, 140, 0.5),
    0 3px 8px rgba(24, 62, 140, 0.35);
}
.title-line2 { margin-left: 6vw; }

.mist {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(38px);
}
.mist-a {
  z-index: 2;
  width: 95vw;
  height: 34svh;
  left: -18vw;
  top: 30svh;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 65%);
  animation: driftA 26s ease-in-out infinite alternate;
}
.mist-b {
  z-index: 4;
  width: 110vw;
  height: 26svh;
  right: -25vw;
  bottom: -6svh;
  background: radial-gradient(ellipse at center, rgba(214, 232, 255, 0.5), rgba(214, 232, 255, 0) 68%);
  animation: driftB 32s ease-in-out infinite alternate;
}
@keyframes driftA { to { transform: translateX(14vw) translateY(-3svh); } }
@keyframes driftB { to { transform: translateX(-12vw) translateY(2svh); } }

.person {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: min(79svh, 172vw);
  aspect-ratio: 9 / 16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, 0.6) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, 0.6) 93%, transparent 100%);
}
.person canvas,
.person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(22, 55, 130, 0.35));
}
.person img { transition: opacity 0.6s ease; }
.person.playing img { opacity: 0; }

.hero-cta {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: calc(3.6svh + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
}

/* ---------- bouton Frutiger Aero ---------- */
.aero-btn {
  position: relative;
  display: inline-block;
  padding: 0.88em 2.1em;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(0.82rem, 3vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, var(--glass-hi) 0%, var(--glass-mid) 46%, var(--glass-low) 52%, rgba(219, 240, 255, 0.68) 100%);
  box-shadow:
    0 14px 36px rgba(30, 79, 179, 0.32),
    0 3px 8px rgba(30, 79, 179, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -9px 18px rgba(64, 122, 214, 0.35);
  backdrop-filter: blur(10px) saturate(1.35);
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.aero-btn::after {
  content: '';
  position: absolute;
  left: 7%;
  right: 7%;
  top: 7%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}
.aero-btn::before {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 34%;
  left: -45%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
  transition: left 0.7s cubic-bezier(0.3, 0.7, 0.2, 1);
  pointer-events: none;
}
.aero-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 20px 48px rgba(30, 79, 179, 0.4), 0 4px 10px rgba(30, 79, 179, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -9px 18px rgba(64, 122, 214, 0.4); }
.aero-btn:hover::before { left: 115%; }
.aero-btn:active { transform: scale(0.96); }

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}
.scroll-hint svg { animation: bob 2.1s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ---------- voyage : vol 3D à travers les fenêtres ---------- */
.voyage { position: relative; z-index: 5; }

/* disposition de secours (sans JS ou mouvement réduit) : liste empilée */
.voyage-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 12svh 1rem;
}
.voyage:not(.flight) .px { display: none; }

/* mode vol : scène collée, éléments placés en 3D par le JS */
.voyage.flight .voyage-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 0;
  display: block;
  overflow: hidden;
  perspective: 950px;
  perspective-origin: 50% 46%;
}
.voyage.flight .vg-item,
.voyage.flight .px-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  visibility: hidden;
  will-change: transform, opacity;
}
.voyage.flight .px { display: block; }

/* panneaux titres du vol */
.vg-heading { position: relative; text-align: center; pointer-events: none; }
.vg-heading::before {
  content: '';
  position: absolute;
  inset: -55% -35%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75) 0%, rgba(240, 248, 255, 0.3) 45%, transparent 70%);
}
.voyage-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(2.9rem, 12.5vw, 7rem);
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
}
.voyage-big {
  color: #fff;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.4), 0 10px 34px rgba(24, 62, 140, 0.55);
}
.voyage-script {
  font-family: 'Corinthia', cursive;
  font-weight: 700;
  font-size: 1.4em;
  letter-spacing: 0;
  color: var(--cream);
  margin-right: 0.12em;
  vertical-align: -0.06em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 3px 1px rgba(190, 150, 60, 0.2),
    0 12px 34px rgba(24, 62, 140, 0.6);
}

/* le dino traverse le panneau, de gauche à droite */
.dino-track {
  display: block;
  position: relative;
  margin-top: 1.6rem;
  height: 64px;
}
.dino-run {
  position: absolute;
  left: 50%;
  bottom: 0;
  animation: dinoWalk 8.5s linear infinite;
}
.px-dino { width: 58px; margin: 0; animation: dinoHop 0.5s steps(2) infinite; }
@keyframes dinoWalk {
  from { transform: translateX(calc(-45vw - 60px)); }
  to { transform: translateX(45vw); }
}
@keyframes dinoHop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- fenêtre Frutiger Aero ---------- */
.win {
  width: min(90vw, 520px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(224, 238, 255, 0.82));
  box-shadow:
    0 24px 60px rgba(24, 62, 140, 0.35),
    0 4px 12px rgba(24, 62, 140, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}
.win-video { width: min(72vw, 340px); }

.win-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, color-mix(in srgb, var(--ac) 32%, #eaf3ff) 55%, color-mix(in srgb, var(--ac) 46%, #dcecff) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.win-dots { display: inline-flex; gap: 0.32rem; }
.win-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--ac) 85%, #fff) 0%, var(--ac) 70%);
  box-shadow: inset 0 -1.5px 2.5px rgba(22, 62, 143, 0.35), 0 1px 1.5px rgba(22, 62, 143, 0.3);
}
.win-dots i:nth-child(2) { filter: hue-rotate(24deg) saturate(1.1); }
.win-dots i:nth-child(3) { filter: hue-rotate(-22deg) saturate(1.1); }
.win-dom {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.win-body {
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  background: #dfe9fa;
  cursor: pointer;
}
.win-body img, .win-body video {
  display: block;
  width: 100%;
  height: auto;
}
.win-video .win-body video { aspect-ratio: 9 / 16; object-fit: cover; }

.play-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.1) 44%),
    linear-gradient(180deg, rgba(150, 200, 250, 0.75), rgba(64, 122, 214, 0.85));
  box-shadow: 0 10px 26px rgba(22, 62, 143, 0.45), inset 0 -8px 14px rgba(30, 79, 179, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.play-orb::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(22, 62, 143, 0.5));
}
.win-play:hover .play-orb { transform: translate(-50%, -50%) scale(1.1); }
.win-video.playing .play-orb { opacity: 0; pointer-events: none; }

.win-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem 0.85rem;
}
.win-foot h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
}
.win-foot p {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--blue-ink);
  opacity: 0.75;
}
.win-go {
  flex-shrink: 0;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--ac) 38%, #e2efff));
  box-shadow: 0 4px 10px rgba(24, 62, 140, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -4px 8px color-mix(in srgb, var(--ac) 30%, transparent);
  transition: transform 0.25s;
}
.win-go:hover { transform: scale(1.06); }

/* ---------- icônes pixel ---------- */
.px {
  image-rendering: pixelated;
  pointer-events: none;
}
.px-inline {
  position: static;
  display: inline-block;
  margin-top: 1.1rem;
}
.px-loading {
  display: block;
  width: min(46vw, 210px);
  margin: 1.6rem auto 0;
  animation: pulseLoad 1.6s ease-in-out infinite;
}

@keyframes pulseLoad { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* animations des icônes flottantes : elles vivent sur l'image,
   le wrapper créé par le JS porte le placement 3D */
.px[data-anim="twinkle"] { animation: twinkle 2.6s ease-in-out infinite; }
.px[data-anim="twinkle2"] { animation: twinkle 3.4s ease-in-out -1.2s infinite; }
.px[data-anim="click"] { animation: clickPulse 3.6s ease-in-out infinite; }
.px[data-anim="sway"] { animation: sway 3.2s ease-in-out infinite; transform-origin: 50% 95%; }
.px[data-anim="sway2"] { animation: sway 4.4s ease-in-out -1.5s infinite; transform-origin: 50% 95%; }
.px[data-anim="bob"] { animation: bobF 3.4s ease-in-out infinite; }
.px[data-anim="blink"] { animation: blinkI 3s steps(1) infinite; }
.px[data-anim="spinpulse"] { animation: spinP 4s ease-in-out infinite; }

@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.72); } }
@keyframes clickPulse { 0%, 86%, 100% { transform: none; } 90% { transform: scale(0.82) translate(2px, 2px); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes bobF { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blinkI { 0%, 78%, 100% { opacity: 1; } 84%, 92% { opacity: 0.35; } }
@keyframes spinP { 0%, 100% { transform: scale(1) rotate(-6deg); } 50% { transform: scale(1.12) rotate(6deg); } }

/* ---------- contact ---------- */
.contact {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 10svh 1.4rem calc(9svh + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.contact .aero-btn { text-transform: none; letter-spacing: 0.06em; }
.contact-foot {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-deep);
  opacity: 0.6;
}

/* couches promues sur le compositeur : transforms sans re-rasterisation */
.title, .person, .halo, .hero-cta, .mist { will-change: transform; }

/* ---------- accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  .mist-a, .mist-b, .scroll-hint svg { animation: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 900px) {
  .topbar { padding: calc(1.7rem + env(safe-area-inset-top)) 2.2rem 0.6rem; }
  .title-line { font-size: clamp(8rem, 15vw, 14rem); }
  .title-line2 { margin-left: 8vw; }
  .person { height: min(78svh, 60vw); }
}
