:root {
  --bg: #f3f4f7;
  --paper: #ffffff;
  --paper-soft: #f7f8fb;
  --ink: #1c2533;
  --muted: #546171;
  --line: #d7dde6;
  --navy: #0e2d50;
  --navy-soft: #23466f;
  --shadow: 0 18px 44px rgba(21, 35, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.hero-image,
.image-band img {
  transition: transform 320ms ease, filter 320ms ease;
  will-change: transform;
}

.hero-image-wrap:hover .hero-image,
.image-band:hover img {
  transform: scale(1.045);
}

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

p,
li {
  color: var(--muted);
}

.utility-bar {
  background: var(--navy);
  color: #fff;
}

.utility-inner,
.site-shell {
  width: min(1040px, calc(100vw - 88px));
  margin: 0 auto;
}

.utility-inner {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr minmax(180px, 290px);
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  font-size: 0.92rem;
}

.utility-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.utility-logo-slot-left {
  justify-self: start;
}

.utility-logo-slot-right {
  justify-self: end;
}

.utility-logo {
  display: block;
  width: auto;
  max-width: 100%;
}

.utility-logo-evry {
  height: 124px;
}

.utility-logo-paris-saclay {
  height: 88px;
}

.utility-program {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.08rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.site-shell {
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.kicker,
.section-kicker,
.hero-label {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-title {
  display: inline-block;
  margin-top: 6px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
}

.site-header-logo {
  width: 196px;
  max-width: 18vw;
  height: auto;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 8px;
}

.site-nav a {
  color: var(--navy);
  font-weight: 700;
}

.full-nav {
  width: 100%;
  background: var(--navy);
  margin-top: -10px;
}

.full-nav-inner {
  width: min(1220px, calc(100vw - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
}

.full-nav a {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  padding: 24px 0 14px;
}

.hero-image-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}

.hero-image-students {
  object-position: center 82%;
}

.hero-card {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  bottom: clamp(20px, 5vw, 56px);
  width: min(470px, calc(100% - 40px));
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.92);
  border-left: 6px solid var(--navy);
  box-shadow: 0 20px 46px rgba(9, 20, 35, 0.18);
}

.hero-card h1,
.section-media h2,
.semester-header h3,
.course-card h5,
.course-detail summary,
.section-nav-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
}

.hero-card h1 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero-card p {
  margin: 12px 0 0;
  font-size: 1rem;
}

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

.primary-link,
.secondary-link {
  color: var(--navy);
  font-weight: 700;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 36px;
  background: var(--line);
}

.intro-stat {
  padding: 18px 20px;
  background: var(--paper);
}

.intro-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1.05rem;
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(210px, 0.62fr);
  gap: 28px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.editorial-section-wide {
  grid-template-columns: 1fr;
}

.section-media h2 {
  margin-top: 6px;
  font-size: clamp(1.85rem, 3.1vw, 3rem);
  line-height: 0.95;
}

.section-media > p {
  max-width: 68ch;
}

.two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.two-column-copy h3,
.course-group h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.3rem;
}

.two-column-copy ul {
  margin: 0;
  padding-left: 18px;
}

.strong-copy {
  color: var(--navy);
  font-weight: 700;
}

.section-nav-card {
  position: sticky;
  top: 20px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-nav-card h3 {
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.section-nav-card a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.image-band {
  margin: 8px 0 4px;
}

.image-band img {
  width: 100%;
  height: 520px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-band-short img {
  height: 400px;
}

.band-image-lecture {
  object-position: center 56%;
}

.band-image-campus {
  object-position: center 62%;
}

.band-image-street {
  object-position: center 30%;
}

.band-image-alumni {
  object-position: center 38%;
}

.curriculum-nav {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 30px;
}

.switch-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.switch-button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.semester-panel {
  display: none;
}

.semester-panel.is-visible {
  display: block;
}

.semester-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.semester-header h3 {
  font-size: 2.5rem;
}

.course-group {
  margin-top: 24px;
}

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

.course-card,
.course-detail {
  background: var(--paper);
  border: 1px solid var(--line);
}

.course-card {
  padding: 18px;
}

.course-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--navy-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card h5 {
  font-size: 1.55rem;
  line-height: 0.98;
}

.course-card p {
  margin: 10px 0 0;
}

.details-grid {
  margin-top: 24px;
}

.course-detail summary {
  padding: 18px 20px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.course-detail summary::-webkit-details-marker {
  display: none;
}

.course-detail[open] summary {
  border-bottom: 1px solid var(--line);
}

.course-detail div {
  padding: 0 20px 18px;
}

.course-detail p {
  margin: 12px 0 0;
}

.course-detail strong {
  color: var(--ink);
}

.site-footer {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  max-width: 78ch;
  font-size: 0.98rem;
}

@media (max-width: 1100px) {
  .intro-strip,
  .course-grid,
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .utility-inner,
  .site-shell {
    width: min(100vw - 24px, 100%);
  }

  .utility-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .utility-program {
    text-align: center;
  }

  .utility-logo-slot-left,
  .utility-logo-slot-right {
    justify-self: center;
  }

  .utility-logo-evry {
    height: 96px;
  }

  .utility-logo-paris-saclay {
    height: 72px;
  }

  .site-header,
  .editorial-section,
  .two-column-copy,
  .intro-strip,
  .course-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header-logo {
    width: 132px;
    max-width: none;
  }

  .full-nav-inner {
    justify-content: center;
    gap: 14px 20px;
    padding: 12px 14px;
  }

  .hero-image-wrap,
  .hero-image {
    min-height: 360px;
  }

  .hero-card {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    padding: 22px 22px 18px;
  }

  .hero-card h1 {
    font-size: clamp(1.95rem, 6.4vw, 2.85rem);
  }

  .image-band img,
  .image-band-short img {
    height: 300px;
  }

  .section-nav-card {
    position: static;
  }
}
