/* ==========================================================================
   The Bridge to Freedom through Models of Recovery
   Charity site - purple / orange / charcoal, Outfit
   ========================================================================== */

:root {
  --ink: #2c2c2c;
  --ink-soft: #3f3b38;
  --muted: #6b6560;
  --paper: #f6f3ef;
  --paper-2: #efe8e0;
  --paper-3: #e4d9ce;
  --white: #ffffff;
  --line: #ddd4ca;
  --magenta: #5c2d91;
  --magenta-deep: #4a2278;
  --pink: #c9a06a;
  --purple: #5c2d91;
  --purple-deep: #3d1c66;
  --orange: #e86a17;
  --orange-deep: #c4530d;
  --cyan: #e86a17;
  --cyan-soft: #f4b183;
  --blue: #5c2d91;
  --success: #1b7a4e;
  --error: #b42318;
  --wa: #128c7e;
  --shadow-xs: 0 1px 2px rgba(44, 44, 44, 0.06);
  --shadow-sm: 0 8px 22px rgba(44, 44, 44, 0.08);
  --shadow-md: 0 18px 44px rgba(44, 44, 44, 0.12);
  --shadow-lg: 0 30px 70px rgba(44, 44, 44, 0.16);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 86px;
  --font: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1140px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: break-word;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

main,
.section,
.site-header,
.site-footer,
.trust-strip,
.cta-band,
.hero {
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: var(--magenta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.05rem, 5vw, 3.55rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

h3 {
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 2.25rem, var(--container));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--magenta);
  color: var(--white);
  padding: 0.65rem 1.1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.07s; }
[data-reveal-delay="2"] { transition-delay: 0.14s; }
[data-reveal-delay="3"] { transition-delay: 0.21s; }
[data-reveal-delay="4"] { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(92, 45, 145, 0.28);
}

.btn-primary:hover {
  background: var(--purple-deep);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--magenta-deep);
  border-color: var(--magenta);
}

.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
}

.btn-ghost,
.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  color: var(--white);
  border-color: var(--white);
}

.btn-donate,
.nav-donate {
  background: var(--purple);
  color: var(--white) !important;
  border-color: var(--purple);
}

.btn-donate:hover,
.nav-donate:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--white) !important;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.header-bar-note {
  margin: 0;
  color: var(--purple);
}

.header-bar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}

.header-bar-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.header-bar-links a:hover {
  color: var(--magenta-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: 42% 18%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px #eadcf4;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.logo-light .logo-name,
.logo-light .logo-sub {
  color: var(--white);
}

.logo-light .logo-sub {
  opacity: 0.75;
}

.logo-light .logo-img {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  display: inline-flex;
  padding: 0.5rem 0.75rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--magenta-deep);
  background: #efe4f7;
}

.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  margin-left: 0.35rem;
  padding-inline: 1rem;
}

.nav-cta:hover {
  background: var(--purple-deep);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("../images/hero.jpg") center 42% / cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 21, 48, 0.18) 0%, rgba(27, 21, 48, 0.38) 38%, rgba(27, 21, 48, 0.82) 100%),
    linear-gradient(90deg, rgba(92, 45, 145, 0.34), rgba(232, 106, 23, 0.16));
}

.hero-copy {
  padding: 6.5rem 0 3.2rem;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  max-width: 100%;
}

.section-kicker {
  color: var(--magenta-deep);
}

.kicker-light {
  color: var(--cyan-soft);
}

.hero h1 {
  color: var(--white);
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead {
  max-width: 40rem;
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.hero-stats div {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Trust strip */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.4rem 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--purple);
}

.trust-item strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-band {
  background: var(--paper-2);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 16rem;
  font-weight: 600;
  line-height: 1.35;
}

.about-badge span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  margin-bottom: 0.2rem;
}

.check-list {
  margin: 1.2rem 0 1.4rem;
}

.check-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--purple);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem 1.35rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
}

.service-num {
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #d4b8ec;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--magenta-deep);
  background: #efe4f7;
  margin-bottom: 0.9rem;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.phase-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.phase-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  border-top: 3px solid var(--magenta);
}

.phase-card:nth-child(2) {
  border-top-color: var(--purple);
}

.phase-card:nth-child(3) {
  border-top-color: var(--cyan);
}

.phase-card span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.phase-card h3 {
  margin: 0.35rem 0 0.4rem;
}

.phase-card p {
  margin: 0;
  font-size: 0.96rem;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #2c2c2c;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
  transform: scale(1.05);
}

.portfolio-wide {
  grid-column: span 2;
}

.portfolio-wide img {
  aspect-ratio: 16 / 8.4;
}

.portfolio-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(27, 21, 48, 0.88));
  color: var(--white);
  text-align: left;
  font-size: 0.88rem;
}

.portfolio-cap strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(27, 21, 48, 0.88);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  margin-top: 0.8rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* Who we work with */

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.who-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.3rem;
  box-shadow: var(--shadow-xs);
  border-top: 3px solid var(--purple);
}

.who-card p:last-child {
  margin-bottom: 0;
}

.peer-note {
  margin: 1.6rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  color: var(--ink);
}

/* Testimonials */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-xs);
}

.value-card blockquote {
  margin: 0;
}

.value-card p {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.value-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--magenta-deep);
}

.review-cta {
  margin-top: 1.8rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review-cta p {
  margin: 0;
  max-width: 42rem;
}

/* Donate band */

.donate-band {
  background: var(--purple);
  color: rgba(255, 255, 255, 0.92);
  padding: 3.8rem 0;
}

.donate-band-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.donate-band h2 {
  color: var(--white);
  max-width: 16ch;
}

.donate-band p {
  max-width: 38rem;
  margin-bottom: 0;
}

.benefit-block {
  margin-top: 2.2rem;
  padding: 1.6rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange);
}

.benefit-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 0.6rem;
}

.benefit-list {
  columns: 2;
  column-gap: 2rem;
}

/* Statement pages */

.statement-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}

.statement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}

.statement-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.statement-card p {
  font-size: 1.08rem;
}

.statement-voice p {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink);
}

.statement-highlight {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--orange);
  background: var(--paper-2);
  font-weight: 600;
}

.statement-signoff {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.statement-aside {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
}

.contact-list a + a {
  display: block;
  margin-top: 0.2rem;
}

/* CTA band */

.cta-band {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.6rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
}

.cta-band p {
  max-width: 38rem;
  margin-bottom: 0;
}

/* Contact */

.contact-list {
  margin: 1.2rem 0 1.4rem;
}

.contact-list li {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.contact-list li > span:first-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.crisis-note {
  background: #fff4f4;
  border-left: 4px solid var(--error);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow-xs);
}

.map-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 240px;
  border: 0;
}

.map-note {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 0.95rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid #c9a8e8;
  border-color: var(--magenta);
  background: var(--white);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-check label {
  margin: 0;
  font-weight: 500;
  color: var(--ink-soft);
}

.form-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.form-status.is-pending {
  background: #eef7fb;
  color: var(--blue);
}

.form-status.is-success {
  background: #e8f6ee;
  color: var(--success);
}

.form-status.is-error {
  background: #fdecea;
  color: var(--error);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.2rem;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 30rem;
}

.footer-meta {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-heading {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--white);
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.4rem;
}

.footer-social {
  margin-top: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 0.88rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

/* Privacy */

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 3.4rem 0 2.4rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.35rem;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 46rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

/* Responsive */

@media (max-width: 1180px) {
  .logo-sub {
    display: none;
  }

  .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 1024px) {
  .hero-stats,
  .trust-strip-inner,
  .phase-row,
  .who-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid,
  .cta-band-inner,
  .donate-band-inner,
  .statement-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .donate-band-inner,
  .cta-band-inner {
    display: grid;
  }

  .benefit-list {
    columns: 1;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-wide {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
    padding: 5.5rem 1.3rem 2rem;
    z-index: 99;
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link {
    padding: 0.85rem 0.9rem;
  }

  .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .header-bar-note {
    display: none;
  }
}

@media (max-width: 720px) {
  .eyebrow,
  .section-kicker {
    letter-spacing: 0.08em;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 5.2rem 0 2.2rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-stats,
  .trust-strip-inner,
  .services-grid,
  .phase-row,
  .who-grid,
  .values-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-wide {
    grid-column: auto;
  }

  .review-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .section {
    padding: 3.4rem 0;
  }
}

@media (max-width: 520px) {
  .logo-sub {
    display: none;
  }

  .header-bar-links span {
    display: none;
  }
}
