/* ============================================================
   FOUNDERS SOCIETY — Stylesheet v2
   ============================================================ */

@font-face {
  font-family: 'Chandrea';
  src: url('../fonts/ChandreaSerif-Regular.woff2') format('woff2'),
       url('../fonts/ChandreaSerif-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --black:   #060504;
  --dark:    #0c0a09;
  --dark-2:  #131110;
  --red:     #5b100b;
  --red-2:   #b02a22;
  --red-3:   #d44035;
  --white:   #f4f1ed;
  --grey:    #7a7470;
  --grey-2:  #2e2b28;
  --grey-3:  #1a1815;

  --serif: 'Chandrea', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── ANIMATIONS ── */
@keyframes shimmer-sweep {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,16,11,0); }
  50%       { box-shadow: 0 0 30px 4px rgba(91,16,11,.5); }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--red-2); }
p { color: rgba(244,241,237,.6); font-size: .95rem; line-height: 1.75; }

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); }

/* Shimmer text */
.shimmer-text {
  background: linear-gradient(
    105deg,
    var(--white) 25%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.85) 50%,
    rgba(255,255,255,.35) 55%,
    var(--white) 75%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-sweep 6s linear infinite;
}

/* ── BADGE / PILL ── */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-2);
  border: 1px solid rgba(176,42,34,.35);
  background: rgba(91,16,11,.15);
  padding: .45rem 1rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.badge--sm { font-size: .65rem; padding: .35rem .9rem; margin-bottom: 1.5rem; }
.badge--xs { font-size: .6rem; padding: .25rem .7rem; margin-bottom: .6rem; }
.badge--public { color: var(--red-2); border-color: rgba(176,42,34,.3); background: rgba(91,16,11,.12); }
.badge--private { color: rgba(244,241,237,.5); border-color: rgba(244,241,237,.15); background: rgba(244,241,237,.05); }
.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: .85rem 2rem;
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(91,16,11,.5); }
.btn--compact { padding: .6rem 1.1rem; font-size: .72rem; letter-spacing: .08em; display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; gap: .5rem; }
.btn--compact span { transition: transform .3s var(--ease); display: inline-block; }
.btn--compact:hover span { transform: translateX(4px); }
.btn--outline {
  border: 1px solid rgba(244,241,237,.2);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover { border-color: var(--red-2); color: var(--red-2); }
.btn--ghost {
  background: rgba(244,241,237,.07);
  color: var(--white);
  border: 1px solid rgba(244,241,237,.1);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(244,241,237,.13); }
.btn--lg { padding: 1.05rem 2.5rem; font-size: .75rem; }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,5,4,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2.5rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav__logo { flex-shrink: 0; display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav__logo img { height: 56px; width: auto; }
.nav__logo-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--white);
}
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(244,241,237,.55);
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta { margin-left: 1rem; }
.nav__burger { display: none; }


/* ============================================================
   HERO — split layout
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  /* photo flush to top, nav floats over */
}

/* LEFT */
.hero__left {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 5rem) 5rem 5rem 6rem;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

/* Grid bg sur la gauche */
.hero__left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(176,42,34,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,42,34,.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 100% 100% at 30% 60%, black 20%, transparent 80%);
  pointer-events: none;
}

/* Glow chaud */
.hero__left::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 15% 65%, rgba(91,16,11,.35) 0%, transparent 65%);
  pointer-events: none;
}

.hero__left-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  gap: 2rem;
}
.hero__title {
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 1.04;
  color: var(--white);
}
.hero__sub {
  font-size: 1rem;
  color: rgba(244,241,237,.5);
  line-height: 1.8;
  max-width: 380px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__note {
  font-size: .62rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,241,237,.22) !important;
  margin-top: -.5rem;
}

/* RIGHT — photo pleine hauteur flush */
.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Fondus photo */
.hero__right::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(6,5,4,.6) 0%, transparent 35%),
    linear-gradient(to top, rgba(6,5,4,.5) 0%, transparent 20%);
  pointer-events: none;
}

.hero__right-tag {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem;
  z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white);
  background: rgba(6,5,4,.55);
  border: 1px solid rgba(255,255,255,.14);
  padding: .5rem 1rem;
  border-radius: 100px;
  backdrop-filter: blur(12px);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__left { padding: calc(var(--nav-h) + 3rem) 2.5rem 3rem; }
  .hero__right { height: 60vw; min-height: 300px; }
}


/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
  padding: .9rem 0;
  background: var(--dark);
}
.ticker__track {
  display: flex; gap: 2.5rem; align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,241,237,.35);
}
.ticker__dot { color: var(--red-2); font-size: .5rem; }


/* ============================================================
   CONCEPT
   ============================================================ */
.concept {
  position: relative;
  padding: 9rem 0;
  overflow: hidden;
}
.concept__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(91,16,11,.18) 0%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}
.concept__header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.concept__title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}
.concept__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-2);
  border: 1px solid var(--grey-2);
  border-radius: 16px;
  overflow: hidden;
}

/* Glass cards */
.glass-card {
  background: var(--dark);
  padding: 2.5rem;
  transition: background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(176,42,34,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.glass-card:hover { background: rgba(15,11,10,1); }
.glass-card:hover::before { opacity: 1; }
.glass-card__icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(176,42,34,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-2);
  margin-bottom: 1.75rem;
  background: rgba(91,16,11,.1);
  transition: border-color .3s, background .3s;
}
.glass-card:hover .glass-card__icon {
  border-color: rgba(176,42,34,.6);
  background: rgba(91,16,11,.2);
}
.glass-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .85rem;
}
.glass-card p { font-size: .88rem; }


/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  position: relative;
  padding: 10rem 2.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.manifesto__glow {
  position: absolute; bottom: -10%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(91,16,11,.3) 0%, transparent 70%);
  pointer-events: none; filter: blur(60px);
}
.manifesto__inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.manifesto__eyebrow {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-2) !important;
}
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.12;
}
.manifesto__body {
  max-width: 500px;
  font-size: .95rem !important;
}


/* ============================================================
   EXPERIENCE
   ============================================================ */
.experience { padding: 8rem 0; background: var(--black); }
.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.experience__visual { position: relative; }
.experience__img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--grey-2);
}
.experience__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.experience__img-wrap:hover img { transform: scale(1.04); }
.experience__img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,5,4,.7) 0%, transparent 50%);
}
.experience__float-card {
  position: absolute;
  bottom: -1rem; right: -1.5rem;
  background: rgba(12,10,9,.9);
  border: 1px solid rgba(176,42,34,.3);
  border-radius: 10px;
  padding: .75rem 1.25rem;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--white);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: .6rem;
  animation: float-card 4s ease-in-out infinite;
}
.experience__float-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-2);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.experience__content { display: flex; flex-direction: column; gap: 1.2rem; }
.experience__content .section-title { margin-bottom: .5rem; }
.experience__list {
  display: flex; flex-direction: column; gap: .6rem;
  margin: .5rem 0 1rem;
}
.experience__list li {
  font-size: .88rem;
  color: rgba(244,241,237,.6);
  display: flex; align-items: center; gap: .65rem;
}
.check {
  color: var(--red-2);
  font-size: .8rem;
  flex-shrink: 0;
}


/* ============================================================
   EVENTS PREVIEW
   ============================================================ */
.events-preview { padding: 8rem 0; background: var(--dark); }
.events-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}
.events-list { display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--grey-2);
  cursor: pointer;
  position: relative;
  transition: padding-left .3s var(--ease);
}
.event-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(to right, rgba(91,16,11,.12), transparent);
  transition: width .4s var(--ease);
  border-radius: 0 8px 8px 0;
}
.event-row:hover::before { width: 100%; }
.event-row:first-child { border-top: 1px solid var(--grey-2); }
.event-row__date { display: flex; flex-direction: column; }
.event-row__day {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--red-2);
}
.event-row__month {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: .15rem;
}
.event-row__info { display: flex; flex-direction: column; }
.event-row__info h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .25rem;
}
.event-row__info p { font-size: .8rem; }
.event-row__arrow {
  color: var(--red-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s var(--ease);
  font-size: 1.1rem;
}
.event-row:hover .event-row__arrow { opacity: 1; transform: translateX(0); }


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 12rem 2.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}
.cta-section__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(176,42,34,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,42,34,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.cta-section__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(91,16,11,.5) 0%, transparent 70%);
  filter: blur(20px);
}
.cta-section__inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.cta-section__logo { height: 42px; opacity: .5; }
.cta-section__title {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.1;
}
.cta-section__sub { color: rgba(244,241,237,.5) !important; max-width: 360px; }
.cta-section__note {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,241,237,.25);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--grey-2);
  padding: 2rem 2.5rem;
}
.footer__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.footer__logo {
  display: flex; align-items: center; gap: .6rem;
}
.footer__logo img { height: 22px; opacity: .4; transition: opacity .25s; }
.footer__logo span { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(244,241,237,.3); }
.footer__logo:hover img { opacity: .7; }
.footer__nav { display: flex; gap: 1.8rem; margin-left: auto; }
.footer__nav a {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244,241,237,.35); transition: color .2s;
}
.footer__nav a:hover { color: var(--white); }
.footer__copy { font-size: .65rem; color: rgba(244,241,237,.2); letter-spacing: .06em; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto; background: none; border: none;
    cursor: pointer; padding: .5rem;
  }
  .nav__burger span { display: block; width: 22px; height: 1px; background: var(--white); }

  .hero__img-wrap { width: 90vw; }
  .hero__img { height: 300px; }

  .concept__grid { grid-template-columns: 1fr; }
  .glass-card { border-bottom: 1px solid var(--grey-2); }

  .experience__grid { grid-template-columns: 1fr; gap: 3rem; }
  .experience__img-wrap { aspect-ratio: 16/9; }
  .experience__float-card { bottom: 1rem; right: 1rem; }

  .event-row { grid-template-columns: 65px 1fr; gap: 1.5rem; }
  .event-row__arrow { display: none; }

  .events-preview__header { flex-direction: column; align-items: flex-start; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { margin-left: 0; }
}

/* ── Sub-pages additions ── */
.page-hero { padding: calc(var(--nav-h) + 6rem) 0 4rem; position: relative; }
.page-hero .badge { margin-bottom: 1.5rem; }
.page-hero__title { font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--white); margin-bottom: 1.25rem; }
.page-hero__sub { max-width: 540px; font-size: 1.05rem; }

.apply { padding: 2rem 0 6rem; }
.apply__container { max-width: 720px; }
.apply__form { display: flex; flex-direction: column; gap: 1.25rem; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 2.5rem; backdrop-filter: blur(12px); }
.apply__form label { display: flex; flex-direction: column; gap: .5rem; font-size: .8rem; color: rgba(244,241,237,.7); letter-spacing: .04em; text-transform: uppercase; }
.apply__form input, .apply__form textarea { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); color: var(--white); padding: .9rem 1rem; border-radius: 10px; font-family: var(--sans); font-size: .95rem; transition: border-color .2s var(--ease); }
.apply__form input:focus, .apply__form textarea:focus { outline: none; border-color: var(--red-2); }
.apply__form textarea { resize: vertical; min-height: 120px; }
.apply__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.apply__form .btn { align-self: flex-start; margin-top: .5rem; }
.apply__note { font-size: .75rem; color: rgba(244,241,237,.4); text-align: center; margin-top: .5rem; }
@media (max-width: 640px) { .apply__row { grid-template-columns: 1fr; } .apply__form { padding: 1.5rem; } }
