/* Fair Housing Rights Center — site styles */
:root {
  --peach: #FBD5AD;
  --peach-soft: #FDEBD8;
  --ink: #212529;
  --navy: #25283A;
  --navy-deep: #1B1D2B;
  --red: #BF2E1A;
  --red-dark: #9E2413;
  --gold: #F2A900;
  --muted: #5f6470;
  --line: #e6e2dc;
  --bg: #ffffff;
  --bg-alt: #faf6f1;
  --font-heading: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(37, 40, 58, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
ul, ol { padding-left: 1.3em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius) var(--radius); z-index: 100; }
.skip-link:focus { top: 0; }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  letter-spacing: .02em; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--light { background: var(--peach); color: var(--navy); }
.btn--light:hover { background: #f8c88f; color: var(--navy); }
.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--on-dark { border-color: #fff; color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--navy); }
.btn--small { padding: .55rem 1.2rem; font-size: .9rem; }

/* Announcement + header */
.announcement { background: var(--navy); color: #fff; font-size: .95rem; text-align: center; }
.announcement p { margin: 0; padding: .55rem 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; }
.site-logo img { width: 220px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 8px; padding: .45rem .7rem; color: var(--navy); font: inherit; font-weight: 700; align-items: center; gap: .5rem; cursor: pointer; }
.nav-toggle__bars { width: 20px; height: 2px; background: currentColor; position: relative; display: block; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0 1rem; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: .8rem 0; border-bottom: 0; }
  .site-nav__cta { padding-top: .8rem; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--peach); }
.section--peach { background: var(--peach-soft); }
.section__heading { margin-bottom: 1.5rem; }
.section__intro { max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: .6rem; }
.section--dark .eyebrow { color: var(--peach); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: var(--peach-soft); }
.center { text-align: center; }
.center .section__intro { margin-inline: auto; }
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--wide-text { grid-template-columns: 3fr 2fr; } }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.prose { max-width: 48rem; }
.prose ul { margin-bottom: 1.2em; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-stack img { aspect-ratio: 3 / 4; object-fit: cover; }
.photo-stack img:last-child { margin-top: 2.5rem; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero--image { background-size: cover; background-position: center; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,40,58,.92), rgba(37,40,58,.55)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero .eyebrow { color: var(--peach); }
.page-hero p { max-width: 46rem; font-size: 1.1rem; }

/* Slider */
.slider { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.slider__track { display: grid; }
.slide { grid-area: 1 / 1; min-height: min(80vh, 640px); display: flex; align-items: center; background-size: cover; background-position: center; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,29,43,.88) 0%, rgba(27,29,43,.55) 60%, rgba(27,29,43,.25) 100%); }
.slide.is-active { opacity: 1; visibility: visible; position: relative; z-index: 1; }
.slide__content { position: relative; padding: clamp(3rem, 8vw, 6rem) 0; max-width: 42rem; }
.slide__content h1, .slide__content h2 { color: #fff; }
.slide__content p { font-size: 1.1rem; margin-bottom: 1.6rem; }
.slider__controls { position: absolute; inset-inline: 0; bottom: 1.2rem; z-index: 2; display: flex; justify-content: center; align-items: center; gap: .8rem; }
.slider__btn { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.5); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.slider__btn:hover { background: rgba(255,255,255,.3); }
.slider__dots { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.slider__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider__dot[aria-pressed="true"] { background: var(--peach); border-color: var(--peach); }
.slider--single .slide { opacity: 1; visibility: visible; position: relative; }

/* Promo banner */
.promo { background: var(--bg-alt); }
.promo img { width: 100%; }
.promo__caption { padding: 1rem 0 0; font-size: .95rem; color: var(--muted); }

/* Feature tiles */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 2rem; }
.tile { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; color: var(--navy); font-weight: 700; box-shadow: var(--shadow); transition: transform .15s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--red); color: var(--navy); }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--peach); color: var(--red); margin-bottom: .9rem; }
.tile__icon svg { width: 26px; height: 26px; }
.tile span { display: block; }
.tile small { font-weight: 400; color: var(--muted); }

/* Cards */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card__body { padding: 1.5rem; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p:last-child { margin-bottom: 0; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card--plain { box-shadow: none; border: 1px solid var(--line); }
.card--icon .card__body { padding-top: 1.7rem; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--peach); color: var(--red); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 28px; height: 28px; }

/* Counters */
.counters { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); text-align: center; }
.counter__value { font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--peach); line-height: 1; display: block; }
.counter__label { display: block; margin-top: .5rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }

/* Team */
.team-grid { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; border-left: 5px solid var(--peach); }
.team-card__name { display: block; font-weight: 700; color: var(--navy); }
.team-card__title { display: block; color: var(--muted); font-size: .95rem; }

/* Services */
.service { scroll-margin-top: 6rem; }
.service + .service { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 800px) { .service:nth-child(even) .two-col > :first-child { order: 2; } }
.anchor-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.anchor-list a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.anchor-list a:hover { border-color: var(--red); color: var(--red); }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; width: 100%; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { padding: .6rem .2rem 0; font-size: .95rem; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 96vh; }
.lightbox::backdrop { background: rgba(27,29,43,.92); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border-radius: 6px; background: #fff; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: .6rem .2rem; gap: 1rem; }
.lightbox__bar button { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font: inherit; }
.lightbox__bar button:hover { background: rgba(255,255,255,.3); }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 40rem; }
.form label { font-weight: 600; display: block; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #cfcac2; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(251,213,173,.7); }
.form textarea { min-height: 150px; resize: vertical; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-panel { background: rgba(255,255,255,.96); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.bg-cover { background-size: cover; background-position: center; position: relative; }
.bg-cover::before { content: ""; position: absolute; inset: 0; background: rgba(37,40,58,.72); }
.bg-cover > .container { position: relative; }

/* Contact */
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; background-image: linear-gradient(rgba(37,40,58,.9), rgba(37,40,58,.9)), url("/assets/images/contact-card-background.jpg"); background-size: cover; }
.info-card h3 { color: var(--peach); font-size: 1.15rem; margin-bottom: .6rem; }
.info-card p { margin: 0 0 .3rem; }
.info-card a { color: #fff; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Reports / docs */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.doc-list a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 600; }
.doc-list a:hover { border-color: var(--red); color: var(--red); }
.doc-list svg { flex: none; width: 24px; height: 24px; color: var(--red); }
.badge { display: inline-block; background: var(--peach); color: var(--navy); font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; }

/* Donate */
.donate-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.donate-box ol { padding-left: 1.3em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d9d7d2; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--peach); }
.site-footer__grid { display: grid; gap: 2.5rem; padding: 3.5rem 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.site-footer__logo { width: 238px; background: #fff; padding: .6rem .8rem; border-radius: 8px; margin-bottom: 1.2rem; }
.site-footer__heading { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--peach); margin-bottom: 1rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__contact p { margin-bottom: .5rem; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0 1.5rem; font-size: .92rem; }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer__bar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer__bar-links a { text-decoration: none; }
.site-footer__copyright { margin: 1rem 0 0; color: #a9a7a1; font-size: .85rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--red); color: #fff; }
.social svg { width: 20px; height: 20px; }

/* Form states */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--red); }
.form__error { color: var(--red); font-size: .9rem; margin: .35rem 0 0; }
.form__status { margin: 0; padding: .9rem 1.1rem; border-radius: 8px; font-weight: 600; }
.form__status--success { background: #e6f4ea; color: #1e5e35; border: 1px solid #b7dfc3; }
.form__status--error { background: #fbe9e7; color: var(--red-dark); border: 1px solid #f2c2bb; }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn[disabled], .btn--disabled { opacity: .6; cursor: not-allowed; transform: none; }
