/* ============================================
   INDIAGRAM CONVERSATIONS — SITE CSS
   Single source of truth for site-wide styles
   ============================================ */

:root {
  --bg-parchment: #FAF6EC;
  --bg-warm: #F4EDD8;
  --ink-midnight: #0D1B3D;
  --ink-deep: #1A2A52;
  --ink-soft: #3A4566;
  --ink-muted: #6B7191;
  --saffron: #E07B2C;
  --saffron-deep: #C25E1A;
  --gold: #C89B3C;
  --emerald: #2D7A5F;
  --rose: #B83A6F;
  --paper: #FFFDF7;
  --line: rgba(13, 27, 61, 0.08);
  --shadow-soft: 0 1px 3px rgba(13, 27, 61, 0.04), 0 4px 12px rgba(13, 27, 61, 0.06);
  --shadow-lift: 0 4px 16px rgba(13, 27, 61, 0.08), 0 16px 40px rgba(13, 27, 61, 0.12);
  --shadow-cta: 0 4px 14px rgba(224, 123, 44, 0.35), 0 12px 32px rgba(224, 123, 44, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-parchment);
  color: var(--ink-midnight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 96px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top, rgba(224, 123, 44, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(45, 122, 95, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-midnight);
}

p { color: var(--ink-soft); }

a { color: var(--saffron-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.serif { font-family: 'Fraunces', serif; }

/* ===== HEADER ===== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-midnight);
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand-mark { color: var(--saffron); font-weight: 900; }

.brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 4px;
  display: none;
}

@media (min-width: 380px) {
  .brand-sub { display: inline; }
}

.menu-btn {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-midnight);
}

.menu-btn:hover, .menu-btn:focus-visible {
  background: var(--paper);
  border-color: var(--ink-midnight);
}

.menu-btn svg { display: block; }

/* ===== WELCOME CARD / HERO CARDS ===== */
.welcome-card {
  background: linear-gradient(135deg, var(--ink-midnight) 0%, var(--ink-deep) 100%);
  border-radius: 28px;
  padding: 32px 24px 28px;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  margin-bottom: 28px;
  animation: cardRise 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.welcome-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(224, 123, 44, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.welcome-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.welcome-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  color: var(--paper);
}

.welcome-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--saffron);
}

.welcome-title em.with-asterisk::after {
  content: '*';
  color: var(--gold);
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 1px;
}

.welcome-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 253, 247, 0.78);
  position: relative;
  margin-bottom: 4px;
}

.welcome-text strong {
  color: var(--paper);
  font-weight: 600;
}

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.section-eyebrow-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-eyebrow-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--saffron-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.section-eyebrow-action:hover { gap: 8px; text-decoration: none; }

/* ===== ORBS ===== */
.orbs-section { margin-bottom: 32px; }

.orbs-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
  margin: 0 -4px;
  scrollbar-width: none;
}

.orbs-scroll::-webkit-scrollbar { display: none; }

.orb-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink-midnight);
  width: 86px;
  animation: orbFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.orb-item:nth-child(1) { animation-delay: 0.1s; }
.orb-item:nth-child(2) { animation-delay: 0.15s; }
.orb-item:nth-child(3) { animation-delay: 0.2s; }
.orb-item:nth-child(4) { animation-delay: 0.25s; }
.orb-item:nth-child(5) { animation-delay: 0.3s; }
.orb-item:nth-child(6) { animation-delay: 0.35s; }
.orb-item:nth-child(7) { animation-delay: 0.4s; }

.orb-item:hover { text-decoration: none; }

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

.orb-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--saffron), var(--gold), var(--saffron));
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orb-item[data-category="strategist"] .orb-ring {
  background: conic-gradient(from 0deg, var(--ink-deep), var(--gold), var(--ink-deep));
}
.orb-item[data-category="stoic"] .orb-ring {
  background: conic-gradient(from 0deg, var(--saffron-deep), var(--gold), var(--saffron-deep));
}
.orb-item[data-category="sage"] .orb-ring {
  background: conic-gradient(from 0deg, var(--emerald), var(--gold), var(--emerald));
}
.orb-item[data-category="taoist"] .orb-ring {
  background: conic-gradient(from 0deg, var(--rose), var(--gold), var(--rose));
}
.orb-item[data-category="deity"] .orb-ring {
  background: conic-gradient(from 0deg, var(--rose), var(--gold), var(--emerald), var(--saffron), var(--rose));
}
.orb-item[data-category="scripture"] .orb-ring {
  background: conic-gradient(from 0deg, var(--emerald), var(--saffron), var(--emerald));
}
.orb-item[data-category="freedom"] .orb-ring {
  background: conic-gradient(from 0deg, var(--saffron), var(--paper), var(--emerald), var(--saffron));
}

.orb-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.orb-item:hover .orb-ring,
.orb-item:focus-visible .orb-ring { transform: scale(1.05); }
.orb-item:hover .orb-ring::before { opacity: 0.8; }

.orb-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink-midnight);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.orb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Default gradient placeholders */
.orb-item[data-slug="chanakya"] .orb-image { background: linear-gradient(135deg, #2A3B6B 0%, #C89B3C 100%); color: var(--paper); }
.orb-item[data-slug="marcus-aurelius"] .orb-image { background: linear-gradient(135deg, #C25E1A 0%, #E8C46B 100%); color: var(--paper); }
.orb-item[data-slug="sun-tzu"] .orb-image { background: linear-gradient(135deg, #1A2A52 0%, #6B7191 100%); color: var(--paper); }
.orb-item[data-slug="confucius"] .orb-image { background: linear-gradient(135deg, #2D7A5F 0%, #C89B3C 100%); color: var(--paper); }
.orb-item[data-slug="lao-tzu"] .orb-image { background: linear-gradient(135deg, #B83A6F 0%, #E8B8D0 100%); color: var(--paper); }
.orb-item[data-slug="gandhi"] .orb-image { background: linear-gradient(135deg, #FAF6EC 0%, #C89B3C 100%); color: var(--ink-midnight); }
.orb-item[data-slug="vivekananda"] .orb-image { background: linear-gradient(135deg, #E07B2C 0%, #B83A6F 100%); color: var(--paper); }
.orb-item[data-slug="tagore"] .orb-image { background: linear-gradient(135deg, #2D7A5F 0%, #1A2A52 100%); color: var(--paper); }
.orb-item[data-slug="ambedkar"] .orb-image { background: linear-gradient(135deg, #1A2A52 0%, #E07B2C 100%); color: var(--paper); }
.orb-item[data-slug="bhagat-singh"] .orb-image { background: linear-gradient(135deg, #C25E1A 0%, #1A2A52 100%); color: var(--paper); }
.orb-item[data-slug="bhagavad-gita"] .orb-image { background: linear-gradient(135deg, #2D7A5F 0%, #C89B3C 100%); color: var(--paper); }
.orb-item[data-slug="krishna"] .orb-image { background: linear-gradient(135deg, #B83A6F 0%, #2D7A5F 100%); color: var(--paper); }
.orb-item[data-slug="rumi"] .orb-image { background: linear-gradient(135deg, #B83A6F 0%, #E07B2C 100%); color: var(--paper); }
.orb-item[data-slug="ghalib"] .orb-image { background: linear-gradient(135deg, #6B7191 0%, #B83A6F 100%); color: var(--paper); }
.orb-item[data-slug="kabir"] .orb-image { background: linear-gradient(135deg, #C89B3C 0%, #2D7A5F 100%); color: var(--paper); }

.orb-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.orb-name .asterisk {
  color: var(--saffron);
  font-weight: 800;
}

.orb-role {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.orb-status-soon {
  position: relative;
}

.orb-status-soon .orb-ring {
  opacity: 0.65;
}

.orb-status-soon::after {
  content: 'SOON';
  position: absolute;
  top: -2px;
  right: 0;
  background: var(--ink-midnight);
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  border-radius: 6px;
}

/* ===== EXPLORE CARDS ===== */
.explore-section { margin-bottom: 32px; }

.explore-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink-midnight);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.explore-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(13, 27, 61, 0.15);
  text-decoration: none;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--saffron);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.explore-card:hover::before { transform: translateX(0); }

.explore-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-deep);
}

.explore-card[data-card="network"] .explore-icon,
.explore-card[data-card="emerald"] .explore-icon {
  background: rgba(45, 122, 95, 0.1);
  color: var(--emerald);
}

.explore-content { flex: 1; min-width: 0; }

.explore-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--ink-midnight);
}

.explore-sub {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.explore-arrow {
  flex: 0 0 auto;
  color: var(--ink-muted);
  transition: transform 0.3s ease;
}

.explore-card:hover .explore-arrow {
  transform: translateX(4px);
  color: var(--saffron-deep);
}

/* ===== CONTENT PAGES — articles, legal, etc. ===== */
.page-hero {
  margin-bottom: 32px;
  padding-top: 8px;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--saffron-deep);
}

.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--ink-midnight);
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--ink-midnight);
}

.prose p { margin-bottom: 16px; }

.prose a { color: var(--saffron-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--saffron); }

.prose ul, .prose ol { margin: 0 0 16px 24px; padding: 0; }
.prose li { margin-bottom: 8px; }

.prose blockquote {
  border-left: 3px solid var(--saffron);
  padding: 8px 0 8px 20px;
  margin: 20px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-deep);
}

.prose code {
  background: var(--bg-warm);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: ui-monospace, monospace;
  color: var(--ink-midnight);
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-midnight);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(224, 123, 44, 0.15);
}

.form-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.form-help {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--paper);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--paper);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink-midnight);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink-midnight);
  text-decoration: none;
}

.btn-block { width: 100%; }

/* ===== MESSAGE BUBBLES (chat) ===== */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 24px;
}

.chat-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.5;
  animation: bubbleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--paper);
  border-bottom-right-radius: 8px;
}

.chat-bubble-ai {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink-midnight);
  border: 1px solid var(--line);
  border-bottom-left-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.chat-citation {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-citation svg { flex-shrink: 0; opacity: 0.6; }

.chat-bubble-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: scale(0.6); opacity: 0.5; }
  30% { transform: scale(1); opacity: 1; }
}

/* ===== CHIPS (sample questions) ===== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-deep);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chip:hover {
  background: var(--bg-warm);
  border-color: var(--saffron);
  color: var(--saffron-deep);
}

/* ===== FOOTER NOTE ===== */
.footer-note {
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.footer-note a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-note a:hover { color: var(--ink-midnight); text-decoration: underline; }

.footer-mark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink-deep);
  letter-spacing: 0.04em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ===== STICKY CTA ===== */
.sticky-cta-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg-parchment) 60%, rgba(250, 246, 236, 0));
  pointer-events: none;
}

.sticky-cta {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 14px;
  animation: pulse-glow 3.5s ease-in-out infinite;
}

.sticky-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.sticky-cta:hover, .sticky-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 123, 44, 0.45), 0 16px 40px rgba(224, 123, 44, 0.3);
  text-decoration: none;
  color: var(--paper);
}

.sticky-cta:active { transform: translateY(0); }

.cta-arrow { transition: transform 0.3s ease; }
.sticky-cta:hover .cta-arrow { transform: translateX(4px); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-cta); }
  50% { box-shadow: 0 6px 24px rgba(224, 123, 44, 0.5), 0 16px 50px rgba(224, 123, 44, 0.35); }
}

/* ===== MENU DRAWER ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 61, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 60;
}

.menu-overlay.open { opacity: 1; visibility: visible; }

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-parchment);
  z-index: 61;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(13, 27, 61, 0.2);
}

.menu-drawer.open { transform: translateX(0); }

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.menu-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; }

.menu-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-midnight);
}

.menu-list {
  flex: 1;
  list-style: none;
  padding: 12px 0;
  overflow-y: auto;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--ink-deep);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.menu-link:hover { background: rgba(13, 27, 61, 0.04); text-decoration: none; }

.menu-link-icon {
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  flex: 0 0 auto;
}

.menu-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 24px;
}

.menu-footer {
  padding: 16px 24px 24px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.menu-footer-brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 4px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-midnight);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 70;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success { background: var(--emerald); }
.toast.error { background: var(--rose); }

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

/* ===== LARGER SCREENS ===== */
@media (min-width: 540px) {
  main { padding: 0 24px; }
  .welcome-title { font-size: 38px; }
  .welcome-card { padding: 40px 32px 36px; }
  .page-hero h1 { font-size: 42px; }
}

@media (min-width: 768px) {
  main { max-width: 600px; }
  .welcome-title { font-size: 42px; }
  .page-hero h1 { font-size: 48px; }
}
