@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap");

:root {
  --brand-navy: #1f347d;
  --brand-navy-deep: #12245a;
  --brand-teal: #36c4c2;
  --brand-teal-deep: #148f97;
  --ink: #20303e;
  --ink-soft: #5c6a77;
  --surface: #f5f0e7;
  --surface-strong: #ede4d7;
  --card: #fffdf9;
  --line: rgba(34, 53, 76, 0.12);
  --line-strong: rgba(34, 53, 76, 0.24);
  --shadow-soft: 0 20px 55px rgba(16, 25, 37, 0.08);
  --shadow-glass: 0 18px 42px rgba(9, 18, 36, 0.18);
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  font-family: "Figtree", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32)),
    radial-gradient(circle at top left, #fcfaf6 0, var(--surface) 44%, #e8dfd2 100%);
}

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

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

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

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 5vw, 5.25rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

section[id] {
  scroll-margin-top: 126px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal-deep);
}

.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.section-head,
.contact-grid,
.split-grid,
.footer-grid,
.page-grid,
.role-grid,
.team-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

.section-head {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: 2.1rem;
}

.section-head p {
  max-width: 42rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

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

.button-primary {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-navy-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-navy-deep);
}

.button-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: #fff;
}

.card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 30px rgba(22, 35, 45, 0.05);
  padding: 1.55rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 240, 231, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 52, 125, 0.1);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.95rem 0;
}

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

.brand-compact {
  width: min(390px, 46vw);
  min-width: 230px;
}

.brand-compact .logo-mark,
.footer-brand-full .logo-mark {
  stroke: var(--brand-navy);
}

.brand-compact .logo-word,
.footer-brand-full .logo-word {
  fill: var(--brand-teal-deep);
}

.footer-brand-full .logo-name {
  fill: var(--brand-teal);
}

.footer-brand-full .logo-tagline {
  fill: var(--brand-navy);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink-soft);
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

section {
  padding: 5rem 0;
}

.hero-home,
.page-photo-hero,
.city-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-photo-hero,
.city-banner,
.photo-shell {
  background-color: #8d99a3;
  background-image: var(--photo-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-home::before,
.page-photo-hero::before,
.city-banner::before,
.photo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(18, 36, 90, 0.95) 0%, rgba(31, 52, 125, 0.86) 26%, rgba(20, 143, 151, 0.54) 68%, rgba(245, 240, 231, 0.14) 100%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.18) 0, transparent 32%),
    radial-gradient(circle at 84% 28%, rgba(255, 255, 255, 0.1) 0, transparent 26%);
  z-index: -2;
}

[data-photo-label]::after {
  content: attr(data-photo-label);
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  background: rgba(8, 15, 34, 0.26);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.hero-home {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: stretch;
  padding: 0;
}

.hero-home::before,
.page-photo-hero::before,
.city-banner::before {
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.2) 0%, rgba(10, 18, 34, 0.58) 52%, rgba(10, 18, 34, 0.92) 100%),
    linear-gradient(130deg, rgba(18, 36, 90, 0.9) 0%, rgba(24, 74, 118, 0.66) 38%, rgba(20, 143, 151, 0.4) 72%, rgba(214, 217, 222, 0.18) 100%),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0, transparent 28%);
}

.hero-inner,
.page-hero-inner,
.banner-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: end;
  padding: 5.5rem 0 4rem;
}

.hero-copy,
.page-hero-copy,
.banner-copy {
  color: #fff;
}

.hero-copy h1,
.page-hero-copy h1,
.banner-copy h2 {
  color: #fff;
}

.hero-copy p,
.page-hero-copy p,
.banner-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-copy p {
  max-width: 42rem;
  margin-top: 1.2rem;
  font-size: 1.16rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-tag:hover {
  transform: translateY(-1px);
  background: rgba(54, 196, 194, 0.22);
  border-color: rgba(54, 196, 194, 0.56);
}

.glass-stack {
  display: grid;
  gap: 1rem;
  align-self: end;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 1.2rem 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-glass);
}

.glass-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.85rem;
  line-height: 1;
}

.glass-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

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

.photo-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  min-height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.photo-shell .photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.04), rgba(10, 18, 34, 0.82));
  z-index: 1;
}

.photo-shell .photo-copy {
  max-width: 22rem;
}

.photo-shell h3,
.photo-shell p,
.photo-shell .tag-light {
  color: #fff;
}

.tag-light {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card {
  min-height: 25rem;
}

.program-card p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
}

.split-grid {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  align-items: center;
}

.portrait-card {
  min-height: 31rem;
}

.stat-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.stat-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.split-copy p + p {
  margin-top: 1rem;
}

.split-copy blockquote {
  margin: 1.55rem 0 0;
  padding: 1.15rem 0 1.15rem 1.25rem;
  border-left: 2px solid rgba(54, 196, 194, 0.42);
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  line-height: 1.45;
}

.city-banner {
  min-height: 26rem;
  padding: 0;
}

.city-banner .banner-inner {
  min-height: 26rem;
  display: flex;
  align-items: flex-end;
  padding: 2.25rem 0;
}

.banner-copy {
  max-width: 38rem;
}

.banner-copy p {
  margin-top: 0.85rem;
}

.values-band {
  background: linear-gradient(180deg, rgba(18, 36, 90, 0.96), rgba(16, 28, 72, 0.98));
  color: #fff;
}

.values-band .eyebrow,
.values-band h2,
.values-band p {
  color: #fff;
}

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

.value-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
}

.value-card p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.55rem;
}

.fact-strip {
  padding-top: 1.3rem;
  padding-bottom: 0.25rem;
}

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

.fact {
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.fact strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.soft-band {
  background: linear-gradient(180deg, rgba(238, 229, 215, 0.52), rgba(245, 240, 231, 0.68));
  border-top: 1px solid rgba(31, 52, 125, 0.08);
  border-bottom: 1px solid rgba(31, 52, 125, 0.08);
}

.history-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.history-item {
  padding-left: 1rem;
  border-left: 2px solid rgba(20, 143, 151, 0.28);
}

.history-item strong {
  display: block;
  margin-bottom: 0.28rem;
}

.detail-card p,
.role-card p,
.team-card p {
  margin-top: 0.55rem;
}

.page-photo-hero {
  min-height: 24rem;
  padding: 0;
}

.page-hero-inner {
  min-height: 24rem;
  display: flex;
  align-items: flex-end;
  padding: 3.6rem 0 2.8rem;
}

.page-hero-copy {
  max-width: 46rem;
}

.page-hero-copy p {
  margin-top: 1rem;
}

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

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.profile-card {
  overflow: hidden;
  padding: 0;
}

.profile-photo {
  aspect-ratio: 4 / 3;
  background-color: #9ea7af;
  background-image: var(--photo-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-body {
  padding: 1.5rem;
}

.profile-body p {
  margin-top: 0.85rem;
}

.profile-meta {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.role-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.meta-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.meta-row {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.meta-row strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

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

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.contact-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.contact-cta {
  background: linear-gradient(180deg, rgba(18, 36, 90, 0.96), rgba(16, 28, 72, 1));
  color: #fff;
}

.contact-cta h2,
.contact-cta h3,
.contact-cta p,
.contact-cta a,
.contact-cta label {
  color: #fff;
}

.contact-cta .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1.4;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.field select option {
  color: var(--ink);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  min-height: 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.form-status.is-error {
  color: #ffd4d1;
}

.form-status.is-success {
  color: #c7ffe0;
}

.site-footer {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid rgba(31, 52, 125, 0.08);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-brand-full {
  width: min(100%, 500px);
  display: block;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-grid h3 {
  font-size: 1.04rem;
  margin-bottom: 0.9rem;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.copyright {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 52, 125, 0.08);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .service-tag {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .split-grid,
  .role-grid,
  .contact-grid,
  .page-grid,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .fact-grid,
  .values-grid,
  .team-grid,
  .profile-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .brand-compact {
    width: min(320px, 78vw);
    min-width: 0;
  }

  .hero-inner {
    padding: 4.6rem 0 3.2rem;
  }

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

  .page-photo-hero,
  .page-hero-inner,
  .city-banner,
  .city-banner .banner-inner {
    min-height: 20rem;
  }

  .fact-grid,
  .values-grid,
  .team-grid,
  .profile-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-shell,
  .program-card,
  .portrait-card {
    min-height: 22rem;
  }

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

  section {
    padding: 4rem 0;
  }
}
