/* =========================================================
   LCR Community Charter on Data & AI
   Brand: Civic Data Cooperative
   ---------------------------------------------------------
   Palette
     --blue   #274271   Primary
     --blush  #FF9797   Secondary lead
     --yellow #FFCA66   Highlight
     --teal   #04B2BF   Highlight
     --white  #FFFFFF
   Typography
     Mont Bold / Mont Regular (brand), Quicksand as substitute
   ========================================================= */

:root {
  --blue:   #274271;
  --blue-deep: #1a2e51;
  --blush:  #FF9797;
  --blush-soft: #FFD3D3;
  --yellow: #FFCA66;
  --yellow-soft: #FFE5B4;
  --teal:   #04B2BF;
  --teal-soft: #B7EAEE;
  --blue-soft: #DCE3F1;
  --white:  #FFFFFF;
  --cream:  #FFF8F2;
  --ink:    #1a2e51;
  --muted:  #5a6a86;

  --font-sans: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --measure: 38rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .2s var(--ease); }
a:hover { opacity: .7; }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

p { margin: 0 0 1.1em; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blush);
  margin: 0 0 1.2rem;
}
.eyebrow-dark { color: var(--blue); }

.prose { max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.35rem); color: var(--blue-deep); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  z-index: 50;
  background: rgba(255, 248, 242, 0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  padding-top: .7rem; padding-bottom: .7rem;
  box-shadow: 0 1px 0 rgba(39,66,113,0.08);
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  border: 0; color: var(--white);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  transition: color .35s var(--ease);
}
.site-header.is-scrolled .brand { color: var(--blue); }
.brand-mark { width: 32px; height: auto; filter: brightness(0) invert(1); transition: filter .35s var(--ease); }
.site-header.is-scrolled .brand-mark { filter: none; }
.brand-text { display: none; }
@media (min-width: 600px) { .brand-text { display: inline; } }

.site-nav {
  display: none;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .site-nav { display: flex; }
}
.site-nav a {
  border: 0; color: var(--white);
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  transition: color .35s var(--ease);
}
.site-header.is-scrolled .site-nav a { color: var(--blue); }
.site-nav a:hover { opacity: .75; }

/* ===== Mobile nav toggle + overlay ===== */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: background .25s var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.site-header.is-scrolled .nav-toggle:hover { background: rgba(39,66,113,0.08); }
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled .nav-toggle-bar { background: var(--blue); }
@media (min-width: 720px) {
  .nav-toggle { display: none; }
}

/* Toggle morphs into an X when the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 320px; height: 320px;
  background: var(--blush);
  border-radius: 0 100% 0 100%;
  opacity: .35;
  pointer-events: none;
}
.mobile-nav::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -100px;
  width: 260px; height: 260px;
  background: var(--yellow);
  border-radius: 0 100% 0 100%;
  opacity: .25;
  pointer-events: none;
}
.mobile-nav nav {
  position: relative;
  display: grid;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
}
.mobile-nav a {
  border: 0;
  color: var(--white);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.mobile-nav a:hover { color: var(--yellow); transform: translateY(-2px); opacity: 1; }
body.menu-open { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem);
  color: var(--white);
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,46,81,0.55) 0%, rgba(26,46,81,0.15) 35%, rgba(26,46,81,0.85) 100%);
}
.hero-content {
  position: relative;
  max-width: 60rem;
}
.hero .eyebrow {
  color: var(--blush);
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.02;
}
.hero-title span {
  display: block;
  color: var(--yellow);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.92);
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 0; color: var(--white);
  padding: .9rem 1.4rem;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.scroll-cue:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); opacity: 1; }
.scroll-cue svg { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-y) var(--gutter);
}

/* ===== Petal motif ===== */
.petal {
  display: block;
  background: currentColor;
  /* The CDC petal — the logo mark's negative space: quarter-circle arcs
     (radius = petal height) with flat runs between them, ~2.1:1 */
  border-radius: 0 47.6% 0 47.6% / 0 100% 0 100%;
}
.petal-blue   { color: var(--blue); }
.petal-blush  { color: var(--blush); }
.petal-yellow { color: var(--yellow); }
.petal-teal   { color: var(--teal); }

.petal-cluster {
  position: absolute;
  width: clamp(200px, 24vw, 320px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
}
.petal-cluster .petal { position: absolute; }
/* Two overlapping petals in logo proportions — one horizontal, one turned 90deg */
.petal-cluster .petal:nth-child(1) { left: 0; top: 18%; width: 100%; aspect-ratio: 2.1 / 1; }
.petal-cluster .petal:nth-child(2) { left: 40%; top: 0; width: 47.6%; aspect-ratio: 1 / 2.1; border-radius: 0 100% 0 100% / 0 47.6% 0 47.6%; }

/* ===== Overview ===== */
.overview {
  position: relative;
  background: var(--cream);
  max-width: 1200px;
  margin: 0 auto;
}
.overview .petal-cluster {
  top: 4rem;
  right: var(--gutter);
  opacity: .9;
}
@media (max-width: 720px) {
  .overview .petal-cluster {
    position: relative;
    top: auto; right: auto;
    margin: 0 0 2.5rem auto;
    width: 180px;
  }
}

/* ===== Quote sections ===== */
.quote {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: grid; place-items: center;
  text-align: center;
}
.quote-blush  { background: var(--blush); color: var(--blue); }
.quote-yellow { background: var(--yellow); color: var(--blue); }
.quote-teal   { background: var(--teal); color: var(--white); }
.quote blockquote {
  margin: 0;
  max-width: 50rem;
}
.quote p {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.quote cite {
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .85;
}

/* ===== Principles ===== */
.principles {
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.principle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(39,66,113,0.04),
              0 30px 60px -40px rgba(39,66,113,0.18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.principle:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(39,66,113,0.04),
              0 40px 70px -40px rgba(39,66,113,0.25);
}
@media (min-width: 720px) {
  .principle {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.principle-number {
  position: relative;
  display: flex; align-items: center;
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--blue);
}
.principle-number::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 126px; height: 60px;
  border-radius: 0 60px 0 60px;
  z-index: 0;
}
.principle-number span { position: relative; z-index: 1; }

.principle[data-color="blue"]   .principle-number::before { background: var(--blue-soft); }
.principle[data-color="blush"]  .principle-number::before { background: var(--blush-soft); }
.principle[data-color="yellow"] .principle-number::before { background: var(--yellow-soft); }
.principle[data-color="teal"]   .principle-number::before { background: var(--teal-soft); }

.principle[data-color="blue"]   h3 { color: var(--blue); }
.principle[data-color="blush"]  h3 { color: #c46868; }
.principle[data-color="yellow"] h3 { color: #a87b1f; }
.principle[data-color="teal"]   h3 { color: #03808a; }

.principle-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--blue-deep);
  font-weight: 600;
}

.principle-detail {
  margin-top: 1rem;
}
.principle-detail > summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  cursor: pointer;
  padding: .55rem 1.1rem .55rem 1.15rem;
  border-radius: 999px;
  background: rgba(39,66,113,0.06);
  color: var(--blue);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  transition: background .2s var(--ease), transform .2s var(--ease);
  user-select: none;
}
.principle-detail > summary::-webkit-details-marker { display: none; }
.principle-detail > summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
  margin-left: .15rem;
}
.principle-detail[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.principle-detail > summary:hover {
  background: rgba(39,66,113,0.12);
}
.principle-detail > summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.principle-detail .less { display: none; }
.principle-detail[open] .more { display: none; }
.principle-detail[open] .less { display: inline; }
.principle-detail > p {
  margin-top: 1.1rem;
  margin-bottom: 0;
}

/* Tint the pill per principle accent colour */
.principle[data-color="blush"]  .principle-detail > summary { background: rgba(255,151,151,0.22); color: #a64a4a; }
.principle[data-color="blush"]  .principle-detail > summary:hover { background: rgba(255,151,151,0.35); }
.principle[data-color="yellow"] .principle-detail > summary { background: rgba(255,202,102,0.3); color: #875e10; }
.principle[data-color="yellow"] .principle-detail > summary:hover { background: rgba(255,202,102,0.45); }
.principle[data-color="teal"]   .principle-detail > summary { background: rgba(4,178,191,0.15); color: #036971; }
.principle[data-color="teal"]   .principle-detail > summary:hover { background: rgba(4,178,191,0.28); }

/* ===== Story (image + text) ===== */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .story { grid-template-columns: 1.05fr 1fr; }
}
.story-figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--blue);
}
.story-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.5s var(--ease);
}
.story-figure:hover img { transform: scale(1.06); }
.story-figure::after {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  background: var(--yellow);
  bottom: -40px; right: -40px;
  border-radius: 50% 0 50% 0;
  z-index: -1;
}

/* ===== Image band ===== */
.image-band {
  height: clamp(280px, 50vh, 520px);
  overflow: hidden;
  position: relative;
}
.image-band-img {
  position: absolute; inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ===== Signatories band ===== */
.signatories {
  background: var(--blue);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
}
.signatories-eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 2rem;
}
.signatory-logos {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.signatory-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  flex: 0 1 auto;
}
.signatory-logos img {
  max-height: 64px;
  width: auto;
  max-width: min(280px, 80vw);
  object-fit: contain;
  opacity: .95;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
/* Near-square marks (e.g. NHS) — clamp by width so they read with similar
   visual weight to the wide rectangular logos rather than shrinking by height. */
.signatory-logos .signatory-logo-square img {
  max-height: none;
  width: clamp(80px, 10.5vw, 108px);
  max-width: 80vw;
  height: auto;
}
/* Force the square mark onto its own row so it never gets visually crowded
   against the long-rectangle CHIL logo at narrower viewports. */
.signatory-logos .signatory-logo-square {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: .5rem;
}
.signatory-logos li:hover img {
  opacity: 1;
  transform: translateY(-2px);
}
@media (max-width: 540px) {
  .signatory-logos { gap: 2.25rem; }
  .signatory-logos img { max-height: 48px; }
  .signatory-logos .signatory-logo-square img { width: 72px; max-height: none; }
}

/* ===== Get involved ===== */
.involved {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .involved { grid-template-columns: 1.4fr 1fr; }
}

.cta-stack {
  display: grid;
  gap: 1.5rem;
}
.cta-card {
  background: var(--blue);
  color: var(--white);
  padding: clamp(2rem, 3vw, 3rem);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.cta-card-alt {
  background: var(--cream);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.cta-card-alt::before { background: var(--teal); opacity: .85; }
.cta-card-alt::after  { background: var(--blush); opacity: .85; }
.cta-card-alt .cta-eyebrow { color: var(--teal); }
.cta-card-alt .cta-heading { color: var(--blue); }
.cta-card-alt .cta-button {
  background: var(--blue);
  color: var(--white);
}
.cta-card-alt .cta-button:hover { background: var(--teal); color: var(--white); }
.cta-card::before {
  content: "";
  position: absolute;
  right: -48px; top: -18px;
  width: 208px; height: 80px;
  background: var(--blush);
  border-radius: 0 80px 0 80px;
  opacity: .9;
}
.cta-card::after {
  content: "";
  position: absolute;
  right: -24px; top: 74px;
  width: 150px; height: 58px;
  background: var(--yellow);
  border-radius: 0 58px 0 58px;
  opacity: .9;
}
.cta-eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 .8rem;
  position: relative; z-index: 1;
}
.cta-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.75rem;
  position: relative; z-index: 1;
}
.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  padding: .95rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative; z-index: 1;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.cta-button:hover {
  transform: translateY(-2px);
  background: var(--yellow);
  opacity: 1;
}

/* ===== Future ===== */
.future {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.future .prose { margin: 0 auto; }
.future .eyebrow { color: var(--blush); }
.future h2 { color: var(--white); }
.future p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.closing-quote {
  margin-top: 2.5rem !important;
  font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
  font-weight: 600;
  color: var(--yellow) !important;
  line-height: 1.4;
}
.closing-quote span {
  display: block; margin-top: .8rem;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6) !important;
  font-weight: 500;
}

/* ===== News ===== */
.news {
  background: var(--cream);
  border-top: 1px solid rgba(39, 66, 113, 0.10);
}
.news-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px) {
  .news-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
}
.news-badge {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
}
/* Petal accents, echoing the CTA cards */
.news-badge::before,
.news-badge::after {
  content: "";
  position: absolute;
  z-index: 0;
  /* The CDC petal, as in .petal */
  border-radius: 0 47.6% 0 47.6% / 0 100% 0 100%;
}
.news-badge::before {
  left: -34px; bottom: -34px;
  width: 168px; height: 80px;
  background: var(--yellow);
}
.news-badge::after {
  right: -30px; top: -30px;
  width: 126px; height: 60px;
  background: var(--blush);
}
.news-badge img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(26, 46, 81, 0.20);
}
.news-body h2 { margin-bottom: 0.5em; }
.news-body p { color: var(--muted); font-size: 1.05rem; }
.news-body strong { color: var(--blue); font-weight: 700; }
.news-cta { margin-bottom: 0; }
.news-cta a {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: .95rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.news-cta a:hover {
  transform: translateY(-2px);
  background: var(--yellow);
  color: var(--blue);
  opacity: 1;
}
@media (max-width: 540px) {
  .news-badge { width: min(100%, 300px); }
  .news-badge::before { left: -18px; bottom: -18px; width: 118px; height: 56px; }
  .news-badge::after  { right: -16px; top: -16px; width: 92px; height: 44px; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.85);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand img {
  width: 120px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-brand p {
  max-width: 22rem;
  font-size: .95rem;
}
.footer-label {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 1rem;
}
.footer-partners ul {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-partners li {
  font-size: .95rem;
  padding: .25rem 0;
}
.footer-contact a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  font-size: 1.05rem;
  font-weight: 600;
}
.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
  display: grid;
  gap: .8rem;
}
.footer-copyright {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.footer-license {
  margin: 0;
  max-width: 60rem;
  line-height: 1.55;
}
.footer-license a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.footer-license em { font-style: italic; color: rgba(255,255,255,0.85); }
.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-right: .75rem;
  padding: .25rem .6rem .25rem .3rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  vertical-align: -.4rem;
  color: var(--white);
  transition: background .2s var(--ease);
}
.cc-badge:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.cc-badge .cc-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-license-note {
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,0.45);
}

@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;
  }
}
