:root {
  --white: #fafafa;
  --black: #0d0e07;
  --burgundy: #640231;
  --gray: #cecece;
}

/* Figma title font */
@font-face {
  font-family: "Angry";
  src: url("Angry/Angry.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--gray);
  z-index: 1000;
  transform: translateX(-120%);
}
.skip-link:focus {
  left: 10px;
  transform: translateX(0);
}

/* Typography tokens from Figma */
.h1,
h1.h1 {
  font-family: "Angry", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.h2 {
  font-family: "Angry", "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.38px;
  text-transform: uppercase;
  margin: 0;
}

.h3 {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
}

.p {
  font-weight: 200;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.subtitle {
  font-weight: 200;
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
}

.small {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.7;
}

.muted {
  opacity: 0.4;
}

.page {
  width: 100%;
}

.section {
  width: 100%;
  padding: 100px 120px;
}

.section__title-row {
  width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

/* Caption (Figma): transparent rectangle with thin corner strokes */
.caption {
  position: relative;
  width: 245px;
  height: 42px;
  background: transparent;
  /* 4 corners, each made from two 1px strokes */
  background:
    /* top-left */
    linear-gradient(var(--black), var(--black)) left top / 10px 1px no-repeat,
    linear-gradient(var(--black), var(--black)) left top / 1px 10px no-repeat,
    /* top-right */
    linear-gradient(var(--black), var(--black)) right top / 10px 1px no-repeat,
    linear-gradient(var(--black), var(--black)) right top / 1px 10px no-repeat,
    /* bottom-left */
    linear-gradient(var(--black), var(--black)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--black), var(--black)) left bottom / 1px 10px no-repeat,
    /* bottom-right */
    linear-gradient(var(--black), var(--black)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--black), var(--black)) right bottom / 1px 10px no-repeat;
}

.caption__inner {
  position: absolute;
  inset: 0;
  /* Center the content block strictly inside the corner frame */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 42px;
  width: 245px;
}

.caption__icon {
  /* Figma icon in caption is ~29x32 */
  width: 29px;
  height: 32px;
  display: block;
  margin-right: -1px;
}

.caption__text {
  font-size: 16px;
  line-height: 1.5;
  width: 172px;
  text-align: center;
  white-space: nowrap;
}

/* HERO */
.hero {
  position: relative;
  width: 1440px;
  height: 880px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Keep the darkening for readability, but leave the bottom edge untouched
     so the boundary to the next white block is clearly visible. */
  background:
    radial-gradient(60% 60% at 50% 38%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* Fade the overlay out near the bottom (do NOT add white haze) */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 82%, transparent 100%);
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 2;
  padding: 7px 120px;
}

.header__inner {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: rgba(250, 250, 250, 0.1);
  color: var(--white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
}

.header__logo {
  width: 87px;
  height: 87px;
  flex: 0 0 auto;
}

.header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
}

.header__link {
  font-weight: 200;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.28px;
  color: var(--white);
  padding-bottom: 6px;
}

.switcher {
  flex: 0 0 auto;
  width: 82px;
  height: 40px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(250, 250, 250, 0.1);
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.switcher__label {
  font-size: 15px;
  line-height: 1.3;
}

.switcher__chev {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 0.95;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 1181px;
  margin: 402px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__title-wrap {
  width: 1181px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hero__line {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.hero__line2 {
  width: 100%;
  text-align: center;
}

.btn-hero {
  position: relative;
  width: 196px;
  height: 42px;
  display: block;
}

.btn-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 188px;
  height: 34px;
  background: var(--burgundy);
  opacity: 0.6;
  backdrop-filter: blur(2px);
}

/* Figma corners: thin 1px L-shapes (10px) on the outer 196x42 */
.btn-hero {
  background:
    /* top-left */
    linear-gradient(var(--white), var(--white)) left top / 10px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left top / 1px 10px no-repeat,
    /* top-right */
    linear-gradient(var(--white), var(--white)) right top / 10px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right top / 1px 10px no-repeat,
    /* bottom-left */
    linear-gradient(var(--white), var(--white)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left bottom / 1px 10px no-repeat,
    /* bottom-right */
    linear-gradient(var(--white), var(--white)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right bottom / 1px 10px no-repeat;
}

.btn-hero__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
}

.btn-hero__icon {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 12px;
  height: 12px;
  margin-left: 0;
  display: block;
  filter: invert(1);
}

.hero__subtitle {
  width: 631px;
  text-align: center;
  color: var(--white);
}

/* ABOUT */
.about {
  width: 1440px;
  margin: 0 auto;
  height: 1229px;
  position: relative;
}

.about__content-block {
  position: absolute;
  left: 0;
  top: 100px;
  width: 1440px;
  height: 1129px;
}

.about__bg {
  position: absolute;
  inset: 0;
}

.about__bg-img {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 1129px;
  object-fit: cover;
  opacity: 0.98;
}

.about__top-fade {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 220px;
  background: linear-gradient(to bottom, var(--white), rgba(250, 250, 250, 0));
}

.about__bottom-fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1440px;
  height: 575px;
  background: linear-gradient(to top, var(--white), rgba(250, 250, 250, 0));
}

.about__title-row {
  position: absolute;
  left: 120px;
  top: 100px;
  width: 1200px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.about__text {
  position: absolute;
  left: 934px;
  top: 220px;
  width: 386px;
}

/* PROBLEM */
.problem__cards {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0;
  align-items: stretch;
  flex-wrap: nowrap;
}

.card-problem {
  width: 387px;
  height: 409px;
  border: 1px solid var(--gray);
  position: relative;
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 387px;
}

/* Burgundy thin corner strokes on all 4 corners (10px, 1px) */
.card-problem::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* top-left */
    linear-gradient(var(--burgundy), var(--burgundy)) left top / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) left top / 1px 10px no-repeat,
    /* top-right */
    linear-gradient(var(--burgundy), var(--burgundy)) right top / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right top / 1px 10px no-repeat,
    /* bottom-left */
    linear-gradient(var(--burgundy), var(--burgundy)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) left bottom / 1px 10px no-repeat,
    /* bottom-right */
    linear-gradient(var(--burgundy), var(--burgundy)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right bottom / 1px 10px no-repeat;
}

.card-problem__img {
  width: 347px;
  height: 197px;
  position: relative;
  overflow: hidden;
}

.card-problem__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-problem__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(157.551deg, rgba(13, 14, 7, 0.3) 21.499%, rgba(13, 14, 7, 0) 78.939%);
}

.card-problem__img-overlay--right {
  background: linear-gradient(-62.8deg, rgba(13, 14, 7, 0.44) 7.53%, rgba(13, 14, 7, 0) 98.62%);
}

.card-problem__img-tag {
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.card-problem__img-tag--bottom {
  left: auto;
  right: 20px;
  top: auto;
  bottom: 20px;
}

.card-problem__text {
  height: 120px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-problem--outcome {
  overflow: hidden;
}

.card-problem__outcome {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-problem__outcome-img {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 360px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

.card-problem__outcome-tag {
  margin-top: auto;
}

/* PROGRAM */
.program {
  padding-left: 0;
  padding-right: 0;
}

.program .section__title-row {
  width: 1200px;
}

.program__stage {
  /* Full-bleed (no right gap on wide screens) */
  width: 100vw;
  height: 768px;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

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

.program__fade-top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, var(--white), rgba(250, 250, 250, 0));
}

.program__fade-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to top, var(--white), rgba(250, 250, 250, 0));
}

.mini-card {
  position: absolute;
  width: 387px;
  height: 104px;
}

.mini-card__inner {
  position: absolute;
  inset: 4px;
  /* Slightly transparent so white corner strokes are visible */
  background: rgba(250, 250, 250, 0.6);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  z-index: 2;
}

/* Draw corners as an overlay so they stay visible */
.mini-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) left top / 10px 1px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) left top / 1px 10px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) right top / 10px 1px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) right top / 1px 10px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) left bottom / 10px 1px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) left bottom / 1px 10px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) right bottom / 10px 1px no-repeat,
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)) right bottom / 1px 10px no-repeat;
}

.mini-card__img {
  width: 76px;
  height: 76px;
  object-fit: cover;
}

.mini-card__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  width: 253px;
}

.mini-card--a {
  left: 323px;
  top: 88px;
}
.mini-card--b {
  left: 122px;
  top: 252px;
}
.mini-card--c {
  left: 933px;
  top: 386px;
}
.mini-card--d {
  left: 50%;
  transform: translateX(-50%);
  top: 550px;
}

/* HISTORY */
.history__top {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
}

.history__photo {
  width: 794px;
  height: 336px;
  position: relative;
  overflow: hidden;
}

.history__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history__copy {
  width: 386px;
}

.history__copy p {
  margin: 0 0 12px;
}

.history__stats {
  width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
}

.stat-card {
  width: 387px;
  border: 1px solid var(--gray);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 387px;
}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.stat-card::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.stat-card::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.stat-card__top {
  display: flex;
  align-items: flex-start;
  height: 51px;
}

.stat-card__num {
  width: 303px;
  font-weight: 300;
  font-size: 70px;
  line-height: 1.15;
  letter-spacing: -2.1px;
  text-transform: uppercase;
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  background: var(--burgundy);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stat-card__svg {
  width: 24px;
  height: 24px;
  display: block;
}

.stat-card__text {
  opacity: 0.7;
}

/* REGIONS */
.regions {
  width: 1440px;
  margin: 0 auto;
  position: relative;
  height: 1132px;
  overflow: hidden;
}

.regions__title-row {
  position: absolute;
  left: 120px;
  top: 100px;
  width: 1200px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  z-index: 3;
}

.regions__text {
  position: absolute;
  left: 120px;
  top: 231px;
  width: 386px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 3;
}

.regions__controls {
  position: absolute;
  left: 120px;
  top: 388px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  z-index: 3;
}

.arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 50px;
  height: 50px;
  border: 1px solid var(--gray);
  background: transparent;
  position: relative;
  cursor: pointer;
}

.arrow-btn::before,
.arrow-btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.arrow-btn::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.arrow-btn::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.arrow-btn--prev {
  background: rgba(250, 250, 250, 0.6);
}

.arrow-btn--prev::marker {
  content: "";
}

.arrow-btn--prev::selection {
  background: transparent;
}

.arrow-btn--prev::before,
.arrow-btn--prev::after {
  border-color: var(--burgundy);
}

.arrow-btn--prev {
  background-image: url("Icons,%20vector/arrow-left-burgundy.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.arrow-btn--next {
  background-image: url("Icons,%20vector/arrow-right-burgundy.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.regions__count {
  font-size: 16px;
  line-height: 1.5;
}

.regions__map {
  position: absolute;
  left: 0;
  top: 100px;
  width: 1440px;
  height: 932px;
  z-index: 1; /* behind title/text/controls */
}

.regions__map-figure {
  position: absolute;
  left: 120px;
  top: 0;
  width: 1200px;
}

.regions__cutout {
  position: absolute;
  left: var(--cut-x, 0px);
  top: var(--cut-y, 0px);
  width: var(--cut-w, 0px);
  pointer-events: none;
  z-index: 2;
}

.regions__cutout-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* subtle outline like in Figma */
  filter:
    drop-shadow(0 0 0.63px rgba(13, 14, 7, 0.65))
    drop-shadow(0 0 0.63px rgba(13, 14, 7, 0.25));
}

.regions__map-img {
  width: 1200px;
  height: auto;
  display: block;
  pointer-events: none; /* do not block text selection/clicks */
  user-select: none;
}

.regions__point {
  position: absolute;
  /* default (can be overridden by JS per map state) */
  left: var(--pt-x, 76.3%);
  top: var(--pt-y, 36%);
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  z-index: 2;
  pointer-events: none;
}

.regions__point-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(250, 250, 250, 0.9);
  position: relative;
  flex: 0 0 auto;
}

.regions__point-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.95);
  transform: translate(-50%, -50%);
}

.regions__thumbs {
  position: absolute;
  left: 0;
  top: 524px;
  display: flex;
  gap: 20px;
  z-index: 2;
  pointer-events: none;
}

.regions__thumbs img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* STORIES */
.stories__content {
  width: 1200px;
  margin: 0 auto;
  height: 607px;
  display: flex;
  /* Figma layout: image 590 + gutter 183 (for arrows) + story block 427 = 1200 */
  gap: 183px;
  position: relative;
}

.stories__image {
  width: 590px;
  height: 607px;
  position: relative;
  overflow: hidden;
}

.stories__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories__fade-top,
.stories__fade-left,
.stories__fade-right,
.stories__fade-bottom {
  position: absolute;
  pointer-events: none;
}
.stories__fade-top {
  top: 0;
  left: 0;
  width: 590px;
  height: 76px;
  background: linear-gradient(to bottom, var(--white), rgba(250, 250, 250, 0));
}
.stories__fade-left {
  top: 0;
  left: 0;
  width: 139px;
  height: 607px;
  background: linear-gradient(to right, var(--white), rgba(250, 250, 250, 0));
}
.stories__fade-right {
  top: 0;
  right: 0;
  width: 85px;
  height: 607px;
  background: linear-gradient(to left, var(--white), rgba(250, 250, 250, 0));
}
.stories__fade-bottom {
  bottom: 0;
  left: 0;
  width: 590px;
  height: 170px;
  background: linear-gradient(to top, var(--white), rgba(250, 250, 250, 0));
}

.stories__text {
  width: 427px;
  position: relative;
}

.stories__quotes {
  width: 20px;
  height: 27px;
  flex: 0 0 auto;
  margin-top: 0;
}

.stories__story {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.quote {
  margin-top: 0;
  width: 386px;
}

.quote p {
  font-family: Inter, system-ui, sans-serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 20px;
}

.quote__source {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
  margin: 0;
}

.author-card {
  width: 386px;
  border: 1px solid var(--gray);
  margin-left: 40px;
  margin-top: 20px;
  padding: 19px;
  position: relative;
}

.author-card::before,
.author-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.author-card::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.author-card::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.author-card__name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.author-card__role {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
}

.stories__arrows {
  position: absolute;
  left: 609px;
  top: var(--stories-arrows-top, 557px);
  z-index: 2;
}

/* NEWS */
.news__grid {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.news-card {
  border: 1px solid var(--gray);
  position: relative;
  padding: 19px;
}

.news-card::before,
.news-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.news-card::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.news-card::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.news-card__img {
  width: 100%;
  height: 197px;
  object-fit: cover;
}

.news-card__img--lg {
  height: 320px;
}

.news-card__body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.news-card--sm {
  width: 387px;
  height: 389px;
}
.news-card--lg {
  width: 488px;
  height: 490px;
}
.news-card--xs {
  width: 285px;
  height: 413px;
}

.btn-pink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 54px;
  margin: 54px auto 0;
  /* normalize for <a> and <button> to look identical */
  padding: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  background:
    /* corners */
    linear-gradient(var(--burgundy), var(--burgundy)) left top / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) left top / 1px 10px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right top / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right top / 1px 10px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) left bottom / 1px 10px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--burgundy), var(--burgundy)) right bottom / 1px 10px no-repeat;
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

.btn-pink::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 176px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: var(--burgundy);
  z-index: 0;
}

.btn-pink__label {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  white-space: nowrap;
}

/* FORM */
.form {
  width: 1440px;
  height: 856px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.form__bg {
  position: absolute;
  left: 0;
  top: 100px;
  width: 1440px;
  /* Extend background to the bottom of the section so the ragged edge lands on the footer transition */
  height: 756px;
  overflow: hidden;
}

.form__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 30%;
}

.form__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(250, 250, 250, 0), var(--white));
}

.form__title-row {
  position: absolute;
  left: 120px;
  top: 210px;
  width: 1200px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form__content {
  position: absolute;
  left: 120px;
  top: 321px;
  width: 386px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Form button: immediately below fields, left-aligned (no global centering margin) */
.form__fields .btn-pink {
  margin: 12px 0 0;
}

.field {
  width: 386px;
  height: 49px;
  border: 1px solid var(--gray);
  position: relative;
}

.field::before,
.field::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.field::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.field::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}

.field__input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 19px;
  font-size: 14px;
  line-height: 1.5;
  font-family: inherit;
  color: var(--black);
  opacity: 0.7;
}

.field__input:focus {
  outline: 2px solid rgba(100, 2, 49, 0.25);
  outline-offset: 2px;
  opacity: 1;
}

/* FOOTER */
.footer {
  width: 1440px;
  margin: 0 auto;
  padding: 60px 120px;
  background: var(--white);
}

.footer__inner {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer__left {
  width: 590px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__logo {
  display: flex;
  gap: 14px;
  align-items: center;
  height: 43px;
  width: 155px;
}

.footer__logo-text {
  width: 102px;
  font-size: 16px;
  line-height: 1.04;
  letter-spacing: -0.48px;
  color: var(--burgundy);
  font-weight: 600;
}

.footer__copy {
  width: 305px;
  color: var(--black);
  opacity: 0.7;
}

.footer__right {
  width: 590px;
  height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__headline {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--burgundy);
  opacity: 0.7;
}

/* Responsive fallback (not in Figma, but keeps page usable) */
@media (max-width: 1440px) {
  .hero,
  .about,
  .regions,
  .form,
  .footer {
    width: 100%;
  }

  .section,
  .header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section__title-row,
  .hero__content,
  .about__title-row,
  .regions__title-row,
  .form__title-row,
  .footer__inner {
    width: min(1200px, calc(100% - 48px));
  }

  .header__inner {
    width: min(1200px, calc(100% - 48px));
    gap: 20px;
  }

  .hero__content {
    margin-top: 280px;
  }

  .problem__cards,
  .history__top,
  .history__stats,
  .news__grid,
  .stories__content {
    width: min(1200px, calc(100% - 48px));
  }

  .problem__cards,
  .history__stats,
  .news__grid {
    flex-wrap: wrap;
  }
}

/* =========================
   Mobile adaptive overrides
   ========================= */
/* (max-width: 900px) block removed: rules duplicated by 980px+ and a dedicated 768px breakpoint below. */

/* -----------------------
   Mobile / tablet layout
   (Overrides only; desktop remains unchanged)
------------------------ */
@media (max-width: 980px) {
  .section {
    padding: 64px 16px;
  }

  .section__title-row {
    width: 100%;
    margin: 0 auto 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Program section has a more specific fixed width; override it for tablet/mobile */
  .program .section__title-row {
    width: 100%;
  }

  .h1,
  h1.h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .h2 {
    font-size: 26px;
    line-height: 1.15;
  }

  /* HERO */
  .hero {
    width: 100%;
    height: auto;
    min-height: 720px;
  }

  .header {
    padding: 16px;
  }

  .header__inner {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .header__logo {
    width: 64px;
    height: 64px;
  }

  .header__nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .header__nav::-webkit-scrollbar {
    display: none;
  }

  .header__link {
    white-space: nowrap;
  }

  .switcher {
    width: auto;
    padding: 8px 10px;
  }

  .hero__content {
    width: 100%;
    margin: 220px auto 0;
    padding: 0 16px;
  }

  .hero__title-wrap {
    width: 100%;
    align-items: flex-start;
  }

  .hero__line {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .hero__line2 {
    text-align: left;
  }

  .hero__subtitle {
    width: 100%;
    text-align: left;
  }

  /* ABOUT (was absolute-heavy) */
  .about {
    width: 100%;
    height: auto;
    padding: 64px 16px;
  }

  .about__content-block {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .about__bg {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .about__bg-img {
    position: relative;
    width: 100%;
    height: 360px;
    object-fit: cover;
  }

  .about__top-fade,
  .about__bottom-fade {
    width: 100%;
  }

  .about__title-row {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 0 0 14px;
    flex-direction: column;
    gap: 12px;
  }

  .about__text {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  /* Problem cards */
  .problem__cards {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .card-problem {
    width: 100%;
    flex: 0 0 auto;
    height: auto;
  }

  .card-problem__img,
  .card-problem__img img {
    width: 100%;
  }

  .card-problem__img {
    height: 200px;
  }

  .card-problem__text {
    height: auto;
  }

  /* Prevent decorative outcome image from creating horizontal overflow */
  .card-problem__outcome-img {
    right: -10px;
    bottom: -10px;
    width: 260px;
  }

  /* Program */
  .program__stage {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 560px;
  }

  .mini-card {
    position: static;
    width: 100%;
    height: auto;
    margin: 12px 16px 0;
  }

  /* Remove absolute-positioning transforms from desktop layout */
  .mini-card--a,
  .mini-card--b,
  .mini-card--c,
  .mini-card--d {
    left: auto;
    top: auto;
    transform: none;
  }

  .mini-card__inner {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .mini-card__text {
    width: auto;
  }

  /* History */
  .history__top {
    width: 100%;
    flex-direction: column;
  }

  .history__photo {
    width: 100%;
    height: 220px;
  }

  .history__copy {
    width: 100%;
  }

  .history__stats {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .stat-card {
    width: 100%;
    flex: 0 0 auto;
  }

  /* Regions (absolute -> flow) */
  .regions {
    width: 100%;
    height: auto;
    padding: 64px 16px;
    overflow: visible;
    position: relative;
  }

  .regions__title-row,
  .regions__text,
  .regions__controls {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 0 0 14px;
    z-index: 3;
  }

  .regions__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .regions__controls {
    margin-bottom: 12px;
  }

  .regions__map {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    z-index: 1;
  }

  .regions__map-figure {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .regions__map-img {
    width: 100%;
  }

  .regions__thumbs {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 12px;
    pointer-events: auto;
  }

  .regions__thumbs img {
    width: 110px;
    height: 110px;
  }

  /* Stories */
  .stories__content {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 16px;
  }

  .stories__image {
    width: 100%;
    height: 320px;
  }

  /* Stories fades were fixed-width in desktop; make them match the responsive image */
  .stories__fade-top,
  .stories__fade-bottom {
    width: 100%;
  }
  .stories__fade-left,
  .stories__fade-right {
    height: 100%;
  }

  .stories__text {
    width: 100%;
  }

  .stories__story {
    gap: 12px;
  }

  .quote {
    width: 100%;
  }

  .author-card {
    width: 100%;
    margin-left: 0;
  }

  .stories__arrows {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 12px;
  }

  /* News */
  .news__grid {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .news-card--sm,
  .news-card--lg,
  .news-card--xs {
    width: 100%;
    height: auto;
  }

  .news-card__img,
  .news-card__img--lg {
    height: 220px;
  }

  /* Form */
  .form {
    width: 100%;
    height: auto;
    padding: 64px 16px;
  }

  .form__bg {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 320px;
    margin-bottom: 16px;
  }

  .form__title-row {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .form__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .field {
    width: 100%;
  }

  .form__fields .btn-pink {
    margin-top: 12px;
  }

  /* Footer */
  .footer {
    width: 100%;
    padding: 48px 16px;
  }

  .footer__inner {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__left,
  .footer__right {
    width: 100%;
  }
}

/* =========================
   MAP PAGE (map.html)
========================= */
.map-page .header__link.is-active {
  border-bottom: 1px solid rgba(250, 250, 250, 0.9);
  padding-bottom: 6px;
}

.map-hero {
  padding-top: 24px;
}

.map-page__content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.map-page__lead {
  width: 386px;
}

.map-page__map {
  width: 793px;
  border: 1px solid rgba(206, 206, 206, 0.8);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.map-page__map img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .map-page__content {
    width: 100%;
    margin: 0;
    padding: 0 16px;
    flex-direction: column;
  }
  .map-page__lead,
  .map-page__map {
    width: 100%;
  }
}

/* Phone layout + burger menu */
@media (max-width: 768px) {
  .header {
    z-index: 100; /* ensure fixed nav overlay sits above hero content */
  }

  /* Mobile menu */
  .burger {
    display: inline-flex;
    position: relative;
    z-index: 90; /* stay clickable above the overlay */
  }

  .header__nav {
    display: none;
  }

  .header__nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    padding: 96px 20px 24px;
    flex-direction: column;
    gap: 18px;
    background: rgba(13, 14, 7, 0.88);
    backdrop-filter: blur(10px);
    z-index: 80;
  }

  .header__link {
    font-size: 18px;
    letter-spacing: 0.2px;
    padding: 10px 0;
  }

  /* Hero: center-align for phones */
  .hero__content {
    margin: 0;
    padding: 140px 16px 54px;
    align-items: center;
  }

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

  .hero__line {
    justify-content: center;
  }

  .hero__line2 {
    text-align: center;
  }

  .hero__subtitle {
    text-align: center;
    max-width: 520px;
  }
}

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

  .btn-hero {
    width: 168px;
  }
}

/* =========================
   Interactions & motion
   ========================= */
:root {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
  --dur-3: 420ms;
  --shadow-soft: 0 14px 34px rgba(13, 14, 7, 0.12);
  --shadow-tight: 0 10px 22px rgba(13, 14, 7, 0.16);
}

/* Better keyboard affordance without shifting layout */
:where(a, button, input, textarea, select):focus {
  outline: none;
}
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid rgba(100, 2, 49, 0.35);
  outline-offset: 3px;
}

/* Default transitions for interactive blocks */
:where(.btn-hero, .btn-pink, .arrow-btn, .switcher, .burger, .header__link, .footer__link) {
  transition:
    transform var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    opacity var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    filter var(--dur-2) var(--ease-out);
}

/* Hover/active only for devices that actually hover */
@media (hover: hover) and (pointer: fine) {
  /* Header links: underline reveal */
  .header__link {
    position: relative;
  }
  .header__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(250, 250, 250, 0.85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
    opacity: 0.85;
  }
  .header__link:hover {
    opacity: 0.92;
  }
  .header__link:hover::after {
    transform: scaleX(1);
  }

  /* Switcher / Burger: subtle lift */
  .switcher:hover,
  .burger:hover {
    background: rgba(250, 250, 250, 0.16);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  .switcher:active,
  .burger:active {
    transform: translateY(0);
  }

  /* Buttons */
  .btn-hero:hover::before {
    opacity: 0.78;
  }
  .btn-hero:hover {
    transform: translateY(-1px);
  }
  .btn-hero:hover .btn-hero__icon {
    transform: translateY(-50%) translateX(2px);
  }
  .btn-hero:active {
    transform: translateY(0);
  }

  .btn-pink:hover::before {
    filter: saturate(1.1);
  }
  .btn-pink:hover {
    transform: translateY(-1px);
  }
  .btn-pink:active {
    transform: translateY(0);
  }

  /* Arrow buttons */
  .arrow-btn:hover {
    border-color: rgba(100, 2, 49, 0.35);
    box-shadow: var(--shadow-tight);
    transform: translateY(-1px);
  }
  .arrow-btn:active {
    transform: translateY(0);
  }

  /* Cards: lift + image zoom (no layout shift) */
  :where(.card-problem, .stat-card, .news-card, .author-card) {
    transition:
      transform var(--dur-2) var(--ease-out),
      box-shadow var(--dur-2) var(--ease-out),
      border-color var(--dur-2) var(--ease-out);
  }

  :where(.card-problem, .stat-card, .news-card, .author-card):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(100, 2, 49, 0.28);
  }

  .card-problem__img img,
  .news-card__img,
  .mini-card__img,
  .stories__image img,
  .history__photo img,
  .about__bg-img,
  .program__bg,
  .hero__bg,
  .form__bg-img {
    transition: transform var(--dur-3) var(--ease-out), filter var(--dur-3) var(--ease-out);
    will-change: transform;
  }

  .card-problem:hover .card-problem__img img,
  .news-card:hover .news-card__img,
  .history__photo:hover img,
  .stories__image:hover img {
    transform: scale(1.03);
    filter: saturate(1.02) contrast(1.02);
  }

  /* Mini-cards on stage */
  .mini-card__inner {
    transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  }
  .mini-card:hover .mini-card__inner {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(13, 14, 7, 0.18);
  }

  /* Captions: slight highlight */
  .caption {
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  }
  .caption:hover {
    transform: translateY(-1px);
    opacity: 0.9;
  }

  /* Footer links */
  .footer__link:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Burger icon morph (works for mouse + touch; no hover required) */
.burger span {
  transition: transform var(--dur-2) var(--ease-in-out), opacity var(--dur-2) var(--ease-in-out);
  transform-origin: center;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Form fields */
.field {
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.field:focus-within {
  border-color: rgba(100, 2, 49, 0.4);
  box-shadow: 0 14px 30px rgba(100, 2, 49, 0.08);
}
.field__input::placeholder {
  transition: opacity var(--dur-2) var(--ease-out);
}
.field__input:focus::placeholder {
  opacity: 0.35;
}

/* Regions: cinematic state transitions */
.regions {
  --regions-dur: 720ms;
  --regions-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.regions__text,
.regions__map-img,
.regions__cutout-img,
.regions__thumbs img,
.regions__point {
  transition:
    opacity var(--regions-dur) var(--regions-ease),
    transform var(--regions-dur) var(--regions-ease),
    filter var(--regions-dur) var(--regions-ease);
}

.regions__point {
  transition:
    left var(--regions-dur) var(--regions-ease),
    top var(--regions-dur) var(--regions-ease),
    opacity var(--regions-dur) var(--regions-ease),
    transform var(--regions-dur) var(--regions-ease);
}

/* default: stable */
.regions__text,
.regions__map-img,
.regions__cutout-img,
.regions__thumbs img {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* during switch: fade + slight blur + tiny “lens” scale */
.regions.is-switching .regions__text,
.regions.is-switching .regions__map-img,
.regions.is-switching .regions__cutout-img,
.regions.is-switching .regions__thumbs img {
  opacity: 0;
  transform: translateY(6px) scale(0.995);
  filter: blur(2px);
}

.regions.is-switching .regions__point {
  opacity: 0.25;
  transform: scale(0.96);
}

@media (max-width: 520px) {
  .regions {
    --regions-dur: 560ms;
  }
}

/* Soft entrance for hero content (desktop/tablet/mobile) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__content {
  animation: fadeUp 700ms var(--ease-out) both;
}

/* Scroll reveal (sections/cards) */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 700ms var(--ease-out) var(--delay, 0ms),
    transform 700ms var(--ease-out) var(--delay, 0ms);
  will-change: transform, opacity;
}
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .regions__text,
  .regions__map-img,
  .regions__cutout-img,
  .regions__thumbs img,
  .regions__point {
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* =========================
   ABOUT PAGE (about.html)
   Scoped to `.about-page`
========================= */
.about-page .header__link.is-active {
  border-bottom: 1px solid rgba(250, 250, 250, 0.9);
  padding-bottom: 6px;
}

/* Hero split layout */
.about-page .hero__content--about {
  width: 1200px;
  margin: 402px auto 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 220px;
  position: relative;
  z-index: 2;
}

.about-hero__title {
  width: 600px;
  text-align: left;
}

.about-hero__aside {
  width: 386px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero__subtitle {
  color: var(--white);
  text-align: left;
}

.about-hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* CTA buttons (about hero) */
.btn-cta {
  position: relative;
  width: 184px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  /* ensure icon never overlaps centered text */
  padding: 0 22px;
  --corner-stroke: currentColor;
}

.btn-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 176px;
  height: 46px;
  background: transparent;
  z-index: 1;
}

.btn-cta {
  background:
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) left top / 10px 1px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) left top / 1px 10px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) right top / 10px 1px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) right top / 1px 10px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) left bottom / 1px 10px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--corner-stroke), var(--corner-stroke)) right bottom / 1px 10px no-repeat;
}

.btn-cta__label {
  position: relative;
  z-index: 2;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

.btn-cta__icon {
  position: relative;
  z-index: 2;
  transform: none;
  width: 16px;
  height: 16px;
  display: block;
}

.btn-cta--light {
  color: var(--burgundy);
}
.btn-cta--light::before {
  background: var(--white);
}
.btn-cta--outline {
  color: var(--white);
}
.btn-cta--outline::before {
  border: 1px solid rgba(250, 250, 250, 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover {
    transform: translateY(-1px);
  }
  .btn-cta:active {
    transform: translateY(0);
  }
  .btn-cta:hover .btn-cta__icon {
    transform: translateX(2px);
  }
}

/* Shared: caption on dark backgrounds */
.about-page .caption--light .caption__inner {
  border-color: rgba(250, 250, 250, 0.85);
}
.about-page .caption--light .caption__text {
  color: var(--white);
}
.about-page .caption--light .caption__icon {
  /* Do NOT invert (it turns burgundy backgrounds green-ish). */
  filter: none;
}

/* Bullet */
.bullet {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bullet--tight {
  gap: 7px;
}
.bullet__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(13, 14, 7, 0.25);
}
.bullet__text {
  opacity: 0.7;
}

/* History layout */
.about-history__content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.about-history__left {
  width: 387px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-history__right {
  width: 793px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-history__text p {
  margin: 0 0 12px;
}

.about-history__img {
  overflow: hidden;
}
.about-history__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-history__img--sm {
  width: 183px;
  height: 258px;
}
.about-history__img--lg {
  width: 100%;
  height: 530px;
}
.about-history__note {
  width: 386px;
}

/* Founder */
.about-founder__grid {
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 386px 386px 387px;
  grid-template-rows: auto auto;
  gap: 20px;
  position: relative;
}
.about-founder__text {
  grid-column: 1;
  grid-row: 1;
}
.about-founder__img {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 437px;
  overflow: hidden;
}
.about-founder__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-card {
  grid-column: 3;
  grid-row: 1;
  border: 1px solid var(--gray);
  padding: 20px;
  position: relative;
}
.quote-card::before,
.quote-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--burgundy);
}
.quote-card::before {
  left: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(180deg) scaleY(-1);
}
.quote-card::after {
  right: -1px;
  top: -1px;
  border-left: 0;
  border-bottom: 0;
}
.quote-card__row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.quote-card__mark {
  width: 20px;
  height: 27px;
  display: block;
  flex: 0 0 auto;
}
.quote-card__quote {
  font-family: "Inter", "Inter Tight", sans-serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 20px;
  color: rgba(13, 14, 7, 0.92);
}
.quote-card__author .small {
  opacity: 0.7;
}
.about-founder__btn {
  grid-column: 3;
  grid-row: 2;
  width: 184px;
  align-self: end;
  justify-self: start;
}
.about-founder__social {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  display: flex;
  gap: 10px;
}
.social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
}
.social-link img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Directions */
.about-directions__title {
  width: 794px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.about-directions__h2 {
  text-align: center;
}
.about-directions__lead {
  width: 386px;
  text-align: center;
}
.about-directions__diagram {
  width: 1204px;
  height: 740px;
  margin: 0 auto;
  position: relative;
}
.about-directions__list {
  display: none;
  width: 1204px;
  margin: 0 auto;
}
.dir-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13, 14, 7, 0.08);
}
.dir-item__icon {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}
.dir-item:last-child {
  border-bottom: 0;
}
.dir-item__text .small {
  opacity: 0.7;
}
.about-directions__path {
  position: absolute;
  left: 25px;
  top: 0.5px;
  width: 852.5px;
  height: 673.5px;
  display: block;
  pointer-events: none;
}
.about-directions__node-img {
  width: 44px;
  height: 44px;
  display: block;
}
.node-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.node-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  filter: invert(1);
}
.node-icon--burgundy {
  background: var(--burgundy);
}
.node-icon--dark {
  background: var(--black);
}
.about-directions__node {
  position: absolute;
}
.about-directions__node--main {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.about-directions__node--n1 {
  left: 4px;
  top: 239px;
}
.about-directions__node--n2 {
  left: 411px;
  top: 351px;
}
.about-directions__node--n3 {
  left: 853px;
  top: 429px;
}
.about-directions__node--n4 {
  left: 348px;
  top: 649px;
}
.about-directions__bullet {
  position: absolute;
  width: 285px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}
.about-directions__bullet .small {
  opacity: 0.7;
}
.about-directions__bullet--b1 {
  left: 4px;
  top: 41px;
}
.about-directions__bullet--b2 {
  left: 411px;
  top: 239px;
}
.about-directions__bullet--b3 {
  left: 919px;
  top: 429px;
}
.about-directions__bullet--b4 {
  left: 411px;
  top: 624px;
}

/* Why section */
.about-why {
  position: relative;
  width: 100%;
  height: 795px;
  overflow: hidden;
  background: var(--white);
}
.about-why__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Blend into white sections above/below without visible hard edges */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.about-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 38%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.about-why__inner {
  position: relative;
  z-index: 2;
  width: 1200px;
  margin: 0 auto;
  padding: 210px 0;
}
.about-why__title-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.about-why__h2 {
  color: var(--white);
  width: 600px;
}
.about-why__text {
  width: 386px;
  color: rgba(250, 250, 250, 0.92);
}
.about-why__text p {
  margin: 0 0 12px;
}

/* Culture */
.about-culture__content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.about-culture__img {
  overflow: hidden;
}
.about-culture__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-culture__img--sm {
  width: 183px;
  height: 258px;
  margin-top: 150px;
}
.about-culture__img--lg {
  width: 387px;
  height: 408px;
}
.about-culture__text {
  width: 386px;
}
.about-culture__text p {
  margin: 0 0 12px;
}

/* Achievements cards reuse stat-card styles */
.about-achievements__cards {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}
.about-achievements__cards .stat-card {
  flex: 1 1 0;
}
.about-achievements__cards .stat-card__icon img {
  filter: none;
}
/* About achievements: icon SVGs already include burgundy background */
.about-page .about-achievements__cards .stat-card__icon {
  background: transparent;
}
.about-page .about-achievements__cards .stat-card__icon img {
  width: 44px;
  height: 44px;
  display: block;
}

/* About form variant: align right */
.form--about .form__content {
  align-items: flex-end;
}
.form--about .form__fields,
.form--about .form__content > .p {
  width: 386px;
}

/* Responsive */
@media (max-width: 980px) {
  .about-page .hero__content--about {
    width: 100%;
    margin: 240px auto 0;
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .about-hero__title,
  .about-hero__aside {
    width: 100%;
  }
  .about-history__content,
  .about-founder__grid,
  .about-directions__diagram,
  .about-why__inner,
  .about-culture__content,
  .about-achievements__cards {
    width: 100%;
  }
  .about-history__content,
  .about-culture__content {
    flex-direction: column;
  }
  .about-history__right,
  .about-history__left,
  .about-culture__text {
    width: 100%;
  }
  .about-history__img--lg {
    height: 320px;
  }
  .about-founder__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .about-founder__img {
    grid-column: 1;
    grid-row: auto;
    height: 360px;
  }
  .quote-card {
    grid-column: 1;
  }
  .about-founder__btn,
  .about-founder__social {
    grid-column: 1;
  }
  .about-directions__diagram {
    display: none;
  }
  .about-directions__list {
    display: block;
    width: 100%;
  }
  .about-why {
    height: auto;
  }
  .about-why__inner {
    padding: 140px 16px;
  }
  .about-why__title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-why__text,
  .about-why__h2 {
    width: 100%;
  }
  .about-achievements__cards {
    flex-direction: column;
  }
}


