/* ============================================================
   Living Forward — Global Stylesheet
   Set in Lora (serif) + Poppins (sans)

   Purple palette (Cindy's brand):
   #2c1f36 deep plum (dark)  ·  #604482 brand purple (accent)
   #779ecb mid blue · #a3c6e6 light blue · #bfd7ea pale blue
   #d1c7f5 lavender · #f3f6fb cool paper
   ============================================================ */

:root {
  --paper: #f3f6fb;
  --paper-soft: #e8edf5;
  --ink-deep: #2c1f36;
  --ink: #1f1a26;
  --ink-soft: #4a4255;
  --ink-mute: #8a7f96;

  /* Brand accent */
  --accent: #604482;
  --accent-deep: #4a3268;
  --accent-tint: #d1c7f5;

  /* Atmospheric blues (used in gradient washes only) */
  --blue: #779ecb;
  --blue-soft: #a3c6e6;
  --blue-pale: #bfd7ea;

  /* Legacy aliases — coral/teal references still resolve */
  --coral: var(--accent);
  --coral-deep: var(--accent-deep);
  --coral-tint: var(--accent-tint);

  --line: #e0dde5;
  --line-soft: #ecebf1;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --gutter: 28px;
  --content-max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 1100px 700px at 85% 0%, rgba(96,68,130,0.06), transparent 60%),
    radial-gradient(ellipse 900px 600px at 0% 40%, rgba(119,158,203,0.05), transparent 55%),
    radial-gradient(ellipse 1000px 800px at 100% 100%, rgba(209,199,245,0.10), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 30%, #eef2f8 70%, #f3f6fb 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.35  0 0 0 0 0.45  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.topbar, main, footer, section, .image-band, .closing { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink-deep);
  padding: 22px var(--gutter);
}
.topbar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: #fff;
}
.brand-heart {
  width: 18px;
  height: 18px;
  fill: var(--accent-tint);
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-tint); }
.nav-menu a.cta-link {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 11px;
}
.nav-menu a.cta-link:hover { background: var(--accent-deep); color: #fff; }

@media (max-width: 640px) {
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 11px; letter-spacing: 0.14em; }
  .nav-menu a.cta-link { padding: 8px 14px; font-size: 10px; }
  .nav-menu a.hide-mobile { display: none; }
}

/* ============ BUTTONS ============ */
.btn-coral {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .25s ease;
  box-shadow: 0 6px 22px rgba(96,68,130,0.40), inset 0 1px 0 rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
}
.btn-coral:hover {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #3a2654 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(96,68,130,0.50), inset 0 1px 0 rgba(255,255,255,0.15);
  color: #fff;
}
.btn-coral:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.8);
  padding: 60px var(--gutter) 50px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
footer .brand { font-size: 22px; margin-bottom: 14px; display: inline-flex; }
footer .brand-heart { width: 22px; height: 22px; }
footer p { font-size: 13px; margin-bottom: 6px; }
footer a { color: var(--accent-tint); text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer-nav {
  margin: 20px 0 8px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
footer .footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
footer .footer-nav a:hover { color: var(--accent-tint); }
.colophon {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
