:root {
  --ink: #1d2a22;
  --ink-soft: #5c6d64;
  --cream: #f6eee3;
  --paper: #fff9f1;
  --honey: #edc24a;
  --terra: #2f8f6e;
  --terra-deep: #1f6d54;
  --leaf: #4a9a58;
  --sky: #6eb3d4;
  --blurple: #5865f2;
  --pronote: #008673;
  --nav-teal: #0b6b66;
  --nav-ink: #24332c;
  --line: rgba(29, 42, 34, 0.1);
  --glass: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 60px rgba(29, 42, 34, 0.1);
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 38% 28% at 0% 100%, rgba(193, 90, 50, 0.08), transparent 56%),
    radial-gradient(ellipse 36% 26% at 8% 0%, rgba(228, 181, 106, 0.12), transparent 58%),
    var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, strong { font-family: var(--font-display); }

.jp-ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

/* ——— Nav (School France rhythm, JP products) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  width: 100%;
  padding: 0.82rem 1.6rem;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(29, 42, 34, 0.06);
  box-shadow: 0 8px 28px rgba(29, 42, 34, 0.05);
  backdrop-filter: saturate(1.15) blur(16px);
  -webkit-backdrop-filter: saturate(1.15) blur(16px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.nav-bar {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 2.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.nav-text {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.2rem 0;
  color: var(--nav-ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: none;
  border: 0;
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.nav-text:hover,
.nav-text.is-active {
  color: var(--terra-deep);
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: var(--pronote);
}

.nav-line {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s var(--ease), filter 0.2s ease, box-shadow 0.22s ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.nav-pill--staff {
  background: linear-gradient(90deg, #3aa87a 0%, #2f8f6e 100%);
  box-shadow: 0 8px 22px rgba(47, 143, 110, 0.28), 0 2px 8px rgba(31, 109, 84, 0.18);
}

.nav-pill--discord {
  background: var(--blurple);
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.28), 0 2px 8px rgba(88, 101, 242, 0.16);
}

.nav-pill-ico {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.nav-pill-clyde {
  width: 16px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 107, 102, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--nav-ink);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav-backdrop { display: none; }

.nav-item--drop { position: relative; }

.nav-drop-toggle {
  cursor: pointer;
  font: inherit;
}

.nav-drop {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(29, 42, 34, 0.1);
  border: 1px solid rgba(29, 42, 34, 0.08);
  z-index: 50;
}

.nav-drop a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--nav-ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-drop a:hover {
  background: rgba(47, 143, 110, 0.1);
}

main { flex: 1 0 auto; }

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff8ee;
  padding: 7.8rem 1.5rem 7.2rem;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #8a4a22;
}

.hero-banner,
.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.08) brightness(1.06);
  animation: hero-kenburns 36s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-sparkle {
  display: none;
}

.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 14, 6, 0.16) 0%, rgba(22, 10, 4, 0.26) 52%, rgba(22, 10, 4, 0.34) 100%),
    radial-gradient(ellipse 68% 48% at 50% 42%, rgba(16, 8, 4, 0.2), transparent 72%);
  pointer-events: none;
}

.hero-light {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 50% 36% at 50% 18%, rgba(255, 214, 140, 0.18), transparent 64%);
  mix-blend-mode: soft-light;
  animation: light-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px 18px rgba(20, 8, 2, 0.16);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-leaves,
.autumn-deco {
  pointer-events: none;
  overflow: hidden;
}

.hero-leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.autumn-deco {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.hero-leaves i,
.autumn-deco i {
  position: absolute;
  top: -8%;
  width: 13px;
  height: 16px;
  background: #5aa978;
  border-radius: 0 70% 40% 70%;
  opacity: 0.36;
  animation: leaf-fall 18s linear infinite;
}

.hero-leaves i:nth-child(even),
.autumn-deco i:nth-child(even) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-leaves i:nth-child(1) { left: 8%; background: #7ebd6a; }
.hero-leaves i:nth-child(2) { left: 22%; background: #edc24a; animation-duration: 19s; animation-delay: -4s; }
.hero-leaves i:nth-child(3) { left: 38%; background: #6eb3d4; animation-duration: 14s; animation-delay: -8s; }
.hero-leaves i:nth-child(4) { left: 54%; background: #f4b4c8; animation-duration: 21s; animation-delay: -2s; }
.hero-leaves i:nth-child(5) { left: 70%; background: #4a9a58; animation-duration: 17s; animation-delay: -11s; }
.hero-leaves i:nth-child(6) { left: 84%; background: #ffe27a; animation-duration: 18s; animation-delay: -6s; }
.hero-leaves i:nth-child(7) { left: 16%; background: #8fd18a; animation-duration: 22s; animation-delay: -9s; }
.hero-leaves i:nth-child(8) { left: 62%; background: #7ec8e3; animation-duration: 15s; animation-delay: -3s; }

.autumn-deco i:nth-child(3) { left: 6%; background: #edc24a; animation-duration: 20s; }
.autumn-deco i:nth-child(4) { left: 18%; background: #5aa978; animation-duration: 17s; animation-delay: -5s; }
.autumn-deco i:nth-child(5) { left: 31%; background: #6eb3d4; animation-duration: 23s; animation-delay: -9s; }
.autumn-deco i:nth-child(6) { left: 47%; background: #f4b4c8; animation-duration: 15s; animation-delay: -2s; }
.autumn-deco i:nth-child(7) { left: 59%; background: #7ebd6a; animation-duration: 19s; animation-delay: -12s; }
.autumn-deco i:nth-child(8) { left: 72%; background: #ffe27a; animation-duration: 21s; animation-delay: -7s; }
.autumn-deco i:nth-child(9) { left: 84%; background: #4a9a58; animation-duration: 16s; animation-delay: -4s; }
.autumn-deco i:nth-child(10) { left: 93%; background: #7ec8e3; animation-duration: 24s; animation-delay: -10s; }
.autumn-deco i:nth-child(11) { left: 40%; background: #8fd18a; animation-duration: 18s; animation-delay: -14s; }
.autumn-deco i:nth-child(12) { left: 12%; background: #edc24a; animation-duration: 22s; animation-delay: -1s; }

.autumn-corner {
  position: absolute;
  width: min(220px, 28vw);
  height: auto;
  opacity: 0.9;
}

.autumn-corner--tl { top: 4.6rem; left: 0; }
.autumn-corner--br { right: 0; bottom: 0; }

.hero-collage { display: none; }

.gif-card {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(20, 8, 2, 0.35);
  border: 1px solid rgba(255, 244, 220, 0.28);
  background: #2a1810;
}

.gif-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gif-card--sun { transform: rotate(-4deg); }

.float { animation: float-card 7s ease-in-out infinite; }
.float-delay { animation: float-card 8.5s ease-in-out infinite 1.2s; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 1.6rem));
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-rise {
  animation: hero-rise 1s var(--ease) both;
}

.hero-copy .hero-rise:nth-child(1) { animation-delay: 0.08s; }
.hero-copy .hero-rise:nth-child(2) { animation-delay: 0.2s; }
.hero-copy .hero-rise:nth-child(3) { animation-delay: 0.34s; }

.hero-ornaments {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ornament {
  position: absolute;
  opacity: 0.42;
}

.ornament-leaf {
  top: 22%;
  left: 8%;
  width: 34px;
  height: 34px;
  color: #7ebd6a;
  transform: rotate(-18deg);
}

.ornament-sun {
  top: 14%;
  right: 10%;
  width: 42px;
  height: 42px;
  color: #edc24a;
  opacity: 0.55;
}

.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 92px;
  overflow: hidden;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: -6%;
  bottom: 0;
  width: 112%;
  height: 100%;
  display: block;
}

.hero-wave--back {
  color: rgba(110, 179, 212, 0.34);
  height: 100%;
  animation: wave-drift 8s ease-in-out infinite alternate;
}

.hero-wave--mid {
  color: rgba(47, 143, 110, 0.2);
  height: 86%;
  animation: wave-drift 11s ease-in-out infinite alternate-reverse;
}

.hero-wave--front {
  color: var(--cream);
  height: 72%;
  animation: wave-drift 9.5s ease-in-out infinite alternate;
}

.page-loader {
  z-index: 80;
  pointer-events: none;
  background: #fff;
  justify-content: center;
  align-items: center;
  animation: 1.4s 0.45s forwards loader-out;
  display: flex;
  position: fixed;
  inset: 0;
}

.page-loader::after {
  content: "";
  border: 2px solid rgba(47, 143, 110, 0.18);
  border-top-color: var(--terra);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  animation: 0.8s linear infinite loader-spin;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
}

.hero .kicker { color: rgba(255, 232, 190, 0.86); }

.hero h1 {
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.26em;
  row-gap: 0.06em;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(3.2rem, 7.4vw, 6.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #fff8ee;
  text-shadow: 0 6px 24px rgba(12, 36, 32, 0.28);
}

.hero-word {
  white-space: nowrap;
}

@media (min-width: 1100px) {
.hero h1 {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: clamp(3.6rem, 5.6vw, 6.5rem);
  }
}

.hero-sub {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 244, 230, 0.94);
}

.hero-sub .nobr {
  white-space: nowrap;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero .lede {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 244, 230, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.15rem;
}

.hero .btn {
  min-height: 56px;
  padding: 0.95rem 1.7rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: "Montserrat", var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-3px) scale(1.035); }

.btn-primary {
  background: var(--terra);
  color: #fff9f1;
  box-shadow: 0 14px 32px rgba(31, 109, 84, 0.28);
}

.btn-primary:hover { background: var(--terra-deep); }

.btn-discord {
  background: var(--blurple);
  color: #fff;
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.32);
}

.hero .btn-discord {
  animation: btn-glow 3.8s ease-in-out infinite;
}

.btn-discord:hover { background: #4752c4; }

.btn-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.btn-ico img { width: 14px; height: auto; }

.btn-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--pronote);
}

.btn-ghost {
  background: rgba(255, 249, 241, 0.12);
  border-color: rgba(255, 249, 241, 0.28);
  color: #fff9f1;
  backdrop-filter: blur(10px);
}

.btn-pronote {
  background: var(--pronote);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 134, 115, 0.32);
}

.btn-pronote:hover { background: #006b5c; }

.btn-soft {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 5.1rem;
  z-index: 4;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 249, 241, 0.4);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.8);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ——— Sections ——— */
.section {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 6.2rem 0 2rem;
}

.section-head {
  max-width: 28rem;
  margin-bottom: 2.8rem;
}

.section-head h2,
.cta-card h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.access-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 176px;
  padding: 1.4rem 1.35rem 1.45rem;
  border-radius: 22px;
  background: rgba(247, 252, 248, 0.78);
  border: 1px solid rgba(29, 42, 34, 0.07);
  box-shadow: 0 16px 40px rgba(29, 42, 34, 0.05);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), box-shadow 0.35s ease;
}

.access-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.access-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 13px;
  background: rgba(47, 143, 110, 0.12);
  color: var(--terra-deep);
}

.access-ico--logo { background: rgba(237, 194, 74, 0.2); }
.access-ico--logo img { width: 26px; height: 26px; }

.access-ico--discord {
  background: var(--blurple);
}

.access-ico--discord img { width: 20px; height: auto; }

.access-ico .jp-ico { width: 20px; height: 20px; }

.access-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.access-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ——— Qui sommes-nous ——— */
.about {
  position: relative;
  z-index: 2;
  padding: 4.8rem 0 1.4rem;
  scroll-margin-top: 5.6rem;
  background:
    radial-gradient(ellipse 48% 42% at 6% 8%, rgba(77, 107, 61, 0.07), transparent 58%),
    radial-gradient(ellipse 40% 36% at 96% 88%, rgba(193, 90, 50, 0.06), transparent 54%);
}

.about-wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
}

.about-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.about-card {
  padding: 1.7rem 1.65rem 1.85rem;
  border-radius: 22px;
  background: rgba(247, 252, 248, 0.86);
  border: 1px solid rgba(29, 42, 34, 0.07);
  box-shadow: 0 16px 40px rgba(29, 42, 34, 0.05);
}

.about-card--welcome { border-top: 3px solid var(--leaf); }
.about-card--story { border-top: 3px solid var(--terra); }
.about-card--start { border-top: 3px solid var(--honey); }

.about-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.about-card > p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.about-lede {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--ink);
}

.about-close {
  color: var(--ink);
}

.about-steps {
  list-style: none;
  margin: 1.45rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-steps li {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.1rem 1.05rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(29, 42, 34, 0.06);
}

.about-steps span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--terra);
  line-height: 1;
}

.about-steps h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.about-steps p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.about-tip {
  margin: 1.35rem 0 0;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: rgba(74, 154, 88, 0.1);
  color: var(--ink);
}

.about-tip a {
  color: var(--terra-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.direction {
  position: relative;
  z-index: 2;
  padding: 5.4rem 0 3.2rem;
  text-align: center;
  scroll-margin-top: 5.6rem;
}

.direction-inner {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.direction-title h2 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.direction-people {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem 3.6rem;
  margin: 2.6rem 0 2.2rem;
}

.person-card {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.person-card img {
  width: min(168px, 38vw);
  height: min(168px, 38vw);
  border-radius: 50%;
  object-fit: cover;
  background: #1a1a1a;
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(29, 42, 34, 0.12);
  transition: transform 0.22s var(--ease), filter 0.22s ease;
}

.person-card:hover img {
  transform: translateY(-3px) scale(1.035);
  filter: drop-shadow(0 18px 26px rgba(29, 42, 34, 0.18));
}

.person-card--kalyss img { object-position: 50% 12%; }
.person-card--oziria img { object-position: 50% 18%; }

.person-card div { display: grid; gap: 0.18rem; }

.person-card span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}

.person-card strong {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.direction-text {
  max-width: 36rem;
  margin: 0 auto;
}

.direction-text p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.direction-text p:first-child {
  color: var(--ink);
  font-weight: 600;
}

.direction-text .btn { margin-top: 1.15rem; }

.cta { padding-bottom: 6.5rem; }

.cta-card {
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(237, 194, 74, 0.32), transparent 42%),
    linear-gradient(160deg, #16382c, #1f5c46 55%, #2a7a58);
  color: #fff8ee;
  box-shadow: var(--shadow);
}

.cta-card .kicker { color: rgba(255, 232, 160, 0.86); }
.cta-card p:not(.kicker) {
  margin: 0.7rem 0 0;
  max-width: 32rem;
  color: rgba(255, 244, 230, 0.82);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #f7f4ee;
}

.footer-inner {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.4rem 0 1.8rem;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  text-align: center;
}

.footer-brand {
  display: grid;
  gap: 0.12rem;
}

.footer-brand strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}

.footer-main-nav,
.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.7rem;
}

.footer-main-nav a,
.footer-legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: #ece8e0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-main-nav a:hover,
.footer-legal-nav a:hover { background: #e3ddd3; }

.footer-legal-nav a:last-child {
  background: var(--terra);
  color: #fff;
}

.footer-legal-nav a:last-child:hover { background: var(--terra-deep); }

.footer-copy {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #6b7d74;
  letter-spacing: 0.01em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.8rem;
  color: #6b7d74;
}

.footer-legal a:hover { color: var(--ink); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--ink); }

.support-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--terra);
  color: #fff9f1;
  box-shadow: 0 12px 28px rgba(31, 109, 84, 0.34);
  animation: fab-pulse 3.2s ease-in-out infinite;
}

.support-fab svg {
  width: 24px;
  height: 24px;
    display: block;
}

.support-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

body.page-support .support-fab { display: none; }

/* ——— Inner pages ——— */
.page-hero {
  position: relative;
  min-height: 42svh;
  display: grid;
  align-items: end;
    overflow: hidden;
  color: #fff8ee;
  padding: 8.5rem 0 3.5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 14, 6, 0.4) 0%, rgba(22, 10, 4, 0.68) 100%),
    url("/images/hero-entree.png?v=yaya32") center 46% / cover no-repeat;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.page-hero .lede { color: rgba(255, 244, 230, 0.84); }
.page-hero-actions { margin-top: 1.2rem; }

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.8fr);
  gap: 1.2rem;
  align-items: start;
}

.support-card,
.support-side-card,
.support-topic,
.support-faq details,
.social-card,
.job-card,
.process-step,
.apply-form,
.faq-item {
  padding: 1.4rem 1.45rem;
  border-radius: 22px;
  background: rgba(247, 252, 248, 0.82);
  border: 1px solid rgba(29, 42, 34, 0.07);
  box-shadow: 0 14px 36px rgba(29, 42, 34, 0.05);
}

.support-card h2,
.support-side-card h3,
.job-card h2 { margin: 0 0 0.55rem; }

.support-card > p,
.support-topic p,
.job-lead,
.job-card li { color: var(--ink-soft); }

.support-steps,
.support-checklist {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.4rem;
}

.support-aside { display: grid; gap: 1rem; }

.support-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.support-faq {
  width: min(840px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.support-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.support-faq summary::-webkit-details-marker { display: none; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.25s var(--ease);
}

.social-card:hover { transform: translateY(-3px); }

.social-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
    flex-shrink: 0;
}

.social-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-card__body { display: grid; gap: 0.1rem; }
.social-card__body span { color: var(--ink-soft); font-weight: 600; }
.social-card__body em { font-style: normal; font-size: 0.85rem; color: var(--terra-deep); font-weight: 650; }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.job-card { display: flex; flex-direction: column; gap: 0.7rem; }
.job-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.job-missions { margin: 0.2rem 0 0; font-weight: 700; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-step > span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.privacy-section { max-width: 720px; padding-bottom: 5rem; }
.privacy-updated { color: var(--ink-soft); font-size: 0.9rem; }
.privacy-block {
  margin: 0 0 2rem;
  padding: 0 0 1.8rem;
  border-bottom: 1px solid var(--line);
}
.privacy-block:last-child { border: 0; }
.privacy-block header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.privacy-block header span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--terra-deep);
}
.privacy-block h2 { margin: 0; font-size: 1.35rem; }
.privacy-block h3 { margin: 1.1rem 0 0.4rem; font-size: 0.95rem; }
.privacy-block p,
.privacy-block li { color: var(--ink-soft); line-height: 1.65; }
.privacy-block ul { padding-left: 1.15rem; }

.apply-form {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.apply-form label { display: grid; gap: 0.35rem; font-weight: 650; }
.apply-form input,
.apply-form textarea,
.apply-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.auth-modal[hidden] { display: none !important; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 10, 4, 0.45);
  backdrop-filter: blur(6px);
}
.auth-modal__card {
  position: relative;
  width: min(420px, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn-cancel {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
}

.btn-discord-apply {
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--terra);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.support-links { display: grid; gap: 0.4rem; }
.support-links a { color: var(--terra-deep); font-weight: 650; }
.support-tip { color: var(--ink-soft); }

/* ——— Motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes shimmer {
  to { background-position: 220% center; }
}

@keyframes float-card {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes vie-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translate3d(1%, -0.6%, 0); }
}

@keyframes light-drift {
  from { transform: translate3d(0, 0, 0); opacity: 0.7; }
  to { transform: translate3d(-4%, 3%, 0); opacity: 1; }
}

@keyframes leaf-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0); opacity: 0; }
  12% { opacity: 0.32; }
  100% { transform: translate3d(40px, 110vh, 0) rotate(160deg); opacity: 0; }
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(10px); opacity: 1; }
}

@keyframes hero-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-0.8%, 0.6%, 0); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 14px 32px rgba(88, 101, 242, 0.28), 0 0 0 0 rgba(88, 101, 242, 0); }
  50% { box-shadow: 0 16px 36px rgba(88, 101, 242, 0.42), 0 0 24px 2px rgba(88, 101, 242, 0.22); }
}

@keyframes strip-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.6%, 1.2%, 0); }
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(31, 109, 84, 0.3); }
  50% { box-shadow: 0 14px 34px rgba(31, 109, 84, 0.46), 0 0 0 8px rgba(47, 143, 110, 0.12); }
}

@keyframes loader-out {
  0% { opacity: 1; }
  80% { opacity: 1; transform: translateY(0); }
  99% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 0; transform: translateY(100%); visibility: hidden; }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes wave-drift {
  from { transform: translate3d(-2.4%, 0, 0); }
  to { transform: translate3d(2.4%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .hero-gif,
  .hero-sparkle,
  .hero-light,
  .hero-leaves i,
  .autumn-deco i,
  .hero-rise,
  .hero .btn-discord,
  .support-fab,
  .scroll-hint span,
  .float,
  .float-delay,
  .shimmer,
  .reveal,
  .page-loader,
  .page-loader::after,
  .hero-wave--back,
  .hero-wave--mid,
  .hero-wave--front { animation: none !important; }
  .page-loader { display: none; }
  .hero-banner,
  .hero-gif { transform: scale(1.03); filter: saturate(1.08) contrast(1.06) brightness(1.04); }
  .reveal { opacity: 1; transform: none; }
  .shimmer { color: #fff3de; background: none; }
}

@media (max-width: 1080px) {
  .hero-collage { display: none; }
}

@media (max-width: 1100px) {
  .brand-text { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; margin-left: auto; }

  .nav-backdrop {
    display: block;
    position: fixed;
  inset: 0;
    z-index: 35;
    background: rgba(12, 32, 30, 0.36);
    opacity: 0;
    pointer-events: none;
  }

  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .nav {
  display: none;
    position: fixed;
    top: 72px;
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 41;
  }

  .nav.is-open { display: flex; }
  .nav-links,
  .nav-pills {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-left: 0;
  }
  .nav-text,
  .nav-pill { width: 100%; justify-content: center; padding: 0.85rem 0.95rem; }
  .nav-item--drop { width: 100%; }
  .nav-drop {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 0;
    background: rgba(47, 143, 110, 0.08);
  }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .access-grid,
  .jobs-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-duo,
  .about-steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 0.7rem 1rem; }

  .hero { padding: 7.2rem 1.1rem 6.4rem; }
  .hero h1 {
    flex-direction: column;
    align-items: center;
    line-height: 1.04;
    font-size: clamp(3.2rem, 12vw, 4.4rem);
  }
  .hero-sub { font-size: clamp(1.02rem, 4.2vw, 1.22rem); }
  .ornament-leaf { left: 4%; top: 18%; width: 26px; height: 26px; }
  .ornament-sun { right: 5%; top: 16%; width: 30px; height: 30px; }
  .hero-waves { height: 86px; }
  .scroll-hint { bottom: 4.2rem; }
  .direction-people { gap: 1.8rem 2.2rem; }
  .access-grid,
  .jobs-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 0; flex-direction: row; align-items: center; gap: 1rem; }
  .access-ico { margin-bottom: 0; }
  .support-layout { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding-top: 5rem; }
}
