@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --sans: "Work Sans", sans-serif;
  --serif: "Source Serif 4", serif;
  /* html text styles */
  /* this set is little small in size, use for more conservative designs */
  --h1: clamp(2rem, 1.3627rem + 2.6144vw, 4.5rem);
  --h2: clamp(1.75rem, 1.1765rem + 2.3529vw, 4rem);
  --h3: clamp(1.5rem, 0.9902rem + 2.0915vw, 3.5rem);
  --h4: clamp(2rem, 1.7451rem + 1.0458vw, 3rem);
  --h5: clamp(1.25rem, 0.8039rem + 1.8301vw, 3rem);
  --h6: clamp(1rem, 0.6814rem + 1.3072vw, 2.25rem);
  --p-lg: clamp(1rem, 0.8725rem + 0.5229vw, 1.5rem);
  --p: clamp(0.875rem, 0.7794rem + 0.3922vw, 1.25rem);
  --p-sm: clamp(0.875rem, 0.8431rem + 0.1307vw, 1rem);
}

:root {
  --primary-500: #A5D0C0;
  --primary-300: #C4E0D5;
  --primary-100: #E4F1EC;
  /* ny harbor */
  --ny-harbor-500: #2A66A5;
  --ny-harbor-300: #729AC4;
  --ny-harbor-100: #BFD1E4;
  /* ny statue shadow */
  --statue-shadow-500: #31504C;
  --statue-shadow-300: #778B89;
  --statue-shadow-100: #C1CAC9;
  /*brick */
  --brick-500: #A35F37;
  --brick-300: #C2957B;
  --brick-100: #E3CFC3;
  /* torch */
  --torch-500: #FBD97E;
  --torch-300: #FCE6AA;
  --torch-100: #FEF4D8;
  /* limestone */
  --limestone-500: #D8D6D1;
  --limestone-300: #E5E4E1;
  --limestone-100: #F3F3F1;
  /* base */
  --white: #fcfcfc;
  --black: #09090b;
  --transparent: rgba(0, 0, 0, 0);
  --highlight-100: #FFE5D9;
  --highlight-300: #ff8032;
  --highlight-500: #ff4500;
  --highlight-700: #C43400;
  /* zinc */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CAD5E2;
  --gray-400: #90A1B9;
  --gray-500: #62748E;
  --gray-600: #45556C;
  --gray-700: #314158;
  --gray-800: #1D293D;
  --gray-900: #0F172B;
  --gray-950: #020618;
  /* white opacity */
  --white-alpha-10: rgba(255, 255, 255, 0.1);
  --white-alpha-20: rgba(255, 255, 255, 0.2);
  --white-alpha-30: rgba(255, 255, 255, 0.3);
  --white-alpha-40: rgba(255, 255, 255, 0.4);
  --white-alpha-50: rgba(255, 255, 255, 0.5);
  --white-alpha-60: rgba(255, 255, 255, 0.6);
  --white-alpha-70: rgba(255, 255, 255, 0.7);
  --white-alpha-80: rgba(255, 255, 255, 0.8);
  --white-alpha-90: rgba(255, 255, 255, 0.9);
  /* black opacity */
  --black-alpha-10: rgba(0, 0, 0, 0.1);
  --black-alpha-20: rgba(0, 0, 0, 0.2);
  --black-alpha-30: rgba(0, 0, 0, 0.3);
  --black-alpha-40: rgba(0, 0, 0, 0.4);
  --black-alpha-50: rgba(0, 0, 0, 0.5);
  --black-alpha-60: rgba(0, 0, 0, 0.6);
  --black-alpha-70: rgba(0, 0, 0, 0.7);
  --black-alpha-80: rgba(0, 0, 0, 0.8);
  --black-alpha-90: rgba(0, 0, 0, 0.9);
}

:root {
  /*  sizes  */
  --size-0: 0;
  --size-1: 0.0625rem;
  --size-1half: 0.09375rem;
  --size-2: 0.125rem;
  --size-4: 0.25rem;
  --size-8: 0.5rem;
  --size-14: 0.875rem;
  --size-16: 1rem;
  --size-18: 1.125rem;
  --size-20: 1.25rem;
  --size-24: 1.5rem;
  --size-32: 2rem;
  --size-40: 2.5rem;
  --size-44: 2.75rem;
  --size-48: 3rem;
  --size-64: 4rem;
  --size-72: 4.5rem;
  --size-80: 5rem;
  --size-100: 6.25rem;
  --size-120: 7.5rem;
  --size-160: 10rem;
  /* space */
  --space-4: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
  --space-8: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
  --space-12: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
  --space-16: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
  --space-24: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
  --space-32: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
  --space-48: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
  --space-64: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
  --space-72: clamp(3rem, 2.7451rem + 1.0458vw, 4rem);
  --space-80: clamp(3.75rem, 3.4314rem + 1.3072vw, 5rem);
  --space-120: clamp(5rem, 4.3627rem + 2.6144vw, 7.5rem);
  --space-160: clamp(6.25rem, 5.2941rem + 3.9216vw, 10rem);
  --space-240: clamp(7.5rem, 5.5882rem + 7.8431vw, 15rem);
  /* border radius */
  --radius-4: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
  --radius-8: clamp(0.125rem, 0.0294rem + 0.3922vw, 0.5rem);
  --radius-16: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
  --radius-24: clamp(1rem, 0.8725rem + 0.5229vw, 1.5rem);
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  font-family: var(--sans);
  font-feature-settings: "ss05" on;
}

*:focus-visible {
  outline: 2px solid var(--ny-harbor-500);
  outline-offset: 3px;
}

/* Skip link (WCAG 2.4.1 Bypass Blocks): first focusable element on the page,
   hidden off-screen until it receives keyboard focus, then slides into the
   top-left so keyboard / screen-reader users can jump past the global header
   straight to <main id="main-content">. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: var(--space-8) var(--space-16);
  background: var(--gray-900);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius-4) 0;
  transform: translateY(-150%);
  transition: transform 0.15s ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--limestone-100);
}

img,
video,
picture {
  display: block;
  width: 100%;
}

picture img {
  will-change: transform;
}

a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: var(--p);
}

.font-serif {
  font-family: var(--serif);
}

.font-sans {
  font-family: var(--sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sans);
  letter-spacing: -0.01rem;
  line-height: 120%;
}

h1,
.h1 {
  font-size: var(--h1);
}

h2,
.h2 {
  font-size: var(--h2);
}

h3,
.h3 {
  font-size: var(--h3);
}

h4,
.h4 {
  font-size: var(--h4);
}

h5,
.h5 {
  font-size: var(--h5);
}

h6,
.h6 {
  font-size: var(--h6);
}

p,
.p {
  font-size: var(--p);
  line-height: 160%;
}

.p-lg {
  font-size: var(--p-lg);
}

.p-sm {
  font-size: var(--p-sm);
}

.text-condensed {
  font-stretch: 80%;
}

.eyebrow,
.eyebrow * {
  font-stretch: 80%;
}

.fw-100 {
  font-weight: 100;
}

.fw-200 {
  font-weight: 200;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.fw-900 {
  font-weight: 900;
}

.lh-100 {
  line-height: 100%;
}

.lh-120 {
  line-height: 120%;
}

.lh-140 {
  line-height: 140%;
}

.lh-160 {
  line-height: 160%;
}

.ls-xs {
  letter-spacing: -0.02rem;
}

.ls-s {
  letter-spacing: -0.04rem;
}

.ls-m {
  letter-spacing: -0.06rem;
}

.ls-l {
  letter-spacing: -0.08rem;
}

.text-align-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* text wrap styles */
.wrap-balance {
  text-wrap: balance;
}

.wrap-pretty {
  text-wrap: pretty;
}

.wrap-none {
  text-wrap: none;
}

/* truncate */
.utils-truncate {
  --truncate: 2;
  display: -webkit-box;
  -webkit-line-clamp: var(--truncate);
  line-clamp: var(--truncate);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* indentation */
.text-indent-8 {
  text-indent: 8vw;
}

.text-indent-10 {
  text-indent: 10vw;
}

.text-indent-15 {
  text-indent: 15vw;
}

.text-indent-20 {
  text-indent: 20vw;
}

.text-indent-25 {
  text-indent: 25vw;
}

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

.black {
  color: var(--black);
}

.highlight-100 {
  color: var(--highlight-100);
}

.highlight-300 {
  color: var(--highlight-300);
}

.highlight-500 {
  color: var(--highlight-500);
}

.highlight-700 {
  color: var(--highlight-700);
}

.primary-500 {
  color: var(--primary-500);
}

.primary-300 {
  color: var(--primary-300);
}

.primary-100 {
  color: var(--primary-100);
}

.ny-harbor-500 {
  color: var(--ny-harbor-500);
}

.ny-harbor-300 {
  color: var(--ny-harbor-300);
}

.ny-harbor-100 {
  color: var(--ny-harbor-100);
}

.statue-shadow-500 {
  color: var(--statue-shadow-500);
}

.statue-shadow-300 {
  color: var(--statue-shadow-300);
}

.statue-shadow-100 {
  color: var(--statue-shadow-100);
}

.brick-500 {
  color: var(--brick-500);
}

.brick-300 {
  color: var(--brick-300);
}

.brick-100 {
  color: var(--brick-100);
}

.torch-500 {
  color: var(--torch-500);
}

.torch-300 {
  color: var(--torch-300);
}

.torch-100 {
  color: var(--torch-100);
}

.limestone-500 {
  color: var(--limestone-500);
}

.limestone-300 {
  color: var(--limestone-300);
}

.limestone-100 {
  color: var(--limestone-100);
}

.gray-100 {
  color: var(--gray-100);
}

.gray-200 {
  color: var(--gray-200);
}

.gray-300 {
  color: var(--gray-300);
}

.gray-400 {
  color: var(--gray-400);
}

.gray-500 {
  color: var(--gray-500);
}

.gray-600 {
  color: var(--gray-600);
}

.gray-700 {
  color: var(--gray-700);
}

.gray-800 {
  color: var(--gray-800);
}

.gray-900 {
  color: var(--gray-900);
}

.gray-950 {
  color: var(--gray-950);
}

/*
  background colors
*/
.bg-transparent {
  background: var(--transparent);
}

.bg-primary-100 {
  background: var(--primary-100);
}

.bg-primary-300 {
  background: var(--primary-300);
}

.bg-primary-500 {
  background: var(--primary-500);
}

.bg-ny-harbor-100 {
  background: var(--ny-harbor-100);
}

.bg-ny-harbor-300 {
  background: var(--ny-harbor-300);
}

.bg-ny-harbor-500 {
  background: var(--ny-harbor-500);
}

.bg-statue-shadow-100 {
  background: var(--statue-shadow-100);
}

.bg-statue-shadow-300 {
  background: var(--statue-shadow-300);
}

.bg-statue-shadow-500 {
  background: var(--statue-shadow-500);
}

.bg-torch-100 {
  background: var(--torch-100);
}

.bg-torch-300 {
  background: var(--torch-300);
}

.bg-torch-500 {
  background: var(--torch-500);
}

.bg-brick-100 {
  background: var(--brick-100);
}

.bg-brick-300 {
  background: var(--brick-300);
}

.bg-brick-500 {
  background: var(--brick-500);
}

.bg-limestone-100 {
  background: var(--limestone-100);
}

.bg-limestone-300 {
  background: var(--limestone-300);
}

.bg-limestone-500 {
  background: var(--limestone-500);
}

/*
  border colors
*/
.border-transparent {
  border-color: var(--transparent);
}

.border-primary-100 {
  border-color: var(--primary-100);
}

.border-primary-300 {
  border-color: var(--primary-300);
}

.border-primary-500 {
  border-color: var(--primary-500);
}

.border-ny-harbor-100 {
  border-color: var(--ny-harbor-100);
}

.border-ny-harbor-300 {
  border-color: var(--ny-harbor-300);
}

.border-ny-harbor-500 {
  border-color: var(--ny-harbor-500);
}

.border-statue-shadow-100 {
  border-color: var(--statue-shadow-100);
}

.border-statue-shadow-300 {
  border-color: var(--statue-shadow-300);
}

.border-statue-shadow-500 {
  border-color: var(--statue-shadow-500);
}

.border-torch-100 {
  border-color: var(--torch-100);
}

.border-torch-300 {
  border-color: var(--torch-300);
}

.border-torch-500 {
  border-color: var(--torch-500);
}

.border-brick-100 {
  border-color: var(--brick-100);
}

.border-brick-300 {
  border-color: var(--brick-300);
}

.border-brick-500 {
  border-color: var(--brick-500);
}

.border-limestone-100 {
  border-color: var(--limestone-100);
}

.border-limestone-300 {
  border-color: var(--limestone-300);
}

.border-limestone-500 {
  border-color: var(--limestone-500);
}

.bg-gray-100 {
  background: var(--gray-100);
}

.bg-gray-200 {
  background: var(--gray-200);
}

.bg-gray-300 {
  background: var(--gray-300);
}

.bg-gray-400 {
  background: var(--gray-400);
}

.bg-gray-500 {
  background: var(--gray-500);
}

.bg-gray-600 {
  background: var(--gray-600);
}

.bg-gray-700 {
  background: var(--gray-700);
}

.bg-gray-800 {
  background: var(--gray-800);
}

.bg-gray-900 {
  background: var(--gray-900);
}

.bg-gray-950 {
  background: var(--gray-950);
}

/*
  semi transparent background colors
*/
.bg-white-alpha-40 {
  background: var(--white-alpha-40);
}

.bg-black-alpha-40 {
  background: var(--black-alpha-40);
}

/* button(s) */
.button-base {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  height: clamp(2.25rem, 2.0588rem + 0.7843vw, 3rem);
  border-width: var(--size-1half);
  border-style: solid;
  border-radius: var(--radius-4);
}

/* UTILITY CLASSES */
/* Visually hidden but accessible to screen readers (WCAG technique) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.transition-all {
  transition: all 0.4s ease-out;
}

/* indentation */
.utils-indent-8 {
  text-indent: 8vw;
}

.utils-indent-10 {
  text-indent: 10vw;
}

.utils-indent-15 {
  text-indent: 15vw;
}

.utils-indent-20 {
  text-indent: 20vw;
}

.utils-indent-25 {
  text-indent: 25vw;
}

.utils-horizontal-line {
  display: inline-flex;
  transform: translateY(-0.5rem);
  height: 0.125rem;
  width: 16vw;
  background: var(--gray-700);
}

.long-dash {
  display: inline-block;
  width: 8vw;
  height: 2px;
  margin: 0 var(--size-8);
  vertical-align: middle;
}

.radius-4 {
  border-radius: var(--radius-4);
}

.radius-8 {
  border-radius: var(--radius-8);
}

.radius-16 {
  border-radius: var(--radius-16);
}

.radius-24 {
  border-radius: var(--radius-24);
}

.radius-top {
  border-top-left-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
  border-top-right-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.radius-bottom {
  border-bottom-left-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
  border-bottom-right-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.radius-left {
  border-top-left-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
  border-bottom-left-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.radius-right {
  border-top-right-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
  border-bottom-right-radius: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.bg-blur {
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.bg-white-alpha-40 {
  background: var(--white-alpha-40);
}

.bg-black-alpha-40 {
  background: rgba(0, 0, 0, 0.4);
}

.filter-grayscale {
  filter: grayscale(100%);
}

.zindex-100 {
  z-index: 100;
}

.overflow-hidden {
  overflow: hidden;
}

.hide-scrollbar-x {
  overflow-x: auto;
  /* Allows horizontal scrolling */
  white-space: nowrap;
  /* Keeps inner content on one line if needed */
  /* 1. Hide scrollbar for Chrome, Safari, and newer Edge */
  /* 2. Hide scrollbar for Firefox */
  scrollbar-width: none;
  /* 3. Hide scrollbar for IE and old Edge */
  -ms-overflow-style: none;
}
.hide-scrollbar-x::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar-y {
  overflow-y: auto;
  /* Allows vertical scrolling */
  white-space: nowrap;
  /* Keeps inner content on one line if needed */
  /* 1. Hide scrollbar for Chrome, Safari, and newer Edge */
  /* 2. Hide scrollbar for Firefox */
  scrollbar-width: none;
  /* 3. Hide scrollbar for IE and old Edge */
  -ms-overflow-style: none;
}
.hide-scrollbar-y::-webkit-scrollbar {
  display: none;
}

.global-header {
  padding: 0.55rem 1.25rem;
  height: 100px;
  justify-content: space-between;
  align-items: center;
  background: var(--limestone-300);
  /* the logo links home, so it's keyboard-focusable in Tab order
       (block so it hugs the logo bounds and the focus ring fits it) */
}
.global-header .logo-container {
  height: 100%;
  width: clamp(18.75rem, 18.1127rem + 2.6144vw, 21.25rem);
}
.global-header .logo-link {
  display: block;
}
.global-header .dropdown-menu {
  display: none;
}
.global-header .nav-container {
  position: relative;
  display: flex;
}
.global-header .nav-bottom ul {
  display: flex;
}
.global-header .nav-bottom ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 500;
}
.global-header .donate li a {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 18px;
  border-radius: 2px;
  font-weight: 400;
  font-weight: 500;
  border: var(--size-1half) solid var(--statue-shadow-500);
}
.global-header .mobile-menu {
  width: 3rem;
  height: 3rem;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--gray-800);
  cursor: pointer;
}
.global-header .mobile-menu svg {
  width: 1.5rem;
  height: 1.5rem;
  overflow: visible;
}

@media (max-width: 1024px) {
  .global-header.flex {
    z-index: 40;
    position: relative;
    display: grid;
    grid-template-columns: 1fr min-content;
    grid-template-rows: min-content 1fr;
    gap: var(--space-24);
    height: auto;
  }
  .global-header.flex .logo-container,
  .global-header.flex .mobile-menu {
    grid-column: span 1;
  }
  .global-header.flex .logo-container {
    width: auto;
  }
  .global-header.flex .logo-container img {
    width: 88%;
    max-width: 420px;
  }
  .global-header.flex .nav-container {
    display: none;
    grid-row: 2/span 1;
    grid-column: 1/-1;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: var(--limestone-300);
  }
  .global-header.flex .nav-container .main-menu ul {
    display: flex;
    flex-direction: column;
  }
  .global-header.flex .nav-container .main-menu ul li a {
    height: var(--space-80);
    border-top: 1px solid var(--gray-400);
  }
  .global-header.flex .nav-container .nav.donate li a {
    height: var(--space-80);
  }
  .global-header.menu-open {
    height: 100dvh;
  }
  .global-header .mobile-menu {
    display: flex;
    transform: translateY(var(--space-16));
  }
}
header.global {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(40px);
}
header.global::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}
header.global a::after {
  content: "";
  position: absolute;
  top: 96px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand-500);
  transition: width 0.3s ease-out;
  margin-top: 4px;
}
header.global .header-top .brand {
  font-family: var(--serif);
  font-size: 1rem;
}
header.global .header-top nav * {
  font-size: 0.875rem;
}
header.global .header-top nav a {
  height: 40px;
}
header.global .header-bottom {
  height: 60px;
}

header.timeline-stories {
  position: relative;
  background: var(--gray-950);
  color: var(--white);
}
header.timeline-stories .title-container {
  padding: var(--space-16) 0;
  width: 100%;
  border-bottom: 1px solid var(--gray-600);
  display: flex;
  justify-content: center;
}
header.timeline-stories .title-container a p {
  transition: all 0.4s ease-out;
}
header.timeline-stories .title-container a p:hover {
  transform: scale(1.025);
  color: var(--gray-200);
}
header.timeline-stories .navigation {
  background: var(--gray-900);
}
header.timeline-stories .navigation a,
header.timeline-stories .navigation div {
  color: var(--white);
  position: relative;
  font-size: var(--p-lg);
  padding: 0 var(--space-8);
  min-height: var(--space-64);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-out;
}
header.timeline-stories .navigation a.active,
header.timeline-stories .navigation div.active {
  color: var(--highlight-300);
}
header.timeline-stories .navigation a.active::after,
header.timeline-stories .navigation div.active::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--highlight-300);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  header.timeline-stories .navigation {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 8px;
    padding-right: 8px;
    gap: 4px;
  }
}

.section-container:not(:has(hero)).donor-timeline {
  padding: 0;
}
@media (max-width: 767px) {
  .section-container:not(:has(hero)).donor-timeline .navigation {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 8px;
    padding-right: 8px;
    gap: 4px;
  }
}
.section-container:not(:has(hero)).donor-timeline a {
  font-size: var(--p-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-container:not(:has(hero)).donor-timeline a.active {
  position: relative;
}
.section-container:not(:has(hero)).donor-timeline a.active::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--highlight-300);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.grid-1c {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.grid-2c {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid-3c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid-4c {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-5c {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.grid-dynamic-2c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
}

.grid-dynamic-3c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
}

.grid-dynamic-4c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
}

.grid-dynamic-5c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
}

@media (max-width: 1200px) {
  .grid-dynamic-2c {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
  .grid-dynamic-3c {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
  .grid-dynamic-3c figure:nth-of-type(3),
  .grid-dynamic-3c picture:nth-of-type(3) {
    grid-column: -1/1;
  }
  .thumbnail-container.grid-dynamic-3c figure {
    height: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .grid-dynamic-4c {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
  .grid-dynamic-5c {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}
@media (max-width: 1023px) {
  .grid-dynamic-2c {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .grid-dynamic-3c {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .grid-dynamic-3c figure:nth-of-type(3),
  .grid-dynamic-3c picture:nth-of-type(3) {
    grid-column: -1/1;
  }
  .thumbnail-container.grid-dynamic-3c figure {
    height: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .grid-dynamic-4c {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .grid-dynamic-5c {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media (max-width: 767px) {
  .grid-2c,
  .grid-3c,
  .grid-4c {
    grid-template-columns: 1fr;
  }
  .grid-dynamic-2c,
  .grid-dynamic-3c,
  .grid-dynamic-4c,
  .grid-dynamic-5c {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .grid-dynamic-3c picture:nth-of-type(3) {
    grid-column: -1/1;
  }
}
.col-span-all {
  grid-column: 1/-1;
}

.col-span-1 {
  grid-column: span 1;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-start-2-span-all {
  grid-column: 2/-1;
}

.col-span-start2-span2 {
  grid-column: 2/span 2;
}

.col-span-start2-span3 {
  grid-column: 2/span 3;
}

.row-span-all {
  grid-row: 1/-1;
}

.row-span-1 {
  grid-row: span 1;
}

.row-span-2 {
  grid-row: span 2;
}

.row-span-3 {
  grid-row: span 3;
}

.row-span-4 {
  grid-row: span 4;
}

.row-span-start-2-span-all {
  grid-row: 2/-1;
}

.row-span-start2-span2 {
  grid-row: 2/span 2;
}

.row-span-start2-span3 {
  grid-row: 2/span 3;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: end;
}

.align-self-center {
  align-self: center;
}

.align-self-end {
  align-self: end;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: end;
}

.justify-self-center {
  justify-self: center;
}

.justify-self-end {
  justify-self: end;
}

@media (max-width: 767px) {
  .section-container.donate {
    justify-content: center;
    align-items: center;
  }
  .section-container.donate .grid-5c {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, min-content);
    gap: var(--space-32);
  }
  .section-container.donate figure,
  .section-container.donate .metadata-container {
    grid-column: 1/-1;
  }
}
.flex {
  display: flex;
}

.fd-column {
  flex-direction: column;
}

.fd-row {
  flex-direction: row;
}

.flex-align-end {
  align-items: flex-end;
}

.flex-align-center {
  align-items: center;
}

.align-self-start {
  align-self: start;
}

.flex-align-self-center {
  align-self: center;
}

.flex-align-content-center {
  align-content: center;
}

.flex-align-self-end {
  align-self: flex-end;
}

.flex-align-content-end {
  align-content: end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-content-end {
  justify-content: end;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-space-around {
  justify-content: space-around;
}

.justify-self-center {
  justify-self: center;
}

.order-1 {
  order: -1;
}

.order1 {
  order: 1;
}

@media (max-width: 767px) {
  .order-1 {
    order: 1;
  }
  .order1 {
    order: -1;
  }
}
.gap-40 {
  gap: clamp(1rem, 0.6176rem + 1.5686vw, 2.5rem);
}

.gap-32 {
  gap: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.gap-24 {
  gap: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.gap-20 {
  gap: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.gap-16 {
  gap: clamp(0.75rem, 0.6863rem + 0.2614vw, 1rem);
}

.gap-12 {
  gap: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.gap-8 {
  gap: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.gap-4 {
  gap: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-4 {
  padding: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-8 {
  padding: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.pad-12 {
  padding: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.pad-16 {
  padding: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
}

.pad-20 {
  padding: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.pad-24 {
  padding: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.pad-32 {
  padding: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.pad-40 {
  padding: clamp(1.25rem, 0.9314rem + 1.3072vw, 2.5rem);
}

.pad-48 {
  padding: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
}

.pad-64 {
  padding: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
}

.pad-80 {
  padding: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
}

.pad-96 {
  padding: clamp(2.5rem, 1.6078rem + 3.6601vw, 6rem);
}

.pad-120 {
  padding: clamp(3.75rem, 2.7941rem + 3.9216vw, 7.5rem);
}

.pad-left-4 {
  padding-left: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-left-8 {
  padding-left: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.pad-left-12 {
  padding-left: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.pad-left-16 {
  padding-left: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
}

.pad-left-20 {
  padding-left: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.pad-left-24 {
  padding-left: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.pad-left-32 {
  padding-left: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.pad-left-40 {
  padding-left: clamp(1.25rem, 0.9314rem + 1.3072vw, 2.5rem);
}

.pad-left-48 {
  padding-left: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
}

.pad-left-64 {
  padding-left: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
}

.pad-left-80 {
  padding-left: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
}

.pad-left-96 {
  padding-left: clamp(2.5rem, 1.6078rem + 3.6601vw, 6rem);
}

.pad-left-120 {
  padding-left: clamp(3.75rem, 2.7941rem + 3.9216vw, 7.5rem);
}

.pad-top-4 {
  padding-top: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-top-8 {
  padding-top: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.pad-top-12 {
  padding-top: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.pad-top-16 {
  padding-top: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
}

.pad-top-20 {
  padding-top: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.pad-top-24 {
  padding-top: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.pad-top-32 {
  padding-top: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.pad-top-40 {
  padding-top: clamp(1.25rem, 0.9314rem + 1.3072vw, 2.5rem);
}

.pad-top-48 {
  padding-top: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
}

.pad-top-64 {
  padding-top: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
}

.pad-top-80 {
  padding-top: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
}

.pad-top-96 {
  padding-top: clamp(2.5rem, 1.6078rem + 3.6601vw, 6rem);
}

.pad-top-120 {
  padding-top: clamp(3.75rem, 2.7941rem + 3.9216vw, 7.5rem);
}

.pad-right-4 {
  padding-right: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-right-8 {
  padding-right: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.pad-right-12 {
  padding-right: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.pad-right-16 {
  padding-right: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
}

.pad-right-20 {
  padding-right: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.pad-right-24 {
  padding-right: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.pad-right-32 {
  padding-right: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.pad-right-40 {
  padding-right: clamp(1.25rem, 0.9314rem + 1.3072vw, 2.5rem);
}

.pad-right-48 {
  padding-right: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
}

.pad-right-64 {
  padding-right: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
}

.pad-right-80 {
  padding-right: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
}

.pad-right-96 {
  padding-right: clamp(2.5rem, 1.6078rem + 3.6601vw, 6rem);
}

.pad-right-120 {
  padding-right: clamp(3.75rem, 2.7941rem + 3.9216vw, 7.5rem);
}

.pad-bottom-4 {
  padding-bottom: clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem);
}

.pad-bottom-8 {
  padding-bottom: clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem);
}

.pad-bottom-12 {
  padding-bottom: clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem);
}

.pad-bottom-16 {
  padding-bottom: clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem);
}

.pad-bottom-20 {
  padding-bottom: clamp(0.75rem, 0.6225rem + 0.5229vw, 1.25rem);
}

.pad-bottom-24 {
  padding-bottom: clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem);
}

.pad-bottom-32 {
  padding-bottom: clamp(1rem, 0.7451rem + 1.0458vw, 2rem);
}

.pad-bottom-40 {
  padding-bottom: clamp(1.25rem, 0.9314rem + 1.3072vw, 2.5rem);
}

.pad-bottom-48 {
  padding-bottom: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
}

.pad-bottom-64 {
  padding-bottom: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
}

.pad-bottom-80 {
  padding-bottom: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
}

.pad-bottom-96 {
  padding-bottom: clamp(2.5rem, 1.6078rem + 3.6601vw, 6rem);
}

.pad-bottom-120 {
  padding-bottom: clamp(3.75rem, 2.7941rem + 3.9216vw, 7.5rem);
}

/* use it for debugging */
.border {
  border: 1px solid deeppink;
}

/* end */
.section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.full-width {
  width: 100%;
  max-width: 100%;
}

.width-dynamic-720 {
  width: 88%;
  max-width: 720px;
}

.width-dynamic-800 {
  width: 88%;
  max-width: 800px;
}

.width-dynamic-960 {
  width: 92%;
  max-width: 960px;
}

.width-dynamic-1200 {
  width: 92%;
  max-width: 1200px;
}

.width-dynamic-1400 {
  width: 92%;
  max-width: 1400px;
}

.width-dynamic-1600 {
  width: 92%;
  max-width: 1600px;
}

.w10rem {
  width: 10rem;
}

.w20rem {
  width: 20rem;
}

.w30rem {
  width: 30rem;
}

.w40rem {
  width: 40rem;
}

.w50rem {
  width: 50rem;
}

.w60rem {
  width: 60rem;
}

.w70rem {
  width: 70rem;
}

.w80rem {
  width: 80rem;
}

.w100rem {
  width: 100rem;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

@media (max-width: 767px) {
  .w40,
  .w40rem,
  .w50,
  .w60rem,
  .w60,
  .w60rem,
  .w70,
  .w70rem,
  .w80,
  .w80rem,
  .w90,
  .w90rem {
    width: 100%;
  }
}
.h100 {
  height: 100%;
}

.h72 {
  height: 72%;
}

.h50 {
  height: 50%;
}

.h10vh {
  height: 10dvh;
}

.h25vh {
  height: 24dvh;
}

.h50vh {
  height: 50dvh;
}

.h60vh {
  height: 60dvh;
}

.h72vh {
  height: 72vh;
}

.h80vh {
  height: 80dvh;
}

.h100vh {
  height: 100dvh;
}

.section-container:has(.hero) {
  overflow: hidden;
}

.content-container.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 68dvh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}
.content-container.hero > figure, .content-container.hero > .metadata-container {
  grid-column: 1/-1;
  grid-row: 1/-1;
  height: 68dvh;
  min-height: 600px;
}
.content-container.hero > figure {
  width: 100%;
}
.content-container.hero > figure picture {
  height: 100%;
}
.content-container.hero > figure picture img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
}
.content-container.hero .metadata-container {
  background: linear-gradient(to top, var(--black-alpha-90) 0%, var(--black-alpha-90) 22%, var(--black-alpha-70) 38%, transparent 52%);
  height: 68dvh;
  min-height: 600px;
  z-index: 20;
}
.content-container.hero .metadata-container figure {
  width: 100px;
}
.content-container.hero .metadata-container h1 {
  color: var(--white);
  /* safety net for contrast over busy imagery */
  text-shadow: 0 1px 3px var(--black-alpha-60);
}
.content-container.hero .metadata-container .section-header .eyebrow,
.content-container.hero .metadata-container .section-header .eyebrow * {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.075rem;
  text-shadow: 0 1px 3px var(--black-alpha-60);
}

@media (max-width: 767px) {
  .content-container.hero,
  .content-container.hero > figure,
  .content-container.hero > .metadata-container,
  .content-container.hero .metadata-container {
    min-height: 420px;
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.card:hover {
  transform: scale(1.01) translateY(-4px);
  filter: drop-shadow(0 -4px 16px rgba(0, 0, 0, 0.4));
}

.nav-carousel a {
  transition: all 0.4s ease-out;
}
.nav-carousel a.active {
  font-weight: 700;
}

header a:hover,
.nav-carousel a:hover {
  font-weight: 700;
}

.section-container:not(.hero) .metadata-container p,
.section-container:not(.hero) .metadata-container .p {
  line-height: 140%;
  letter-spacing: -0.05rem;
}
.section-container:not(.hero) .metadata-container strong,
.section-container:not(.hero) .metadata-container .strong {
  color: var(--ny-harbor-500);
}
.section-container:not(.hero).donate {
  /* play/pause control for the looping donate imagery.
     Sits in normal flow BELOW the images — always visible and reachable
     in Tab order — and mirrors the sibling "Explore" button: button-base
     height + ny-harbor outline on a transparent fill. The higher-specificity
     selector also keeps home.scss's `button {}` rule from styling it on
     index.html. */
  /* both labels share one grid cell; the hidden one still reserves width,
     so the button never resizes between play/pause (and auto-fits if the
     label text is changed) */
}
.section-container:not(.hero).donate .metadata-container p {
  font-size: calc(var(--h6) * 0.75);
}
.section-container:not(.hero).donate .metadata-container a {
  transition: all 0.4s ease-out;
}
.section-container:not(.hero).donate .metadata-container a:hover {
  color: var(--white);
  border-color: var(--white);
}
.section-container:not(.hero).donate picture {
  width: 100%;
}
.section-container:not(.hero).donate .loop-toggle {
  align-self: flex-start; /* hug content, left-aligned under the image */
  height: clamp(2.25rem, 2.0588rem + 0.7843vw, 3rem); /* = .button-base */
  padding: 0 var(--space-32); /* = pad-left-32 / pad-right-32 */
  border: var(--size-1half) solid var(--ny-harbor-100);
  border-radius: var(--radius-4);
  background: var(--transparent);
  color: var(--ny-harbor-100);
  font-family: var(--sans);
  font-size: var(--p);
  font-weight: 500; /* anchors are weight 500 globally; "Explore" inherits it */
  cursor: pointer;
  transition: all 0.4s ease-out;
  /* stack both labels in one cell so the width tracks the widest label
     and the button never resizes between Pause/Play */
  display: inline-grid;
  place-items: center;
}
.section-container:not(.hero).donate .loop-toggle:hover {
  color: var(--white);
  border-color: var(--white);
}
.section-container:not(.hero).donate .loop-toggle-label {
  grid-area: 1/1;
}
.section-container:not(.hero).donate .loop-toggle-label--play {
  visibility: hidden;
}
.section-container:not(.hero).donate .loop-toggle.is-paused .loop-toggle-label--play {
  visibility: visible;
}
.section-container:not(.hero).donate .loop-toggle.is-paused .loop-toggle-label--pause {
  visibility: hidden;
}
.section-container:not(.hero).donate .loop-toggle:focus-visible {
  outline: var(--size-2) solid var(--ny-harbor-500);
  outline-offset: var(--size-2);
}

main {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.content-container:not(.hero) figure {
  overflow: hidden;
  align-self: center;
  width: 100%;
}
.content-container:not(.hero) figure picture {
  overflow: hidden;
  border-radius: 8px;
}
.content-container:not(.hero) figure figcaption {
  font-size: calc(var(--p) * 0.95);
  grid-column: 1/-1;
  align-self: flex-start;
}
.content-container:not(.hero) figure figcaption p {
  min-height: var(--space-64);
}
.content-container:not(.hero) figure.transform picture img {
  transform: scale(1.2);
  transform-origin: top center;
  border-radius: 8px;
}
.content-container:not(.hero) .metadata-container p.indent {
  transform: translateX(60px);
  width: calc(100% - 60px);
}
@media (max-width: 767px) {
  .content-container:not(.hero) .metadata-container .eyebrow {
    transform: none;
  }
}

.section-container:not(:has(.hero)) {
  padding: var(--space-72) 0 var(--space-64);
}

.liberty-mutual .content-container:not(.hero) figure {
  align-items: center;
}

/* ----------------------------------------------------------------
   Donor-timeline navigation carousel

   Turns each .navigation into a horizontally scrollable rail of year
   links with prev/next arrows that overlay the track edges. Shared by
   every .nav-carousel on the page so one set of JS/CSS drives them all.

   Namespaced .nav-carousel-* on purpose — it must NOT collide with the
   index.html story carousel, which uses .carousel-* / .timeline-*.
------------------------------------------------------------------ */
.nav-carousel {
  position: relative;
  --nav-arrow-gutter: 2.75rem;
}

.nav-carousel-track {
  width: 100%;
  max-width: 800px;
  height: 100%;
  margin-inline: auto;
  justify-content: safe center;
  padding-inline: var(--nav-arrow-gutter);
  scroll-padding-inline: var(--nav-arrow-gutter);
}
@media (max-width: 767px) {
  .nav-carousel-track {
    padding-inline: 1.25rem;
    scroll-padding-inline: 1.25rem;
  }
}

header.timeline-stories .navigation .nav-carousel-track {
  justify-content: safe center;
  padding-inline: var(--nav-arrow-gutter);
}
@media (max-width: 767px) {
  header.timeline-stories .navigation .nav-carousel-track {
    padding-inline: 1.25rem;
  }
}

.nav-carousel-arrow {
  position: absolute;
  bottom: 50%;
  z-index: 2;
  transform: translateY(50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 1px);
  width: var(--space-64);
  padding: 0 var(--space-12);
  background: inherit;
}
.nav-carousel-arrow:hover img {
  opacity: 1;
}
.nav-carousel-arrow img {
  opacity: 0.6;
  transition: opacity 0.4s ease-out;
}
.nav-carousel-arrow.nav-carousel-arrow--prev {
  justify-content: flex-start;
  padding-left: var(--space-8);
}
.nav-carousel-arrow.nav-carousel-arrow--next {
  justify-content: flex-end;
  padding-right: var(--space-8);
}
.nav-carousel-arrow img {
  display: block;
  width: auto;
  height: var(--space-24);
  pointer-events: none;
}
.nav-carousel-arrow.is-hidden {
  display: none;
}
@media (max-width: 767px) {
  .nav-carousel-arrow {
    display: none;
  }
}

.nav-carousel-arrow--prev {
  left: max(0px, 50% - 400px);
}

.nav-carousel-arrow--next {
  right: max(0px, 50% - 400px);
}

/* ----------------------------------------------------------------
   Caption + image pairing  (liberty-mutual-captions-bottom-aligned.html)

   These figures hold all the images plus one spanning <figcaption> of
   captions. display:contents flattens the figcaption so each caption
   becomes a grid item of the figure, placed directly beneath its image.
   Images bottom-align via the figure's .align-end class; captions sit on
   one shared baseline.

   Source of truth: Kayhan's explicit grid placement. Desktop = 3 across;
   <=1200 = 2 across + 3rd image/caption full-width; <=767 = single column.
   Scoped to .grid-dynamic-3c:has(figcaption) — only this file matches.
------------------------------------------------------------------ */
.section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) {
  grid-template-columns: repeat(3, 1fr);
}
.section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption {
  display: contents;
}
.section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p {
  align-self: start;
}
@media (max-width: 1200px) {
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, min-content);
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(1) {
    grid-column: 1/span 1;
    grid-row: 1/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(2) {
    grid-column: 2/span 1;
    grid-row: 1/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(3) {
    grid-column: 1/-1;
    grid-row: 3/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(1) {
    grid-column: 1/span 1;
    grid-row: 2/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(2) {
    grid-column: 2/span 1;
    grid-row: 2/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(3) {
    grid-column: 1/-1;
    grid-row: 4/span 1;
  }
}
@media (max-width: 767px) {
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, min-content);
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(1) {
    grid-column: 1/span 1;
    grid-row: 1/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(2) {
    grid-column: 1/span 1;
    grid-row: 3/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > picture:nth-of-type(3) {
    grid-column: 1/-1;
    grid-row: 5/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(1) {
    grid-column: 1/span 1;
    grid-row: 2/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(2) {
    grid-column: 1/span 1;
    grid-row: 4/span 1;
  }
  .section-container .content-container:not(.hero) figure.grid-dynamic-3c:has(figcaption) > figcaption > p:nth-of-type(3) {
    grid-column: 1/-1;
    grid-row: 6/span 1;
  }
}

footer {
  background: var(--gray-900);
  border-top: 1px solid var(--gray-600);
}
footer .footer-container * {
  font-size: var(--p-sm);
  font-weight: var(--fw-400);
}
footer .footer-container a {
  text-decoration: underline;
}
footer .footer-container figure {
  width: 20vw;
  max-width: 320px;
}
@media (max-width: 767px) {
  footer .footer-container figure {
    width: 60vw;
    max-width: 280px;
  }
}

@media (max-width: 1024px) {
  footer .footer-container {
    flex-direction: column;
    align-items: center;
    gap: var(--space-32);
  }
  footer .footer-container .legal {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  footer .footer-container figure {
    width: 32vw;
    max-width: 420px;
  }
}
/* =========================================================
   Full-page preloader / loading overlay

   Black overlay shown on first paint, with a centered spinner
   and a live "percent loaded" readout. Crossfades out to reveal
   the page once loading completes (see js/preloader.js).

   Swappable by design:
   - SPINNER: replace the SVG block in the HTML; the spin is the
     `preloader-spin` animation on `.preloader__spinner`.
   - REVEAL: change the `.preloader.is-loaded` rule below (today a
     simple opacity crossfade) for a theatrical wipe/curtain later.

   JS only toggles `.is-loaded` / `.is-hidden`; all visual
   behaviour lives here.
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1100; /* above .skip-link (1000) and all page chrome */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  opacity: 1;
  transition: opacity 0.5s ease; /* SWAPPABLE REVEAL */
  will-change: opacity;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}

.preloader__spinner {
  width: 48px;
  height: 48px;
  animation: preloader-spin 1s linear infinite; /* SWAPPABLE SPIN */
}

.preloader__track {
  stroke: var(--white-alpha-20);
}

.preloader__arc {
  stroke: var(--white);
  stroke-linecap: round;
  stroke-dasharray: 90 150; /* partial arc -> the open "loop" gap */
}

.preloader__pct {
  color: var(--white);
  font-family: var(--sans);
  font-variant-numeric: tabular-nums; /* no width jitter as digits change */
  letter-spacing: 0.02em;
}

/* --- state machine (JS toggles only these) --- */
.preloader.is-loaded {
  opacity: 0; /* SWAPPABLE REVEAL: swap for a curtain/wipe later */
  pointer-events: none; /* stop the fading overlay from eating clicks before
   its DOM node is removed (keyboard was unaffected) */
}

.preloader.is-hidden {
  display: none;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}
/* --- reduced motion: static ring, instant reveal --- */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }
  .preloader__spinner {
    animation: none;
  }
}
