:root {
  --ink: #191816;
  --muted: #68645f;
  --paper: #fffaf3;
  --surface: #f5efe7;
  --white: #ffffff;
  --yellow: #ffcf2f;
  --yellow-dark: #4f3d00;
  --lilac: #c8b4da;
  --purple: #633984;
  --coral: #df9185;
  --line: rgba(25, 24, 22, 0.14);
  --radius-lg: 38px;
  --radius-md: 24px;
  --shadow: 0 24px 70px rgba(52, 39, 28, 0.1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow,
.article-narrow {
  max-width: 820px;
}

.section {
  padding-block: clamp(72px, 9vw, 136px);
}

.section-tight {
  padding-top: 0;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
}

.brand-mark,
.empty-state-mark {
  position: relative;
  display: block;
  width: 58px;
  height: 40px;
}

.brand-mark span,
.empty-state-mark span {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.brand-mark span:first-child,
.empty-state-mark span:first-child {
  left: 0;
  background: var(--yellow);
}

.brand-mark span:last-child,
.empty-state-mark span:last-child {
  right: 0;
  background: rgba(171, 141, 197, 0.82);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  font-size: 16px;
  font-weight: 600;
}

.main-navigation > a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation > a:not(.support-button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-navigation > a:hover::after,
.main-navigation > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.support-button {
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--yellow-dark);
  box-shadow: 0 8px 18px rgba(170, 125, 0, 0.17);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(170, 125, 0, 0.25);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  align-items: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: saturate(0.95);
}

.hero::before {
  width: clamp(300px, 47vw, 680px);
  aspect-ratio: 1;
  right: -6vw;
  top: -23%;
  background: var(--lilac);
}

.hero::after {
  width: clamp(230px, 34vw, 490px);
  aspect-ratio: 1;
  right: 24vw;
  bottom: -43%;
  background: rgba(255, 207, 47, 0.9);
}

.eyebrow,
.section-label,
.footer-kicker {
  margin: 0 0 20px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1 {
  max-width: 920px;
  margin-bottom: 30px;
  font-size: clamp(54px, 7.5vw, 108px);
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--purple);
}

.hero-lead,
.page-lead,
.article-summary {
  max-width: 720px;
  margin: 0;
  color: #393530;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.35;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.photo-card-left {
  transform: rotate(-1.5deg);
}

.photo-card-right {
  transform: rotate(1.5deg);
}

.story-copy h2,
.project-card h2,
.details-card h2,
.document-groups h2,
.empty-state h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4.3vw, 58px);
  letter-spacing: -0.035em;
}

.story-copy p,
.project-card p,
.prose p {
  color: #3d3934;
}

.story-copy-secondary {
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--yellow-dark);
}

.story-copy-secondary p {
  color: inherit;
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
}

.page-hero-grid-reverse > div {
  order: 2;
}

.page-hero h1,
.page-heading h1,
.article-header h1 {
  font-size: clamp(50px, 7vw, 92px);
}

.page-hero-image {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-heading {
  padding-bottom: clamp(54px, 7vw, 90px);
}

.prose {
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.48;
}

.prose-wide {
  max-width: 940px;
}

.project-list {
  display: grid;
  gap: 36px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.project-card-reverse img {
  order: 2;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.project-card h2 {
  font-size: clamp(30px, 3.8vw, 50px);
}

.card-number {
  color: var(--purple) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.documents-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.details-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: var(--lilac);
}

.details-card h2,
.document-groups h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.details-card dl {
  margin: 0;
}

.details-card dl > div {
  padding: 18px 0;
  border-top: 1px solid rgba(25, 24, 22, 0.16);
}

.details-card dt {
  margin-bottom: 5px;
  color: #544760;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.document-groups {
  display: grid;
  gap: 60px;
}

.download-list {
  border-top: 1px solid var(--line);
}

.download-list a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.download-list a:hover span:first-child {
  color: var(--purple);
}

.download-list span:last-child {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.52;
  background: var(--surface);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.025);
}

.news-card-body {
  padding: clamp(24px, 4vw, 40px);
}

.news-card time,
.article-header time {
  display: block;
  margin-bottom: 16px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h2 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.news-card h2 a {
  text-decoration: none;
}

.news-card p {
  color: var(--muted);
}

.news-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.news-placeholder span {
  position: absolute;
  width: 130px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.news-placeholder span:first-child {
  transform: translateX(-38px);
  background: var(--yellow);
}

.news-placeholder span:last-child {
  transform: translateX(38px);
  background: rgba(171, 141, 197, 0.82);
}

.empty-state {
  grid-column: 1 / -1;
  padding: clamp(50px, 9vw, 110px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.empty-state-mark {
  width: 84px;
  height: 58px;
  margin: 0 auto 28px;
}

.empty-state-mark span {
  width: 58px;
  height: 58px;
}

.empty-state h2 {
  margin-bottom: 14px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.article-header {
  padding-bottom: clamp(50px, 7vw, 90px);
}

.article-header .back-link {
  margin-bottom: 64px;
}

.article-header h1 {
  margin-bottom: 28px;
}

.article-gallery {
  margin-bottom: 0;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.carousel-slide {
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  max-height: 780px;
  aspect-ratio: 1.56;
  object-fit: cover;
}

.carousel-slide figcaption {
  padding: 15px 22px;
  color: var(--muted);
  background: var(--white);
  font-size: 15px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.carousel-controls button:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.carousel-controls p {
  min-width: 54px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.article-body-section {
  padding-top: clamp(60px, 8vw, 110px);
}

.rich-text {
  font-size: clamp(19px, 2vw, 23px);
}

.rich-text h2,
.rich-text h3 {
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  letter-spacing: -0.025em;
}

.rich-text h2 {
  font-size: clamp(31px, 3.5vw, 48px);
}

.rich-text h3 {
  font-size: clamp(25px, 2.6vw, 34px);
}

.rich-text p,
.rich-text ul,
.rich-text ol {
  margin-bottom: 1.35em;
}

.site-footer {
  margin-top: clamp(30px, 6vw, 90px);
  padding-block: 68px 42px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 90px;
}

.footer-kicker {
  color: var(--yellow);
}

.footer-email {
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-underline-offset: 7px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-links a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.social-links svg {
  width: 24px;
  fill: currentColor;
}

.legal-links {
  display: grid;
  align-content: start;
  gap: 13px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
  text-underline-offset: 4px;
}

.footer-org {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100% - 48px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.cookie-banner p {
  margin: 0 0 18px;
  font-size: 16px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cookie-actions button {
  padding: 11px 23px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button:hover {
  background: #754799;
}

.cookie-actions a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    inset: 104px 0 auto;
    display: none;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 28px 20px 40px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 22px;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation > a {
    padding: 14px 0;
  }

  .main-navigation > a:not(.support-button)::after {
    display: none;
  }

  .support-button {
    margin-top: 14px;
    text-align: center;
  }
}

@media (max-width: 800px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 86px;
  }

  .main-navigation {
    top: 86px;
    max-height: calc(100vh - 86px);
  }

  .hero {
    min-height: 560px;
  }

  .hero::before {
    right: -35%;
    top: -6%;
    opacity: 0.72;
  }

  .hero::after {
    right: 30%;
    bottom: -20%;
    opacity: 0.68;
  }

  h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .story-grid,
  .page-hero-grid,
  .project-card,
  .documents-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-left,
  .photo-card-right {
    transform: none;
  }

  .story-copy-secondary {
    order: 4;
  }

  .page-hero-grid-reverse > div,
  .project-card-reverse img {
    order: initial;
  }

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

  .footer-grid {
    gap: 42px;
  }

  .footer-org {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 14px;
  }

  .section {
    padding-block: 64px;
  }

  .section-tight {
    padding-top: 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .page-hero h1,
  .page-heading h1,
  .article-header h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .photo-card,
  .page-hero-image,
  .project-card,
  .details-card,
  .news-card,
  .carousel-viewport,
  .empty-state {
    border-radius: 24px;
  }

  .article-header .back-link {
    margin-bottom: 42px;
  }

  .carousel-slide img {
    aspect-ratio: 1.05;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
