/* ==========================================================================
   Muslim Hands page demo · base
   Tokens, layout, header, menu, buttons, typography, footer.
   ========================================================================== */

:root {
  /* Brand colours from the brief (HEX 36b9df, f8af3a, ee322e, 084274, 257952) */
  --blue: 54 185 223;
  --yellow: 248 175 58;
  --red: 238 50 46;
  --navy: 8 66 116;
  --green: 37 121 82;

  /* Site template colours */
  --header: 37 187 219;
  --gold: 251 189 49;
  --ink: 30 30 36;
  --ink-soft: 71 68 72;
  --muted: 104 101 106;
  --chalk: 242 240 230;
  --off: 249 248 246;
  --paper: 250 245 232;
  --white: 255 255 255;

  --page-bg: 255 255 255;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-h: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-sketch: 'Cabin Sketch', 'Bitter', Georgia, serif;

  --page: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --space: clamp(40px, 7vw, 96px);
  --header-h: 60px;
  --bar-h: 58px;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-media: 22px 10px 22px 10px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 2px 6px rgb(0 0 0 / 0.06), 0 16px 34px -20px rgb(0 0 0 / 0.38);
  --shadow-lg: 0 6px 16px rgb(0 0 0 / 0.08), 0 34px 70px -30px rgb(0 0 0 / 0.5);
}

@media (min-width: 900px) {
  :root { --header-h: 72px; --bar-h: 62px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: rgb(var(--page-bg));
  color: rgb(var(--ink));
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 700ms var(--ease-in-out);
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-inline-size: 100%; }
img { block-size: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }

:where(h1, h2, h3, h4) {
  margin: 0;
  font-family: var(--font-h);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid rgb(var(--red));
  outline-offset: 3px;
  border-radius: 6px;
}

.u-sr {
  position: absolute !important;
  inline-size: 1px; block-size: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.Skip {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgb(var(--ink));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms;
}
.Skip:focus { transform: none; }

.Sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }

/* ---------- Layout ---------- */

.Wrap {
  inline-size: min(100% - var(--gutter) * 2, var(--page));
  margin-inline: auto;
}

.Wrap--mid { inline-size: min(100% - var(--gutter) * 2, 880px); }

.Section { padding-block: var(--space); position: relative; }
.Section--tight { padding-block: calc(var(--space) * 0.7); }
.Section--flush-top { padding-block-start: 0; }

.Head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-block-end: clamp(18px, 3vw, 32px);
}

.Head__title,
.H2 {
  color: rgb(var(--ink-soft));
  font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.75rem);
}

.Head__sub {
  max-inline-size: 52ch;
  margin-block-start: 8px;
  color: rgb(var(--muted));
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
}

.Hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(var(--muted));
  font-size: 0.8125rem;
  font-weight: 500;
}

.Hint svg { inline-size: 18px; block-size: 18px; flex: none; }

/* ---------- Buttons ---------- */

/*
  Same interaction as the site theme's `.Button`: a two-tone background that slides
  across on hover (lighter for gold/yellow, darker for strong colours). No lift or shadow.
*/
.Btn {
  --btn-bg: rgb(var(--gold));
  --btn-bg-2: color-mix(in srgb, #fff 20%, rgb(var(--gold)));
  --btn-fg: rgb(var(--ink));
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-block-size: 50px;
  padding: 0 20px;
  border: 2px solid var(--btn-border);
  border-radius: 12px 6px 12px 6px;
  background: linear-gradient(to right, var(--btn-bg-2) 0%, var(--btn-bg-2) 50%, var(--btn-bg) 50%, var(--btn-bg) 100%);
  background-position: calc(100% + 5px) 50%;
  background-size: calc(200% + 20px) 100%;
  color: var(--btn-fg);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: background 300ms ease-in-out, border 300ms ease-in-out, color 300ms ease-in-out;
}

.Btn svg { inline-size: 16px; block-size: 16px; fill: currentColor; flex: none; transition: fill 300ms; }
.Btn:hover { background-position: -5px 50%; }

.Btn--yellow { --btn-bg: rgb(var(--yellow)); --btn-bg-2: color-mix(in srgb, #fff 20%, rgb(var(--yellow))); }
.Btn--blue { --btn-bg: rgb(var(--blue)); --btn-bg-2: color-mix(in srgb, #000 20%, rgb(var(--blue))); --btn-fg: #fff; }
.Btn--navy { --btn-bg: rgb(var(--navy)); --btn-bg-2: color-mix(in srgb, #000 20%, rgb(var(--navy))); --btn-fg: #fff; }
.Btn--ghost { --btn-bg: rgb(var(--white)); --btn-bg-2: rgb(var(--off)); --btn-border: rgb(0 0 0 / 0.1); }
.Btn--light { --btn-bg: rgb(255 255 255 / 0.1); --btn-bg-2: rgb(255 255 255 / 0.24); --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.35); }
.Btn--sm { min-block-size: 40px; padding: 0 16px; font-size: 0.9375rem; }
.Btn--block { inline-size: 100%; }

.IconBtn {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  background: #fff;
  color: rgb(var(--ink));
  box-shadow: inset 0 0 0 1.5px rgb(var(--ink) / 0.14);
  transition: background-color 200ms, box-shadow 200ms, transform 200ms var(--ease);
}
.IconBtn svg { inline-size: 20px; block-size: 20px; fill: currentColor; }
.IconBtn:hover { box-shadow: inset 0 0 0 1.5px rgb(var(--ink) / 0.4); transform: scale(1.05); }
.IconBtn:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- Header ---------- */

.Header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: rgb(var(--header));
  color: #fff;
  transition: transform 420ms var(--ease), box-shadow 300ms;
}

.Header.is-scrolled { box-shadow: 0 10px 28px -20px rgb(var(--navy) / 0.9); }
.Header.is-hidden { transform: translateY(-100%); box-shadow: none; }

.Header__bar {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  block-size: var(--header-h);
  padding-inline-end: 52px;
}

@media (min-width: 900px) { .Header__bar { padding-inline-end: 64px; } }
@media (min-width: 1340px) { .Header__bar { padding-inline-end: 0; } }

.Brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 12px);
  min-inline-size: 0;
  margin-inline-end: auto;
  text-decoration: none;
}

.Brand__mark { inline-size: clamp(36px, 8vw, 50px); block-size: auto; flex: none; }
.Brand__word { inline-size: clamp(112px, 34vw, 196px); block-size: auto; flex: 0 1 auto; min-inline-size: 0; }

/* Desktop navigation, matching the production site */
.Header__nav,
.Header__search { display: none; }

.Header__nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }

.Header__nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px clamp(8px, 0.9vw, 14px);
  border-radius: 8px;
  color: rgb(var(--ink));
  font-size: clamp(0.9375rem, 0.62rem + 0.42vw, 1.125rem);
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms;
}

.Header__nav a:hover { background: rgb(255 255 255 / 0.22); }

.Header__caret { inline-size: 12px; block-size: 12px; fill: currentColor; transition: transform 300ms var(--ease); }
.Header__nav a[aria-expanded='true'] .Header__caret { transform: rotate(180deg); }

.Header__nav a[aria-controls]::after {
  content: '';
  position: absolute;
  inset: auto 0 calc((var(--header-h) - 40px) / -2) 0;
  block-size: 5px;
  background: rgb(var(--gold));
  opacity: 0;
  transition: opacity 200ms;
}

.Header__nav a[aria-expanded='true']::after { opacity: 1; }

.Header__search {
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 8px;
  color: rgb(var(--ink));
  flex: none;
}

.Header__search svg { inline-size: 26px; block-size: 26px; }

.Header__donate { order: 1; }
.Header__bar .Cart { order: 2; }

@media (min-width: 1100px) {
  .Brand { margin-inline-end: 0; }
  .Header__nav { display: block; margin-inline: auto; }
  .Header__search { display: grid; }
  .Header__donate,
  .Header__bar .Cart { order: 0; }
}

/* Giving mega menu (desktop) */
.Mega {
  position: absolute;
  inset: 100% 0 auto;
  margin-inline: auto;
  padding-block-start: 12px;
  color: rgb(var(--ink));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms, transform 420ms var(--ease);
}

.Mega[hidden] { display: none; }
.Mega.is-open { opacity: 1; transform: none; }
.Mega:focus { outline: none; }

.Mega__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24%, 300px);
  gap: 30px;
  max-block-size: calc(100vh - var(--header-h) - 36px);
  overflow: auto;
  padding: 44px 30px 30px;
  border: 1px solid rgb(0 0 0 / 0.1);
  border-block-start: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.45);
}

.Mega__panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  block-size: 10px;
  background: rgb(var(--gold));
}

.Mega__title { margin-block-end: 24px; font-size: 2.125rem; }
.Mega__title a { color: rgb(var(--green)); text-decoration: none; }

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

.Mega__group h3 { font-size: 1.125rem; }
.Mega__group h3 a { color: rgb(var(--navy)); text-decoration: none; }
.Mega__group hr { margin: 16px 0; border: 0; block-size: 1px; background: rgb(0 0 0 / 0.1); }
.Mega__group ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.Mega__group li a { color: rgb(var(--ink-soft)); font-size: 0.9375rem; text-decoration: none; }
.Mega__group li a[aria-current='page'] { color: rgb(var(--navy)); font-weight: 600; }
.Mega__group a:hover { color: rgb(var(--navy)); text-decoration: underline; text-underline-offset: 3px; }

.Mega__aside { display: grid; align-content: start; }

.Mega__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 16px 120px 0 0;
}

.Mega__figure img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.Mega__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgb(0 0 0 / 0.8));
}

.Mega__figure figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 16px;
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.05;
}

.Mega__aside .Btn { justify-content: space-between; min-block-size: 58px; border-radius: 0 0 12px 12px; }

@media (max-width: 359px) { .Header__donate { padding-inline: 12px; } }

.Cart {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  color: rgb(var(--ink));
  flex: none;
}

.Cart svg { inline-size: 26px; block-size: 26px; }

.Cart__count {
  position: absolute;
  inset: 3px 1px auto auto;
  display: grid;
  place-items: center;
  min-inline-size: 17px;
  block-size: 17px;
  padding-inline: 4px;
  border-radius: 99px;
  background: rgb(var(--gold));
  box-shadow: 0 0 0 2px rgb(var(--header));
  color: rgb(var(--ink));
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.Cart.is-bumped .Cart__count { animation: bump 600ms var(--ease); }

@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.55); }
  100% { transform: scale(1); }
}

/* The burger lives outside the header so it can stay pinned when the header hides */
.Burger {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 90;
  display: grid;
  place-items: center;
  inline-size: 56px;
  block-size: var(--header-h);
  color: rgb(var(--ink));
  border-end-start-radius: 0;
  transition: background-color 300ms, border-radius 300ms var(--ease), box-shadow 300ms, block-size 300ms var(--ease), inline-size 300ms var(--ease), color 300ms;
}

@media (min-width: 900px) { .Burger { inline-size: 68px; } }

.Burger__lines { position: relative; inline-size: 26px; block-size: 18px; }

.Burger__lines span {
  position: absolute;
  inset-inline: 0;
  block-size: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 360ms var(--ease), opacity 200ms, inset 360ms var(--ease);
}

.Burger__lines span:nth-child(1) { inset-block-start: 0; }
.Burger__lines span:nth-child(2) { inset-block-start: 8px; }
.Burger__lines span:nth-child(3) { inset-block-start: 16px; }

.Burger.is-docked {
  block-size: 58px;
  background: rgb(var(--header));
  border-end-start-radius: 22px;
  box-shadow: -4px 8px 22px -12px rgb(var(--navy) / 0.7);
}

.Burger[aria-expanded='true'] { color: #fff; background: transparent; box-shadow: none; }
.Burger[aria-expanded='true'] .Burger__lines span:nth-child(1) { inset-block-start: 8px; transform: rotate(45deg); }
.Burger[aria-expanded='true'] .Burger__lines span:nth-child(2) { opacity: 0; }
.Burger[aria-expanded='true'] .Burger__lines span:nth-child(3) { inset-block-start: 8px; transform: rotate(-45deg); }

/* ---------- Menu ---------- */

.Menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  visibility: hidden;
  transition: visibility 0s linear 500ms;
}

.Menu.is-open { visibility: visible; transition-delay: 0s; }

.Menu__scrim {
  position: absolute;
  inset: 0;
  background: rgb(var(--ink) / 0.45);
  opacity: 0;
  transition: opacity 400ms;
}

.Menu.is-open .Menu__scrim { opacity: 1; }

.Menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  inline-size: min(100%, 420px);
  block-size: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgb(var(--navy));
  color: #fff;
  transform: translateX(100%);
  transition: transform 500ms var(--ease);
}

.Menu.is-open .Menu__panel { transform: none; }

.Menu__top {
  display: flex;
  align-items: center;
  gap: 10px;
  block-size: var(--header-h);
  padding-inline: 20px 70px;
}

.Menu__top img:first-child { inline-size: 38px; }
.Menu__top img:last-child { inline-size: 150px; }

.Menu__nav { padding: 12px 20px 24px; }

.Menu__label {
  margin: 18px 0 8px;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.Menu__list { list-style: none; margin: 0; padding: 0; }

.Menu__list a,
.Menu__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-block-end: 1px solid rgb(255 255 255 / 0.12);
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.1875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.Menu__group > summary::-webkit-details-marker { display: none; }

.Menu__group > summary svg { inline-size: 18px; block-size: 18px; fill: currentColor; transition: transform 300ms var(--ease); }
.Menu__group[open] > summary svg { transform: rotate(180deg); }

.Menu__sub { list-style: none; margin: 4px 0 10px; padding: 0 0 0 14px; border-inline-start: 2px solid rgb(var(--yellow)); }
.Menu__sub a { padding: 9px 0; border: 0; font-family: var(--font); font-size: 0.9875rem; font-weight: 500; color: rgb(255 255 255 / 0.85); }
.Menu__sub a:hover { color: #fff; }

.Menu__foot {
  display: grid;
  gap: 12px;
  margin-block-start: auto;
  padding: 20px;
  background: rgb(0 0 0 / 0.16);
}

.Menu__foot a:not(.Btn) { color: rgb(255 255 255 / 0.8); font-size: 0.9375rem; text-decoration: none; }

/* ---------- Category links ---------- */

.Crumbs { padding-block: 16px 18px; }

.Crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.Crumbs__list li { display: flex; align-items: center; gap: 6px; }

.Crumbs__list li::before {
  content: '';
  inline-size: 0;
  block-size: 0;
  border-block: 4.5px solid transparent;
  border-inline-start: 6px solid rgb(var(--blue));
}

.Crumbs__list a {
  color: rgb(var(--ink-soft));
  text-decoration: none;
  padding-block: 4px;
  background: linear-gradient(rgb(var(--blue)), rgb(var(--blue))) 0 100% / 0 3px no-repeat;
  transition: background-size 300ms var(--ease), color 200ms;
}

.Crumbs__list a:hover { background-size: 100% 2px; color: rgb(var(--ink)); }

.Crumbs__list a[aria-current='page'] {
  color: rgb(var(--ink));
  font-weight: 600;
  background-size: 100% 3px;
}

@media (min-width: 900px) { .Crumbs { padding-block: 22px 34px; } .Crumbs__list { font-size: 0.875rem; } }

/* ---------- Prose & highlight options ---------- */

.Prose { color: rgb(var(--ink-soft)); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0875rem); line-height: 1.62; }
.Prose > * + * { margin-block-start: 0.9em; }
.Prose strong { color: rgb(var(--ink)); font-weight: 600; }
.Prose em { font-style: italic; }
.Prose .Lead { color: rgb(var(--ink)); font-weight: 600; font-style: italic; }

/*
  Highlight options for important stats.
  Usage: <mark class="hl hl--yellow">Orphans are mentioned 22 times</mark>
  Colours: hl--blue, hl--yellow, hl--red, hl--navy, hl--green (all at 70% opacity).
*/
.hl {
  --hl: var(--yellow);
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(rgb(var(--hl) / 0.7), rgb(var(--hl) / 0.7));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.2em;
  padding-block-end: 0.05em;
  transition: background-size 1100ms var(--ease-in-out);
}

.hl.is-drawn,
.no-js .hl { background-size: 100% 0.2em; }

.hl--blue { --hl: var(--blue); }
.hl--yellow { --hl: var(--yellow); }
.hl--red { --hl: var(--red); }
.hl--navy { --hl: var(--navy); }
.hl--green { --hl: var(--green); }

/* Bolder "marker" variant */
.hl--marker { background-size: 0% 0.45em; background-position: 0 88%; }
.hl--marker.is-drawn { background-size: 100% 0.45em; }

/* ---------- Pull-out (for longer copy) ---------- */

.Pullout__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms var(--ease);
}

.Pullout__body > div { overflow: hidden; min-block-size: 0; }
.Pullout__body > div > * + * { margin-block-start: 0.9em; }
.Prose > .Pullout__body { margin-block-start: 0; }
.Pullout.is-open .Pullout__body { grid-template-rows: 1fr; }
.Pullout.is-open .Pullout__body > div { padding-block-start: 0.9em; }

.Pullout__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 12px;
  padding: 8px 14px 8px 12px;
  border-radius: 99px;
  background: rgb(var(--ink) / 0.06);
  color: rgb(var(--ink));
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 200ms;
}

.Pullout__toggle:hover { background: rgb(var(--ink) / 0.1); }
.Pullout__toggle svg { inline-size: 16px; block-size: 16px; fill: currentColor; transition: transform 400ms var(--ease); }
.Pullout.is-open .Pullout__toggle svg { transform: rotate(45deg); }

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* ---------- Footer ---------- */

.Footer {
  padding-block: 40px calc(var(--bar-h) + 40px);
  background: rgb(var(--ink));
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
}

.Footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-end: 24px;
  border-block-end: 1px solid rgb(255 255 255 / 0.12);
}

.Footer__brand { display: flex; align-items: center; gap: 10px; }
.Footer__brand img:first-child { inline-size: 42px; }
.Footer__brand img:last-child { inline-size: 160px; }

.Footer__social { display: flex; gap: 8px; }
.Footer__social a {
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 38px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  transition: background-color 200ms;
}
.Footer__social a:hover { background: rgb(var(--blue)); }
.Footer__social svg { inline-size: 18px; block-size: 18px; fill: currentColor; }

.Footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.Footer__links a { color: #fff; text-decoration: none; }
.Footer__links a:hover { text-decoration: underline; }
.Footer__legal { margin-block-start: 22px; max-inline-size: 70ch; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hl { background-size: 100% 0.2em; }
}
