/* Palette taken from the IAG logo */
:root {
  --blue: #0028f8;        /* logo globe / orbit */
  --blue-deep: #001a9e;
  --navy: #040d4a;        /* bands, footer */
  --gold: #f8b800;        /* logo sun */
  --red: #e5141b;         /* logo "N" */
  --ink: #0b1030;
  --white: #ffffff;
  --header-h: 90px;
  --topbar-h: 46px;
  --slide-ms: 5000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Top bar ---------- */
.top-bar {
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--navy), var(--blue-deep) 60%, var(--blue));
  color: var(--white);
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1840px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
}
.top-bar__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  font-size: 0.9rem;
}
.top-bar__notice strong { color: var(--gold); flex-shrink: 0; }
.top-bar__notice span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0.9; }
.top-bar__contact {
  flex-shrink: 0;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.3s, color 0.3s;
}
.top-bar__contact:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #eceef5;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(4, 13, 74, 0.08);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1740px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
}
.header__logo img { height: 62px; width: auto; }

.gnb ul { display: flex; gap: 6px; }
.gnb a {
  position: relative;
  display: block;
  padding: 25px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000;
  transition: color 0.25s;
}
.gnb a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.gnb a:hover { color: var(--blue); }
.gnb a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero / main visual ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--topbar-h));
  min-height: 560px;
  overflow: hidden;
  background: #000;
  color: var(--white);
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}
.hero__slide.is-active img { transform: scale(1); }

/* The Sun image is square: keep the whole disc on the right, text on the black left */
.hero__slide--sun img {
  object-fit: contain;
  object-position: 92% center;
}

/* Overlay: darker on the left so the title stays readable on bright images */
.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 74, 0.82) 0%, rgba(4, 13, 74, 0.55) 40%, rgba(0, 0, 0, 0.12) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 35%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero__text { max-width: 860px; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
#heroLabel { transition: opacity 0.4s; }
#heroLabel.is-fading { opacity: 0; }

.hero__title {
  margin: 0 0 40px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__title span { display: block; }
.hero__title-small {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
}
.hero__title-big { font-size: clamp(2.2rem, 4.3vw, 4.1rem); }
.hero__title-big b {
  font-weight: 800;
  color: var(--gold);
}
.hero__title-mid {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
  font-weight: 400;
}

.hero__meta {
  margin: -12px 0 34px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.hero__meta strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero__meta p {
  margin: 4px 0 0;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  opacity: 0.9;
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__count {
  min-width: 56px;
  margin: 0 8px 0 0;
  font-size: 0.95rem;
  font-weight: 300;
}
.hero__count b { font-weight: 700; }
.hero__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
}
.hero__arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero__arrow svg, .to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__progress {
  position: relative;
  width: 120px;
  height: 2px;
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.hero__progress span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.hero__progress span.is-running {
  animation: progress calc(var(--slide-ms) * 1ms) linear forwards;
}
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 32px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.about h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.about__text p:not(.eyebrow) {
  margin: 0 0 16px;
  line-height: 1.75;
  color: #3a4060;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.about__stats li {
  padding: 28px 24px;
  border-radius: 16px;
  background: #f3f5ff;
  border-top: 4px solid var(--blue);
}
.about__stats li:nth-child(2) { border-top-color: var(--gold); }
.about__stats li:nth-child(3) { border-top-color: var(--red); }
.about__stats li:nth-child(4) { border-top-color: var(--navy); }
.about__stats b {
  display: block;
  margin-bottom: 6px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}
.about__stats span { font-size: 0.9rem; color: #555b78; }

/* ---------- Research directions band ---------- */
.fields {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
/* Orbit ring echoing the logo */
.fields::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 70%;
  height: 220%;
  border: 2px solid rgba(0, 40, 248, 0.45);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.fields__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px 80px;
  max-width: 1580px;
  margin: 0 auto;
  padding: 56px 32px;
}
.fields__heading {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
}
.fields__heading span {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fields__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
  max-width: 1100px;
}
.fields__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}
.fields__list li:hover { background: rgba(0, 40, 248, 0.35); transform: translateY(-4px); }
.fields__list svg {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fields__list svg .fill { fill: var(--gold); stroke: none; }
.fields__list b { font-size: 1.15rem; font-weight: 600; }
.fields__list span { margin-top: 2px; font-size: 0.78rem; opacity: 0.65; }

/* ---------- Footer ---------- */
.footer {
  background: #020833;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}
.footer__inner {
  max-width: 1580px;
  margin: 0 auto;
  padding: 44px 32px 32px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.footer__logo {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
}
.footer__logo img { height: 52px; width: auto; }
.footer__brand p { margin: 0; }
.footer__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-bottom: 24px;
}
.footer__contact span {
  margin-right: 8px;
  font-weight: 600;
  color: var(--gold);
}
.footer__contact a:hover { color: var(--white); text-decoration: underline; }
.footer__credits {
  margin: 0 0 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  opacity: 0.6;
}
.footer__copy { margin: 0; opacity: 0.6; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 40, 248, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .gnb a { padding: 25px 14px; font-size: 0.95rem; }
  .gnb a::after { left: 14px; right: 14px; }
  .fields__inner { flex-direction: column; text-align: center; }
  .fields__list { width: 100%; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 32px; }
}

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

@media (max-width: 1070px) {
  :root { --header-h: 74px; }
  .header__logo img { height: 50px; }
  .menu-toggle { display: flex; }
  /* backdrop-filter would become the containing block of the fixed menu */
  .header.is-scrolled { backdrop-filter: none; background: var(--white); }
  .gnb {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    padding: 90px 0 30px;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(4, 13, 74, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .menu-open .gnb { transform: none; }
  .gnb ul { flex-direction: column; gap: 0; }
  .gnb a { padding: 16px 28px; border-bottom: 1px solid #eef0f6; }
  .gnb a::after { display: none; }
}

@media (max-width: 980px) {
  .hero__content { justify-content: center; text-align: center; padding: 0 16px; }
  .hero__controls { justify-content: center; }
  .hero__meta { padding-left: 0; border-left: 0; }
  .hero__slides::after {
    background: linear-gradient(0deg, rgba(4, 13, 74, 0.75), rgba(4, 13, 74, 0.45));
  }
  .hero__slide--sun img { object-fit: cover; object-position: center; }
}

@media (max-width: 760px) {
  .top-bar__inner { padding: 0 16px; }
  .top-bar__notice strong { display: none; }
  .hero__title-small { font-size: 1.2rem; }
  .hero__tag { font-size: 0.72rem; margin-bottom: 18px; }
  .hero__progress { display: none; }
  .fields__inner { padding: 44px 16px; }
  .fields__heading { font-size: 1.8rem; }
  .fields__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__inner { padding: 56px 16px; }
  .about__stats li { padding: 20px 16px; }
  .about__stats b { font-size: 2rem; }
  .footer__inner { padding: 36px 16px 28px; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide img { transition: none; }
  .hero__slide img { transform: none; }
  .hero__progress span.is-running { animation: none; }
}

/* ---------- Conference quick links ---------- */
.conference-quick {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 3;
  width: 160px;
  padding: 8px 14px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 48px rgba(4,13,74,.2);
  color: var(--navy);
}
.conference-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}
.conference-quick__item + .conference-quick__item { border-top: 1px solid #e4e7f4; }
.conference-quick__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  transition: background .2s, color .2s;
}
.conference-quick__icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.conference-quick__item:hover { color: var(--blue); }
.conference-quick__item:hover .conference-quick__icon { background: var(--gold); color: var(--navy); }
.conference-quick__item:focus-visible, .conference-dialog a:focus-visible, .conference-dialog button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.hero__content { padding-right: 216px; }
.conference-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 40px 32px 32px;
  border: 0;
  border-top: 5px solid var(--gold);
  border-radius: 20px;
  background: white;
  color: var(--ink);
  box-shadow: 0 24px 100px rgba(4,13,74,.3);
}
.conference-dialog::backdrop { background: rgba(2,8,51,.72); }
body:has(.conference-dialog[open]) { overflow: hidden; }
.conference-dialog__close { position: absolute; top: 10px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f5ff; color: var(--navy); font-size: 26px; }
.conference-dialog__eyebrow { margin: 8px 0; color: var(--blue); font-size: .8rem; font-weight: 600; }
.conference-dialog h2 { margin: 12px 0 20px; line-height: 1.25; color: var(--navy); }
.conference-dialog p { line-height: 1.7; }
.conference-dialog__contact { display: inline-flex; gap: 24px; align-items: center; margin-top: 8px; padding: 12px 18px; border-radius: 8px; background: var(--navy); color: white; }
@media (min-width: 981px) and (max-width: 1200px) {
  .hero__title-big { font-size: 3.6vw; }
}
@media (max-width: 980px) {
  .hero { height: auto; min-height: 0; }
  .hero__content { position: relative; min-height: 560px; padding: 44px 24px; }
  .conference-quick { position: relative; top: auto; right: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: calc(100% - 32px); max-width: 640px; margin: 0 auto 24px; padding: 12px 0; transform: none; border-radius: 18px; }
  .conference-quick__item { padding: 12px 8px; font-size: .8rem; }
  .conference-quick__item + .conference-quick__item { border-top: 0; border-left: 1px solid #e4e7f4; }
}
@media (max-width: 420px) {
  .conference-quick__item { font-size: .72rem; }
  .conference-quick__icon { width: 44px; height: 44px; }
  .conference-dialog { padding: 40px 24px 24px; }
}

/* ---------- Conference contact ---------- */
.conference-contact { background: #f4f6ff; scroll-margin-top: calc(var(--header-h) + 24px); }
.conference-contact__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; max-width: 1400px; margin: auto; padding: 80px 32px; }
.conference-contact h2 { margin: 0 0 20px; color: var(--navy); font-size: clamp(2rem,3.5vw,3rem); line-height: 1.2; }
.conference-contact__intro > p:not(.eyebrow) { max-width: 480px; line-height: 1.75; color: #3a4060; }
.conference-contact__intro .conference-contact__date { color: var(--blue); font-weight: 600; }
.conference-contact__details { padding: 32px; background: white; border-top: 4px solid var(--gold); border-radius: 18px; box-shadow: 0 12px 40px rgba(4,13,74,.06); min-width: 0; }
.conference-contact__institute { margin: 0 0 24px; font-weight: 600; color: var(--navy); line-height: 1.6; }
.conference-contact__institute span { font-weight: 400; color: #555b78; font-size: .9rem; }
.conference-contact dl { margin: 0; }
.conference-contact dl > div { padding: 16px 0; border-top: 1px solid #e4e7f4; }
.conference-contact dt { margin-bottom: 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #555b78; }
.conference-contact dd { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
.conference-contact__email a { color: var(--blue); font-weight: 600; font-size: clamp(1rem,1.6vw,1.3rem); }
.conference-contact a:hover { text-decoration: underline; }
.conference-contact a:focus-visible, .top-bar__contact:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 760px) {
  .conference-contact__inner { grid-template-columns: 1fr; gap: 24px; padding: 56px 16px; }
  .conference-contact__details { padding: 24px; }
}

/* ---------- Important Dates page ---------- */
.gnb a[aria-current="page"] { color: var(--blue); }
.gnb a[aria-current="page"]::after { transform: scaleX(1); }
.dates-banner { color: white; background: linear-gradient(90deg,rgba(4,13,74,.88),rgba(4,13,74,.4)), url('../img/hero-1-astronomy.jpg') center 48% / cover; }
.dates-banner__inner { max-width: 1320px; margin: auto; padding: 44px 32px 50px; }
.dates-banner nav { font-size: .8rem; color: rgba(255,255,255,.8); }
.dates-banner nav a:hover { text-decoration: underline; }
.dates-banner nav span { margin-left: 10px; }
.dates-banner h1 { margin: 20px 0 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.2; }
.dates-content { max-width: 1320px; margin: auto; padding: 64px 32px 80px; }
.dates-content h2 { margin: 0 0 16px; font-size: clamp(1.6rem,3vw,2rem); color: var(--navy); }
.dates-content__intro { margin: 0; color: #555b78; line-height: 1.7; }
.dates-timeline { list-style: none; margin: 48px 0 32px; padding: 0; position: relative; }
.dates-timeline::before { content: ''; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 5px; border-radius: 4px; background: #e6e8f0; }
.dates-timeline__item { position: relative; display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: center; min-height: 76px; padding: 20px 24px 20px 36px; border-radius: 8px; line-height: 1.6; }
.dates-timeline__item::before { content: ''; position: absolute; left: 3px; top: 30px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); }
.dates-timeline time { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.dates-timeline__item > span { font-size: 1.05rem; }
.dates-timeline__item--conference { background: #fff3cf; }
.dates-timeline__item--conference::before { background: #c58a00; }
.dates-timeline__item--field { background: #eef1ff; margin-top: 8px; }
.dates-timeline__item--field::before { background: var(--blue); }
.dates-content__contact { margin: 32px 0 0; color: #555b78; font-size: .9rem; line-height: 1.7; }
.dates-content__contact a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
/* Keep all seven navigation items clear of the logo at intermediate widths. */
@media (min-width: 1071px) and (max-width: 1440px) {
  .gnb a { padding-left: 12px; padding-right: 12px; font-size: .88rem; }
}
@media (max-width: 760px) {
  .dates-banner__inner { padding: 32px 20px 40px; }
  .dates-content { padding: 40px 20px 56px; }
  .dates-timeline { margin-top: 32px; }
  .dates-timeline__item { grid-template-columns: 1fr; gap: 4px; padding: 18px 14px 18px 32px; }
  .dates-timeline__item::before { top: 26px; }
  .dates-timeline time { font-size: 1rem; }
  .dates-timeline__item > span { font-size: .95rem; }
}

/* ---------- Updated conference headline ---------- */
.hero__title--conference { max-width: 900px; margin-bottom: 22px; font-size: clamp(1.8rem,3.35vw,3.2rem); line-height: 1.16; font-weight: 700; }
.hero__title--conference b { color: var(--gold); font-weight: 800; }
.hero__conference-subtitle { margin: 0 0 24px; font-size: clamp(1rem,1.65vw,1.55rem); line-height: 1.5; font-weight: 400; }
.hero__conference-details { margin: 0 0 30px; border-left: 3px solid var(--gold); padding-left: 16px; }
.hero__conference-date { margin: 0 0 4px; font-size: clamp(1.3rem,2vw,1.85rem); font-weight: 700; color: var(--gold); }
.hero__conference-location { margin: 0; font-size: clamp(1rem,1.45vw,1.35rem); }
@media (max-width: 980px) {
  .hero__conference-details { border-left: 0; padding-left: 0; }
  .hero__title--conference { font-size: clamp(1.65rem,4.8vw,2.8rem); }
}

/* Subject placement for the five conference themes. */
.hero__slide--seismology img { object-position: 65% center; }
.hero__slide--astronomy img { object-position: center; }
.hero__slide--geomagnetism img { object-position: 60% center; }
.hero__slide--space img { object-position: 62% center; }
.hero__slide--geophysical img { object-position: 65% center; }
.footer__credits a { text-decoration: underline; }
@media (max-width: 980px) {
  .hero__slide--space img { object-position: 60% center; }
}

/* ---------- Pages awaiting conference information ---------- */
.coming-soon { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px 72px; text-align: center; }
.coming-soon__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #f1f3ff; color: var(--blue); }
.coming-soon__icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coming-soon h2 { margin: 24px 0 12px; font-size: clamp(2rem,4vw,3rem); color: var(--navy); line-height: 1.2; }
.coming-soon p { margin: 0 0 28px; line-height: 1.7; color: #555b78; }
.coming-soon__home { display: inline-flex; align-items: center; gap: 24px; padding: 12px 22px; border-radius: 8px; background: var(--navy); color: white; font-weight: 500; }
.coming-soon__home:hover { background: var(--blue); }
.coming-soon__home:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ---------- Conference program image ---------- */
.program-content { max-width: 1640px; margin: auto; padding: 56px 32px 72px; }
.program-content__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 28px; }
.program-content h2 { margin: 0 0 10px; color: var(--navy); font-size: clamp(1.6rem,3vw,2rem); }
.program-content__heading p { margin: 0; color: #555b78; font-size: .9rem; line-height: 1.7; }
.program-content__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.program-content__actions a { display: inline-flex; align-items: center; gap: 16px; padding: 12px 18px; border: 1px solid #dce0f2; border-radius: 8px; color: var(--navy); font-size: .85rem; font-weight: 500; }
.program-content__actions a:last-child { background: var(--navy); color: white; border-color: var(--navy); }
.program-content__actions a:hover { border-color: var(--blue); color: var(--blue); }
.program-content__actions a:last-child:hover { background: var(--blue); color: white; }
.program-content__figure { margin: 0; padding: 0; border: 1px solid #e4e7f4; border-radius: 12px; overflow: hidden; }
.program-content__figure img { width: 100%; height: auto; }
.program-content a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 760px) {
  .program-content { padding: 36px 16px 48px; }
  .program-content__heading { gap: 20px; }
  .program-content__actions { gap: 8px; }
  .program-content__actions a { padding: 10px 14px; font-size: .8rem; }
}

/* ---------- Program as an editable web schedule ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.program-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 28px; align-items: start; }
.program-sessions { border: 1px solid #e1e5f2; border-radius: 16px; overflow: hidden; }
.program-section-label { margin: 0; padding: 20px 24px; background: #f3f5ff; color: var(--navy); font-size: 1.15rem; }
.program-section-label span { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; color: #555b78; }
.program-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; font-size: .9rem; }
.program-table th { padding: 22px 12px; background: var(--navy); color: white; border: 1px solid rgba(255,255,255,.2); font-size: 1.1rem; }
.program-table th span { display: block; margin-top: 6px; font-size: .75rem; font-weight: 400; color: #cbd4ff; }
.program-table td { height: 68px; padding: 18px 12px; border: 1px solid #dce1f0; background: #f6f7fc; color: var(--navy); line-height: 1.5; }
.program-table .program-table__registration { background: #e5eaff; font-weight: 600; }
.program-table .program-table__ceremony { background: #fff0c4; font-weight: 600; }
.program-table .program-table__break { background: #ebe8f8; color: #454164; }
.program-table .program-table__lunch { background: #dddff6; font-weight: 500; }
.program-table .program-table__reception { background: var(--navy); color: white; font-weight: 500; }
.program-field { padding: 28px; background: #f3f5ff; border-radius: 16px; border: 1px solid #e1e5f2; }
.program-field__heading h3 { margin: 12px 0 24px; font-size: clamp(1.6rem,2.3vw,2.2rem); line-height: 1.3; color: var(--navy); }
.program-field__heading h3 span { display: block; margin-top: 4px; font-size: .55em; font-weight: 400; }
.program-field__days { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 24px; border: 1px solid #dde2f4; border-radius: 10px; overflow: hidden; background: white; }
.program-field__days li { padding: 14px 4px; text-align: center; }
.program-field__days li + li { border-left: 1px solid #dde2f4; }
.program-field__days time { display: block; font-weight: 600; color: var(--navy); font-size: .8rem; }
.program-field__days span { display: block; margin-top: 4px; font-size: .61rem; color: #555b78; }
.program-field__figure { margin: 0; }
/* Display only the original field-trip picture area; the source is unchanged. */
.program-field__image { position: relative; width: 100%; aspect-ratio: 1906 / 1298; overflow: hidden; border-radius: 10px; background: #e8e6f0; }
.program-field__image img { position: absolute; width: calc(3778 / 1906 * 100%); max-width: none; height: auto; left: calc(-1704 / 1906 * 100%); top: calc(-675 / 1298 * 100%); }
.program-field__figure figcaption { margin-top: 12px; font-size: .75rem; line-height: 1.6; color: #555b78; }
@media (max-width: 1070px) {
  .program-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .program-section-label { padding: 18px; }
  .program-table { font-size: .8rem; }
  .program-table th { font-size: .95rem; padding: 18px 8px; }
  .program-table td { padding: 16px 8px; }
  .program-field { padding: 20px 16px; }
  .program-field__days { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .program-field__days li:nth-child(3) { border-left: 0; }
  .program-field__days li:nth-child(n+3) { border-top: 1px solid #dde2f4; }
}
