/* ============================================================
       SIMPLY COMPLEX AFRICA — EVENTS PAGE
       Token system
       Ink   #17100D  — page ground, near-black espresso
       Gold  #C9A24B  — antique gold, primary accent
       Rust  #9C4429  — burnt clay, secondary accent
       Indigo#2B2140  — deep aubergine, banded sections
       Cream #F3E9D6  — parchment, text-on-dark & light bands
       ============================================================ */
:root {
  --ink: #0e2417;
  --ink-2: #173a26;
  --gold: #c8963d;
  --gold-soft: #e6c07d;
  --rust: #b8532f;
  --rust-soft: #da7a4e;
  --emerald: #0e2417;
  --emerald-soft: #1f4a30;
  --cream: #f9f4e9;
  --cream-dim: #f1ead8;
  --line: rgba(20, 40, 28, 0.12);

  --display: "Bebas Neue", sans-serif;
  --serif: "Cormorant Garamond", serif;
  --body: "DM Sans", sans-serif;

  /* Shared navbar + page aliases */
  --bg: var(--cream);
  --bg-2: var(--cream-dim);
  --card: #ffffff;
  --fg: #15231a;
  --fg-muted: rgba(21, 35, 26, 0.62);
  --forest: var(--ink);
  --gold-light: var(--gold-soft);
  --header-bg: rgba(249, 244, 233, 0.9);
  /* Darker gold for readable text on the light background;
           dark mode below swaps this back to the brighter gold-soft */
  --gold-text: #8a651f;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f1c15;
  --bg-2: #182a20;
  --card: #182a20;
  --fg: #eef2ec;
  --fg-muted: #a7b7ab;
  --line: rgba(249, 244, 233, 0.14);
  --header-bg: rgba(15, 28, 21, 0.85);
  --gold-text: var(--gold-soft);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.events-page {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.main-content {
  overflow-x: hidden;
}

a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ---------- NAV (shared across the site) ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 26px;
  padding: 10px 28px;
  max-width: 1320px;
  min-height: 72px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.logo-mark {
  width: 250%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 0;
  list-style: none;
}
.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.025em;
  color: var(--fg);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links li {
  position: relative;
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.nav-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  background: var(--forest);
  color: var(--cream);
  border: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.nav-cta .btn-primary:hover {
  background: #0a1c11;
  transform: translateY(-2px);
}
[data-theme="dark"] .nav-cta .btn-primary:hover {
  background: #ffffff;
  color: var(--forest);
}
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.theme-toggle:hover {
  background: var(--bg-2);
}
.theme-toggle i {
  position: absolute;
  font-size: 0.95rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.3s ease;
}
.theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}
.theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold);
}
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold-light);
}
.mobile-cta {
  display: none;
}
.mobile-menu-brand,
.mobile-menu-foot {
  display: none;
}
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .toggle-africa {
  font-size: 1.3rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar.b1 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle .bar.b2 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle.open .toggle-africa {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
.nav-toggle.open .bar {
  opacity: 1;
}
.nav-toggle.open .bar.b1 {
  transform: rotate(45deg) scale(1);
}
.nav-toggle.open .bar.b2 {
  transform: rotate(-45deg) scale(1);
}

@media (max-width: 980px) {
  header {
    position: static;
    backdrop-filter: none;
  }
  nav {
    padding: 8px 20px;
    column-gap: 14px;
    min-height: 64px;
  }
  .logo-mark {
    width: 230%;
  }
  .nav-toggle {
    display: flex;
    z-index: 210;
  }
  .nav-cta {
    gap: 0;
  }
  .nav-cta .btn-primary {
    display: none;
  }
  #navLinks {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: 88px 28px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      visibility 0.4s ease;
    z-index: 200;
  }
  #navLinks.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  #navLinks li {
    position: static;
    width: 100%;
  }
  #navLinks > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 2px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    color: var(--fg);
  }
  #navLinks > li > a.active {
    color: var(--gold);
  }
  .mobile-menu-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 82px;
    margin-bottom: 12px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(249, 244, 233, 0.28);
  }
  .mobile-menu-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }
  .mobile-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-brand-name {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fg);
  }
  .mobile-brand-tagline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }

  .mobile-brand-tagline b:nth-child(2) {
    color: #d3a14a;
    font-weight: 700;
  }
  .mobile-cta {
    display: block !important;
    margin: 20px 0 8px;
  }
  .mobile-cta .btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--forest);
    color: var(--cream);
    border: none;
  }
  .mobile-menu-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .mmf-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
  }
  .mmf-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mmf-links {
    display: flex;
    gap: 10px;
  }
  .social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
  }
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- geometric divider motif ---------- */
.motif-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}
.motif-rule span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
  animation: motif-pulse 3.4s ease-in-out infinite;
}
.motif-rule span:nth-child(3) {
  animation-delay: 0.5s;
}
.motif-rule .bar {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: none;
}
@keyframes motif-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: rotate(45deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1.3);
  }
}

.motif-strip {
  height: 34px;
  width: 100%;
  background-image: repeating-linear-gradient(
    135deg,
    var(--gold) 0px,
    var(--gold) 2px,
    transparent 2px,
    transparent 18px
  );
  background-color: var(--emerald);
  opacity: 0.9;
}

/* ============================================================
       HERO — animated
       ============================================================ */
.events-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 110px;
  background: var(--ink);
  overflow: hidden;
}

/* soft drifting gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}
.hero-orb--gold {
  width: 480px;
  height: 480px;
  top: -160px;
  left: 8%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.3), transparent 70%);
  animation: drift-a 22s ease-in-out infinite;
}
.hero-orb--rust {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: 6%;
  background: radial-gradient(circle, rgba(184, 83, 47, 0.34), transparent 70%);
  animation: drift-b 26s ease-in-out infinite;
}
.hero-orb--emerald {
  width: 360px;
  height: 360px;
  top: 30%;
  right: 30%;
  background: radial-gradient(circle, rgba(14, 36, 23, 0.6), transparent 70%);
  animation: drift-c 30s ease-in-out infinite;
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
}
@keyframes drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, -30px) scale(1.08);
  }
}
@keyframes drift-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-30px, 50px) scale(1.15);
    opacity: 1;
  }
}

.events-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black,
    transparent 75%
  );
  opacity: 0.5;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  left: 50%;
  bottom: -200px;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  border: 1px solid rgba(201, 162, 75, 0.25);
  border-radius: 50%;
  pointer-events: none;
  animation: ring-breathe 8s ease-in-out infinite;
}
@keyframes ring-breathe {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.03);
  }
}

.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-rule {
  position: relative;
  opacity: 0;
  animation: hero-rise 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-eyebrow {
  animation-delay: 0.1s;
}
.hero-title {
  animation-delay: 0.28s;
}
.hero-sub {
  animation-delay: 0.5s;
}
.hero-rule {
  animation-delay: 0.72s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 28px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 10vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--fg);
  text-shadow: 0 0 60px rgba(201, 162, 75, 0.18);
}

.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  background: linear-gradient(
    100deg,
    var(--gold-soft) 0%,
    var(--rust-soft) 45%,
    var(--gold-soft) 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--fg-muted);
  max-width: 32ch;
  margin: 30px 0 40px;
  line-height: 1.5;
}

.hero-rule {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin-top: 10px;
}
.hero-rule::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: dot-travel 2.6s ease-in-out infinite;
}
@keyframes dot-travel {
  0% {
    bottom: 60px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    bottom: -4px;
    opacity: 0;
  }
}

/* ============================================================
       FEATURED EVENT — "Fragment to Connection"
       Signature: scattered shard cluster resolves into the date
       monument, echoing the event's own tagline.
       ============================================================ */
.event-feature {
  position: relative;
  background: var(--ink);
  padding: 70px 0 90px;
}

.event-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid rgba(201, 162, 75, 0.22);
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 60%);
}

/* ---- left: date monument ---- */
.event-date-block {
  position: relative;
  padding: 40px 36px 32px;
  border-right: 1px solid rgba(201, 162, 75, 0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.shard-field {
  position: relative;
  width: 100%;
  height: 92px;
  margin-bottom: 6px;
}
.shard {
  position: absolute;
  opacity: 0;
  animation: shard-converge 2.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.shard--1 {
  width: 14px;
  height: 14px;
  background: var(--gold);
  top: 4px;
  left: 6px;
  transform: rotate(45deg);
  animation-delay: 0.05s;
}
.shard--2 {
  width: 9px;
  height: 9px;
  background: var(--rust);
  top: 30px;
  left: 58px;
  transform: rotate(45deg);
  animation-delay: 0.22s;
}
.shard--3 {
  width: 11px;
  height: 11px;
  background: var(--gold-soft);
  top: 2px;
  left: 96px;
  transform: rotate(45deg);
  animation-delay: 0.14s;
}
.shard--4 {
  width: 7px;
  height: 7px;
  background: var(--emerald-soft);
  top: 44px;
  left: 18px;
  transform: rotate(45deg);
  animation-delay: 0.34s;
}
.shard--5 {
  width: 12px;
  height: 12px;
  background: var(--rust-soft);
  top: 14px;
  left: 132px;
  transform: rotate(45deg);
  animation-delay: 0.1s;
}
.shard--6 {
  width: 8px;
  height: 8px;
  background: var(--gold);
  top: 50px;
  left: 70px;
  transform: rotate(45deg);
  animation-delay: 0.28s;
}

@keyframes shard-converge {
  0% {
    opacity: 0;
    transform: translate(var(--dx, 40px), var(--dy, -18px)) rotate(45deg)
      scale(1.4);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
    transform: translate(0, 0) rotate(45deg) scale(1);
  }
}
.shard--1 {
  --dx: -52px;
  --dy: -30px;
}
.shard--2 {
  --dx: 44px;
  --dy: -22px;
}
.shard--3 {
  --dx: 60px;
  --dy: 20px;
}
.shard--4 {
  --dx: -40px;
  --dy: 26px;
}
.shard--5 {
  --dx: 30px;
  --dy: -34px;
}
.shard--6 {
  --dx: -34px;
  --dy: 22px;
}

.event-date-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  line-height: 0.9;
  color: var(--cream);
  margin: 0;
  letter-spacing: 0.01em;
}
.event-date-num span {
  color: var(--gold-soft);
}
.event-date-month {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 10px 0 34px;
  font-weight: 500;
}

.event-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.5;
}
.event-meta-row i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.85rem;
}

.event-price-tag {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.event-price-tag .label {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 6px;
}
.event-price-tag .value {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

/* ---- right: content ---- */
.event-content {
  padding: 40px 48px 36px;
}
.event-content .eyebrow {
  margin-bottom: 18px;
}
.event-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.02;
  color: var(--cream);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.event-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  background: linear-gradient(
    100deg,
    var(--gold-soft) 0%,
    var(--rust-soft) 45%,
    var(--gold-soft) 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
  margin: 0 0 22px;
}
.event-desc {
  font-family: var(--body);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 56ch;
  margin: 0 0 30px;
}

/* day rail */
.event-days {
  position: relative;
  padding-left: 30px;
  margin-bottom: 32px;
}
.event-days::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--gold),
    var(--rust) 55%,
    transparent
  );
}
.event-day {
  position: relative;
  margin-bottom: 16px;
}
.event-day:last-child {
  margin-bottom: 0;
}
.event-day::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.event-day-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.event-day-name {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.event-day-time {
  font-family: var(--body);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.event-day-desc {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 52ch;
}
.event-day-sub {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(156, 68, 41, 0.14);
  border-left: 2px solid var(--rust-soft);
}
.event-day-sub .sub-label {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-soft);
  margin-bottom: 5px;
}
.event-day-sub .sub-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.5;
}

.event-cta-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 30px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.event-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.event-venue {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.event-venue i {
  color: var(--gold);
  margin-top: 2px;
}
.event-venue strong {
  color: var(--cream);
  font-weight: 500;
}

@media (max-width: 860px) {
  .event-shell {
    grid-template-columns: 1fr;
  }
  .event-date-block {
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 75, 0.18);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
  }
  .shard-field {
    width: 150px;
    height: 60px;
    margin-bottom: 0;
  }
  .event-price-tag {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: auto;
  }
  .event-content {
    padding: 44px 24px 40px;
  }
}
@media (max-width: 480px) {
  .event-content {
    padding: 36px 20px 32px;
  }
  .event-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============================================================
       NEWSLETTER / RSVP BAND
       ============================================================ */
.rsvp-band {
  position: relative;
  background: var(--emerald);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}
.rsvp-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 50% 0%,
    rgba(201, 162, 75, 0.18),
    transparent 65%
  );
  pointer-events: none;
}

.rsvp-title {
  position: relative;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--cream);
  margin: 20px 0 16px;
  letter-spacing: 0.02em;
}
.rsvp-sub {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-dim);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.rsvp-form {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--gold);
}
.rsvp-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 20px;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 400;
}
.rsvp-form input::placeholder {
  color: var(--cream-dim);
}
.rsvp-form input:focus {
  outline: none;
}
.rsvp-form button {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 0 26px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rsvp-form button:hover {
  background: var(--gold-soft);
}
.rsvp-status {
  margin: 18px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease;
}
.rsvp-status.visible {
  opacity: 1;
  max-height: 40px;
  margin-top: 18px;
}

/* ============================================================
       FOOTER
       ============================================================ */
footer {
  background: var(--ink);
  color: rgba(249, 244, 233, 0.8);
  padding: 0 0 30px;
  position: relative;
}
.skyline {
  position: relative;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #d99a4e 0%, var(--ink) 78%);
}
.skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 36, 23, 0) 55%,
    rgba(14, 36, 23, 0.35) 100%
  );
  pointer-events: none;
}
.building {
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0a1c11, #133023);
  border-top: 1px solid rgba(230, 192, 125, 0.12);
  border-radius: 3px 3px 0 0;
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 10%,
    #000 26%,
    #000 100%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 10%,
    #000 26%,
    #000 100%
  );
}
.building .window {
  position: absolute;
  width: 6px;
  height: 8px;
  border-radius: 1px;
  background: var(--gold-light);
  opacity: 0.15;
  animation: winkle 4.5s ease-in-out infinite;
}
@keyframes winkle {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.95;
  }
}
.foot-top-spacer {
  padding-top: 56px;
}
.foot-brand-center {
  text-align: center;
  margin-bottom: 40px;
}
.footer-logo-mark {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(230, 192, 125, 0.3),
    0 22px 44px rgba(0, 0, 0, 0.4);
}
.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foot-tagline {
  font-size: 0.9rem;
  color: rgba(249, 244, 233, 0.55);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.6;
}
.foot-mini-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: "Barlow Condensed";
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 244, 233, 0.72);
}
.foot-mini-nav a:hover {
  color: var(--gold-light);
}
.foot-divider {
  height: 1px;
  background: rgba(249, 244, 233, 0.12);
  margin: 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.foot-col h4 {
  font-family: "Barlow Condensed";
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.foot-col li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.foot-col a:hover {
  color: var(--cream);
}
.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(249, 244, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover {
  background: rgba(249, 244, 233, 0.1);
}
.social-row i {
  font-size: 0.78rem;
  color: var(--cream);
}
.foot-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding-top: 8px;
  font-size: 0.8rem;
  color: rgba(249, 244, 233, 0.45);
}
.foot-legal {
  display: flex;
  gap: 18px;
}
.foot-legal a:hover {
  color: var(--cream);
}

/* ============================================================
       RESPONSIVE
       ============================================================ */
@media (max-width: 980px) {
  .hero-orb {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .events-hero {
    padding: 120px 20px 80px;
    min-height: 70vh;
  }
  .empty-state {
    padding: 50px 0 80px;
  }
  .rsvp-form {
    flex-direction: column;
    border: none;
    gap: 12px;
  }
  .rsvp-form input {
    border: 1px solid var(--gold);
  }
  .rsvp-form button {
    padding: 16px;
    border: 1px solid var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn-gold,
  .btn-gold i,
  .btn-outline {
    transition: none;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-rule {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-orb,
  .hero-ring,
  .motif-rule span,
  .hero-title em,
  .hero-rule::after {
    animation: none;
  }
  .hero-title em {
    background-position: 0% 50%;
  }
  .shard {
    animation: none;
    opacity: 0.9;
    transform: none;
  }
  .event-tagline {
    animation: none;
    background-position: 0% 50%;
  }
}
