@font-face {
  font-family: "GabaritoBlack";
  src: url("/themes/homepage/fonts/VarelaRound-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SiteRoundFont";
  src: url("/themes/homepage/fonts/Sniglet-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/themes/homepage/fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("/themes/homepage/fonts/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --site-font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ink: #211b16;
  --ink-soft: #5f5146;

  --brand-yellow: #ffd92e;

  --cream: #fff8e6;
  --paper: #fefdfa;
  --white: #ffffff;

  --earth: #000000;
  --moss: #b8bf48;
  --moss-soft: #dfe36a;
  --clay: #ecc829;
  --rose: #d97885;
  --viola: #7d86c9;
  --grey: #f2f2f2;
    --greyvio: #bbbdc7;
        --greyvio: #b3b6c6;
                --greyvio: #c6c9db;
  --line: rgba(0, 0, 0, 0.18);
  --shadow: rgba(0, 0, 0, 0.12);
  --greyshade: #f1f1f1;

  --section-x: clamp(56px, 5.8vw, 120px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
}

html,
body {
  overscroll-behavior-y: none;
}
/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 2px solid var(--earth);
}

.site-brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-right: 42px;
  color: var(--earth);
  text-decoration: none;
  border-right: 2px solid var(--earth);
}

.site-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-brand span {
  max-width: 150px;
  font-size: 19px;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.site-header-right {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
}

.site-nav {
  position: relative;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin-left: 48px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  display: flex;
  align-items: center;
}

.site-nav a {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: var(--earth);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.site-nav a:hover {
  background: var(--brand-yellow);
  color: var(--earth);
}

/* HEADER CTA */

.header-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.support-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--earth);
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  border: 0;
  box-shadow: none;
}

.support-button:hover {
  background: var(--greyvio);
  color: var(--paper);
}

.header-icons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding-right: 0;
}

.header-icon {
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  text-decoration: none;
}

.header-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.header-icon circle,
.header-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-icon:hover {
  color: var(--clay);
}

/* MAIN */

.site-main {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: clamp(480px, 61vh, 670px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.5) 34%,
      rgba(0, 0, 0, 0.16) 68%,
      rgba(0, 0, 0, 0.02) 100%
    ),
    url("../../images/icons/hero-photo.jpg");
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-attachment: fixed, fixed;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 36%, rgba(255, 217, 46, 0), transparent 30%),
    linear-gradient(90deg, rgba(97, 97, 97, 0), rgba(255, 248, 230, 0.02));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 50px var(--section-x);
  margin-left: 0;
  transform: none;
  color: var(--earth);
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--brand-yellow);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--white);
  font-size: clamp(46px, 4.8vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.hero p:not(.hero-kicker) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--earth);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.36;
  font-weight: 560;
}

/* current expanding hero button */

.hero-button-expand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 28px 0 0;
  color: var(--earth);
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  isolation: isolate;
}

.hero-button-expand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--brand-yellow);
  transition: width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.hero-button-arrow {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  font-size: 30px;
  line-height: 1;
  transition: transform 0.32s ease;
}

.hero-button-text {
  color: var(--earth);
  transition: transform 0.32s ease;
}

.hero-button-expand:hover::before {
  width: 100%;
}

.hero-button-expand:hover .hero-button-arrow {
  transform: translateX(3px);
}

.hero-button-expand:hover .hero-button-text {
  transform: translateX(-2px);
}
/* ==========================================================
   WHAT WE DO — INFINITE THREE-ITEM CAROUSEL
   ========================================================== */

.quick-links {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: none;

  margin: 0;

  padding:
    58px
    var(--section-x)
    0;

  overflow: hidden;

  border-top: 0;

  background: var(--paper);
  color: var(--earth);
}

.quick-links::before {
  display: none;
}

.quick-links-intro {
  width: min(100%, 1500px);

  margin:
    0
    auto
    22px;
}

.quick-links-intro h2 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(42px, 3.8vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 950;
}


/* ==========================================================
   CAROUSEL
   ========================================================== */

.what-carousel {
  position: relative;

  width: min(100%, 1500px);
   min-height: clamp(460px, 34vw, 540px);

  margin:
    0
    auto
    0px;

  container-type: inline-size;
}

.what-carousel__stage {
  position: relative;

  width: 100%;
  height: clamp(440px, 33vw, 520px);

  overflow: visible;

  background-image: url("../../images/icons/whatwedo-bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}


/* ==========================================================
   CAROUSEL ITEMS
   ========================================================== */

.what-carousel__item {
  position: absolute;
  top: 0;
  z-index: 1;

  width: 42%;
  height: 100%;

  display: block;

  margin: 0;
  padding: 0;

  color: var(--earth);

  text-align: center;

  transition:
    left 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 400ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-carousel__item[data-carousel-position="left"] {
  left: -3%;

  z-index: 1;

  opacity: 0.3;

  transform: scale(0.72);
}

.what-carousel__item[data-carousel-position="center"] {
  left: 29%;

  z-index: 4;

  opacity: 1;

  transform: scale(1);
}

.what-carousel__item[data-carousel-position="right"] {
  left: 61%;

  z-index: 1;

  opacity: 0.3;

  transform: scale(0.72);
}

.what-carousel__item[data-carousel-position="left"]:hover,
.what-carousel__item[data-carousel-position="right"]:hover {
  opacity: 0.58;

  transform: scale(0.77);
}


/* ==========================================================
   TITLE ROW
   ========================================================== */

.what-carousel__title-row {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;

  width: max-content;
  max-width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  transform: translateX(-50%);
}


/* ==========================================================
   TITLE SWITCH BUTTON
   ========================================================== */

.what-carousel__title {
  display: block;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;
  color: var(--earth);

  font: inherit;
  font-size: clamp(27px, 2.7cqw, 42px);
  line-height: 0.96;
  letter-spacing: -0.057em;
  font-weight: 950;

  text-align: center;
  white-space: nowrap;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    opacity 400ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-carousel__item[data-carousel-position="center"]
.what-carousel__title {
  opacity: 1;

  transform: translateY(-2px);
}

.what-carousel__item:not([data-carousel-position="center"])
.what-carousel__title {
  opacity: 0.78;
}

.what-carousel__title:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 6px;
}


/* ==========================================================
   TITLE ARROW LINK
   ========================================================== */

.what-carousel__title-link {
  width: clamp(35px, 3cqw, 43px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;
  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--brand-yellow);
  color: var(--earth);

  text-decoration: none;

  font-size: clamp(19px, 1.8cqw, 24px);
  line-height: 1;
  font-weight: 900;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateX(-8px)
    scale(0.86);

  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-carousel__title-link.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateX(0)
    scale(1);

  transition:
    opacity 240ms ease 160ms,
    visibility 0s linear 0s,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.what-carousel__title-link:hover {
  color: var(--earth);

  transform:
    translateX(4px)
    scale(1);
}

.what-carousel__title-link:focus-visible {
  outline: 2px solid var(--earth);
  outline-offset: 5px;
}


/* ==========================================================
   ILLUSTRATION SWITCH BUTTON
   ========================================================== */

.what-carousel__visual {
  position: absolute;
  top: 11%;
  left: 50%;
  z-index: 2;

  width: 100%;
  height: 59%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;
  color: inherit;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transform: translateX(-50%);
}

.what-carousel__visual img {
  width: 100%;
  max-width: 560px;
  max-height: 100%;

  display: block;

  object-fit: contain;
  object-position: center;

  pointer-events: none;

  transition:
    opacity 400ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-carousel__item--research
.what-carousel__visual img {
  max-width: 570px;
}

.what-carousel__item--engagement
.what-carousel__visual img {
  max-width: 500px;
}

.what-carousel__item--collaboration
.what-carousel__visual img {
  max-width: 520px;
}

.what-carousel__item[data-carousel-position="center"]
.what-carousel__visual img {
  opacity: 1;

  transform: scale(1);
}

.what-carousel__item:not([data-carousel-position="center"])
.what-carousel__visual img {
  opacity: 0.8;

  transform: scale(0.96);
}

.what-carousel__visual:focus-visible {
  outline: none;
  outline-offset: 7px;
}


/* ==========================================================
   ACTIVE DESCRIPTION
   ========================================================== */

.what-carousel__description {
  position: absolute;
  top: 73%;
  left: 50%;
  z-index: 5;

  width: min(100%, 590px);

  display: block;

  margin: 0;

  color: rgba(0, 0, 0, 0.8);

  font-size: clamp(15px, 1.35cqw, 20px);
  line-height: 1.44;
  font-weight: 560;

  text-align: center;
  text-wrap: balance;

  opacity: 0;
  visibility: hidden;

  transform:
    translateX(-50%)
    translateY(12px);

  transition:
    opacity 250ms ease,
    visibility 0s linear 250ms,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.what-carousel__item[data-carousel-position="center"]
.what-carousel__description {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(-50%)
    translateY(0);

  transition:
    opacity 340ms ease 180ms,
    visibility 0s linear 0s,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}



/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {
  .quick-links {
    padding:
      52px
      28px
      0;
  }

  .quick-links-intro {
    margin-bottom: 28px;
  }

  .what-carousel {
    min-height: 590px;
  }

  .what-carousel__stage {
    height: 510px;

    background-size: cover;
  }

  .what-carousel__item {
    width: 58%;
  }

  .what-carousel__item[data-carousel-position="left"] {
    left: -27%;

    transform: scale(0.7);
  }

  .what-carousel__item[data-carousel-position="center"] {
    left: 21%;
  }

  .what-carousel__item[data-carousel-position="right"] {
    left: 69%;

    transform: scale(0.7);
  }

  .what-carousel__description {
    top: 72%;

    width: min(100%, 520px);
  }

  .what-carousel__statement {
    width: min(88%, 730px);
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 620px) {
  .quick-links {
    padding:
      46px
      20px
      0;
  }

  .quick-links-intro {
    margin-bottom: 24px;
  }

  .what-carousel {
    min-height: 580px;
  }

  .what-carousel__stage {
    height: 500px;

    background-image: none;
  }

  .what-carousel__item {
    width: 78%;
  }

  .what-carousel__item[data-carousel-position="left"] {
    left: -60%;

    opacity: 0.25;

    transform: scale(0.66);
  }

  .what-carousel__item[data-carousel-position="center"] {
    left: 11%;
  }

  .what-carousel__item[data-carousel-position="right"] {
    left: 82%;

    opacity: 0.25;

    transform: scale(0.66);
  }

  .what-carousel__title {
    font-size: clamp(27px, 8vw, 38px);
  }

  .what-carousel__title-link {
    width: 38px;

    font-size: 21px;
  }

  .what-carousel__visual {
    top: 12%;
    height: 53%;
  }

  .what-carousel__description {
    top: 68%;

    width: min(100%, 440px);

    font-size: 16px;
    line-height: 1.42;
  }

  .what-carousel__statement {
    width: 100%;

    font-size: 16px;
    line-height: 1.42;
  }
}


/* ==========================================================
   VERY SMALL SCREENS
   ========================================================== */

@media (max-width: 420px) {
  .what-carousel {
    min-height: 605px;
  }

  .what-carousel__stage {
    height: 520px;
  }

  .what-carousel__item[data-carousel-position="left"] {
    left: -64%;
  }

  .what-carousel__item[data-carousel-position="right"] {
    left: 86%;
  }

  .what-carousel__description {
    top: 66%;
  }

  .what-carousel__title-row {
    gap: 9px;
  }

  .what-carousel__title-link {
    width: 35px;
  }
}

/* ==========================================================
   WHAT WE DO — MOBILE DOT NAVIGATION
   ========================================================== */

.what-carousel__dots {
  display: none;
}


/* ==========================================================
   MOBILE DOTS + SWIPE
   ========================================================== */

@media (max-width: 980px) {
  .what-carousel__stage {
    touch-action: pan-y;
  }

  .what-carousel__dots {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin:
      2px
      0
      0;

    padding: 0;
  }

  .what-carousel__dot {
    width: 10px;
    height: 10px;

    display: block;

    margin: 0;
    padding: 0;

    border: 2px solid var(--earth);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
      background 180ms ease,
      transform 180ms ease;
  }

  .what-carousel__dot.is-active {
    background: var(--earth);

    transform: scale(1.12);
  }

  .what-carousel__dot:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 4px;
  }
}
/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .what-carousel__item,
  .what-carousel__title,
  .what-carousel__title-link,
  .what-carousel__visual img,
  .what-carousel__description {
    transition: none;
  }
}
/* NEWS + EVENTS — split 50/50 */

.news-events-split {
  position: relative;
  padding: 0;
  background: var(--paper);
  color: var(--earth);
  border-top: 2px solid var(--earth);
    margin-top: 0px;
}

.news-events-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  max-width: none;
  margin: 0;
}

.news-panel,
.events-panel {
  padding: 72px var(--section-x) 96px;
  min-width: 0;
}

.news-panel {
  border-right: 0px ;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 54px;
}

.section-heading-row h2 {
  margin: 0;
  color: var(--earth);
  font-size: clamp(42px, 3.8vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.section-heading-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--earth);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.section-heading-row a span {
  color: var(--earth);
  font-size: 22px;
  line-height: 1;
}

.section-heading-row a:hover {
  color: var(--earth);
}


/* ==========================================================
   NEWS + EVENTS — ALIGNED EDITORIAL PANELS
   ========================================================== */


/* ==========================================================
   SHARED HEADER ALIGNMENT
   ========================================================== */

.news-heading-actions,
.events-panel .section-heading-row {
  min-height: 112px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin: 0;
  padding: 0;
}

.news-heading-actions h2,
.news-heading-actions .section-title,
.events-panel .section-heading-row h2 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(42px, 3.6vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.events-panel .section-heading-row > a {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin: 0;

  color: var(--earth);

  text-decoration: none;
  white-space: nowrap;

  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.events-panel .section-heading-row > a span {
  font-size: 18px;
  line-height: 1;
}

.events-panel .section-heading-row > a:hover {
  color: var(--brand-yellow);
}


/* ==========================================================
   LEGACY NEWS CARD FALLBACK
   ========================================================== */

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;

  margin:
    0
    calc(var(--section-x) * -1);
}

.news-card {
  max-width: none;
  min-height: 180px;

  display: grid;
  grid-template-columns:
    220px
    minmax(0, 1fr);

  margin: 0;

  overflow: hidden;

  border: 0;
  border-radius: 0;

  background: var(--paper);

  cursor: pointer;

  transition: background 180ms ease;
}

.news-card:hover {
  background: var(--greyshade);
}

.news-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;

  display: block;

  margin: 0;

  border: 0;
  border-radius: 0;

  object-fit: cover;
}

.news-card-content {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding:
    28px
    34px
    30px;
}

.news-tag {
  width: fit-content;

  margin:
    0
    0
    18px;

  padding:
    8px
    13px;

  border: 0;
  border-radius: 999px;

  background: var(--brand-yellow);
  color: var(--earth);

  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.news-card p:not(.news-tag) {
  margin:
    16px
    0
    0;

  color: rgba(0, 0, 0, 0.68);

  font-size: 15px;
  line-height: 1.42;
  font-weight: 550;
}


/* ==========================================================
   NEWS PANEL
   ========================================================== */

.news-panel {
  position: relative;

  min-width: 0;
  min-height: 100%;

  display: flex;
  flex-direction: column;
  align-self: stretch;

  padding-top: 0;
  padding-bottom: 0;

  background: transparent;

  border-right: 0 solid var(--earth);

  isolation: isolate;
}

.news-panel::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: var(--greyvio);
}


/* ==========================================================
   NEWS CAROUSEL LAYOUT
   ========================================================== */

.news-carousel {
  position: static;

  width: auto;
  min-height: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);

  flex: 1 1 auto;

  margin:
    0
    calc(var(--section-x) * -1);

  padding: 0;

  background: transparent;
}


/* ==========================================================
   NEWS CONTROLS — SAME ROW AS NEWS HEADING
   ========================================================== */

.news-carousel-footer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;

  width: auto;
  height: 112px;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 14px;

  margin: 0;

  padding:
    0
    var(--section-x)
    0
    20px;

  background: transparent;

  box-sizing: border-box;
}


/* ==========================================================
   NEWS VIEW — ANCHORED TO BOTTOM
   ========================================================== */

.news-carousel > :not(.news-carousel-footer) {
  grid-column: 1;
  grid-row: 1;

  align-self: stretch;

  width: 100%;
  max-width: none;
  min-height: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  margin: 0;
  padding: 0;
}


/* ==========================================================
   DRUPAL VIEWS WRAPPERS
   ========================================================== */

.news-carousel .block,
.news-carousel .views-element-container,
.news-carousel .view {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;

  margin: 0;
  padding: 0;
}

.news-carousel .block,
.news-carousel .views-element-container {
  overflow: visible;
}

.news-carousel .view-content {
  width: 100%;
  max-width: none;
  max-height: 380px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  gap: 0;

  margin-top: auto;
  padding: 0;

  overflow-x: hidden;
  overflow-y: auto;

  background: transparent;

  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.news-carousel .view-content::-webkit-scrollbar {
  display: none;
}


/* ==========================================================
   INDIVIDUAL NEWS ENTRY
   ========================================================== */

.news-carousel .views-row {
  position: relative;

  min-height: 190px;

  display: grid;
  grid-template-columns:
    210px
    minmax(0, 1fr);

  margin: 0;

  overflow: hidden;

  border: 0;
  border-radius: 0;

  background: var(--paper);

  box-sizing: border-box;

  cursor: pointer;

  scroll-snap-align: start;

  transition:
    background 180ms ease,
    color 180ms ease;
}

.news-carousel .views-row:hover {
  background: var(--greyshade);
}

.news-carousel .views-row:hover .views-field-title a {
  color: var(--earth);
}


/* ==========================================================
   ALTERNATING NEWS WIDTHS
   ========================================================== */

.news-carousel .views-row:nth-child(odd) {
  width: 100%;

  align-self: stretch;

  grid-template-columns:
    230px
    minmax(0, 1fr);

  border-top: 2px solid var(--earth);
  border-right: 2px solid var(--earth);
  border-bottom: 2px solid var(--earth);

  margin-bottom: -2px;
}

.news-carousel .views-row:nth-child(odd):first-child {
  border-top: 2px solid var(--earth);
  border-right: 2px solid var(--earth);
}

.news-carousel .views-row:nth-child(even) {
  width: 84%;

  align-self: flex-start;

  grid-template-columns:
    170px
    minmax(0, 1fr);

  border-top: 0;
  border-right: 2px solid var(--earth);
  border-bottom: 0;
}


/* ==========================================================
   NEWS IMAGE AREA
   ========================================================== */

.news-carousel .views-field-field-news-image {
  position: relative;

  grid-column: 1;
  grid-row: 1 / span 6;

  width: 100%;
  height: 100%;
  min-height: 190px;

  overflow: hidden;

  border: 0;
  border-radius: 0;
}

.news-carousel .views-field-field-news-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;

  display: block;

  border: 0;
  border-radius: 0;

  object-fit: cover;

  transition: transform 280ms ease;
}

.news-carousel .views-row:hover .views-field-field-news-image img {
  transform: scale(1.035);
}


/* ==========================================================
   NEWS CATEGORY BADGE
   ========================================================== */

.news-carousel .views-field-field-news-category {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;

  padding: 0;

  white-space: nowrap;
}

.news-carousel .views-field-field-news-category .field-content {
  width: fit-content;
  max-width: none;

  padding:
    8px
    12px;

  border: 0;
  border-radius: 999px;

  background: var(--brand-yellow);
  color: var(--earth);

  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ==========================================================
   NEWS DATE BADGE
   ========================================================== */

.news-carousel .views-field-created,
.news-carousel .views-field-field-news-date {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;

  width: fit-content;
  max-width: none;

  padding:
    8px
    12px;

  border: 0;
  border-radius: 999px;

  background: rgba(254, 253, 250, 0.94);
  color: var(--earth);

  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ==========================================================
   NEWS TEXT FIELDS
   ========================================================== */

.news-carousel .views-field-title,
.news-carousel .views-field-field-new-teaser,
.news-carousel .views-field-field-news-teaser,
.news-carousel .views-field-body,
.news-carousel .views-field-field-news-text {
  grid-column: 2;

  margin: 0;

  padding-right: 28px;
  padding-left: 34px;
}

.news-carousel .views-field-title {
  padding-top: 24px;
}

.news-carousel .views-field-title a {
  color: var(--earth);

  text-decoration: none;

  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.news-carousel .views-field-title a:hover {
  color: var(--earth);
}


/* ==========================================================
   NEWS TEASER TEXT
   ========================================================== */

.news-carousel .views-field-field-new-teaser,
.news-carousel .views-field-field-news-teaser,
.news-carousel .views-field-body,
.news-carousel .views-field-field-news-text {
  padding-top: 12px;
  padding-bottom: 24px;

  color: rgba(0, 0, 0, 0.68);

  font-size: 15px;
  line-height: 1.45;
  font-weight: 560;
}

.news-carousel .views-field-field-new-teaser p,
.news-carousel .views-field-field-news-teaser p,
.news-carousel .views-field-body p,
.news-carousel .views-field-field-news-text p {
  margin: 0;
}


/* ==========================================================
   FALLBACK NEWS FIELD SPACING
   ========================================================== */

.news-carousel .views-row > div:not(.views-field-field-news-image):not(.views-field-field-news-category):not(.views-field-field-news-date):not(.views-field-created):not(.views-field-title) {
  grid-column: 2;

  padding-top: 12px;
  padding-right: 28px;
  padding-bottom: 24px;
  padding-left: 34px;
}


/* ==========================================================
   HIDE DRUPAL NEWS PAGER
   ========================================================== */

.news-carousel .pager {
  display: none;
}


/* ==========================================================
   VIEW ALL NEWS LINK
   ========================================================== */

.news-view-all-bottom {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin: 0;

  color: var(--earth);

  text-decoration: none;
  white-space: nowrap;

  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.news-view-all-bottom span {
  font-size: 18px;
  line-height: 1;
}

.news-view-all-bottom:hover {
  color: var(--brand-yellow);
}


/* ==========================================================
   NEWS CAROUSEL BUTTONS
   ========================================================== */

.news-carousel-footer-buttons {
  display: flex;
  align-items: center;

  gap: 10px;
}

.news-carousel-button {
  position: static;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: transparent;
  color: var(--earth);

  font-size: 28px;
  line-height: 1;
  font-weight: 900;

  cursor: pointer;

  transition:
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.news-carousel-button:hover {
  background: var(--brand-yellow);
}

.news-carousel-prev:hover {
  transform: translateY(-3px);
}

.news-carousel-next:hover {
  transform: translateY(3px);
}

.news-carousel-button:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.news-carousel-button:disabled {
  opacity: 0.25;

  cursor: default;
  pointer-events: none;
}


/* ==========================================================
   EVENTS PANEL
   ========================================================== */

.events-panel {
  min-width: 0;

  background: var(--greyvio);
}


/* ==========================================================
   EVENTS — DRUPAL VIEWS MARKUP
   ========================================================== */

.events-panel .view-content {
  display: grid;

  gap: 0;
}

.events-panel .views-row {
  display: grid;
  grid-template-columns:
    78px
    minmax(0, 1fr);
  grid-template-rows:
    48px
    30px;

  column-gap: 28px;

  align-items: start;

  padding:
    28px
    0;

  border-top: 1.5px solid rgba(0, 0, 0, 0.62);
}

.events-panel .views-row:last-child {
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.62);
}

.events-panel .views-field-field-event-date {
  grid-column: 1;
  grid-row: 1;

  width: 78px;
  height: 48px;

  padding-top: 10px;

  background: var(--paper);
  color: var(--earth);

  text-align: center;

  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.events-panel .views-field-field-event-date-1 {
  grid-column: 1;
  grid-row: 2;

  width: 78px;
  height: 30px;

  padding-bottom: 10px;

  background: var(--paper);
  color: var(--earth);

  text-align: center;

  font-size: 14px;
  line-height: 1;
  font-weight: 850;
}

.events-panel .views-field-title {
  grid-column: 2;
  grid-row: 1;

  align-self: end;
}

.events-panel .views-field-title a {
  color: var(--paper);

  text-decoration: none;

  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.events-panel .views-field-title a:hover {
  color: var(--paper);
}

.events-panel .views-field-field-event-date-2 {
  grid-column: 2;
  grid-row: 2;

  align-self: start;

  margin-top: 6px;

  color: rgba(0, 0, 0, 0.56);

  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}


/* ==========================================================
   FALLBACK / MANUAL EVENT MARKUP
   ========================================================== */

.events-panel .event-list {
  display: grid;

  gap: 0;
}

.events-panel .event-item {
  display: grid;
  grid-template-columns:
    78px
    minmax(0, 1fr);

  gap: 24px;

  align-items: start;

  padding:
    28px
    0;

  border-top: 1.5px solid rgba(0, 0, 0, 0.62);
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {
  .news-heading-actions,
  .events-panel .section-heading-row {
    min-height: 76px;

    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .news-heading-actions h2,
  .news-heading-actions .section-title,
  .events-panel .section-heading-row h2 {
    margin-top: 0;
    margin-bottom: 0;

    font-size: clamp(42px, 8vw, 58px);
  }

  .news-panel {
    display: block;

    min-height: 0;
    border-top: 0;
  }

  .news-carousel {
    min-height: 0;

    display: flex;
    flex-direction: column;

    row-gap: 18px;

    margin: 0;
    padding: 0;

    border-top: 0;
  }

  .news-carousel-footer {
    position: static;

    width: 100%;
    height: auto;
    min-height: 52px;

    display: flex;
    order: 1;

    justify-content: flex-end;

    padding: 2px 0 0;
  }

  .news-carousel > :not(.news-carousel-footer) {
    width: 100%;

    display: block;
    order: 2;

    align-self: auto;

    margin: 0;
  }

  .news-carousel .view-content {
    max-height: 720px;

    gap: 0;

    border-top: 0;
  }

  .news-carousel .views-row,
  .news-carousel .views-row:nth-child(odd),
  .news-carousel .views-row:nth-child(even) {
    width: 100%;

    align-self: stretch;

    grid-template-columns: 1fr;

    min-height: 0;

    border-top: 2px solid var(--earth);
    border-right: 0;
    border-bottom: 0;
  }

  /* No line between What We Do and the first news item */
  .news-carousel .views-row:first-child,
  .news-carousel .views-row:nth-child(odd):first-child,
  .news-carousel .views-row:nth-child(even):first-child {
    border-top: 0 !important;
  }

  .news-carousel .views-row:last-child {
    border-bottom: 2px solid var(--earth);
  }

  .news-carousel .views-field-field-news-image {
    grid-column: 1;
    grid-row: auto;

    height: 220px;
    min-height: 220px;

    border: 0;
  }

  .news-carousel .views-field-field-news-image img {
    min-height: 220px;
  }

  .news-carousel .views-field-title,
  .news-carousel .views-field-field-new-teaser,
  .news-carousel .views-field-field-news-teaser,
  .news-carousel .views-field-body,
  .news-carousel .views-field-field-news-text {
    grid-column: 1;

    padding-right: 22px;
    padding-left: 22px;
  }

  .news-carousel
    .views-row
    > div:not(.views-field-field-news-image):not(.views-field-field-news-category):not(.views-field-field-news-date):not(.views-field-created):not(.views-field-title) {
    grid-column: 1;

    padding-right: 22px;
    padding-left: 22px;
  }

  .news-carousel .views-field-title {
    padding-top: 24px;
  }

  .news-carousel-button {
    width: 42px;
    height: 42px;

    font-size: 26px;
  }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 620px) {
  .news-heading-actions,
  .events-panel .section-heading-row {
    min-height: 64px;

    padding-top: 0;
    padding-bottom: 0;
  }

  .news-heading-actions h2,
  .news-heading-actions .section-title,
  .events-panel .section-heading-row h2 {
    margin-top: 0;
    margin-bottom: 0;

    font-size: clamp(40px, 12vw, 52px);
  }

  .news-carousel {
    row-gap: 18px;
  }

  .news-carousel-footer {
    min-height: 48px;

    gap: 12px;

    padding: 0;
  }

  .news-view-all-bottom,
  .events-panel .section-heading-row > a {
    font-size: 13px;
  }

  .news-carousel-button {
    width: 40px;
    height: 40px;

    font-size: 24px;
  }
}

/* ==========================================================
   EVENT DETAIL / SUBPAGE CONTENT IMAGES
   ========================================================== */

.subpage-content-inner img {
  max-width: min(100%, 520px);
  height: auto;

  display: block;

  margin:
    28px
    auto;
}


/* ==========================================================
   EVENTS PAGE — REDUCE DRUPAL BLOCK / VIEW TITLE
   ========================================================== */

.path-events h2,
.path-events .block-title,
.path-events .views-element-container > h2,
.path-events .view-header h2,
.path-events .view-content + h2,
.path-events .contextual-region > h2 {
  margin:
    0
    0
    28px !important;

  font-size: 28px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  font-weight: 950 !important;
}


/* ==========================================================
   EVENTS PAGE — CLICKABLE ROWS / IMAGES
   ========================================================== */

.subpage-content.path-events .views-row,
.subpage-content.path-events .views-row img {
  cursor: pointer;
}

/* ==========================================================
   FINAL NEWS / EVENTS ALIGNMENT
   Add at the very end of custom.css
   ========================================================== */

/* Both columns use exactly the same vertical structure */

.news-panel,
.events-panel {
  min-width: 0;
  min-height: 100%;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows:
    150px
    minmax(0, 1fr);

  align-content: stretch;
  align-items: stretch;

  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* Both heading rows occupy the same first grid row */

.news-heading-actions,
.events-panel .section-heading-row {
  grid-column: 1;
  grid-row: 1;

  width: 100%;
  height: 150px;
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin: 0;
  padding: 0;

  box-sizing: border-box;
}


/* News and Events receive exactly the same typography */

.news-heading-actions h2,
.news-heading-actions .section-title,
.events-panel .section-heading-row h2 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(42px, 3.6vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 950;
}


/* News carousel fills the complete second row */

.news-carousel {
  grid-column: 1;
  grid-row: 2;

  width: auto;
  height: 100%;
  min-height: 0;

  align-self: stretch;

  margin:
    0
    calc(var(--section-x) * -1);

  padding: 0;
}


/* News controls align inside the same 150px header row */

.news-carousel-footer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;

  width: auto;
  height: 150px;
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 14px;

  margin: 0;

  padding:
    0
    var(--section-x)
    0
    20px;

  box-sizing: border-box;
}


/* Event view begins in exactly the same second row */

.events-panel > :not(.section-heading-row) {
  grid-column: 1;
  grid-row: 2;

  width: 100%;
  min-width: 0;

  align-self: start;

  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Remove possible Drupal spacing above the event list */

.events-panel .block,
.events-panel .views-element-container,
.events-panel .view,
.events-panel .view-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Tablet / mobile */

@media (max-width: 980px) {
  .news-panel,
  .events-panel {
    display: block;

    min-height: 0;
  }

  .news-heading-actions,
  .events-panel .section-heading-row {
    width: 100%;
    height: auto;
    min-height: 86px;
  }

  .news-carousel {
    height: auto;

    margin-right: 0;
    margin-left: 0;
  }

  .news-carousel-footer {
    position: static;

    width: 100%;
    height: auto;
    min-height: 58px;

    justify-content: flex-end;

    padding:
      4px
      0
      10px;
  }
}
/* COMPACT MEGA MENU */

.site-nav .mega-menu {
  position: absolute;
  left: 0;
  right: auto;
  top: 82px;
  width: min(760px, calc(100vw - 420px));
  padding: 24px 28px;
  background: var(--paper);
  border: 2px solid var(--earth);
  box-shadow: 8px 8px 0 var(--earth);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-nav .has-mega:hover .mega-menu,
.site-nav .has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .mega-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: start;
}

.site-nav .mega-column {
  display: block;
}

.site-nav .mega-column h3 {
  margin: 0 0 16px;
  color: var(--earth);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.site-nav .mega-column a {
  display: block;
  min-height: 0;
  padding: 0;
  margin: 0 0 11px;
  border: 0;
  background: transparent;
  color: var(--earth);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav .mega-column a:hover {
  color: var(--clay);
  background: transparent;
}

.site-nav .mega-feature {
  width: 100%;
  min-width: 360px;
  margin: 0;
  padding: 26px 30px;
  border: 2px solid var(--earth);
  background: var(--paper);
  color: var(--earth);
  box-shadow: 6px 6px 0 var(--earth);
}

.site-nav .mega-label {
  margin: 0 0 12px;
  color: var(--earth);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav .mega-feature h3 {
  margin: 0;
  color: var(--earth);
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.site-nav .mega-feature p {
  margin: 14px 0 0;
  color: var(--earth);
  font-size: 15px;
  line-height: 1.38;
}

.site-nav .mega-button {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--paper);
  color: var(--earth);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.site-nav .mega-button span {
  color: var(--earth);
  font-size: 22px;
}

/* FOOTER */

.site-footer {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 40px 56px;
  background: var(--paper);
  color: var(--earth);
  font-size: 14px;
  border-top: 2px solid var(--earth);
}

/* SUBPAGES */

.subpage-hero {
  position: relative;
  padding: 34px 56px 30px;
  background: var(--greyvio);
  border-bottom: 2px solid var(--earth);
}

.subpage-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.subpage-hero h1 {
  margin: 0;
  max-width: 900px;
  color: var(--earth);
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 950;
}
.subpage-content {
  padding: 54px 56px 86px;
  background: var(--paper);
  color: var(--earth);
}

.subpage-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.subpage-content-inner strong,
.subpage-content-inner b {
  font-weight: 1050;
  color: #000;
}

.subpage-content-inner p {
  margin: 0 0 24px;
  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
  font-weight: 520;
}

.subpage-content-inner h2 {
  margin: 46px 0 24px;
  color: var(--earth);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.subpage-content-inner ol,
.subpage-content-inner ul {
  margin: 0 0 24px 28px;
  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
  font-weight: 520;
}

.subpage-content-inner li {
  margin-bottom: 10px;
}
/* ==========================================================
   TEAM PAGE
   ========================================================== */

.team-sketch-page {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  color: var(--earth);
  background: var(--paper);
}


/* ==========================================================
   CLEAN PAGE HEADER
   ========================================================== */

.team-sketch-page-header {
  padding:
    36px
    var(--section-x)
    24px;

  background: var(--paper);
  border-bottom: 2px solid var(--earth);
}

.team-sketch-page-header-inner {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
}

.team-sketch-page-eyebrow {
  margin:
    0
    0
    10px;

  color: rgba(0, 0, 0, 0.58);

  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-sketch-page-header h1 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(42px, 3.8vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 950;
}


/* ==========================================================
   TEAM SECTION
   ========================================================== */

.team-sketch-section {
  width: 100%;

  display: grid;
  justify-items: center;

  margin: 0;

  padding:
    34px
    var(--section-x)
    70px;

  box-sizing: border-box;
}


/* ==========================================================
   TEAM GRID
   ========================================================== */

.team-sketch-grid {
  width: 100%;
  max-width: 1080px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 48px;

  align-items: start;
  justify-content: center;
  justify-items: stretch;

  margin: 0 auto;
}


/* ==========================================================
   TEAM CARD
   ========================================================== */

.team-sketch-card {
  width: 100%;
  min-width: 0;

  text-align: center;
}

.team-sketch-link,
.team-sketch-link:link,
.team-sketch-link:visited,
.team-sketch-link:hover,
.team-sketch-link:focus,
.team-sketch-link:active {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: var(--earth) !important;
  text-decoration: none !important;
}

.team-sketch-link:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 8px;
}


/* ==========================================================
   PORTRAIT
   ========================================================== */

.team-sketch-image-wrap {
  position: relative;

  width: 100%;
  max-width: 270px;
  height: 270px;

  display: block;

  margin:
    0
    auto
    10px;

  overflow: hidden;
}

.team-sketch-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center top;

  filter: none;
  opacity: 1;

  transition:
    opacity 220ms ease,
    transform 260ms ease;
}


/* ==========================================================
   INDIVIDUAL PORTRAIT ADJUSTMENTS
   ========================================================== */

.team-sketch-card--belinda .team-sketch-image {
  object-position: center top;
  transform: scale(0.85);
}

.team-sketch-card--isabel .team-sketch-image {
  object-position: center top;
  transform: scale(1);
}

.team-sketch-card--inger .team-sketch-image {
  object-position: center 10%;
  transform: scale(1);
}

.team-sketch-image-bw {
  opacity: 1;
}

.team-sketch-image-color {
  opacity: 0;
}

.team-sketch-link:hover .team-sketch-image-bw,
.team-sketch-link:focus-visible .team-sketch-image-bw {
  opacity: 0;
}

.team-sketch-link:hover .team-sketch-image-color,
.team-sketch-link:focus-visible .team-sketch-image-color {
  opacity: 1;
}


/* ==========================================================
   NAME
   ========================================================== */

.team-sketch-name,
.team-sketch-card a .team-sketch-name,
.team-sketch-card a:link .team-sketch-name,
.team-sketch-card a:visited .team-sketch-name {
  margin: 0;

  color: var(--earth) !important;

  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none !important;

  transition: color 180ms ease;
}


/* ==========================================================
   EXECUTIVE ROLE
   ========================================================== */

.team-sketch-role,
.team-sketch-card a .team-sketch-role,
.team-sketch-card a:link .team-sketch-role,
.team-sketch-card a:visited .team-sketch-role {
  min-height: 36px;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  margin:
    8px
    0
    0;

  color: rgba(0, 0, 0, 0.62) !important;

  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  font-style: italic;
  text-decoration: none !important;

  transition: color 180ms ease;
}


/* ==========================================================
   FOUNDER / CONSULTANT STATUS
   ========================================================== */

.team-sketch-relationship,
.team-sketch-card a .team-sketch-relationship,
.team-sketch-card a:link .team-sketch-relationship,
.team-sketch-card a:visited .team-sketch-relationship {
  margin:
    5px
    0
    0;

  color: rgba(0, 0, 0, 0.46) !important;

  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;

  transition: color 180ms ease;
}


/* ==========================================================
   HOVER
   ========================================================== */

.team-sketch-link:hover .team-sketch-name,
.team-sketch-link:focus-visible .team-sketch-name,
.team-sketch-card.is-selected .team-sketch-name {
  color: var(--brand-yellow) !important;
}

.team-sketch-link:hover .team-sketch-role,
.team-sketch-link:focus-visible .team-sketch-role,
.team-sketch-card.is-selected .team-sketch-role {
  color: var(--brand-yellow) !important;
}

.team-sketch-link:hover .team-sketch-relationship,
.team-sketch-link:focus-visible .team-sketch-relationship,
.team-sketch-card.is-selected .team-sketch-relationship {
  color: var(--brand-yellow) !important;
}


/* ==========================================================
   INACTIVE CARDS
   ========================================================== */

.team-sketch-card.is-not-clickable .team-sketch-link,
.team-sketch-card.is-inactive .team-sketch-link {
  cursor: default;
  pointer-events: none;
}

.team-sketch-card.is-inactive {
  opacity: 0.55;
}

.team-sketch-card.is-inactive .team-sketch-link:hover .team-sketch-name,
.team-sketch-card.is-inactive .team-sketch-link:hover .team-sketch-role,
.team-sketch-card.is-inactive .team-sketch-link:hover .team-sketch-relationship,
.team-sketch-card.is-inactive .team-sketch-link:focus-visible .team-sketch-name,
.team-sketch-card.is-inactive .team-sketch-link:focus-visible .team-sketch-role,
.team-sketch-card.is-inactive .team-sketch-link:focus-visible .team-sketch-relationship {
  color: inherit !important;
}


/* ==========================================================
   OPTIONAL PAGE INTRO
   ========================================================== */

.page-intro {
  max-width: 760px;

  margin:
    0
    auto
    36px;

  color: rgba(0, 0, 0, 0.72);

  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
  font-weight: 650;
  text-align: center;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 760px) {
  .team-sketch-page-header {
    padding:
      28px
      var(--section-x)
      20px;
  }

  .team-sketch-page-header h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .team-sketch-section {
    padding:
      28px
      var(--section-x)
      56px;
  }

  .team-sketch-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    row-gap: 48px;
  }

  .team-sketch-image-wrap {
    max-width: 250px;
    height: 250px;
  }

  .team-sketch-role {
    min-height: 0;
  }
}
/* PROFILE PAGE */

.profile-page {
  max-width: 960px;
}

.profile-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 76px;
}

.profile-image {
  border: 2px solid var(--earth);
  background: var(--brand-yellow);
  box-shadow: 7px 7px 0 var(--earth);
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  display: block;
  object-fit: cover;
}

.profile-intro h2 {
  margin: 0;
  color: var(--earth);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.profile-intro p:not(.profile-role),
.profile-section p {
  margin: 0;
  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
  font-weight: 520;
}

.profile-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid rgba(0, 0, 0, 0.16);
}

/* ==========================================================
   TEAM PROFILE PAGE TRANSITION
   Prevent destination-page flash before animation
   ========================================================== */

/*
 * Important:
 * path-team-profile and subpage-content are classes on the
 * same element, hence .subpage-content.path-team-profile.
 */

/* Hide destination content from the first paint. */
.subpage-content.path-team-profile {
  opacity: 0;
  visibility: hidden;
}

/* Keep it hidden while the temporary portrait is moving. */
body.team-profile-transitioning
  .subpage-content.path-team-profile {
  opacity: 0;
  visibility: hidden;
}

/* Reveal the destination page after the animation. */
body.team-profile-reveal-done
  .subpage-content.path-team-profile {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================
   TEAM BIO LAYOUT
   ========================================================== */

.subpage-content.path-team-profile {
  padding-top: 28px;
}

.subpage-content.path-team-profile
  .subpage-content-inner,
.subpage-content.path-team-profile
  .team-bio-page {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}


/* ==========================================================
   PROFILE PORTRAIT
   ========================================================== */

.subpage-content.path-team-profile
  .team-bio-hero-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1.03;

  margin:
    0
    auto
    24px;

  opacity: 1;
}

.subpage-content.path-team-profile
  .team-bio-hero-image
  img {
  width: 100%;
  height: 100%;

  display: block;

  margin: 0 !important;

  border: 0 !important;
  box-shadow: none !important;

  background: transparent !important;

  object-fit: contain;
  object-position: center;
}

/* Hide the real portrait while the flying copy is active. */
body.team-profile-transitioning
  .subpage-content.path-team-profile
  .team-bio-hero-image {
  opacity: 0;
}

/* Reveal the real portrait at the end. */
body.team-profile-reveal-done
  .subpage-content.path-team-profile
  .team-bio-hero-image {
  opacity: 1;
}


/* ==========================================================
   BIO TEXT
   ========================================================== */

.subpage-content.path-team-profile
  .team-bio-content {
  max-width: 820px;

  margin-right: auto;
  margin-left: auto;

  opacity: 0;
}

body.team-profile-reveal-done
  .subpage-content.path-team-profile
  .team-bio-content {
  opacity: 1;

  animation:
    teamProfileTextFadeIn
    680ms
    ease
    both;
}

@keyframes teamProfileTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================
   FLYING PORTRAIT
   ========================================================== */

.team-profile-flight-image {
  position: fixed !important;
  z-index: 999999 !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  margin: 0 !important;

  border: 0 !important;
  box-shadow: none !important;

  background: transparent !important;

  object-fit: contain !important;
  object-position: center !important;

  pointer-events: none !important;

  will-change:
    top,
    left,
    width,
    height,
    opacity;
}


/* ==========================================================
   CENTERED NAME + ROLE
   ========================================================== */

.subpage-content.path-team-profile
  .bio-name-role {
  margin-right: auto;
  margin-bottom: 42px;
  margin-left: auto;

  color: rgba(0, 0, 0, 0.62);

  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.35;
  font-weight: 650;
  text-align: center;
}

.subpage-content.path-team-profile
  .bio-name-role
  strong {
  display: inline-block;

  color: var(--earth);

  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 950;
}
/* DESIGN SWITCHER */

.design-switcher {
  position: relative;
  display: none !important;
  align-items: center;
  gap: 8px;
}

.design-switcher summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--paper);
  color: var(--earth);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.design-switcher summary::-webkit-details-marker {
  display: none;
}

.design-switcher-panel {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 210px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--earth);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--earth);
  z-index: 100;
}

.design-switcher:not([open]) .design-switcher-panel {
  display: none;
}

.design-switcher select {
  width: 100%;
  height: 34px;
  border: 2px solid var(--earth);
  background: var(--paper);
  color: var(--earth);
  font-size: 12px;
  font-weight: 800;
}

/* FINAL DESIGN SETTINGS */

/* Hero F permanently */

.hero {
  background-image: url("../../images/icons/hero-photo-6.webp");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--paper);
}

/* Hero black text permanently */

.hero-content,
.hero h1,
.hero p {
  color: var(--earth);
}

.hero p.hero-kicker {
  color: var(--earth);
}

/* Font permanently Rubik */

body,
button,
input,
select,
textarea {
  font-family: "Rubik", Helvetica, Arial, sans-serif;
}

body {
  --site-font: "Rubik", Helvetica, Arial, sans-serif;
}

/* Header lines permanently */

.hero {
  border-bottom: 2px solid var(--earth);
}

/* Sharp cards permanently */

.research-card,
.mega-feature {
  border-radius: 0;
}

/* Default icon set permanently */
/* No CSS needed if the Twig/image src already uses the default files:
   mri.png, engagement.png, collaboration.png
*/

/* RESEARCH PAGE */

.research-page {
  max-width: 1180px;
  margin: 0 auto;
}

.research-intro {
  max-width: 820px;
}

.research-page > h2 {
  margin-top: 0;
}

.research-grid {
  width: max-content;
  margin: 28px 0 64px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 240px);
  gap: 26px;
  align-items: stretch;
}

.research-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 2px solid var(--earth);
  background: var(--paper);
  color: var(--earth);
  box-shadow: 7px 7px 0 var(--earth);
  overflow: hidden;
}

.research-card-yellow,
.research-card-dark {
  background: var(--paper);
  color: var(--earth);
}

.research-label {
  margin: 0 0 22px;
  color: inherit;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.research-card h3 {
  margin: 0 0 20px;
  color: inherit;
  font-size: clamp(21px, 1.35vw, 28px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
  overflow-wrap: normal;
  hyphens: none;
}

.research-card p:not(.research-label) {
  display: none;
}

.research-actions {
  margin-top: 0;
  display: grid;
}

.research-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.research-actions a:hover {
  background: var(--brand-yellow);
  color: var(--earth);
  border-color: var(--earth);
}

/* MOBILE */
.nav-toggle,
.nav-toggle-button,
.submenu-toggle,
.submenu-toggle-label {
  display: none;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 28px;
  }

  .site-brand {
    min-width: 250px;
  }

  .site-nav a {
    padding: 0 10px;
    font-size: 13px;
  }

  .site-nav .mega-feature {
    display: none;
  }

  .support-button {
    padding: 0 18px;
  }

  .header-cta {
    gap: 16px;
  }

  .site-nav {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .design-switcher {
    display: block;
    padding: 12px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
  }

  .design-switcher summary {
    width: 100%;
    justify-content: center;
  }

  .design-switcher-panel {
    position: static;
    margin-top: 10px;
    box-shadow: none;
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Hide mobile submenu controls on desktop */

.mobile-submenu-back {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --section-x: 28px;
  }

  /* HEADER */

  .site-header {
    min-height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    border-bottom: 0;
  }

  .site-brand {
    min-width: 0;
    width: auto;
    height: 72px;
    padding: 0;
    border-right: 0;
    border-bottom: 0;
    justify-content: flex-start;
  }

  .site-brand img {
    width: 48px;
    height: 48px;
  }

  .site-brand span {
    font-size: 16px;
  }

  .site-header-right {
    margin-left: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
  }

  /* MOBILE NAVIGATION */

.nav-toggle,
.submenu-toggle {
  display: none;
}

.nav-toggle-button {
  width: 44px;
  height: 44px;

  display: grid;
  place-content: center;

  gap: 5px;

  padding: 10px;
  margin-left: auto;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: var(--paper);

  cursor: pointer;
}

.nav-toggle-button span {
  width: 20px;
  height: 2px;

  display: block;

  background: var(--earth);

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Optional hamburger-to-close animation */

.nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Full-width menu beneath header */

.site-nav {
  position: fixed;

  top: 72px;
  right: 0;
  left: 0;

  z-index: 90;

  width: 100%;
  max-height: calc(100dvh - 72px);

  display: none;

  margin: 0;
  padding: 0;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  background: var(--paper);

  border: 0;
  border-radius: 0;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);

  box-sizing: border-box;
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav .nav-list {
  width: 100%;

  display: block;

  margin: 0;
  padding: 0;

  list-style: none;

  background: var(--paper);
}

.site-nav .nav-list > li {
  width: 100%;

  display: block;

  margin: 0;
  padding: 0;
}

.desktop-menu-link {
  display: none !important;
}

/* Main mobile menu links */

.site-nav .mobile-main-item > a,
.submenu-toggle-label {
  width: 100%;
  min-height: 54px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0;
  padding: 0 22px;

  color: var(--earth);

  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;

  background: var(--paper);

  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);

  box-sizing: border-box;
}

.submenu-toggle-label {
  cursor: pointer;
}

.submenu-arrow {
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

/* About submenu is hidden initially */

.site-nav .mega-menu {
  display: none;

  position: static;

  width: 100%;

  margin: 0;
  padding: 0;

  background: var(--paper);

  border: 0;
  box-shadow: none;

  opacity: 1;
  visibility: visible;

  transform: none;
  pointer-events: auto;
}

/*
 * Once About is selected:
 * hide all normal menu entries except the About container.
 */

.site-nav
  > .submenu-toggle:checked
  ~ .nav-list
  > .mobile-main-item {
  display: none;
}

.site-nav
  > .submenu-toggle:checked
  ~ .nav-list
  > .nav-item-about
  > .submenu-toggle-label {
  display: none;
}

.site-nav
  > .submenu-toggle:checked
  ~ .nav-list
  > .nav-item-about
  > .mega-menu {
  display: block;
}

/* Back button */

.mobile-submenu-back {
  width: 100%;
  min-height: 54px;

  display: flex;
  align-items: center;

  gap: 10px;

  margin: 0;
  padding: 0 22px;

  color: var(--earth);

  font-size: 14px;
  font-weight: 850;
  line-height: 1;

  background: var(--paper);

  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);

  cursor: pointer;

  box-sizing: border-box;
}

.mobile-submenu-back-arrow {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

/* About submenu layout */

.site-nav .mega-grid {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;

  background: var(--paper);
}

.site-nav .mega-column {
  width: 100%;

  margin: 0;
  padding: 0;
}

.site-nav .mega-column h3 {
  display: none;
}

.site-nav .mega-column > a {
  width: 100%;
  min-height: 54px;

  display: flex;
  align-items: center;

  margin: 0;
  padding: 0 22px;

  color: var(--earth);

  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;

  background: var(--paper);

  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);

  box-sizing: border-box;
}

/* Desktop featured panel remains hidden on mobile */

.site-nav .mega-feature {
  display: none;
}

/* Mobile support entry */

.mobile-support-item {
  display: block;
}

.site-nav .mobile-support-link {
  background: var(--brand-yellow, #ffd92e);
  border-bottom: 0;
}

  .header-cta {
    display: none;
  }

  /* HERO */

  .hero {
    min-height: clamp(440px, 62vh, 560px);
  }

  .hero-content {
    max-width: none;
    margin-left: 0;
    transform: none;
    padding: 58px 28px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .hero p:not(.hero-kicker) {
    font-size: clamp(18px, 5vw, 23px);
  }

  body.hero-f .hero {
    background-position: center 55%;
  }

  /* WHAT WE DO / QUICK LINKS — clean vertical mobile layout */

  .quick-links {
    display: block;
    padding: 56px 28px 64px;
  }

  .quick-links-intro {
    max-width: none;
    margin: 0 0 34px;
  }

  .quick-links-intro h2 {
    margin: 0;
    font-size: clamp(46px, 13vw, 68px);
    line-height: 0.92;
  }

  .what-we-do-visual {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;

    margin: 0 auto 46px !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;

    background-image: none !important;
    overflow: visible !important;
  }

  .what-text,
  .what-illustration,
  .what-hotspot {
    position: relative !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    transform: none !important;
  }

  .what-we-do-visual {
  justify-items: stretch !important;
}

.what-text,
.what-text-research,
.what-text-engagement,
.what-text-life-course {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  display: block !important;
  justify-self: stretch !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;

  transform: none !important;

  color: rgba(0, 0, 0, 0.78) !important;
  font-size: 18px !important;
  line-height: 1.38 !important;
  font-weight: 560 !important;
  text-align: left !important;
}

  .what-text-research {
    order: 1 !important;
  }

  .what-illustration-research {
    order: 2 !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 12px auto 0 !important;
  }

  .what-hotspot-research {
    order: 3 !important;
  }

  .what-text-engagement {
    order: 4 !important;
    margin-top: 26px !important;
  }

  .what-illustration-engagement {
    order: 5 !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 12px auto 0 !important;
  }

  .what-hotspot-engagement {
    order: 6 !important;
  }

  .what-text-life-course {
    order: 7 !important;
    margin-top: 26px !important;
  }

  /* What we do buttons — normal visible mobile buttons */

.what-hotspot {
  height: 54px !important;
  min-height: 54px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: fit-content !important;
  max-width: 100% !important;

  margin: 2px auto 0 !important;

  border-radius: 999px !important;

  --button-size: 54px !important;
  --button-expanded-w: auto !important;
}
  .what-hotspot::before {
    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 54px !important;

    opacity: 1 !important;
    transform: none !important;

    border-radius: 999px !important;
    background: var(--brand-yellow) !important;
  }

  .what-hotspot strong {
    left: 0 !important;
    top: 0 !important;

    width: 54px !important;
    height: 54px !important;

    opacity: 1 !important;
    transform: none !important;
  }

  .what-hotspot span {
    position: relative !important;
    left: auto !important;
    top: auto !important;

    height: 54px !important;

    padding: 0 22px 0 54px !important;

    opacity: 1 !important;
    transform: none !important;

    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
  }

  .what-hotspot:hover::before,
  .what-hotspot:focus-visible::before,
  .what-hotspot:hover strong,
  .what-hotspot:focus-visible strong,
  .what-hotspot:hover span,
  .what-hotspot:focus-visible span {
    transform: none !important;
    opacity: 1 !important;
  }

  /* old quick-card fallback */

  .quick-card {
    min-height: 0;
    grid-template-columns: 1fr 38px;
    gap: 18px;
    padding: 26px 0;
  }

  .quick-card h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .quick-card p {
    font-size: 16px;
  }

  .quick-card-arrow {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  /* NEWS + EVENTS — full-width stacked mobile layout */

  .news-events-split {
    width: 100% !important;
    background: var(--paper);
    border-top: 2px solid var(--earth);
  }

  .news-events-split-inner {
    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;

    margin: 0 !important;
    background: var(--paper);
  }

  .news-panel,
  .events-panel {
    width: 100% !important;
    max-width: none !important;

    padding: 54px 28px 66px !important;
    margin: 0 !important;
  }

  .news-panel {
    background: var(--greyvio);
    border-right: 0 !important;
    border-bottom: 2px solid var(--earth);
  }

  .events-panel {
    background: var(--greyvio);
    border-left: 0 !important;
  }

  .section-heading-row {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading-row h2 {
    margin: 0 0 16px;
    font-size: clamp(44px, 13vw, 68px);
  }

  .section-heading-row a {
    font-size: 15px;
  }

  /* homepage news mobile — card full width, less tall */

  .news-carousel {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }

  .news-carousel .block,
  .news-carousel .views-element-container,
  .news-carousel .view,
  .news-carousel .view-content {
    width: 100% !important;
    max-width: none !important;
  }

  .news-carousel .view-content {
    display: grid !important;
    gap: 0 !important;

    max-height: none !important;
    overflow: visible !important;
  }

  .news-carousel .views-row,
  .news-carousel .views-row:nth-child(odd),
  .news-carousel .views-row:nth-child(even) {
    width: 100% !important;
    max-width: none !important;

    align-self: stretch !important;

    display: grid !important;
    grid-template-columns: 1fr !important;

    min-height: 0 !important;

    border: 2px solid var(--earth) !important;
    border-radius: 0 !important;
    margin: 0 0 22px !important;

    background: var(--paper) !important;
  }

  .news-carousel .views-row:last-child {
    margin-bottom: 0 !important;
  }

  .news-carousel .views-field-field-news-image {
    grid-column: 1 !important;
    grid-row: auto !important;

    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;

    border-bottom: 2px solid var(--earth);
  }

  .news-carousel .views-field-field-news-image img {
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    object-fit: cover !important;
  }

  .news-carousel .views-field-title,
  .news-carousel .views-field-field-new-teaser,
  .news-carousel .views-field-field-news-teaser,
  .news-carousel .views-field-body,
  .news-carousel .views-field-field-news-text {
    grid-column: 1 !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .news-carousel .views-field-title {
    padding-top: 22px !important;
  }

  .news-carousel .views-field-title a {
    font-size: clamp(30px, 8.2vw, 40px) !important;
    line-height: 1.02 !important;
  }

  .news-carousel .views-field-field-new-teaser,
  .news-carousel .views-field-field-news-teaser,
  .news-carousel .views-field-body,
  .news-carousel .views-field-field-news-text {
    padding-top: 12px !important;
    padding-bottom: 24px !important;

    font-size: 16px !important;
    line-height: 1.42 !important;
  }

  .news-carousel .views-row > div:not(.views-field-field-news-image):not(.views-field-field-news-category):not(.views-field-field-news-date):not(.views-field-created):not(.views-field-title) {
    grid-column: 1 !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .news-empty {
    width: 100% !important;
    min-height: 240px !important;
    padding: 30px !important;
  }

  .news-empty h3 {
    max-width: 100% !important;
    font-size: clamp(30px, 8.2vw, 42px) !important;
  }

  .news-empty p {
    max-width: 100% !important;
    font-size: 16px !important;
  }

  .news-carousel-footer {
    height: auto !important;
    justify-content: flex-start !important;
    padding: 24px 0 0 !important;
  }

  .news-carousel-button {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  /* homepage events mobile */

  .events-panel .view-content {
    display: grid;
    gap: 0;
  }

  .events-panel .views-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 22px;

    padding: 26px 0;

    border-top: 1.5px solid rgba(0, 0, 0, 0.62);
  }

  .events-panel .views-row:last-child {
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.62);
  }

  .events-panel .views-field-field-event-date {
    grid-column: 1;
    grid-row: 1;

    width: 78px;
    height: 54px;
    padding-top: 12px;

    font-size: 30px;
  }

  .events-panel .views-field-field-event-date-1 {
    grid-column: 1;
    grid-row: 2;

    width: 78px;
    height: 30px;
    padding-bottom: 10px;

    font-size: 14px;
  }

  .events-panel .views-field-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .events-panel .views-field-title a {
    font-size: clamp(28px, 8.4vw, 42px);
    line-height: 1.02;
  }

  .events-panel .views-field-field-event-date-2 {
    grid-column: 2;
    grid-row: 2;

    margin-top: 8px;

    font-size: 17px;
    line-height: 1.35;
  }

  /* OTHER MOBILE */

  .team-grid {
    grid-template-columns: 1fr;
  }

  .profile-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-image {
    max-width: 260px;
  }

  .research-grid {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .research-card {
    min-height: 360px;
  }

  body.header-clean .site-header {
    border-bottom: 0;
  }

  body.header-clean .site-nav {
    border: 0;
    box-shadow: none;
  }

  body.header-clean .site-nav a,
  body.header-clean .submenu-toggle-label {
    border-bottom: 0;
  }

  body.header-clean .site-nav .mega-menu {
    border-top: 0;
  }

  .design-switcher {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 2px solid var(--earth);
  }

  .design-switcher select {
    width: 100%;
    max-width: none;
  }
}
/* RESEARCH VISUAL PAGE */

.research-visual-page {
  position: relative;
  padding: 0px var(--section-x) 86px;
  background: var(--paper);
  color: var(--earth);
}

/* 
  Fixed-ratio visual stage:
  background + items scale together.
  Adjust 1500 / 850 if your research-bg.svg has another ratio.
*/
.research-visual-stage {
  position: relative;
  margin: -160px auto 0;
  width: min(100%, 1500px);
  aspect-ratio: 1500 / 850;


  background-image: url("../../images/icons/research-bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;

  /* individual item positions relative to the full stage */
  --puberty-x: 13%;
  --puberty-y: 30%;

  --contraception-x: 37%;
  --contraception-y: 40%;

  --pregnancy-x: 66%;
  --pregnancy-y: 32%;

  --menopause-x: 92%;
  --menopause-y: 30%;

  /* full block widths relative to the full stage */
  --puberty-w: 24%;
  --contraception-w: 22%;
  --pregnancy-w: 24%;
  --menopause-w: 26%;

  /* image widths relative to their own block */
  --puberty-img-w: 95%;
  --contraception-img-w: 110%;
  --pregnancy-img-w: 50%;
  --menopause-img-w: 100%;

  /* image horizontal offsets */
  --puberty-img-x: -16%;
  --contraception-img-x: -6%;
  --pregnancy-img-x: -16%;
  --menopause-img-x: -16%;

  /* title/copy horizontal offsets */
  --puberty-copy-x: -8%;
  --contraception-copy-x: 0%;
  --pregnancy-copy-x: -8%;
  --menopause-copy-x: -8%;

  /* gap between image and title */
  --puberty-gap: 26px;
  --contraception-gap: 26px;
  --pregnancy-gap: 26px;
  --menopause-gap: 26px;
}

/* each full item: image + title + text + button */

.research-visual-item {
  position: absolute;
  z-index: 2;

  top: var(--item-y);
  left: var(--item-x);
  width: var(--item-w);

  transform: translateX(-50%);
  text-align: center;
  color: var(--earth);
}

/* individual item settings */

.research-visual-puberty {
  --item-x: var(--puberty-x);
  --item-y: var(--puberty-y);
  --item-w: var(--puberty-w);
  --item-img-w: var(--puberty-img-w);
  --item-img-x: var(--puberty-img-x);
  --item-copy-x: var(--puberty-copy-x);
  --item-gap: var(--puberty-gap);
}

.research-visual-contraception {
  --item-x: var(--contraception-x);
  --item-y: var(--contraception-y);
  --item-w: var(--contraception-w);
  --item-img-w: var(--contraception-img-w);
  --item-img-x: var(--contraception-img-x);
  --item-copy-x: var(--contraception-copy-x);
  --item-gap: var(--contraception-gap);
}

.research-visual-pregnancy {
  --item-x: var(--pregnancy-x);
  --item-y: var(--pregnancy-y);
  --item-w: var(--pregnancy-w);
  --item-img-w: var(--pregnancy-img-w);
  --item-img-x: var(--pregnancy-img-x);
  --item-copy-x: var(--pregnancy-copy-x);
  --item-gap: var(--pregnancy-gap);
}

.research-visual-menopause {
  --item-x: var(--menopause-x);
  --item-y: var(--menopause-y);
  --item-w: var(--menopause-w);
  --item-img-w: var(--menopause-img-w);
  --item-img-x: var(--menopause-img-x);
  --item-copy-x: var(--menopause-copy-x);
  --item-gap: var(--menopause-gap);
}

/* real image from Twig */

.research-visual-image {
  display: block;
  width: var(--item-img-w);
  height: auto;
  margin: 0 auto;
  transform: translateX(var(--item-img-x));
  pointer-events: none;
}

/* title/text/button below image */

.research-visual-copy {
  margin-top: var(--item-gap);
  transform: translateX(var(--item-copy-x));
}

/* text */

.research-visual-copy h2 {
  margin: 0 0 12px;

  color: var(--earth);
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.research-visual-copy p {
  margin: 0;

  color: rgba(0, 0, 0, 0.78);
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.25;
  font-weight: 560;
}

/* coming soon expanding button */

.research-soon-button {
  position: relative;

  width: 46px;
  height: 46px;
  margin: 28px auto 0;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  border-radius: 999px;
  background: transparent;
  color: var(--earth);

  overflow: hidden;
  cursor: default;
  user-select: none;

  transition:
    width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

.research-soon-button strong {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--earth);

  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.research-soon-button span {
  padding: 0 18px 0 6px;

  color: var(--earth);
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;

  opacity: 0;
  transform: translateX(-8px);

  transition:
    opacity 160ms ease 120ms,
    transform 220ms ease 120ms;
}

.research-visual-item:hover .research-soon-button {
  width: 166px;
  background: var(--brand-yellow);
}

.research-visual-item:hover .research-soon-button span {
  opacity: 1;
  transform: translateX(0);
}

/* text below visual */

.research-page-text {
  max-width: 900px;
  margin: 64px auto 0;
  text-align: center;
}

.research-page-text p {
  margin: 0 0 22px;

  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.48;
  font-weight: 520;
}

.research-page-text p:last-child {
  margin-bottom: 0;
}

/* TABLET */

@media (max-width: 1180px) {
  .research-visual-stage {
    width: min(100%, 1200px);

    /* Keep your current layout proportions instead of jumping back up */
    --puberty-y: 30%;
    --contraception-y: 40%;
    --pregnancy-y: 32%;
    --menopause-y: 30%;

    --puberty-w: 23%;
    --contraception-w: 22%;
    --pregnancy-w: 23%;
    --menopause-w: 25%;

    /* optional tablet copy offsets */
    --puberty-copy-x: -8%;
    --contraception-copy-x: 0%;
    --pregnancy-copy-x: -8%;
    --menopause-copy-x: -8%;
  }

  .research-visual-copy h2 {
    font-size: clamp(21px, 2vw, 30px);
  }
}

/* RESEARCH PAGE HEADLINE */

.research-projects-heading {
  max-width: 980px;
  margin: 0 auto 0;
  text-align: center;
}

.research-projects-heading h1 {
   margin: 60px auto 0;

  color: var(--earth);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.research-projects-heading p {
  margin: 8px auto 0;
  max-width: 620px;

  color: rgba(0, 0, 0, 0.7);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.35;
  font-weight: 520;
}

/* MOBILE */
@media (max-width: 980px) {
  .research-visual-page {
    padding: 38px 28px 70px;
  }

  .research-visual-stage {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;

    background-image: none;

    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .research-visual-item {
    position: relative;
    top: auto;
    left: auto;

    width: min(100%, 340px);

    margin: 0 auto;

    transform: none;
  }

  /* Individual mobile positions */

.research-visual-puberty {
  --item-img-x: -8px;
}

.research-visual-contraception {
  --item-img-x: 0px;
}

.research-visual-pregnancy {
  --item-img-x: 0px;
}

.research-visual-menopause {
  --item-img-x: -10px;
}

 .research-visual-image {
  width: 100%;
  max-height: clamp(170px, 48vw, 260px);

  object-fit: contain;

  transform: translateX(var(--item-img-x, 0));
}

  .research-visual-copy {
    margin-top: 20px;
    transform: none;
  }

  .research-visual-copy h2 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .research-visual-copy p {
    font-size: 17px;
  }

  .research-soon-button {
    width: 166px;
    background: var(--brand-yellow);
  }

  .research-soon-button span {
    opacity: 1;
    transform: none;
  }

  .research-page-text {
    max-width: 900px;
    margin: 46px auto 0;

    text-align: center;
  }

  .research-page-text p {
    font-size: 17px;
  }
}

/* NEWS PAGE ONLY — /news */
/* 3-column overview grid, 9 items per page */

.path-news .subpage-content {
  background: var(--paper);
}

.path-news .subpage-content-inner {
  max-width: 1280px;
  padding: clamp(44px, 6vw, 82px) var(--section-x);
}

/* grid */

.path-news .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

/* card */

.path-news .views-row {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;

  border: 2px solid var(--earth);
  border-radius: 24px;
  background: var(--paper);

  transition:
    transform 180ms ease,
    background 180ms ease;
}

.path-news .views-row:hover {
  transform: translateY(-4px);
  background: rgba(255, 217, 46, 0.14);
}

/* image */

.path-news .views-field-field-news-image {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-bottom: 2px solid var(--earth);
}

.path-news .views-field-field-news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 280ms ease;
}

.path-news .views-row:hover .views-field-field-news-image img {
  transform: scale(1.035);
}

/* category badge */

.path-news .views-field-field-news-category {
  padding: 24px 24px 0;
}

.path-news .views-field-field-news-category .field-content {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--earth);

  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* date */

.path-news .views-field-field-news-date,
.path-news .views-field-created {
  padding: 14px 24px 0;
  color: rgba(0, 0, 0, 0.58);

  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* title */

.path-news .views-field-title {
  padding: 16px 24px 0;
}

.path-news .views-field-title a {
  color: var(--earth);
  text-decoration: none;

  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.path-news .views-field-title a:hover {
  color: var(--earth);
}

/* teaser */

.path-news .views-field-field-new-teaser,
.path-news .views-field-field-news-teaser,
.path-news .views-field-body,
.path-news .views-field-field-news-text {
  padding: 16px 24px 30px;
  color: rgba(0, 0, 0, 0.68);

  font-size: 15px;
  line-height: 1.45;
  font-weight: 540;
}

.path-news .views-field-field-new-teaser p,
.path-news .views-field-field-news-teaser p,
.path-news .views-field-body p,
.path-news .views-field-field-news-text p {
  margin: 0;
}

/* pager */

.path-news .pager {
  margin: 52px 0 0;
}

.path-news .pager__items {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.path-news .pager__item {
  list-style: none;
}

.path-news .pager__item a,
.path-news .pager__item.is-active a {
  min-width: 42px;
  height: 42px;

  display: inline-grid;
  place-items: center;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: var(--paper);
  color: var(--earth);
  text-decoration: none;

  font-weight: 900;
}

.path-news .pager__item a:hover,
.path-news .pager__item.is-active a {
  background: var(--brand-yellow);
}

/* responsive */

@media (max-width: 980px) {
  .path-news .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .path-news .subpage-content-inner {
    padding: 36px 22px;
  }

  .path-news .view-content {
    grid-template-columns: 1fr;
  }

  .path-news .views-field-field-news-image {
    height: 220px;
  }
}


/* EVENTS PAGE ONLY — /events */
/* Card grid for upcoming + past events */

.path-events .subpage-content {
  background: var(--paper);
}

.path-events .subpage-content-inner {
  max-width: 1320px;
  padding: clamp(44px, 6vw, 82px) var(--section-x);
}

/* section headings: Upcoming events / Past events */

.path-events .view-header h2,
.path-events .attachment-before h2,
.path-events .attachment-after h2 {
  margin: 0 0 34px;
  color: var(--earth);
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.path-events .attachment-after {
  margin-top: clamp(74px, 9vw, 124px);
}

/* event grid */

.path-events .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 54px);
  row-gap: clamp(46px, 5vw, 76px);
}

/* event card */

.path-events .views-row {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* image */

.path-events .views-field-field-image1 {
  width: 100%;
  aspect-ratio: 1.34 / 1;
  overflow: hidden;
  margin: 0 0 24px;
  background: rgba(0, 0, 0, 0.08);
}

.path-events .views-field-field-image1 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 300ms ease;
}

/* image zoom on card hover */

.path-events .views-row:hover .views-field-field-image1 img {
  transform: scale(1.045);
}

/* fallback if an event has no image */

.path-events .views-row:not(:has(.views-field-field-image1 img))::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  margin: 0 0 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 217, 46, 0.95) 0%,
      rgba(255, 217, 46, 0.45) 48%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

/* title */

.path-events .views-field-title {
  margin: 0;
}

.path-events .views-field-title a {
  color: var(--earth);
  text-decoration: none;
  font-size: clamp(27px, 2.5vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.path-events .views-field-title a:hover {
  color: var(--earth);
}

/* full event date */

.path-events .views-field-field-event-date,
.path-events .views-field-field-event-date-2 {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.35;
  font-weight: 820;
  letter-spacing: -0.015em;
}

/* hide homepage-style date pieces if they accidentally remain on /events */

.path-events .views-field-field-event-date-1 {
  display: none;
}

/* short description */

.path-events .views-field-field-event-short-description,
.path-events .views-field-body {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.66);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 540;
}

.path-events .views-field-field-event-short-description p,
.path-events .views-field-body p {
  margin: 0;
}

/* location */

.path-events .views-field-field-event-location {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* pager */

.path-events .pager {
  margin: 58px 0 0;
}

.path-events .pager__items {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.path-events .pager__item {
  list-style: none;
}

.path-events .pager__item a,
.path-events .pager__item.is-active a {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--paper);
  color: var(--earth);
  text-decoration: none;
  font-weight: 900;
}

.path-events .pager__item a:hover,
.path-events .pager__item.is-active a {
  background: var(--brand-yellow);
}

/* responsive */

@media (max-width: 1100px) {
  .path-events .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .path-events .subpage-content-inner {
    padding: 38px 22px;
  }

  .path-events .view-content {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }

  .path-events .views-field-title a {
    font-size: clamp(30px, 11vw, 48px);
  }

  .path-events .views-field-field-image1 {
    aspect-ratio: 1.42 / 1;
  }
}

/* clickable event image/title feel */

.path-events .views-field-field-image1 a,
.path-events .views-field-title a {
  cursor: pointer;
}

.path-events .views-field-field-image1 a {
  display: block;
  width: 100%;
  height: 100%;
}

.path-events .views-field-field-image1 a img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.path-events .views-row:hover .views-field-title a {
  color: var(--brand-yellow);
}


/* TEMP — design switcher top-right */

.design-switcher {
  display: block !important;
  position: fixed !important;
  right: 24px !important;
  top: 110px !important;
  z-index: 99999 !important;

  width: 220px;

  background: var(--paper) !important;
  border: 2px solid var(--earth) !important;
  padding: 12px !important;
  color: var(--earth) !important;
  box-shadow: 6px 6px 0 var(--earth);
}

.design-switcher summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.design-switcher summary::-webkit-details-marker {
  display: none;
}

.design-switcher summary::after {
  content: "↓";
  float: right;
  font-weight: 950;
}

.design-switcher[open] summary::after {
  content: "↑";
}

.design-switcher-panel {
  display: grid !important;
  gap: 8px;
  margin-top: 12px;
}

.design-switcher:not([open]) .design-switcher-panel {
  display: none !important;
}

.design-switcher select {
  display: block !important;
  width: 100%;
}

/* HII SLIDE PAGE — controlled full-screen slideshow */

.hii-slide-page {
  position: relative;

  height: calc(100vh - var(--header-h, 0px));
  height: calc(100svh - var(--header-h, 0px));

  overflow: hidden;

  background: var(--paper);
  color: var(--earth);
}

/* each panel behaves like a full-screen slide */

.hii-slide-panel {
  position: absolute;
  inset: 0;

  min-height: 100%;
  width: 100%;

  display: grid;
  grid-template-columns: minmax(420px, 620px) minmax(420px, 620px);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 3.2vw, 64px);

  padding: clamp(4px, 1.2vw, 22px) var(--section-x) clamp(54px, 7vw, 86px);

  background: var(--paper);

  transform: translateY(100%);
  opacity: 0;

  pointer-events: none;

  transition:
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms ease;
}

.hii-slide-panel.is-before {
  transform: translateY(-100%);
  opacity: 0;
}

.hii-slide-panel.is-after {
  transform: translateY(100%);
  opacity: 0;
}

.hii-slide-panel.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* subtle panel alternation 

.hii-slide-panel-2,
.hii-slide-panel-4 {
  background: #fff8e6;
}*/

/* alternating layout:
   1 = text left, image right
   2 = image left, text right
   3 = text left, image right
   4 = image left, text right
*/

.hii-slide-panel-1 .hii-slide-content,
.hii-slide-panel-3 .hii-slide-content {
  order: 1;
}

.hii-slide-panel-1 .hii-slide-visual,
.hii-slide-panel-3 .hii-slide-visual {
  order: 2;
}

.hii-slide-panel-2 .hii-slide-visual,
.hii-slide-panel-4 .hii-slide-visual {
  order: 1;
}

.hii-slide-panel-2 .hii-slide-content,
.hii-slide-panel-4 .hii-slide-content {
  order: 2;
}

/* visual */

.hii-slide-visual {
  position: relative;

  min-width: 0;
  display: grid;
  place-items: center;

  opacity: 0;
  transform: translateY(42px) scale(0.96);

  transition:
    opacity 620ms ease 260ms,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.hii-slide-visual img {
  width: min(100%, 740px);
  max-height: 70vh;
  max-height: 70svh;

  display: block;
  object-fit: contain;
}

/* content fade-in */

.hii-slide-content {
  max-width: 720px;
  min-width: 0;

  opacity: 0;
  transform: translateY(34px);

  transition:
    opacity 580ms ease 380ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 380ms;
}

.hii-slide-panel.is-active .hii-slide-visual,
.hii-slide-panel.is-active .hii-slide-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* kicker — hidden for now */

.hii-slide-kicker {
  display: none;
}

/* headings — reduced size */

.hii-slide-content h1,
.hii-slide-content h2 {
  margin: 0 0 26px;

  color: var(--earth);
  font-size: clamp(34px, 4.2vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 950;
}

/* body text */

.hii-slide-content p:not(.hii-slide-kicker) {
  margin: 0 0 18px;

  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.42;
  font-weight: 560;
}

.hii-slide-content p:last-child {
  margin-bottom: 0;
}

/* progress dots */

.hii-slide-progress {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 30;

  display: grid;
  gap: 12px;

  transform: translateY(-50%);
}

.hii-slide-dot {
  width: 13px;
  height: 13px;

  padding: 0;

  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--paper);

  cursor: pointer;
}

.hii-slide-dot.is-active {
  background: var(--brand-yellow);
}

/* scroll cue */

.hii-slide-cue {
  position: fixed;
  right: var(--section-x);
  bottom: 28px;
  z-index: 30;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(0, 0, 0, 0.56);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition: opacity 180ms ease;
}

.hii-slide-cue::after {
  content: "↓";

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--earth);

  font-size: 18px;
  letter-spacing: 0;
}

.hii-slide-cue {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.hii-slide-cue:hover {
  color: var(--earth);
}

.hii-slide-cue:hover::after {
  transform: translateY(3px);
}

.hii-slide-cue:focus-visible {
  outline: 2px solid var(--earth);
  outline-offset: 6px;
  border-radius: 999px;
}

.hii-slide-cue::after {
  transition: transform 180ms ease;
}

.hii-slide-page.is-final .hii-slide-cue {
  opacity: 0;
  pointer-events: none;
}


/* reduced motion */

@media (prefers-reduced-motion: reduce) {
  .hii-slide-panel,
  .hii-slide-visual,
  .hii-slide-content,
  .hii-slide-cue {
    transition: none;
  }
}

/* tablet */

@media (max-width: 1100px) {
  .hii-slide-panel {
    grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
    gap: 42px;
  }

  .hii-slide-content h1,
  .hii-slide-content h2 {
    font-size: clamp(34px, 5vw, 62px);
  }

  .hii-slide-content p:not(.hii-slide-kicker) {
    font-size: 16px;
  }

  .hii-slide-visual img {
    max-height: 58vh;
    max-height: 58svh;
  }
}

/* mobile */

/* mobile */

@media (max-width: 840px) {
  .hii-slide-page {
    height: calc(100vh - var(--header-h, 0px));
    height: calc(100svh - var(--header-h, 0px));

    overflow: hidden;
  }

  .hii-slide-panel {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 24px;

    padding: 84px 24px 150px;

    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;

    overscroll-behavior: contain;
  }

  /* mobile: always image first, text second */

  .hii-slide-panel .hii-slide-visual {
    order: 1;
  }

  .hii-slide-panel .hii-slide-content {
    order: 2;
  }

  .hii-slide-visual img {
    width: min(100%, 420px);
    max-height: 32vh;
    max-height: 32svh;
  }

  .hii-slide-content {
    max-width: 100%;
  }

  .hii-slide-content h1,
  .hii-slide-content h2 {
    font-size: clamp(32px, 10vw, 54px);
    line-height: 0.94;
  }

  .hii-slide-content p:not(.hii-slide-kicker) {
    font-size: 15px;
    line-height: 1.38;
  }

  .hii-slide-progress {
    right: 14px;
  }

  .hii-slide-dot {
    width: 11px;
    height: 11px;
  }

  .hii-slide-cue {
    right: 24px;
    bottom: 20px;
  }
}
/* final slide actions */

.hii-slide-final-line {
  margin-top: 26px !important;
  font-weight: 720 !important;
  color: var(--earth) !important;
}

.hii-slide-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;

  margin-top: 34px;
}

.hii-slide-primary-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 28px;

  border: 2px solid var(--earth);
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--earth);

  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;

  box-shadow: 5px 5px 0 var(--earth);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hii-slide-primary-button:hover {
  color: var(--earth);
  background: var(--brand-yellow);

  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--earth);
}

.hii-slide-secondary-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hii-slide-secondary-links a {
  color: var(--earth);
  text-decoration: none;

  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hii-slide-secondary-links a span {
  color: var(--brand-yellow);
  font-weight: 950;
}

.hii-slide-secondary-links a:hover {
  color: var(--earth);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* mobile final slide actions */

@media (max-width: 840px) {
  .hii-slide-actions {
    display: grid;
    gap: 18px;
    margin-top: 28px;
  }

  .hii-slide-primary-button {
    width: fit-content;
    min-height: 48px;
    padding: 0 24px;
  }

  .hii-slide-secondary-links {
    display: grid;
    gap: 14px;
  }

  .hii-slide-secondary-links a {
    font-size: 15px;
  }
}
/* subtle slide counter — bottom left */

.hii-slide-counter {
  position: fixed;
  left: var(--section-x);
  bottom: 28px;
  z-index: 30;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: rgba(0, 0, 0, 0.46);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.hii-slide-current {
  color: rgba(0, 0, 0, 0.72);
}

.hii-slide-total {
  color: rgba(0, 0, 0, 0.38);
}

.hii-slide-divider {
  position: relative;

  width: 74px;
  height: 2px;

  display: block;

  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.hii-slide-divider {
  width: 74px;
  height: 2px;

  display: block;

  --hii-divider-progress: 25%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.58) var(--hii-divider-progress),
      rgba(0, 0, 0, 0.18) var(--hii-divider-progress),
      rgba(0, 0, 0, 0.18) 100%
    );

  transition: background 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 840px) {
  .hii-slide-counter {
    left: 24px;
    bottom: 22px;
    font-size: 11px;
  }

  .hii-slide-divider {
    width: 54px;
  }
}

/* FOOTER */

.site-footer {
  border-top: 2px solid var(--earth);
  background: var(--paper);
  color: var(--earth);
}

.site-footer-inner {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  padding: 0 var(--section-x);
}

.site-footer-copy {
  margin: 0;

  color: rgba(0, 0, 0, 0.68);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 650;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: rgba(0, 0, 0, 0.68);
  text-decoration: none;

  font-size: 14px;
  line-height: 1;
  font-weight: 750;
}

.site-footer-links a:hover {
  color: var(--earth);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 700px) {
  .site-footer-inner {
    min-height: auto;

    display: grid;
    gap: 18px;

    padding: 24px var(--section-x);
  }

  .site-footer-links {
    gap: 16px;
  }
}
/* CONTENT LINKS — keep underline, remove blue */

.subpage-content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.subpage-content a:hover {
  color: inherit;
  text-decoration-thickness: 2px;
}
/* NEWS EMPTY STATE */

.news-empty {
  min-height: 320px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 42px;

  border: 2px solid var(--earth);
  background: var(--paper);
  color: var(--earth);
}

.news-empty h3 {
  max-width: 620px;
  margin: 0 0 18px;

  color: var(--earth);
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.news-empty p {
  max-width: 520px;
  margin: 0;

  color: rgba(0, 0, 0, 0.68);
  font-size: 18px;
  line-height: 1.38;
  font-weight: 600;
}



/* PUBLIC ENGAGEMENT — coming soon box */

/* PUBLIC ENGAGEMENT — coming soon box, same size as News empty box */

/* PUBLIC ENGAGEMENT — coming soon box, same size as News empty box */

.path-public-engagement .subpage-content-inner {
  max-width: 1280px;
  padding: clamp(44px, 6vw, 82px) var(--section-x);
}

.public-engagement-empty {
  min-height: 420px;
  width: 100%;
}



/* RESEARCH PAGE — subtitle always visible, text replaces yellow button on hover */

.research-reveal {
  width: min(100%, 310px);
  margin: 14px auto 0;
  text-align: center;
}

.research-reveal h3 {
  margin: 0;

  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 850;
}

/* shared slot below subtitle */

.research-reveal-slot {
  position: relative;
  min-height: 112px;
  margin-top: 14px;
}

/* yellow button sits directly under subtitle */

.research-reveal-slot .research-soon-button {
  position: absolute;
  left: 50%;
  top: 0;

  margin: 0;
  transform: translateX(-50%);

  opacity: 1;
  pointer-events: auto;

  transition:
    opacity 180ms ease,
    transform 220ms ease,
    width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

/* longer text occupies the same slot */

.research-hover-text {
  position: absolute;
  left: 50%;
  top: 0;

  width: 100%;
  transform: translateX(-50%) translateY(8px);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.research-hover-text p {
  margin: 0;

  color: rgba(0, 0, 0, 0.68);
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.28;
  font-weight: 540;
}

.research-hover-text .research-hover-soon {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.82);
  font-weight: 850;
}

/* hover: button disappears, text appears in same place */

.research-visual-item:hover .research-reveal-slot .research-soon-button,
.research-visual-item:focus-within .research-reveal-slot .research-soon-button {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.research-visual-item:hover .research-hover-text,
.research-visual-item:focus-within .research-hover-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* HEADER LANGUAGE MENU */

.language-menu {
  position: relative;
  display: block;
}

.language-toggle {
  display: none;
}

/* globe icon trigger */

.language-toggle-label {
  width: 21px;
  height: 21px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--earth);
  cursor: pointer;
}

.language-toggle-label svg {
  width: 18px;
  height: 18px;
  display: block;
}

.language-toggle-label circle,
.language-toggle-label path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-toggle-label:hover {
  color: var(--clay);
}

/* dropdown */

.language-menu-panel {
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 9999;

  min-width: 62px;
  padding: 8px;

  border: 2px solid var(--earth);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--earth);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;

  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.language-toggle:checked ~ .language-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.language-menu-panel a {
  min-height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 12px;

  color: var(--earth);
  text-decoration: none;

  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.language-menu-panel a:hover {
  background: var(--brand-yellow);
  color: var(--earth);
}

/* PUBLIC ENGAGEMENT — exact News empty-box size + typography */

.subpage-content.path-public-engagement .public-engagement-empty {
  min-height: 320px !important;
  padding: 42px !important;

  border: 2px solid var(--earth) !important;
  background: var(--paper) !important;
  color: var(--earth) !important;
}

.subpage-content.path-public-engagement .public-engagement-empty h2 {
  max-width: 620px !important;
  margin: 0 0 18px !important;

  color: var(--earth) !important;
  font-size: clamp(34px, 3.4vw, 58px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.075em !important;
  font-weight: 950 !important;
}

.subpage-content.path-public-engagement .public-engagement-empty p {
  max-width: 520px !important;
  margin: 0 !important;

  color: rgba(0, 0, 0, 0.68) !important;
  font-size: 18px !important;
  line-height: 1.38 !important;
  font-weight: 600 !important;
}

/* WHAT WE DO — Research hover field extends upward, button stays in exact original position */

.what-hotspot-research {
  height: 34% !important;
  transform: translateY(-100%) !important;
}

/* move the visible button back to the original visual position */

.what-hotspot-research::before,
.what-hotspot-research strong,
.what-hotspot-research span {
  top: 100% !important;
}

/* keep original circle/button transforms */

.what-hotspot-research::before {
  transform: scale(0.9) !important;
}

.what-hotspot-research strong {
  transform: scale(0.9) !important;
}

.what-hotspot-research span {
  transform: translateX(-8px) !important;
}

/* hover state */

.what-hotspot-research:hover::before,
.what-hotspot-research:focus-visible::before {
  transform: scale(1) !important;
}

.what-hotspot-research:hover strong,
.what-hotspot-research:focus-visible strong {
  transform: scale(1) !important;
}

.what-hotspot-research:hover span,
.what-hotspot-research:focus-visible span {
  transform: translateX(0) !important;
}
/* Desktop-only manual line breaks */

@media (max-width: 980px) {
  .desktop-break {
    display: none;
  }
}
/* Mobile-only Support us link in hamburger */

.mobile-support-item {
  display: none;
}

@media (max-width: 980px) {
  .mobile-support-item {
    display: block;
  }

  .mobile-support-link {
    min-height: 54px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 18px !important;

    background: var(--brand-yellow) !important;
    color: var(--earth) !important;

    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    text-decoration: none !important;

    border-bottom: 0 !important;
  }

  .mobile-support-link:hover {
    background: var(--brand-yellow) !important;
    color: var(--earth) !important;
  }
}
/* Support us link only inside mobile hamburger */

.site-nav .mobile-support-item {
  display: none !important;
}

@media (max-width: 980px) {
  .site-nav .mobile-support-item {
    display: block !important;
  }
}
/* PUBLIC ENGAGEMENT — nicer mobile empty box */

@media (max-width: 840px) {
  .subpage-content.path-public-engagement .public-engagement-empty {
    min-height: 0 !important;
    padding: 28px 24px !important;

    display: block !important;
  }

  .subpage-content.path-public-engagement .public-engagement-empty h2 {
    max-width: none !important;
    margin: 0 0 16px !important;

    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }

  .subpage-content.path-public-engagement .public-engagement-empty p {
    max-width: none !important;
    margin: 0 !important;

    font-size: 16px !important;
    line-height: 1.42 !important;
    font-weight: 560 !important;
  }
}

/* HII slideshow — desktop must not page-scroll */

/* HII slideshow: prevent normal page scrolling */

.hii-slide-page {
  overflow: hidden !important;
}

@media (min-width: 841px) {
  .hii-slide-panel {
    overflow: hidden !important;
  }
}

@media (max-width: 840px) {
  .hii-slide-panel {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}
/* ==========================================================
   MOBILE HERO
   ========================================================== */

.mobile-break {
  display: none;
}

@media (max-width: 840px) {
  .hero {
    position: relative;

    min-height: clamp(440px, 62vh, 560px);

    margin-bottom: 0 !important;

    border-bottom: 0 !important;

    background-image: none !important;
    background-color: var(--paper) !important;

    overflow: hidden;
    isolation: isolate;
  }

  .hero::after {
    content: "";

    position: fixed;
    top: 72px;
    left: 0;
    right: 0;

    height: clamp(440px, 62vh, 560px);

    z-index: -2;

    background-image: url("../../images/icons/hero-photo-6_mobile.webp");
    background-size: 210% auto;
    background-position: 60% 2.5%;
    background-repeat: no-repeat;
    background-color: var(--paper);

    pointer-events: none;
  }

  .hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
      linear-gradient(
        90deg,
        rgba(242, 242, 242, 0.98) 0%,
        rgba(249, 249, 249, 0.94) 25%,
        rgba(255, 255, 255, 0) 100%
      );

    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .mobile-break {
    display: inline;
  }

  .quick-links,
  .quick-links-floating {
    margin-top: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .quick-links-floating {
    position: relative;
    z-index: 2;

    box-shadow:
      0 -10px 28px rgba(0, 0, 0, 0.12),
      0 10px 28px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 840px) {
  .hero {
    margin-bottom: -30px !important;
  }

  .quick-links-floating {
    margin-top: 0 !important;
    transform: translateY(-1px);
  }
}
/* RESEARCH PAGE — mobile spacing + show text directly */

@media (max-width: 840px) {
  /* more distance between page intro and first project image */
  .research-projects-heading {
    margin-bottom: 54px !important;
  }

  .research-visual-stage {
    padding-top: 0 !important;
    gap: 64px !important;
  }

  /* on mobile: hide Coming soon pill */
  .research-soon-button {
    display: none !important;
  }

  /* on mobile: always show the reveal text */
  .research-reveal {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  .research-reveal-slot {
    display: block !important;
    height: auto !important;
  }

  .research-hover-text {
    position: static !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: none !important;

    max-width: none !important;
    margin-top: 14px !important;
  }

  .research-hover-text p {
    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.42 !important;
    font-weight: 560 !important;
    color: rgba(0, 0, 0, 0.72) !important;
  }

  .research-hover-soon {
    display: none !important;
  }
}
/* HOMEPAGE NEWS — mobile meta row + title below */

@media (max-width: 840px) {
  .news-carousel .views-row,
  .news-carousel .views-row:nth-child(odd),
  .news-carousel .views-row:nth-child(even) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 8px 12px !important;

    padding: 20px 0 !important;

    background: transparent !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-top: 1.5px solid rgba(0, 0, 0, 0.62) !important;

    box-shadow: none !important;
    overflow: visible !important;
  }

  .news-carousel .views-row:last-child {
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.62) !important;
  }

  .news-carousel .views-row > div {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    transform: none !important;

    grid-column: auto !important;
    grid-row: auto !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  /* hide image + teaser */
  .news-carousel .views-field-field-news-image,
  .news-carousel .views-field-field-news-image img,
  .news-carousel .views-field-field-new-teaser,
  .news-carousel .views-field-field-news-teaser,
  .news-carousel .views-field-body,
  .news-carousel .views-field-field-news-text {
    display: none !important;
  }

  /* type first */
  .news-carousel .views-field-field-news-category,
  .news-carousel [class*="views-field-field-news-type"],
  .news-carousel [class*="views-field-field-news-category"] {
    order: 1 !important;
    flex: 0 0 auto !important;

    display: block !important;

    color: rgba(0, 0, 0, 0.58) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
  }

  /* date next to it */
  .news-carousel .views-field-field-news-date,
  .news-carousel .views-field-created,
  .news-carousel [class*="views-field-field-news-date"] {
    order: 2 !important;
    flex: 0 0 auto !important;

    display: block !important;

    color: rgba(0, 0, 0, 0.58) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
  }

  /* title below full width */
  .news-carousel .views-field-title {
    order: 3 !important;
    flex: 0 0 100% !important;

    display: block !important;

    margin-top: 2px !important;
  }

  .news-carousel .views-field-title a {
    display: inline !important;

    color: var(--earth) !important;
    background: transparent !important;
    text-decoration: none !important;

    font-size: clamp(21px, 5.8vw, 29px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
    font-weight: 900 !important;
  }
}
/* MOBILE HERO — stronger text weight */

@media (max-width: 840px) {
  .hero h1 {
    font-weight: 950 !important;
  }

  .hero p,
  .hero p:not(.hero-kicker) {
    font-weight: 720 !important;
  }

  .hero-kicker {
    font-weight: 900 !important;
  }

  .hero .hero-button,
  .hero a {
    font-weight: 900 !important;
  }
}
/* ==========================================================
   HII PRIVACY CONSENT
   ========================================================== */

html.hii-consent-dialog-open,
body.hii-consent-dialog-open {
  overflow: hidden;
}

.hii-consent[hidden],
.hii-consent-banner[hidden],
.hii-consent-dialog[hidden] {
  display: none !important;
}


/* ==========================================================
   SHARED BUTTONS
   ========================================================== */

.hii-consent-button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding:
    0
    22px;

  border: 2px solid var(--earth);
  border-radius: 999px;

  font-family: var(--site-font);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.hii-consent-button:hover {
  transform: translateY(-2px);
}

.hii-consent-button:active {
  transform: translateY(0);
}

.hii-consent-button:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.hii-consent-button--primary {
  background: var(--paper);
  color: var(--earth);
}

.hii-consent-button--primary:hover {
  background: var(--earth);
  color: var(--paper);
}

.hii-consent-button--secondary {
  background: var(--paper);
  color: var(--earth);
}

.hii-consent-button--secondary:hover {
  background: var(--earth);
  color: var(--paper);
}

.hii-consent-button--settings {
  background: var(--paper);
  color: var(--earth);
}

.hii-consent-button--settings:hover {
  background: var(--earth);
  color: var(--paper);
}


/* ==========================================================
   FIRST-LEVEL CONSENT BANNER
   ========================================================== */

.hii-consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;

  width: 100%;

  padding:
    22px
    clamp(20px, 4vw, 64px);

  background: var(--paper);
  color: var(--earth);

  border-top: 2px solid var(--earth);

  box-shadow:
    0
    -14px
    40px
    rgba(0, 0, 0, 0.14);
}

.hii-consent-banner__inner {
  width: 100%;
  max-width: 1500px;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap:
    30px
    48px;

  align-items: center;

  margin: 0 auto;
}

.hii-consent-banner__content {
  min-width: 0;
}

.hii-consent-banner__title {
  margin:
    0
    0
    10px;

  color: var(--earth);

  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.hii-consent-banner__description {
  max-width: 900px;

  margin:
    0
    0
    8px;

  color: rgba(0, 0, 0, 0.72);

  font-size: 15px;
  line-height: 1.45;
  font-weight: 540;
}

.hii-consent-banner__description:last-of-type {
  margin-bottom: 0;
}

.hii-consent-banner__links {
  display: flex;
  flex-wrap: wrap;

  gap:
    8px
    18px;

  margin-top: 13px;
}

.hii-consent-banner__links a {
  color: var(--earth);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hii-consent-banner__links a:hover {
  text-decoration-thickness: 2px;
}

.hii-consent-banner__links a:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

.hii-consent-banner__actions {
  display: grid;
  grid-template-columns: 1fr;

  gap: 10px;

  width: min(100%, 255px);
}

.hii-consent-banner__actions .hii-consent-button {
  width: 100%;
}


/* ==========================================================
   SETTINGS DIALOG
   ========================================================== */

.hii-consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 11000;

  display: grid;
  place-items: center;

  padding:
    24px
    clamp(16px, 3vw, 46px);
}

.hii-consent-dialog__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  border: 0;

  background: rgba(0, 0, 0, 0.72);

  cursor: default;

  appearance: none;
  -webkit-appearance: none;
}

.hii-consent-dialog__panel {
  position: relative;
  z-index: 1;

  width: min(100%, 760px);
  max-height: min(880px, calc(100vh - 48px));

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--paper);
  color: var(--earth);

  border: 2px solid var(--earth);

  box-shadow: none;
}


/* ==========================================================
   DIALOG HEADER
   ========================================================== */

.hii-consent-dialog__header {
  flex: 0 0 auto;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;

  padding:
    28px
    30px
    24px;

  background: var(--paper);

  border-bottom: 2px solid var(--earth);
}

.hii-consent-dialog__heading {
  min-width: 0;
}

.hii-consent-dialog__eyebrow {
  margin:
    0
    0
    9px;

  color: rgba(0, 0, 0, 0.62);

  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hii-consent-dialog__header h2 {
  margin: 0;

  color: var(--earth);

  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.hii-consent-dialog__close {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;
  flex: 0 0 auto;

  margin: 0;
  padding: 0;

  border: 2px solid var(--earth);
  border-radius: 50%;

  background: var(--paper);
  color: var(--earth);

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hii-consent-dialog__close span {
  display: block;

  margin-top: -4px;

  font-size: 35px;
  line-height: 1;
  font-weight: 400;
}

.hii-consent-dialog__close:hover {
  background: var(--greyvio);

  transform: rotate(4deg);
}

.hii-consent-dialog__close:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}


/* ==========================================================
   DIALOG BODY
   ========================================================== */

.hii-consent-dialog__body {
  flex: 1 1 auto;

  min-height: 0;

  overflow-x: hidden;
  overflow-y: auto;

  padding:
    28px
    30px
    34px;

  overscroll-behavior: contain;
}

.hii-consent-dialog__introduction {
  max-width: 680px;

  margin:
    0
    0
    12px;

  color: rgba(0, 0, 0, 0.72);

  font-size: 16px;
  line-height: 1.5;
  font-weight: 540;
}

.hii-consent-dialog__introduction + .hii-consent-service {
  margin-top: 28px;
}


/* ==========================================================
   SERVICE CARDS
   ========================================================== */

.hii-consent-service {
  width: 100%;

  margin:
    16px
    0
    0;

  background: var(--paper);

  border: 2px solid var(--earth);
}

.hii-consent-service--necessary {
  background: var(--paper);
}

.hii-consent-service__summary {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 26px;

  align-items: center;

  padding:
    22px
    22px
    20px;
}

.hii-consent-service__heading {
  min-width: 0;
}

.hii-consent-service__category {
  margin:
    0
    0
    7px;

  color: rgba(0, 0, 0, 0.54);

  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hii-consent-service__heading h3 {
  margin:
    0
    0
    8px;

  color: var(--earth);

  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.hii-consent-service__heading p:not(.hii-consent-service__category) {
  max-width: 570px;

  margin: 0;

  color: rgba(0, 0, 0, 0.68);

  font-size: 14px;
  line-height: 1.43;
  font-weight: 540;
}

.hii-consent-service__status {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;

  padding:
    0
    14px;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: #b9d8b1;
  color: var(--earth);

  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}


/* ==========================================================
   SERVICE DETAILS
   ========================================================== */

.hii-consent-service__details {
  border-top: 1.5px solid rgba(0, 0, 0, 0.5);
}

.hii-consent-service__details summary {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding:
    15px
    22px;

  color: var(--earth);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;

  cursor: pointer;

  list-style: none;
}

.hii-consent-service__details summary::-webkit-details-marker {
  display: none;
}

.hii-consent-service__details summary::after {
  content: "+";

  flex: 0 0 auto;

  color: var(--earth);

  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.hii-consent-service__details[open] summary::after {
  content: "−";
}

.hii-consent-service__details summary:hover {
  background: rgba(198, 201, 219, 0.28);
}

.hii-consent-service__details summary:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: -3px;
}

.hii-consent-service__details-content {
  padding:
    2px
    22px
    22px;
}

.hii-consent-service__details-content p {
  max-width: 650px;

  margin:
    0
    0
    13px;

  color: rgba(0, 0, 0, 0.7);

  font-size: 14px;
  line-height: 1.5;
  font-weight: 530;
}

.hii-consent-service__details-content p:last-of-type {
  margin-bottom: 0;
}

.hii-consent-service__details-content strong {
  color: var(--earth);

  font-weight: 900;
}

.hii-consent-service__details-content a {
  display: inline-block;

  margin-top: 14px;

  color: var(--earth);

  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hii-consent-service__details-content a:hover {
  text-decoration-thickness: 2px;
}

.hii-consent-service__details-content a:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}


/* ==========================================================
   CONSENT TOGGLE
   ========================================================== */

.hii-consent-toggle {
  position: relative;

  width: 72px;
  height: 58px;

  display: block;
  flex: 0 0 auto;

  cursor: pointer;
}

.hii-consent-toggle::after {
  content: "Inactive";

  position: absolute;
  right: 50%;
  bottom: 0;

  color: rgba(0, 0, 0, 0.58);

  font-family: var(--site-font);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;

  transform: translateX(50%);
}

.hii-consent-toggle:has(
  .hii-consent-toggle__input:checked
)::after {
  content: "Active";

  color: #416b42;
}

.hii-consent-toggle__input {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);

  border: 0;

  white-space: nowrap;
}

.hii-consent-toggle__control {
  position: absolute;
  top: 0;
  left: 5px;

  width: 62px;
  height: 36px;

  display: block;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: var(--greyshade);

  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.hii-consent-toggle__control::after {
  content: "";

  position: absolute;
  top: 4px;
  left: 4px;

  width: 24px;
  height: 24px;

  border: 2px solid var(--earth);
  border-radius: 50%;

  background: var(--paper);

  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

.hii-consent-toggle__input:checked
+ .hii-consent-toggle__control {
  background: #b9d8b1;
}

.hii-consent-toggle__input:checked
+ .hii-consent-toggle__control::after {
  background: var(--earth);

  transform: translateX(26px);
}

.hii-consent-toggle__input:focus-visible
+ .hii-consent-toggle__control {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.hii-consent-toggle:hover
.hii-consent-toggle__control::after {
  transform: scale(1.06);
}

.hii-consent-toggle:hover
.hii-consent-toggle__input:checked
+ .hii-consent-toggle__control::after {
  transform:
    translateX(26px)
    scale(1.06);
}


/* ==========================================================
   DIALOG FOOTER
   ========================================================== */

.hii-consent-dialog__footer {
  flex: 0 0 auto;

  padding:
    20px
    30px
    22px;

  background: var(--paper);

  border-top: 2px solid var(--earth);
}

.hii-consent-dialog__footer-actions {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 10px;
}

.hii-consent-dialog__footer-actions .hii-consent-button {
  width: 100%;
}

.hii-consent-dialog__legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap:
    8px
    18px;

  margin-top: 16px;
}

.hii-consent-dialog__legal-links a {
  color: var(--earth);

  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hii-consent-dialog__legal-links a:hover {
  text-decoration-thickness: 2px;
}

.hii-consent-dialog__legal-links a:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}


/* ==========================================================
   FOOTER PRIVACY BUTTON
   ========================================================== */

.site-footer-inner {
  width: 100%;
  max-width: 1500px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap:
    24px
    40px;

  margin: 0 auto;
}

.site-footer-copy {
  margin: 0;
}

.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;

  gap:
    12px
    24px;
}

.site-footer-links a,
.site-footer-privacy-button {
  color: var(--earth);

  font-family: var(--site-font);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;

  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-privacy-button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer-links a:focus-visible,
.site-footer-privacy-button:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 4px;
}

.site-footer-privacy-button {
  display: inline;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
}


/* ==========================================================
   VISUALLY HIDDEN
   ========================================================== */

.visually-hidden {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  margin: -1px !important;
  padding: 0 !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;

  border: 0 !important;

  white-space: nowrap !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {
  .hii-consent-banner {
    padding:
      22px
      28px;
  }

  .hii-consent-banner__inner {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .hii-consent-banner__actions {
    width: 100%;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .hii-consent-dialog {
    padding: 18px;
  }

  .hii-consent-dialog__panel {
    max-height: calc(100vh - 36px);

    box-shadow: none;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {
  .hii-consent-banner {
    max-height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;

    padding:
      20px
      18px
      calc(20px + env(safe-area-inset-bottom));
  }

  .hii-consent-banner__inner {
    gap: 18px;
  }

  .hii-consent-banner__title {
    font-size: 30px;
  }

  .hii-consent-banner__description {
    font-size: 14px;
    line-height: 1.42;
  }

  .hii-consent-banner__actions {
    grid-template-columns: 1fr;

    gap: 8px;
  }

  .hii-consent-banner__actions .hii-consent-button {
    min-height: 46px;
  }

  .hii-consent-dialog {
    display: block;

    padding: 0;
  }

  .hii-consent-dialog__panel {
    width: 100%;
    height: 100dvh;
    max-height: none;

    border: 0;
    border-radius: 0;

    box-shadow: none;
  }

  .hii-consent-dialog__header {
    padding:
      22px
      18px
      20px;
  }

  .hii-consent-dialog__header h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .hii-consent-dialog__close {
    width: 42px;
    height: 42px;
  }

  .hii-consent-dialog__body {
    padding:
      22px
      18px
      28px;
  }

  .hii-consent-dialog__introduction {
    font-size: 15px;
    line-height: 1.46;
  }

  .hii-consent-service__summary {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 15px;

    padding:
      19px
      16px
      18px;
  }

  .hii-consent-service__heading h3 {
    font-size: 23px;
  }

  .hii-consent-service__heading p:not(.hii-consent-service__category) {
    font-size: 13px;
    line-height: 1.4;
  }

  .hii-consent-service__status {
    align-self: start;

    min-height: 30px;

    padding:
      0
      10px;

    font-size: 10px;
  }

  .hii-consent-toggle {
    width: 64px;
    height: 56px;
  }

  .hii-consent-toggle__control {
    left: 4px;

    width: 56px;
    height: 34px;
  }

  .hii-consent-toggle__control::after {
    top: 4px;
    left: 4px;

    width: 22px;
    height: 22px;
  }

  .hii-consent-toggle__input:checked
  + .hii-consent-toggle__control::after {
    transform: translateX(22px);
  }

  .hii-consent-toggle:hover
  .hii-consent-toggle__input:checked
  + .hii-consent-toggle__control::after {
    transform:
      translateX(22px)
      scale(1.06);
  }

  .hii-consent-service__details summary {
    padding:
      14px
      16px;
  }

  .hii-consent-service__details-content {
    padding:
      2px
      16px
      18px;
  }

  .hii-consent-dialog__footer {
    padding:
      16px
      18px
      calc(18px + env(safe-area-inset-bottom));
  }

  .hii-consent-dialog__footer-actions {
    grid-template-columns: 1fr;

    gap: 8px;
  }

  .hii-consent-dialog__footer-actions .hii-consent-button {
    min-height: 45px;
  }

  .site-footer {
    padding:
      32px
      22px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-links {
    justify-content: flex-start;

    gap:
      12px
      20px;
  }
}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {
  .hii-consent-service__summary {
    grid-template-columns:
      minmax(0, 1fr)
      auto;
  }

  .hii-consent-service__status {
    white-space: normal;

    text-align: center;
  }

  .hii-consent-dialog__legal-links {
    justify-content: flex-start;
  }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .hii-consent-button,
  .hii-consent-dialog__close,
  .hii-consent-toggle__control,
  .hii-consent-toggle__control::after {
    transition: none;
  }
}

.team-sketch-link--static {
  cursor: default;
  pointer-events:none;
}
.team-sketch-card:has(.team-sketch-link--static) .team-sketch-name,
.team-sketch-card:has(.team-sketch-link--static) .team-sketch-role,
.team-sketch-card:has(.team-sketch-link--static) .team-sketch-relationship,
.team-sketch-card:has(.team-sketch-link--static):hover .team-sketch-name,
.team-sketch-card:has(.team-sketch-link--static):hover .team-sketch-role,
.team-sketch-card:has(.team-sketch-link--static):hover .team-sketch-relationship,
.team-sketch-card:has(.team-sketch-link--static):focus-within .team-sketch-name,
.team-sketch-card:has(.team-sketch-link--static):focus-within .team-sketch-role,
.team-sketch-card:has(.team-sketch-link--static):focus-within .team-sketch-relationship {
  color: #211b16 !important;
}
@media (max-width: 620px) {
  .quick-links,
  .quick-links-floating {
    padding-bottom: 20px !important;
  }

  .what-carousel__dots {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 980px) {
  .quick-links-floating {
    margin-bottom: -2px !important;
  }

  .news-events-split {
    position: relative;
    z-index: 2;

    margin-top: 0 !important;
  }
}

@media (max-width: 980px) {
  .news-heading-actions {
    height: auto !important;
    min-height: 64px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 620px) {
  .news-heading-actions {
    min-height: 48px !important;
  }
}

/* MOBILE FLOATING SUPPORT BUTTON */

.mobile-floating-support {
  display: none;
}

@media (max-width: 980px) {
  .mobile-floating-support {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 110;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    color: var(--earth);
    background: var(--brand-yellow, #ffd92e);

    border: 1px solid var(--earth);
    border-radius: 999px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);

    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 18px);

    pointer-events: none;

    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  .mobile-floating-support.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);

    pointer-events: auto;
  }

  .mobile-floating-support:hover,
  .mobile-floating-support:focus-visible {
    color: var(--earth);
    text-decoration: none;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);

    transform: translate(-50%, -2px);
  }

  /*
   * Do not show the button while the mobile navigation is open.
   */
  body:has(.nav-toggle:checked) .mobile-floating-support {
    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 18px);

    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-floating-support {
    transition: none;
  }
}

/* ==========================================================
   TABLET / TOUCH — REMOVE TAP HIGHLIGHT
   ========================================================== */

.site-header a,
.site-header button,
.site-header label,
.site-header input,
.site-nav a,
.site-nav button,
.site-nav label {
  -webkit-tap-highlight-color: transparent;
}