/* Candace N. Newell for Judge - Civil District Court, Division L
   Brand: deep plum purple + kelly green, Lovelo (display) + Raleway (body) */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Dancing+Script:wght@600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/lovelo');

:root {
  --purple: #4B004B;
  --purple-dark: #350335;
  --purple-tint: #F4EAF4;
  --green: #0DAD45;
  --green-dark: #0A8A38;
  --green-tint: #E9F8ED;
  --ink: #201A22;
  --gray: #5B5560;
  --gray-light: #8A8490;
  --paper: #FFFFFF;
  --cream: #FBF9FA;
  --border: #E6E0E6;
  --shadow: 0 10px 30px rgba(75, 0, 75, 0.12);
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4,
.font-display {
  font-family: 'Lovelo', 'Raleway', Arial Black, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--purple);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1.1em; color: var(--gray); }
a { color: var(--green-dark); }

.eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.6em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}
.section--tight { padding: 56px 0; }
.section--purple {
  position: relative;
  background-color: var(--purple);
  color: #fff;
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
  overflow: hidden;
}
.section--purple::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 15px);
  mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
  z-index: 0;
}
.section--purple > .container { position: relative; z-index: 1; }
.section--purple h2, .section--purple h3 { color: #fff; }
.section--purple p { color: #E7D6E7; }
.section--tint { background: var(--purple-tint); }
.section--cream { background: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px 14px 26px;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

/* When two buttons sit side by side, mirror the second button's slant so they nest together */
.btn-row .btn + .btn {
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
  padding: 14px 26px 14px 32px;
}

.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 173, 69, 0.35);
}
.btn--green:hover { background: var(--green-dark); }

.btn--purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 20px rgba(75, 0, 75, 0.3);
}
.btn--purple:hover { background: var(--purple-dark); }

.btn--white {
  background: #fff;
  color: var(--purple);
}
.btn--white:hover { background: var(--green); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--purple);
}
.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--purple-tint);
  color: var(--purple);
}
.main-nav .btn { margin-left: 8px; }

.header-social-row {
  display: flex;
  gap: 8px;
  margin-left: 4px;
}
.main-nav a.header-social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple);
  font-weight: 800;
  font-size: 0.85rem;
}
.main-nav a.header-social-item:hover {
  background: var(--green);
  color: #fff;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 78px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(32,26,34,0.18);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto;
    padding: 12px 24px 24px;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a { display: block; padding: 16px; font-size: 1.05rem; }
  .main-nav .btn { margin: 16px 0 0; width: 100%; }
  .header-social-row {
    display: flex;
    gap: 12px;
    margin: 12px 0 0;
  }
  .main-nav a.header-social-item {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 20%;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75,0,75,0.55) 0%, rgba(53,3,53,0.75) 55%, rgba(32,26,34,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 56px;
  max-width: 760px;
}
.hero-content .eyebrow { color: var(--green); }
.hero-content h1 { color: #fff; margin-bottom: 0.3em; }
.hero-content .lede {
  font-size: 1.15rem;
  color: #F1E4F1;
  max-width: 620px;
}

/* Split hero - full-bleed photo with bold solid-color wordmark overlay (Keisha Lance Bottoms-style) */
.hero--split {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 0% 16%;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,
      rgba(75,0,75,0) 0%,
      rgba(75,0,75,0) 50%,
      rgba(75,0,75,0.5) 56%,
      rgba(75,0,75,0.92) 62%,
      var(--purple) 68%,
      var(--purple) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0px, rgba(255,255,255,0.07) 2px, transparent 2px, transparent 15px);
  mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
}
.hero--split .container {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.hero-content {
  max-width: 380px;
}
.hero-name {
  font-family: 'Lovelo', 'Raleway', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 0.25em;
}
.hero-slogan {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--green);
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-bottom: 0.5em;
}
.hero--split .lede {
  font-size: 1.1rem;
  color: #F1E4F1;
  max-width: 460px;
}
.hero-signup {
  background: rgba(255,255,255,0.98);
  border-radius: 4px;
  padding: 24px;
  margin-top: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-signup-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-signup input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--cream);
}
.hero-signup input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.hero-signup .btn {
  width: 100%;
  margin-top: 2px;
  justify-content: center;
}
@media (max-width: 500px) {
  .hero-signup-row { flex-direction: column; }
}
@media (max-width: 900px) {
  .hero--split {
    display: block;
    min-height: 0;
    overflow: visible;
  }
  .hero-bg {
    position: relative;
    inset: auto;
    height: 280px;
  }
  .hero-bg::before {
    background-image: linear-gradient(180deg, rgba(75,0,75,0) 45%, rgba(75,0,75,0.85) 92%, var(--purple) 100%);
  }
  .hero-bg::after { display: none; }
  .hero--split .container {
    position: relative;
    display: block;
    justify-content: flex-start;
    width: 100%;
    padding: 32px 24px 40px;
    background: var(--purple);
    overflow: hidden;
  }
  .hero--split .container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0px, rgba(255,255,255,0.07) 2px, transparent 2px, transparent 15px);
    mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
    z-index: 0;
  }
  .hero-content { position: relative; z-index: 1; max-width: none; }
}

/* Page header (interior pages) - purple overlay directly over the photo, text sits well below the top */
.page-header {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.page-header .ph-media {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 40%;
}
.page-header .ph-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(75,0,75,0.55) 0%, rgba(75,0,75,0.6) 50%, rgba(53,3,53,0.88) 100%);
}
.page-header .ph-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 15px);
  mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 25%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 25%);
}
.page-header .ph-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 250px;
  padding-bottom: 40px;
}
.page-header h1 { color: #fff; }
.page-header p { color: #E7D6E7; max-width: 640px; }
@media (max-width: 700px) {
  .page-header .ph-media { min-height: 340px; }
  .page-header .ph-content { padding-top: 120px; }
}

/* Grid utilities */
.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.split--reverse .split-media { order: -1; }
}

.split-media img {
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  box-shadow: var(--shadow);
  width: 100%;
}

.split-media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-media-duo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
}
.card .card-num {
  display: block;
  font-family: 'Lovelo', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--purple-tint);
  -webkit-text-stroke: 1.5px var(--green);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }

.card--accent {
  border-top: 5px solid var(--green);
}

/* Why Candace - editorial divided-column layout (no boxed cards) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }
.why-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-item {
  padding: 0 30px;
  border-left: 2px solid var(--border);
}
.why-item:first-child { border-left: none; padding-left: 0; }
@media (max-width: 900px) {
  .why-item {
    border-left: none;
    border-top: 2px solid var(--border);
    padding: 28px 0 0;
    margin-top: 28px;
  }
  .why-item:first-child { border-top: none; padding-top: 0; margin-top: 0; }
}
.why-item h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: transparent;
  -webkit-text-stroke: 1.2px var(--green);
  margin-bottom: 0.5em;
}
.why-item p { margin-bottom: 0; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat .num {
  font-family: 'Lovelo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
}
.section--purple .stat .label { color: #E7D6E7; }

/* Pull quote */
.pull-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote .quote-mark {
  display: block;
  font-family: 'Lovelo', serif;
  font-weight: 900;
  font-size: 5rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: -6px;
}
.pull-quote .quote-text {
  font-family: 'Lovelo', 'Raleway', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: #fff;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.pull-quote .quote-attribution {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 12px 30px 12px 24px;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

/* Timeline / accomplishments list */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--green-tint);
}
.timeline li {
  position: relative;
  padding: 4px 0 34px 30px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--green-tint);
}
.timeline h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.timeline .when {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 6px;
}

/* Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .awards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(160deg, var(--green), #2f9e4f);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.32);
}
.award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.1rem;
}
.award-card h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 8px;
}
.award-card .org {
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
@media (max-width: 600px) { .form-card { padding: 26px; } }

.form-success {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
}
.form-success h3 { color: var(--green); margin-bottom: 8px; }
.form-success p { color: var(--gray); margin: 0; }
.form-error {
  color: #B3261E;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 12px;
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
}
.checkbox-item input { width: 18px; height: 18px; accent-color: var(--green); }

.form-note {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-top: 8px;
}

/* Affidavit document */
.affidavit-doc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px;
}
@media (max-width: 600px) { .affidavit-doc { padding: 28px 22px; } }
.affidavit-doc .doc-seal {
  text-align: center;
  margin-bottom: 18px;
}
.affidavit-doc .doc-seal img {
  height: 56px;
  width: auto;
}
.affidavit-doc h2 {
  text-align: center;
  margin-bottom: 4px;
}
.affidavit-doc .doc-sub {
  text-align: center;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 34px;
}
.affidavit-doc p { color: var(--ink); }
.affidavit-doc hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}
.sig-line {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.sig-block { flex: 1; min-width: 200px; }
.sig-block .rule {
  border-bottom: 1.5px solid var(--ink);
  height: 42px;
}
.sig-block input.rule {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  padding: 0 0 6px;
}
.sig-block input.rule:focus {
  outline: none;
  border-bottom-color: var(--purple);
}
.sig-block .cap {
  font-size: 0.78rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  font-weight: 700;
}

/* Mini 2x2 gallery (used in place of a single split-media image) */
.mini-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 0;
}
.mini-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  box-shadow: var(--shadow);
}
.mini-gallery--contain img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}
.mini-gallery--short {
  grid-template-columns: 1fr 1fr;
}
.mini-gallery--short img {
  aspect-ratio: 3 / 2;
}
.mini-gallery img:nth-child(n+3) {
  transform: translateX(-18px);
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.photo-gallery--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 0;
  }
  .photo-gallery figure:nth-child(n+3) {
    transform: translateX(-22px);
  }
}
.photo-gallery figure {
  margin: 0;
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-gallery figcaption {
  position: relative;
  margin-top: -46px;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(32,26,34,0.85), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Callout box */
.callout {
  background: var(--green-tint);
  border: 1px solid #C9EBD4;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--purple {
  background: var(--purple-tint);
  border-color: #E0CCE0;
}

/* Footer */
.site-footer {
  position: relative;
  background-color: var(--purple-dark);
  color: #D9C4D9;
  padding: 56px 0 28px;
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 15px);
  mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 15%, transparent 45%);
  z-index: 0;
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer h4 {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a {
  color: #D9C4D9;
  text-decoration: none;
}
.site-footer a:hover { color: var(--green); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 4px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8A8490;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.9rem;
}
.social-row a:hover { background: var(--green); border-color: var(--green); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.tag-pill {
  display: inline-block;
  background: var(--purple-tint);
  color: var(--purple);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin: 0 8px 8px 0;
}

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .affidavit-doc { box-shadow: none; border: none; padding: 0; }
}

/* Site lock (pre-launch preview gate) */
.site-lock {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.site-lock-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.site-lock-logo { height: 48px; width: auto; margin: 0 auto 20px; }
.site-lock-form h2 { margin-bottom: 8px; }
.site-lock-form p { margin-bottom: 20px; }
.site-lock-form .field { text-align: left; }
.site-lock-error {
  color: #B3261E;
  font-size: 0.85rem;
  font-weight: 700;
  margin: -6px 0 16px;
}
@media print {
  .site-lock { display: none !important; }
}

