/* ============================================================
   aesthetic.css — Roots & Stories Media · Luxury Editorial Redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --ink:        #0e0d0b;
  --ink-2:      #2a2520;
  --ink-3:      #5a5045;
  --gold:       #b8935a;
  --gold-lt:    #d4af82;
  --gold-pale:  #f5ede0;
  --cream:      #faf7f2;
  --cream-2:    #f0e8da;
  --white:      #ffffff;
  --border:     rgba(184,147,90,0.18);
  --border-md:  rgba(184,147,90,0.35);
  --shadow-sm:  0 2px 16px rgba(14,13,11,0.06);
  --shadow-md:  0 8px 40px rgba(14,13,11,0.10);
  --shadow-lg:  0 20px 60px rgba(14,13,11,0.14);
  --nav-h:      68px;
  --ease-out:   cubic-bezier(0.22,1,0.36,1);
  --ease-in-out: cubic-bezier(0.45,0,0.55,1);
  --serif:      'Playfair Display', 'Georgia', serif;
  --serif2:     'DM Serif Display', 'Georgia', serif;
  --sans:       'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main { flex: 1; }
img { max-width:100%; height:auto; display:block; }
button { cursor:pointer; font-family: var(--sans); }

/* ─── TYPOGRAPHY SCALE ────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; }

.display-xl {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display-lg {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.display-md {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.italic-serif {
  font-family: var(--serif2);
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5%, 80px);
  background: rgba(250,247,242,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(250,247,242,0.96);
  box-shadow: 0 1px 30px rgba(14,13,11,0.08);
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}

.logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────── */
#home { position: relative; overflow: hidden; }

.hero-gif {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-desktop { display: block; }
.hero-bg-mobile  { display: none; }

.hero-gif::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14,13,11,0.55) 0%,
    rgba(14,13,11,0.25) 50%,
    rgba(14,13,11,0.65) 100%
  );
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(32px, 7%, 80px);
  padding-bottom: clamp(48px, 9%, 100px);
}

.hero-badge {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  border: 1px solid rgba(212,175,130,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 720px;
  animation: fadeUp 1s var(--ease-out) 0.45s both;
}

.hero-headline em {
  font-family: var(--serif2);
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  margin-top: 16px;
  animation: fadeUp 1s var(--ease-out) 0.65s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 5%, 80px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s var(--ease-out) 1s both;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(212,175,130,0.6), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── TICKER ──────────────────────────────────────────────── */
.announcement-banner {
  overflow: hidden;
  background: var(--cream-2);
  padding: 16px 0;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.announcement-banner::before,
.announcement-banner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.announcement-banner::before {
  left: 0;
  background: linear-gradient(to right, var(--cream-2), transparent);
}

.announcement-banner::after {
  right: 0;
  background: linear-gradient(to left, var(--cream-2), transparent);
}

.logo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 30s linear infinite;
  align-items: center;
}

.logo-track img {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.3s;
}

.logo-track img:hover { opacity: 0.85; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION BASE ────────────────────────────────────────── */
.page {
  scroll-margin-top: var(--nav-h);
  padding: clamp(60px, 10vw, 120px) clamp(20px, 8%, 100px);
}

.section-label {
  margin-bottom: 12px;
}

/* ─── ABOUT ───────────────────────────────────────────────── */
#about {
  background: var(--cream);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink-3);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 80px;
  border: 1px solid rgba(255,255,255,0.04);
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--gold-pale);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.about-left {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.about-left .display-lg {
  margin-top: 16px;
  margin-bottom: 28px;
  color: var(--ink);
}

.about-left p {
  font-size: 0.97rem;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 300;
}

.about-right h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 36px 0 12px;
}

.about-right h3:first-child { margin-top: 0; }

.about-right p {
  font-size: 0.92rem;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 12px;
}

.curate-list, .capabilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.curate-list li, .capabilities-list li {
  font-size: 0.9rem;
  color: var(--ink-3);
  font-weight: 300;
  padding-left: 20px;
  position: relative;
}

.curate-list li::before, .capabilities-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 300;
}

/* partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin: 16px 0 36px;
}

.partner-logo-item {
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.25s, transform 0.25s;
}

.partner-logo-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.partner-logo-item img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.75;
  transition: filter 0.25s, opacity 0.25s;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* brochure */
.brochure-box {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--border-md);
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brochure-box p {
  font-size: 0.9rem;
  color: var(--ink-3);
  font-weight: 300;
  margin: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

/* ─── FOUNDERS ────────────────────────────────────────────── */
.founders-section {
  background: var(--gold-pale);
  padding: clamp(60px, 10vw, 100px) clamp(20px, 8%, 100px);
}

.founders-section .eyebrow { color: var(--gold); }
.founders-section .eyebrow::before { background: var(--gold); }

.founders-section .display-lg {
  color: var(--ink);
  margin-top: 12px;
  margin-bottom: 56px;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.founder-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(184,147,90,0.12);
}

.founder-photo-banner {
  padding: 32px 28px 24px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-photo-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(184,147,90,0.2);
  margin-bottom: 14px;
}

.founder-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-banner-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.founder-banner-role {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.founder-body {
  padding: 24px 28px 28px;
}

.founder-quote-mark {
  font-family: var(--serif2);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.6;
  margin-bottom: 14px;
}

.founder-body p {
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 10px;
}

.founder-body p:last-child { margin-bottom: 0; }

/* ─── SERVICES ────────────────────────────────────────────── */
#services {
  background: var(--cream-2);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.services-header .display-lg {
  margin-top: 14px;
  margin-bottom: 16px;
}

.services-header p {
  font-size: 0.95rem;
  color: var(--ink-3);
  font-weight: 300;
}

.services-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-block:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-num {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
  font-weight: 400;
}

.service-block h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.service-block > p {
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}

.service-block li {
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}

.service-block li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.4;
}

.service-divider {
  width: 32px;
  height: 1px;
  background: var(--border-md);
  margin-bottom: 24px;
}

.service-download-btn {
  align-self: flex-start;
}

/* ─── EVENTS ──────────────────────────────────────────────── */
#events {
  background: var(--cream);
}

.events-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.events-intro .display-lg { margin-top: 12px; }

/* upcoming card */
.events-upcoming {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.event-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.event-card:hover .event-img {
  transform: scale(1.05);
}

.event-card-body {
  padding: 24px;
}

.event-cat {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.event-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.event-short {
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
}

.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.desc-btn {
  padding: 9px 20px;
  background: var(--gold-pale);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
}

.desc-btn:hover {
  background: var(--gold-lt);
  border-color: var(--gold);
}

.register-btn {
  padding: 9px 20px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s;
}

.register-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* past events */
.events-past-header {
  margin-top: 80px;
  margin-bottom: 28px;
}

.event-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 32px;
}

.filter-tab {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border-md);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: all 0.25s;
  min-height: auto;
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.events-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.hidden-card { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer#footer {
  background: var(--ink-3);
  padding: 0;
}

.footer-inner {
  padding: clamp(56px, 9vw, 100px) clamp(20px, 8%, 100px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.footer-brand-col {}

.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.footer-nav-col h4 {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-lt); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,147,90,0.08);
}

/* ─── MODALS ──────────────────────────────────────────────── */
.event-modal,
.image-modal,
.notification-modal,
.register-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(14,13,11,0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.event-modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.4s var(--ease-out);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink-3);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.close-btn:hover { background: var(--ink); color: var(--white); }

#event-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  padding-right: 40px;
}

.event-info-box {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
}

.event-info-box p {
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
}

.brochure-download { margin-bottom: 16px; }

.event-row {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.event-row b { color: var(--ink); font-weight: 500; }
.event-row.total { font-weight: 500; }

/* image modal */
.image-modal {
  flex-direction: column;
  gap: 16px;
}

.image-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
}

.image-close-btn {
  position: fixed;
  top: 16px;
  right: 22px;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  z-index: 9999;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.image-close-btn:hover { color: var(--white); }

.prev-btn, .next-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1.3rem;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 10px;
  z-index: 9999;
  transition: background 0.2s;
}

.prev-btn { left: 16px; }
.next-btn { right: 16px; }
.prev-btn:hover, .next-btn:hover { background: rgba(255,255,255,0.18); }

.image-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--white);
  transform: scale(1.4);
}

/* notification */
.notification-modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  animation: modalIn 0.4s var(--ease-out);
}

.notification-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  background: #e8f5e9;
  color: #2e7d32;
}

.notification-icon.error { background: #fdecea; color: #c62828; }

#notification-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

#notification-message {
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
}

.notification-close-btn {
  padding: 11px 32px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s;
}

.notification-close-btn:hover { background: var(--gold); }
.notification-modal.show { display: flex; }

/* floating */
.floating-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 400;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
}

.floating-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.floating-notification.error { background: #c62828; }

/* contact modal */
.register-modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.4s var(--ease-out);
}

.register-modal-content h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}

.register-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink-3);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.register-close-btn:hover { background: var(--ink); color: var(--white); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border-md);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-3); opacity: 0.5; }

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s;
}

.submit-btn:hover { background: var(--gold); }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible,
.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { position: static; }
  .founders-grid { grid-template-columns: 1fr; }
  .services-detailed { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(250,247,242,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    max-height: 400px;
    padding: 12px 0 20px;
  }

  .nav-links li { width: 100%; }

  .nav-link {
    display: block;
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .nav-link::after { display: none; }

  .hero-content { padding: 24px 24px 60px; }

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

  .events-carousel {
    grid-template-columns: 1fr;
  }

  .events-upcoming {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .brochure-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-modal-content,
  .register-modal-content {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .prev-btn { left: 6px; padding: 8px 12px; }
  .next-btn { right: 6px; padding: 8px 12px; }
}

/* ─── DOWNLOAD BTN (used as class on <a>) ─────────────────── */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}

.download-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.about-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}

.about-download-btn:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════════════════ */

.hero-carousel {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

/* ── Slides ── */
.carousel-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide.prev   { opacity: 0; z-index: 0; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition: transform 6s ease;
  will-change: transform;
}

.carousel-slide.active img {
  transform: scale(1.06);
}

/* ── Overlay gradient ── */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14,13,11,0.82) 0%,
    rgba(14,13,11,0.60) 50%,
    rgba(14,13,11,0.85) 100%
  );
  z-index: 2;
}

/* ── Hero text overlay ── */
.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 7%, 80px);
  padding-bottom: clamp(56px, 10%, 110px);
  pointer-events: none;
}

.carousel-content .hero-headline {
  animation: fadeUp 0.9s var(--ease-out) 0.2s both;
}

.carousel-content .hero-sub {
  animation: fadeUp 0.9s var(--ease-out) 0.45s both;
}

/* ── Slide caption (changes per slide) ── */
.carousel-caption {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  opacity: 0.75;
  margin-bottom: 14px;
  font-weight: 500;
  animation: fadeUp 0.9s var(--ease-out) 0s both;
}

/* ── Dots — decorative only, no click ── */
.carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  transition: background 0.3s, width 0.4s;
  pointer-events: none;
  cursor: default;
}

.carousel-dot.active {
  background: rgba(255,255,255,0.65);
  width: 22px;
  border-radius: 3px;
}

/* ── Progress bar ── */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold-lt);
  z-index: 10;
  transition: width linear;
  opacity: 0.7;
}

/* ── Arrow buttons — hidden, autorun only ── */
.carousel-arrow { display: none; }

/* ── Scroll indicator ── */
.carousel-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(20px, 5%, 80px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.carousel-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
}

.carousel-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(212,175,130,0.55), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-carousel {
    height: 70svh;
    min-height: 400px;
  }

  .carousel-slide img {
    object-position: center top;
  }

  .carousel-content { padding: 20px 20px 64px; }

  .carousel-arrow { display: none; }

  .carousel-scroll { display: none; }

  .carousel-dots { bottom: 20px; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-carousel { height: 80svh; }
}
