/* DFRT — Fourth Judicial District Domestic Fatality Review Team */

:root {
  --purple-900: #2a1740;
  --purple-700: #40235d;
  --purple-500: #6b4c93;
  --lav-300: #a693be;
  --lav-200: #d6c9e4;
  --lav-100: #efe9f6;
  --cream: #fdf7f4;
  --paper: #ffffff;
  --ink: #221a2c;
  --muted: #5d5368;
  --line: #e8dfec;
  --sage: #3e603b;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(42, 23, 64, .06), 0 4px 14px rgba(42, 23, 64, .06);
  --shadow-md: 0 2px 4px rgba(42, 23, 64, .06), 0 18px 40px rgba(42, 23, 64, .12);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple-700); text-underline-offset: 3px; }
a:hover { color: var(--purple-500); }

:focus-visible { outline: 3px solid var(--lav-300); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--purple-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--purple-700); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple-500); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lav-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--purple-700); color: #fff; box-shadow: 0 8px 20px rgba(64, 35, 93, .25); }
.btn-primary:hover { background: var(--purple-900); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--lav-200); color: var(--purple-700); background: transparent; }
.btn-ghost:hover { border-color: var(--purple-700); background: var(--paper); color: var(--purple-700); }
.btn-sm { padding: 11px 18px; font-size: .95rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--purple-700);
}
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 247, 244, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--purple-900); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.brand-text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 10px 13px; border-radius: 8px;
  font-size: .97rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.site-nav a:not(.btn):hover { background: var(--lav-100); color: var(--purple-700); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--purple-700); font-weight: 700; background: var(--lav-100); }
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--purple-900); border-radius: 2px;
  transition: transform .2s, background-color .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 22px; background: var(--cream);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav .btn { margin: 10px 0 0; }
}
@media (max-width: 420px) { .brand-text span { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(166, 147, 190, .35), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.35; color: var(--purple-500);
  margin: 0 0 34px; padding-left: 20px; border-left: 3px solid var(--lav-300);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-media::before {
  content: ""; position: absolute; inset: 28px -22px -22px 28px;
  background: var(--purple-700); border-radius: var(--radius);
}
.hero-media img.photo {
  position: relative; width: 100%; aspect-ratio: 8 / 9; object-fit: cover; object-position: 55% 40%;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.hero-seal {
  position: absolute; left: -38px; bottom: -34px; width: 132px; height: 132px;
  border-radius: 50%; background: var(--cream); padding: 7px; box-shadow: var(--shadow-md);
}
.hero-seal img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; width: min(100% - 44px, 440px); margin-left: 22px; }
  .hero-media img.photo { aspect-ratio: 5 / 4; }
  .hero-seal { width: 104px; height: 104px; left: -26px; bottom: -26px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section-white { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--lav-300); }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head-row h2 { margin: 0; }

/* Mission (Purpose / Goal / Impact) */
.mission {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700) 65%, #553479);
  padding: clamp(60px, 8vw, 104px) 0;
}
.mission::before {
  content: ""; position: absolute; left: -160px; bottom: -260px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(166, 147, 190, .28), transparent 70%); pointer-events: none;
}
.mission-cards { position: relative; display: grid; grid-template-columns: .9fr 1fr 1fr 1fr; gap: 20px; }
.mission-map { display: grid; place-items: center; padding: 26px; background: var(--lav-100); border-radius: 22px; }
.mission-map img { width: min(100%, 230px); filter: drop-shadow(0 12px 18px rgba(42, 23, 64, .2)); }
.mission-card {
  padding: 30px 28px 32px; border-radius: 22px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .25s, background-color .25s, border-color .25s;
}
.mission-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .32); }
.mission-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px;
  border-radius: 16px; background: var(--lav-100); color: var(--purple-700);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.mission-icon svg { width: 30px; height: 30px; }
.mission-card h3 { color: #fff; font-size: 1.6rem; margin: 0 0 10px; }
.mission-card p { margin: 0; color: #ddd2ea; line-height: 1.65; }
@media (max-width: 1020px) { .mission-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mission-cards { grid-template-columns: 1fr; } .mission-map img { width: 190px; } }

/* Partners — scrolling logo bar */
.partners .section-head { margin-bottom: clamp(26px, 4vw, 44px); }
.marquee {
  overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: grid; place-items: center; height: 96px; padding: 0 clamp(26px, 4vw, 52px); }
.marquee-track img { height: 58px; width: auto; max-width: none; object-fit: contain; }
.marquee-track img.tall { height: 88px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .marquee-track li { height: 76px; } .marquee-track img { height: 44px; } .marquee-track img.tall { height: 68px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* Report cards */
.report-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.report-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.report-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lav-200); color: var(--ink); }
.report-cover { overflow: hidden; aspect-ratio: 4 / 3; background: var(--lav-100); }
.report-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.report-card:hover .report-cover img { transform: scale(1.04); }
.report-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.report-body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--purple-900); }
.report-body svg { flex: none; width: 20px; height: 20px; color: var(--purple-500); transition: transform .2s; }
.report-card:hover .report-body svg { transform: translate(2px, -2px); }
@media (max-width: 860px) { .report-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .report-grid { grid-template-columns: 1fr; } }

.archive-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.archive-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 600;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.archive-link:hover { border-color: var(--lav-300); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--purple-700); }
.archive-link img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.archive-link span { flex: 1; }
.archive-link svg { width: 17px; height: 17px; color: var(--lav-300); }
.archive-link:hover svg { color: var(--purple-500); }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700) 70%, #553479);
  padding: clamp(56px, 8vw, 96px) 0 clamp(52px, 7vw, 84px);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%);
  background: url("images/logo-light.png") center / contain no-repeat; opacity: .09; pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--lav-200); }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero p.lede { max-width: 620px; margin: 18px 0 0; font-size: 1.2rem; color: #e4daee; }

/* ---------- Prose / About ---------- */
.prose p { font-size: 1.12rem; }
.prose p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--purple-900); }
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.fact-card { position: sticky; top: 104px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; }
.fact-card img { width: 170px; margin: 0 auto 22px; }
.fact-card dl { margin: 0; display: grid; gap: 16px; text-align: left; }
.fact-card dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact-card dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--purple-900); }
.fact-card div + div { padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .fact-card { position: static; } }

/* ---------- Timeline (History) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--lav-200); }
.timeline li { position: relative; padding: 0 0 44px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream); border: 4px solid var(--purple-700);
}
.timeline .year { display: block; font: 600 clamp(1.7rem, 3vw, 2.2rem)/1.1 var(--font-display); color: var(--purple-700); margin-bottom: 10px; }
.timeline p { margin: 0; font-size: 1.12rem; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Steps (Review Process) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
.step {
  counter-increment: step; display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(26px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm);
}
.step-title::before {
  content: "0" counter(step); display: block; margin-bottom: 10px;
  font: 600 3.2rem/1 var(--font-display); color: var(--lav-300);
}
.step-title h2 { font-size: 1.65rem; margin: 0; }
.step-body > p:first-child { font-size: 1.14rem; color: var(--purple-900); }
.step-body .lead-in { font-weight: 600; margin-bottom: .7em; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 13px 16px 13px 48px; background: var(--cream); border-radius: var(--radius-sm); }
.checklist li::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; } .checklist.cols { grid-template-columns: 1fr; } }

/* ---------- Members ---------- */
.leader-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.leader img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.leader div { padding: 20px 24px 24px; }
.leader .role { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-500); margin: 0 0 6px; }
.leader h3 { margin: 0; font-size: 1.3rem; }
@media (max-width: 760px) { .leader-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

.info-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 5vw, 72px); padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.info-grid:first-child { border-top: 0; padding-top: 0; }
.info-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0; }
.info-grid p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

.roster { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.roster li {
  break-inside: avoid; margin: 0 0 12px; padding: 16px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
}
.roster .name { display: block; font-weight: 700; color: var(--purple-900); line-height: 1.35; }
.roster .org { display: block; color: var(--muted); font-size: .97rem; line-height: 1.45; margin-top: 2px; }
.tag {
  display: inline-block; margin-top: 9px; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--lav-100); color: var(--purple-700);
}
.tag.solid { background: var(--purple-700); color: #fff; }
.legend { display: grid; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.legend .tag { margin: 0 8px 0 0; }
@media (max-width: 760px) { .roster { columns: 1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro p { font-size: 1.25rem; line-height: 1.6; color: var(--purple-900); }
.contact-intro img { width: 150px; margin-top: 28px; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--purple-900); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple-500); background: var(--paper); box-shadow: 0 0 0 4px rgba(166, 147, 190, .3); }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 26px; font-size: .98rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--purple-700); flex: none; }
.form-card .btn { width: 100%; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-size: .98rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e9f1e7; color: #2c4a29; }
.form-status.err { background: #fbeaea; color: #8a2020; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-intro img { display: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lav-100); padding: clamp(48px, 6vw, 76px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p { margin: 0; color: var(--muted); max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-900); color: #d9cfe4; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 18px; max-width: 420px; }
.footer-brand img { width: 104px; height: 104px; object-fit: contain; flex: none; }
.footer-brand strong { display: block; font: 600 1.3rem/1.25 var(--font-display); color: #fff; }
.footer-brand span { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-300); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; align-content: start; }
.footer-nav a { color: #e9e1f1; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem;
}
.footer-bottom p { margin: 0; }
.login-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; font-weight: 600;
  transition: background-color .2s, border-color .2s;
}
.login-link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.login-link svg { width: 16px; height: 16px; }
@media (max-width: 540px) { .footer-nav { gap: 10px 36px; } .footer-brand img { width: 84px; height: 84px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
