/* ==========================================================================
   WordCamp Delhi 2026 — Design System & Homepage Styles
   Brand idea: "A Purani Dilli haveli courtyard, dressed for a winter mela."
   Warm parchment base, heritage red/marigold/terracotta palette, jali
   lattice + jharokha-arch motifs. Deliberately NOT a dark-mode UI — this
   is a December daytime/golden-hour feel, not a night theme.
   ========================================================================== */

/* -------------------------------- Fonts -------------------------------- */
:root {
  /* ---- Typography ---- */
  --font-heading: 'Sansita', 'Georgia', serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --font-label: 'Montserrat', sans-serif; /* small caps / tags / eyebrows */
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace; /* code snippets, terminal cards, // comments */

  /* ---- Surfaces: warm parchment, not dark ---- */
  --bg: #f6ead8;         /* base parchment */
  --bg-soft: #eeddc0;    /* deeper sandstone parchment, for section rhythm */
  --surface: #fffaf1;    /* ivory card surface */
  --surface-2: #fbf1de;  /* secondary ivory */
  --border: rgba(94, 45, 26, 0.16);
  --border-soft: rgba(94, 45, 26, 0.09);

  /* ---- Ink (text on light surfaces) ---- */
  --text: #2c1810;
  --text-dim: #6e5240;
  --text-faint: #a08769;

  /* ---- Cream (text/detail on the few dark heritage blocks) ---- */
  --cream: #fdf6ec;
  --cream-2: #f2ddb8;

  /* ---- Brand hues: Old Delhi haveli palette ---- */
  --maroon: #6d1f26;
  --maroon-2: #8f2a2f;
  --maroon-deep: #451117;
  --terracotta: #c1440e;
  --terracotta-2: #e2703a;
  --marigold: #e8a33d;
  --marigold-2: #f4c15f;
  --indigo-dusk: #223a52; /* used sparingly: a hint of winter evening sky */
  --code-blue: #4a7d99;  /* the one "techy" cool accent, used only inside code/terminal UI */

  /* ---- Syntax colors, used only inside .terminal / code chrome ---- */
  --syn-comment: #a08769;
  --syn-keyword: var(--terracotta);
  --syn-func: var(--marigold-2);
  --syn-string: #b7d199;
  --syn-var: var(--code-blue);
  --syn-punct: #cbb99a;

  --grad-brand: linear-gradient(135deg, var(--marigold) 0%, var(--terracotta) 55%, var(--maroon) 100%);
  --grad-brand-text: linear-gradient(135deg, var(--maroon) 0%, var(--terracotta) 55%, #c98a2e 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(232, 163, 61, 0.16), rgba(193, 68, 14, 0.12) 55%, rgba(109, 31, 38, 0.14));
  --grad-haveli: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 68%, #2a0e12 100%);

  --shadow-glow: 0 18px 46px rgba(109, 31, 38, 0.2);
  --shadow-card: 0 18px 40px rgba(74, 18, 24, 0.14);

  --radius-sm: 0.6rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.9rem;
  --radius-arch: 2.4rem 2.4rem 1rem 1rem;
  --radius-full: 999px;

  --container: 1240px;
  --header-h: 78px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  /* subtle warm paper grain, baked at low alpha so it never needs blend-mode tricks */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--marigold); color: var(--maroon-deep); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--terracotta-2); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--maroon); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 0;
  line-height: 1.1;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Code-comment style section labels — "// about_wcdel" — the primary techy signature */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0;
  color: var(--terracotta);
}
.eyebrow::before { content: '//'; color: var(--syn-comment); font-weight: 500; }

.eyebrow-invert { color: var(--marigold-2); }
.eyebrow-invert::before { color: rgba(253, 246, 236, 0.55); }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 0.9rem; }
.section-head p { color: var(--text-dim); font-size: 1.08rem; margin-top: 0.9rem; }

.text-gradient {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(109, 31, 38, 0.3);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 34px rgba(74, 18, 24, 0.4); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--border);
  color: var(--maroon);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-2px); }

.btn-dark {
  background: var(--maroon-deep);
  color: var(--cream);
}
.btn-dark:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ============================== HEADER =============================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(246, 234, 216, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-soft);
}

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text); }
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 14px 14px 6px 6px;
  background: var(--grad-brand);
  color: var(--cream);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(109, 31, 38, 0.32);
  position: relative;
  overflow: hidden;
}
.brand .mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5), transparent 70%);
  transform: translateX(-120%);
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%,60%{transform:translateX(-120%);} 80%{transform:translateX(120%);} 100%{transform:translateX(120%);} }

.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word small { font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--text-faint); font-weight: 600; margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s ease;
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover { color: var(--maroon); }
.main-nav a:hover::after { right: 0; }

.nav-item { position: relative; }
.nav-item > a::after { display: none; }
.nav-item .caret { display: inline-block; margin-left: 0.3rem; font-size: 0.6rem; transition: transform .25s ease; color: var(--text-faint); }
.nav-item:hover .caret { transform: translateY(1px) rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 10;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 2px); }
.nav-dropdown a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; font-size: 0.9rem; white-space: nowrap; }
.nav-dropdown a:hover { background: rgba(232,163,61,0.14); color: var(--maroon); padding-left: 0.8rem; }
.nav-dropdown a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: 0.88rem; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 0.5rem 0.9rem;
  transition: border-color .25s ease, color .25s ease;
}
.btn-whatsapp:hover { border-color: #25D366; color: #128C4A; }
.btn-whatsapp svg { color: #25D366; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--maroon); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================ HERO ================================= */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 5.5rem) 6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 50% -10%, #fbe6c4 0%, var(--bg) 58%); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: float 18s ease-in-out infinite; }
.blob-1 { width: 480px; height: 480px; top: -160px; left: -130px; background: var(--terracotta-2); animation-delay: 0s; }
.blob-2 { width: 420px; height: 420px; bottom: -170px; right: -110px; background: var(--indigo-dusk); opacity: 0.16; animation-delay: -5s; }
.blob-3 { width: 340px; height: 340px; top: 26%; right: 16%; background: var(--marigold); opacity: 0.3; animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.08); } }

.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(94,45,26,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(94,45,26,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 20%, black 20%, transparent 85%);
}

.hero-jali { position: absolute; z-index: -1; opacity: 0.22; color: var(--maroon); pointer-events: none; }
.hero-jali.left { left: -60px; top: 90px; width: 260px; transform: rotate(-6deg); }
.hero-jali.right { right: -60px; bottom: 40px; width: 300px; transform: rotate(8deg); color: var(--terracotta); }

.hero-inner { display: grid; place-items: center; text-align: center; gap: 1.6rem; }

.hero-inner .eyebrow { font-size: 0.8rem; }

.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.4rem);
  max-width: 18ch;
}
.hero h1 .line2 { display: block; }

.hero-sub {
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.6rem; }

.skyline { width: 100%; max-width: 1100px; margin: 3.2rem auto -10px; opacity: 0.9; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Full-bleed photo hero — a modifier on .hero, scoped so it never
   affects the plain (illustrated-skyline) hero used elsewhere. */
.hero-photo { min-height: 92vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 2rem) 3rem; }
.hero-photo .hero-media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero-photo .hero-media-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,14,18,0.28) 0%, rgba(42,14,18,0.5) 55%, rgba(42,14,18,0.86) 100%);
}
.hero-photo .eyebrow { color: var(--marigold-2); }
.hero-photo .eyebrow::before { color: rgba(253,246,236,0.55); }
.hero-photo .hero-sub { color: rgba(253,246,236,0.88); }
.hero-photo .hero-sub strong { color: var(--cream); }
.hero-photo .btn-ghost { background: rgba(253,246,236,0.1); border-color: rgba(253,246,236,0.35); color: var(--cream); }
.hero-photo .btn-ghost:hover { border-color: var(--marigold-2); color: var(--marigold-2); }

@media (max-width: 760px) {
  .hero-photo { min-height: 78vh; }
}

/* Header sits transparent over the photo until scrolled — flip it to
   light text for that window, since the base header styling assumes
   a light parchment background. */
.has-photo-hero .site-header:not(.is-scrolled) .brand,
.has-photo-hero .site-header:not(.is-scrolled) .main-nav a {
  color: var(--cream);
}
.has-photo-hero .site-header:not(.is-scrolled) .brand .word small { color: rgba(253,246,236,0.6); }
.has-photo-hero .site-header:not(.is-scrolled) .main-nav a:hover { color: var(--marigold-2); }
.has-photo-hero .site-header:not(.is-scrolled) .main-nav a::after { background: var(--marigold-2); }
.has-photo-hero .site-header:not(.is-scrolled) .btn-ghost {
  background: rgba(253,246,236,0.1); border-color: rgba(253,246,236,0.35); color: var(--cream);
}
.has-photo-hero .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(253,246,236,0.35); background: rgba(253,246,236,0.08); }
.has-photo-hero .site-header:not(.is-scrolled) .nav-toggle span { background: var(--cream); }

/* ============================ TERMINAL CARD ============================ */
/* A little "code editor window" — the hero's key-details readout */
.terminal {
  width: 100%; max-width: 640px;
  margin-top: 1rem;
  background: var(--grad-haveli);
  border-radius: var(--radius-md);
  border: 1px solid rgba(244,193,95,0.22);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  text-align: left;
}
.terminal-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; background: rgba(0,0,0,0.18); }
.terminal-bar .tl-dot { width: 10px; height: 10px; border-radius: 50%; }
.tl-dot.red { background: #e2703a; }
.tl-dot.yellow { background: #f4c15f; }
.tl-dot.green { background: #b7d199; }
.terminal-bar span.file { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.76rem; color: rgba(253,246,236,0.5); }
.terminal-body { padding: 1.2rem 1.4rem 1.4rem; font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.9; }
.terminal-body .ln { color: rgba(253,246,236,0.35); display: inline-block; width: 1.4rem; user-select: none; }
.tk-key { color: var(--syn-keyword); }
.tk-func { color: var(--syn-func); }
.tk-str { color: var(--syn-string); }
.tk-var { color: var(--syn-var); }
.tk-punct { color: var(--syn-punct); }
.tk-comment { color: var(--syn-comment); font-style: italic; }
.cursor-blink::after { content: '▍'; color: var(--marigold-2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.code-inline {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(109,31,38,0.07);
  border: 1px solid rgba(109,31,38,0.14);
  color: var(--maroon);
  padding: 0.1em 0.45em;
  border-radius: 0.4em;
}

/* ============================ MARQUEE STRIP ============================ */
.marquee-strip {
  position: relative;
  background: var(--surface);
  border-block: 1px solid var(--border-soft);
  padding-block: 0.9rem;
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 32s linear infinite; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 0.9rem;
  white-space: nowrap;
}
.marquee-track span::before { content: '◆'; color: var(--terracotta-2); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================= SECTIONS BASE ============================ */
section { position: relative; padding-block: 6.5rem; }
.on-cream { background: var(--surface); }
.on-surface { background: var(--bg-soft); }

/* ================================ ABOUT ================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }

.about-copy p { color: var(--text-dim); font-size: 1.05rem; margin-top: 1rem; }
.about-copy .tagline-hi { font-family: var(--font-heading); font-size: 1.4rem; color: var(--maroon); margin-top: 1.4rem; }

.about-visual { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); background: var(--grad-haveli); overflow: hidden; box-shadow: var(--shadow-card); }
.about-visual .jali-pattern { position: absolute; inset: 0; opacity: 0.5; color: var(--marigold); }
.about-visual .badge-float {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: rgba(42,14,18,0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(244,193,95,0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  text-align: center;
  width: min(78%, 280px);
}
.about-visual .badge-float .yr { font-family: var(--font-heading); font-size: 3rem; color: var(--marigold-2); }
.about-visual .badge-float p { color: var(--cream-2); font-size: 0.85rem; margin-top: 0.3rem; }

.about-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 3.5rem; }
.info-card { background: rgba(255,255,255,0.6); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 1.5rem 1.6rem; }
.info-card .info-label { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--terracotta); text-transform: uppercase; }
.info-card .info-label::before { content: '#'; color: var(--syn-comment); }
.info-card p { margin: 0.6rem 0 0; color: var(--text-dim); font-size: 0.98rem; }

/* =========================== DELHI VIBES ============================= */
.vibes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.vibe-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-arch);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.vibe-card:hover { transform: translateY(-8px); border-color: rgba(193,68,14,0.4); box-shadow: var(--shadow-card); }
.vibe-card::before {
  content: '';
  position: absolute; inset: -1px;
  background: var(--grad-brand-soft);
  opacity: 0; transition: opacity .4s ease;
  z-index: -1;
}
.vibe-card:hover::before { opacity: 1; }
.vibe-icon {
  width: 52px; height: 52px; border-radius: 50% 50% 10px 10px;
  display: grid; place-items: center;
  background: rgba(232,163,61,0.16);
  color: var(--maroon);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(193,68,14,0.18);
}
.vibe-card h3 { font-size: 1.2rem; }
.vibe-card p { color: var(--text-dim); font-size: 0.94rem; margin-top: 0.6rem; }
.vibe-card .hi { font-family: var(--font-label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--terracotta); display: block; margin-top: 0.9rem; }

/* ============================== HIGHLIGHTS ============================= */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.highlight-card {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border-soft);
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(109,31,38,0.14); }
.highlight-card .tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: var(--maroon); padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  margin-bottom: 1.1rem;
}
.highlight-card h3 { font-size: 1.32rem; color: var(--text); }
.highlight-card p { color: var(--text-dim); margin-top: 0.6rem; font-size: 0.97rem; }

/* ================================ STATS ================================= */
.stats-panel {
  border-radius: var(--radius-lg);
  background: var(--grad-haveli);
  border: 1px solid rgba(244,193,95,0.2);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.stats-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 90% 0%, rgba(232,163,61,0.16), transparent 70%);
}
.stat { position: relative; text-align: center; }
.stat .num { font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.4rem); background: linear-gradient(135deg, var(--marigold-2), var(--cream)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--cream-2); opacity: 0.85; font-size: 0.92rem; margin-top: 0.4rem; }
.stats-note { text-align: center; color: var(--text-faint); font-size: 0.85rem; margin-top: 1.6rem; font-family: var(--font-label); letter-spacing: 0.02em; }
.stats-tagline { text-align: center; margin-top: 2.4rem; }
.stats-tagline h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.stats-tagline a { display: inline-block; margin-top: 0.8rem; font-weight: 700; color: var(--terracotta); font-family: var(--font-label); font-size: 0.95rem; }

/* =============================== TIMELINE =============================== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--marigold), var(--terracotta), var(--maroon));
  opacity: 0.55;
}
.timeline-item { position: relative; text-align: center; }
.timeline-dot {
  width: 54px; height: 54px; margin-inline: auto;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon-deep); color: var(--marigold-2);
  font-family: var(--font-heading); font-weight: 700;
  border: 2px solid var(--terracotta);
  box-shadow: 0 0 0 6px var(--surface), 0 8px 20px rgba(109,31,38,0.25);
  position: relative; z-index: 1;
}
.timeline-item h4 { margin-top: 1.1rem; color: var(--text); font-size: 1.05rem; }
.timeline-item p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.35rem; }

/* ============================== GET INVOLVED ============================= */
.involve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.involve-card {
  padding: 2rem 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease;
  display: flex; flex-direction: column;
}
.involve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(193,68,14,0.35); }
.involve-card .involve-num { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; color: var(--syn-comment); }
.involve-card h3 { font-size: 1.25rem; margin-top: 0.6rem; }
.involve-card p { color: var(--text-dim); font-size: 0.94rem; margin-top: 0.6rem; flex: 1; }
.involve-card .involve-status {
  display: inline-flex; align-self: flex-start; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  color: var(--maroon); background: rgba(232,163,61,0.14); border: 1px solid rgba(109,31,38,0.18);
  padding: 0.25rem 0.6rem; border-radius: var(--radius-full);
}
.involve-card .involve-status.soon { color: var(--text-faint); background: rgba(94,45,26,0.06); border-color: var(--border-soft); }
.involve-card .involve-link { margin-top: 1rem; font-weight: 700; color: var(--terracotta); font-size: 0.94rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap .25s ease; }
.involve-card .involve-link:hover { gap: 0.65rem; }

/* ================================ SPONSORS ============================== */
.sponsor-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.5rem; }
.sponsor-tier { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); padding: 2rem 1.7rem; text-align: center; }
.sponsor-tier .tier-name { font-family: var(--font-heading); font-size: 1.5rem; color: var(--maroon); }
.sponsor-tier .tier-hi { font-family: var(--font-mono); font-size: 0.76rem; color: var(--syn-comment); margin-top: 0.2rem; display: block; }
.sponsor-tier p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.8rem; }
.sponsor-tier.tier-gold { border-color: rgba(232,163,61,0.5); box-shadow: 0 12px 30px rgba(232,163,61,0.16); }

.sponsor-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.sponsor-logo-slot {
  height: 84px; display: grid; place-items: center;
  border: 1px dashed var(--border); border-radius: var(--radius-md);
  color: var(--text-faint); font-family: var(--font-mono); font-size: 0.78rem;
  background: rgba(255,255,255,0.4);
}

.sponsor-callout {
  border-radius: var(--radius-lg); padding: 2.5rem; background: var(--grad-haveli);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.sponsor-callout h3 { color: var(--cream); font-size: 1.4rem; max-width: 32ch; }
.sponsor-callout p { color: var(--cream-2); opacity: 0.85; margin-top: 0.5rem; max-width: 40ch; }
.sponsor-callout .actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.sponsor-callout .btn-ghost { background: rgba(253,246,236,0.08); border-color: rgba(253,246,236,0.28); color: var(--cream); }
.sponsor-callout .btn-ghost:hover { border-color: var(--marigold-2); color: var(--marigold-2); }

/* ================================= VENUE ================================= */
.venue-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.venue-details { display: grid; gap: 1.1rem; }
.venue-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.3rem; background: rgba(255,255,255,0.6); border: 1px solid var(--border-soft); border-radius: var(--radius-md); }
.venue-row .v-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(232,163,61,0.16); color: var(--maroon); flex-shrink: 0; }
.venue-row .v-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--syn-comment); }
.venue-row .v-value { color: var(--text); font-weight: 600; margin-top: 0.15rem; }
.venue-map {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--grad-haveli);
  display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-card);
}
.venue-map .jali-pattern { position: absolute; inset: 0; opacity: 0.35; color: var(--marigold); }
.venue-map span { position: relative; font-family: var(--font-mono); color: var(--cream-2); font-size: 0.85rem; text-align: center; padding: 1rem; }

/* ================================== NEWS ================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.news-card .news-meta { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--syn-comment); text-transform: uppercase; letter-spacing: 0.04em; }
.news-card .news-cat { color: var(--terracotta); font-weight: 700; }
.news-card h3 { font-size: 1.15rem; margin-top: 0.7rem; }
.news-card p { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.5rem; }
.news-card .news-link { margin-top: 1rem; display: inline-block; font-weight: 700; color: var(--terracotta); font-size: 0.9rem; }

/* ================================ JOIN CTA =============================== */
.join-cta {
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  background: var(--grad-haveli);
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.join-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand-soft);
}
.join-cta .jali-pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.16; color: var(--marigold); }
.join-cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--cream); max-width: 20ch; margin-inline: auto; }
.join-cta p { color: var(--cream-2); opacity: .85; max-width: 560px; margin: 1rem auto 2rem; }
.join-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2.2rem; }
.join-roles span {
  font-family: var(--font-label); font-weight: 600; font-size: 0.76rem; color: var(--cream-2);
  border: 1px dashed rgba(250,243,230,0.28); padding: 0.4rem 0.9rem; border-radius: var(--radius-full);
}

/* =============================== NEWSLETTER ============================== */
.newsletter { padding-block: 5rem; }
.newsletter-box {
  max-width: 780px; margin-inline: auto; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 3rem 2.5rem; background: var(--surface);
  box-shadow: var(--shadow-card);
}
.newsletter-box h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.newsletter-box p { color: var(--text-dim); margin-top: 0.7rem; }
.newsletter-form {
  display: flex; gap: 0.7rem; margin-top: 1.8rem; max-width: 460px; margin-inline: auto;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 0.4rem;
}
.newsletter-form input {
  flex: 1; background: transparent; border: none; outline: none; color: var(--text);
  padding: 0.6rem 1rem; font-family: var(--font-body); font-size: 0.98rem;
}
.newsletter-form input::placeholder { color: var(--text-faint); }
.newsletter-form button { border-radius: var(--radius-full); }
.form-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 1rem; }

/* ================================ FOOTER ================================= */
.site-footer { background: var(--grad-haveli); border-top: 1px solid rgba(232,163,61,0.22); padding-block: 4.5rem 0; position: relative; overflow: hidden; color: var(--cream-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; }

.footer-brand .brand { margin-bottom: 1rem; color: var(--cream); }
.footer-brand .brand .word small { color: rgba(253,246,236,0.55); }
.footer-brand p { color: var(--cream-2); opacity: 0.85; font-size: 0.94rem; max-width: 30ch; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(253,246,236,0.22); display: grid; place-items: center;
  color: var(--cream-2); transition: all .3s ease;
}
.footer-social a:hover { color: var(--maroon-deep); background: var(--marigold-2); border-color: var(--marigold-2); transform: translateY(-3px); }

.footer-col h5 { font-family: var(--font-label); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(253,246,236,0.55); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { color: var(--cream-2); opacity: 0.85; font-size: 0.94rem; transition: color .25s ease, opacity .25s ease, padding-left .25s ease; }
.footer-col a:hover { color: var(--marigold-2); opacity: 1; padding-left: 4px; }
.footer-col .soon { opacity: 0.5; }
.footer-col .soon::after { content: ' · soon'; font-family: var(--font-label); font-size: 0.72rem; color: var(--marigold-2); }

.footer-bottom {
  border-top: 1px solid rgba(253,246,236,0.14);
  padding-block: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  color: rgba(253,246,236,0.6); font-size: 0.85rem;
}
.footer-bottom .heart { color: var(--marigold-2); }
.footer-bottom-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--cream); }

.footer-easteregg {
  text-align: center; padding-block: 1.6rem 2.4rem;
  font-family: var(--font-mono); font-size: 0.82rem;
  border-top: 1px solid rgba(253,246,236,0.1);
}
.footer-easteregg .line1 { color: rgba(253,246,236,0.7); }
.footer-easteregg .line1 .tk-func { color: var(--marigold-2); }
.footer-easteregg .line1 .tk-str { color: var(--syn-string); }
.footer-easteregg .line2 { color: rgba(253,246,236,0.4); margin-top: 0.4rem; }

.back-to-top {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-brand); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(74,18,24,0.4);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ============================ MOBILE NAV OVERLAY ========================= */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(45,15,19,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav { overflow-y: auto; padding-block: 6rem 2rem; }
.mobile-nav a { font-family: var(--font-heading); font-size: 1.8rem; color: var(--cream); }
.mobile-nav a.sub { font-family: var(--font-mono); font-size: 1rem; color: rgba(253,246,236,0.6); margin-top: -1rem; }
.mobile-nav a:hover { color: var(--marigold-2); }
.mobile-nav .btn { margin-top: 1rem; }

/* ================================ UTILITIES =============================== */
.only-mobile { display: none; }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-tiers { grid-template-columns: 1fr; }
  .venue-wrap { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .btn-ghost, .header-actions .btn-whatsapp { display: none; }
  .nav-toggle { display: inline-flex; }
  .only-mobile { display: inline-flex; }
  .brand { font-size: 1.05rem; gap: 0.55rem; white-space: nowrap; }
  .brand .mark { width: 36px; height: 36px; font-size: 0.85rem; border-radius: 10px 10px 5px 5px; }
  .brand .word small { display: none; }
  .header-actions { gap: 0.6rem; }
  .header-actions .btn-sm { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: 1fr 1fr; padding: 2.2rem 1.6rem; }
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { display: none; }
  .involve-grid { grid-template-columns: 1fr; }
  .join-cta { padding: 3rem 1.6rem; }
  .sponsor-callout { padding: 2rem 1.6rem; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-form button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding-block: 4.5rem; }
  .hero { padding-block: calc(var(--header-h) + 3rem) 3.5rem; }
}
