:root {
  --ink: #101525;
  --muted: #647084;
  --paper: #f7f8fb;
  --white: #ffffff;
  --blue: #0478d8;
  --cyan: #07a9d7;
  --violet: #6222a3;
  --magenta: #e31571;
  --coral: #f1464f;
  --green: #168a69;
  --line: rgba(16, 21, 37, 0.12);
  --shadow: 0 24px 70px rgba(16, 21, 37, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

main {
  overflow: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 260ms ease, color 260ms ease, box-shadow 260ms ease, padding 260ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(16, 21, 37, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 12px 26px rgba(4, 120, 216, 0.22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  opacity: 0.92;
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--cyan);
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 124px clamp(20px, 6vw, 76px) 58px;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  animation: heroDrift 18s var(--ease-out) forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 13, 29, 0.86), rgba(8, 13, 29, 0.44) 45%, rgba(8, 13, 29, 0.18)),
    linear-gradient(0deg, rgba(8, 13, 29, 0.74), rgba(8, 13, 29, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 870px;
}

.hero-content h1,
.hero-content .eyebrow,
.hero-content .hero-copy,
.hero-actions,
.hero-panel {
  animation: heroLift 920ms var(--ease-out) both;
}

.hero-content .eyebrow {
  animation-delay: 40ms;
}

.hero-content h1 {
  animation-delay: 110ms;
}

.hero-content .hero-copy {
  animation-delay: 220ms;
}

.hero-actions {
  animation-delay: 330ms;
}

.hero-panel {
  animation-delay: 420ms;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8be9ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 10vw, 8.4rem);
  line-height: 0.92;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 58%);
  transform: translateX(-120%);
  transition: transform 680ms var(--ease-out);
}

.button:hover::before {
  transform: translateX(120%);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--coral), var(--magenta), var(--blue));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(227, 21, 113, 0.24);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  box-shadow: 0 22px 48px rgba(4, 120, 216, 0.28);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.14);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 76px);
  bottom: 58px;
  z-index: 1;
  width: min(300px, 30vw);
  padding-left: 22px;
  border-left: 3px solid var(--cyan);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 84px) 0 clamp(70px, 7vw, 104px);
  background:
    radial-gradient(circle at 82% 20%, rgba(98, 34, 163, 0.16), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(4, 120, 216, 0.14), transparent 32%),
    linear-gradient(120deg, rgba(4, 120, 216, 0.06) 0 1px, transparent 1px 118px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #ffffff 100%);
  background-size: 120% 120%, 130% 130%, 172px 172px, auto;
  animation: introAmbientFlow 18s ease-in-out infinite alternate;
}

.intro-band::before {
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 76px);
  width: min(260px, 32vw);
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  background-size: 220% 100%;
  transform-origin: left;
  animation: lineGrow 900ms var(--ease-out) both, accentRailFlow 5.5s ease-in-out 900ms infinite alternate;
}

.intro-band::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: 46px;
  width: min(460px, 34vw);
  height: 2px;
  content: "";
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, rgba(4, 120, 216, 0.42), rgba(227, 21, 113, 0.34), transparent);
  background-size: 240% 100%;
  animation: ambientLineSlide 7.5s ease-in-out infinite alternate;
}

.intro-grid {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(540px, 0.88fr) minmax(680px, 1.12fr);
  grid-template-areas:
    "lead media"
    "copy copy";
  gap: clamp(18px, 3vw, 36px) clamp(34px, 5vw, 72px);
  align-items: start;
  width: min(1760px, calc(100% - 96px));
}

.intro-grid::before,
.intro-grid::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.intro-grid::before {
  inset: -46px -58px -36px;
  opacity: 0.68;
  background:
    linear-gradient(105deg, transparent 0 22%, rgba(4, 120, 216, 0.08) 38%, transparent 52%, rgba(227, 21, 113, 0.07) 68%, transparent 84%),
    radial-gradient(ellipse at 70% 18%, rgba(98, 34, 163, 0.12), transparent 42%);
  background-size: 230% 100%, 100% 100%;
  animation: introAuroraDrift 13s ease-in-out infinite alternate;
}

.intro-grid::after {
  top: clamp(36px, 9vw, 146px);
  right: min(6vw, 88px);
  width: min(620px, 42vw);
  height: min(420px, 31vw);
  opacity: 0.32;
  background:
    repeating-linear-gradient(178deg, rgba(98, 34, 163, 0.12) 0 1px, transparent 1px 13px);
  mask-image: radial-gradient(ellipse at center, #000 0 48%, transparent 72%);
  transform: rotate(-7deg);
  animation: introContourFloat 10.5s ease-in-out infinite alternate;
}

.intro-lead {
  grid-area: lead;
  align-self: start;
}

.intro-lead h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 4.6vw, 5.35rem);
  line-height: 0.98;
}

.intro-lead h2 span {
  background: linear-gradient(100deg, var(--blue), var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-lead > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.story-button {
  gap: 14px;
  margin-top: 18px;
  border: 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--violet), var(--magenta));
  box-shadow: 0 20px 46px rgba(98, 34, 163, 0.24);
  cursor: pointer;
}

.story-button span {
  font-size: 1.28rem;
  line-height: 1;
}

.section-heading h2 {
  margin-bottom: 0;
  text-wrap: balance;
}

.section-heading.compact {
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.compact .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-heading.compact .eyebrow::before,
.section-heading.compact .eyebrow::after {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.intro-copy {
  grid-area: copy;
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
  margin-top: clamp(8px, 1.6vw, 22px);
  padding: clamp(10px, 1.6vw, 20px) 0 0;
  border-top: 1px solid rgba(16, 21, 37, 0.08);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  text-align: left;
  text-wrap: pretty;
}

.essence-panel {
  border-radius: 0;
}

.essence-panel::before,
.essence-panel::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.essence-panel::before {
  left: 2%;
  right: 2%;
  bottom: 42%;
  height: 2px;
  opacity: 0.52;
  background:
    linear-gradient(90deg, rgba(4, 120, 216, 0.38), transparent 50%, rgba(227, 21, 113, 0.3));
  background-size: 260% 100%;
  animation: essenceDividerFlow 8s ease-in-out infinite alternate;
}

.essence-panel::after {
  display: none;
}

.essence-card,
.values-card {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.essence-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 12px;
  align-items: start;
  overflow: hidden;
  min-height: 250px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(16, 21, 37, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(115deg, transparent 0%, rgba(4, 120, 216, 0.095) 28%, transparent 46%, rgba(227, 21, 113, 0.08) 66%, transparent 86%),
    radial-gradient(circle at 96% 8%, rgba(227, 21, 113, 0.13), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.78));
  background-size: 300% 300%, 100% 100%, 100% 100%;
  box-shadow: 0 24px 70px rgba(16, 21, 37, 0.07);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease;
  animation: essenceSurfaceFlow 10.5s ease-in-out infinite alternate;
}

.essence-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, var(--blue), var(--violet), var(--magenta));
  background-size: 100% 220%;
  animation: essenceBarPulse 5.8s ease-in-out infinite alternate;
}

.essence-card::after {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: -22px;
  z-index: 0;
  color: rgba(4, 120, 216, 0.055);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(7rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
  animation: essenceWatermarkDrift 8s ease-in-out infinite alternate;
}

.essence-card > * {
  position: relative;
  z-index: 1;
}

.essence-card:nth-of-type(1)::after {
  content: "I";
}

.essence-card:nth-of-type(2)::after {
  color: rgba(227, 21, 113, 0.055);
  content: "II";
}

.essence-card:hover {
  transform: translateY(-6px);
  border-color: rgba(4, 120, 216, 0.18);
  box-shadow: 0 32px 86px rgba(16, 21, 37, 0.11);
}

.essence-icon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 2px;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  animation: none;
}

.essence-icon::before {
  width: 34px;
  height: 2px;
  margin-right: 12px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--magenta));
}

.essence-card h3,
.values-card h3 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 3.2vw, 3.45rem);
}

.essence-card h3::before,
.values-card h3::before {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 14px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--magenta));
}

.essence-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.values-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
  overflow: hidden;
  margin-top: clamp(4px, 1vw, 12px);
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(16, 21, 37, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(110deg, transparent 0%, rgba(4, 120, 216, 0.1) 25%, transparent 42%, rgba(227, 21, 113, 0.09) 68%, transparent 86%),
    radial-gradient(circle at 7% 95%, rgba(4, 120, 216, 0.14), transparent 36%),
    radial-gradient(circle at 94% 18%, rgba(227, 21, 113, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.82));
  background-size: 320% 320%, 100% 100%, 100% 100%, 100% 100%;
  box-shadow: 0 24px 70px rgba(16, 21, 37, 0.06);
  animation: essenceSurfaceFlow 12s ease-in-out infinite alternate-reverse;
}

.values-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background:
    linear-gradient(105deg, transparent 0 30%, rgba(255, 255, 255, 0.82) 48%, transparent 64%),
    repeating-linear-gradient(90deg, rgba(4, 120, 216, 0.08) 0 1px, transparent 1px 92px);
  background-size: 220% 100%, 100% 100%;
  transform: translateX(-34%);
  animation: valuesLightSweep 8.5s ease-in-out infinite alternate;
}

.values-card > * {
  position: relative;
  z-index: 1;
}

.values-card > .essence-icon {
  display: none;
}

.values-card h3 {
  margin: 0;
  color: rgba(16, 21, 37, 0.86);
  font-size: clamp(1.9rem, 2.6vw, 3rem);
}

.values-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-list::before {
  display: none;
}

.values-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 12px;
  align-items: start;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(16, 21, 37, 0.08);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  font-weight: 800;
  text-align: left;
  box-shadow: 0 12px 34px rgba(16, 21, 37, 0.045);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
  animation: valueRise 720ms var(--ease-out) both, valueBreath 7s ease-in-out infinite;
  animation-delay: calc(var(--value-index, 0) * 70ms), calc(900ms + var(--value-index, 0) * 180ms);
}

.values-list li:hover {
  transform: translateY(-5px);
  border-color: rgba(4, 120, 216, 0.18);
  box-shadow: 0 20px 44px rgba(16, 21, 37, 0.08);
}

.values-list span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 21, 37, 0.1);
  border-radius: 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(16, 21, 37, 0.06);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, background 240ms ease;
}

.values-list li:hover span {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(4, 120, 216, 0.12);
}

.values-list li:nth-child(2n) span {
  color: var(--magenta);
}

.values-list li:nth-child(3n) span {
  color: var(--violet);
}

.values-list strong {
  display: block;
  color: rgba(16, 21, 37, 0.9);
  font-size: 0.92rem;
  line-height: 1.16;
}

.values-list em {
  display: block;
  max-width: none;
  color: var(--muted);
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.82;
  transform: none;
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.values-list li:hover em {
  opacity: 1;
  transform: translateY(0);
}

.values-list li:nth-child(1) {
  --value-index: 1;
}

.values-list li:nth-child(2) {
  --value-index: 2;
}

.values-list li:nth-child(3) {
  --value-index: 3;
}

.values-list li:nth-child(4) {
  --value-index: 4;
}

.values-list li:nth-child(5) {
  --value-index: 5;
}

.values-list li:nth-child(6) {
  --value-index: 6;
}

.intro-media {
  grid-area: media;
  align-self: start;
  position: relative;
  min-height: 650px;
  margin-top: -46px;
}

.intro-media::before {
  position: absolute;
  inset: 0 -2% 4% -6%;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(7, 169, 215, 0.22), transparent 26%),
    radial-gradient(circle at 76% 24%, rgba(227, 21, 113, 0.15), transparent 28%),
    radial-gradient(circle at 48% 86%, rgba(98, 34, 163, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(7, 169, 215, 0.12), rgba(227, 21, 113, 0.1));
  border-radius: 32% 68% 44% 56% / 58% 32% 68% 42%;
  filter: drop-shadow(0 30px 70px rgba(98, 34, 163, 0.2));
}

.intro-media::after {
  position: absolute;
  left: -4%;
  right: 3%;
  bottom: 2%;
  z-index: 0;
  height: 52%;
  content: "";
  background:
    repeating-radial-gradient(ellipse at center, rgba(98, 34, 163, 0.15) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, rgba(4, 120, 216, 0.08), rgba(227, 21, 113, 0.08));
  border-radius: 60% 40% 52% 48% / 42% 62% 38% 58%;
  opacity: 0.55;
}

.intro-main-photo {
  position: absolute;
  right: 2%;
  top: 18px;
  z-index: 1;
  width: min(700px, 96%);
  height: 500px;
  object-fit: cover;
  object-position: center 42%;
  border: 12px solid rgba(255, 255, 255, 0.86);
  border-radius: 35% 65% 42% 58% / 54% 36% 64% 46%;
  box-shadow: 0 30px 86px rgba(16, 21, 37, 0.2);
}

.art-line {
  position: absolute;
  top: 24px;
  right: 8%;
  z-index: 2;
  width: 330px;
  height: 120px;
  border-top: 2px solid rgba(98, 34, 163, 0.45);
  border-radius: 50%;
  transform: rotate(12deg);
}

.art-line::before,
.art-line::after {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(120deg, var(--blue), var(--magenta));
  box-shadow: 0 10px 22px rgba(98, 34, 163, 0.22);
}

.art-line::before {
  left: 36px;
}

.art-line::after {
  right: 44px;
}

.art-dots {
  position: absolute;
  right: 0;
  top: 112px;
  z-index: 2;
  width: 112px;
  height: 112px;
  background-image: radial-gradient(rgba(7, 169, 215, 0.42) 2px, transparent 2px);
  background-size: 14px 14px;
}

.intro-photo-card {
  position: absolute;
  bottom: 0;
  z-index: 3;
  width: min(350px, 47%);
  padding: 10px;
  border-radius: 28% 72% 26% 74% / 72% 28% 72% 28%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    linear-gradient(120deg, rgba(7, 169, 215, 0.22), rgba(227, 21, 113, 0.18));
  box-shadow: 0 28px 68px rgba(16, 21, 37, 0.2);
  backdrop-filter: blur(14px);
}

.intro-photo-card::before {
  position: absolute;
  inset: -12px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(7, 169, 215, 0.22), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(227, 21, 113, 0.2), transparent 34%);
  opacity: 0.72;
  filter: blur(2px);
}

.intro-photo-card.first {
  left: -1%;
  transform: rotate(-3deg);
}

.intro-photo-card.second {
  right: 1%;
  transform: rotate(2deg);
}

.intro-photo-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: inherit;
}

.intro-copy p:first-child::first-letter {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  min-height: 720px;
  background: #121826;
  color: var(--white);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.story-image,
.impact-media,
.alliance-card,
.gallery-set img {
  overflow: hidden;
  backface-visibility: hidden;
}

.story-image.reveal,
.impact-media.reveal {
  clip-path: inset(0 9% 0 0);
  transition-property: opacity, transform, clip-path;
}

.story-image.reveal.is-visible,
.impact-media.reveal.is-visible {
  clip-path: inset(0);
}

.story-image img,
.impact-media img,
.alliance-card img,
.gallery-set img {
  transition: transform 900ms var(--ease-out), filter 420ms ease;
}

.story-image:hover img,
.impact-media:hover img,
.alliance-card:hover img,
.gallery-set img:hover {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.06);
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 86px);
}

.story-content p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify;
}

.text-link {
  align-self: flex-start;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--cyan);
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: #8be9ff;
  border-color: var(--magenta);
}

.programs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 10vw, 132px) 0;
  background:
    linear-gradient(90deg, rgba(16, 21, 37, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(4, 120, 216, 0.035) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 22%, rgba(4, 120, 216, 0.08) 36%, transparent 52%, rgba(227, 21, 113, 0.07) 68%, transparent 86%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 42%, #f7f8fb 100%);
  background-size: 96px 100%, 100% 86px, 260% 100%, auto;
  animation: programsAmbientFlow 18s ease-in-out infinite alternate;
}

.programs::before {
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.74;
  background:
    linear-gradient(118deg, transparent 0 28%, rgba(7, 169, 215, 0.14) 42%, transparent 58%),
    linear-gradient(300deg, transparent 0 34%, rgba(227, 21, 113, 0.12) 52%, transparent 72%);
  background-size: 220% 100%, 210% 100%;
  animation: programsLightDrift 13s ease-in-out infinite alternate;
}

.programs::after {
  position: absolute;
  top: 8%;
  right: -4%;
  z-index: -1;
  width: min(720px, 46vw);
  height: min(620px, 48vw);
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background:
    repeating-linear-gradient(175deg, rgba(98, 34, 163, 0.12) 0 1px, transparent 1px 13px);
  mask-image: radial-gradient(ellipse at center, #000 0 50%, transparent 74%);
  transform: rotate(-8deg);
  animation: programsContourFloat 11s ease-in-out infinite alternate;
}

.programs .section-inner {
  position: relative;
  z-index: 1;
}

.programs .section-heading {
  position: relative;
}

.programs .section-heading::after {
  display: block;
  width: min(360px, 52vw);
  height: 3px;
  margin: 28px auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--magenta), transparent);
  background-size: 220% 100%;
  animation: programsTitleRail 6s ease-in-out infinite alternate;
}

.program-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.program-grid::before {
  position: absolute;
  inset: -22px -18px;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.56;
  background:
    linear-gradient(90deg, rgba(4, 120, 216, 0.16), transparent 18%, transparent 82%, rgba(227, 21, 113, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 48%, rgba(16, 21, 37, 0.04));
  filter: blur(18px);
  animation: programsGridHalo 9s ease-in-out infinite alternate;
}

.program-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(16, 21, 37, 0.09);
  background:
    linear-gradient(115deg, transparent 0%, rgba(4, 120, 216, 0.075) 26%, transparent 43%, rgba(227, 21, 113, 0.065) 66%, transparent 84%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(7, 169, 215, 0.06), rgba(227, 21, 113, 0.05));
  background-size: 280% 280%, 100% 100%, 100% 100%;
  box-shadow: 0 18px 44px rgba(16, 21, 37, 0.07);
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease;
  animation: programCardSurface 12s ease-in-out infinite alternate;
  animation-delay: calc(var(--program-index, 0) * 120ms);
}

.program-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  background-size: 220% 100%;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
  animation: programAccentFlow 5.8s ease-in-out infinite alternate;
}

.program-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.9) 48%, transparent 61%);
  background-size: 230% 100%;
  transform: translateX(-44%);
  animation: programCardSweep 8s ease-in-out infinite alternate;
  animation-delay: calc(600ms + var(--program-index, 0) * 160ms);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(98, 34, 163, 0.3);
}

.program-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--magenta);
  font-weight: 900;
  transition: transform 260ms var(--ease-out), color 260ms ease;
}

.program-card:hover span {
  color: var(--blue);
  transform: translateY(-3px);
}

.program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}

.program-card:nth-child(1) {
  --program-index: 1;
}

.program-card:nth-child(2) {
  --program-index: 2;
}

.program-card:nth-child(3) {
  --program-index: 3;
}

.program-card:nth-child(4) {
  --program-index: 4;
}

.program-card:nth-child(5) {
  --program-index: 5;
}

.program-card:nth-child(6) {
  --program-index: 6;
}

.program-card:nth-child(7) {
  --program-index: 7;
}

.program-card:nth-child(8) {
  --program-index: 8;
}

.impact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}

.impact-media img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.impact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 96px);
}

.impact-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  text-align: justify;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(640px, 100%);
  margin: 34px 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-row div {
  min-height: 128px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 260ms ease, transform 260ms var(--ease-out);
}

.metric-row div:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.metric-row strong {
  display: block;
  color: #8be9ff;
  font-size: 3rem;
  line-height: 1;
  transition: text-shadow 260ms ease;
}

.metric-row div:hover strong {
  text-shadow: 0 0 22px rgba(139, 233, 255, 0.4);
}

.metric-row span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.alliances {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 130px) 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 52%, #ffffff 100%);
}

.alliances::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(4, 120, 216, 0.06) 48% 48.12%, transparent 48.12%),
    linear-gradient(180deg, rgba(98, 34, 163, 0.065), transparent 28%, rgba(227, 21, 113, 0.04));
}

.alliance-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.alliance-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(16, 21, 37, 0.09);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.alliance-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(16, 21, 37, 0.14);
  border-color: rgba(4, 120, 216, 0.22);
}

.alliance-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.alliance-card div {
  position: relative;
  padding: 24px;
}

.alliance-card div::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 56px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.alliance-card h3 {
  min-height: 2.4em;
  margin-bottom: 12px;
}

.alliance-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}

.gallery {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  background: #121826;
}

.gallery::before,
.gallery::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(120px, 12vw);
  pointer-events: none;
  content: "";
}

.gallery::before {
  left: 0;
  background: linear-gradient(90deg, #121826, rgba(18, 24, 38, 0));
}

.gallery::after {
  right: 0;
  background: linear-gradient(270deg, #121826, rgba(18, 24, 38, 0));
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 18px;
  animation: galleryCarousel 34s linear infinite;
  will-change: transform;
}

.gallery:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-set {
  display: flex;
  gap: 18px;
}

.gallery-set img {
  width: clamp(280px, 24vw, 360px);
  height: 340px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  filter: saturate(0.88) contrast(1.04);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 128px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(135deg, rgba(4, 120, 216, 0.13), rgba(227, 21, 113, 0.12)),
    #f7f8fb;
  background-size: 110px 100%, auto, auto;
}

.contact::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(4, 120, 216, 0.32), rgba(227, 21, 113, 0.28), transparent);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.contact-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(16, 21, 37, 0.2);
}

.contact-panel a,
.contact-panel span {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.45;
}

.contact-panel span {
  color: var(--muted);
  font-weight: 600;
}

.contact-panel a:last-of-type,
.contact-panel span:last-child {
  border-bottom: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(7, 169, 215, 0.14), transparent 34%, rgba(227, 21, 113, 0.13)),
    #0d1321;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  top: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  opacity: 0.72;
}

.site-footer img {
  position: relative;
  z-index: 1;
  width: 132px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.site-footer p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 700;
}

.story-modal[hidden] {
  display: none;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 24, 0.72);
  backdrop-filter: blur(12px);
}

.story-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  width: min(1080px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36);
}

.story-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(16, 21, 37, 0.18);
  cursor: pointer;
  font-size: 1.4rem;
}

.story-video-shell {
  display: grid;
  min-height: 430px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(4, 120, 216, 0.16), rgba(227, 21, 113, 0.16)),
    #101525;
}

.story-video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(16, 21, 37, 0.48), rgba(16, 21, 37, 0.48)),
    url("assets/images/equipo-jusedi-mesa.jpg") center / cover;
}

.story-video-placeholder span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--blue), var(--magenta));
  box-shadow: 0 18px 42px rgba(227, 21, 113, 0.28);
}

.story-video-placeholder strong {
  font-size: 1.3rem;
}

.story-video-placeholder p,
.story-dialog-copy p:not(.eyebrow) {
  margin: 0;
  line-height: 1.7;
}

.story-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.story-dialog-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.story-dialog-copy p:not(.eyebrow) {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 820ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.program-card.reveal,
.alliance-card.reveal {
  transform: translateY(30px) scale(0.985);
}

.program-card.reveal.is-visible,
.alliance-card.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.program-card.reveal.is-visible:hover,
.alliance-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1);
}

.alliance-card.reveal.is-visible:hover {
  transform: translateY(-7px) scale(1);
}

@keyframes heroDrift {
  from {
    transform: scale(1.045) translate3d(-1.2%, 0, 0);
  }

  to {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes galleryCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes introAmbientFlow {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  50% {
    background-position: 76px -48px, -54px 68px, 118px 86px, 0 0;
  }

  100% {
    background-position: 142px -84px, -108px 128px, 236px 164px, 0 0;
  }
}

@keyframes accentRailFlow {
  from {
    background-position: 0% 50%;
    opacity: 0.9;
  }

  to {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes ambientLineSlide {
  from {
    background-position: 0% 50%;
    transform: translateX(-18px) scaleX(0.86);
  }

  to {
    background-position: 100% 50%;
    transform: translateX(18px) scaleX(1.08);
  }
}

@keyframes introAuroraDrift {
  from {
    background-position: 0% 50%, 50% 50%;
    opacity: 0.48;
    transform: translate3d(-12px, 0, 0);
  }

  to {
    background-position: 100% 50%, 50% 50%;
    opacity: 0.76;
    transform: translate3d(18px, -12px, 0);
  }
}

@keyframes introContourFloat {
  from {
    opacity: 0.18;
    transform: translate3d(-10px, 12px, 0) rotate(-8deg) scale(0.96);
  }

  to {
    opacity: 0.36;
    transform: translate3d(18px, -16px, 0) rotate(-4deg) scale(1.04);
  }
}

@keyframes essenceDividerFlow {
  from {
    background-position: 0% 50%;
    opacity: 0.36;
    transform: scaleX(0.94);
  }

  to {
    background-position: 100% 50%;
    opacity: 0.62;
    transform: scaleX(1);
  }
}

@keyframes essenceWave {
  from {
    transform: translate3d(-2%, 0, 0) scaleX(1.02);
  }

  to {
    transform: translate3d(2%, -6px, 0) scaleX(1.06);
  }
}

@keyframes essenceDots {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes essenceIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes essenceSurfaceFlow {
  from {
    background-position: -18% 42%, 50% 50%, 50% 50%, 50% 50%;
  }

  to {
    background-position: 118% 58%, 50% 50%, 50% 50%, 50% 50%;
  }
}

@keyframes essenceBarPulse {
  from {
    background-position: 50% 0%;
    opacity: 0.78;
  }

  to {
    background-position: 50% 100%;
    opacity: 1;
  }
}

@keyframes essenceWatermarkDrift {
  from {
    opacity: 0.72;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(-12px, -10px, 0);
  }
}

@keyframes valuesLightSweep {
  from {
    background-position: 0% 50%, 0 0;
    transform: translateX(-36%);
  }

  to {
    background-position: 100% 50%, 46px 0;
    transform: translateX(18%);
  }
}

@keyframes valueRise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

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

@keyframes valueBreath {
  0%,
  100% {
    background-color: rgba(255, 255, 255, 0.66);
    border-color: rgba(16, 21, 37, 0.08);
    box-shadow: 0 12px 34px rgba(16, 21, 37, 0.045);
  }

  50% {
    background-color: rgba(255, 255, 255, 0.92);
    border-color: rgba(98, 34, 163, 0.16);
    box-shadow: 0 18px 46px rgba(4, 120, 216, 0.09);
  }
}

@keyframes programsAmbientFlow {
  0% {
    background-position: 0 0, 0 0, -18% 50%, 0 0;
  }

  50% {
    background-position: 72px 0, 0 44px, 54% 50%, 0 0;
  }

  100% {
    background-position: 144px 0, 0 86px, 118% 50%, 0 0;
  }
}

@keyframes programsLightDrift {
  from {
    background-position: 0% 50%, 100% 50%;
    opacity: 0.52;
    transform: translate3d(-18px, 0, 0);
  }

  to {
    background-position: 100% 50%, 0% 50%;
    opacity: 0.82;
    transform: translate3d(22px, -14px, 0);
  }
}

@keyframes programsContourFloat {
  from {
    opacity: 0.18;
    transform: translate3d(-12px, 14px, 0) rotate(-10deg) scale(0.96);
  }

  to {
    opacity: 0.34;
    transform: translate3d(20px, -18px, 0) rotate(-5deg) scale(1.04);
  }
}

@keyframes programsTitleRail {
  from {
    background-position: 0% 50%;
    opacity: 0.62;
    transform: scaleX(0.88);
  }

  to {
    background-position: 100% 50%;
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes programsGridHalo {
  from {
    opacity: 0.34;
    transform: translate3d(-10px, 10px, 0);
  }

  to {
    opacity: 0.64;
    transform: translate3d(12px, -8px, 0);
  }
}

@keyframes programCardSurface {
  from {
    background-position: -16% 42%, 50% 50%, 50% 50%;
  }

  to {
    background-position: 118% 58%, 50% 50%, 50% 50%;
  }
}

@keyframes programAccentFlow {
  from {
    background-position: 0% 50%;
    opacity: 0.74;
  }

  to {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes programCardSweep {
  from {
    background-position: 0% 50%;
    transform: translateX(-52%);
  }

  to {
    background-position: 100% 50%;
    transform: translateX(26%);
  }
}

@media (max-width: 1040px) {
  .hero-panel {
    display: none;
  }

  .visual-story,
  .impact,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "media"
      "copy";
    width: min(900px, calc(100% - 40px));
  }

  .intro-lead h2 {
    max-width: 820px;
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .essence-card {
    padding-right: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .values-card {
    grid-template-columns: 1fr;
    padding: clamp(24px, 4vw, 36px);
    border-left: 0;
  }

  .values-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .values-list::before {
    display: none;
  }

  .intro-media {
    min-height: 610px;
  }

  .story-dialog {
    grid-template-columns: 1fr;
  }

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

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

  .story-image img,
  .impact-media img {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

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

  .main-nav a {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 92svh;
    padding: 108px 20px 42px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-heading.compact {
    margin-bottom: 38px;
  }

  .section-heading.compact .eyebrow::before,
  .section-heading.compact .eyebrow::after {
    width: 20px;
  }

  .intro-copy,
  .story-content p:not(.eyebrow),
  .program-card p,
  .impact-content p:not(.eyebrow),
  .alliance-card p,
  .contact-copy p:not(.eyebrow) {
    text-align: left;
  }

  .intro-lead h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .intro-copy {
    padding: 24px 0 0;
    border-left: 0;
    border-radius: 0;
  }

  .essence-card {
    min-height: auto;
    padding: 24px;
  }

  .intro-media {
    min-height: 500px;
  }

  .intro-main-photo {
    width: 100%;
    height: 360px;
    border-width: 8px;
  }

  .intro-photo-card {
    width: 50%;
    padding: 6px;
  }

  .intro-photo-card img {
    height: 128px;
  }

  .art-line {
    width: 190px;
    right: 2%;
  }

  .art-dots {
    display: none;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .values-list li {
    grid-template-columns: 42px 1fr;
    justify-items: start;
    min-height: 72px;
    text-align: left;
  }

  .values-list span {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
  }

  .values-list strong {
    min-height: 0;
  }

  .values-list em {
    max-width: none;
    opacity: 1;
    transform: none;
  }

  .values-card h3 {
    margin-top: 0;
  }

  .story-video-shell {
    min-height: 300px;
  }

  .program-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .gallery-track {
    display: flex;
    gap: 14px;
    padding: 0 14px;
    animation-duration: 28s;
  }

  .gallery-set {
    gap: 14px;
  }

  .gallery-set img {
    width: 82vw;
    height: 300px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
