:root {
  --ink: #063043;
  --muted: #4b6370;
  --paper: #ffffff;
  --sand: #eef8fd;
  --flag-blue: #69b3e7;
  --ocean: #1288c9;
  --ocean-dark: #063043;
  --green: #12ad2b;
  --red: #d21034;
  --line: rgba(6, 48, 67, 0.12);
  --shadow: 0 22px 70px rgba(6, 48, 67, 0.14);
  --soft-shadow: 0 12px 30px rgba(6, 48, 67, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ocean-dark);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(6, 48, 67, 0.94);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header--scrolled {
  background: rgba(6, 48, 67, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand,
.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  padding: 4px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 176px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(255, 255, 255, 0.86);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.language-switcher select {
  width: 100%;
  min-height: 44px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 42px 0 14px;
}

.language-switcher select:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.32);
  outline-offset: 2px;
}

.language-switcher option {
  background: var(--paper);
  color: var(--ocean-dark);
  font-weight: 800;
}

[dir="rtl"] .site-nav a::after {
  transform-origin: right;
}

[dir="rtl"] .manifest-copy {
  border-left: 0;
  border-right: 6px solid var(--red);
  padding-left: 0;
  padding-right: clamp(18px, 3vw, 28px);
}

[dir="rtl"] .memory-note {
  border-left-width: 1px;
  border-right: 6px solid var(--red);
}

[dir="rtl"] .bio-card-body,
[dir="rtl"] .post-preview,
[dir="rtl"] .bio-page .bio-grid .bio-card {
  text-align: right;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(620px, 84vh, 860px);
  display: grid;
  align-items: center;
  padding: clamp(96px, 12vw, 160px) clamp(20px, 6vw, 90px);
  color: var(--paper);
  background: url("images/logo.jpg") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6, 48, 67, 0.9), rgba(6, 48, 67, 0.58) 48%, rgba(18, 173, 43, 0.28));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(6, 48, 67, 0.84), rgba(6, 48, 67, 0));
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.btn-primary {
  background: var(--red);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #a90d2a;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ocean-dark);
  border-color: rgba(6, 48, 67, 0.16);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #e8f6fe;
}

.prayer-modal[hidden] {
  display: none;
}

.prayer-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.prayer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 48, 67, 0.76);
  backdrop-filter: blur(8px);
}

.prayer-modal-panel {
  position: relative;
  width: min(620px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 6px solid var(--red);
  background: var(--paper);
  color: var(--ocean-dark);
  padding: clamp(26px, 5vw, 42px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.prayer-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(6, 48, 67, 0.16);
  background: #f2f8fb;
  color: var(--ocean-dark);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
}

.prayer-modal-close:hover,
.prayer-modal-close:focus-visible {
  background: var(--red);
  color: var(--paper);
}

.prayer-language-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 52px 20px 0;
}

.prayer-language-label {
  color: var(--ocean-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.prayer-language-select {
  min-height: 42px;
  min-width: 190px;
  border: 1px solid rgba(6, 48, 67, 0.18);
  background: var(--paper);
  color: var(--ocean-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 12px;
}

.prayer-language-select:focus-visible {
  outline: 3px solid rgba(18, 136, 201, 0.24);
  outline-offset: 2px;
}

.prayer-modal h2 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.02;
}

.prayer-modal p:not(.eyebrow) {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

body.has-prayer-modal {
  overflow: hidden;
}

.text-link,
.card-link {
  color: var(--ocean);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  border-bottom: 2px solid rgba(18, 136, 201, 0.24);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
  border-bottom-color: currentColor;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 28px 18px;
  background: var(--paper);
  text-align: center;
}

.stat-number {
  color: var(--ocean-dark);
  font-size: clamp(2rem, 6vw, 3.7rem);
  font-weight: 900;
  line-height: 1;
}

.stat-card span:last-child {
  color: var(--muted);
  font-weight: 800;
}

.about,
.memory-manifest,
.memory-note,
.featured-bios,
.latest-posts,
.contribute {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 90px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  background: var(--paper);
}

.section-copy,
.section-heading,
.manifest-copy,
.contribute-inner {
  max-width: 760px;
}

.section-heading {
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-copy h2,
.section-heading h2,
.manifest-copy h2,
.memory-note h2,
.contribute h2 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.manifest-copy p:not(.eyebrow),
.memory-note p:not(.eyebrow),
.contribute p:not(.eyebrow) {
  margin: 18px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.portrait-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 12px;
  min-height: 520px;
}

.portrait-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.portrait-mosaic img:nth-child(1) {
  object-position: center 28%;
}

.portrait-mosaic img:nth-child(2) {
  object-position: center 22%;
}

.portrait-mosaic img:nth-child(3),
.portrait-mosaic img:nth-child(4) {
  object-position: center 28%;
}

.memory-manifest {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(105, 179, 231, 0.24), rgba(18, 173, 43, 0.12)),
    var(--sand);
}

.manifest-copy {
  border-left: 6px solid var(--red);
  padding-left: clamp(18px, 3vw, 28px);
}

.manifest-principles {
  display: grid;
  gap: 16px;
}

.manifest-principles article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.manifest-principles span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-weight: 900;
}

.manifest-principles h3 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: 1.25rem;
}

.manifest-principles p {
  margin: 10px 0 0;
  color: var(--muted);
}

.memory-note {
  max-width: 1100px;
  margin: clamp(-38px, -4vw, -24px) auto 0;
  padding: 28px clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.memory-note h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.memory-note-dark {
  background:
    linear-gradient(135deg, rgba(6, 48, 67, 0.94), rgba(18, 136, 201, 0.86)),
    var(--ocean-dark);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--paper);
}

.memory-note-dark h2,
.memory-note-dark p:not(.eyebrow) {
  color: var(--paper);
}

.featured-bios {
  background: linear-gradient(180deg, #ffffff 0%, var(--sand) 100%);
  text-align: center;
}

.bios-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto 34px;
}

.bio-card,
.post-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(6, 48, 67, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bio-card:hover,
.bio-card:focus-visible,
.post-preview:hover,
.post-preview:focus-within {
  transform: translateY(-8px);
  border-color: rgba(105, 179, 231, 0.55);
  box-shadow: var(--shadow);
}

.bio-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.35s ease;
}

.bio-card:hover img,
.bio-card:focus-visible img {
  transform: scale(1.045);
}

.bio-card-body {
  padding: 22px;
  text-align: left;
}

.bio-card h3,
.post-preview h3 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: 1.22rem;
  line-height: 1.2;
}

.bio-card p,
.post-preview p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.latest-posts {
  background: var(--paper);
  text-align: center;
}

.timeline-preview {
  align-items: stretch;
}

.post-preview {
  padding: 26px;
  text-align: left;
}

.date-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 173, 43, 0.12);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.video-invite,
.video-gallery {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 90px);
  background: linear-gradient(180deg, var(--sand), #ffffff);
}

.video-invite {
  background:
    linear-gradient(135deg, rgba(105, 179, 231, 0.18), rgba(18, 173, 43, 0.12)),
    var(--sand);
}

.video-invite-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.video-invite h2,
.video-card h3 {
  margin: 0;
  color: var(--ocean-dark);
}

.video-invite h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.video-invite p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.photo-invite,
.photo-gallery {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 90px);
}

.photo-invite {
  background:
    linear-gradient(135deg, rgba(18, 173, 43, 0.14), rgba(210, 16, 52, 0.1)),
    #ffffff;
}

.photo-invite-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.photo-invite h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.photo-invite p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
}

.photo-gallery {
  background: linear-gradient(180deg, #ffffff 0%, var(--sand) 100%);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ocean-dark);
  box-shadow: 0 12px 28px rgba(6, 48, 67, 0.1);
  isolation: isolate;
}

.photo-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-card-wide {
  grid-column: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(6, 48, 67, 0.92));
  z-index: 1;
}

.photo-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  line-height: 1.15;
}

.photo-card-description {
  display: none;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 48, 67, 0.82);
  backdrop-filter: blur(10px);
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 0.75fr);
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.photo-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: var(--ocean-dark);
}

.photo-lightbox-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 46px);
}

.photo-lightbox-copy .eyebrow {
  margin: 0;
}

.photo-lightbox-copy h3 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

.photo-lightbox-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.photo-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible {
  background: #a90d2b;
}

body.lightbox-open {
  overflow: hidden;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.video-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1180px;
  margin: -8px auto 42px;
}

.video-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(6, 48, 67, 0.14);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ocean-dark);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(6, 48, 67, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.video-category-nav a:hover,
.video-category-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18, 173, 43, 0.45);
  color: var(--green);
}

.video-category {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 253, 0.76)),
    var(--paper);
  box-shadow: 0 14px 36px rgba(6, 48, 67, 0.08);
}

.video-category:last-child {
  margin-bottom: 0;
}

.video-category-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.video-category-heading h3 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.video-category-heading p:not(.eyebrow),
.video-gallery .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.video-category .video-grid {
  max-width: none;
  margin: 0;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(6, 48, 67, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.video-card:hover,
.video-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(18, 173, 43, 0.42);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 48, 67, 0.94), rgba(18, 136, 201, 0.72)),
    var(--ocean-dark);
  color: var(--paper);
}

.video-frame::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.video-frame::after {
  content: "";
  position: absolute;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--paper);
  transform: translateX(3px);
}

.video-frame span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-align: center;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-frame:has(iframe)::before,
.video-frame:has(iframe)::after,
.video-frame:has(iframe) span,
.video-frame:has(video)::before,
.video-frame:has(video)::after,
.video-frame:has(video) span {
  display: none;
}

.video-card-body {
  padding: 22px;
}

.video-card h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

.video-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.contribute {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean) 52%, var(--green));
  color: var(--paper);
  text-align: center;
}

.contribute::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42% 44%, transparent 44% 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent);
  pointer-events: none;
}

.contribute-inner {
  position: relative;
  margin: 0 auto;
}

.contribute h2,
.contribute p:not(.eyebrow) {
  color: var(--paper);
}

.contribute p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.contribute .eyebrow {
  justify-content: center;
}

.page-hero {
  position: relative;
  min-height: clamp(360px, 48vh, 560px);
  display: grid;
  align-items: end;
  padding: clamp(96px, 12vw, 150px) clamp(20px, 6vw, 90px) clamp(54px, 8vw, 86px);
  color: var(--paper);
  background: url("images/logo.jpg") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 48, 67, 0.92), rgba(6, 48, 67, 0.58) 60%, rgba(18, 173, 43, 0.3));
}

.page-hero-bios {
  background-image: url("images/Mahamoud_harbi.jpg");
  background-position: center 34%;
}

.page-hero-timeline {
  background-image: url("images/logo.jpg");
}

.page-hero-videos {
  background-image: url("images/palais.jpeg");
  background-position: center 48%;
}

.page-hero-contact {
  background-image: url("images/djib.png");
  background-size: min(520px, 82vw);
  background-color: var(--ocean-dark);
  background-position: right 10% center;
}

.page-hero-photos {
  background-image: url("images/embleme_djibouti.png");
  background-size: min(520px, 82vw);
  background-color: var(--ocean-dark);
  background-position: right 10% center;
  background-repeat: no-repeat;
}

.page-hero-content {
  max-width: 760px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.bio-search-panel {
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr) auto;
  gap: 22px;
  align-items: end;
  margin: clamp(-38px, -4vw, -24px) auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.bio-search-panel h2,
.contact-card h2,
.contact-aside h2 {
  margin: 0;
  color: var(--ocean-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.search-box,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ocean-dark);
  font-weight: 800;
}

.search-box input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 48, 67, 0.18);
  border-radius: 6px;
  background: #f7fcff;
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-box input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ocean);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(105, 179, 231, 0.22);
}

.bio-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.bio-count strong {
  color: var(--red);
  font-size: 1.6rem;
}

.empty-state {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(210, 16, 52, 0.22);
  border-radius: 8px;
  background: rgba(210, 16, 52, 0.08);
  color: var(--red);
  text-align: center;
  font-weight: 800;
}

.bio-page .bio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.bio-page .bio-grid .bio-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.bio-page .bio-grid .bio-card img {
  height: 260px;
}

.bio-page .bio-grid .bio-card h3,
.bio-page .bio-grid .bio-card p,
.bio-page .bio-grid .bio-card > a {
  margin-left: 18px;
  margin-right: 18px;
}

.bio-page .bio-grid .bio-card h3 {
  margin-top: 18px;
}

.bio-page .bio-grid .bio-card p {
  flex: 1;
}

.bio-page .bio-grid .bio-card > a {
  display: inline-flex;
  width: max-content;
  margin-bottom: 20px;
  color: var(--ocean);
  font-weight: 900;
  border-bottom: 2px solid rgba(18, 136, 201, 0.24);
}

.bio-page .bio-grid .bio-card > a:hover,
.bio-page .bio-grid .bio-card > a:focus-visible {
  color: var(--green);
  border-bottom-color: currentColor;
}

.timeline-page {
  background:
    linear-gradient(180deg, rgba(105, 179, 231, 0.22), transparent 360px),
    var(--sand);
}

.timeline-shell {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 90px);
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 29%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--flag-blue), var(--green), var(--red));
}

.entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) 72px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 0;
  padding: 18px 0;
}

.date,
.desc {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(6, 48, 67, 0.08);
}

.date {
  display: grid;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  color: var(--ocean-dark);
  font-weight: 900;
  text-align: right;
}

.star-large {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  color: transparent;
  font-size: 0;
}

.star-large::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(210, 16, 52, 0.18);
}

.desc {
  padding: 20px;
  border-radius: 8px;
  color: var(--muted);
}

.entry:hover .date,
.entry:hover .desc {
  border-color: rgba(105, 179, 231, 0.48);
  box-shadow: var(--soft-shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 90px);
}

.contact-card,
.contact-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.contact-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form button {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.contact-aside {
  padding: 28px;
}

.contact-aside ul {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  color: var(--muted);
}

.contact-aside-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-aside li {
  position: relative;
  padding-left: 22px;
}

.contact-aside li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.site-header .site-nav > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  margin: 0 6px;
}

.site-header .site-nav > a:hover,
.site-header .site-nav > a:focus-visible {
  color: var(--paper);
}

body main.container {
  max-width: 1120px;
  margin: clamp(36px, 6vw, 72px) auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

main.container .bio-header {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 46px);
  align-items: start;
}

main.container .bio-header img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

main.container .bio-info h2 {
  margin: 0 0 14px;
  color: var(--ocean-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

main.container .bio-info p {
  color: var(--muted);
  font-size: 1.04rem;
}

main.container .bio-info strong {
  color: var(--ocean-dark);
}

main.container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--red);
  color: var(--paper);
  font-weight: 900;
}

main.container .btn:hover,
main.container .btn:focus-visible {
  background: #a90d2a;
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #f9faf7 0%, #eef5f4 100%);
  color: #1f2933;
  padding: clamp(42px, 6vw, 64px) clamp(20px, 6vw, 72px) 34px;
  text-align: left;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--flag-blue) 0 36%, var(--paper) 36% 45%, var(--red) 45% 55%, var(--paper) 55% 64%, var(--green) 64% 100%);
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(150px, 0.7fr) minmax(210px, 0.95fr) minmax(240px, 1fr);
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(10, 59, 92, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(6, 48, 67, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #0a3b5c;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.18;
  font-weight: 900;
}

.footer-logo img {
  height: 54px;
  width: auto;
  flex: 0 0 auto;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: #0a3b5c;
  font-size: 1.08rem;
  font-weight: 900;
}

.footer-grid > div:not(.footer-brand-block) h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--red);
}

.site-footer p {
  margin: 0;
  color: #3f4d56;
  line-height: 1.7;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact-list a,
.footer-bottom a {
  color: #243b4a;
  font-weight: 800;
  line-height: 1.35;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #0a3b5c;
}

.footer-contact-list li {
  display: grid;
  gap: 4px;
  color: #3f4d56;
  line-height: 1.55;
}

.footer-contact-list span {
  display: block;
  color: #0a3b5c;
  font-weight: 900;
}

.footer-follow-title {
  margin-top: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease;
}

.footer-socials svg {
  display: block;
  width: 34px;
  height: 34px;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(6, 48, 67, 0.22));
  transform: translateY(-2px);
}

.footer-newsletter {
  display: flex;
  margin-top: 10px;
  box-shadow: 0 10px 24px rgba(6, 48, 67, 0.08);
}

.footer-newsletter input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: #e2e8ed;
  padding: 12px 14px;
  color: #1f2933;
}

.footer-newsletter input:focus {
  outline: 3px solid rgba(10, 59, 92, 0.2);
  outline-offset: 0;
}

.footer-newsletter button {
  border: 0;
  border-radius: 0 8px 8px 0;
  background: #0a3b5c;
  color: #ffffff;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease;
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
  background: #0c4a72;
}

.footer-developer-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 32px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(18, 173, 43, 0.18);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(6, 48, 67, 0.07);
}

.footer-developer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  border-radius: 8px;
  background: #f4f8fb;
}

.footer-developer-logo img {
  max-width: 118px;
  height: auto;
}

.footer-card-label {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-developer-card h3 {
  margin: 0 0 8px;
  color: #0a3b5c;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.15;
}

.footer-developer-card strong,
.footer-bottom strong {
  color: #0a3b5c;
  font-weight: 900;
}

.footer-developer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-developer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #f4f8fb;
  padding: 10px 14px;
  color: #0a3b5c;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.footer-developer-links svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.footer-developer-links a:hover,
.footer-developer-links a:focus-visible {
  background: #e8f1f6;
  color: #0a3b5c;
}

.footer-bottom {
  margin-top: 22px;
  border-top: 1px solid rgba(10, 59, 92, 0.18);
  padding-top: 20px;
  text-align: center;
  color: #3f4d56;
}

[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .split-section,
  .memory-manifest,
  .bios-grid,
  .posts-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .portrait-mosaic {
    min-height: 460px;
  }

  .bio-card img {
    height: 340px;
  }

  .bio-search-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .bio-page .bio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    left: 31px;
  }

  .entry {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .entry .date {
    grid-column: 2;
    text-align: left;
  }

  .entry .star-large {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .entry .desc {
    grid-column: 2;
  }

  main.container .bio-header {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-developer-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle + .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 48, 67, 0.99);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    transition: max-height 0.28s ease;
  }

  .nav-toggle + .site-nav.is-open {
    max-height: 340px;
  }

  .nav-toggle + .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 18px 18px;
  }

  .nav-toggle + .site-nav a {
    min-height: 48px;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .site-header .logo + .site-nav {
    width: 100%;
  }

  .site-header .logo + .site-nav ul {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .hero {
    min-height: 690px;
    padding: 88px 20px 72px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 48, 67, 0.88), rgba(6, 48, 67, 0.72));
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 120px;
  }

  .about,
  .memory-manifest,
  .memory-note,
  .featured-bios,
  .latest-posts,
  .photo-invite,
  .photo-gallery,
  .video-invite,
  .video-gallery,
  .contribute {
    padding: 56px 18px;
  }

  .portrait-mosaic {
    grid-template-rows: repeat(4, 180px);
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portrait-mosaic img,
  .portrait-mosaic img:nth-child(1),
  .portrait-mosaic img:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .bio-card img {
    height: 280px;
  }

  .page-hero {
    min-height: 500px;
    padding: 86px 20px 56px;
  }

  .page-hero-contact,
  .page-hero-photos {
    background-position: right -90px center;
    background-size: 380px;
  }

  .bio-search-panel {
    margin: -26px 18px 0;
    padding: 22px;
  }

  .memory-note {
    margin: -26px 18px 0;
    padding: 24px 20px;
  }

  .bio-count {
    white-space: normal;
  }

  .bio-page .bio-grid {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .bio-page .bio-grid .bio-card img {
    height: 300px;
  }

  .contact-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .photo-card-large,
  .photo-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-lightbox-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .photo-lightbox img {
    min-height: 280px;
    max-height: 46vh;
  }

  .video-category-nav a {
    flex: 1 1 220px;
    justify-content: center;
  }

  .contact-form button {
    width: 100%;
  }

  body main.container {
    margin: 24px 18px;
  }
}

@media (max-width: 520px) {
  .brand,
  .site-header .logo {
    max-width: calc(100% - 58px);
    font-size: 1rem;
  }

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

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-developer-card {
    grid-template-columns: 1fr;
  }

  .footer-developer-logo {
    justify-content: flex-start;
    min-height: auto;
    background: transparent;
  }

  .footer-newsletter {
    flex-direction: column;
    gap: 10px;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    min-height: 44px;
  }

  .prayer-language-control {
    align-items: stretch;
    flex-direction: column;
    margin-right: 48px;
  }

  .prayer-language-select {
    min-width: 0;
    width: 100%;
  }


  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section-copy h2,
  .section-heading h2,
  .contribute h2 {
    font-size: 2rem;
  }
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

*:not(.brand-mark):not(.footer-socials a) {
  border-radius: 0 !important;
}
