/* SPM 2027 — shared stylesheet */
:root {
  --navy: #0d2340;
  --navy-2: #163a63;
  --accent: #0f8b8d;
  --accent-2: #e4572e;      /* small Singapore-red touch */
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: .3px; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; }
.brand small { display: block; font-weight: 400; font-size: 11.5px; opacity: .75; letter-spacing: .2px; line-height: 1.2; }
.brand span { line-height: 1.15; font-size: 18px; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 6px; font-size: 15px; font-weight: 500;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav a.active { color: #fff; background: rgba(255,255,255,.14); }
.nav a.igs { border: 1px solid rgba(255,255,255,.35); margin-left: 6px; }

.nav-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 6px 8px;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--navy); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a.igs { margin-left: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, #1f5d8c 0%, transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.hero .pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; }
.hero .wrap { position: relative; padding: 84px 20px 76px; }
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.5px; }
.hero h1 .yr { color: #7fd6d3; }
.hero p.sub { font-size: clamp(16px, 2vw, 20px); margin: 0 0 28px; opacity: .92; max-width: 760px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; margin-bottom: 30px; }
.hero .meta div { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 15px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn + .btn { margin-left: 10px; }

.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.page-hero .wrap { padding: 44px 20px 40px; }
.page-hero h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.page-hero p { margin: 6px 0 0; opacity: .85; }

/* ---------- Layout ---------- */
main { padding: 48px 0 64px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; }
@media (max-width: 920px) { .grid { grid-template-columns: 1fr; } }

section + section { margin-top: 44px; }
h2 {
  font-size: 26px; margin: 0 0 14px; color: var(--navy); letter-spacing: -.2px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative;
}
h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--accent); }
h3 { font-size: 19px; color: var(--navy); margin: 26px 0 8px; }

.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.card + .card { margin-top: 20px; }
.card h3 { margin-top: 0; }

aside .card h3 { font-size: 17px; }

/* Important dates */
table.dates { width: 100%; border-collapse: collapse; font-size: 15px; }
table.dates td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
table.dates td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
table.dates tr:last-child td { border-bottom: 0; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.tba { color: var(--accent-2); font-weight: 600; }

/* Topics list */
ul.topics { columns: 2; column-gap: 32px; padding-left: 18px; margin: 10px 0 0; }
ul.topics li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 640px) { ul.topics { columns: 1; } }

/* News */
ul.news { list-style: none; padding: 0; margin: 0; }
ul.news li { padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.news li:last-child { border-bottom: 0; }
ul.news time { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Partner conferences */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.partner {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.partner:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 4px 14px rgba(13,35,64,.08); }
.partner b { display: block; color: var(--navy); font-size: 16px; }
.partner span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.partner.self { border-color: var(--accent); background: #eef8f8; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 12px; }
.person {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff;
  display: flex; gap: 16px; align-items: center;
}
.avatar {
  flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
  background: linear-gradient(135deg, var(--navy-2), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person b { display: block; color: var(--navy); }
.person span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

ul.plain { padding-left: 18px; }
ul.plain li { margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: 14px; }
.site-footer .wrap { padding: 28px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #9fe0de; }
