/* ===== ÉLEVÉ HEALTHWATCH — GALLERY STYLES ===== */
:root {
  --ink: #0b1413;
  --ink2: #111e1c;
  --forest: #14352d;
  --mint: #cbe6d6;
  --cream: #f3f0e8;
  --white: #fff;
  --muted: #aeb9b5;
  --gold: #d8b46a;
  --line: rgba(255,255,255,.13);
  --max: 1280px;


  --eleve-primary: #0d735c;
  --eleve-secondary: #8bb23f;
  --eleve-primary-dark: #085544;
  --eleve-primary-light: #109177;
  --eleve-secondary-light: #a8cc5a;
  --eleve-secondary-dark: #6e8c2e;
  --eleve-cream: #f7f5ed;
  --eleve-dark: #092f27;
  

  --grad-dark: linear-gradient(160deg, #0b1413 0%, #0d735c 150%);
  --grad-dark-soft: linear-gradient(160deg, #111e1c 0%, #0d735c 150%);
  --grad-cream: linear-gradient(135deg, #f3f0e8 0%, #e8ede6 100%);
  --grad-light: linear-gradient(135deg, #fbfaf7 0%, #f0f2ed 100%);

  --motion-fast: 200ms;
  --motion-base: 460ms;
  --motion-slow: 820ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; }

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 78px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw;
  background: rgba(11,20,19,.92);
  backdrop-filter: blur(18px); color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.eleve-nav-scrolled {
  box-shadow: 0 10px 30px rgba(9,47,39,.2);
  background: rgba(8, 85, 68, 0.96) !important;
  backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%; display: grid; place-items: center;
  font-family: serif; font-size: 23px;
  transition: border-color .4s var(--ease), transform .4s var(--ease-bounce), color .4s ease;
}
.brand:hover .brand-mark {
  border-color: var(--eleve-secondary);
  color: var(--eleve-secondary);
  transform: rotate(-8deg) scale(1.08);
}
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { letter-spacing: .14em; font-size: 14px; }
.brand small { font-size: 8px; letter-spacing: .27em; margin-top: 5px; opacity: .7; }
.nav { display: flex; gap: 25px; align-items: center; font-size: 13px; }
.nav a {
  opacity: .78; position: relative; padding-bottom: 3px;
  transition: opacity .25s ease, color .25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--eleve-secondary);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { opacity: 1; color: var(--eleve-secondary-light); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { opacity: 1; color: var(--eleve-secondary-light); }
.nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  border: 1px solid rgba(255,255,255,.42);
  padding: 11px 16px; border-radius: 999px;
  transition: background .3s ease, border-color .3s ease, color .3s ease,
              transform .3s var(--ease-bounce), box-shadow .3s ease;
}
.nav-cta:hover {
  background: var(--eleve-secondary);
  border-color: var(--eleve-secondary);
  color: var(--eleve-dark) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(139,178,63,.4);
}
.nav-cta::after { display: none; }
.menu-toggle { display: none; }

/* ===== SCROLL REVEAL (repeats up & down) ===== */
.eleve-reveal {
  opacity: 0;
  transform: translate3d(0, 50px, 0) scale(.98);
  transition: opacity var(--motion-slow) var(--ease),
              transform var(--motion-slow) var(--ease-bounce);
  will-change: opacity, transform;
}
.eleve-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== GALLERY HERO ===== */
.gallery-hero {
  position: relative;
  min-height: 620px;
  padding: 200px max(5vw, calc((100vw - var(--max)) / 2)) 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(11,20,19,.72) 0%, rgba(13,115,92,.78) 100%),
    url('../img/pages/invest.jpg') center/cover no-repeat;
  background-attachment: fixed, scroll;
}

.gallery-heros{
    background: 
    url('../img/gallery/launch/18.jpg') center/cover no-repeat;
  background-attachment: fixed, scroll;
}



.gallery-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(139,178,63,.28), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(13,115,92,.4), transparent 30%);
  pointer-events: none;
}
.gallery-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px;
  /* background: linear-gradient(to top, var(--cream) 0%, transparent 100%); */
  pointer-events: none;
}
.gallery-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.gallery-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
  color: var(--eleve-secondary-light);
  margin-bottom: 26px;
  opacity: .95;
}
.gallery-hero h1 {
  font-size: clamp(52px, 7vw, 100px);
  line-height: .95;
  margin-bottom: 28px;
  letter-spacing: -.05em;
}
.gallery-hero h1 span { color: var(--mint); font-weight: 500; }
.gallery-hero p {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-indicator .dot {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
  position: relative;
}
.scroll-indicator .dot::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--eleve-secondary-light);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: .3; }
}

/* ===== HEADER DESCRIPTION SECTION ===== */
.gallery-intro {
  padding: 100px max(5vw, calc((100vw - var(--max)) / 2)) 30px;
  background: var(--grad-light);
}
.gallery-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase; letter-spacing: .18em; font-size: 20px;
  font-weight: 700; opacity: .62; margin-bottom: 30px;
  /* color: var(--eleve-primary); */
}


.gallery-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: start;
}
.gallery-intro-grid h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.gallery-intro-grid p {
  font-size: 17px;
  line-height: 1.7;
  color: #56615e;
  margin-bottom: 16px;
}
.gallery-intro-grid p:last-child { margin-bottom: 0; }
/* ===== FILTER BAR ===== */
.filter-section {
  padding: 30px max(5vw, calc((100vw - var(--max)) / 2)) 30px;
  background: var(--grad-light);
  position: relative;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 across on desktop */
  gap: 12px;
  padding: 22px;
  background: white;
  border: 1px solid #e2e0d8;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(9,47,39,.06);
  position: sticky;
  top: 100px;
  z-index: 20;
  transition: box-shadow .4s var(--ease);
}
.filter-bar.stuck {
  box-shadow: 0 14px 40px rgba(9,47,39,.14);
}

/* ===== FILTER BUTTON ===== */
.filter-btn {
  appearance: none;
  border: 1px solid #d9d8d2;
  background: #fbfaf7;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  line-height: 1.3;
  transition: transform .3s var(--ease-bounce),
              background .3s ease,
              color .3s ease,
              border-color .3s ease,
              box-shadow .3s ease;
}

/* Count chip */
.filter-btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 999px;
  background: rgba(13, 115, 92, .08);
  color: var(--eleve-primary);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}

/* Idle hover */
.filter-btn:hover {
  border-color: var(--eleve-primary);
  color: var(--eleve-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,115,92,.12);
}
.filter-btn:hover .count {
  background: rgba(13, 115, 92, .15);
  color: var(--eleve-primary-dark);
}

/* Active state */
.filter-btn.active {
  background: var(--eleve-primary);
  border-color: var(--eleve-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(13,115,92,.35);
}
.filter-btn.active .count {
  background: var(--eleve-secondary);
  color: var(--eleve-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .filter-bar {
    grid-template-columns: repeat(2, 1fr);   /* 2 across on tablet */
    position: relative;
    top: 0;
    gap: 10px;
    padding: 16px;
  }
  .filter-btn {
    padding: 12px 18px;
    font-size: 12.5px;
  }
}

@media (max-width: 560px) {
  .filter-bar {
    grid-template-columns: 1fr;              /* 1 across on phones */
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
  }
  .filter-btn {
    padding: 12px 16px;
    font-size: 12px;
  }
  .filter-btn .count {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }
}

/* ===== GALLERY GRID ===== */
.gallery-section {
  padding: 30px max(5vw, calc((100vw - var(--max)) / 2)) 120px;
  background: var(--grad-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1413;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(9,47,39,.08);
  border: none;
  padding: 0;
}

/* The reveal system handles entrance; add a per-item stagger via data attribute */
.gallery-item.eleve-reveal {
  transition: opacity var(--motion-slow) var(--ease),
              transform var(--motion-slow) var(--ease-bounce),
              box-shadow .45s var(--ease);
}

/* ===== THE JIGGLE ===== */
.gallery-item:hover,
.gallery-item:focus-visible,
.gallery-item.is-selected {
  animation: jiggle .7s var(--ease-bounce);
  box-shadow: 0 18px 40px rgba(13,115,92,.22);
  outline: none;
}
.gallery-item.is-selected {
  box-shadow: 0 0 0 3px var(--eleve-secondary),
              0 18px 40px rgba(13,115,92,.24);
}

@keyframes jiggle {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  15%  { transform: translate3d(-2px, -2px, 0) rotate(-2deg) scale(1.03); }
  30%  { transform: translate3d(2px, -2px, 0) rotate(2deg) scale(1.04); }
  45%  { transform: translate3d(-2px, 1px, 0) rotate(-1.6deg) scale(1.035); }
  60%  { transform: translate3d(2px, 1px, 0) rotate(1.6deg) scale(1.03); }
  75%  { transform: translate3d(-1px, 0, 0) rotate(-0.8deg) scale(1.02); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.02); }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease), filter .6s ease;
  will-change: transform;
}
.gallery-item:hover img,
.gallery-item:focus-visible img,
.gallery-item.is-selected img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.04);
}

/* Hidden state (filtered out) — collapses so grid reflows from top */
.gallery-item.hide {
  display: none;
}

/* ===== EMPTY STATE ===== */
.gallery-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: #56615e;
}
.gallery-empty.show { display: block; }
.gallery-empty h3 {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  padding: 100px max(5vw, calc((100vw - var(--max)) / 2));
  background: var(--grad-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(139,178,63,.2), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(13,115,92,.35), transparent 55%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 24px;
}
.cta-strip h2 span { color: var(--eleve-secondary-light); }
.cta-strip p {
  max-width: 620px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.65;
}
.cta-strip-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
  position: relative; overflow: hidden;
  transition: transform var(--motion-fast) var(--ease-bounce),
              box-shadow var(--motion-fast) ease,
              background-color var(--motion-fast) ease,
              color var(--motion-fast) ease,
              border-color var(--motion-fast) ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(13,115,92,.4);
}
.btn-primary { background: var(--eleve-primary); color: white; }
.btn-primary:hover { background: var(--eleve-primary-light); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: white;
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--eleve-secondary);
  color: var(--eleve-secondary-light);
  background: rgba(139,178,63,.1);
}

/* ===== FOOTER ===== */
footer {
  background: #07100f; color: #9faaa6;
  padding: 65px max(5vw, calc((100vw - var(--max)) / 2));
  display: grid; grid-template-columns: 1fr auto; gap: 22px;
  align-items: end; border-top: 1px solid var(--line);
  position: relative;
}
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--eleve-primary), var(--eleve-secondary), var(--eleve-primary));
  background-size: 200% 100%;
  animation: footerGlow 4s linear infinite;
}
@keyframes footerGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.footer-brand { color: white; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a {
  color: white; position: relative; padding-bottom: 2px;
  transition: color .3s ease, transform .3s var(--ease-bounce);
  display: inline-block;
}
.footer-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--eleve-secondary);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-links a:hover { color: var(--eleve-secondary-light); transform: translateY(-2px); }
footer > small {
  grid-column: 1/-1; border-top: 1px solid var(--line);
  padding-top: 24px; margin-top: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--ink); padding: 24px 5vw; flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .menu-toggle {
    display: block; background: none; border: 1px solid rgba(255,255,255,.25);
    color: white; border-radius: 999px; padding: 8px 14px;
    transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-bounce);
  }
  .menu-toggle:hover {
    background: var(--eleve-primary); border-color: var(--eleve-primary);
    transform: scale(1.05);
  }
  .gallery-hero { min-height: 520px; padding-top: 160px; }
  .gallery-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .filter-bar { position: relative; top: 0; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gallery-hero { padding: 150px 6vw 100px; background-attachment: scroll, scroll; }
  .gallery-intro { padding: 78px 6vw 20px; }
  .gallery-section { padding: 30px 6vw 90px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .filter-section { padding: 20px 6vw; }
  .filter-bar { padding: 16px; border-radius: 16px; gap: 8px; }
  .filter-btn { padding: 10px 16px; font-size: 12px; }
  .cta-strip { padding: 78px 6vw; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .eleve-reveal { opacity: 1 !important; transform: none !important; }
  .gallery-item:hover,
  .gallery-item:focus-visible,
  .gallery-item.is-selected {
    animation: none;
    transform: translateY(-4px);
  }
}




#section-labelz{
  color: #000;
}
