/* ==========================================================================
   SCRABBLETON GH — Modern stylesheet
   Brand: multicolor scrabble-tile letters + Ghanaian kente accents
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Scrabble tile palette */
  --tile-red: #E63946;
  --tile-orange: #F77F00;
  --tile-yellow: #FCBF49;
  --tile-green: #2A9D8F;
  --tile-teal: #168AAD;
  --tile-blue: #1D4E89;
  --tile-purple: #6A4C93;
  --tile-pink: #E84A9A;

  /* Brand */
  --brand-purple: #4A1E80;
  --brand-purple-dark: #2E1255;
  --brand-gold: #F5B82E;
  --brand-cream: #FFF7E8;
  --brand-red: #C4302B;
  --brand-green: #1F7A3D;

  /* UI */
  --ink: #14111F;
  --ink-soft: #3B344B;
  --muted: #6B6678;
  --line: #E8E3D6;
  --paper: #FFFFFF;
  --bg: #FBF7EC;

  /* Type */
  --font-display: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing & shape */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(20, 17, 31, 0.06);
  --shadow: 0 12px 32px rgba(20, 17, 31, 0.10);
  --shadow-lg: 0 24px 64px rgba(20, 17, 31, 0.18);
  --container: 1200px;
  --transition: 240ms cubic-bezier(.4,.0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--tile-red), var(--tile-yellow), var(--tile-green), var(--tile-blue), var(--tile-purple));
}

/* ---------- Kente stripe ---------- */
.kente-stripe {
  height: 14px;
  background:
    repeating-linear-gradient(45deg,
      var(--brand-gold) 0 14px,
      var(--brand-purple) 14px 28px,
      var(--brand-red) 28px 42px,
      var(--ink) 42px 56px,
      var(--brand-green) 56px 70px);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(20,17,31,.06), 0 8px 24px rgba(20,17,31,.04);
  padding: 0.55rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.nav-logo .wordmark { font-size: 1.02rem; gap: 3px; }
@media (max-width: 480px) {
  .nav-logo .wordmark { font-size: 0.86rem; gap: 2px; }
  .nav-logo .gh-tag { font-size: 0.62rem; padding: 3px 6px; }
}
.nav-logo .gh-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: var(--ink);
  color: var(--brand-gold);
  padding: 4px 8px;
  border-radius: 6px;
}

.nav-menu {
  display: flex; align-items: center; gap: 0.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav-menu a:hover { background: rgba(74,30,128,.07); color: var(--brand-purple); }
.nav-menu a.is-active { background: var(--ink); color: var(--brand-cream); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--brand-purple);
  color: white !important;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { background: var(--brand-purple-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(74,30,128,.35); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink); color: var(--brand-cream);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 76px 1rem auto 1rem;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px) scale(.98);
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a, .nav-menu .nav-cta { width: 100%; text-align: center; }
}

/* ==========================================================================
   Wordmark — multicolor scrabble tile letters
   ========================================================================== */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}
.wordmark .tile {
  --c: var(--tile-purple);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c);
  color: white;
  width: 1.2em; height: 1.2em;
  border-radius: 0.18em;
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.18),
    0 2px 4px rgba(0,0,0,.18);
  text-transform: uppercase;
  font-size: inherit;
  line-height: 1;
}
.wordmark .tile::after {
  content: attr(data-pt);
  position: absolute;
  bottom: 2px; right: 4px;
  font-size: 0.32em;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1;
}

/* Hero-sized wordmark gets gentle stagger */
.wordmark.lg { font-size: clamp(2.6rem, 6vw + 1rem, 5.4rem); gap: 6px; }
.wordmark.lg .tile { transform: rotate(var(--r, 0deg)); transition: transform var(--transition); }
.wordmark.lg .tile:hover { transform: rotate(0) translateY(-4px) scale(1.05); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--brand-cream);
  box-shadow: 0 8px 22px rgba(20,17,31,.20);
}
.btn-primary:hover { background: var(--brand-purple); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(74,30,128,.34); }
.btn-secondary {
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--brand-cream); transform: translateY(-2px); }
.btn-gold { background: var(--brand-gold); color: var(--ink); }
.btn-gold:hover { background: #FFD24A; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,184,46,.45); }

.btn .arrow {
  transition: transform var(--transition);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(245,184,46,.30), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(74,30,128,.25), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--tile-red), transparent 65%);
  top: 10%; left: -120px;
  animation: floaty 12s ease-in-out infinite;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--tile-teal), transparent 65%);
  bottom: -80px; right: -120px;
  animation: floaty 14s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-22px); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
}
.hero-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(196,48,43,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196,48,43,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(196,48,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,48,43,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw + 1rem, 5rem);
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--tile-red), var(--tile-orange), var(--tile-green), var(--tile-blue), var(--tile-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.18rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 520px;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.4rem);
  color: var(--ink);
  line-height: 1;
}
.hero-stat span { font-size: 0.86rem; color: var(--muted); font-weight: 600; }

/* Hero collage */
.hero-collage {
  position: relative;
  aspect-ratio: 5 / 5.4;
  width: 100%;
}
.hero-collage img {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform var(--transition);
}
.hero-collage img:hover { transform: translateY(-4px); }
.hero-collage .img-1 { top: 0; left: 0; width: 62%; height: 60%; transform: rotate(-3deg); }
.hero-collage .img-2 { bottom: 0; right: 0; width: 60%; height: 56%; transform: rotate(3deg); }
.hero-collage .img-3 { top: 32%; right: -4%; width: 38%; height: 36%; transform: rotate(6deg); border: 6px solid var(--brand-cream); }
.hero-collage .badge {
  position: absolute;
  top: -10px; left: 36%;
  background: var(--brand-gold);
  color: var(--ink);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  z-index: 2;
  transform: rotate(-6deg);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 .accent {
  background: linear-gradient(120deg, var(--tile-red), var(--tile-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--brand-cream);
  color: var(--brand-purple);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.feature-icon.r { background: rgba(230,57,70,.12); color: var(--tile-red); }
.feature-icon.g { background: rgba(42,157,143,.12); color: var(--tile-green); }
.feature-icon.b { background: rgba(29,78,137,.12); color: var(--tile-blue); }
.feature-icon.y { background: rgba(245,184,46,.18); color: #C39000; }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { margin: 0; font-size: 0.96rem; }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; } }
.about-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after {
  content: "";
  position: absolute; inset: auto -2px -2px -2px;
  height: 14px;
  background:
    repeating-linear-gradient(45deg,
      var(--brand-gold) 0 14px,
      var(--brand-purple) 14px 28px,
      var(--brand-red) 28px 42px,
      var(--ink) 42px 56px,
      var(--brand-green) 56px 70px);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.about-stat {
  background: var(--brand-cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--brand-purple); }
.about-stat span { font-size: 0.9rem; color: var(--muted); }

/* Event spotlight */
.event-spotlight {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.event-spotlight::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 320px at 110% -20%, rgba(245,184,46,.35), transparent 60%),
    radial-gradient(400px 260px at -10% 110%, rgba(232,74,154,.3), transparent 60%);
  pointer-events: none;
}
.event-spotlight * { position: relative; }
.event-spotlight h2, .event-spotlight h3 { color: white; }
.event-spotlight p { color: rgba(255,255,255,.85); }
.event-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .event-grid { grid-template-columns: 1fr; } }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
  max-width: 520px;
}
.countdown-cell {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
}
.countdown-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem);
  color: var(--brand-gold);
  line-height: 1;
}
.countdown-cell span { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }

.event-meta {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.event-meta div { display: flex; align-items: center; gap: 0.7rem; font-size: 0.96rem; }
.event-meta svg { width: 20px; height: 20px; color: var(--brand-gold); flex: none; }

.event-card {
  background: white; color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.event-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-card .body { padding: 1.6rem; }
.event-card h3 { margin-bottom: 0.3rem; }
.event-card .body p { color: var(--ink-soft); }

/* Gallery preview / pages */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 0.8rem;
}
.gallery a {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.gallery a img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms ease;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,17,31,.55));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery a:hover::after { opacity: 1; }

/* Default span — every cell takes 4 cols, 2 rows */
.gallery a { grid-column: span 4; grid-row: span 2; }
.gallery a.tall { grid-row: span 3; }
.gallery a.wide { grid-column: span 6; }
.gallery a.big  { grid-column: span 6; grid-row: span 3; }
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
  .gallery a { grid-column: span 3; grid-row: span 2; }
  .gallery a.big { grid-column: span 6; grid-row: span 3; }
  .gallery a.wide { grid-column: span 6; }
}

/* ==========================================================================
   Sponsors strip
   ========================================================================== */
.sponsors-strip {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}
.sponsors-strip .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.2rem;
}
.sponsors-list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2rem 3rem;
}
.sponsor-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.2rem;
  background: var(--brand-cream);
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: transform var(--transition), background var(--transition);
}
.sponsor-pill:hover { transform: translateY(-2px); background: white; }
.sponsor-pill .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--brand-gold);
  font-size: 0.78rem; font-weight: 800;
}

/* Sponsor cards on dedicated page */
.sponsor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.sponsor-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sponsor-card .tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-cream);
  color: var(--brand-purple);
  margin-bottom: 1rem;
}
.sponsor-card .tier.gold { background: var(--brand-gold); color: var(--ink); }
.sponsor-card .tier.silver { background: #E6E6E6; color: var(--ink); }
.sponsor-card .tier.partner { background: rgba(74,30,128,.1); color: var(--brand-purple); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  padding: 9rem 0 4rem;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(245,184,46,.20), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(74,30,128,.16), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero .crumbs {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--muted); font-weight: 600; font-size: 0.86rem;
  margin-bottom: 1rem;
}
.page-hero .crumbs a { color: var(--brand-purple); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--tile-red), var(--tile-yellow), var(--tile-green), var(--tile-blue), var(--tile-purple));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: "";
  position: absolute; left: -25px; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--brand-purple);
  box-shadow: var(--shadow-sm);
}
.timeline-item h3 { margin-bottom: 0.2rem; }
.timeline-item .date {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800;
  color: var(--brand-purple);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* Form */
.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  background: white;
  box-shadow: 0 0 0 4px rgba(74,30,128,.10);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-status:empty { display: none; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.form-status[data-state="success"] {
  background: rgba(42, 157, 143, 0.10);
  color: #1F5F58;
  border-color: rgba(42, 157, 143, 0.30);
}
.form-status[data-state="error"] {
  background: rgba(230, 57, 70, 0.10);
  color: #8C1D26;
  border-color: rgba(230, 57, 70, 0.30);
}

/* Contact info card */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: linear-gradient(155deg, var(--ink), var(--brand-purple-dark));
  color: var(--brand-cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h2 { color: white; }
.contact-info ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.contact-info li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 0.96rem;
}
.contact-info li:first-child { border-top: 0; }
.contact-info svg { width: 20px; height: 20px; color: var(--brand-gold); flex: none; }
.contact-socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.contact-socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10);
  border-radius: 12px;
  transition: background var(--transition);
}
.contact-socials a:hover { background: var(--brand-gold); color: var(--ink); }

/* Quote / testimonial */
.quote-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
}
.quote-card .who { display: flex; align-items: center; gap: 0.8rem; }
.quote-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-card .who strong { display: block; font-size: 0.95rem; }
.quote-card .who span { font-size: 0.82rem; color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--brand-cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 110% 110%, rgba(245,184,46,.30), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin: 0 0 0.4rem; max-width: 26ch; }
.cta-banner p { color: rgba(255,255,255,.78); margin: 0; max-width: 50ch; }
.cta-banner .actions { display: flex; gap: 0.7rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 4rem 0 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: white;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 0.3rem 0; }
.footer a { color: rgba(255,255,255,.72); transition: color var(--transition); }
.footer a:hover { color: var(--brand-gold); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255,255,255,.56);
}

/* ==========================================================================
   Animations on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }

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

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,17,31,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  z-index: 200;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background: white; color: var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
}
