/* ============================================================
   MULIKA 'A' MENTORSHIP CENTRE — Design System
   Concept: the marked exercise book — navy ruled paper,
   red grading-pen accents, a recurring "period bar" timetable motif.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,450;0,9..144,600;0,9..144,700;1,9..144,500&family=Public+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --navy:#0B1B3A;
  --navy-2:#152A54;
  --navy-3:#1E3866;
  --red:#C41230;
  --red-deep:#8F0E24;
  --paper:#F7F4EC;
  --paper-2:#EFEADC;
  --ink:#181C2A;
  --ink-soft:#4A5164;
  --gold:#C9A227;
  --line: rgba(11,27,58,0.14);
  --white:#FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 4px;
  --shadow: 0 12px 32px rgba(11,27,58,0.16);
  --shadow-soft: 0 4px 14px rgba(11,27,58,0.08);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--serif);
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.08;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; color:var(--ink-soft); }
ul{ margin:0; padding:0; list-style:none; }
.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}
.eyebrow{
  font-family:var(--sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--red);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--red);
  display:inline-block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ---------- Ruled paper texture ---------- */
.ruled{
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 39px,
      var(--line) 40px
    );
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--sans);
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
  padding:13px 26px;
  border-radius:var(--radius);
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
}
.btn-red{
  background:var(--red);
  color:var(--white);
  box-shadow:0 6px 16px rgba(196,18,48,0.32);
}
.btn-red:hover{ background:var(--red-deep); transform:translateY(-1px); }
.btn-navy{
  background:var(--navy);
  color:var(--white);
}
.btn-navy:hover{ background:var(--navy-2); transform:translateY(-1px); }
.btn-outline{
  background:transparent;
  border-color:var(--navy);
  color:var(--navy);
}
.btn-outline:hover{ background:var(--navy); color:var(--white); }
.btn-outline-light{
  background:transparent;
  border-color:rgba(255,255,255,0.5);
  color:var(--white);
}
.btn-outline-light:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }
.btn-block{ width:100%; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--navy);
  border-bottom:3px solid var(--red);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--white);
}
.brand-mark{
  width:42px; height:42px;
  border:2px solid var(--red);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--serif);
  font-weight:700;
  font-size:18px;
  color:var(--white);
  flex-shrink:0;
  position:relative;
}
.brand-mark::after{
  content:"";
  position:absolute;
  inset:-6px;
  border:1px solid rgba(196,18,48,0.5);
  border-radius:50%;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text .name{
  font-family:var(--serif);
  font-weight:700;
  font-size:19px;
  letter-spacing:.01em;
}
.brand-text .name em{ font-style:italic; color:var(--red); }
.brand-text .sub{
  font-size:10.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  color:rgba(255,255,255,0.82);
  font-size:14.5px;
  font-weight:600;
  position:relative;
  padding:6px 0;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:100%;
  bottom:0;
  height:2px;
  background:var(--red);
  transition:right .2s ease;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a:hover::after{ right:0; }
.nav-links a.active{ color:var(--white); }
.nav-links a.active::after{ right:0; }
.nav-right{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none;
  background:none;
  border:1px solid rgba(255,255,255,0.4);
  border-radius:4px;
  width:40px; height:38px;
  color:var(--white);
  font-size:18px;
  cursor:pointer;
}

@media (max-width: 900px){
  .nav-links{
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--navy-2);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:6px 28px 18px;
    display:none;
    border-bottom:3px solid var(--red);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width:100%; padding:12px 0; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}

/* ---------- Period bar (signature motif: a timetable strip) ---------- */
.period-bar{
  background:var(--navy);
  color:rgba(255,255,255,0.88);
  border-top:1px solid rgba(255,255,255,0.12);
  border-bottom:1px solid rgba(255,255,255,0.12);
  overflow:hidden;
}
.period-track{
  display:flex;
  gap:0;
  font-family:var(--sans);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  animation:scroll-left 26s linear infinite;
  white-space:nowrap;
  width:max-content;
}
.period-track span{
  padding:12px 30px;
  border-right:1px solid rgba(255,255,255,0.14);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.period-track span b{ color:var(--red); font-weight:800; }
.period-track .dot{ width:4px; height:4px; border-radius:50%; background:var(--gold); display:inline-block; }
@keyframes scroll-left{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .period-track{ animation:none; flex-wrap:wrap; }
}

/* ---------- Hero ---------- */
.hero{
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  position:relative;
  overflow:hidden;
  color:var(--white);
  padding:76px 0 90px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 43px,
      rgba(255,255,255,0.05) 44px
    );
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  color:var(--white);
  font-size:clamp(38px, 5vw, 60px);
  font-weight:700;
  margin-bottom:20px;
}
.hero h1 .accent{
  color:var(--red);
  font-style:italic;
  font-weight:500;
  position:relative;
  white-space:nowrap;
}
.hero-lede{
  font-size:17.5px;
  color:rgba(255,255,255,0.78);
  max-width:520px;
  margin-bottom:32px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:38px; }
.hero-meta{
  display:flex;
  gap:34px;
  flex-wrap:wrap;
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,0.16);
}
.hero-meta div{ display:flex; flex-direction:column; gap:2px; }
.hero-meta .num{ font-family:var(--serif); font-size:22px; font-weight:700; color:var(--white); }
.hero-meta .lbl{ font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,0.55); }

/* ---- Report card (signature visual) ---- */
.report-stack{
  display:flex;
  flex-direction:column;
  gap:26px;
}
.report-card.card-a{ transform:rotate(1.4deg); }
.report-card.card-b{ transform:rotate(-1.1deg); }
.report-card{
  background:var(--paper);
  border-radius:6px;
  box-shadow:var(--shadow);
  padding:26px 24px 22px;
  position:relative;
  transform:rotate(1.4deg);
  color:var(--ink);
}
.report-card::before{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid var(--line);
  pointer-events:none;
  border-radius:3px;
}
.report-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  border-bottom:2px solid var(--navy);
  padding-bottom:12px;
  margin-bottom:14px;
}
.report-head .title{
  font-family:var(--serif);
  font-weight:700;
  font-size:16px;
  color:var(--navy);
}
.report-head .title small{
  display:block;
  font-family:var(--sans);
  font-weight:600;
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-top:2px;
}
.stamp{
  width:56px; height:56px;
  border-radius:50%;
  border:2.5px solid var(--red);
  color:var(--red);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  transform:rotate(-9deg);
  font-family:var(--serif);
  line-height:1;
  flex-shrink:0;
}
.stamp b{ font-size:17px; font-weight:700; }
.stamp span{ font-size:7.5px; letter-spacing:.06em; text-transform:uppercase; font-family:var(--sans); font-weight:700; }
.report-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 2px;
  border-bottom:1px dashed var(--line);
  font-size:14px;
}
.report-row:last-child{ border-bottom:none; }
.report-row .subj{ display:flex; align-items:center; gap:10px; color:var(--ink); font-weight:600; }
.tick{
  color:var(--red);
  font-weight:800;
  font-size:16px;
  font-family:var(--serif);
  transform:rotate(-6deg);
  display:inline-block;
}
.report-row .grade{
  font-family:var(--serif);
  font-weight:700;
  color:var(--red);
  border:1.5px solid var(--red);
  border-radius:50%;
  width:26px;height:26px;
  display:flex; align-items:center; justify-content:center;
  font-size:12px;
  transform:rotate(4deg);
}

@media (max-width: 940px){
  .hero-grid{ grid-template-columns:1fr; }
  .report-card{ max-width:420px; }
}

/* ---------- Section basics ---------- */
section{ padding:88px 0; }
.section-head{
  max-width:640px;
  margin-bottom:52px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy h2, .bg-navy h3{ color:var(--white); }
.bg-navy p{ color:rgba(255,255,255,0.72); }
.bg-paper-2{ background:var(--paper-2); }

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

.feature{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:6px;
  padding:30px 26px;
  position:relative;
}
.feature .fnum{
  font-family:var(--serif);
  font-style:italic;
  font-size:13px;
  color:var(--red);
  margin-bottom:14px;
  display:block;
}
.feature h3{ font-size:19px; margin-bottom:8px; }
.feature p{ font-size:14.5px; margin-bottom:0; }

/* Subject checklist card (used in programmes) */
.subject-card{
  background:var(--white);
  border-radius:6px;
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
.subject-card .sc-head{
  background:var(--navy);
  color:var(--white);
  padding:22px 26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.subject-card .sc-head h3{ color:var(--white); font-size:20px; margin:0; }
.subject-card .sc-head span{
  font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,0.6);
}
.subject-card ul{ padding:8px 26px 22px; }
.subject-card li{
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 0;
  border-bottom:1px dashed var(--line);
  font-weight:600;
  font-size:15px;
}
.subject-card li:last-child{ border-bottom:none; }
.subject-card li .tick{ font-size:17px; }
.badge-gold{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#FBF3DD;
  border:1px solid var(--gold);
  color:#8A6D0E;
  font-size:13px;
  font-weight:700;
  padding:10px 16px;
  border-radius:4px;
  margin:18px 26px 0;
}

/* ---------- Stats strip ---------- */
.stats-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,0.15);
  border-bottom:1px solid rgba(255,255,255,0.15);
}
.stats-strip .stat{
  padding:30px 20px;
  text-align:center;
  border-right:1px solid rgba(255,255,255,0.15);
}
.stats-strip .stat:last-child{ border-right:none; }
.stats-strip .num{ font-family:var(--serif); font-size:32px; font-weight:700; color:var(--red); }
.stats-strip .lbl{ font-size:12px; letter-spacing:.05em; color:rgba(255,255,255,0.65); margin-top:4px; }
@media(max-width:700px){ .stats-strip{ grid-template-columns:repeat(2,1fr); } .stats-strip .stat:nth-child(2){ border-right:none; } }

/* ---------- Quote / values ---------- */
.value-row{
  display:flex;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.value-row:first-child{ border-top:1px solid var(--line); }
.value-row .vi{
  font-family:var(--serif);
  font-style:italic;
  font-size:22px;
  color:var(--red);
  width:44px;
  flex-shrink:0;
}
.value-row h4{ font-family:var(--serif); font-size:17px; color:var(--navy); margin:0 0 4px; }
.value-row p{ margin:0; font-size:14.5px; }

/* ---------- Testimonials ---------- */
.testimonial{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow-soft);
  padding:40px 44px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:30px;
  align-items:flex-start;
  max-width:820px;
  margin:0 auto;
  position:relative;
}
.testimonial-photo{
  width:96px; height:96px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--red);
  flex-shrink:0;
  box-shadow:0 6px 18px rgba(196,18,48,0.22);
}
.testimonial-photo img{ width:100%; height:100%; object-fit:cover; }
.testimonial-quote-mark{
  font-family:var(--serif);
  font-style:italic;
  font-size:44px;
  color:var(--red);
  line-height:1;
  display:block;
  margin-bottom:6px;
}
.testimonial blockquote{
  font-family:var(--serif);
  font-size:19px;
  font-style:italic;
  color:var(--ink);
  margin:0 0 20px;
  line-height:1.5;
}
.testimonial-byline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.testimonial-byline .name{
  font-family:var(--sans);
  font-weight:800;
  font-size:15px;
  color:var(--navy);
}
.testimonial-byline .meta{
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--ink-soft);
}
.testimonial-byline .grade-chip{
  font-family:var(--serif);
  font-weight:700;
  font-size:12.5px;
  color:var(--red);
  border:1.5px solid var(--red);
  border-radius:20px;
  padding:2px 12px;
}
@media(max-width:640px){
  .testimonial{ grid-template-columns:1fr; padding:32px 26px; text-align:center; }
  .testimonial-photo{ margin:0 auto; }
  .testimonial-byline{ justify-content:center; }
}

/* ---------- Testimonial grid (multiple cards) ---------- */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
}
.testimonial-card-sm{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow-soft);
  padding:30px 26px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.testimonial-card-sm .tc-photo{
  width:72px; height:72px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--red);
  margin-bottom:16px;
  box-shadow:0 6px 16px rgba(196,18,48,0.2);
  flex-shrink:0;
}
.testimonial-card-sm .tc-photo img{ width:100%; height:100%; object-fit:cover; }
.testimonial-card-sm .tc-quote-mark{
  font-family:var(--serif);
  font-style:italic;
  font-size:34px;
  color:var(--red);
  line-height:.6;
  margin-bottom:6px;
}
.testimonial-card-sm blockquote{
  font-family:var(--serif);
  font-size:15.5px;
  font-style:italic;
  color:var(--ink);
  margin:0 0 18px;
  line-height:1.55;
}
.testimonial-card-sm .tc-name{
  font-family:var(--sans);
  font-weight:800;
  font-size:14.5px;
  color:var(--navy);
  margin-bottom:2px;
}
.testimonial-card-sm .tc-meta{
  font-size:12px;
  color:var(--ink-soft);
  margin-bottom:10px;
}
.testimonial-card-sm .tc-grade{
  font-family:var(--serif);
  font-weight:700;
  font-size:12px;
  color:var(--red);
  border:1.5px solid var(--red);
  border-radius:20px;
  padding:2px 12px;
  display:inline-block;
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--red);
  color:var(--white);
  padding:56px 0;
}
.cta-band-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); margin:0; font-size:clamp(24px,3vw,32px); }
.cta-band p{ color:rgba(255,255,255,0.85); margin:6px 0 0; }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.info-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:6px;
  padding:8px 0;
  box-shadow:var(--shadow-soft);
}
.info-row{
  display:flex;
  gap:16px;
  padding:20px 26px;
  border-bottom:1px solid var(--line);
  align-items:flex-start;
}
.info-row:last-child{ border-bottom:none; }
.info-icon{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--navy);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  font-size:16px;
}
.info-row h4{ font-family:var(--serif); font-size:15.5px; color:var(--navy); margin:0 0 3px; }
.info-row p{ margin:0; font-size:14px; }
.info-row a{ color:var(--red); font-weight:700; }
.map-wrap{
  border-radius:6px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.map-wrap iframe{ width:100%; height:280px; border:0; display:block; }

/* ---------- Form ---------- */
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--navy);
  margin-bottom:7px;
}
.field input, .field select, .field textarea{
  width:100%;
  font-family:var(--sans);
  font-size:14.5px;
  padding:12px 14px;
  border:1.5px solid var(--line);
  border-radius:4px;
  background:var(--white);
  color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(196,18,48,0.12);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:520px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:6px; }

/* ---------- Modal (Enroll form) ---------- */
.modal-overlay{
  position:fixed; inset:0;
  background:rgba(11,27,58,0.62);
  backdrop-filter:blur(2px);
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:40px 20px;
  overflow-y:auto;
  z-index:200;
}
.modal-overlay.open{ display:flex; }
.modal{
  background:var(--paper);
  width:100%;
  max-width:560px;
  border-radius:8px;
  box-shadow:0 30px 60px rgba(0,0,0,0.35);
  position:relative;
  animation:modal-in .22s ease;
}
@keyframes modal-in{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}
.modal-head{
  background:var(--navy);
  color:var(--white);
  padding:22px 28px;
  border-radius:8px 8px 0 0;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  border-bottom:3px solid var(--red);
}
.modal-head h3{ color:var(--white); margin:0 0 4px; font-size:21px; }
.modal-head p{ margin:0; font-size:13px; color:rgba(255,255,255,0.65); }
.modal-close{
  background:rgba(255,255,255,0.12);
  border:none;
  color:var(--white);
  width:32px; height:32px;
  border-radius:50%;
  cursor:pointer;
  font-size:16px;
  line-height:1;
  flex-shrink:0;
}
.modal-close:hover{ background:rgba(255,255,255,0.22); }
.modal-body{ padding:26px 28px 28px; }
.modal-success{
  display:none;
  padding:40px 28px 44px;
  text-align:center;
}
.modal-success.open{ display:block; }
.modal-success .check{
  width:60px;height:60px;
  border-radius:50%;
  border:2.5px solid var(--red);
  color:var(--red);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
  font-size:26px;
  font-family:var(--serif);
  transform:rotate(-6deg);
}
.modal-success h3{ margin-bottom:8px; }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy);
  color:rgba(255,255,255,0.72);
  padding:60px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
@media(max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } }
.footer-grid h4{
  color:var(--white);
  font-family:var(--sans);
  font-size:12.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.footer-grid p, .footer-grid a{ font-size:14px; color:rgba(255,255,255,0.68); }
.footer-grid a{ display:block; margin-bottom:10px; }
.footer-grid a:hover{ color:var(--white); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
  font-size:12.5px;
  color:rgba(255,255,255,0.45);
  flex-wrap:wrap;
  gap:10px;
}

/* Skip link for accessibility */
.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--red); color:var(--white);
  padding:10px 16px; z-index:999;
}
.skip-link:focus{ left:10px; top:10px; }
