:root {
  --black: #15110d;
  --ink: #201811;
  --soft-ink: #4d3b2b;
  --muted: #746855;
  --line: #201811;
  --paper: #f2e6ca;
  --paper-deep: #e0cda4;
  --white: #fff7dd;
  --mist: #eadfca;
  --card-paper: #fbefd4;
  --card-paper-light: #f7edcf;
  --card-paper-deep: #e2cda5;
  --tomato: #d83a21;
  --orange: #ee861f;
  --mustard: #0f7638;
  --blue: #196f94;
  --fixed-green: #0f7638;
  --poster-red: #c73522;
  --poster-green: #1f783d;
  --poster-yellow: #dfb91f;
  --poster-blue: #075a9f;
  --poster-cream: #ffffff;
  --teal: #12665d;
  --olive: #2f7d32;
  --moss: #4f6f35;
  --brick: #8f3f26;
  --pink: #e1a6aa;
  --surface-hero: #f2e6ca;
  --surface-about: #f7edcf;
  --surface-programs: #ead8ae;
  --surface-mentors: #f1dfb9;
  --surface-institutions: #dfc99d;
  --surface-contact: #f7edcf;
  --hero-corner: rgba(47, 125, 50, 0.22);
  --header-bg: rgba(242, 230, 202, 0.94);
  --header-bg-scrolled: rgba(255, 247, 221, 0.96);
  --max-width: 1180px;
  --gutter: 24px;
  --header-height: 76px;
  --shadow: 7px 7px 0 var(--black);
  --soft-shadow: 0 18px 0 rgba(32, 24, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, auto;
  color: var(--ink);
  font-family: "Arial", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: background-color 360ms ease, color 360ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.46'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(21, 17, 13, 0.34) 0 0.75px, transparent 0.9px),
    radial-gradient(circle, rgba(255, 247, 221, 0.64) 0 0.55px, transparent 0.72px);
  background-size: 180px 180px, 9px 9px, 13px 13px;
  background-position: 0 0, 0 0, 4px 6px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(105deg, rgba(21, 17, 13, 0.26) 0 1px, transparent 1px 7px),
    radial-gradient(circle, rgba(21, 17, 13, 0.42) 0 0.85px, transparent 1px);
  background-size: 18px 18px, 16px 16px;
  background-position: 0 0, 6px 3px;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.zh {
  font-family: "Arial", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--black);
  color: var(--white);
}

.floating-blocks {
  display: none;
}

.float-block {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: 0.2;
  transform: rotate(var(--start-rotation));
  animation: none;
  mix-blend-mode: multiply;
  border: 2px solid rgba(21, 17, 13, 0.68);
}

.block-a {
  --duration: 1.65s;
  --delay: 0.05s;
  --start-rotation: -8deg;
  top: 9vh;
  left: 7vw;
  width: 12vw;
  min-width: 90px;
  max-width: 190px;
  height: 28vh;
  background: var(--tomato);
}

.block-b {
  --duration: 1.9s;
  --delay: 0.18s;
  --start-rotation: 7deg;
  top: 18vh;
  right: 11vw;
  width: 17vw;
  min-width: 130px;
  max-width: 280px;
  height: 18vh;
  background: var(--mustard);
}

.block-c {
  --duration: 1.55s;
  --delay: 0.28s;
  --start-rotation: 4deg;
  top: 58vh;
  left: 15vw;
  width: 18vw;
  min-width: 130px;
  max-width: 260px;
  height: 12vh;
  background: var(--paper-deep);
}

.block-d {
  --duration: 1.8s;
  --delay: 0.38s;
  --start-rotation: -5deg;
  top: 52vh;
  right: 21vw;
  width: 10vw;
  min-width: 78px;
  max-width: 150px;
  height: 26vh;
  background: var(--blue);
}

.block-e {
  --duration: 1.7s;
  --delay: 0.5s;
  --start-rotation: 9deg;
  top: 78vh;
  right: 6vw;
  width: 16vw;
  min-width: 118px;
  max-width: 230px;
  height: 9vh;
  background: var(--orange);
}

.block-f {
  --duration: 1.95s;
  --delay: 0.62s;
  --start-rotation: -4deg;
  top: 33vh;
  left: 42vw;
  width: 8vw;
  min-width: 72px;
  max-width: 126px;
  height: 19vh;
  background: var(--teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 2px solid var(--black);
  background: var(--header-bg);
  backdrop-filter: none;
  transition: background 360ms ease, box-shadow 170ms ease;
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 0 var(--black);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: auto;
  flex: 0 0 auto;
  fill: var(--black);
}

.brand-name {
  display: inline-block;
  padding: 7px 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.desktop-nav a {
  padding: 10px 13px;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a.is-active {
  background: var(--black);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--mustard);
  color: var(--black);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--tomato);
  color: var(--white);
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  padding: 12px var(--gutter) 24px;
  border-bottom: 2px solid var(--black);
  background: var(--paper);
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.1);
}

main,
.site-footer {
  position: relative;
  z-index: auto;
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 92px var(--gutter) 64px;
  border-bottom: 3px solid var(--black);
  background:
    linear-gradient(135deg, transparent 0 63%, var(--hero-corner) 63% 100%),
    var(--surface-hero);
  background-size: 100% 100%, auto;
  transition: background 520ms ease;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(78px, 6vw, 128px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  padding-top: 18px;
}

.hero-title,
.section-copy h2,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-title {
  max-width: 820px;
  font-size: clamp(4.8rem, 9.4vw, 8.6rem);
  line-height: 0.86;
  text-transform: none;
}

.hero-headline {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--black);
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero-text {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 13px 18px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 170ms ease, background 360ms ease, color 170ms ease, box-shadow 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-light {
  background: var(--mustard);
  color: var(--black);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--orange);
}

.hero-logo {
  position: relative;
  isolation: isolate;
  --hero-logo-art-width: 520px;
  --logo-bg: #f3e6bf;
  --logo-letter: #0f7638;
  --logo-sun: #b53420;
  --logo-accent: #b53420;
  --logo-hint: #0f7638;
  align-self: start;
  justify-self: end;
  width: min(100%, 445px);
  margin-top: 18px;
  overflow: hidden;
  border: 3px solid var(--black);
  background: var(--logo-bg);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 520ms ease;
}

.hero-logo,
.hero-logo * {
  cursor: pointer;
}

.hero-logo:hover,
.hero-logo:focus-visible {
  transform: scale(1.02);
  box-shadow: 3px 3px 0 var(--black), 0 18px 38px rgba(21, 17, 13, 0.22);
  outline: 0;
}

.hero-logo-mark {
  position: relative;
  z-index: 1;
  width: min(100%, var(--hero-logo-art-width));
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);
}

.logo-color-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  color: var(--logo-hint);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.72;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-logo.is-changing .hero-logo-mark {
  animation: logoPaletteShift 520ms ease both;
}

.hero-logo.is-changing::after {
  animation: logoPrintFlash 520ms ease both;
}

.hero-logo::before,
.hero-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-logo::before {
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle, rgba(21, 17, 13, 0.38) 0 0.72px, transparent 0.9px),
    radial-gradient(circle, rgba(255, 247, 221, 0.58) 0 0.58px, transparent 0.76px);
  background-size: 8px 8px, 12px 12px;
  background-position: 0 0, 4px 5px;
}

.hero-logo::after {
  opacity: 0.13;
  mix-blend-mode: multiply;
  background-image: linear-gradient(105deg, rgba(21, 17, 13, 0.24) 0 1px, transparent 1px 7px);
  background-size: 16px 16px;
}

@keyframes logoPaletteShift {
  0% {
    opacity: 0.72;
    transform: translateX(-50%) scale(0.985);
    filter: saturate(0.82) contrast(1.04);
  }

  45% {
    opacity: 1;
    transform: translateX(-50%) scale(1.018);
    filter: saturate(1.24) contrast(1.08);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    filter: none;
  }
}

@keyframes logoPrintFlash {
  0% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.38;
  }

  100% {
    opacity: 0.13;
  }
}

.page-section {
  position: relative;
  isolation: isolate;
  padding: 112px var(--gutter);
  border-bottom: 3px solid var(--black);
  backdrop-filter: none;
  transition: background 520ms ease;
}

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

.about-section {
  background:
    linear-gradient(90deg, transparent 0 calc(100% - 16px), rgba(21, 17, 13, 0.09) calc(100% - 16px) 100%),
    var(--surface-about);
}

.programs-section {
  background: var(--surface-programs);
  color: var(--ink);
}

.mentors-section {
  background: var(--surface-mentors);
}

.institutions-section {
  background: var(--surface-institutions);
  color: var(--ink);
}

.institutions-section::before {
  content: none;
}

.institutions-section::after {
  content: none;
}

.contact-section {
  background: var(--surface-contact);
  color: var(--ink);
}

.contact-section::before {
  content: none;
}

.contact-section::after {
  content: none;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: start;
}

.section-copy,
.section-heading {
  min-width: 0;
}

.section-copy h2,
.section-heading h2 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.88;
  max-width: 100%;
  overflow-wrap: break-word;
}

.two-column .section-copy h2,
.contact-layout .section-copy h2 {
  font-size: clamp(3rem, 5.1vw, 5.1rem);
  line-height: 0.9;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-layout .section-copy h2 {
  font-size: clamp(3rem, 4.6vw, 4.65rem);
}

.section-subtitle {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--black);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.section-copy > p:not(.section-subtitle),
.section-heading > p:not(.section-subtitle) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 600;
}

.institutions-section .section-copy > p:not(.section-subtitle),
.contact-section .section-copy > p:not(.section-subtitle) {
  color: var(--soft-ink);
}

.contact-section .email-link {
  color: var(--black);
}

.section-copy .button {
  margin-top: 32px;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
}

.keyword-grid span {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--card-paper-light);
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
}

.keyword-grid span:nth-child(1) {
  background: var(--poster-red);
  color: var(--poster-cream);
}

.keyword-grid span:nth-child(5) {
  background: var(--poster-yellow);
  color: var(--poster-cream);
}

.keyword-grid span:nth-child(4) {
  background: var(--poster-green);
  color: var(--poster-cream);
}

.keyword-grid span:nth-child(8) {
  background: var(--poster-blue);
  color: var(--poster-cream);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 46px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.mentor-card,
.collaboration-list,
.contact-form {
  border: 3px solid var(--black);
  border-radius: 0;
  background: var(--card-paper);
  backdrop-filter: none;
  box-shadow: var(--shadow);
}

.program-card {
  position: relative;
  min-height: 300px;
  padding: 26px 24px 30px;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--black);
}

.program-card:nth-child(1),
.program-card:nth-child(2),
.program-card:nth-child(3),
.program-card:nth-child(4) {
  background: var(--card-paper);
  color: var(--black);
}

.program-card:nth-child(1)::before {
  background: var(--fixed-green);
}

.program-card:nth-child(2)::before {
  background: var(--tomato);
}

.program-card:nth-child(3)::before {
  background: var(--blue);
}

.program-card:nth-child(4)::before {
  background: var(--moss);
}

.card-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0 auto 18px;
  border-bottom: 3px solid currentColor;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 700;
}

.program-card h3,
.mentor-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.program-card h3 {
  text-align: center;
}

.program-card:nth-child(2) h3,
.program-card:nth-child(3) h3,
.program-card:nth-child(2) p,
.program-card:nth-child(3) p {
  color: var(--black);
}

.program-card p,
.mentor-card p,
.collaboration-list li,
.collaboration-list p,
.form-note,
.form-status {
  color: var(--soft-ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.program-card p {
  margin: 18px 0 0;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mentor-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-paper);
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.mentor-card[data-mentor="ron"] {
  --mentor-accent: var(--olive);
  background: var(--card-paper);
}

.mentor-card[data-mentor="kristy"] {
  --mentor-accent: var(--tomato);
  background: var(--card-paper);
}

.mentor-card[data-mentor="boris"] {
  --mentor-accent: var(--blue);
  background: var(--card-paper);
}

.mentor-card[data-mentor="steven"] {
  --mentor-accent: var(--poster-yellow);
  background: var(--card-paper);
}

.mentor-card[data-mentor="dennis"] {
  --mentor-accent: var(--olive);
  background: var(--card-paper);
}

.mentor-card[data-mentor="wanda"] {
  --mentor-accent: var(--tomato);
  background: var(--card-paper);
}

.mentor-photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 0;
  background: var(--card-paper-deep);
}

.mentor-photo::before,
.mentor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mentor-photo::before {
  z-index: 3;
  opacity: 0.24;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle, rgba(21, 17, 13, 0.42) 0 0.76px, transparent 0.95px),
    radial-gradient(circle, rgba(255, 247, 221, 0.54) 0 0.62px, transparent 0.8px),
    linear-gradient(105deg, rgba(21, 17, 13, 0.2) 0 1px, transparent 1px 7px);
  background-size: 8px 8px, 11px 11px, 16px 16px;
  background-position: 0 0, 4px 5px, 0 0;
}

.mentor-photo::after {
  z-index: 4;
  opacity: 1;
  mix-blend-mode: normal;
  background:
    linear-gradient(to bottom, transparent calc(100% - 12px), var(--mentor-accent, var(--black)) calc(100% - 12px)),
    linear-gradient(90deg, rgba(216, 58, 33, 0.1), transparent 42%, rgba(47, 125, 50, 0.08)),
    linear-gradient(180deg, rgba(255, 247, 221, 0.2), rgba(21, 17, 13, 0.12));
}

.mentor-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.16) sepia(0.22) saturate(1.18) contrast(1.2) brightness(0.96);
  transform: scale(1.055);
  transform-origin: center;
}

.mentor-card[data-mentor="ron"] .mentor-photo img {
  object-position: 50% 34%;
}

.mentor-card[data-mentor="kristy"] .mentor-photo img {
  object-position: 50% 50%;
}

.mentor-card[data-mentor="boris"] .mentor-photo img {
  object-position: 50% 22%;
}

.mentor-card[data-mentor="steven"] .mentor-photo img {
  object-position: 50% 36%;
}

.mentor-card[data-mentor="dennis"] .mentor-photo img {
  object-position: 50% 26%;
}

.mentor-card[data-mentor="wanda"] .mentor-photo img {
  object-position: 50% 26%;
}

.mentor-photo img.is-missing {
  display: none;
}

.mentor-photo span {
  position: relative;
  z-index: 1;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.mentor-photo img.is-missing + span {
  z-index: 5;
}

.mentor-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 22px 22px;
}

.mentor-content::before {
  content: none;
}

.mentor-title {
  margin: 12px 0 0;
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.28;
}

.mentor-institution {
  margin: 8px 0 0;
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mentor-field {
  margin: 18px 0 0;
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 900;
}

.mentor-content p:last-of-type {
  margin: 14px 0 0;
}


.mentor-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.mentor-modal[data-mentor="ron"] {
  --modal-accent: var(--olive);
}

.mentor-modal[data-mentor="kristy"] {
  --modal-accent: var(--tomato);
}

.mentor-modal[data-mentor="boris"] {
  --modal-accent: var(--blue);
}

.mentor-modal[data-mentor="steven"] {
  --modal-accent: var(--poster-yellow);
}

.mentor-modal[data-mentor="dennis"] {
  --modal-accent: var(--olive);
}

.mentor-modal[data-mentor="wanda"] {
  --modal-accent: var(--tomato);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 17, 13, 0.72);
  backdrop-filter: none;
  animation: modalBackdropIn 260ms ease both;
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  width: min(100%, 1020px);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 3px solid var(--black);
  background: var(--card-paper);
  box-shadow: 10px 10px 0 var(--modal-accent, var(--tomato));
  transform-origin: center;
  animation: modalPanelIn 360ms cubic-bezier(0.2, 0.84, 0.26, 1) both;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--mustard);
  color: var(--black);
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--tomato);
  color: var(--white);
}

.modal-photo {
  position: sticky;
  top: 42px;
  align-self: start;
  isolation: isolate;
  width: 250px;
  aspect-ratio: 4 / 5;
  margin: 58px 0 0 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--black);
  background: var(--card-paper-deep);
  box-shadow: 6px 6px 0 var(--black);
  animation: modalPhotoIn 420ms cubic-bezier(0.2, 0.84, 0.26, 1) 90ms both;
}

.modal-photo::before,
.modal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.modal-photo::before {
  z-index: 3;
  opacity: 0.24;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle, rgba(21, 17, 13, 0.42) 0 0.76px, transparent 0.95px),
    radial-gradient(circle, rgba(255, 247, 221, 0.54) 0 0.62px, transparent 0.8px),
    linear-gradient(105deg, rgba(21, 17, 13, 0.2) 0 1px, transparent 1px 7px);
  background-size: 8px 8px, 11px 11px, 16px 16px;
  background-position: 0 0, 4px 5px, 0 0;
}

.modal-photo::after {
  z-index: 4;
  opacity: 0.34;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(90deg, rgba(216, 58, 33, 0.42), transparent 38%, rgba(47, 125, 50, 0.34)),
    linear-gradient(180deg, rgba(255, 247, 221, 0.2), rgba(21, 17, 13, 0.12));
}

.modal-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.16) sepia(0.22) saturate(1.18) contrast(1.2) brightness(0.96);
  transform: scale(1.065);
  transform-origin: center;
}

.mentor-modal[data-mentor="ron"] .modal-photo img {
  object-position: 50% 34%;
}

.mentor-modal[data-mentor="kristy"] .modal-photo img {
  object-position: 50% 50%;
}

.mentor-modal[data-mentor="boris"] .modal-photo img {
  object-position: 50% 20%;
}

.mentor-modal[data-mentor="steven"] .modal-photo img {
  object-position: 50% 35%;
  transform: scale(1.09);
}

.mentor-modal[data-mentor="dennis"] .modal-photo img {
  object-position: 50% 24%;
}

.mentor-modal[data-mentor="wanda"] .modal-photo img {
  object-position: 50% 24%;
}

.modal-photo img.is-missing {
  display: none;
}

.modal-photo span {
  position: relative;
  z-index: 1;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 700;
}

.modal-photo img.is-missing + span {
  z-index: 5;
}

.modal-copy {
  padding: 58px 58px 56px 18px;
  animation: modalCopyIn 420ms cubic-bezier(0.2, 0.84, 0.26, 1) 140ms both;
}

.mentor-modal.is-closing .modal-backdrop {
  animation: modalBackdropOut 220ms ease both;
}

.mentor-modal.is-closing .modal-panel {
  animation: modalPanelOut 260ms cubic-bezier(0.54, 0, 0.42, 1) both;
}

.mentor-modal.is-closing .modal-photo {
  animation: modalPhotoOut 220ms ease both;
}

.mentor-modal.is-closing .modal-copy {
  animation: modalCopyOut 220ms ease both;
}

.modal-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalBackdropOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modalPanelIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    box-shadow: 4px 4px 0 var(--modal-accent, var(--tomato));
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 10px 10px 0 var(--modal-accent, var(--tomato));
  }
}

@keyframes modalPanelOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 10px 10px 0 var(--modal-accent, var(--tomato));
  }

  to {
    opacity: 0;
    transform: translateY(18px) scale(0.982);
    box-shadow: 4px 4px 0 var(--modal-accent, var(--tomato));
  }
}

@keyframes modalPhotoIn {
  from {
    opacity: 0;
    transform: translate(-10px, 16px) scale(0.975);
  }

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

@keyframes modalPhotoOut {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-8px, 12px) scale(0.98);
  }
}

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

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

@keyframes modalCopyOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(14px);
  }
}

.modal-title {
  margin: 18px 0 0;
  color: var(--black);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
}

.modal-institution {
  margin: 10px 0 0;
  color: var(--soft-ink);
  font-weight: 800;
  text-transform: uppercase;
}

.modal-fields {
  margin-top: 30px;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 18px 0;
}

.modal-fields span {
  display: block;
  margin-bottom: 8px;
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-fields p {
  margin: 0;
  color: var(--black);
  font-size: 0.96rem;
}

.modal-bio {
  max-width: 650px;
  margin-top: 28px;
}

.modal-bio p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1rem;
}

.modal-bio p + p {
  margin-top: 16px;
}

.collaboration-list {
  padding: 28px;
  background: var(--card-paper);
  color: var(--black);
}

.collaboration-list p {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 14px;
  color: var(--mustard);
  font-weight: 900;
  text-transform: uppercase;
}

.collaboration-list p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--black);
}

.collaboration-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
  border-top: 0;
}

.collaboration-list li {
  padding: 0 0 0 2px;
  border-bottom: 0;
  color: var(--black);
  font-weight: 800;
}

.collaboration-list li::marker {
  color: var(--mustard);
  font-size: 1.05em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.06fr) minmax(360px, 0.84fr);
  gap: 72px;
  align-items: start;
}

.email-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--card-paper);
  color: var(--black);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  padding: 13px 12px;
  outline: 0;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

.contact-form textarea {
  min-height: 144px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--black);
  box-shadow: 4px 4px 0 var(--mustard);
}

.form-note,
.form-status {
  min-height: 20px;
  margin: 0;
}

.form-note {
  color: var(--muted);
}

.form-status {
  color: var(--black);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 32px var(--gutter);
  border-top: 3px solid var(--black);
  background: var(--black);
  color: rgba(255, 247, 221, 0.76);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.44rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.mentor-card.reveal.is-visible:hover,
.mentor-card.reveal.is-visible:focus-visible {
  transform: scale(1.02);
  box-shadow: 3px 3px 0 var(--black);
  outline: 0;
}

.hero-logo.reveal.is-visible:hover,
.hero-logo.reveal.is-visible:focus-visible {
  transform: scale(1.02);
  box-shadow: 3px 3px 0 var(--black), 0 18px 38px rgba(21, 17, 13, 0.22);
  outline: 0;
}

@media (max-width: 1080px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    max-width: 100vw;
    gap: 12px;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  body.nav-open .mobile-nav {
    display: block;
  }

  .hero-inner,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-logo {
    --hero-logo-art-width: 560px;
    width: min(100%, 479px);
    min-height: auto;
    margin-top: 0;
    justify-self: center;
  }

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

  .program-card {
    min-height: 280px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-photo {
    position: relative;
    top: auto;
    width: min(280px, calc(100% - 72px));
    aspect-ratio: 4 / 5;
    min-height: 0;
    margin: 52px auto 0;
  }

  .modal-copy {
    padding: 34px 42px 46px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --header-height: 68px;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    min-height: var(--header-height);
  }

  .header-actions {
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 1rem;
  }

  .brand-name {
    white-space: nowrap;
  }

  .language-toggle,
  .menu-toggle {
    width: 72px;
    min-width: 72px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1;
    box-shadow: 3px 3px 0 var(--black);
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 42px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-headline {
    margin-top: 24px;
    font-size: 1.35rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-logo {
    min-height: auto;
  }

  .page-section {
    padding: 78px var(--gutter);
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 2.42rem;
  }

  .section-subtitle {
    font-size: 1.08rem;
  }

  .keyword-grid,
  .program-grid,
  .mentor-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .keyword-grid span {
    min-height: 82px;
  }

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

  .card-number {
    margin-bottom: 18px;
  }

  .mentor-content {
    min-height: auto;
  }

  .contact-form,
  .collaboration-list {
    padding: 22px;
  }

  .mentor-modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: 88vh;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-copy {
    padding: 34px 22px 28px;
  }

  .modal-copy h2 {
    font-size: 2.24rem;
  }

  .modal-photo {
    width: min(220px, calc(100% - 44px));
    aspect-ratio: 4 / 5;
    margin-top: 52px;
  }

  .block-a {
    left: -8vw;
    width: 30vw;
  }

  .block-b {
    right: -14vw;
    width: 42vw;
  }

  .block-c,
  .block-d,
  .block-e,
  .block-f {
    opacity: 0.16;
  }

}

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

  .float-block {
    animation: none;
    opacity: 0.16;
    transform: none;
  }

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

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
