/* Aurora — night sky + borealis gallery | prefix: au- */
:root {
  --au-bg: #02040c;
  --au-ink: #f4f7ff;
  --au-muted: rgba(244, 247, 255, 0.62);
  --au-teal: #5ef0d0;
  --au-green: #6dff9a;
  --au-purple: #b07cff;
  --au-blue: #4aa8ff;
  --au-font-script: "Great Vibes", cursive;
  --au-font-display: "Cormorant Garamond", Georgia, serif;
  --au-font-body: "Outfit", sans-serif;
  --au-max: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.au-body {
  margin: 0;
  min-height: 100vh;
  color: var(--au-ink);
  font-family: var(--au-font-body);
  background: var(--au-bg);
  overflow-x: hidden;
}

.au-body a { color: inherit; text-decoration: none; }
.au-body img { max-width: 100%; display: block; }
.au-main {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--au-max));
  margin: 0 auto;
  padding-bottom: 2rem;
}
.au-preview {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: .4rem;
  background: linear-gradient(90deg, var(--au-teal), var(--au-purple));
  color: #041018;
  font-weight: 700;
  font-size: .8rem;
}
.au-preview a { text-decoration: underline; }
.au-muted { color: var(--au-muted); text-align: center; }
.au-kicker {
  margin: 0 0 .4rem;
  font-size: .72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--au-teal);
}

/* Sky — fond aurore réel (visuel maquette) + voile lisibilité */
.au-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #02040c;
}
.au-sky__photo {
  position: absolute;
  inset: -4% -2%;
  width: 104%;
  height: 108%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.15) contrast(1.05) brightness(1.05);
  animation: au-ken 28s ease-in-out infinite alternate;
}
.au-sky__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 12, 0.18) 0%, rgba(2, 4, 12, 0.35) 42%, rgba(2, 4, 12, 0.72) 78%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(900px 420px at 50% 20%, transparent 20%, rgba(2, 4, 12, 0.35) 100%);
}
.au-sky__stars {
  position: absolute;
  inset: 0;
  opacity: .55;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 22% 28%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 40% 18%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 58% 32%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 72% 14%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 88% 26%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 35% 70%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 65% 62%, rgba(255,255,255,.65), transparent),
    radial-gradient(1.5px 1.5px at 82% 78%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 48% 88%, rgba(255,255,255,.45), transparent);
  animation: au-twinkle 8s ease-in-out infinite alternate;
}
.au-sky__aurora {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 38%;
  filter: blur(22px);
  opacity: .45;
  mix-blend-mode: screen;
}
.au-sky__aurora--top {
  top: -6%;
  background:
    linear-gradient(105deg,
      transparent 8%,
      rgba(110, 255, 170, 0.35) 22%,
      rgba(90, 220, 200, 0.28) 38%,
      rgba(160, 90, 255, 0.35) 55%,
      rgba(70, 140, 255, 0.25) 70%,
      transparent 88%);
  transform: skewY(-3deg);
  animation: au-drift 14s ease-in-out infinite alternate;
}
.au-sky__aurora--bottom {
  bottom: -10%;
  height: 34%;
  background:
    linear-gradient(75deg,
      transparent 5%,
      rgba(80, 60, 220, 0.32) 25%,
      rgba(60, 220, 180, 0.28) 48%,
      rgba(140, 80, 255, 0.28) 68%,
      transparent 90%);
  transform: skewY(2deg);
  animation: au-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes au-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -1%, 0); }
}

@keyframes au-twinkle {
  from { opacity: .55; }
  to { opacity: .95; }
}
@keyframes au-drift {
  from { transform: skewY(-4deg) translateX(-2%); }
  to { transform: skewY(-2deg) translateX(3%); }
}

/* Header */
.au-top {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--au-max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding: 1.1rem 0 .5rem;
}
.au-logo {
  font-family: var(--au-font-script);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--au-teal);
  text-shadow:
    0 0 12px rgba(94, 240, 208, 0.75),
    0 0 28px rgba(110, 255, 170, 0.35);
}
.au-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.15rem;
  margin-left: auto;
}
.au-nav a {
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 255, 0.78);
}
.au-nav a:hover,
.au-nav a.is-active {
  color: #fff;
  text-shadow: 0 0 10px rgba(94, 240, 208, 0.45);
}
.au-top__tools {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.au-search input {
  width: 72px;
  border: 1px solid rgba(94, 240, 208, 0.35);
  border-radius: 999px;
  background: rgba(2, 4, 12, 0.45);
  color: var(--au-ink);
  padding: .3rem .55rem;
  font: inherit;
  font-size: .8rem;
  outline: none;
}
.au-search input:focus {
  border-color: var(--au-teal);
  box-shadow: 0 0 12px rgba(94, 240, 208, 0.25);
}

.au-top .member-nav { display: flex; align-items: center; gap: .3rem; }
.au-top .member-nav-sep {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, var(--au-teal), var(--au-purple));
  box-shadow: 0 0 8px rgba(94, 240, 208, 0.6);
}
.au-top .member-nav-link {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 240, 208, 0.4);
  background: rgba(2, 4, 12, 0.4);
  color: var(--au-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.au-top .member-nav-link--up,
.au-top .member-nav-link--account {
  background: linear-gradient(135deg, rgba(94, 240, 208, 0.35), rgba(176, 124, 255, 0.35));
  border-color: rgba(255, 255, 255, 0.35);
}
.au-top .member-nav-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(94, 240, 208, 0.45);
}

/* Hero */
.au-hero {
  min-height: clamp(52vh, 62vh, 70vh);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 0 3rem;
}
.au-hero__title {
  margin: 0;
  font-family: var(--au-font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.55), 0 0 40px rgba(110, 255, 170, 0.2);
}
.au-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: .65rem 1.6rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(10, 16, 32, 0.35);
  border: 1px solid rgba(180, 220, 255, 0.55);
  box-shadow:
    0 0 16px rgba(94, 240, 208, 0.25),
    inset 0 0 18px rgba(176, 124, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s ease, transform .2s ease;
}
.au-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(94, 240, 208, 0.45);
}

/* Gallery */
.au-galerie { padding: 1rem 0 2.5rem; }
.au-galerie__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin: 0 0 1.35rem;
  font-family: var(--au-font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
}
.au-galerie__title em { font-style: italic; }
.au-rule {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 255, 0.55), transparent);
  position: relative;
}
.au-rule::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: .45rem;
  color: rgba(244, 247, 255, 0.7);
}

.au-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.au-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1020;
}
.au-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .4s ease;
  filter: saturate(1.05) contrast(1.05);
}
.au-frame:hover img { transform: scale(1.05); }
.au-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem .7rem .55rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: linear-gradient(transparent, rgba(2, 4, 12, 0.88));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.au-frame:hover .au-frame__cap,
.au-frame:focus-visible .au-frame__cap {
  opacity: 1;
  transform: none;
}
.au-ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(94, 240, 208, 0.25), rgba(176, 124, 255, 0.3)),
    #0a1020;
}

/* Quote */
.au-quote {
  text-align: center;
  padding: 3rem 1rem 3.5rem;
}
.au-quote blockquote {
  margin: 0;
}
.au-quote p {
  margin: 0;
  font-family: var(--au-font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.35;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}
.au-quote__line {
  display: block;
  width: 64px;
  height: 1px;
  margin: 1.1rem auto 0;
  background: rgba(244, 247, 255, 0.55);
}

/* Article vitrine */
.au-vitrine { display: grid; gap: 1.25rem; margin-top: .75rem; }
.au-vitrine__glow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(8, 12, 28, 0.45);
  border: 1px solid rgba(94, 240, 208, 0.28);
  box-shadow: 0 0 40px rgba(110, 255, 170, 0.12), 0 0 60px rgba(176, 124, 255, 0.1);
  backdrop-filter: blur(10px);
}
.au-vitrine__art {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(180, 220, 255, 0.25);
}
.au-vitrine__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.au-vitrine__title {
  margin: 0 0 .55rem;
  font-family: var(--au-font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}
.au-vitrine__lede {
  margin: 0 0 1rem;
  color: var(--au-muted);
  font-family: var(--au-font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
}
.au-vitrine__props {
  margin: 0;
  display: grid;
  gap: .4rem;
}
.au-vitrine__props div {
  display: flex;
  gap: .75rem;
  border-bottom: 1px solid rgba(180, 220, 255, 0.15);
  padding-bottom: .3rem;
  font-size: .9rem;
}
.au-vitrine__props dt {
  min-width: 4.5rem;
  color: var(--au-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: .68rem;
}
.au-vitrine__props dd { margin: 0; }
.au-pill {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 240, 208, 0.45);
  font-size: .68rem;
  color: var(--au-teal);
}

.au-scroll {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 8, 18, 0.65);
  border: 1px solid rgba(176, 124, 255, 0.25);
  box-shadow: 0 0 30px rgba(176, 124, 255, 0.1);
}
.au-scroll__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1.1rem;
  font-size: .78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--au-teal);
  border-bottom: 1px solid rgba(94, 240, 208, 0.2);
  background: linear-gradient(90deg, rgba(94, 240, 208, 0.1), transparent 60%);
}
.au-prose {
  padding: 1.25rem 1.35rem 1.7rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.au-prose > *:first-child { margin-top: 0; }
.au-prose p { margin: 0 0 1rem; }
.au-prose h2, .au-prose h3 {
  font-family: var(--au-font-display);
  font-weight: 600;
  margin: 1.5rem 0 .65rem;
}
.au-prose a { color: var(--au-teal); text-decoration: underline; }
.au-prose img {
  margin: 1rem 0;
  border-radius: 12px;
  border: 1px solid rgba(94, 240, 208, 0.25);
}
.au-prose blockquote {
  margin: 1.2rem 0;
  padding: .9rem 1rem;
  border-left: 2px solid var(--au-purple);
  font-family: var(--au-font-display);
  font-style: italic;
  font-size: 1.2rem;
  background: rgba(176, 124, 255, 0.08);
}
.au-source { padding: 0 1.35rem 1.3rem; }
.au-source a { color: var(--au-teal); font-weight: 600; }

.au-more, .au-cat { margin-top: 2rem; padding-bottom: 1rem; }
.au-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-search-head { text-align: center; padding: 2rem 0 1rem; }
.au-quote-title {
  font-family: var(--au-font-display);
  font-size: 1.8rem;
  margin: 0;
}
.au-404 {
  text-align: center;
  padding: 4rem 1rem 5rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.au-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  margin-top: 1rem;
  background: #000;
  color: rgba(244, 247, 255, 0.7);
  font-size: .82rem;
}
.au-social {
  display: flex;
  gap: .55rem;
}
.au-social a {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-size: .75rem;
}
.au-social a:hover {
  border-color: var(--au-teal);
  color: var(--au-teal);
}

[data-au-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-au-reveal].is-in { opacity: 1; transform: none; }
[data-au-ken] {
  transform: scale(1.06);
  transition: transform 10s ease;
}
[data-au-ken].is-alive { transform: scale(1); }

@media (max-width: 800px) {
  .au-grid,
  .au-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-vitrine__glow { grid-template-columns: 1fr; }
  .au-nav { order: 3; width: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .au-grid { grid-template-columns: 1fr; }
  .au-logo { font-size: 1.8rem; }
  .au-top .member-nav-link { font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .au-sky__stars,
  .au-sky__aurora,
  .au-sky__photo,
  [data-au-reveal],
  [data-au-ken],
  .au-frame img { animation: none !important; transition: none !important; }
  .au-sky__photo { transform: none !important; }
  [data-au-reveal] { opacity: 1; transform: none; }
}
