/* ==========================================================================
   LATAHOUSE SCHOOLS — Design System
   Vanilla CSS. No framework dependency.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand colors */
  --purple-900: #320e63;
  --purple-700: #4b148d; /* primary */
  --purple-600: #5a1ba6;
  --purple-500: #6d28d9; /* secondary */
  --purple-100: #f1eafb;
  --purple-50: #faf8fe;
  --yellow-500: #f4b400; /* accent */
  --yellow-600: #d99a00;
  --yellow-100: #fff6de;

  --ink-900: #1e1930;
  --ink-700: #423c55;
  --ink-500: #6e6883;
  --ink-300: #a9a3bc;
  --border: #e7e1f5;
  --white: #ffffff;
  --success: #1e8e5a;

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.65rem + 1.2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.95rem + 2.2vw, 3.6rem);
  --step-5: clamp(3rem, 2.3rem + 3.5vw, 4.8rem);

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(50, 14, 99, 0.06);
  --shadow-md: 0 12px 30px rgba(50, 14, 99, 0.12);
  --shadow-lg: 0 24px 60px rgba(50, 14, 99, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}
p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section-tight {
  padding-block: clamp(40px, 6vw, 72px);
}
.bg-tint {
  background: var(--purple-50);
}
.bg-dark {
  background: var(--purple-900);
  color: rgba(255, 255, 255, 0.88);
}
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--white);
}

/* ---------- Focus & a11y ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple-700);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--yellow-500);
  border-radius: 2px;
}
.bg-dark .eyebrow {
  color: var(--yellow-500);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.lede {
  font-size: var(--step-1);
  color: var(--ink-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: var(--step--1);
  border: 2px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--purple-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--yellow-500);
  color: var(--purple-900);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: var(--yellow-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: currentColor;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  background: transparent;
  border-color: var(--purple-700);
  color: var(--purple-700);
}
.btn-outline:hover {
  background: var(--purple-700);
  color: #fff;
}
.btn-sm {
  padding: 10px 20px;
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.logo-word {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-lata,
.logo-house {
  color: var(--purple-700);
}
.logo-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink-700);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}
.nav-links a.active {
  color: var(--purple-700);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow-500);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--purple-900);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateX(0);
  }
  .nav-links a {
    padding: 14px 16px;
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-links a.active {
    background: var(--purple-50);
  }
  .nav-cta {
    position: fixed;
    left: 0;
    right: 30%;
    bottom: 0;
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 99;
  }
  .nav-cta.is-open {
    transform: translateX(0);
  }
  .nav-cta .btn {
    width: 100%;
  }
}

/* ---------- Roofline motif (signature element) ---------- */
.roofline {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: -1px;
}
.roofline--flip {
  transform: scaleY(-1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--purple-700) 0%,
    var(--purple-600) 100%
  );
  color: #fff;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 {
  color: #fff;
}
.hero .lede {
  color: rgba(255, 255, 255, 0.82);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--yellow-500);
}
.hero-stat span {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.75);
}
.hero-media {
  position: relative;
}
.hero-media img {
  border-radius: var(--radius-lg);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 120px;
  height: 120px;
  background: var(--yellow-500);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.9;
}
.badge-float {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.badge-float .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .badge-float {
    display: none;
  }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.card--roof::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid var(--yellow-500);
}

.program-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.program-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.program-card__body {
  padding: 24px;
}
.program-card__age {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ---------- Testimonials ---------- */
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 84vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testi-quote {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink-900);
  font-style: italic;
  margin-bottom: 18px;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-person strong {
  display: block;
  font-size: var(--step--1);
}
.testi-person span {
  font-size: 0.8rem;
  color: var(--ink-500);
}
.testi-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.testi-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.testi-controls button:hover {
  background: var(--purple-700);
  color: #fff;
  border-color: var(--purple-700);
}

/* ---------- Stats / trust bar ---------- */
.trust-bar {
  background: var(--purple-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 36px;
  text-align: center;
}
.trust-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--purple-700);
}
.trust-grid span {
  font-size: var(--step--1);
  color: var(--ink-500);
}
@media (max-width: 780px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Timeline (admissions steps) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.timeline-step {
  position: relative;
  padding-top: 54px;
}
.timeline-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--purple-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.timeline-step::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 48px;
  right: -24px;
  height: 2px;
  background: var(--border);
}
.timeline-step:last-child::after {
  display: none;
}
@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline-step::after {
    display: none;
  }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
label {
  display: block;
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 6px;
  color: var(--ink-900);
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--step--1);
  background: #fff;
  color: var(--ink-900);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px var(--purple-100);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-top: 10px;
}
.form-status {
  font-size: var(--step--1);
  font-weight: 600;
  margin-top: 14px;
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.ok {
  color: var(--success);
}
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255, 255, 255, 0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 64px 40px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-grid ul li {
  margin-bottom: 12px;
}
.footer-grid a:hover {
  color: var(--yellow-500);
}
.footer-about p {
  color: rgba(255, 255, 255, 0.65);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.footer-social a:hover {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--purple-900);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.75);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--purple-700);
  color: #fff;
  padding-block: 64px 0;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.breadcrumb a:hover {
  color: var(--yellow-500);
}

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: var(--step--1);
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(30, 25, 48, 0.85));
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery-item:hover .cap {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Staff ---------- */
.staff-card {
  text-align: center;
}
.staff-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.staff-card .role {
  color: var(--purple-600);
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 10px;
}
.staff-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.staff-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
.staff-social a:hover {
  background: var(--purple-700);
  color: #fff;
}

/* ---------- News ---------- */
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.news-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.news-card__body {
  padding: 22px;
}
.news-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.news-card h4 a:hover {
  color: var(--purple-700);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--purple-100);
  color: var(--purple-700);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--purple-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 90;
  border: none;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
