/* =========================================================
   Community Care Foundation — stylesheet
   ========================================================= */

/* -- Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* -- Design tokens ------------------------------------------------------- */
:root {
  --navy: #132A54;
  --navy-deep: #08183A;
  --red: #B93327;
  --red-deep: #801E18;
  --green: #2D6E44;
  --green-deep: #1B4429;
  --gold: #DAA020;

  --bg: #FAF6EC;
  --bg-warm: #F0E7D2;
  --bg-card: #FFFFFF;
  --ink: #1A1712;
  --ink-muted: #5D5548;
  --ink-soft: #8A8377;
  --rule: #DBD0B8;
  --rule-soft: #E7DFCB;

  --shadow-sm: 0 1px 2px rgba(19,42,84,.04), 0 2px 8px rgba(19,42,84,.04);
  --shadow-md: 0 4px 12px rgba(19,42,84,.06), 0 12px 28px rgba(19,42,84,.06);
  --shadow-lg: 0 20px 60px rgba(19,42,84,.10);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --container: 1180px;
  --container-narrow: 820px;
}

/* -- Typography ---------------------------------------------------------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1, .h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); font-weight: 500; }
h2, .h2 { font-size: clamp(1.75rem, 3vw + .6rem, 2.75rem); font-weight: 500; }
h3, .h3 { font-size: clamp(1.25rem, 1.5vw + .5rem, 1.55rem); font-weight: 600; }
p { max-width: 66ch; }
p + p { margin-top: 1em; }
strong { font-weight: 600; color: var(--ink); }

/* Eyebrow — the ribbon-marked section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20' fill='none'><path d='M7 4 C4 8 4 11 7 15 M7 4 C10 8 10 11 7 15 M7 15 L5 20 M7 15 L9 20' stroke='%23B93327' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* -- Layout utilities ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--warm { background: var(--bg-warm); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20' fill='none'><path d='M7 4 C4 8 4 11 7 15 M7 4 C10 8 10 11 7 15 M7 15 L5 20 M7 15 L9 20' stroke='%23DAA020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.section-lede { margin-top: 1rem; font-size: 1.1rem; color: var(--ink-muted); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* -- Header / navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.5rem;
  max-width: 1280px; margin: 0 auto; gap: 1rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 52px; width: auto; }
.nav__menu {
  display: flex; align-items: center; gap: 1.75rem; list-style: none; padding: 0;
}
.nav__menu a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav__menu a:hover { color: var(--navy); border-bottom-color: var(--red); text-decoration: none; }
.nav__menu a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__toggle {
  display: none; padding: .5rem; border-radius: var(--radius-sm);
  color: var(--navy);
}
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav__logo img { height: 44px; }
  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh;
    width: 82%; max-width: 340px;
    background: #fff;
    display: flex;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -10px 0 40px rgba(19,42,84,.14);
    overflow-y: auto;
    z-index: 60;
  }
  .nav__menu[data-open="true"] { transform: translateX(0); }
  .nav__menu li { width: 100%; }
  .nav__menu a {
    display: block; padding: .95rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.05rem;
  }
  .nav__menu a[aria-current="page"] { border-bottom-color: var(--red); }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__cta .btn { display: none; }
  body.nav-open { overflow: hidden; }
}

/* -- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); box-shadow: 0 8px 22px rgba(185,51,39,.22); }
.btn--secondary { background: var(--navy); color: #fff; }
.btn--secondary:hover { background: var(--navy-deep); box-shadow: 0 8px 22px rgba(19,42,84,.22); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn--wide { min-width: 200px; }

/* -- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,15,50,.35) 0%, rgba(0,15,50,.35) 45%, rgba(0,15,50,.72) 100%),
    linear-gradient(90deg, rgba(0,15,50,.55) 0%, rgba(0,15,50,.15) 55%, rgba(0,15,50,0) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 0;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #fff;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding: .35rem .85rem;
  background: rgba(185, 51, 39, 0.9);
  border-radius: 999px;
}
.hero__eyebrow::before {
  content: "";
  width: 12px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20' fill='none'><path d='M7 4 C4 8 4 11 7 15 M7 4 C10 8 10 11 7 15 M7 15 L5 20 M7 15 L9 20' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw + .5rem, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero__body {
  font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem);
  margin-top: 1.5rem;
  max-width: 55ch;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero__cta {
  margin-top: 2.2rem;
  display: flex; flex-wrap: wrap; gap: .85rem;
}

/* Ribbon divider under hero */
.ribbon-divider {
  height: 14px;
  background:
    linear-gradient(90deg, transparent 0 5%, var(--green) 5% 55%, transparent 55% 100%),
    linear-gradient(90deg, transparent 0 40%, var(--red) 40% 95%, transparent 95% 100%);
  background-repeat: no-repeat;
  background-size: 100% 3px, 100% 3px;
  background-position: 0 4px, 0 9px;
  border-bottom: 1px solid var(--rule);
}

/* Mini page hero (sub-pages) */
.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(1200px 300px at 15% -20%, rgba(185,51,39,.06), transparent 70%),
    radial-gradient(1000px 300px at 90% -10%, rgba(45,110,68,.05), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  max-width: 20ch;
}
.page-hero .lede {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 60ch;
}

/* -- Mission snapshot ---------------------------------------------------- */
.mission {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-warm);
  border-block: 1px solid var(--rule);
}
.mission__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem; align-items: start;
}
.mission blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw + .8rem, 1.95rem);
  line-height: 1.35;
  color: var(--navy);
  border-left: 3px solid var(--red);
  padding-left: 1.5rem;
  font-style: italic;
  letter-spacing: -0.01em;
}
@media (max-width: 780px) {
  .mission__inner { grid-template-columns: 1fr; gap: 1rem; }
  .mission blockquote { padding-left: 1.1rem; font-size: 1.35rem; }
}

/* -- Feature grid (programs teaser on home) ------------------------------ */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red); }
.feature__num {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .5rem;
}
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--ink-muted); font-size: .96rem; }

/* -- Program cards (programs page) --------------------------------------- */
.program-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.program {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #DBD0B8;
}
.program__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.program:hover .program__media img { transform: scale(1.04); }
.program__body { padding: 1.6rem 1.75rem 1.9rem; }
.program__num {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--red);
  margin-bottom: .4rem;
  letter-spacing: .05em;
}
.program h3 { margin-bottom: .55rem; }
.program p { color: var(--ink-muted); }

/* Placeholder image state */
.placeholder-img {
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  display: flex; align-items: center; justify-content: center;
  color: #666; font-size: .85rem; text-align: center;
  padding: 1rem;
}

/* -- Impact stats -------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute; top: 0; left: 15%; right: 15%; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--red));
  border-radius: 0 0 4px 4px;
}
.stat__num {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: .8rem;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.stat__year {
  display: block;
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .05em;
}

/* -- Testimonial placeholder --------------------------------------------- */
.testimonials-wrap { margin-top: 2.5rem; }
.testimonial-empty {
  background: var(--bg-card);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--ink-muted);
}
.testimonial-empty__icon {
  display: inline-block;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  color: var(--red);
}
.testimonial-empty h3 { color: var(--ink); margin-bottom: .5rem; }

/* -- About page two-column ---------------------------------------------- */
.two-col {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.two-col--reverse { grid-template-columns: 1fr 1.1fr; }
.two-col--reverse .two-col__media { order: -1; }
.two-col__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.two-col__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) {
  .two-col, .two-col--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .two-col--reverse .two-col__media { order: initial; }
  .two-col__media { aspect-ratio: 4 / 3; }
}

/* Values / bullets list */
.values-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.values-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: .85rem;
  align-items: start;
}
.values-list li::before {
  content: "";
  width: 18px; height: 22px; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20' fill='none'><path d='M7 4 C4 8 4 11 7 15 M7 4 C10 8 10 11 7 15 M7 15 L5 20 M7 15 L9 20' stroke='%232D6E44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* -- Gallery ------------------------------------------------------------- */
.gallery {
  columns: 3 260px;
  column-gap: 1rem;
  margin-top: 2rem;
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #d9d9d9;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery figure:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; height: auto; display: block; }
.gallery figcaption {
  padding: .6rem .8rem;
  font-size: .82rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  background: #fff;
}

/* -- Get Involved cards ------------------------------------------------- */
.involve-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.involve {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.involve:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.involve__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(185,51,39,.08); color: var(--red);
  margin-bottom: 1rem;
}
.involve__icon svg { width: 26px; height: 26px; }
.involve h3 { margin-bottom: .5rem; }
.involve p { color: var(--ink-muted); flex-grow: 1; margin-bottom: 1.4rem; }
.involve .btn { align-self: flex-start; }

/* -- Forms --------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
}
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: .8rem 1rem;
  background: #fff;
  border: 1px solid #C9BFA5;
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19,42,84,.15);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { justify-self: start; margin-top: .5rem; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

/* -- Contact page grid -------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { display: grid; gap: 1.25rem; }
.info-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start;
}
.info-item__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(19,42,84,.08); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__label {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .2rem;
}
.info-item a { color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--navy); }

.map-placeholder {
  margin-top: 2rem;
  aspect-ratio: 16 / 6;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.02) 0 10px, transparent 10px 20px),
    #d9d9d9;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #666;
  border: 1px solid var(--rule);
}

/* -- CTA band ----------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% -20%, rgba(185,51,39,.25), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; }
.cta-band__btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--outline {
  color: #fff; border-color: rgba(255,255,255,.5);
}
.cta-band .btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* -- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-brand img {
  height: 64px; width: auto;
  background: #fff; padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.footer-brand p { color: rgba(255,255,255,.75); max-width: 32ch; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: #fff; text-decoration-color: var(--gold); }
.footer__contact { display: grid; gap: .55rem; }
.footer__social { margin-top: 1rem; display: flex; gap: .75rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.footer__social a:hover { background: var(--red); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: rgba(255,255,255,.6);
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* -- Focus states ------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

/* -- Motion preferences ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -- Alert / notice ---------------------------------------------------- */
.notice {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(218, 160, 32, 0.09);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.5rem;
  font-size: .92rem;
  color: var(--ink);
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
