/* Seamless photography and content-led layouts, November 2026. */
.hero {
  min-height: 660px;
  height: clamp(660px, 51vw, 740px);
  background: var(--navy);
}
.hero-photo,
.hero-photo.wide-photo {
  inset: 0 0 0 auto;
  width: 65%;
  height: 100%;
  padding: 0;
  background: transparent;
  display: block;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 12% !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.hero-photo.wide-photo { width: 68%; }
.hero-photo.wide-photo img {
  object-fit: contain !important;
  object-position: right top !important;
}
.hero-shade {
  display: block;
  pointer-events: none;
  background: linear-gradient(90deg, #102e45 0%, #102e45 30%, #102e45e8 38%, #102e4570 49%, transparent 65%),
    linear-gradient(0deg, #102e45 0%, #102e45a0 7%, transparent 28%);
}
.hero-content { padding-top: 64px; padding-bottom: 115px; }
.hero-content h1,
.hero-content h2 {
  max-width: 520px;
  font-size: clamp(56px, 5.6vw, 82px);
}
.hero-content > p { max-width: 425px; }
.hero-cta { max-width: 510px; gap: 20px; }
.hero-bottom .slide-controls { background: transparent; padding: 0; }
.slide-controls button { min-width: 42px; min-height: 42px; }
.hero-signature { max-width: 45%; }

/* Photograph and copy share one blue surface, with no surrounding matte. */
.community-band {
  display: block;
  background: var(--navy);
  min-height: 520px;
}
.community-band > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  padding: 0;
  opacity: 1;
  background: transparent;
  object-fit: contain !important;
  object-position: right center !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%);
  mask-image: linear-gradient(90deg, transparent, #000 36%);
}
.community-band:after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #102e45 12%, #102e45ed 32%, transparent 75%),
    linear-gradient(0deg, #102e45, transparent 25%, transparent 85%, #102e45);
}
.community-band > .wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
  padding: 64px 0;
}
.community-band > .wrap > div { max-width: 480px; }
.community-band h2 { font-size: clamp(42px, 4.7vw, 62px); }
.article-hero { background: var(--navy); color: #fff; padding-block: 30px 42px; }
.article-hero .breadcrumbs,
.article-hero .lead,
.article-hero figcaption { color: #d4e0e7; }
.article-hero .eyebrow { color: var(--gold-light); }
.article-hero-inner { gap: 36px; grid-template-columns: 1.1fr 1fr; }
.article-hero-inner > img,
.education-hero figure img {
  max-height: 500px;
  background: transparent;
  border: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 3%, #000 87%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 3%, #000 87%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.education-hero figure { margin: 0; }
.education-hero figure figcaption { text-align: right; font-size: 11px; color: #d4e0e7; }
.education-highlights { gap: 28px; padding-top: 22px; border-top: 1px solid #ffffff30; }
.education-highlights strong { color: var(--gold-light); }
.portrait-frame { padding: 0; background: transparent; }
.portrait-frame > img { background: transparent; }
.portrait-frame .portrait-caption {
  position: static;
  width: 100%;
  padding: 20px 24px;
  border-left: 0;
}
.menu-portrait img { background: transparent; }
.project-cover { padding: 0; background: transparent; }
.projects-grid > .project-card:last-child:nth-child(3) { display: block; }

/* Keep long explanations below their visual introductions, using the full row. */
.learning-intro { padding-block: 56px; }
#universite, #diplomes, #accreditation, #certifications, #competences, #documents-academiques { padding-block: 64px; }
.learning-intro .editorial-columns { display: block; margin-top: 0; }
.learning-intro .editorial-columns > h2 { max-width: 900px; }
.learning-intro .prose { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.learning-intro .prose p { margin-bottom: 0; }
.university-feature { gap: 40px; align-items: start; }
.university-feature h2 { font-size: clamp(35px, 3.1vw, 46px); }
.degree-detailed { display: block; padding: 40px 0; }
.degree-detailed:first-of-type { padding-top: 0; }
.degree-summary { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.degree-summary .degree-visual { min-width: 0; }
.degree-summary .prose { min-width: 0; }
.degree-summary .prose > p:last-child { margin-bottom: 0; }
.degree-detailed h3 { font-size: clamp(30px, 3vw, 42px); }
.degree-badges { margin-block: 18px; }
.degree-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.degree-insights section { padding-top: 22px; border-top: 1px solid var(--line); }
.degree-insights h4 { margin-bottom: 14px; }
.degree-insights p:last-child { margin-bottom: 0; }
.degree-detailed > .source-note { margin: 22px 0 0; }
.evidence-details { margin-top: 24px; }
.certificate-index { gap: 12px; margin-block: 28px 10px; }
.certificate-index a { align-items: center; }
.certificate.certificate-expanded { display: block; padding: 36px 0; }
.certificate-expanded .cert-number { position: static; font-size: 22px; line-height: 1; }
.certificate-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.certificate-heading .eyebrow { margin: 0; line-height: 1.6; }
.certificate-summary { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 34px; align-items: center; }
.certificate-summary > .certificate-image { max-width: none; align-self: center; }
.certificate-summary > .certificate-image, .certificate-summary > .certificate-content { grid-column: auto; }
.certificate-summary > .certificate-image img { height: auto; max-height: 280px; }
.certificate-content { min-width: 0; }
.certificate-expanded .certificate-content h3 { font-size: clamp(26px, 2.3vw, 34px); margin-bottom: 14px; }
.certificate-expanded .certificate-content .lead { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.cert-meta { flex-wrap: wrap; gap: 15px 30px; margin: 15px 0 20px; }
.certificate-insights { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: 28px; }
.certificate-insights section { border-top: 1px solid var(--line); padding-top: 22px; min-width: 0; }
.certificate-insights h4 { font-size: 14px; margin: 0 0 15px; }
.certificate-insights p, .certificate-insights li { font-size: 14px; line-height: 1.85; }
.certificate-insights p:last-child { margin-bottom: 0; }
.certificate-insights ul { padding-left: 18px; margin: 0; }
.certificate-expanded > .cert-comment { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 22px; font-size: 13px; }
.cert-comment summary { cursor: pointer; }
.cert-comment p { margin-top: 16px; }
.academic-images { gap: 24px; align-items: start; }
.academic-images button { height: auto; padding: 0; }
.academic-images img { height: auto; max-height: 350px; background: transparent; }
.project-dossier { display: block; padding-block: 40px; }
.project-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.project-summary > div { min-width: 0; }
.project-summary .lead { font-size: 17px; }
.project-insights { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 26px; }
.project-insights h3 { margin-top: 0; font-size: 28px; }
.project-insights p:last-child { margin-bottom: 0; }
.project-insights ul { padding-left: 20px; }
.project-preview-panel, .project-dossier > div, .video-dossier > div, .article-hero-inner > div { min-width: 0; }
.prose, .source-links a, .document-card, .source-card { overflow-wrap: anywhere; }
.newsletter-pop { max-height: calc(100dvh - 32px); overflow-y: auto; }

@media (max-width: 1180px) {
  .hero-content h1, .hero-content h2 { max-width: 450px; font-size: 67px; }
  .hero-content > p { max-width: 365px; }
  .hero-cta { max-width: 420px; }
  .community-band > .wrap { width: calc(100% - 60px); }
  .degree-summary, .degree-insights { gap: 28px; }
  .certificate-insights { gap: 22px; }
}
@media (max-width: 1000px) {
  .hero {
    --mobile-photo-height: clamp(285px, 78vw, 440px);
    display: grid;
    height: auto;
    min-height: 0;
  }
  .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; }
  .hero-photo, .hero-photo.wide-photo {
    width: 100%;
    height: var(--mobile-photo-height);
    padding: 0;
  }
  .hero-photo img {
    object-position: 50% 16% !important;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, #000c 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, #000c 78%, transparent 100%);
  }
  .hero-photo.wide-photo img { object-position: center top !important; }
  .hero-shade { display: none; }
  .hero-content { padding-top: calc(var(--mobile-photo-height) - 22px); padding-bottom: 104px; }
  .hero-content h1, .hero-content h2 { font-size: clamp(48px, 7.8vw, 66px); max-width: none; line-height: 1.01; margin-bottom: 22px; }
  .hero-content > .eyebrow { max-width: none; font-size: 9px; letter-spacing: .15em; margin-bottom: 18px; }
  .hero-content > p { max-width: 600px; font-size: 15px; margin: 18px 0; }
  .hero-cta { max-width: none; flex-direction: row; align-items: center; flex-wrap: wrap; margin-top: 24px; gap: 18px 24px; }
  .hero-bottom { bottom: 22px; gap: 16px; }
  .hero-signature { font-size: 9px; line-height: 1.7; letter-spacing: .1em; }
  .hero-bottom .slide-controls { gap: 8px; }
  .slide-count { margin-right: 3px; font-size: 10px; }
  .slide-controls button { width: 42px; height: 42px; }
  .article-hero-inner { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 44px; }
  .education-highlights { flex-wrap: wrap; }
  .university-feature { grid-template-columns: 1fr; gap: 26px; }
  .university-feature figure { max-width: 640px; }
  .certificate-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certificate-insights { grid-template-columns: 1fr 1fr; }
  .certificate-insights > section:last-child { grid-column: 1 / -1; }
  .community-band > img { width: 70%; }
  .community-band > .wrap > div { max-width: 440px; }
}
@media (max-width: 700px) {
  .hero-content { padding-bottom: 132px; }
  .hero-cta { gap: 18px; }
  .hero-cta .watch-intro { font-size: 12px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-signature { max-width: none; font-size: 9px; }
  .slide-controls button { min-width: 40px; min-height: 40px; width: 40px; height: 40px; }
  .article-hero { padding-top: 24px; padding-bottom: 32px; }
  .article-hero-inner { display: flex; flex-direction: column-reverse; gap: 22px; align-items: stretch; }
  .article-hero-inner > img, .education-hero figure img {
    max-height: 390px;
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  }
  .article-hero .breadcrumbs { margin-bottom: 24px; }
  .article-hero h1 { font-size: clamp(39px, 9.4vw, 52px); }
  .article-hero .lead { font-size: 16px; }
  .education-hero figure figcaption { display: none; }
  .education-highlights { gap: 18px; margin-top: 24px; }
  .education-highlights span { font-size: 10px; }
  .education-highlights strong { font-size: 23px; }
  .community-band { display: flex; flex-direction: column; min-height: 0; }
  .community-band > img {
    position: relative;
    inset: auto;
    order: 0;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  }
  .community-band:after { display: none; }
  .community-band > .wrap { order: 1; width: calc(100% - 40px); padding: 0 0 44px; margin-top: -15px; }
  .community-band h2 { font-size: 43px; }
  .learning-intro { padding-block: 42px; }
  #universite, #diplomes, #accreditation, #certifications, #competences, #documents-academiques { padding-block: 44px; }
  .project-summary, .project-insights { grid-template-columns: 1fr; gap: 24px; }
  .project-insights { margin-top: 24px; padding-top: 22px; }
  .learning-intro .prose, .degree-summary, .degree-insights, .certificate-summary, .certificate-insights { grid-template-columns: 1fr; gap: 22px; }
  .learning-intro .editorial-columns h2 { font-size: 36px; }
  .degree-summary { align-items: start; }
  .degree-summary .degree-visual { max-width: 520px; }
  .degree-summary .degree-visual > .text-link { margin-top: 12px; }
  .degree-detailed { padding: 30px 0; }
  .degree-detailed h3 { font-size: 30px; }
  .degree-insights { margin-top: 22px; }
  .degree-insights section, .certificate-insights section { padding-top: 18px; }
  .degree-insights p, .degree-summary p { font-size: 15px; line-height: 1.85; }
  .certificate-index { grid-template-columns: 1fr; gap: 8px; }
  .certificate-index a { padding: 13px 15px; }
  .certificate.certificate-expanded { padding: 30px 0; }
  .certificate-summary > .certificate-image { max-width: 450px; }
  .certificate-summary > .certificate-image img { max-height: none; }
  .certificate-expanded .certificate-content h3 { font-size: 28px; }
  .certificate-insights > section:last-child { grid-column: auto; }
  .certificate-expanded .certificate-content .lead { font-size: 15px; }
  .cert-meta { gap: 14px 24px; }
  .academic-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .academic-images img { height: auto; max-height: none; }
  .academic-images figcaption { font-size: 11px; }
  .section-heading .large-year { display: none; }
  .page-tabs { padding-block: 18px; }
  .mega-menu { max-height: calc(100dvh - 74px); }
  .newsletter-pop { max-height: calc(100dvh - 24px); }
  .project-copy { padding: 23px; }
}
@media (max-width: 360px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item { min-width: 0; }
  .hero-content h1, .hero-content h2 { font-size: 44px; }
  .hero-bottom { gap: 6px; }
  .hero-bottom .slide-controls { gap: 5px; }
  .hero-signature { max-width: none; font-size: 8px; }
  .slide-count { font-size: 9px; }
  .slide-controls button { min-width: 38px; min-height: 38px; width: 38px; height: 38px; }
  .academic-images { grid-template-columns: 1fr; }
  .header-tools { gap: 7px; }
}
@media print {
  .hero-photo img, .article-hero img, .community-band > img { mask-image: none; -webkit-mask-image: none; }
  .article-hero { background: #fff; color: #142b3c; }
  .article-hero .lead, .article-hero .breadcrumbs, .article-hero .eyebrow { color: #142b3c; }
  .degree-summary, .degree-insights, .certificate-summary, .certificate-insights { break-inside: avoid; }
}
