/* =============================================================
   Ennoble Social Innovation — pixel recreation
   Values below are measured from the live site at 1471px wide,
   container 1200px centred.
   ============================================================= */

:root {
  --navy:        #2E51A3;   /* headings, icon circles */
  --navy-deep:   #223B75;   /* stat numbers */
  --yellow:      #E8D421;   /* top bar, highlight */
  --cream:       #FCF6E1;   /* hero + alternating bands */
  --stat-blue:   #E6EEFF;   /* stat card fill */
  --ink:         #121212;   /* nav links */
  --body-ink:    #111111;   /* body copy */
  --container:   1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: var(--body-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: 'Open Sans', sans-serif; font-weight: 700; }

.wrap {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

/* ---------------------------------------------------- top bar */
.topbar { background: var(--yellow); }

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 43px;
  padding: 0 15px;
}

.topbar-social { display: flex; align-items: center; gap: 4.5px; }

.topbar-social a {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--navy);
}
.topbar-social svg { width: 13px; height: 13px; fill: #fff; }

.topbar-contact { display: flex; align-items: center; gap: 36px; }
.topbar-contact li { display: flex; align-items: center; }
.topbar-contact svg { width: 14px; height: 14px; fill: #000; }
.topbar-contact span {
  padding-left: 5px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  color: #000;
}

/* ---------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  height: 90px;
}

.logo { padding-left: 5px; }
.logo img { width: 196px; height: 48px; }

.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; align-items: center; }
.mainnav > ul > li { position: relative; }

.mainnav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 34px 22px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink);
}
.mainnav > ul > li:last-child > a { padding-right: 0; }
.mainnav > ul > li > a:hover { color: var(--navy); }

.caret { width: 9px; height: 6px; fill: currentColor; }

.submenu {
  position: absolute;
  top: 100%;
  left: 8px;
  z-index: 40;
  min-width: 250px;
  padding: 10px 0;
  background: #fff;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}
.mainnav li:hover > .submenu,
.mainnav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.submenu a {
  display: block;
  padding: 8px 22px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.submenu a:hover { color: var(--navy); }

.navtoggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}

/* ---------------------------------------------------- tricolour strips */
.strip        { height: 17px; padding: 8px 0; background: url('../img/strip_left.webp') 0 0 / cover no-repeat; }
.strip--right { background-image: url('../img/strip.webp'); }

/* ---------------------------------------------------- hero */
.hero {
  background: var(--cream);
  padding: 20px 10px 20px 80px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  min-height: 419px;
}

.hero-copy { width: 774px; padding-left: 50px; }
.hero-img  { flex: 1; padding-right: 80px; }

.h1-box { padding-bottom: 9px; }

.hero h1 {
  max-width: 616px;
  font-size: 44px;
  line-height: 57.2px;
  color: var(--navy);
}
.hero h1 mark { background: var(--yellow); color: inherit; padding: 0; }

.hero p {
  max-width: 570px;
  margin: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  color: var(--body-ink);
}

.hero-img img { width: 397px; height: 399px; margin: 0 auto; }

/* ---------------------------------------------------- impact stats */
.impact { background: #fff; padding: 60px 0 70px; }

.impact .wrap { display: flex; flex-direction: column; gap: 30px; }

.h2-box { padding: 15px 15px 0; }

.impact h2 {
  font-size: 45px;
  line-height: 54px;
  color: var(--navy);
  text-align: center;
}

.stat-row { display: flex; gap: 29px; padding: 0 15px 15px; }

.stat {
  flex: 0 0 370px;
  padding: 35px 15px;
  background: var(--stat-blue);
  border-radius: 30px;
  text-align: center;
}

.stat-pill {
  display: inline-flex;
  align-items: baseline;
  padding: 12px 15px;
  background: #fff;
  border-radius: 50px;
}
.stat-pill b,
.stat-pill i {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  line-height: 38.4px;
  font-weight: 600;
  font-style: normal;
  color: var(--navy-deep);
}
.stat-pill i { padding-left: 4px; }

.stat h3 {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--body-ink);
}

/* ---------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .hero { padding: 20px 30px; }
  .hero-inner { gap: 30px; }
}

@media (max-width: 991px) {
  .mainnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  }
  .mainnav.open { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; }
  .mainnav > ul > li > a { padding: 12px 20px; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 6px 16px;
  }
  .navtoggle { display: block; }
  .site-header .wrap { position: relative; }

  .hero-inner { flex-direction: column; text-align: center; min-height: 0; padding: 30px 0; }
  .hero-img { order: -1; width: 320px; }
  .hero h1, .hero p { max-width: none; }

  .stat-row { flex-wrap: wrap; }
  .stat { flex: 1 1 45%; }
}

@media (max-width: 767px) {
  .topbar .wrap { flex-direction: column; height: auto; gap: 6px; padding: 8px 15px; }
  .topbar-contact { gap: 18px; }
  .hero h1 { font-size: 32px; line-height: 42px; }
  .impact h2 { font-size: 30px; line-height: 40px; }
  .stat { flex: 1 1 100%; }
}

/* ---------------------------------------------------- programs */
.programs { position: relative; background: var(--cream); padding: 90px 0 100px; overflow: hidden; }
.programs .vec { position: absolute; left: 50%; width: 571px; height: 648px; z-index: 0; pointer-events: none; }
.programs .vec--l { margin-left: -726.5px; top: 331px; }   /* container start -126.5px */
.programs .vec--r { margin-left: 147.5px; top: 786px; }    /* container start +747.5px */
.programs .wrap { position: relative; z-index: 1; }
.programs .wrap { padding: 0 10px; }

.programs h2 {
  font-size: 45px;
  line-height: 54px;
  color: var(--navy);
  text-align: center;
}

.programs .intro {
  max-width: 1080px;
  margin: 10px auto 0;
  font-size: 17px;
  line-height: 25.5px;
  color: #222222;
  text-align: center;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 367px);
  justify-content: space-between;
  row-gap: 39px;
  margin-top: 40px;
}

.prog {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--navy);
  border-radius: 25px;
  transition: transform .3s ease;
}
.prog:hover { transform: translateY(-15px); }

.prog-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 225px;
  padding: 0 20px 20px;
  border-radius: 25px 25px 0 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.prog-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0) 0%, #181C63 70%);
  opacity: .65;
}
.prog-media h3 { position: relative; }
.prog-media h3 {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  line-height: 27.5px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.prog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  padding: 10px 20px 30px;
}
.prog-body p {
  margin: 0;
  font-size: 16px;
  line-height: 25.6px;
  color: #fff;
  text-align: center;
}

.prog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  align-self: center;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  color: var(--yellow);
}
.prog-btn svg { width: 16px; height: 16px; fill: var(--yellow); }
.prog-btn:hover { opacity: .85; }

@media (max-width: 1200px) {
  .prog-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 991px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .programs { padding: 60px 0; }
  .programs h2 { font-size: 32px; line-height: 42px; }
}
@media (max-width: 640px) {
  .prog-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------- stories */
.stories { position: relative; background: #fff; padding: 90px 0 0; height: 800px; }
.stories .vec { position: absolute; left: 50%; margin-left: -726.5px; top: 331px; width: 571px; height: 648px; z-index: 0; pointer-events: none; }
.stories .wrap { position: relative; z-index: 1; }
.stories h2 { margin: 0 10px; font-size: 45px; line-height: 54px; color: var(--navy); text-align: center; }
.stories .intro { margin: 10px 10px 0; font-size: 17px; line-height: 25.5px; color: #222; text-align: center; }

.story-row { display: flex; gap: 20px; justify-content: center; margin-top: 40px; padding: 0 10px; }

.story {
  position: relative;
  width: 380px;
  height: 480px;
  border-radius: 25px;
  overflow: hidden;
  background: #6a6a6a center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: transform .3s ease;
}
.story:hover { transform: translateY(-15px); }
.story::before { content: ''; position: absolute; inset: 0; background: #000; opacity: .4; transition: opacity .3s ease; }
.story:hover::before { opacity: .6; }
.story > * { position: relative; z-index: 1; }

.story-name { margin: 0; font-size: 16px; line-height: 28px; font-weight: 700; color: #fff; }
.story-sub  { margin: 0; font-size: 17px; line-height: 20.4px; font-weight: 800; color: #fff; }
.story-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s ease, opacity .35s ease, margin .3s ease;
}
.story:hover .story-more { max-height: 340px; opacity: 1; margin-top: 14px; }
.story-more p { margin: 0 0 10px; font-size: 14px; line-height: 21px; color: #fff; }
.story-more .story-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 100px;
  background: var(--navy);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
}

/* ---------------------------------------------------- videos */
.videos { background: var(--cream); padding: 90px 0 0; height: 824px; overflow: hidden; }
.videos h2 { margin: 0 10px; font-size: 45px; line-height: 54px; color: var(--navy); text-align: center; }
.videos .intro { margin: 10px 10px 0; font-size: 17px; line-height: 25.5px; color: #222; text-align: center; }

.vid-track {
  margin: 14px auto 0;
  width: 1200px;
  max-width: 100%;
  overflow: hidden;
}
.vid-belt {
  display: flex;
  gap: 20px;
  transition: transform .6s ease;
  will-change: transform;
}

.vid {
  flex: 0 0 380px;
  height: 434px;
  border-radius: 25px;
  background: #fff;
}

.vid-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  margin-top: 76px;
}
.vid-dots span {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--yellow);
  transition: all .3s ease;
  cursor: pointer;
}
.vid-dots span.act { width: 12px; height: 12px; background: var(--navy); }
.vid-dots span.far { width: 4px; height: 4px; }

/* video lightbox */
.vlb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.8); }
.vlb iframe { width: min(960px, 92vw); aspect-ratio: 16/9; border: 0; border-radius: 8px; background: #000; }
.vlb-close { position: absolute; top: 24px; right: 32px; font-size: 34px; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.vid-thumb {
  position: relative;
  display: block;
  height: 214px;
  border-radius: 25px;
  background: #000 center/cover no-repeat;
}
.vid-thumb i {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 60px;
  height: 60px;
  color: #fff;
}
.vid-thumb svg { width: 60px; height: 60px; fill: #fff; opacity: .95; }
.vid-caption { padding: 12px 20px 20px; text-align: center; }
.vid-caption h4 { font-size: 18px; line-height: 21.6px; font-weight: 700; color: var(--navy-deep); }
.vid-caption h5 { margin-top: 5px; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 18px; font-weight: 500; color: rgb(23, 149, 70); }
.vid-loc { margin: 8px 0 0; font-size: 14px; line-height: 18.2px; font-weight: 500; color: var(--ink); }
.vid-caption .desc { margin: 8px 0 0; font-size: 13px; line-height: 20.8px; color: rgb(77, 105, 149); }

/* ---------------------------------------------------- CTA cards */
.cta { background: #fff; height: 773px; padding: 70px 0 0; }
.cta h2 { width: 900px; max-width: 100%; margin: 0 auto; font-size: 45px; line-height: 54px; color: var(--navy); text-align: center; }
.cta .intro { width: 900px; max-width: 100%; margin: 10px auto 0; font-size: 17px; line-height: 25.5px; color: #222; text-align: center; }

.cta-row { display: flex; justify-content: center; gap: 40px; margin-top: 30px; }

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 380px;
  height: 448px;
  border-radius: 25px;
  background: var(--yellow);
}
.cta-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 200px;
  padding: 0 20px 25px;
  border-radius: 25px 25px 0 0;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.cta-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0) 0%, #181C63 70%);
  opacity: .65;
}
.cta-media h2 { position: relative; }
.cta-media h2 { width: 340px; margin: 0; font-family: 'Inter', sans-serif; font-size: 20px; line-height: 25px; font-weight: 700; color: #fff; text-align: center; }
.cta-body { display: flex; flex-direction: column; flex: 1; padding: 10px 20px 20px; }
.cta-body p { margin: 0; font-size: 16px; line-height: 25.6px; color: var(--ink); text-align: center; }
.cta-btn {
  align-self: center;
  margin-top: auto;
  padding: 18px 30px;
  border-radius: 25px;
  background: #fff;
  font-size: 14px;
  line-height: 14px;
  font-weight: 700;
  color: #222;
}
.cta-card--volunteer { display: none; }

/* ---------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); padding: 50px 0; }
.foot-grid { display: flex; }
.foot-col { width: 300px; padding: 15px 15px 0; }

.foot-col h2 {
  margin-bottom: 25px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.foot-col:first-child h2 { font-weight: 700; }
.foot-col h2 .dot { color: var(--yellow-warm, #F7DB07); }

.foot-contact li { display: flex; gap: 12px; margin-bottom: 10px; font-size: 15px; line-height: 25px; color: #fff; }
.foot-contact svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; fill: #F7DB07; }
.foot-contact strong { font-weight: 700; }
.foot-contact a { color: #F7DB07; }

.foot-social { display: flex; gap: 10px; margin-top: 29px; }
.foot-social a { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #fff; }
.foot-social svg { width: 15px; height: 15px; fill: var(--navy-deep); }

.foot-links li { margin-bottom: 7px; }
.foot-links a { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 15px; line-height: 22.5px; color: #fff; }
.foot-links a:hover { color: #F7DB07; }
.foot-links svg { width: 12px; height: 12px; fill: #F7DB07; }

.foot-bottom { background: var(--yellow); }
.foot-bottom .wrap { display: flex; align-items: center; min-height: 53px; padding: 0 15px; font-size: 16px; color: #222; }
.foot-bottom strong { font-weight: 700; }

@media (max-width: 1200px) {
  .story-row, .cta-row { flex-wrap: wrap; }
  .stories, .videos, .cta { height: auto; padding-bottom: 70px; }
  .foot-grid { flex-wrap: wrap; }
  .foot-col { width: 50%; }
}
@media (max-width: 767px) {
  .stories h2, .videos h2, .cta h2 { font-size: 30px; line-height: 40px; }
  .cta-card--volunteer { display: flex; }
  .cta-row { padding: 0 15px; }
  .foot-col { width: 100%; }
  .stories .vec { display: none; }
}


/* entrance animation (fadeInUp, as on the live site) */
.anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.anim.in { opacity: 1; transform: none; }
.prog.anim.in:hover { transform: translateY(-15px); }
@media (prefers-reduced-motion: reduce) { .anim { opacity: 1; transform: none; transition: none; } }

.mainnav a.nolink { cursor: default; }

/* ============================================================= mobile
   Everything below only applies at tablet/phone widths — desktop layout
   above 991px is untouched.
   ============================================================= */

@media (max-width: 991px) {
  body { overflow-x: hidden; }
  img { max-width: 100%; }

  /* hero: was a fixed 774px column beside a fixed-width image */
  .hero { padding: 20px 20px 30px; }
  .hero-copy { width: 100%; padding-left: 0; }
  .hero-img { width: 100%; max-width: 340px; padding-right: 0; flex: 0 0 auto; }
  .hero-img img { width: 100%; height: auto; }
  .h1-box, .hero h1, .hero p { max-width: none; }
  .hero .btn-row { justify-content: center; }
}

@media (max-width: 767px) {
  .wrap { padding: 0 16px; }

  /* top bar: stack the socials above the phone/email */
  .topbar .wrap { padding: 10px 16px; }
  .topbar-social { justify-content: center; flex-wrap: wrap; }
  .topbar-contact { flex-wrap: wrap; justify-content: center; row-gap: 4px; font-size: 14px; }

  .logo img { width: 150px; height: auto; }

  .hero h1 { font-size: 30px; line-height: 40px; }
  .hero p  { font-size: 16px; line-height: 26px; }

  /* impact counters */
  .impact { padding: 45px 0 50px; }
  .stat-row { gap: 16px; padding: 0 0 10px; }
  .stat { padding: 26px 15px; }

  /* programme cards */
  .programs { padding: 45px 0 50px; }
  .programs .vec { display: none; }
  .prog-grid { gap: 24px; }

  /* story cards */
  .stories { padding: 45px 0 0; }
  .story-row { flex-direction: column; align-items: center; gap: 24px; margin-top: 28px; padding: 0; }
  .story { width: 100%; max-width: 380px; height: 420px; padding: 24px; }
  .story-more { max-height: 340px; opacity: 1; margin-top: 14px; }   /* no hover on touch */

  /* video carousel: one card at a time */
  .videos { padding: 45px 0 0; }
  /* centre the active card, with the next one peeking in from the side */
  .vid-track { width: 100%; padding: 0 calc((100% - min(320px, 84vw)) / 2); }
  .vid-belt { gap: 16px; }
  .vid { flex: 0 0 min(320px, 84vw); height: auto; padding-bottom: 16px; }
  .vid-thumb { height: 190px; }
  .vid-dots { margin-top: 26px; }

  /* call-to-action cards */
  .cta { padding: 45px 0 0; }
  .cta-row { flex-direction: column; align-items: center; gap: 24px; padding: 0; }
  .cta-card { width: 100%; max-width: 380px; height: auto; padding-bottom: 24px; }
  .cta-media { height: 180px; }

  /* footer */
  .foot-grid { gap: 26px; }
  .foot-bottom .wrap { min-height: 0; padding: 12px 16px; font-size: 14px; line-height: 22px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 26px; line-height: 35px; }
  .impact h2, .programs h2, .stories h2, .videos h2, .cta h2 { font-size: 26px; line-height: 34px; }
  .story { height: 400px; }
}

/* the right-hand dropdowns were spilling a few px past the viewport edge */
.mainnav > ul > li:nth-last-child(-n+3) > .submenu { left: auto; right: 0; }

/* tablet landscape: the three counters were fixed at 370px each and overflowed.
   Scoped to 768px and up so phones keep one counter per row. */
@media (min-width: 768px) and (max-width: 1200px) {
  .stat-row { gap: 20px; }
  .stat { flex: 1 1 30%; min-width: 0; }
}


/* third level: Who We Are > Transparency > ... */
.submenu li { position: relative; }
.submenu > li > a.nolink { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: default; }
.caret-right { width: 6px; height: 9px; fill: none; flex: 0 0 auto; }
.submenu .submenu { top: -13px; left: 100%; }
@media (max-width: 991px) {
  .submenu .submenu { top: auto; left: auto; padding: 0 0 4px 16px; }
  .caret-right { display: none; }
}


/* ---- mobile menu: collapsible sections ----
   Below 991px the whole menu used to render expanded, which dumped every link
   in the site into one long scroll. Sections now start closed and open on tap. */
@media (max-width: 991px) {
  .mainnav .submenu { display: none; }
  .mainnav li.is-open > .submenu { display: block; }
  .mainnav > ul > li > a.nolink,
  .mainnav .submenu > li > a.nolink {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; cursor: pointer;
  }
  .mainnav a.nolink .caret,
  .mainnav a.nolink .caret-right {
    display: block; flex: 0 0 auto; transition: transform .18s ease;
  }
  .mainnav a.nolink .caret-right { width: 9px; height: 6px; transform: rotate(90deg); }
  .mainnav li.is-open > a.nolink .caret,
  .mainnav li.is-open > a.nolink .caret-right { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mainnav a.nolink .caret,
  .mainnav a.nolink .caret-right { transition: none; }
}
