:root {
  --bg: #030806;
  --panel: #08110e;
  --panel-2: #0b1512;
  --text: #f7f8f7;
  --muted: #b6bcb8;
  --green: #1f9d3a;
  --green-dark: #126f28;
  --redline: #f03535;
  --border: rgba(255,255,255,.14);
  --shadow: 0 22px 55px rgba(0,0,0,.42);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 20%, rgba(31,157,58,.07), transparent 27rem),
    linear-gradient(180deg, #020504, #07100d 48%, #030806);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2,5,4,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 300px;
  text-decoration: none;
}
.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.brand-title {
  display: block;
  font-weight: 950;
  font-size: clamp(1.15rem, 2vw, 1.72rem);
  letter-spacing: .025em;
  line-height: 1.05;
}
.brand-subtitle {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  flex-wrap: wrap;
}
.nav-links > a {
  position: relative;
  padding: 14px 0;
  color: #e8ece9;
  font-weight: 760;
  text-decoration: none;
}
.nav-links > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width .2s ease;
}
.nav-links > a:hover::after,
.nav-links > a:focus-visible::after { width: 100%; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31,157,58,.17);
  transition: transform .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,.75);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,8,6,.99) 0%, rgba(3,8,6,.9) 40%, rgba(3,8,6,.35) 100%),
    radial-gradient(circle at 16% 30%, rgba(31,157,58,.08), transparent 25rem);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 920;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.25rem, 7vw, 6.45rem);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 950;
}
.hero-copy {
  margin: 26px 0 0;
  max-width: 680px;
  color: #c5cac7;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.inclusion-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 35px;
}
.inclusion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 13px;
  color: #e2e6e3;
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 760;
}
.inclusion:last-child { border-right: 0; }
.inclusion-icon { color: var(--green); font-size: 1.35rem; }

.collage {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  grid-template-rows: 1fr 1.05fr;
  gap: 10px;
}
.collage figure {
  position: relative;
  min-height: 255px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.collage figure:hover img { transform: scale(1.035); }

.features { padding: 62px 0; border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  min-height: 235px;
  padding: 28px 30px;
  border-right: 1px solid var(--border);
}
.feature:last-child { border-right: 0; }
.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 13px;
  color: var(--green);
  font-size: 1.75rem;
}
.feature h2 { margin: 20px 0 10px; font-size: 1.32rem; }
.feature p { margin: 0; color: var(--muted); }
.feature a {
  display: inline-block;
  margin-top: 22px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.belong { padding: 58px 0 40px; }
.belong-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr .65fr;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(13,24,20,.98), rgba(2,7,5,.98));
  box-shadow: var(--shadow);
}
.belong-photo { width: 100%; height: 100%; object-fit: cover; }
.belong-copy { padding: 50px 42px; align-self: center; }
.belong-copy h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.belong-copy p { color: var(--muted); }
.belong-copy strong { display: block; margin-top: 18px; color: var(--green); font-size: 1.35rem; }
.belong-logo {
  width: 100%;
  max-width: 240px;
  padding: 30px;
  align-self: center;
  justify-self: center;
  opacity: .45;
}

.contact-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .75fr 1.25fr;
  align-items: center;
}
.contact-item {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
}
.contact-item:first-child { padding-left: 0; }
.contact-item:last-child { border-right: 0; }
.contact-item strong, .contact-item a { color: var(--green); }

.site-footer { padding: 34px 0 44px; text-align: center; }
.signature { color: var(--muted); }
.signature strong { color: var(--redline); }
.signature .built { color: var(--text); font-weight: 800; }
.signature em { display: block; margin-top: 3px; }

.policy-wrap { padding: 70px 0; }
.policy-card {
  padding: clamp(25px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.policy-card h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1; }
.policy-card h2 { margin-top: 35px; color: var(--green); }
.policy-card p, .policy-card li { color: var(--muted); }
.notice {
  padding: 15px 18px;
  border-left: 4px solid var(--green);
  border-radius: 9px;
  background: rgba(31,157,58,.08);
}

@media (max-width: 1040px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 780px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .belong-panel { grid-template-columns: .9fr 1.1fr; }
  .belong-logo { display: none; }
}
@media (max-width: 760px) {
  .nav { min-height: 82px; }
  .brand { min-width: 0; }
  .brand img { width: 62px; height: 62px; }
  .brand-subtitle { display: none; }
  .nav-links > a:not(.button) { display: none; }
  .hero { padding-top: 48px; }
  .collage figure { min-height: 190px; }
  .inclusion-row { grid-template-columns: repeat(2, 1fr); }
  .inclusion:nth-child(2) { border-right: 0; }
  .inclusion:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--border); }
  .belong-panel { grid-template-columns: 1fr; }
  .belong-photo { max-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .contact-item:last-child { border-bottom: 0; }
}


/* Production polish */
.facebook-nav {
  color: #d5ded7 !important;
}
.facebook-nav::before {
  content: "f";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2f5f9d;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  vertical-align: -1px;
}
.button {
  background: linear-gradient(135deg, #238d3b, #146d29);
  box-shadow: 0 10px 28px rgba(18,111,40,.24);
}
.button:hover,
.button:focus-visible {
  background: linear-gradient(135deg, #2aa348, #187b30);
  box-shadow: 0 14px 34px rgba(18,111,40,.32);
}
.button.secondary {
  background: rgba(255,255,255,.02);
}
.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255,255,255,.08);
}
.nav-links > a,
.button,
.feature,
.collage figure,
.belong-panel {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    filter .22s ease;
}
.feature:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.025);
}
.feature:hover .feature-icon {
  border-color: rgba(31,157,58,.65);
  box-shadow: 0 0 0 5px rgba(31,157,58,.08);
}
.collage figure:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.36);
}
.belong-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(31,157,58,.38);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.is-visible .reveal-item {
  opacity: 1;
  transform: none;
}
.is-visible .reveal-item:nth-child(2) { transition-delay: .08s; }
.is-visible .reveal-item:nth-child(3) { transition-delay: .16s; }
.is-visible .reveal-item:nth-child(4) { transition-delay: .24s; }

@media (max-width: 900px) {
  .nav {
    min-height: 88px;
    align-items: center;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .nav-links {
    gap: 13px;
  }
  .nav-links .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: .88rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }
  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: center;
  }
  .brand img {
    width: 56px;
    height: 56px;
  }
  .brand-title {
    font-size: .98rem;
    letter-spacing: .01em;
  }
  .nav-links {
    flex: 0 0 auto;
  }
  .nav-links .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: .78rem;
    white-space: nowrap;
  }
  .hero {
    padding: 44px 0 52px;
  }
  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .actions .button {
    width: 100%;
  }
  .collage {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .collage figure {
    min-height: 150px;
    border-radius: 13px;
  }
  .belong-copy {
    padding: 32px 24px;
  }
  .feature {
    min-height: auto;
    padding: 26px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .brand-title {
    max-width: 150px;
    line-height: 1.1;
  }
  .nav-links .button {
    max-width: 145px;
    text-align: center;
    line-height: 1.1;
  }
  .collage {
    grid-template-columns: 1fr;
  }
  .collage figure {
    min-height: 210px;
  }
  .inclusion-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Hero and image layout correction */
.hero-grid > * {
  min-width: 0;
}
.hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
}
.hero h1,
.hero-copy,
.member-event-disclaimer {
  overflow-wrap: anywhere;
}
.member-event-disclaimer {
  display: grid;
  gap: 4px;
  max-width: 700px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 4px solid #a7afb0;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: #c7ceca;
  font-size: .92rem;
  line-height: 1.45;
}
.member-event-disclaimer strong {
  color: #fff;
  font-size: .94rem;
}
.collage {
  width: 100%;
  max-width: 720px;
  justify-self: end;
  align-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 14px;
}
.collage figure {
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #020504;
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #020504;
}
.collage figure:hover img {
  transform: scale(1.018);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .collage {
    justify-self: center;
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .collage {
    max-width: 620px;
    gap: 9px;
  }
  .collage figure {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .member-event-disclaimer {
    font-size: .86rem;
  }
}

@media (max-width: 480px) {
  .collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collage figure {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* FINAL HERO FIX - built from the exact live project */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  gap: clamp(28px, 4vw, 54px) !important;
  width: 100%;
  align-items: start !important;
}

.hero-grid > div {
  min-width: 0;
}

.hero h1 {
  max-width: 100% !important;
  font-size: clamp(3rem, 5.2vw, 5.35rem) !important;
  line-height: .94 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.hero-copy,
.member-event-disclaimer {
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.collage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
  grid-template-rows: auto auto !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 760px !important;
  min-width: 0 !important;
  justify-self: end !important;
  align-self: start !important;
}

.collage figure {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #020504 !important;
}

.collage img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  background: transparent !important;
}

.member-event-disclaimer {
  margin-top: 18px !important;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .collage {
    max-width: 820px !important;
    justify-self: center !important;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.25rem) !important;
  }
  .collage {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .collage figure {
    border-radius: 10px !important;
  }
}

@media (max-width: 460px) {
  .collage {
    grid-template-columns: 1fr !important;
  }
}
