/* ---------- Design tokens ---------- */
:root {
  --navy-950: #06060f;
  --navy-900: #0b0a1f;
  --navy-800: #14132e;
  --navy-700: #1d1b40;
  --purple-700: #3a2c5e;
  --purple-500: #6b5b95;
  --lavender: #b9aee0;
  --lavender-soft: #d7cff0;
  --star: #eef0ff;
  --text: #e9e7f5;
  --text-dim: #b3aecb;
  --text-faint: #8a86a3;
  --line: rgba(185, 174, 224, 0.18);
  --card-bg: rgba(28, 26, 58, 0.55);
  --card-border: rgba(185, 174, 224, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--text);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 45%, #0a0819 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--lavender-soft); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #fff; }

/* ---------- Starfield canvas ---------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main, .site-header, .footer { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding: 96px 0; }
.section--alt {
  background: rgba(20, 19, 46, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(2px);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  color: var(--lavender);
  margin: 0 0 14px;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 28px;
  color: #fff;
}
.resources__heading {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  color: var(--lavender-soft);
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.lead { font-size: 1.3rem; color: var(--text); margin: 0 0 28px; }
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.note {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-color: rgba(185, 174, 224, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px rgba(107, 91, 149, 0.4); }
.btn--ghost { background: transparent; color: var(--lavender-soft); border-color: rgba(185, 174, 224, 0.4); }
.btn--ghost:hover { background: rgba(185, 174, 224, 0.1); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 7, 22, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 1.1rem;
  color: #fff;
}
.nav__brand:hover { color: var(--lavender-soft); }
.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.nav__menu a:hover { color: #fff; }
.nav__cta {
  border: 1px solid rgba(185, 174, 224, 0.45);
  border-radius: 2px;
  padding: 9px 20px;
  color: var(--lavender-soft) !important;
}
.nav__cta:hover { background: rgba(185, 174, 224, 0.12); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--lavender-soft);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero__bg {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: kenburns 46s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.14); }
}
.hero__aurora { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  mix-blend-mode: screen;
}
.aurora--1 {
  width: 62vw; height: 62vw; left: -12vw; top: -18vw;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.55), transparent 70%);
  animation: drift1 38s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 50vw; height: 50vw; right: -10vw; top: 6vh;
  background: radial-gradient(circle, rgba(90, 74, 140, 0.5), transparent 70%);
  animation: drift2 46s ease-in-out infinite alternate;
}
.aurora--3 {
  width: 46vw; height: 46vw; left: 22vw; bottom: -20vh;
  background: radial-gradient(circle, rgba(150, 120, 180, 0.4), transparent 70%);
  animation: drift3 52s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(4vw, 3vh, 0); } }
@keyframes drift2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-5vw, 4vh, 0); } }
@keyframes drift3 { from { transform: translate3d(0,0,0); } to { transform: translate3d(3vw, -4vh, 0); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(11, 10, 31, 0.15) 0%, rgba(11, 10, 31, 0.55) 60%, rgba(6, 6, 15, 0.9) 100%),
    linear-gradient(180deg, rgba(6, 6, 15, 0.5) 0%, rgba(6, 6, 15, 0.1) 30%, rgba(6, 6, 15, 0.85) 100%);
}
.hero__content { position: relative; z-index: 3; max-width: 760px; will-change: opacity, transform; }
.wordmark {
  font-family: var(--font-head);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  margin: 0 0 0 0.25em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}
.hero__rule {
  display: block;
  width: 70px;
  height: 1px;
  background: rgba(215, 207, 240, 0.7);
  margin: 26px auto 24px;
}
.hero__sub {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  color: var(--lavender-soft);
  margin: 0 0 18px;
}
.hero__tag {
  font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 40px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 44px;
  border: 1px solid rgba(215, 207, 240, 0.5);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--lavender-soft);
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--three { grid-template-columns: repeat(3, 1fr); }
.cards--two { grid-template-columns: repeat(2, 1fr); }
.cards--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 174, 224, 0.35);
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #fff;
}
.card h4 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: #fff;
}
.card p { margin: 0 0 12px; color: var(--text-dim); }
.card p:last-child { margin-bottom: 0; }
.card__meta {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--lavender);
  margin-bottom: 14px !important;
}
.card__star { color: var(--lavender); font-size: 1.4rem; margin-bottom: 8px; }
.card--do { border-color: rgba(150, 200, 170, 0.25); }
.card--avoid { border-color: rgba(200, 150, 170, 0.25); }

.contact-list, .tips { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dim);
  padding: 5px 0;
  border-bottom: 1px solid rgba(185, 174, 224, 0.08);
}
.contact-list li:last-child { border-bottom: 0; }
.tips li { margin: 0 0 14px; color: var(--text-dim); }
.tips li:last-child { margin-bottom: 0; }
.tips strong { color: var(--text); font-weight: 500; }

/* ---------- Guidelines ---------- */
.guidelines { list-style: none; margin: 0; padding: 0; }
.guidelines li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.25rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.guidelines li:last-child { border-bottom: 0; }
.guidelines span { color: var(--lavender); font-size: 0.9rem; }

/* ---------- Crisis callout ---------- */
.crisis {
  display: flex;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(107, 91, 149, 0.35), rgba(58, 44, 94, 0.35));
  border: 1px solid rgba(185, 174, 224, 0.4);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 8px 0 24px;
}
.crisis__icon { font-size: 2.2rem; color: var(--lavender-soft); }
.crisis__body h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: #fff;
}
.crisis__body p { margin: 0; font-size: 1.15rem; color: var(--text); }
.crisis__body a { color: #fff; font-weight: 500; }
.crisis__note { font-family: var(--font-head); font-weight: 300; font-size: 0.9rem !important; color: var(--text-dim) !important; margin-top: 6px !important; }

/* ---------- Quote ---------- */
.quote {
  margin: 56px auto;
  max-width: 760px;
  text-align: center;
  border: 0;
  padding: 0 20px;
}
.quote p {
  font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--lavender-soft);
  position: relative;
}
.quote p::before, .quote p::after { content: '\201C'; }
.quote p::after { content: '\201D'; }

/* ---------- Meeting ---------- */
.meeting {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.meeting__facts { list-style: none; margin: 0 0 30px; padding: 0; }
.meeting__facts li {
  font-size: 1.25rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.meeting__facts li:last-child { border-bottom: 0; }
.meeting__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--lavender);
  margin-bottom: 2px;
}
.meeting__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.meeting__flyer {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease;
}
.meeting__flyer:hover { transform: translateY(-4px) scale(1.01); }

/* ---------- Meeting calendar (month grid) ---------- */
.calendar__intro { margin-top: 0 !important; margin-bottom: 28px; }
.calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.cal-month {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  backdrop-filter: blur(4px);
}
.cal-month__title {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--lavender-soft);
  text-align: center;
  margin-bottom: 16px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  text-align: center;
  padding-bottom: 6px;
}
.cal-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-radius: 6px;
}
.cal-day--blank { visibility: hidden; }
.cal-day--meet {
  color: #fff;
  font-weight: 500;
  background: var(--purple-500);
  border: 1px solid rgba(185, 174, 224, 0.55);
}
.cal-day--next {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(230, 224, 250, 0.95), 0 0 18px rgba(185, 174, 224, 0.8);
}
.cal-day--past {
  opacity: 0.22;
  color: var(--text-faint);
  font-weight: 400;
  background: rgba(120, 120, 140, 0.14);
  border-color: rgba(150, 150, 170, 0.2);
  box-shadow: none;
}
.cal-day__tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--purple-500);
  border: 1px solid rgba(215, 207, 240, 0.6);
  border-radius: 2px;
  padding: 1px 5px;
  white-space: nowrap;
}
.cal-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
}
.cal-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--text-dim);
}
.cal-legend__swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.cal-legend__swatch--meet { background: var(--purple-500); border: 1px solid rgba(185, 174, 224, 0.55); }
.cal-legend__swatch--next { background: linear-gradient(135deg, var(--purple-500), var(--purple-700)); box-shadow: 0 0 0 2px rgba(230, 224, 250, 0.95), 0 0 12px rgba(185, 174, 224, 0.8); }
.cal-legend__swatch--past { background: rgba(120, 120, 140, 0.14); border: 1px solid rgba(150, 150, 170, 0.2); opacity: 0.5; }

.resources__download { text-align: center; margin-top: 48px; }

/* ---------- Form ---------- */
.form { margin-top: 36px; }
.form__row { margin-bottom: 22px; }
.form__row label,
.form__check span {
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.form__row label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lavender);
  margin-bottom: 8px;
}
.optional { text-transform: none; letter-spacing: 0.02em; color: var(--text-faint); }
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
  background: rgba(6, 6, 15, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-faint); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(185, 174, 224, 0.15);
}
.form textarea { resize: vertical; }
.form__check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 8px 0 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.form__check input { margin-top: 6px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--purple-500); }
.form__status { text-align: center; margin: 18px 0 0; min-height: 1.4em; font-family: var(--font-head); font-weight: 300; }
.form__status.is-success { color: #b7e0c4; }
.form__status.is-error { color: #e6b2c1; }
.form__fallback { text-align: center; font-family: var(--font-head); font-weight: 300; font-size: 0.9rem; color: var(--text-faint); margin-top: 20px; }

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 56px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(6, 6, 15, 0.6);
}
.footer__wordmark {
  font-family: var(--font-head);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 14px 0.25em;
}
.footer__line {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--lavender);
  margin: 0 0 24px;
}
.footer__closing {
  max-width: 620px;
  margin: 0 auto 24px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.footer__copy { font-family: var(--font-head); font-weight: 300; font-size: 0.8rem; color: var(--text-faint); margin: 0; letter-spacing: 0.1em; }

/* ---------- Reveal animation ---------- */
.section .container > *,
.hero__content > * { }
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards--three, .cards--two { grid-template-columns: 1fr; }
  .meeting { grid-template-columns: 1fr; gap: 32px; }
  .meeting__flyer { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 720px) {
  body { font-size: 1.12rem; }
  .section { padding: 68px 0; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80%, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 96px 32px 32px;
    background: rgba(8, 7, 22, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { font-size: 0.95rem; padding: 8px 0; }
  .nav__cta { margin-top: 12px; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .crisis { flex-direction: column; text-align: center; }
  .lead { font-size: 1.2rem; }
  .guidelines li, .meeting__facts li { font-size: 1.12rem; }
}

/* ==================================================================
   Cinematic upgrade
   ================================================================== */

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ---------- Selection, scrollbar, focus ---------- */
::selection { background: rgba(185, 174, 224, 0.32); color: #fff; }
html { scrollbar-color: var(--purple-500) var(--navy-950); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple-500), var(--purple-700));
  border-radius: 10px;
  border: 3px solid var(--navy-950);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography refinements ---------- */
.section__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-wrap: balance; }
.lead { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--lavender), transparent);
}

/* ---------- Hero: wordmark letters + entrance ---------- */
.wordmark__letters { display: inline-flex; }
.has-js .wordmark__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}
.hero.is-in .wordmark__letter { opacity: 1; transform: none; filter: none; }

.hero__memorial {
  font-family: var(--font-head);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--lavender);
  margin: 0 0 30px;
  opacity: 0.85;
}

.has-js .hero__rule { transform: scaleX(0); transform-origin: center; transition: transform 0.9s ease 0.7s; }
.has-js .hero__sub,
.has-js .hero__tag,
.has-js .hero__memorial,
.has-js .hero__actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.has-js .hero__sub { transition-delay: 0.95s; }
.has-js .hero__tag { transition-delay: 1.1s; }
.has-js .hero__memorial { transition-delay: 1.25s; }
.has-js .hero__actions { transition-delay: 1.4s; }
.hero.is-in .hero__rule { transform: scaleX(1); }
.hero.is-in .hero__sub,
.hero.is-in .hero__tag,
.hero.is-in .hero__memorial,
.hero.is-in .hero__actions { opacity: 1; transform: none; }

/* ---------- Nav: active + underline + brand glow ---------- */
.nav__brand { transition: color 0.2s ease, text-shadow 0.3s ease; }
.nav__brand:hover { text-shadow: 0 0 18px rgba(185, 174, 224, 0.6); }
.nav__menu a:not(.nav__cta) { position: relative; }
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--lavender-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.nav__menu a:not(.nav__cta):hover::after,
.nav__menu a.is-active:not(.nav__cta)::after { transform: scaleX(1); }
.nav__menu a.is-active { color: #fff; }

/* ---------- Buttons: sheen ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 150%; }

/* ---------- Cards: cursor glow ---------- */
.card { position: relative; overflow: hidden; }
.card > * { position: relative; z-index: 1; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(185, 174, 224, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

/* ---------- Guidelines hover ---------- */
.guidelines li { transition: padding-left 0.25s ease, color 0.25s ease; }
.guidelines li:hover { padding-left: 10px; color: #fff; }

/* ---------- Crisis callout: soft pulse ---------- */
.crisis { animation: crisisGlow 5.5s ease-in-out infinite; }
@keyframes crisisGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 174, 224, 0); border-color: rgba(185, 174, 224, 0.4); }
  50% { box-shadow: 0 0 26px 2px rgba(185, 174, 224, 0.18); border-color: rgba(185, 174, 224, 0.7); }
}

/* ---------- Quote: decorative mark + entrance ---------- */
.quote { position: relative; }
.quote__mark {
  display: block;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--lavender);
  opacity: 0.28;
  margin-bottom: 10px;
}
.quote p::before { content: none; }

/* ---------- Meeting flyer: shine ---------- */
.meeting__flyer { position: relative; }
.meeting__flyer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.meeting__flyer:hover::after { left: 130%; }

/* ---------- Scene separators ---------- */
.scene-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 620px;
  margin: 6px auto;
  padding: 8px 24px;
  color: var(--lavender);
}
.scene-sep i {
  height: 1px;
  width: 110px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.scene-sep i:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.scene-sep span { font-size: 0.85rem; opacity: 0.65; }

/* ---------- Footer constellation ---------- */
.footer__constellation {
  display: block;
  width: 240px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 22px;
  color: var(--lavender);
  opacity: 0.8;
}

/* ---------- Scroll reveal (blur-to-sharp) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 720px) {
  .quote__mark { font-size: 4.5rem; }
  .scene-sep i { width: 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  .hero__scroll span { animation: none; }
  .hero__bg { animation: none; }
  .aurora { animation: none; }
  .crisis { animation: none; }
  .has-js .wordmark__letter,
  .has-js .hero__rule,
  .has-js .hero__sub,
  .has-js .hero__tag,
  .has-js .hero__memorial,
  .has-js .hero__actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .btn::after, .meeting__flyer::after { display: none; }
}
