/* 
-
- Padding
-
*/
:root {
  --padding-top: 3rem;
  --padding-right: 1.5rem;
  --padding-bottom: 3rem;
  --padding-left: 1.5rem;
}

@media only screen and (min-width: 475px) {
  :root {
    --padding-top: 3.5rem;
    --padding-right: 2rem;
    --padding-bottom: 3.5rem;
    --padding-left: 2rem;
  }
}

@media only screen and (min-width: 600px) {
  :root {
    --padding-top: 4.5rem;
    --padding-right: 3rem;
    --padding-bottom: 4.5rem;
    --padding-left: 3rem;
  }
}

@media only screen and (min-width: 1024px) {
  :root {
    --padding-top: 5rem;
    --padding-right: 4rem;
    --padding-bottom: 5rem;
    --padding-left: 4rem;
  }
}

@media only screen and (min-width: 1200px) {
  :root {
    --padding-top: 5.5rem;
    --padding-right: 5.5rem;
    --padding-bottom: 5.5rem;
    --padding-left: 5.5rem;
  }
}

@media only screen and (min-width: 1440px) {
  :root {
    /* --padding-top: 8vw; */
    --padding-right: 6vw;
    /* --padding-bottom: 8vw; */
    --padding-left: 6vw;
  }
}

@media only screen and (min-width: 1650px) {
  :root {
    --padding-top: clamp(5.5rem, 4vw, 7rem);
    --padding-right: 8vw;
    --padding-bottom: clamp(5.5rem, 4vw, 7rem);
    --padding-left: 8vw;
  }
}

@media only screen and (min-width: 1920px) {
  :root {
    --padding-top: 5vw;
    --padding-right: 10vw;
    --padding-bottom: 5vw;
    --padding-left: 10vw;
  }
}

/* 
-
- Fonts
-
*/
:root {
  --font-display: 'Libre Baskerville', serif;
  --font-body: Outfit, sans-serif;
  --font-script: 'Birthstone', cursive;

  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.15rem;
  --text-md: 1.25rem;
  --text-lg: 1.75rem;
  --text-xl: 2rem;
  --text-2xl: 2.15rem;
  --text-3xl: 2.25rem;
}

@media only screen and (min-width: 768px) {
  :root {
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.15rem;
    --text-md: 1.25rem;
    --text-lg: 1.75rem;
    --text-xl: 2rem;
    --text-2xl: 2.25rem;
    --text-3xl: 2.5rem;
  }
}

@media only screen and (min-width: 1024px) {
  :root {
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-md: 1.5rem;
    --text-lg: 2rem;
    --text-xl: 2.25rem;
    --text-2xl: 2.5rem;
    --text-3xl: 3rem;
  }
}

@media only screen and (min-width: 1280px) {
  :root {
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-md: 1.5rem;
    --text-lg: 2rem;
    --text-xl: 2.25rem;
    --text-2xl: 2.5rem;
    --text-3xl: 3rem;
  }
}

@media only screen and (min-width: 1440px) {
  :root {
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-md: 1.5rem;
    --text-lg: 2rem;
    --text-xl: 2.25rem;
    --text-2xl: 2.5rem;
    --text-3xl: 3rem;
  }
}

/* 
14 xs
16 sm
18 base
24 md
32 lg
36 xl 
40 2xl
48 3xl 
*/

@media only screen and (min-width: 1650px) {
  :root {
    --text-xs: 0.848vw;
    --text-sm: 0.97vw;
    --text-base: 1.091vw;
    --text-md: 1.455vw;
    --text-lg: 1.939vw;
    --text-xl: 2.182vw;
    --text-2xl: 2.424vw;
    --text-3xl: 2.909vw;
  }
}

:root {
  --blue: #283a47;
  --blue-dark: #001730;
  --blue-light: #4a8fa8;
  --white: #fbfbfb;
  --black: #060606;

  /* Brand navy (#1e2d38) — used for hero gradients & image overlays */
  --brand: #1e2d38;
  --brand-rgb: 30, 45, 56;
  /* Branded gradient for solid (image-less) hero backgrounds */
  --hero-gradient: linear-gradient(160deg, #283b48 0%, var(--brand) 55%, #14202a 100%);
}

.pt-block-y {
  padding-top: calc(var(--padding-top) * 2);
}
.pb-block-y {
  padding-bottom: calc(var(--padding-bottom) * 2);
}
.py-block-y {
  padding-top: calc(var(--padding-top) * 2);
  padding-bottom: calc(var(--padding-bottom) * 2);
}
.pl-block-x {
  padding-left: var(--padding-left);
}
.pr-block-x {
  padding-right: var(--padding-right);
}
.px-block-x {
  padding-left: var(--padding-left);
  padding-right: var(--padding-right);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--black);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
}

#main__header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 100;
  background: transparent;

  a.logo {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform-origin: top center;
    transform: rotateX(0deg);
    opacity: 1;
    transition: transform 0.55s cubic-bezier(0.6, -0.05, 0.4, 1.4), opacity 0.4s ease;
    perspective: 800px;
    will-change: transform, opacity;

    svg {
      height: 100%;
      width: auto;

      &:last-of-type {
        display: none;
        height: 1rem;
      }

      @media screen and (min-width: 640px) {
        &:last-of-type {
          display: block;
        }
      }

      path {
        fill: white;
      }
    }
  }

  &.is-scrolled a.logo {
    transform: rotateX(-90deg);
    opacity: 0;
    pointer-events: none;
  }

}

.header__controls {
  position: fixed;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  z-index: 150;
}

.header__icon {
  width: 5rem;
  height: 3.75rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  .header__icon__img,
  .header__icon__label {
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__icon__img {
    transform: translateY(0);
    opacity: 1;

    img {
      filter: brightness(0) invert(1);
      display: block;
    }

    svg {
      stroke: var(--white);
    }
  }

  .header__icon__label {
    transform: translateY(100%);
    opacity: 0;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
  }

  &:hover {
    .header__icon__img {
      transform: translateY(-100%);
      opacity: 0;
    }

    .header__icon__label {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

.header__controls {
  .header__icon:nth-child(1) { background: #1a2d39; }
  .header__icon:nth-child(2) { background: #283a47; }
  .header__icon:nth-child(3) { background: #334f60; }
  .header__icon:nth-child(4) { background: #3d5d6f; }
}

.header__icon--menu {
  height: 5rem;
  flex-direction: row;
  gap: 0.6rem;
  padding: 0 1rem;

  .header__icon__img,
  .header__icon__label {
    position: static;
    transform: none;
    opacity: 1;
    transition: none;
  }

  .header__icon__label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
  }

  &:hover {
    .header__icon__img,
    .header__icon__label {
      transform: none;
      opacity: 1;
    }
  }
}

@media screen and (max-width: 640px) {
  .header__controls .header__icon:not(.open__nav) {
    display: none;
  }
}

#main__nav {
  position: fixed;
  height: 100vh;
  inset: 0;
  z-index: 200;
  background-color: var(--blue);
  padding: calc(var(--padding-top) * 0.5) var(--padding-right)
    var(--padding-bottom) var(--padding-left);
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: right;

  .nav__header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    padding-bottom: calc(var(--padding-top) * 0.5);
    gap: 1rem;

    @media screen and (min-width: 768px) {
      display: flex;
    }

    .logo__crest {
      display: inline-flex;

      svg {
        height: 4rem;
        width: auto;

        path {
          fill: white;
        }
      }
    }

    .close__nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      z-index: 40;

      svg {
        stroke: var(--white);
      }
    }
  }

  .nav__top__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    order: 1;
    grid-column: 1 / span 2;

    @media screen and (min-width: 768px) {
      order: 0;
    }

    li {
      a {
        font-size: var(--text-xs);
        opacity: 0.8;
        font-weight: 300;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease-in-out;

        &:hover,
        &:focus {
          opacity: 1;
          font-weight: 500;
        }
      }
    }
  }

  .nav__watermark {
    position: absolute;
    bottom: -30%;
    right: -10%;
    height: 100%;
    z-index: 40;
    width: 50%;
    opacity: 0.05;
    pointer-events: none;

    svg {
      height: 100%;
      width: auto;

      path {
        fill: white;
      }
    }
  }

  .nav__menu {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: calc(var(--padding-top) * 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.35;
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--blue);
    color: var(--white);
    z-index: 10;

    &:hover,
    &:focus {
      .nav__item {
        opacity: 0.5;
      }
    }

    .nav__item {
      font-size: var(--text-lg);
      transition: opacity 0.3s ease-in-out;
      font-weight: 400;

      &:hover,
      &:focus {
        opacity: 1;
      }

      @media screen and (min-width: 768px) {
        width: 50%;
      }
      @media screen and (min-width: 1024px) {
        width: 33%;
      }

      .nav__link {
        display: flex;
        align-items: center;
        gap: 1rem;

        .nav__chevron {
          display: flex;
          align-items: center;
          justify-content: center;

          svg {
            stroke: var(--white);
            width: 1.5rem;
          }
        }
      }

      &.nav__item--open {
        .inner__nav__menu {
          visibility: visible;
          opacity: 1;
          pointer-events: auto;
        }
      }

      .inner__nav__menu {
        display: flex;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        padding-top: calc(var(--padding-top) * 0.5);
        background-color: var(--blue);
        inset: 0;
        position: absolute;
        flex-direction: column;
        gap: 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 20;
        transition: all 0.3s ease-in-out;

        @media screen and (min-width: 768px) {
          width: 50%;
          margin-left: auto;
        }
        @media screen and (min-width: 1024px) {
          width: 66%;
        }

        &:hover,
        &:focus {
          .inner__nav__item {
            opacity: 0.5;
          }
        }

        .inner__nav__item--back {
          opacity: 0.75;

          @media screen and (min-width: 768px) {
            display: none;
          }

          a {
            display: flex;
            align-items: center;
            text-transform: uppercase;
            cursor: pointer;
            font-size: var(--text-base);
          }

          svg {
            stroke: var(--white);
            width: 1.5rem;
          }
        }

        .inner__nav__item {
          font-weight: 300;
          transition: opacity 0.3s ease-in-out;

          &:hover,
          &:focus {
            opacity: 1;
          }

          @media screen and (min-width: 1024px) {
            width: 50%;
          }

          &.inner__nav__menu--open {
            .sub__nav__menu {
              visibility: visible;
              opacity: 1;
              pointer-events: auto;
            }
          }

          .sub__nav__menu {
            display: flex;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease-in-out;

            padding-top: calc(var(--padding-top) * 0.5);
            background-color: var(--blue);
            inset: 0;
            position: absolute;
            flex-direction: column;
            gap: 1.5rem;
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 30;

            @media screen and (min-width: 1024px) {
              width: 50%;
              margin-left: auto;
            }

            &:hover,
            &:focus {
              .sub__nav__item {
                opacity: 0.5;
              }
            }

            .sub__nav__item--back {
              opacity: 0.75;

              @media screen and (min-width: 1024px) {
                display: none;
              }

              a {
                display: flex;
                align-items: center;
                text-transform: uppercase;
                cursor: pointer;
                font-size: var(--text-base);
              }

              svg {
                stroke: var(--white);
                width: 1.5rem;
              }
            }

            .sub__nav__item {
              font-weight: 200;
              transition: opacity 0.3s ease-in-out;

              &:hover,
              &:focus {
                opacity: 1;
              }
            }
          }
        }
      }
    }
  }
}

.sub__nav__item--overview {
  margin-bottom: 0.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);

  .sub__nav__link--overview {
    font-weight: 600;
    font-size: var(--text-xl);
    letter-spacing: 0.01em;
  }
}

.hero__main {
  height: 100vh;

  video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.1)
    );
  }
}

.welcome__block {
  background-color: var(--blue);
  color: white;

  h2 {
    font-size: var(--text-2xl);
    font-weight: 500;
  }

  p {
    margin-top: 1rem;
    opacity: 0.9;
  }
}

/* ============================================================
   Shared utilities
   ============================================================ */
.section__watermark {
  position: absolute;
  bottom: -20%;
  right: -5%;
  height: 130%;
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  color: white;
  will-change: transform;
  transition: transform 0.15s linear;

  svg {
    height: 100%;
    width: auto;
  }
}

.section__watermark--light {
  color: var(--blue);
  opacity: 0.06;
}

/* ============================================================
   Shared Button: btn-circle
   ============================================================ */
.btn-circle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease, gap 0.3s ease;

  &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 2.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
    transform-origin: left center;
    transition: width 0.4s ease, opacity 0.3s ease;
  }

  .btn-circle__arrow {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--blue-light);
    border: 1px solid var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                border-color 0.3s ease;

    svg {
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    svg path {
      stroke: var(--white);
      transition: stroke 0.3s ease;
    }
  }

  &:hover {
    gap: 1.25rem;

    &::after {
      width: 4rem;
      opacity: 0.85;
    }

    .btn-circle__arrow {
      transform: translateX(4px);
      background: var(--white);
      border-color: var(--white);

      svg {
        transform: translateX(2px);
      }

      svg path {
        stroke: var(--blue-dark);
      }
    }
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero__main {
  position: relative;
  height: 100vh;
  overflow: hidden;

  video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .hero__fade {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #000;
    opacity: 1;
    pointer-events: none;
    animation: hero-fade-out 1.6s ease-out 0.2s forwards;
  }
}

@keyframes hero-fade-out {
  to { opacity: 0; }
}


.hero__content {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  z-index: 10;
  color: var(--white);
}

.hero__heading {
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: var(--white);
  line-height: 1.05;
  max-width: 60%;

  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}

.hero__heading__script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 7rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: -0.05em;
}

.hero__heading__main {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.hero__subheading {
  margin-top: 1.25rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  font-weight: 300;
  line-height: 1.6;
}

.hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__tagline {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.hero__btn {
  color: var(--white);
  white-space: nowrap;
}

/* ============================================================
   About Us
   ============================================================ */
.about__us {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  background-size: cover;
  background-position: center;

  .about__us__inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
  }

  .about__us__content {
    position: relative;
    z-index: 2;
    max-width: 55ch;
  }
}

.about__us--has-bg {
  background-color: var(--blue-dark);
}

.about__us__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    rgba(0, 23, 48, 0.92) 0%,
    rgba(0, 23, 48, 0.78) 55%,
    rgba(0, 23, 48, 0.55) 100%
  );
}

.about__us__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);

  em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
  }
}

.about__us__para {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.75;
}

.about__us__link {
  margin-top: 2.5rem;
  color: var(--white);
}

/* ============================================================
   Head's Welcome
   ============================================================ */
.heads__welcome {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);

  .heads__welcome__inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;

    @media screen and (min-width: 900px) {
      grid-template-columns: 1fr auto;
      gap: 5rem;
    }
  }
}

.heads__welcome__meta {
  margin-bottom: 1.5rem;
}

.heads__welcome__name {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.heads__welcome__title {
  margin-top: 0.25rem;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.heads__welcome__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);

  em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--text-xl);
  }

  .reveal__char {
    color: rgba(255, 255, 255, 0.08);
    transition: color 0.25s ease;
  }

  .reveal__char.is-visible {
    color: inherit;
  }

  em .reveal__char.is-visible {
    color: rgba(255, 255, 255, 0.7);
  }
}

.heads__welcome__link {
  margin-top: 2rem;
  color: var(--white);
}

.heads__welcome__image {
  width: clamp(220px, 30vw, 380px);
  flex-shrink: 0;

  img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  @media screen and (max-width: 899px) {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ============================================================
   Quick Links (One Journey)
   ============================================================ */
.quick__links {
  position: relative;
  overflow: hidden;
  background: var(--white);

  .quick__links__header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.quick__links__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.3;

  em {
    font-style: italic;
    color: var(--blue);
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
  }
}

.quick__links__subheading {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(40, 58, 71, 0.7);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  font-weight: 300;
}

.quick__links__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  @media screen and (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media screen and (min-width: 900px) {
    /* 6-column base so top row = 3×(span 2) and bottom row = 2×(span 3) — same total width */
    grid-template-columns: repeat(6, 1fr);

    .quick__links__card {
      grid-column: span 2;
    }

    .quick__links__card:nth-child(4),
    .quick__links__card:nth-child(5) {
      grid-column: span 3;
      aspect-ratio: 3 / 2;
    }
  }
}

.quick__links__card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 3 / 4;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 23, 48, 0.15);
  }
}

.quick__links__card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 23, 48, 0.92) 0%, rgba(0, 23, 48, 0.1) 60%, transparent 100%);
  transition: background 0.35s ease;
}

.quick__links__card:hover .quick__links__card__overlay {
  background: linear-gradient(to top, rgba(0, 23, 48, 0.96) 0%, rgba(0, 23, 48, 0.25) 65%, transparent 100%);
}

.quick__links__card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.quick__links__card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.2;
}

.quick__links__card__age {
  margin-top: 0.25rem;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 300;
}

.quick__links__card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}


/* ============================================================
   Events Banner
   ============================================================ */
.events__banner {
  position: relative;
  overflow: hidden;
  height: 260px;

  @media screen and (min-width: 768px) {
    height: 280px;
  }
}

.events__banner__slide {
  position: absolute;
  inset: 0;
  display: flex;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
  pointer-events: none;
}

.events__banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 1;
}

.events__banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 42, 0.72);
}

.events__banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  @media screen and (max-width: 599px) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

.events__banner__left {
  flex: 1;
}

.events__banner__date {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.events__banner__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;

  @media screen and (min-width: 1024px) {
    font-size: var(--text-2xl);
  }
}

.events__banner__text {
  margin-top: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  font-weight: 300;
  line-height: 1.6;
}

.events__banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--blue-dark);
  padding: 0.875rem 1.75rem;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;

  &:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-1px);
  }
}

/* Pagination dots --------------------------------------------- */
.events__banner__dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.events__banner__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.events__banner__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.events__banner__dot.is-active {
  background: var(--white);
  width: 1.5rem;
  border-radius: 999px;
}

.events__banner__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.events__banner__progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue-light);
  transform-origin: left center;
}

.events__banner--auto .events__banner__progress__fill.is-running {
  animation: events-progress 6s linear forwards;
}

@keyframes events-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================================
   News Carousel
   ============================================================ */
.news__carousel {
  background: var(--white);
  overflow: hidden;

  .news__carousel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.news__carousel__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
  flex: 1;

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
    letter-spacing: 0.16em;
  }
}

.news__carousel__nav {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.news__nav__btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;

  &:hover {
    background: var(--blue);
    color: var(--white);
  }

  &:disabled {
    opacity: 0.35;
    cursor: default;
  }
}

.news__carousel__wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;

  &::-webkit-scrollbar {
    display: none;
  }

  &.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  &.is-dragging .news__card,
  &.is-dragging .news__card * {
    pointer-events: none;
  }
}

.news__card__image img,
.news__card__image__wrap img {
  -webkit-user-drag: none;
  user-drag: none;
}

.news__carousel__track {
  display: flex;
  gap: 1.5rem;
}

.news__card {
  flex: 0 0 calc(100% - 1rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;

  @media screen and (min-width: 600px) {
    flex: 0 0 calc(50% - 0.75rem);
  }

  @media screen and (min-width: 1024px) {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.news__card__image__wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue);
  position: relative;
}

.news__card__date--overlay {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  background: rgba(0, 23, 48, 0.9);
  color: var(--white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  border-radius: 2px;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.news__card__date__day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.news__card__date__rest {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.news__card__date__month {
  color: var(--white);
}

.news__card__date__year {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
}

.news__card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news__card:hover .news__card__image {
  transform: scale(1.03);
}

.news__card__image--placeholder {
  width: 100%;
  height: 100%;
  background: var(--blue);
  opacity: 0.4;
}

.news__card__body {
  padding-top: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news__card__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.35;
  color: var(--blue);
  flex: 1;
  margin-bottom: 1rem;

  a {
    color: inherit;

    &:hover {
      opacity: 0.75;
    }
  }
}

.news__card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.news__card__cat {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
}

.news__card__date {
  font-size: var(--text-xs);
  color: rgba(40, 58, 71, 0.55);
  font-weight: 300;
}

.news__carousel__empty {
  padding: 2rem 0;
  color: rgba(40, 58, 71, 0.6);
}

/* ============================================================
   Contact / Visit Us
   ============================================================ */
.contact__us {
  position: relative;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  background-image: var(--contact-map);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60% auto;

  @media screen and (max-width: 1199px) {
    background-size: 65% auto;
  }

  @media screen and (max-width: 899px) {
    background-position: top right;
    background-size: 90% auto;
    padding-top: clamp(180px, 45vw, 340px);
  }
}

.contact__us__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 50%;

  @media screen and (max-width: 899px) {
    max-width: 100%;
  }
}

.contact__us__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin-bottom: 1.25rem;

  .contact__us__label__line {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
  }
}

.contact__us__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);

  em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
  }
}

.contact__us__para {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  max-width: 40ch;
  font-weight: 300;
  line-height: 1.75;
}

.contact__us__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact__us__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;

  svg {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  &:hover svg {
    transform: translateX(4px);
  }

  &.contact__us__btn--primary {
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--blue-light);
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: -1;
    }

    &:hover {
      color: var(--white);
      border-color: var(--blue-light);
      transform: translateY(-2px);
      box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55);

      &::before {
        transform: translateY(0);
      }
    }
  }

  &.contact__us__btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.08);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }

    &:hover {
      border-color: var(--white);
      color: var(--white);
      transform: translateY(-2px);

      &::before {
        opacity: 1;
      }
    }
  }
}

/* ============================================================
   Icons / Logos Strip
   ============================================================ */
.icons__strip {
  background: var(--white);
  border-top: 1px solid rgba(40, 58, 71, 0.08);
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
  cursor: grab;

  .icons__strip__track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
    width: max-content;
    will-change: transform;
    user-select: none;
  }

  &:active,
  .icons__strip__track.is-dragging {
    cursor: grabbing;
  }
}

.icons__strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  flex-shrink: 0;

  img {
    height: 3.5rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
    filter: grayscale(1);
  }

  &:hover {
    opacity: 0.85;
  }
}

/* ============================================================
   Footer
   ============================================================ */
#main__footer {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);

  .footer__watermark {
    position: absolute;
    /* Anchored top AND bottom so the crest is always fully contained
       vertically — its height tracks the footer and it can never crop the
       crown at the top. Sits lower and bleeds slightly off the right edge. */
    top: 12%;
    bottom: 7%;
    right: -5%;
    width: auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    color: white;

    svg {
      height: 100%;
      width: auto;
    }
  }
}

.footer__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 7.5rem;

  @media screen and (min-width: 900px) {
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    padding-top: 8rem;
    padding-bottom: 10rem;
  }

  @media screen and (min-width: 1200px) {
    grid-template-columns: 300px 1fr;
    gap: 6rem;
    padding-top: 9rem;
    padding-bottom: 11rem;
  }
}

.footer__brand {
  .footer__logo {
    display: block;

    img {
      display: block;
      height: 3rem;
      width: auto;
    }
  }
}

.footer__tagline {
  margin-top: 1.25rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.65;
  max-width: 28ch;
}

.footer__social {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__social__heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.6rem;
}

.footer__social__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;

  a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;

    &:hover {
      color: var(--blue);
      background-color: var(--white);
      border-color: var(--white);
    }
  }
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__nav__heading {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  li a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.2;
    transition: color 0.2s ease;

    &:hover {
      color: var(--white);
    }
  }
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;

  p {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
  }
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;

  a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    transition: color 0.2s ease;

    &:hover {
      color: var(--white);
    }
  }
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;

  a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    transition: color 0.2s ease;

    &:hover {
      color: var(--white);
    }
  }
}

/* ============================================================
   INNER PAGE TEMPLATE
   Marquee-style: typographic hero (navy slab w/ crest, OR optional
   hero image with overlay), white pill nav strip below the hero
   listing the section's child pages, 1200px content column over
   a soft grey backdrop.
   ============================================================ */

:root {
  --grey-bg: #f4f5f7;
}

/* Hero ------------------------------------------------------- */
.inner__hero {
  position: relative;
  background: var(--hero-gradient);
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 26rem;
  padding: 9rem 0 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 1024px) {
  .inner__hero { min-height: 32rem; padding: 10rem 0 5.5rem; }
}

/* Crest watermark (only when no hero image) */
.inner__hero .section__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90%, 38rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.05;
}

/* Dark gradient overlay used when an image background is set */
.inner__hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--brand-rgb), 0.75) 0%,
    rgba(var(--brand-rgb), 0.62) 45%,
    rgba(var(--brand-rgb), 0.92) 100%
  );
}

.inner__hero__content {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.inner__hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--white);
  max-width: 22ch;
  text-align: center;
}

.inner__hero__rule {
  display: block;
  width: 4rem;
  height: 1px;
  background: var(--blue-light);
  margin-top: 0.75rem;
}

/* Breadcrumbs in the hero --------------------------------- */
.inner__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);

  a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    &:hover { color: var(--white); }
  }
}

.inner__breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.inner__breadcrumbs__current {
  color: var(--blue-light);
}

/* Top section-nav (the inner-topnav partial) --------------- */
.inner__topnav {
  background: var(--grey-bg);
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.inner__topnav__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .inner__topnav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}

.inner__topnav__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.inner__topnav__label__small {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(40, 58, 71, 0.55);
}

.inner__topnav__label__big {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--blue);
  font-weight: 400;
}

.inner__topnav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.inner__topnav__item a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.7);
  background: rgba(40, 58, 71, 0.06);
  transition: background 0.2s ease, color 0.2s ease;
}

.inner__topnav__item a:hover {
  background: rgba(40, 58, 71, 0.12);
  color: var(--blue);
}

.inner__topnav__item.is-current a {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   INNER TOPNAV — EXPERIMENTAL VARIANTS
   Switch via Site Settings → Inner Section Nav → Section Nav Style.
   Each variant is designed to make it clearer that the list of
   child links belongs to the parent section page.
   ============================================================ */

/* Shared pill styles used by banner + folder variants */
.inner__topnav__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inner__topnav__pills a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.7);
  background: rgba(40, 58, 71, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.inner__topnav__pills a:hover {
  background: rgba(40, 58, 71, 0.12);
  color: var(--blue);
}

.inner__topnav__pills .is-current a {
  background: var(--blue);
  color: var(--white);
}

/* ─── Variant 1 — Anchored Banner ─────────────────────────── */
.inner__topnav--banner {
  background: var(--white);
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
}

.inner__topnav__banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 70%);
  color: var(--white);
}

.inner__topnav__banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 50%, rgba(74, 143, 168, 0.22), transparent 38%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04) 50%, transparent);
  pointer-events: none;
}

.inner__topnav__banner__inner {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.inner__topnav__banner__eyebrow {
  position: relative;
  padding-left: 2.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.inner__topnav__banner__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--blue-light);
}

.inner__topnav__banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inner__topnav__banner__title:hover {
  color: var(--blue-light);
}

.inner__topnav--banner .inner__topnav__tray {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  display: flex;
  align-items: center;
}

/* ─── Variant 2 — Folder Tab ──────────────────────────────── */
.inner__topnav--folder {
  background: var(--white);
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.inner__topnav__folder__tab {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 1.4rem;
  margin-left: 0.5rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 2;
  transition: background 0.2s ease;
  align-self: flex-start;
}

.inner__topnav__folder__tab::after {
  /* tiny baseline that fuses the tab into the tray */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: var(--blue);
}

.inner__topnav__folder__tab:hover {
  background: var(--blue-dark);
}

.inner__topnav__folder__tab__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.inner__topnav__folder__tab__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.1;
}

.inner__topnav__folder__tray {
  position: relative;
  align-self: stretch;
  background: var(--white);
  border: 1px solid rgba(40, 58, 71, 0.12);
  border-top: 3px solid var(--blue);
  border-radius: 0 8px 8px 8px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(40, 58, 71, 0.04);
}

/* ─── Variant 3 — Sitemap Tree ────────────────────────────── */
.inner__topnav--tree {
  background: var(--white);
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  text-align: center;
}

.inner__topnav__tree__root {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.inner__topnav__tree__root__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__tree__root__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.1;
  color: var(--blue);
  transition: color 0.2s ease;
}

.inner__topnav__tree__root:hover .inner__topnav__tree__root__title {
  color: var(--blue-light);
}

.inner__topnav__tree__trunk {
  display: block;
  width: 1px;
  height: 1.5rem;
  margin: 0 auto;
  background: rgba(40, 58, 71, 0.3);
}

.inner__topnav__tree__branches {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 1rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 1rem 1.25rem;
  max-width: 72rem;
}

/* Horizontal rail across the tops of all children */
.inner__topnav__tree__branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(5%, 1rem);
  right: max(5%, 1rem);
  height: 1px;
  background: rgba(40, 58, 71, 0.3);
}

.inner__topnav__tree__branches > li {
  position: relative;
}

.inner__topnav__tree__branches__connector {
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 1px;
  height: 1rem;
  background: rgba(40, 58, 71, 0.3);
}

.inner__topnav__tree__branches a {
  display: block;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(40, 58, 71, 0.18);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.inner__topnav__tree__branches a:hover {
  border-color: var(--blue);
  background: rgba(40, 58, 71, 0.04);
  transform: translateY(-1px);
}

.inner__topnav__tree__branches .is-current a {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ─── Variant 4 — Editorial Index ─────────────────────────── */
.inner__topnav--editorial {
  background: var(--white);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .inner__topnav--editorial {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 3rem;
  }
}

.inner__topnav__editorial__anchor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.18);
}

@media (min-width: 900px) {
  .inner__topnav__editorial__anchor {
    padding-bottom: 0;
    padding-right: 2.5rem;
    border-bottom: 0;
    border-right: 1px solid rgba(40, 58, 71, 0.18);
  }
}

.inner__topnav__editorial__anchor__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__editorial__anchor__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
}

.inner__topnav__editorial__anchor:hover .inner__topnav__editorial__anchor__title {
  color: var(--blue-light);
}

.inner__topnav__editorial__index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem 1.5rem;
  counter-reset: editorial-index;
}

.inner__topnav__editorial__index a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.55rem 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.inner__topnav__editorial__index__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue-light);
  min-width: 1.75rem;
}

.inner__topnav__editorial__index__text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.inner__topnav__editorial__index a:hover {
  border-color: rgba(40, 58, 71, 0.25);
}

.inner__topnav__editorial__index .is-current a {
  border-color: var(--blue);
}

.inner__topnav__editorial__index .is-current .inner__topnav__editorial__index__num {
  color: var(--blue);
  font-weight: 700;
}

/* ─── Variant 5 — Underline Bridge ────────────────────────── */
.inner__topnav--bridge {
  background: var(--white);
  padding-top: 1.75rem;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
}

.inner__topnav__bridge__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.inner__topnav__bridge__header__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
  position: relative;
  padding-left: 2.25rem;
}

.inner__topnav__bridge__header__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--blue-light);
}

.inner__topnav__bridge__header__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inner__topnav__bridge__header__title:hover {
  color: var(--blue-light);
}

.inner__topnav__bridge__list {
  list-style: none;
  margin: 1.25rem 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(40, 58, 71, 0.22);
}

.inner__topnav__bridge__list > li {
  position: relative;
}

.inner__topnav__bridge__list a {
  position: relative;
  display: inline-block;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(40, 58, 71, 0.65);
  transition: color 0.2s ease;
}

.inner__topnav__bridge__list a:hover {
  color: var(--blue);
}

.inner__topnav__bridge__list a::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.inner__topnav__bridge__list a:hover::after {
  width: 28px;
}

.inner__topnav__bridge__list .is-current a {
  color: var(--blue);
}

.inner__topnav__bridge__list .is-current a::after {
  width: 100%;
  left: 0;
  transform: none;
}

/* ─── Variant 6 — Vertical Spine ─────────────────────────── */
.inner__topnav--spine {
  background: var(--white);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
}

.inner__topnav__spine__head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--blue);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.inner__topnav__spine__head__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__spine__head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
}

.inner__topnav__spine__head:hover .inner__topnav__spine__head__title {
  color: var(--blue-light);
}

.inner__topnav__spine__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.5rem 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .inner__topnav__spine__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .inner__topnav__spine__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.inner__topnav__spine__list > li {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(40, 58, 71, 0.2);
}

.inner__topnav__spine__list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.7);
  transition: color 0.2s ease;
}

.inner__topnav__spine__list a:hover {
  color: var(--blue);
}

.inner__topnav__spine__list__node {
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(40, 58, 71, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.inner__topnav__spine__list a:hover .inner__topnav__spine__list__node {
  border-color: var(--blue);
}

.inner__topnav__spine__list .is-current a {
  color: var(--blue);
  font-weight: 700;
}

.inner__topnav__spine__list .is-current .inner__topnav__spine__list__node {
  background: var(--blue);
  border-color: var(--blue);
}

/* ─── Variant 7 — Subway Stations ────────────────────────── */
.inner__topnav--subway {
  background: var(--white);
  padding-top: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .inner__topnav--subway {
    grid-template-columns: minmax(13rem, 18rem) 1fr;
    gap: 2rem;
  }
}

.inner__topnav__subway__origin {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  position: relative;
}

@media (min-width: 900px) {
  .inner__topnav__subway__origin::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--blue);
    border-top: 2px solid var(--blue);
    rotate: 45deg;
  }
}

.inner__topnav__subway__origin__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__subway__origin__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
}

.inner__topnav__subway__origin:hover .inner__topnav__subway__origin__title {
  color: var(--blue-light);
}

.inner__topnav__subway__track {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: 0.5rem;
}

.inner__topnav__subway__track::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--blue) 50%,
    var(--blue-light) 100%
  );
  border-radius: 2px;
}

.inner__topnav__subway__track > li {
  position: relative;
  text-align: center;
}

.inner__topnav__subway__track a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0 0.25rem;
}

.inner__topnav__subway__track__station {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.inner__topnav__subway__track__station__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.inner__topnav__subway__track a:hover .inner__topnav__subway__track__station {
  transform: scale(1.15);
}

.inner__topnav__subway__track a:hover .inner__topnav__subway__track__station__dot {
  opacity: 1;
}

.inner__topnav__subway__track__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.7);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.inner__topnav__subway__track a:hover .inner__topnav__subway__track__label {
  color: var(--blue);
}

.inner__topnav__subway__track .is-current .inner__topnav__subway__track__station {
  background: var(--blue);
}

.inner__topnav__subway__track .is-current .inner__topnav__subway__track__station__dot {
  opacity: 1;
  background: var(--white);
}

.inner__topnav__subway__track .is-current .inner__topnav__subway__track__label {
  color: var(--blue);
  font-weight: 700;
}

/* ─── Variant 8 — Centered Marquee ───────────────────────── */
.inner__topnav--marquee {
  background: var(--white);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  text-align: center;
}

.inner__topnav__marquee__head {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  max-width: 100%;
}

.inner__topnav__marquee__head__rule {
  display: inline-block;
  width: clamp(2rem, 8vw, 6rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 58, 71, 0.4), transparent);
}

.inner__topnav__marquee__head__ornament {
  font-size: 0.65rem;
  color: var(--blue-light);
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(-0.05em);
}

.inner__topnav__marquee__head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  color: var(--blue);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.inner__topnav__marquee__head:hover .inner__topnav__marquee__head__title {
  color: var(--blue-light);
}

.inner__topnav__marquee__list {
  list-style: none;
  margin: 1.5rem 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.inner__topnav__marquee__list > li {
  display: flex;
  align-items: center;
}

.inner__topnav__marquee__list > li + li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(40, 58, 71, 0.35);
  margin: 0 1rem;
}

.inner__topnav__marquee__list a {
  display: inline-block;
  padding: 0.4rem 0;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.7);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.inner__topnav__marquee__list a:hover {
  color: var(--blue);
  border-color: rgba(40, 58, 71, 0.3);
}

.inner__topnav__marquee__list .is-current a {
  color: var(--blue);
  font-weight: 700;
  border-color: var(--blue);
}

/* ─── Variant 9 — Bracket Frame ───────────────────────────── */
.inner__topnav--bracket {
  background: var(--white);
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
}

.inner__topnav__bracket__frame {
  position: relative;
  padding: 1.5rem 1.75rem;
}

.inner__topnav__bracket__frame__corner {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-color: var(--blue);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.inner__topnav__bracket__frame__corner--tl {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.inner__topnav__bracket__frame__corner--tr {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}

.inner__topnav__bracket__frame__corner--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.inner__topnav__bracket__frame__corner--br {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.inner__topnav__bracket__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  text-align: center;
  margin-bottom: 1rem;
}

.inner__topnav__bracket__head__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__bracket__head__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
  transition: color 0.2s ease;
}

.inner__topnav__bracket__head:hover .inner__topnav__bracket__head__title {
  color: var(--blue-light);
}

.inner__topnav__bracket__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.inner__topnav__bracket__list a {
  display: inline-block;
  padding: 0.5rem 1.05rem;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(40, 58, 71, 0.25);
  border-radius: 2px;
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.inner__topnav__bracket__list a:hover {
  background: rgba(40, 58, 71, 0.04);
  border-color: var(--blue);
}

.inner__topnav__bracket__list .is-current a {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ─── Variant 10 — Crest Anchor ───────────────────────────── */
.inner__topnav--crest {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, #f7f8fa 100%);
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.08);
  overflow: hidden;
}

.inner__topnav__crest__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20rem;
  max-width: 90%;
  transform: translate(-50%, -50%);
  color: var(--blue);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.inner__topnav__crest__watermark svg {
  display: block;
  width: 100%;
  height: auto;
}

.inner__topnav__crest__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.inner__topnav__crest__head {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  position: relative;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.2);
}

.inner__topnav__crest__head::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
}

.inner__topnav__crest__head__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.inner__topnav__crest__head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue);
  transition: color 0.2s ease;
}

.inner__topnav__crest__head:hover .inner__topnav__crest__head__title {
  color: var(--blue-light);
}

.inner__topnav__crest__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0;
}

.inner__topnav__crest__list > li + li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1.1rem;
  background: var(--blue-light);
  rotate: 45deg;
  vertical-align: middle;
}

.inner__topnav__crest__list a {
  display: inline-block;
  padding: 0.35rem 0.25rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(40, 58, 71, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.inner__topnav__crest__list a:hover {
  color: var(--blue);
  border-color: rgba(40, 58, 71, 0.3);
}

.inner__topnav__crest__list .is-current a {
  color: var(--blue);
  font-weight: 700;
  border-color: var(--blue);
}

/* Content layout — grey full-bleed bg, 1200px content column */
.inner__layout {
  background: var(--white);
  padding-top: calc(var(--padding-top) * 0.75);
  padding-bottom: calc(var(--padding-bottom) * 1.5);
  overflow-x: clip;
}

/* Tighten the gap between the section nav bar and page content on desktop
   (but keep a comfortable breathing space so content doesn't hug the nav) */
@media (min-width: 1024px) {
  .inner__layout {
    padding-top: calc(var(--padding-top) * 0.5);
  }
}

.inner__main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ============================================================
   INNER PAGE BUILDER BLOCKS
   ============================================================ */
.block {
  display: block;
}

/* Extra breathing room on blocks that benefit from it */
.block--accordion,
.block--downloads,
.block--youtube {
  margin-block: 2rem;
}

.block__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Inline buttons (used by [btn] shortcode) ------------------ */
.wysiwyg .btn,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);

  &:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-1px);
  }
}

.btn--secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);

  &:hover {
    background: var(--blue);
    color: var(--white);
  }
}

/* WYSIWYG content -------------------------------------------- */
.wysiwyg {
  color: var(--black);
  font-size: var(--text-base);
  line-height: 1.7;
  font-weight: 300;

  > * + * { margin-top: 1.15em; }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--blue);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 2em;
    margin-bottom: 0.6em;
    letter-spacing: -0.005em;
  }

  h2 { font-size: var(--text-xl); }
  h3 { font-size: var(--text-lg); }
  h4 { font-size: var(--text-md); }
  h5, h6 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); font-weight: 500; }

  p { color: inherit; }

  strong, b { font-weight: 600; color: var(--blue-dark); }
  em, i { font-style: italic; }
  u { text-decoration: underline; text-underline-offset: 0.15em; }

  a:not(.btn) {
    color: var(--blue-light);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;

    &:hover { color: var(--blue); }
  }

  ul, ol {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4em;
  }
  ul { list-style: none; }
  ul li {
    position: relative;
    padding-left: 1.25rem;
  }
  ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--blue-light);
  }
  ol { list-style: decimal; }
  ol li::marker { color: var(--blue-light); font-weight: 500; }

  blockquote {
    border-left: 3px solid var(--blue-light);
    padding: 0.4em 0 0.4em 1.25rem;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--blue);
    font-size: var(--text-md);
    line-height: 1.4;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em 0;
    border-radius: 2px;
  }

  hr {
    border: none;
    border-top: 1px solid rgba(40, 58, 71, 0.15);
    margin: 2em 0;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);

    th, td {
      padding: 0.85rem 1rem;
      text-align: left;
      border-bottom: 1px solid rgba(40, 58, 71, 0.12);
    }
    th {
      background: rgba(40, 58, 71, 0.04);
      font-weight: 500;
      color: var(--blue);
    }
  }
}

/* Inline two-up image grid (e.g. uniform accordion) ---------- */
.wysiwyg .uniform-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 1.75em 0 0.5em;
}

@media (min-width: 600px) {
  .wysiwyg .uniform-gallery { grid-template-columns: 1fr 1fr; }
}

.wysiwyg .uniform-gallery img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* Profile Grid (alumni / staff cards) ------------------------ */
.profile__grid {
  position: relative;
}

.profile__grid__header {
  max-width: 760px;
  margin: 0 0 2.25rem;
}

.profile__grid__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue);
}

.profile__grid__intro {
  margin-top: 0.85rem;
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: var(--black);
}

.profile__grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .profile__grid__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .profile__grid__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.profile__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(40, 58, 71, 0.08);
}

.profile__card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #e7ebee;
  overflow: hidden;

  /* Absolutely positioned so the image can never stretch the box past the
     aspect ratio — every card's photo is the same height. */
  img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.profile__card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.profile__card__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue);
}

.profile__card__row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--black);
}

.profile__card__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-light);
}

.profile__card__value {
  font-weight: 300;
}

/* Image Gallery ---------------------------------------------- */
.gallery {
  --gallery-gap: 1rem;
  --gallery-per-view: 1;
  position: relative;
}

@media (min-width: 600px) {
  .gallery { --gallery-per-view: 2; --gallery-gap: 1.15rem; }
}

@media (min-width: 1024px) {
  .gallery { --gallery-per-view: 3; --gallery-gap: 1.25rem; }
}

.gallery__viewport {
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
}

.gallery.is-dragging .gallery__viewport,
.gallery.is-dragging .gallery__slide__btn {
  cursor: grabbing;
}

.gallery__slide__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
}

.gallery__slide__btn:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.gallery__track {
  display: flex;
  gap: var(--gallery-gap);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.gallery__slide {
  flex: 0 0 calc(
    (100% - (var(--gallery-per-view) - 1) * var(--gallery-gap))
    / var(--gallery-per-view)
  );
  overflow: hidden;
  border-radius: 0.4rem;
  background: rgba(40, 58, 71, 0.06);
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__slide:hover img {
  transform: scale(1.04);
}

.gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;

  &:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
  }
}

/* Lightbox --------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 23, 48, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
  animation: lightbox-fade-in 0.25s ease forwards;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox__image {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 0.4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: lightbox-zoom-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes lightbox-zoom-in {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.3s ease, border-color 0.25s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .lightbox__close {
    top: 1.75rem;
    right: 1.75rem;
  }
}

/* Accordion -------------------------------------------------- */
.accordion {
  border-top: 1px solid rgba(40, 58, 71, 0.15);
}

.accordion__item {
  border-bottom: 1px solid rgba(40, 58, 71, 0.15);
}

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--blue);
  transition: color 0.2s ease;

  &:hover { color: var(--blue-light); }
}

.accordion__title {
  flex: 1;
  line-height: 1.3;
}

.accordion__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease;
}

.accordion__head[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
  background: var(--blue-light);
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;

  &[hidden] { display: block; }
}

.accordion__body {
  padding: 0 0 1.6rem;
}

/* Policy link lists (Policies & Inspections page) */
.accordion__body .policy-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2.5rem;
}

@media (max-width: 640px) {
  .accordion__body .policy-links { columns: 1; }
}

.accordion__body .policy-links li {
  break-inside: avoid;
  margin: 0 0 0.55rem;
}

.accordion__body .policy-links a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.accordion__body .policy-links a:hover { color: var(--blue-light); }

/* Governance staff portraits */
.accordion__body .gov-head {
  margin: 1.5rem 0;
  max-width: 240px;
}

.accordion__body .gov-head img,
.accordion__body .gov-staff img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}

.accordion__body .gov-head figcaption,
.accordion__body .gov-staff figcaption { margin-top: 0.6rem; }

.accordion__body .gov-staff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
  max-width: 520px;
}

@media (max-width: 520px) {
  .accordion__body .gov-staff { grid-template-columns: 1fr; }
}

/* Downloads -------------------------------------------------- */
.downloads {
  background: rgba(74, 143, 168, 0.08);
  padding: 2rem 1.5rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .downloads { padding: 2.5rem 2.5rem; }
}

.downloads::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 95% 10%, rgba(40, 58, 71, 0.06), transparent 50%);
  pointer-events: none;
}

.downloads__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 1.5rem;
  position: relative;
}

.downloads__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.downloads__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(40, 58, 71, 0.12);

  &:last-child { border-bottom: 1px solid rgba(40, 58, 71, 0.12); }
}

.downloads__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--blue);
  font-weight: 400;
  flex: 1;
}

.downloads__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;

  &:hover {
    background: var(--blue);
    color: var(--white);
  }
}

/* Flipping Book --------------------------------------------- */
.flipbook {
  width: 100%;
  position: relative;
}

/* HTML iframe variant */
.flipbook--iframe {
  background: rgba(40, 58, 71, 0.06);
  overflow: hidden;
  border-radius: 0.4rem;
}

.flipbook--iframe iframe {
  width: 100%;
  height: var(--flipbook-h, 700px);
  border: 0;
  display: block;
}

/* PDF (StPageFlip) variant */
.flipbook--pdf {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flipbook__stage {
  position: relative;
  width: 100%;
  min-height: var(--flipbook-h, 700px);
  background:
    radial-gradient(ellipse at center top, rgba(74, 143, 168, 0.10), transparent 60%),
    var(--blue-dark);
  border-radius: 0.4rem;
  overflow: hidden;
  padding: 1.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .flipbook__stage { padding: 2rem 1.5rem; }
}

.flipbook__book {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  visibility: hidden;
}

.flipbook--pdf.is-ready .flipbook__book {
  visibility: visible;
}

.flipbook__page {
  background: var(--white);
  overflow: hidden;
}

.flipbook__page canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Loader */
.flipbook__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.flipbook__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  animation: flipbook-spin 0.9s linear infinite;
}

@keyframes flipbook-spin {
  to { transform: rotate(360deg); }
}

/* Toolbar */
.flipbook__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.flipbook__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;

  &:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
  }

  &:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
  }
}

.flipbook__btn--download {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);

  &:hover {
    background: var(--blue);
    color: var(--white);
  }
}

.flipbook__count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 4rem;
  justify-content: center;
}

.flipbook__count__sep { opacity: 0.4; }

.flipbook__toolbar__sep {
  width: 1px;
  height: 1.5rem;
  background: rgba(40, 58, 71, 0.2);
  margin: 0 0.4rem;
}

/* Fullscreen icons swap */
.flipbook__icon-collapse { display: none; }
.flipbook.is-fullscreen .flipbook__icon-expand { display: none; }
.flipbook.is-fullscreen .flipbook__icon-collapse { display: block; }

/* Fullscreen layout */
.flipbook:fullscreen,
.flipbook.is-fullscreen {
  background: var(--blue-dark);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .flipbook__stage {
    flex: 1;
    min-height: 0;
    border-radius: 0;
  }

  .flipbook__toolbar {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
    border-radius: 999px;
    align-self: center;
  }

  .flipbook__count { color: var(--white); }
  .flipbook__btn--download {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    &:hover { background: var(--white); color: var(--blue-dark); }
  }
  .flipbook__toolbar__sep { background: rgba(255, 255, 255, 0.25); }
}

/* YouTube Embed --------------------------------------------- */
.youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--blue-dark);
  overflow: hidden;
  border-radius: 2px;
}

.youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Default content fallback ----------------------------------- */
.inner__default__content {
  color: var(--black);
  font-size: var(--text-base);
  line-height: 1.7;

  > * + * { margin-top: 1.15em; }
}

/* ============================================================
   Six-Item Image Grid
   ============================================================ */
.six__grid {
  position: relative;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 140%);
  color: var(--white);
}

.six__grid__header {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.six__grid__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.six__grid__intro {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  line-height: 1.7;
}

.six__grid__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.six__grid__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  /* 1 per row (mobile); rows fill left-to-right and the last partial row centers */
  flex: 0 1 100%;

  @media screen and (min-width: 600px) {
    /* 2 per row */
    flex-basis: calc((100% - 0.75rem) / 2);
  }

  @media screen and (min-width: 900px) {
    /* 3 per row */
    flex-basis: calc((100% - 1.5rem) / 3);
  }

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 23, 48, 0.18);
  }

  &:hover .six__grid__card__overlay {
    background: linear-gradient(to top, rgba(0, 23, 48, 0.85) 0%, rgba(0, 23, 48, 0.3) 55%, rgba(0, 23, 48, 0.15) 100%);
  }

  &:hover .six__grid__card__arrow {
    background: var(--white);
    transform: translateX(4px);
  }

  &:hover .six__grid__card__arrow svg path {
    stroke: var(--blue-dark);
  }
}

.six__grid__card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 23, 48, 0.75) 0%, rgba(0, 23, 48, 0.15) 50%, transparent 100%);
  transition: background 0.35s ease;
}

.six__grid__card__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.six__grid__card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

.six__grid__card__arrow {
  align-self: flex-start;
  margin-top: auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;

  svg path {
    stroke: var(--white);
    transition: stroke 0.3s ease;
  }
}

/* ============================================================
   Heading + 4-Item Grid (Entry Points)
   ============================================================ */
.entry__points {
  position: relative;
  background: var(--white);
  text-align: center;
}

.entry__points__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 2.5rem;

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
  }
}

.entry__points__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.entry__points__card {
  display: block;
  text-align: left;
  text-decoration: none;
  color: var(--blue);
  /* 1 per row (mobile); fewer than a full row stays centered */
  flex: 0 1 100%;

  @media screen and (min-width: 600px) {
    /* 2 per row */
    flex-basis: calc((100% - 1.5rem) / 2);
  }

  @media screen and (min-width: 1000px) {
    /* 4 per row */
    flex-basis: calc((100% - 4.5rem) / 4);
  }

  &:hover .entry__points__card__image img {
    transform: scale(1.04);
  }

  &:hover .entry__points__card__arrow {
    transform: translateX(4px);
    background: var(--blue);
  }

  &:hover .entry__points__card__arrow svg path {
    stroke: var(--white);
  }
}

.entry__points__card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--blue);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }
}

.entry__points__card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(40, 58, 71, 0.18);
}

.entry__points__card__title {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
}

.entry__points__card__arrow {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(40, 58, 71, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;

  svg {
    width: 14px;
    height: 14px;
  }

  svg path {
    stroke: var(--blue);
    transition: stroke 0.3s ease;
  }
}

/* ============================================================
   Image & Text
   ============================================================ */
.image__text {
  position: relative;
  /* Full-bleed: the section's fill colour spans the whole width so there
     are no grey gutters from the inner page padding either side. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--blue);
  color: var(--white);

  &.image__text--light {
    background: var(--white);
    color: var(--blue);
  }
}

/* Stacked image/text sections butt directly together (cancels the
   3rem flex gap on .inner__main) so the colours meet with no grey gap. */
.image__text + .image__text {
  margin-top: -3rem;
}

/* Mobile: image/text blocks run edge-to-edge (no outer padding); only
   the text keeps an inner gutter so it doesn't touch the screen edge. */
@media screen and (max-width: 899px) {
  .image__text.px-block-x {
    padding-left: 0;
    padding-right: 0;
  }
  .image__text__body {
    padding-left: var(--padding-left);
    padding-right: var(--padding-right);
  }
}

.image__text__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;

  @media screen and (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.image__text--img-right .image__text__media {
  @media screen and (min-width: 900px) {
    order: 2;
  }
}

.image__text__media {
  /* Uniform image size across every block, regardless of the source
     photo's orientation (matches the portrait "Learning through play" crop). */
  aspect-ratio: 3 / 4;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.image__text__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.25;
  color: inherit;

  em {
    font-style: italic;
    opacity: 0.75;
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--text-3xl);
  }
}

.image__text__text {
  margin-top: 1.5rem;
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.85;

  > * + * {
    margin-top: 1.15em;
  }

  a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;

    &:hover {
      opacity: 0.7;
    }
  }
}

.image__text--dark .image__text__text strong {
  color: var(--white);
}

.image__text__link {
  margin-top: 2.5rem;
  color: inherit;
}

/* ============================================================
   Information Carousel
   ============================================================ */
.info__carousel {
  position: relative;
  background: var(--white);
  color: var(--blue);
}

.info__carousel__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2.5rem;
  align-items: start;

  @media screen and (min-width: 900px) {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.info__carousel__nav {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.info__carousel__btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;

  &:hover {
    background: var(--blue);
    color: var(--white);
  }
}

.info__carousel__panels {
  position: relative;
}

.info__carousel__panel {
  display: none;
}

.info__carousel__panel.is-active {
  display: block;
  animation: info-fade 0.5s ease;
}

@keyframes info-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.info__carousel__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.25;
  color: var(--blue);

  @media screen and (min-width: 1024px) {
    font-size: var(--text-2xl);
  }
}

.info__carousel__body {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(40, 58, 71, 0.8);

  > * + * {
    margin-top: 1.15em;
  }
}

.info__carousel__link {
  margin-top: 2rem;
  color: var(--blue);
}

.info__carousel__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue);
}

.info__carousel__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.info__carousel__image.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s linear 0s;
}

/* Single-slide carousel: no nav, image keeps natural flow */
.info__carousel:not(.info__carousel--multi) .info__carousel__image {
  position: relative;
}

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  position: relative;
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.testimonial__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 23, 48, 0.55);
}

.testimonial__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
  margin: 0;

  @media screen and (min-width: 1024px) {
    font-size: var(--text-2xl);
  }
}

.testimonial__cite {
  margin-top: 2rem;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial__role {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Basic Hero
   ============================================================ */
.basic__hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--hero-gradient);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 8rem;
  padding-bottom: 8rem;

  @media screen and (min-width: 768px) {
    min-height: 80vh;
  }
}

.basic__hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--brand-rgb), 0.5) 0%,
    rgba(var(--brand-rgb), 0.35) 45%,
    rgba(var(--brand-rgb), 0.6) 100%
  );
}

.basic__hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.basic__hero__heading {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
}

.basic__hero__subheading {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 55ch;
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.basic__hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--white);
}

.basic__hero__scroll__text {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.basic__hero__scroll__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: basic-hero-bob 1.8s ease-in-out infinite;
  transition: background 0.25s ease, border-color 0.25s ease;

  svg path {
    stroke: var(--white);
  }
}

.basic__hero__scroll:hover .basic__hero__scroll__icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

@keyframes basic-hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

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

/* ============================================================
   Slide-out Enquiry Tab (fixed, desktop only)
   ============================================================ */
.enquiry-tab__wrap {
  position: fixed;
  inset: 0;
  overflow: hidden;          /* clips the tab off-screen so it never adds horizontal scroll */
  pointer-events: none;      /* lets clicks/scroll pass through to the page */
  z-index: 300;
}

.enquiry-tab {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px 0 0 6px;
  box-shadow: 0 8px 30px rgba(40, 58, 71, 0.28);
  transform: translateX(110%);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.enquiry-tab.is-visible { transform: translateX(0); }

.enquiry-tab__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: none;
  border-right: 1px solid rgba(251, 251, 251, 0.18);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.enquiry-tab__close:hover { opacity: 0.6; }

.enquiry-tab__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.enquiry-tab__link:hover { background: rgba(251, 251, 251, 0.1); }
.enquiry-tab__link svg { flex-shrink: 0; }

@media (max-width: 1023px) {
  .enquiry-tab__wrap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-tab { transition: none; }
}

/* ============================================================
   SINGLE NEWS ARTICLE (single.php)
   Reuses .inner__hero / .inner__layout / .wysiwyg. These rules
   add the hero meta line (category + date) and the narrower,
   readable article column.
   ============================================================ */

/* Category + date strip sitting between breadcrumbs and title */
.news__hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.news__hero__cat {
  color: var(--blue-light);
  font-weight: 600;
}

.news__hero__meta__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.news__hero__date {
  color: rgba(255, 255, 255, 0.78);
}

/* Article column — narrower than the 1200px builder column so prose
   keeps a comfortable measure. */
.news__single {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

/* Lead paragraph gets a touch more presence */
.news__single__body > p:first-of-type {
  font-size: 1.15em;
  line-height: 1.65;
  color: var(--blue-dark);
}

.news__single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Footer: back-to-news link */
.news__single__foot {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(40, 58, 71, 0.12);
}

.news__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.news__back:hover {
  gap: 0.85rem;
  color: var(--blue-dark);
}

/* ============================================================
   RESOURCES ARCHIVE GRID (archive-resource.php)
   Reuses the .news__card visual language in a responsive grid
   instead of the homepage carousel track.
   ============================================================ */
.resource__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 600px) {
  .resource__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .resource__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card sits in a grid cell, so neutralise the carousel's flex sizing. */
.resource__card {
  flex: initial;
  width: 100%;
}
