/* =========================================================
   Surraa — brand design system
   Colours are taken from the logo gradient (green → neon yellow)
   ========================================================= */
:root {
  /* Palette */
  --black: #080A08;
  --charcoal: #151B16;
  --charcoal-2: #1B231C;
  --dark-green: #17251A;
  --green: #29B85E;
  --fresh: #8BCB45;
  --neon: #D8E936;
  --white: #F0F1E9;
  --grey: #929A91;
  --line: rgba(240, 241, 233, 0.09);
  --line-strong: rgba(240, 241, 233, 0.18);

  /* Signature gradient */
  --brand-gradient: linear-gradient(115deg, #25B85F 0%, #86CC46 52%, #E9EF37 100%);

  /* Type */
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--green); color: var(--black); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-top: 56px; }

/* ---------- Brand helpers ---------- */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-gradient); border-radius: 2px; }

/* Cinematic green grade applied to every photo for one consistent look */
.graded { filter: grayscale(1) contrast(1.15) brightness(.78); transition: transform .9s var(--ease), filter .6s var(--ease); }
.hero-media, .event-media, .about-img { position: relative; overflow: hidden; isolation: isolate; }
.hero-media::after, .event-media::after, .about-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, #29B85E 0%, #17251A 55%, #8BCB45 100%);
  mix-blend-mode: color;
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

.btn-gradient {
  background: var(--brand-gradient); color: var(--black);
  box-shadow: 0 0 0 0 rgba(41, 184, 94, 0);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(41, 184, 94, .6), 0 0 22px -6px rgba(216, 233, 54, .5); }

.btn-ghost { border-color: var(--line-strong); color: var(--white); background: rgba(240, 241, 233, .03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--green); color: var(--fresh); box-shadow: 0 0 24px -10px var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(8, 10, 8, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { position: relative; font-weight: 600; font-size: 15px; color: var(--white); opacity: .85; transition: color .25s, opacity .25s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--fresh); opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px; overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.6); }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8,10,8,.75) 0%, rgba(8,10,8,.25) 35%, rgba(8,10,8,.55) 70%, var(--black) 100%),
    linear-gradient(90deg, rgba(8,10,8,.85) 0%, rgba(8,10,8,.2) 60%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -15vw; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,184,94,.28) 0%, rgba(139,203,69,.08) 40%, transparent 70%);
  filter: blur(20px); animation: breathe 8s ease-in-out infinite;
}
.hero-beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-beams span {
  position: absolute; top: -20%; width: 14vw; min-width: 120px; height: 140%;
  background: linear-gradient(180deg, rgba(139,203,69,.22), rgba(41,184,94,.05) 60%, transparent);
  filter: blur(18px); transform-origin: top center; mix-blend-mode: screen;
}
.hero-beams span:nth-child(1) { left: 55%; animation: sweep 9s ease-in-out infinite; }
.hero-beams span:nth-child(2) { left: 72%; animation: sweep 11s ease-in-out infinite reverse; background: linear-gradient(180deg, rgba(216,233,54,.16), transparent 70%); }
.hero-beams span:nth-child(3) { left: 85%; animation: sweep 13s ease-in-out -4s infinite; }

.hero-content { position: relative; }
.hero-title {
  font-size: clamp(44px, 9vw, 132px);
  line-height: .95; letter-spacing: -0.04em;
  max-width: 12ch; margin-bottom: 28px;
}
.hero-sub { max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(240,241,233,.78); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 72px; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 64px); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1; }
.hero-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--grey); margin-top: 8px; }
.scroll-cue { width: 28px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 20px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 9px; border-radius: 4px; background: var(--neon); animation: scrollDot 1.8s var(--ease) infinite; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--charcoal); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 38px); text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(240,241,233,.35);
}
.marquee span:nth-of-type(3n+2) { -webkit-text-stroke: 0; color: var(--white); }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-gradient); flex: none; box-shadow: 0 0 14px rgba(139,203,69,.6); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.section-title { font-size: clamp(32px, 5vw, 64px); max-width: 16ch; }

/* ---------- Events ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; color: var(--white); transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--green); color: var(--fresh); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--black); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.event-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139,203,69,.13), transparent 45%);
}
.event-card:hover { transform: translateY(-8px); border-color: rgba(41,184,94,.55); box-shadow: 0 30px 60px -30px rgba(41,184,94,.45); }
.event-card:hover::before { opacity: 1; }
.event-card.is-hidden { display: none; }

.event-media { aspect-ratio: 4 / 3.1; }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-card:hover .event-media img { transform: scale(1.07); filter: grayscale(1) contrast(1.2) brightness(.92); }
.event-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(21,27,22,.95) 100%);
}
.tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(8,10,8,.7); color: var(--neon); border: 1px solid rgba(216,233,54,.35); backdrop-filter: blur(6px);
}
.event-body { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 22px 22px 24px; }
.event-date {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 66px; border-radius: 12px; background: var(--dark-green); border: 1px solid rgba(41,184,94,.3);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--neon); text-align: center; line-height: 1.2;
}
.event-date span { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.1; }
.event-info { flex: 1; min-width: 0; }
.event-info h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; line-height: 1.2; }
.meta { font-size: 13px; color: var(--grey); }
.meta .hl { color: var(--neon); font-weight: 700; }
.icon-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(41,184,94,.45); color: var(--green); transition: all .35s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.event-card:hover .icon-btn, .icon-btn:hover { background: var(--brand-gradient); color: var(--black); border-color: transparent; box-shadow: 0 0 20px -4px rgba(41,184,94,.7); }
.event-card:hover .icon-btn svg { transform: rotate(45deg); }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--black), #0B100C 50%, var(--black)); overflow: hidden; }
.ambient { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(40px); }
.ambient-left { width: 640px; height: 640px; left: -260px; top: 15%; background: radial-gradient(circle, rgba(41,184,94,.18), transparent 65%); }
.about-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }

.about-visual { position: relative; padding: 0 12% 18% 0; }
.about-img { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-main { aspect-ratio: 4 / 5; }
.about-img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--black); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.about-visual:hover .about-img img { transform: scale(1.04); }
.about-badge {
  position: absolute; left: -18px; bottom: 26%; z-index: 2;
  display: flex; flex-direction: column; gap: 10px; padding: 18px 22px;
  background: rgba(8,10,8,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(41,184,94,.35); border-radius: 14px;
  box-shadow: 0 0 40px -14px rgba(41,184,94,.6);
}
.about-badge img { height: 44px; width: auto; }
.about-badge span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); font-weight: 700; }

.about-copy .section-title { max-width: none; font-size: clamp(30px, 4.2vw, 54px); margin-bottom: 28px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--white); margin-bottom: 16px; font-weight: 500; }
.about-copy > p:not(.lead):not(.eyebrow) { color: var(--grey); }
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 4px; }
.pillars li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); transition: border-color .3s; }
.pillars li:hover { border-color: rgba(41,184,94,.5); }
.pillar-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--green); padding-top: 3px; }
.pillars h4 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.pillars p { font-size: 14px; color: var(--grey); }

/* ---------- Experiences ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp-card {
  position: relative; padding: 40px 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--charcoal), var(--black)); border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s;
}
.exp-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.exp-card:hover { transform: translateY(-6px); border-color: rgba(41,184,94,.4); }
.exp-card:hover::after { transform: scaleX(1); }
.exp-card svg { width: 44px; height: 44px; color: var(--green); margin-bottom: 28px; padding: 10px; border-radius: 12px; background: var(--dark-green); box-sizing: content-box; }
.exp-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.exp-card p { color: var(--grey); }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: 28px; background: var(--dark-green); border: 1px solid rgba(41,184,94,.3);
}
.cta-glow {
  position: absolute; right: -10%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(139,203,69,.35), rgba(41,184,94,.1) 40%, transparent 70%);
  filter: blur(30px); animation: breathe 7s ease-in-out infinite;
}
.cta-copy, .cta-form { position: relative; }
.cta-copy .section-title { margin-bottom: 14px; }
.cta-copy p { color: rgba(240,241,233,.75); max-width: 40ch; }
.cta-form { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(8,10,8,.7); border: 1px solid var(--line-strong); }
.cta-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 20px; outline: none; }
.cta-form input::placeholder { color: var(--grey); }
.cta-form:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(41,184,94,.15); }
.form-msg { position: absolute; left: 24px; top: calc(100% + 12px); font-size: 14px; color: var(--neon); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--grey); max-width: 30ch; margin-bottom: 24px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--white); transition: all .3s var(--ease); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { color: var(--green); border-color: var(--green); box-shadow: 0 0 18px -6px var(--green); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: 6px; }
.footer-col a { color: var(--white); width: fit-content; transition: color .25s, transform .25s var(--ease); }
.footer-col a:hover { color: var(--green); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--grey); }
.to-top:hover { color: var(--green); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes sweep { 0%, 100% { transform: rotate(18deg); opacity: .7; } 50% { transform: rotate(-14deg); opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 34px; }
  .header-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; place-content: center; margin-left: auto; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 12px var(--gutter) 28px; background: rgba(8,10,8,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .main-nav a { padding: 16px 0; font-size: 20px; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: rgba(8,10,8,.97); }

  .about-grid { grid-template-columns: 1fr; }
  .about-badge { left: 8px; }
  .exp-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .event-grid { grid-template-columns: 1fr; }
  .hero-foot { margin-top: 48px; }
  .scroll-cue { display: none; }
  .hero-stats { width: 100%; justify-content: space-between; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-form { border-radius: 20px; flex-direction: column; }
  .cta-form .btn { width: 100%; }
  .form-msg { position: static; padding: 0 12px 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
