/* ==========================================================================
   IBA-USA — Innovative Biopharmaceutical Association
   Shared stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #061a33;
  --navy-800: #0b2545;
  --navy-700: #133b6b;
  --navy-600: #1d5091;
  --teal-600: #0d7d86;
  --teal-500: #12a2ad;
  --teal-400: #35c2cc;
  --teal-050: #e6f6f8;

  --ink:      #12202f;
  --body:     #43566a;
  --muted:    #6b7d91;
  --line:     #dde5ed;
  --surface:  #ffffff;
  --canvas:   #f5f8fb;
  --canvas-2: #eef3f8;

  --radius-s: 6px;
  --radius:   12px;
  --radius-l: 20px;

  --shadow-s: 0 1px 2px rgba(6, 26, 51, .06), 0 2px 8px rgba(6, 26, 51, .05);
  --shadow-m: 0 2px 6px rgba(6, 26, 51, .07), 0 12px 32px rgba(6, 26, 51, .09);
  --shadow-l: 0 4px 12px rgba(6, 26, 51, .08), 0 24px 60px rgba(6, 26, 51, .14);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", sans-serif;

  --wrap: 1140px;
  --gut: 24px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--canvas); }
.section--line { border-top: 1px solid var(--line); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .85rem;
}
.eyebrow--on-dark { color: var(--teal-400); }

.rule {
  width: 56px; height: 3px; border: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--navy-600));
  margin: 0 0 1.6rem;
}
.rule--center { margin-inline: auto; }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy-800); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s); z-index: 200;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .96rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; transition: all .18s ease; text-align: center;
}
.btn--primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--canvas); color: var(--navy-800); border-color: var(--navy-600); }
.btn--on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn--on-dark:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative; padding: .55rem .95rem; border-radius: var(--radius-s);
  font-size: .95rem; font-weight: 500; color: var(--body);
}
.nav a:hover { color: var(--navy-800); background: var(--canvas); }
.nav a[aria-current="page"] { color: var(--navy-800); font-weight: 650; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .18rem;
  height: 2px; border-radius: 2px; background: var(--teal-500);
}
.nav .btn { margin-left: .6rem; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-s); cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--navy-800); margin-inline: auto; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: .75rem var(--gut) 1.25rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .5rem; }
  .nav a[aria-current="page"]::after { left: .5rem; right: auto; width: 22px; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(78vh, 660px);
  padding: clamp(4rem, 10vw, 7rem) 0;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(6,26,51,.94) 0%, rgba(11,37,69,.86) 45%, rgba(13,125,134,.62) 100%);
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: rgba(255,255,255,.86); max-width: 62ch; font-size: 1.13rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 62%, var(--teal-600));
  color: #fff; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.6rem, 6vw, 4rem);
}
.page-hero h1 { color: #fff; margin-bottom: .35rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 68ch; margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .87rem; color: rgba(255,255,255,.72); margin-bottom: 1.1rem; }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .6; margin: 0 .45rem; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: #fff; padding: 1.7rem 1.4rem; text-align: center; }
.stat__num {
  display: block; font-size: 2.1rem; font-weight: 800;
  color: var(--navy-800); letter-spacing: -.03em; line-height: 1.1;
}
.stat__label { font-size: .86rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #cfdcea; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.15rem;
  border-radius: 11px; background: var(--teal-050); color: var(--teal-600);
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- Two-column feature ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-m); }

/* ---------- Leadership ---------- */
.people { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
/* The three portraits are all roughly 3:4, so a 3:4 frame shows essentially the
   whole photograph instead of cropping a square out of it. The two custom
   properties let one portrait be nudged or scaled to match the others when the
   subject sits higher or smaller in their own frame. */
.person__photo {
  aspect-ratio: 3 / 4; width: 100%; object-fit: cover;
  object-position: var(--photo-pos, center);
  transform: scale(var(--photo-zoom, 1));
  transform-origin: var(--photo-origin, center);
  background: var(--canvas-2);
}
.person__body { padding: 1.35rem 1.4rem 1.6rem; }
.person__name { font-size: 1.14rem; font-weight: 700; color: var(--ink); margin: 0 0 .3rem; }
.person__role {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-600); background: var(--teal-050);
  padding: .28rem .6rem; border-radius: 999px; margin-bottom: .85rem;
}
.person__title { font-size: .93rem; color: var(--body); margin: 0 0 .25rem; line-height: 1.5; }
.person__org { font-size: .93rem; font-weight: 600; color: var(--navy-700); margin: 0; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 1.4rem; }
.event {
  display: grid; gap: 1.5rem; align-items: center;
  grid-template-columns: 108px 1fr auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: #cfdcea; }
.event__date {
  display: grid; place-items: center; gap: 0;
  padding: .85rem .5rem; border-radius: var(--radius-s);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff; text-align: center;
}
.event__month { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.event__day { font-size: 1.95rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.event__year { font-size: .74rem; opacity: .72; letter-spacing: .1em; }
.event__title { font-size: 1.28rem; margin: 0 0 .35rem; }
.event__title a { color: var(--ink); }
.event__title a:hover { color: var(--teal-600); }
.event__meta { font-size: .93rem; color: var(--muted); margin: 0; }
.event__meta strong { color: var(--body); font-weight: 600; }
@media (max-width: 760px) {
  .event { grid-template-columns: 84px 1fr; }
  .event > .btn { grid-column: 1 / -1; justify-content: center; }
}

.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: var(--teal-050); color: var(--teal-600); margin-bottom: .6rem;
}
.badge--past { background: var(--canvas-2); color: var(--muted); }

/* ---------- Fact list (event detail) ---------- */
.facts {
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem;
}
.fact { background: #fff; padding: 1.35rem 1.4rem; }
.fact dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: .4rem;
}
.fact dd { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 600; line-height: 1.45; }
.fact dd small { display: block; font-weight: 400; color: var(--muted); font-size: .87rem; margin-top: .2rem; }

/* ---------- Prose ---------- */
.prose { max-width: 74ch; }
/* headings keep one size everywhere; .prose only adjusts their spacing */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.15em; }
.prose blockquote {
  margin: 2rem 0; padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--teal-500); background: var(--canvas);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--body);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.perk-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.perk-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: .85rem; align-items: start;
  margin: 0;
}
.perk-list .perk-icon {
  font-size: 1.25rem; line-height: 1.4; text-align: center;
}
.perk-list strong { color: var(--ink); display: block; }

/* ---------- Language toggle ---------- */
.lang-switch {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--canvas-2); border-radius: 999px; margin-bottom: 2.2rem;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted);
  padding: .45rem 1.15rem; border-radius: 999px; transition: all .18s ease;
}
.lang-switch button[aria-selected="true"] {
  background: #fff; color: var(--navy-800); box-shadow: var(--shadow-s);
}
[data-lang-panel][hidden] { display: none; }

.logo-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.logo-card {
  display: grid; place-items: center; min-height: 130px; padding: 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease;
}
.logo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.logo-card img { max-height: 90px; width: auto; object-fit: contain; }


/* ---------- Gallery / lightbox ---------- */
.gallery {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery button {
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--canvas-2); cursor: zoom-in; overflow: hidden; line-height: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery button:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(6, 26, 51, .92); padding: 2rem 1rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: var(--radius-s); }
.lightbox__bar {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,.85); font-size: .9rem;
}
.lightbox button {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; width: 40px; height: 40px; border-radius: 999px;
  font-size: 1.1rem; cursor: pointer; transition: background .16s ease;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 55%, var(--teal-600));
  color: #fff; border-radius: var(--radius-l);
  padding: clamp(2.4rem, 6vw, 3.8rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 58ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,.7);
  padding: 2.6rem 0 1.8rem; font-size: .94rem;
}
.site-footer__grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.4rem;
  padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255,255,255,.13);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.55); }
.site-footer__contact {
  display: flex; flex-direction: column; align-items: flex-end; gap: .3rem;
  text-align: right;
}
.site-footer__contact h4 {
  margin: 0; color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}
.site-footer__contact a { font-size: 1rem; }
@media (max-width: 620px) {
  .site-footer__contact { align-items: flex-start; text-align: left; }
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__base {
  padding-top: 1.4rem; font-size: .86rem; color: rgba(255,255,255,.5);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero__bg, .btn, .lightbox { display: none !important; }
  body { color: #000; }
}

/* ---------- Site-wide language switching ---------- */
html[data-site-lang="en"] [data-lang="zh"] { display: none !important; }
html[data-site-lang="zh"] [data-lang="en"] { display: none !important; }

.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-left: .5rem; padding: .45rem .85rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy-800);
  font: inherit; font-size: .85rem; font-weight: 650; letter-spacing: .01em;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.lang-btn:hover { border-color: var(--teal-500); color: var(--teal-600); background: var(--teal-050); }
.lang-btn svg { width: 15px; height: 15px; opacity: .65; flex: none; }
@media (max-width: 860px) {
  .lang-btn { margin: .35rem 0 0; justify-content: center; }
}
html[data-site-lang="zh"] body { line-height: 1.78; }
html[data-site-lang="zh"] h1,
html[data-site-lang="zh"] h2,
html[data-site-lang="zh"] h3 { letter-spacing: 0; }

/* ---------- Overrides & refinements ---------- */
/* .nav a is more specific than .btn--primary, so restate button colours here */
.nav a.btn--primary { color: #fff; background: var(--teal-600); }
.nav a.btn--primary:hover { color: #fff; background: var(--navy-700); }
.nav a.btn--primary[aria-current="page"]::after { display: none; }

/* Stat strip reads better as a single column when it sits beside body copy */
.stats--stack { grid-template-columns: 1fr; }
.stats--stack .stat { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; text-align: left; padding: 1.4rem 1.6rem; }
.stats--stack .stat__num { font-size: 1.9rem; min-width: 4.2rem; }
.stats--stack .stat__label { font-size: .9rem; }

@media (max-width: 520px) {
  .site-header .brand__sub { display: none; }
  .site-header .brand img { width: 40px; height: 40px; }
}

/* ---------- Sponsor logo grid ---------- */
.logo-grid--sponsors { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
a.logo-card { text-decoration: none; }
a.logo-card:hover { border-color: var(--teal-500); }
.logo-card__name {
  display: block; text-align: center; font-weight: 650; font-size: 1rem;
  line-height: 1.4; color: var(--navy-800); letter-spacing: -.01em;
}
a.logo-card:hover .logo-card__name { color: var(--teal-600); }
.logo-card__name small {
  display: block; margin-top: .35rem; font-weight: 400; font-size: .78rem;
  color: var(--muted); letter-spacing: .02em;
}

/* ---------- Sponsor contact card (Yingxin Xue) ---------- */
.logo-card--contact {
  display: block; text-align: center; padding: 1.3rem 1.1rem; cursor: default;
}
.logo-card--contact:hover { transform: none; box-shadow: var(--shadow-s); }
.contact-card__name {
  margin: 0 0 .15rem; font-size: 1.02rem; font-weight: 700; color: var(--navy-800);
}
.contact-card__role {
  margin: 0 0 .5rem; font-size: .84rem; line-height: 1.4; color: var(--muted);
}
.contact-card__phone { margin: 0 0 .7rem; font-size: .92rem; font-weight: 600; }
.contact-card__phone a { color: var(--teal-600); }
.contact-card__qr {
  width: 96px; height: 96px; margin: 0 auto .5rem;
  border: 1px solid var(--line); border-radius: var(--radius-s);
}
.contact-card__qr-note {
  margin: 0; font-size: .76rem; color: var(--muted); letter-spacing: .02em;
}

/* ---------- Upcoming vs past events ---------- */
.event.is-past .event__date {
  background: linear-gradient(160deg, #6b7d91, #94a5b6);
}
.event.is-past .event__title a { color: var(--body); }
.event.is-past .event__title a:hover { color: var(--teal-600); }
.event.is-past .badge { background: var(--canvas-2); color: var(--muted); }

.event-empty {
  margin: 0; padding: 1.9rem 1.7rem;
  background: var(--canvas); border: 1px dashed var(--line);
  border-radius: var(--radius); color: var(--muted); font-size: .98rem;
}
.event-empty a { font-weight: 600; }

.past-notice {
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 2rem; padding: .9rem 1.2rem;
  background: var(--canvas-2); border-left: 3px solid var(--muted);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: .95rem; color: var(--body);
}
.past-notice strong { color: var(--ink); }

/* ---------- Conference programme ---------- */
.stats--five { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.session-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.session {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.session:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: #cfdcea; }
.session__num {
  font-size: .95rem; font-weight: 800; letter-spacing: .02em;
  color: var(--teal-600); background: var(--teal-050);
  border-radius: var(--radius-s); padding: .3rem .55rem; line-height: 1.2;
}
.session__title { font-size: 1.05rem; margin: 0 0 .3rem; }
.session__desc { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--body); }

/* ---------- Event flyer ---------- */
.event-flyer { margin: 0; }
.event-flyer img { border-radius: var(--radius); box-shadow: var(--shadow-m); width: 100%; }
.event-flyer a { display: block; }
.event-flyer a:hover img { box-shadow: var(--shadow-l); }
.event-flyer figcaption {
  margin-top: .8rem; font-size: .84rem; color: var(--muted); text-align: center;
}
.split--single { grid-template-columns: 1fr; }

/* ---------- Registration card ---------- */
.register {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  margin: 1.8rem 0 0; padding: 1.3rem 1.5rem;
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius);
}
.register__qr {
  width: 150px; height: 150px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff;
}
.register__body { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.register__note { margin: 0; font-size: .9rem; color: var(--muted); }
