/* =========================================================
   Waltham International College — Design System
   ========================================================= */

:root {
  /* "Transit Teal" — grounded in the Overground/District lines that
     actually run past the Barking campus (see contact.html) */
  --navy-950: #0c1116;
  --navy-900: #101a1c;
  --navy-800: #12292a;
  --navy-700: #163d3b;
  --navy-600: #175149;
  --navy-500: #12786f;
  --gold-500: #ef8354;
  --gold-400: #f4a276;
  --gold-100: #fdece1;
  --ink-900: #1c2530;
  --ink-700: #3b4652;
  --ink-500: #63707d;
  --ink-300: #a3afb9;
  --paper-0: #fbfaf7;
  --paper-50: #f5f3ee;
  --paper-100: #efebe3;
  --line: #e3dfd6;
  --success: #3fa34d;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 17, 22, 0.07), 0 1px 1px rgba(12, 17, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(12, 17, 22, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 17, 22, 0.20);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; color: var(--ink-700); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--paper-0); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--paper-0); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: var(--paper-0); }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--paper-100); color: var(--navy-900); }
.btn-ghost:hover { background: var(--line); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,247,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 62px; width: auto; flex: none; }
.brand-logo-footer { height: 72px; }
.brand-mark-icon { width: 42px; height: 42px; flex: none; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--paper-100); color: var(--navy-900); }

.header-cta { display: none; align-items: center; gap: 10px; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  border: none;
  background: var(--paper-100);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 17, 22, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--paper-0);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-nav-close {
  width: 40px; height: 40px; border: none; border-radius: 10px;
  background: var(--paper-100); display: flex; align-items: center; justify-content: center;
}
.mobile-nav-panel a {
  display: block;
  padding: 14px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  border-radius: 10px;
}
.mobile-nav-panel a:hover, .mobile-nav-panel a.active { background: var(--paper-100); }
.mobile-nav-panel .btn { margin-top: 16px; }
.mobile-nav-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-500);
}
.mobile-nav-foot a { color: var(--navy-700); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--paper-0);
  overflow: hidden;
  padding: 56px 0 72px;
}
@media (min-width: 768px) { .hero { padding: 88px 0 110px; } }
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(12,17,22,0.94) 0%, rgba(12,17,22,0.86) 38%, rgba(15,32,33,0.62) 72%, rgba(15,32,33,0.42) 100%),
    linear-gradient(0deg, rgba(12,17,22,0.55), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }
.hero h1 {
  color: var(--paper-0);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lede { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
}
.hero-stats .stat { padding: 0; }
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--paper-0);
}
.hero-stats .stat span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--paper-0); font-size: 1.15rem; }
.hero-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}
.hero-card-list svg { flex: none; width: 20px; height: 20px; color: var(--gold-400); margin-top: 2px; }

/* ---------- Marquee / trust bar ---------- */
.trust-bar { background: var(--paper-50); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-500); font-weight: 600; }
.trust-item svg { width: 18px; height: 18px; color: var(--navy-700); }

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

.card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin-bottom: 0; }

.card-gold .card-icon { background: var(--gold-100); color: var(--gold-500); }

/* Subject / course cards */
.subject-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.subject-card-top {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 18px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--paper-0);
  min-height: 168px;
}
.subject-card-top .card-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.subject-card-top::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(195deg, rgba(12,17,22,0.28) 0%, rgba(16,26,28,0.82) 65%, rgba(16,26,28,0.94) 100%);
}
.subject-card-top .card-icon,
.subject-card-top h3,
.subject-card-top p { position: relative; z-index: 2; }
.subject-card-top .card-icon { background: rgba(255,255,255,0.14); color: var(--gold-400); backdrop-filter: blur(2px); }
.subject-card-top h3 { color: var(--paper-0); margin-bottom: 6px; }
.subject-card-top p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 0; }
.subject-card-body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.subject-card-body ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; flex: 1; }
.subject-card-body li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--ink-700);
}
.subject-card-body svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--success); }
.subject-card-body .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--paper-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  align-self: flex-start;
}

/* ---------- Vision / Mission ---------- */
.vm-section { background: var(--navy-950); color: var(--paper-0); position: relative; overflow: hidden; }
.vm-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(239,131,84,0.12), transparent 60%);
}
.vm-section .section-head h2 { color: var(--paper-0); }
.vm-section .section-head p { color: rgba(255,255,255,0.68); }
.vm-grid { display: grid; gap: 20px; position: relative; z-index: 1; }
@media (min-width: 900px) { .vm-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.vm-col {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.vm-col h3 { color: var(--gold-400); font-size: 1.3rem; }
.vm-col > p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.vm-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.vm-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
}
.vm-list .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(239,131,84,0.16);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.vm-list strong { display: block; color: var(--paper-0); font-size: 0.95rem; margin-bottom: 2px; }
.vm-list span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ---------- Campuses ---------- */
.campus-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-0);
}
@media (min-width: 768px) { .campus-card { grid-template-columns: 200px 1fr; } }
.campus-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-950));
  color: var(--paper-0);
  padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 180px;
}
.campus-media .card-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.campus-media::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, rgba(12,17,22,0.25) 0%, rgba(16,26,28,0.85) 70%, rgba(16,26,28,0.94) 100%);
}
.campus-media svg, .campus-media strong { position: relative; z-index: 2; }
.campus-media svg { width: 30px; height: 30px; color: var(--gold-400); margin-bottom: 10px; }
.campus-media strong { font-family: var(--font-display); font-size: 1.1rem; }
.campus-body { padding: 26px; }
.campus-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.campus-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.campus-meta div { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-500); }
.campus-meta svg { width: 16px; height: 16px; color: var(--navy-700); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 56px 40px; } }
.cta-banner h2 { color: var(--navy-950); margin-bottom: 10px; }
.cta-banner p { color: var(--navy-800); max-width: 520px; margin-inline: auto; }
.cta-banner .btn-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Photo with quote caption (About page) ---------- */
.photo-quote {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.photo-quote img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-quote::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(12,17,22,0.92) 0%, rgba(12,17,22,0.55) 45%, rgba(12,17,22,0.05) 75%);
}
.photo-quote blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 28px;
}
.photo-quote blockquote p { font-size: 1.1rem; color: var(--paper-0); font-style: italic; margin-bottom: 10px; }
.photo-quote blockquote cite { font-style: normal; font-weight: 600; color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.contact-info-item .card-icon { margin-bottom: 0; }
.contact-info-item h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--navy-900); }
.contact-info-item a, .contact-info-item span { font-size: 0.92rem; color: var(--ink-500); }
.contact-info-item a:hover { color: var(--navy-700); }

.form-card {
  background: var(--paper-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-0);
  color: var(--ink-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(18,120,111,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--ink-500); margin-top: 12px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #eaf7ec;
  color: var(--success);
  border: 1px solid #c2e6c8;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; flex: none; }

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

/* ---------- Accreditation strip ---------- */
.accred-strip {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 24px;
}
.accred-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--paper-0);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}
.accred-pill svg { width: 18px; height: 18px; color: var(--navy-700); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: radial-gradient(120% 160% at 85% -10%, var(--navy-700) 0%, var(--navy-950) 55%);
  color: var(--paper-0);
  padding: 56px 0 60px;
}
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero h1 { color: var(--paper-0); font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; font-size: 1.05rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); font-weight: 600; }

/* ---------- Alt background section ---------- */
.bg-alt { background: var(--paper-50); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.68); padding-top: 64px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.14); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: var(--paper-0); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: space-between;
  padding: 24px 0 32px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

::selection { background: var(--gold-400); color: var(--navy-950); }
