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

:root {
  color-scheme: dark;
  --navy: #08162b;
  --panel: #112640;
  --line: #324961;
  --ice: #8cdef9;
  --white: #f6f8fc;
  --muted: #becde0;
  --serif: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font: 1rem/1.65 "DM Sans", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6vw, 5.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; transform: translateY(-120%); padding: .5rem 1rem; background: var(--navy); }
.skip:focus { transform: none; }
header { background: #09162a; border-bottom: 1px solid #ffffff22; }
.header, .foot, .brand, nav { display: flex; align-items: center; }
.header, .foot { justify-content: space-between; gap: 1.25rem; padding-block: 1rem; }
.brand { gap: .85rem; font-size: .85rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: cover; }
nav { flex-wrap: wrap; gap: .65rem clamp(1rem, 2.2vw, 2rem); }
nav a, .header-cta { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a[aria-current] { color: var(--ice); }
nav a[aria-current] { text-decoration: underline; text-underline-offset: .5em; }
.header-cta { border: 1px solid #7190ae; padding: .55rem .85rem; }
.hero {
  background: linear-gradient(90deg, #061328 1%, #061328e8 29%, #06132842 75%), linear-gradient(0deg, #061328 0%, transparent 38%), url('images/seoul-congres.jpeg') center 43% / cover;
}
.hero-inner { position: relative; min-height: clamp(550px, 45vw, 710px); display: grid; align-items: center; padding-block: 3.5rem 5rem; }
.hero-copy { max-width: 860px; }
.hero h1 { text-shadow: 0 2px 24px #020a17; }
.hero h1 span, .tag { color: var(--ice); }
.hero-copy > p:not(.tag), .intro > p:last-child { max-width: 49ch; margin-top: 1.25rem; font-size: clamp(1rem, 2vw, 1.25rem); color: #e6edf7; }
.tag { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin-bottom: .85rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; gap: 1.3rem; background: var(--ice); color: #071628; font-size: .9rem; font-weight: 700; text-decoration: none; padding: .8rem 1rem; }
.button:hover { background: #c1efff; }
.photo-credit { position: absolute; right: 0; bottom: 1rem; color: #e6edf7; font-size: .8rem; }
.photo-credit span { color: var(--ice); margin-left: .7rem; }
.section { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.highlights { padding-top: 2.5rem; }
.section-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.65rem; }
.section-top > a, .news a { color: var(--ice); font-weight: 700; }
.news, .split, .activity-page .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); }
.news article { background: linear-gradient(145deg, #163452, #10243e); border: 1px solid var(--line); border-top: 2px solid var(--ice); padding: clamp(1.25rem, 3vw, 2rem); }
.news article:target { outline: 2px solid var(--ice); outline-offset: 5px; }
.news h3 + p, .news h3 + a { display: block; margin-top: 1rem; }
.band { background: linear-gradient(115deg, #102842, #112139); border-block: 1px solid var(--line); }
.split { align-items: center; }
.split h2 + p, .split p + p, .split .button { margin-top: 1.15rem; }
.split p:not(.tag), .news h3 + p, .cards h3 + p, .faq details p { color: var(--muted); }
.split figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0 32px 0 32px; }
figcaption { padding-top: .55rem; font-size: .85rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cards article { background: var(--panel); border: 1px solid var(--line); border-radius: 0 24px 0 24px; overflow: hidden; }
.cards img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cards img[src$="publications.png"] { object-position: center 77%; }
.cards article > div { padding: 1.1rem; }
.cards h3 + p { margin-top: .6rem; }
.activity-page .cards article > div { padding: clamp(1.2rem, 3vw, 2rem); }
.join { background: linear-gradient(90deg, #08162bf5, #08162ba0), url('images/seoul-groupe.jpeg') center 42% / cover; padding-block: 4.5rem; border-top: 1px solid var(--line); }
.join h2 + p { margin: 1rem 0 1.5rem; }
.intro { padding: clamp(3rem, 8vw, 7rem) max(1.5rem, calc((100% - 1280px)/2)); background: linear-gradient(110deg, #183c60, #0e2038 75%); border-bottom: 1px solid var(--line); }
.president { grid-template-columns: minmax(150px, 320px) minmax(0, 620px); gap: clamp(1.5rem, 6vw, 6rem); }
.president img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: center top; border-radius: 0 28px 0 28px; }
.signature { font-weight: 700; }
.faq h2 { margin-bottom: 1.5rem; }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; color: var(--ice); font-weight: 700; }
details p { padding: .65rem 0 0 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.contact-box { padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); }
.contact-box p { margin-top: .75rem; }
#contenu a[href^="mailto:"] { overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); background: #061020; }
.copyright { border-top: 1px solid var(--line); padding-block: .9rem; color: var(--muted); font-size: .8rem; }
@media (max-width: 920px) {
  .header-cta { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header, .foot { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .hero { background: linear-gradient(0deg, #061328 2%, #061328db 32%, #06132815 100%), url('images/seoul-congres.jpeg') center top / auto 80% no-repeat, #061328; }
  .hero-inner { align-items: end; min-height: 570px; padding-bottom: 4.3rem; }
  .hero h1 br { display: none; }
  .photo-credit { left: 0; right: auto; }
  .news, .split, .activity-page .cards, .gallery { grid-template-columns: 1fr; }
  .president img { max-width: 250px; }
  .intro { padding-inline: 1rem; }
}
@media (max-width: 430px) {
  .cards { grid-template-columns: 1fr; }
}

