:root {
  --magenta: #d22f68;
  --magenta-dark: #a50743;
  --petroleo: #004f73;
  --navy: #00253d;
  --black: #111111;
  --cream: #f7f0e7;
  --cream-deep: #ead8be;
  --white: #ffffff;
  --light-gray: #f2f2f2;
  --mustard: #e5a72e;
  --teal: #0e7c7b;
  --deep-green: #174a3a;
  --clay: #c45a2b;
  --accent-red: #d22f68;
  --accent-orange: #f26a2e;
  --accent-yellow: #ffd23f;
  --accent-green: #2fa866;
  --accent-blue: #0077b6;
  --accent-violet: #7b2cbf;
  --accent-light-blue: #5bcffa;
  --accent-pink: #f5a3b7;
  --accent-white: #ffffff;
  --outline: clamp(3px, 0.26vw, 5px);
  --page-pad: clamp(18px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--navy);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(0, 37, 61, 0.055) 0.7px, transparent 0.7px),
    radial-gradient(rgba(210, 47, 104, 0.035) 0.8px, transparent 0.8px);
  background-position: 0 0, 7px 9px;
  background-size: 8px 8px, 13px 13px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

main,
header,
footer,
section {
  max-width: 100%;
}

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

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

.opening-hero {
  position: fixed;
  z-index: 200;
  inset: 0;
  width: 100%;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.opening-hero.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-hero-picture,
.opening-hero-image {
  width: 100%;
  height: 100%;
}

.opening-hero-image {
  object-fit: contain;
}

.opening-hero-enter {
  position: absolute;
  right: clamp(18px, 3vw, 50px);
  bottom: clamp(20px, 3vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px 10px;
  color: var(--cream);
  background: var(--magenta-dark);
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--accent-orange);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.opening-hero-enter:hover,
.opening-hero-enter:focus-visible {
  color: var(--navy);
  background: var(--mustard);
  outline: 4px solid var(--cream);
  outline-offset: 4px;
}

.opening-hero-timer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--magenta);
  transform-origin: left;
  animation: opening-timer 5s linear forwards;
}

body.opening-visible {
  overflow: hidden;
}

html.is-embedded,
html.is-embedded body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html.is-embedded .opening-hero {
  height: 100dvh;
  align-items: start;
  justify-items: center;
}

html.is-embedded .opening-hero-image {
  object-fit: contain;
  object-position: top center;
}

@keyframes opening-timer {
  to {
    transform: scaleX(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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: clamp(20px, 3.2vw, 56px);
  padding: 14px var(--page-pad) 12px;
  background: rgba(247, 240, 231, 0.94);
  border-bottom: 2px solid var(--magenta);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand-logo {
  width: 66px;
  height: 68px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 44px);
}

.primary-nav a {
  --button-accent: var(--accent-red);
  position: relative;
  padding: 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a:nth-child(2) {
  --button-accent: var(--accent-orange);
}

.primary-nav a:nth-child(3) {
  --button-accent: var(--accent-yellow);
}

.primary-nav a:nth-child(4) {
  --button-accent: var(--accent-green);
}

.primary-nav a:nth-child(5) {
  --button-accent: var(--accent-blue);
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  background: var(--button-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-donate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px 8px;
  color: var(--cream);
  background: var(--magenta-dark);
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--accent-red);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-donate:hover,
.header-donate:focus-visible {
  box-shadow: 1px 1px 0 var(--navy);
  transform: translate(3px, 3px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  padding: clamp(18px, 2.8vw, 48px) 0 0;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 5px solid var(--navy);
  content: "";
  opacity: 0.16;
  transform: rotate(45deg);
}

.hero::before {
  top: 14%;
  right: -68px;
  width: 140px;
  height: 140px;
  background: var(--mustard);
}

.hero::after {
  bottom: 5%;
  left: -30px;
  width: 84px;
  height: 84px;
  background: var(--teal);
}

.hero-instruction {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin: 0 clamp(22px, 5.5vw, 96px) 14px auto;
  color: var(--magenta-dark);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-align: right;
  text-transform: uppercase;
}

.hero-instruction::before {
  width: clamp(42px, 4vw, 68px);
  height: 3px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.mobile-instruction {
  display: none;
}

.house-stage {
  padding: 0 clamp(10px, 1.4vw, 24px);
  overflow: hidden;
}

.house-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 4269 / 2400;
  overflow: hidden;
}

.house-image {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: none;
  user-select: none;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border: 4px solid transparent;
  outline: 0;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hotspot::after {
  position: absolute;
  z-index: 7;
  right: 10px;
  bottom: 9px;
  padding: 6px 9px 4px;
  color: var(--navy);
  background: var(--cream);
  border: 2px solid var(--navy);
  box-shadow: 3px 3px 0 var(--magenta);
  content: attr(data-room);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(8px, 0.75vw, 13px);
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  z-index: 8;
  background: rgba(210, 47, 104, 0.12);
  border-color: var(--magenta);
  box-shadow: inset 0 0 0 3px rgba(247, 240, 231, 0.8);
  filter: saturate(1.08);
}

.hotspot:hover::after,
.hotspot:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.hotspot:focus-visible {
  outline: 4px solid var(--cream);
  outline-offset: 3px;
}

.hotspot-donate-key {
  top: 62%;
  left: 0.8%;
  width: 17.2%;
  height: 13.5%;
  border-radius: 40% 4px 4px 40%;
}

.hotspot-donate-door {
  top: 52.5%;
  left: 22%;
  width: 16.2%;
  height: 46.5%;
  border-radius: 45% 45% 3px 3px;
}

.hotspot-what {
  top: 25%;
  left: 33.2%;
  width: 22.2%;
  height: 27.5%;
  clip-path: polygon(0 18%, 26% 0, 100% 0, 100% 100%, 0 100%);
}

.hotspot-counseling {
  top: 25%;
  left: 55.4%;
  width: 17.8%;
  height: 27.5%;
  clip-path: polygon(0 0, 72% 0, 100% 12%, 100% 100%, 0 100%);
}

.hotspot-team {
  top: 25%;
  left: 73.2%;
  width: 25.1%;
  height: 27.5%;
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 100%);
}

.hotspot-media {
  top: 52.5%;
  left: 38.4%;
  width: 17%;
  height: 27.5%;
}

.hotspot-research {
  top: 52.5%;
  left: 55.4%;
  width: 17.8%;
  height: 27.5%;
}

.hotspot-testimonials {
  top: 52.5%;
  left: 73.2%;
  width: 25.1%;
  height: 27.5%;
}

.hotspot-news {
  top: 80%;
  left: 28.7%;
  width: 17.2%;
  height: 19%;
}

.hotspot-inside {
  top: 80%;
  left: 45.9%;
  width: 18%;
  height: 19%;
}

.room-story {
  position: absolute;
  z-index: 6;
  bottom: 50%;
  left: 50%;
  display: grid;
  width: min(88%, 270px);
  gap: 4px;
  padding: clamp(8px, 0.9vw, 14px);
  color: var(--navy);
  background: var(--cream);
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--magenta);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 55%) scale(0.93) rotate(-1deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hotspot:hover .room-story,
.hotspot:focus-visible .room-story {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1) rotate(-1deg);
}

.story-label {
  color: var(--magenta-dark);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(7px, 0.62vw, 10px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-description {
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(9px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.05;
}

.inside-photo-stack {
  position: absolute;
  z-index: 5;
  bottom: 78%;
  left: 50%;
  width: 115%;
  height: 108%;
  pointer-events: none;
  transform: translateX(-50%);
}

.inside-photo-stack img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48%;
  height: 78%;
  object-fit: cover;
  background: var(--cream);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--navy), 5px 5px 0 var(--magenta);
  opacity: 0;
  transform: translateX(-50%) scale(0.82);
  transition: opacity 220ms ease, transform 220ms ease;
}

.inside-photo-stack img:nth-child(1) {
  transform: translateX(-85%) scale(0.82) rotate(-7deg);
}

.inside-photo-stack img:nth-child(3) {
  transform: translateX(-15%) scale(0.82) rotate(7deg);
}

.hotspot-inside:hover .inside-photo-stack img,
.hotspot-inside:focus-visible .inside-photo-stack img {
  opacity: 1;
}

.hotspot-inside:hover .inside-photo-stack img:nth-child(1),
.hotspot-inside:focus-visible .inside-photo-stack img:nth-child(1) {
  transform: translateX(-112%) translateY(-10%) rotate(-10deg);
}

.hotspot-inside:hover .inside-photo-stack img:nth-child(2),
.hotspot-inside:focus-visible .inside-photo-stack img:nth-child(2) {
  transform: translateX(-50%) translateY(-28%) scale(1.08);
}

.hotspot-inside:hover .inside-photo-stack img:nth-child(3),
.hotspot-inside:focus-visible .inside-photo-stack img:nth-child(3) {
  transform: translateX(12%) translateY(-10%) rotate(10deg);
}

.hotspot-inside .room-story {
  bottom: 38%;
}

.mobile-campaign {
  display: none;
}

.mobile-house-map {
  display: none;
}

.room-links {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  margin: 0;
  background: var(--navy);
  border-block: 4px solid var(--navy);
}

.room-links a {
  --button-accent: var(--accent-red);
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 10px;
  color: var(--cream);
  border-right: 1px solid rgba(247, 240, 231, 0.24);
  border-bottom: 5px solid var(--button-accent);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(11px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.room-links a:nth-child(6n + 2) {
  --button-accent: var(--accent-orange);
}

.room-links a:nth-child(6n + 3) {
  --button-accent: var(--accent-yellow);
}

.room-links a:nth-child(6n + 4) {
  --button-accent: var(--accent-green);
}

.room-links a:nth-child(6n + 5) {
  --button-accent: var(--accent-blue);
}

.room-links a:nth-child(6n + 6) {
  --button-accent: var(--accent-violet);
}

.room-links a:nth-child(7) {
  --button-accent: var(--accent-light-blue);
}

.room-links a:nth-child(8) {
  --button-accent: var(--accent-pink);
}

.room-links a:nth-child(9) {
  --button-accent: var(--accent-white);
}

.room-links a strong {
  font: inherit;
}

.room-links a small,
.mobile-card-photos,
.mobile-room-art {
  display: none;
}

.room-links a:last-child {
  border-right: 0;
}

.room-links a:hover,
.room-links a:focus-visible {
  color: var(--navy);
  background: var(--cream);
  outline: 3px solid var(--magenta);
  outline-offset: -6px;
}

.room-links .room-link-donate {
  background: var(--magenta-dark);
}

.news-section {
  padding: clamp(72px, 8vw, 130px) var(--page-pad) clamp(82px, 9vw, 145px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 4px solid var(--navy);
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--magenta-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "League Spartan", Impact, sans-serif;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 98px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.view-all {
  padding: 8px 0 5px;
  color: var(--magenta-dark);
  border-bottom: 4px solid var(--accent-orange);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 36px);
}

.news-card {
  --button-accent: var(--accent-red);
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.34);
  border: 4px solid var(--navy);
  box-shadow: 8px 8px 0 var(--button-accent);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.news-card:nth-child(2) {
  --button-accent: var(--accent-yellow);
}

.news-card:nth-child(3) {
  --button-accent: var(--accent-blue);
}

.news-card:hover,
.news-card:focus-within {
  box-shadow: 3px 3px 0 var(--button-accent);
  transform: translate(5px, 5px);
}

.news-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--petroleo);
  border-bottom: 4px solid var(--navy);
}

.news-card-image::after {
  position: absolute;
  right: -20px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  background: var(--mustard);
  border: 4px solid var(--navy);
  content: "";
  opacity: 0.86;
  transform: rotate(45deg);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 2vw, 32px);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--magenta-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-category {
  padding: 4px 7px 3px;
  color: var(--cream);
  background: var(--petroleo);
}

.news-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(22px, 2.25vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.news-card p {
  margin: 0 0 24px;
  color: #284759;
  font-size: 13px;
}

.read-more {
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  padding-bottom: 3px;
  color: var(--magenta-dark);
  border-bottom: 3px solid var(--button-accent);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-section {
  padding: clamp(72px, 8vw, 120px) var(--page-pad) clamp(82px, 9vw, 145px);
  background:
    linear-gradient(135deg, rgba(0, 37, 61, 0.92), rgba(0, 79, 115, 0.82)),
    radial-gradient(circle at 18% 12%, rgba(255, 210, 63, 0.28), transparent 30%),
    var(--navy);
  color: var(--cream);
  border-top: 8px solid var(--magenta);
}

.testimonials-section .section-heading {
  border-bottom-color: var(--cream);
}

.testimonials-section .eyebrow {
  color: var(--accent-yellow);
}

.testimonial-gallery-open {
  color: var(--accent-yellow);
  background: transparent;
  border: 0;
  border-bottom: 4px solid var(--accent-orange);
  cursor: pointer;
}

.testimonial-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.testimonial-preview {
  --button-accent: var(--accent-red);
  position: relative;
  width: 100%;
  padding: 0;
  background: var(--cream);
  border: 4px solid var(--cream);
  box-shadow: 8px 8px 0 var(--button-accent);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.testimonial-preview:nth-child(2) {
  --button-accent: var(--accent-orange);
}

.testimonial-preview:nth-child(3) {
  --button-accent: var(--accent-yellow);
}

.testimonial-preview:nth-child(4) {
  --button-accent: var(--accent-light-blue);
}

.testimonial-preview:hover,
.testimonial-preview:focus-visible {
  box-shadow: 3px 3px 0 var(--button-accent);
  outline: 4px solid var(--accent-pink);
  outline-offset: 3px;
  transform: translate(5px, 5px);
}

.testimonial-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy);
  transition: transform 350ms ease;
}

.testimonial-preview:hover img,
.testimonial-preview:focus-visible img {
  transform: scale(1.04);
}

.testimonial-preview span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 13px 11px;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(0, 37, 61, 0.9) 38%, rgba(0, 37, 61, 0.98));
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(18px, 1.65vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.testimonial-dialog {
  width: min(1180px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 30px);
  padding: 0;
  color: var(--navy);
  background: var(--cream);
  border: 5px solid var(--navy);
  box-shadow: 10px 10px 0 var(--magenta);
}

.testimonial-dialog::backdrop {
  background: rgba(0, 37, 61, 0.72);
  backdrop-filter: blur(4px);
}

.testimonial-shell {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2.2vw, 28px);
  max-height: calc(100dvh - 34px);
  overflow: auto;
}

.testimonial-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
}

.testimonial-arrow,
.testimonial-close {
  display: inline-grid;
  place-items: center;
  color: var(--cream);
  background: var(--magenta-dark);
  border: 3px solid var(--navy);
  box-shadow: 3px 3px 0 var(--accent-orange);
  font-family: "League Spartan", Impact, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.testimonial-arrow {
  width: 50px;
  height: 64px;
  font-size: 26px;
}

.testimonial-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  margin: 0;
  background: var(--cream);
  border: 4px solid var(--navy);
  box-shadow: 6px 6px 0 var(--accent-yellow);
  overflow: hidden;
}

.testimonial-feature-image {
  width: 100%;
  height: min(66dvh, 700px);
  object-fit: cover;
  background: var(--navy);
  border-right: 5px solid var(--navy);
}

.testimonial-caption {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 3.8vw, 52px);
}

.testimonial-caption-title {
  color: var(--navy);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
}

.testimonial-caption-counter {
  width: fit-content;
  padding: 5px 8px 3px;
  color: var(--cream);
  background: var(--petroleo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.testimonial-caption-text {
  color: #284759;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 650;
  line-height: 1.65;
}

.testimonial-close {
  justify-self: end;
  padding: 10px 12px 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 12px;
}

.testimonial-thumbnail {
  width: 88px;
  height: 70px;
  flex: 0 0 auto;
  padding: 0;
  background: var(--cream);
  border: 3px solid var(--navy);
  cursor: pointer;
}

.testimonial-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-thumbnail[aria-current="true"] {
  box-shadow: 0 0 0 4px var(--magenta);
}

body.testimonial-open {
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px var(--page-pad);
  color: var(--cream);
  background: var(--navy);
  border-top: 8px solid var(--magenta);
}

.footer-brand {
  color: var(--cream);
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.footer-donate {
  justify-self: end;
  color: var(--mustard);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 4px solid var(--accent-violet);
}

.gallery-dialog {
  width: min(1180px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  color: var(--navy);
  background: var(--cream);
  border: 5px solid var(--navy);
  box-shadow: 12px 12px 0 var(--magenta);
}

.gallery-dialog::backdrop {
  background: rgba(0, 25, 43, 0.84);
  backdrop-filter: blur(3px);
}

.gallery-shell {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 38px);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 4px solid var(--navy);
}

.gallery-header h2 {
  font-size: clamp(38px, 5vw, 70px);
}

.gallery-close,
.gallery-arrow {
  color: var(--cream);
  background: var(--magenta-dark);
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--accent-red);
  font-family: "League Spartan", Impact, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-close {
  padding: 10px 13px 7px;
  font-size: 13px;
}

.gallery-stage {
  display: grid;
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  font-size: 21px;
}

.gallery-prev {
  box-shadow: 4px 4px 0 var(--accent-blue);
}

.gallery-next {
  box-shadow: 4px 4px 0 var(--accent-violet);
}

.gallery-feature {
  display: grid;
  min-height: 0;
  gap: 8px;
  margin: 0;
  text-align: center;
}

.gallery-feature-image {
  width: 100%;
  height: min(56dvh, 610px);
  object-fit: contain;
  background: var(--navy);
  border: 4px solid var(--navy);
}

.gallery-caption {
  min-height: 1.5em;
  color: var(--magenta-dark);
  font-family: "League Spartan", Impact, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  padding: 5px 4px 11px;
  overflow-x: auto;
  scrollbar-color: var(--magenta) var(--navy);
  scrollbar-width: thin;
}

.gallery-thumbnail {
  position: relative;
  width: 86px;
  height: 62px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  border: 3px solid var(--navy);
  cursor: pointer;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnail[aria-current="true"] {
  border-color: var(--magenta);
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-arrow:hover,
.gallery-arrow:focus-visible,
.gallery-thumbnail:hover,
.gallery-thumbnail:focus-visible {
  outline: 4px solid var(--mustard);
  outline-offset: 3px;
}

body.gallery-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-header {
    min-height: 82px;
  }

  .primary-nav {
    gap: 18px;
  }

  .header-donate {
    display: none;
  }

  .room-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .room-links a:nth-child(3n) {
    border-right: 0;
  }

  .room-links a:nth-child(-n + 6) {
    border-bottom: 5px solid var(--button-accent);
  }

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

  .testimonial-feature {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .opening-hero-image {
    object-fit: contain;
    object-position: center;
  }

  .opening-hero-enter {
    right: 18px;
    bottom: 22px;
    padding: 11px 13px 8px;
  }

  .site-header {
    position: absolute;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    height: 19.7vw;
    min-height: 0;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    pointer-events: none;
  }

  .site-header .brand {
    position: absolute;
    top: 2.6vw;
    left: 4.5vw;
    width: 25vw;
    height: 11vw;
    pointer-events: auto;
  }

  .site-header .brand-logo {
    opacity: 0;
  }

  .menu-toggle {
    position: absolute;
    top: 4vw;
    right: 4vw;
    display: grid;
    width: max(48px, 7vw);
    height: max(48px, 7vw);
    place-content: center;
    gap: 5px;
    color: var(--navy);
    background: transparent;
    border: 0;
    pointer-events: auto;
  }

  .menu-toggle span:not(.sr-only) {
    opacity: 0;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px var(--page-pad) 18px;
    background: var(--cream);
    border-bottom: 4px solid var(--navy);
    box-shadow: 0 8px 0 rgba(0, 37, 61, 0.18);
    pointer-events: auto;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 37, 61, 0.15);
  }

  .hero {
    padding-top: 0;
  }

  .mobile-house-map {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--cream);
  }

  .mobile-house-map-image {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
  }

  .mobile-map-room,
  .mobile-map-donate-bar {
    position: absolute;
    z-index: 4;
    display: block;
    border: 2px solid transparent;
    outline: 0;
  }

  .mobile-map-room:focus-visible,
  .mobile-map-room:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 2px var(--navy);
  }

  .mobile-nav-square {
    position: absolute;
    z-index: 6;
    top: var(--marker-top, 24%);
    right: var(--marker-right, 8%);
    width: clamp(13px, 4.3vw, 20px);
    aspect-ratio: 1;
    background: var(--marker-color, var(--magenta));
    border: 2px solid var(--navy);
    box-shadow: 2px 2px 0 var(--cream);
    transform: rotate(45deg);
    animation: mobile-nav-pulse 2.2s ease-in-out infinite;
  }

  .mobile-map-room:hover .mobile-nav-square,
  .mobile-map-room:focus-visible .mobile-nav-square {
    animation-play-state: paused;
    transform: rotate(135deg) scale(1.24);
  }

  .mobile-map-donate-key {
    --marker-color: var(--accent-red);
    --marker-top: 10%;
    top: 27%;
    left: 2.5%;
    width: 46%;
    height: 10.5%;
  }

  .mobile-map-door {
    top: 13.5%;
    left: 45%;
    width: 55%;
    height: 30.5%;
  }

  .mobile-map-what {
    --marker-color: var(--accent-orange);
    top: 44%;
    left: 1.5%;
    width: 32.5%;
    height: 18.5%;
  }

  .mobile-map-counseling {
    --marker-color: var(--accent-yellow);
    top: 44%;
    left: 34%;
    width: 31%;
    height: 18.5%;
  }

  .mobile-map-team {
    --marker-color: var(--accent-green);
    top: 44%;
    left: 65%;
    width: 33.5%;
    height: 18.5%;
  }

  .mobile-map-media {
    --marker-color: var(--accent-blue);
    top: 62.5%;
    left: 1.5%;
    width: 33%;
    height: 17.5%;
  }

  .mobile-map-research {
    --marker-color: var(--accent-violet);
    --marker-right: 26%;
    --marker-top: 78%;
    top: 62.5%;
    left: 34.5%;
    width: 30.5%;
    height: 17.5%;
  }

  .mobile-map-testimonials {
    --marker-color: var(--accent-light-blue);
    --marker-top: 16%;
    top: 62.5%;
    left: 65%;
    width: 33.5%;
    height: 17.5%;
  }

  .mobile-map-news {
    --marker-color: var(--accent-pink);
    --marker-right: 25%;
    --marker-top: 73%;
    top: 80%;
    left: 1.5%;
    width: 42.5%;
    height: 16%;
  }

  .mobile-map-inside {
    --marker-color: var(--accent-white);
    --marker-right: 19%;
    --marker-top: 73%;
    top: 80%;
    left: 44%;
    width: 54.5%;
    height: 16%;
  }

  .mobile-map-donate-bar {
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4.4%;
  }

  .mobile-map-donate-bar:focus-visible,
  .mobile-map-donate-bar:hover {
    border-color: var(--cream);
    box-shadow: inset 0 0 0 3px var(--navy);
  }

  .mobile-map-what .mobile-nav-square,
  .mobile-map-team .mobile-nav-square,
  .mobile-map-research .mobile-nav-square,
  .mobile-map-news .mobile-nav-square {
    animation-delay: -0.8s;
  }

  .mobile-map-counseling .mobile-nav-square,
  .mobile-map-media .mobile-nav-square,
  .mobile-map-testimonials .mobile-nav-square,
  .mobile-map-inside .mobile-nav-square {
    animation-delay: -1.5s;
  }

  .mobile-campaign,
  .hero-instruction,
  .house-stage {
    display: none;
  }

  .room-links {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px 26px;
    background: var(--cream);
    border-top: 5px solid var(--navy);
    border-bottom: 5px solid var(--navy);
  }

  .room-links a {
    position: relative;
    display: grid;
    min-height: 94px;
    grid-template-columns: 88px minmax(0, 1fr) 28px;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    align-items: center;
    justify-content: initial;
    padding: 9px 12px 9px 9px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    border: 3px solid var(--navy);
    border-left: 9px solid var(--button-accent);
    border-bottom: 3px solid var(--navy);
    box-shadow: 5px 5px 0 var(--button-accent);
    font-size: 16px;
    text-align: left;
  }

  .room-links a:nth-child(n),
  .room-links a:nth-child(-n + 6) {
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
  }

  .room-links a::after {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: var(--magenta-dark);
    content: "→";
    font-size: 24px;
    text-align: right;
  }

  .room-links a strong {
    grid-column: 2;
    align-self: end;
    font-size: 18px;
  }

  .room-links a small {
    display: block;
    grid-column: 2;
    align-self: start;
    color: #395667;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
  }

  .mobile-room-art {
    display: block;
    width: 88px;
    height: 74px;
    grid-column: 1;
    grid-row: 1 / span 2;
    object-fit: contain;
  }

  .mobile-room-art-photo {
    object-fit: cover;
    border: 2px solid var(--navy);
  }

  .mobile-card-photos {
    display: none;
  }

  .room-links .room-link-donate {
    color: var(--cream);
    background: var(--magenta-dark);
    box-shadow: 5px 5px 0 var(--accent-red);
  }

  .room-links .room-link-donate small,
  .room-links .room-link-donate::after {
    color: var(--cream);
  }

  .room-links a:nth-child(9) {
    box-shadow: 5px 5px 0 var(--accent-white), 7px 7px 0 var(--navy);
  }

  .room-links a:hover,
  .room-links a:focus-visible {
    color: var(--navy);
    background: var(--white);
    outline: 3px solid var(--magenta);
    outline-offset: -7px;
  }

  @keyframes mobile-nav-pulse {
    0%,
    100% {
      box-shadow: 2px 2px 0 var(--cream), 0 0 0 0 rgba(210, 47, 104, 0);
      transform: rotate(45deg) scale(1);
    }

    50% {
      box-shadow: 2px 2px 0 var(--cream), 0 0 0 7px rgba(210, 47, 104, 0.28);
      transform: rotate(45deg) scale(1.16);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav-square {
      animation: none;
    }
  }

  .news-section {
    padding-block: 72px 90px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(48px, 17vw, 82px);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .testimonials-section {
    padding-block: 72px 90px;
  }

  .testimonial-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .testimonial-preview span {
    padding: 28px 10px 9px;
    font-size: 16px;
  }

  .testimonial-dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    box-shadow: 5px 5px 0 var(--magenta);
  }

  .testimonial-shell {
    gap: 10px;
    padding: 12px;
  }

  .testimonial-shell .gallery-header h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .testimonial-stage {
    position: relative;
    display: block;
    padding: 0 42px;
  }

  .testimonial-arrow {
    position: absolute;
    z-index: 2;
    top: 38%;
    width: 38px;
    height: 44px;
    transform: translateY(-50%);
  }

  .testimonial-prev {
    left: 0;
  }

  .testimonial-next {
    right: 0;
  }

  .testimonial-feature {
    grid-template-columns: 1fr;
    box-shadow: 4px 4px 0 var(--accent-yellow);
  }

  .testimonial-feature-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(38dvh, 340px);
    justify-self: center;
    object-fit: contain;
    border-right: 0;
    border-bottom: 5px solid var(--navy);
  }

  .testimonial-caption {
    max-height: min(34dvh, 310px);
    overflow-y: auto;
    padding: 18px 16px 20px;
  }

  .testimonial-caption-title {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .testimonial-caption-text {
    display: block;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.45;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }

  .footer-donate {
    justify-self: start;
  }

  .gallery-dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    box-shadow: 5px 5px 0 var(--magenta);
  }

  .gallery-shell {
    gap: 10px;
    padding: 12px;
  }

  .gallery-header {
    align-items: flex-start;
  }

  .gallery-header h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .gallery-close {
    padding: 8px 9px 6px;
    font-size: 10px;
  }

  .gallery-stage {
    position: relative;
    display: block;
    padding: 0 42px;
  }

  .gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 44px;
    transform: translateY(-50%);
  }

  .gallery-prev {
    left: 0;
  }

  .gallery-next {
    right: 0;
  }

  .gallery-feature {
    justify-items: center;
  }

  .gallery-feature-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(46dvh, 430px);
    object-fit: contain;
    background: var(--cream);
  }

  .gallery-thumbnail {
    width: 62px;
    height: 48px;
  }
}

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

  .opening-hero-timer {
    animation: none;
  }
}
