/* ── Reset & custom properties ──────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple:  #5E115D;
  --mauve:   #B79FAD;
  --teal:    #3B7080;
  --black:   #050505;
  --sage:    #C3DAC3;
  --white:   #FFFFFF;

  --font-display: 'Pinyon Script', cursive;
  --font-body:    'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography helpers ─────────────────────────────────────── */
.script { font-family: var(--font-display); font-weight: 400; }

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 1.25rem 2rem;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

#nav.scrolled {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(183, 159, 173, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--mauve);
  user-select: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--mauve); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.96);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(183, 159, 173, 0.15);
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.875rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  #nav { position: relative; background: rgba(5,5,5,0.96); }
}

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 60%, #120512 0%, var(--black) 65%);
}

.hero-radials {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,112,128,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(94,17,93,0.25) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.4rem;
}

.hero-aid {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 2rem;
}

.hero-details {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
  color: var(--sage);
  letter-spacing: 0.06em;
  margin-bottom: 2.75rem;
}

.sep { color: var(--teal); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.875rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s, color 0.25s;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: #7a1678;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(94, 17, 93, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.38);
  margin-top: 0.75rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.7);
}

.btn-full { width: 100%; text-align: center; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow { max-width: 680px; }

section { padding: 7rem 2rem; }

/* ── Section shared ─────────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--mauve);
  margin-bottom: 2.75rem;
  line-height: 1.8;
}

/* ── About AKT ──────────────────────────────────────────────── */
#about-akt {
  background: var(--purple);
}

.akt-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
}


.akt-body .lead {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sage);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 720px;
}

.akt-body p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  max-width: 680px;
}

/* ── About the Event ────────────────────────────────────────── */
#about-event { background: var(--black); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(183,159,173,0.14);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s, background 0.3s;
}

.event-card:hover {
  border-color: rgba(183,159,173,0.32);
  background: rgba(94,17,93,0.09);
}


.event-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.event-card p {
  font-size: 0.95rem;
  color: var(--mauve);
  line-height: 1.7;
}

/* ── Impact ─────────────────────────────────────────────────── */
#impact {
  background: #0c090c;
  text-align: center;
}

#impact .container--narrow { margin: 0 auto; }

.impact-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 2rem;
}

.impact-amount {
  font-family: var(--font-display);
  font-size: 1.4em;
  color: var(--sage);
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.1em;
}

/* ── Section separator ──────────────────────────────────────── */
.section-sep {
  width: 80px;
  height: 1px;
  background: rgba(183,159,173,0.3);
  margin: 0 auto;
}

/* ── Waitlist ───────────────────────────────────────────────── */
#waitlist {
  background: var(--black);
  text-align: center;
}

#waitlist .container--narrow { margin: 0 auto; }

/* ── Forms ──────────────────────────────────────────────────── */
.waitlist-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { display: flex; flex-direction: column; }

input,
select,
textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(183,159,173,0.22);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.28); }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mauve);
  background: rgba(255,255,255,0.07);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpolyline points='1,1 6,6 11,1' stroke='%23B79FAD' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
}

select option { background: #1a1a1a; color: var(--white); }

textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* GDPR consent checkbox */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  cursor: pointer;
  text-align: left;
}

.consent-label a {
  color: var(--mauve);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover { color: var(--white); }

.consent-check {
  position: relative;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
}

/* Real checkbox — invisible but covers the click area and handles browser validation */
.consent-check input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  z-index: 1;
}

/* Visual box */
.consent-tick {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid rgba(183,159,173,0.45);
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

/* Checkmark */
.consent-check input[type="checkbox"]:checked + .consent-tick {
  background: var(--purple);
  border-color: var(--purple);
}

.consent-check input[type="checkbox"]:checked + .consent-tick::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Keyboard focus ring on the visual box */
.consent-check input[type="checkbox"]:focus-visible + .consent-tick {
  outline: 2px solid var(--mauve);
  outline-offset: 2px;
}

.form-error {
  font-size: 0.85rem;
  color: #e07070;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--sage);
  font-size: 1.1rem;
  line-height: 1.7;
  border: 1px solid rgba(195,218,195,0.2);
}

/* ── Partners ───────────────────────────────────────────────── */
#partners {
  background: #0c090c;
  text-align: center;
}

#partners .container--narrow { margin: 0 auto; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--purple);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.footer-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-charity {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 2rem auto;
}

.footer-org {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ── Scroll animations ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

.event-card.fade-up:nth-child(2) { transition-delay: 0.15s; }
.event-card.fade-up:nth-child(3) { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .akt-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .akt-logo-wrap { justify-content: flex-start; }

  .event-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 5rem 1.25rem; }

  .hero-title { white-space: normal; }

  .form-row { grid-template-columns: 1fr; }

  .hero-details {
    flex-direction: column;
    gap: 0.4rem;
  }

  .sep { display: none; }
}
