:root {
  --bg: #f4f8fc;
  --bg-soft: #eaf2fb;
  --text: #123451;
  --title: #0b4f96;
  --brand-blue: #0054a6;
  --brand-orange: #f57c00;
  --card: #ffffff;
  --border: #d6e4f1;
  --shadow: 0 14px 34px rgba(11, 79, 150, 0.14);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "SF Pro Text",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Roboto",
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, #d6e9fd 0%, transparent 42%),
    radial-gradient(circle at top left, #ffe7d0 0%, transparent 36%),
    var(--bg);
  line-height: 1.55;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(244, 248, 252, 0.92);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand-orange);
}

.hero {
  padding: 2.1rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

.portrait-letter {
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-image: url("./assets/Marie-Pierre photo.jpg");
  background-size: cover;
  background-position: center 11%;
  padding-top: 34rem;
  display: flex;
  align-items: stretch;
}

.portrait-letter-content {
  width: 100%;
  color: #f6fbff;
  padding: 3.1rem 1.45rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(6, 8, 11, 0.46) 10%,
    rgba(10, 12, 16, 0.74) 24%,
    rgba(14, 16, 20, 0.9) 46%,
    rgba(16, 18, 22, 0.97) 100%
  );
}

.portrait-letter-content p {
  margin: 0 0 0.62rem;
  font-size: 0.885rem;
  line-height: 1.34;
  text-wrap: pretty;
}

.portrait-signature {
  margin: 1rem 0 0;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffd9aa;
}

.hero-content {
  align-self: start;
  margin-top: 0;
}

.hero-logo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(11, 79, 150, 0.14);
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-mini-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-content h1 {
  margin: 0.05rem 0 0.22rem;
  color: var(--title);
  font-size: clamp(2rem, 4vw, 2.95rem);
  line-height: 1.1;
  font-weight: 900;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  font-weight: 900;
  font-size: 0.8rem;
}

.subtitle {
  margin: 0 0 0.18rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.slogan {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.1rem, 2.35vw, 1.4rem);
  font-weight: 900;
}

.lead {
  margin: 0.18rem 0 0;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--brand-orange), #ff9834);
  box-shadow: 0 10px 22px rgba(245, 124, 0, 0.25);
}

.btn-secondary {
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.section {
  padding: 3.3rem 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.section-intro {
  margin-top: 0;
  max-width: 66ch;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 7px 20px rgba(11, 79, 150, 0.06);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.card p {
  margin: 0;
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(0, 84, 166, 0.06), rgba(0, 84, 166, 0.06)),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.event-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 84, 166, 0.08);
}

.event-date {
  margin: 0;
  color: var(--brand-orange);
  font-weight: 900;
  font-size: 0.92rem;
}

.event-card h3 {
  margin: 0.5rem 0 0.4rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.event-card p {
  margin: 0;
}

.social-video-card {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 84, 166, 0.08);
}

.social-video-card h3 {
  margin: 0 0 0.4rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.social-video-card p {
  margin: 0 0 0.8rem;
}

.social-video-card a {
  color: var(--brand-blue);
  text-underline-offset: 0.2em;
  font-weight: 800;
}

.resources {
  display: grid;
  gap: 0.7rem;
}

.resources a {
  color: var(--brand-blue);
  text-underline-offset: 0.2em;
  font-weight: 800;
}

.section-soft {
  background: rgba(255, 255, 255, 0.55);
}

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

.future-card {
  border: 1px dashed #9cbad7;
  border-radius: var(--radius);
  padding: 1rem;
  background: #fafdff;
}

.future-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.future-card p {
  margin: 0;
}

.site-footer {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  background: #f7fbff;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #45617b;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: -1;
  }

  .portrait-letter {
    padding-top: 29rem;
  }

  .portrait-letter-content {
    padding: 2.5rem 1.15rem 1.25rem;
  }

  .hero-logo-frame {
    width: min(460px, 100%);
  }

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

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

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

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .brand {
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .portrait-letter {
    padding-top: 23rem;
    background-position: center 8%;
  }

  .portrait-letter-content {
    padding: 2.1rem 1rem 1.05rem;
  }

  .portrait-letter-content p {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .hero-logo-frame {
    width: min(360px, 100%);
  }

  .section {
    padding: 2.6rem 0;
  }

  .card-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 84, 166, 0.12);
}

.contact-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.contact-title {
  color: var(--brand-blue);
  font-weight: 900;
  line-height: 1.1;
}

.contact-value {
  color: #355674;
  font-size: 0.93rem;
  line-height: 1.3;
}

#video-presentation {
  margin-top: 1rem;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0.25rem 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.video-note {
  margin: 0 0 0.7rem;
}

.video-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.video-social-links a {
  color: var(--brand-blue);
  text-underline-offset: 0.2em;
  font-weight: 800;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.press-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.press-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.press-card h3 {
  margin: 0;
}

.press-card p {
  margin: 0;
}

.press-actions {
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

.press-list {
  display: grid;
  gap: 0.8rem;
}

.press-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #f7fbff;
}

.press-media {
  margin: 0;
  color: var(--brand-blue);
  font-weight: 900;
}

.press-date {
  margin: 0.1rem 0 0.35rem;
  color: #355674;
  font-size: 0.93rem;
}

.press-item a {
  color: var(--brand-blue);
  text-underline-offset: 0.2em;
  font-weight: 800;
}

.programme-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.programme-header > div {
  max-width: 66ch;
}

.programme-header > a {
  margin-top: 3.15rem;
  flex-shrink: 0;
}

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

.programme-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.programme-subtitle {
  margin: 0;
  color: var(--brand-orange);
  font-weight: 800;
}

.programme-list {
  margin: 0;
  padding-left: 1.1rem;
}

.programme-list li + li {
  margin-top: 0.45rem;
}

.programme-focus-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.programme-focus-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

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

  .programme-header > a {
    margin-top: 0;
  }

  .programme-grid,
  .programme-focus-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .programme-grid,
  .programme-focus-grid {
    grid-template-columns: 1fr;
  }
}

.nav-links a.active {
  color: var(--brand-orange);
}

.team-page-hero {
  padding-top: 2.4rem;
  padding-bottom: 1.2rem;
}

.team-hero-copy {
  background:
    radial-gradient(circle at top right, rgba(245, 124, 0, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(0, 84, 166, 0.08), rgba(0, 84, 166, 0.02)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.team-hero-copy--full {
  width: 100%;
}

.team-hero-copy h1 {
  margin: 0.1rem 0 0.8rem;
  color: var(--title);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.08;
}

.team-intro {
  margin: 0;
  max-width: none;
  font-size: 1.08rem;
}

.team-roster--full .section-intro {
  max-width: none;
}

.team-roster--full {
  width: 100%;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
}

.team-member-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 242, 251, 0.72));
  box-shadow: 0 8px 24px rgba(0, 84, 166, 0.08);
}

.team-member-card--lead {
  border-color: rgba(245, 124, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(234, 242, 251, 0.78));
}

.team-member-photo-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #dde6ee;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team-member-card h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .team-member-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .team-member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .team-hero-copy,
  .team-roster--full {
    border-radius: 20px;
  }

  .team-hero-copy {
    padding: 1.35rem;
  }

  .team-intro {
    font-size: 1rem;
  }

  .team-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .team-member-card {
    padding: 0.7rem;
  }

  .team-member-card h3 {
    font-size: 0.94rem;
  }
}

@media (max-width: 520px) {
  .team-member-grid {
    grid-template-columns: 1fr;
  }
}
