/* ============================================================
   IEEE Computer Society Malaysia Chapter — site stylesheet
   ============================================================ */

:root {
  --c-ink:          #0d1b2a;
  --c-ink-soft:     #2d3f52;
  --c-muted:        #5b6878;
  --c-bg:           #ffffff;
  --c-bg-soft:      #f4f7fb;
  --c-bg-card:      #ffffff;
  --c-border:       #e3e8f0;
  --c-accent:       #00629b;
  --c-accent-dark:  #004a78;
  --c-accent-light: #e4f0f9;
  --c-orange:       #e87722;
  --max-w:          72rem;
  --max-w-prose:    48rem;
  --radius-sm:      4px;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow-sm:      0 1px 3px rgba(13,27,42,.08), 0 1px 2px rgba(13,27,42,.06);
  --shadow:         0 4px 12px rgba(13,27,42,.10), 0 2px 4px rgba(13,27,42,.06);
  --shadow-lg:      0 12px 32px rgba(13,27,42,.14), 0 4px 8px rgba(13,27,42,.08);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); transition: color var(--transition); }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; letter-spacing: 0; }
p  { margin: 0 0 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.committee-grid .committee-card:nth-child(2) { transition-delay: 0.08s; }
.committee-grid .committee-card:nth-child(3) { transition-delay: 0.16s; }
.committee-grid .committee-card:nth-child(4) { transition-delay: 0.24s; }
.conf-past-grid .conf-past-card:nth-child(2) { transition-delay: 0.07s; }
.conf-past-grid .conf-past-card:nth-child(3) { transition-delay: 0.14s; }
.conf-past-grid .conf-past-card:nth-child(4) { transition-delay: 0.21s; }
.stats-bar .stat-item:nth-child(2) { transition-delay: 0.08s; }
.stats-bar .stat-item:nth-child(3) { transition-delay: 0.16s; }
.stats-bar .stat-item:nth-child(4) { transition-delay: 0.24s; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem; border-radius: 100px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--c-accent); color: #fff;
  border: 2px solid var(--c-accent);
  box-shadow: 0 2px 8px rgba(0,98,155,.3);
}
.btn-primary:hover {
  background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff;
  box-shadow: 0 4px 16px rgba(0,98,155,.4);
}
.btn-secondary {
  background: var(--c-bg-soft); color: var(--c-accent); border: 2px solid var(--c-border);
}
.btn-secondary:hover { border-color: var(--c-accent); background: var(--c-accent-light); color: var(--c-accent-dark); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.btn-outline-sm {
  background: transparent; color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  padding: 0.4rem 1rem; font-size: 0.85rem; border-radius: 100px;
}
.btn-outline-sm:hover { background: var(--c-accent-light); color: var(--c-accent-dark); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.text-link:hover { text-decoration: underline; }

/* ── Header / nav ── */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 50;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { border-color: var(--c-border); box-shadow: var(--shadow-sm); }
.site-header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--c-ink); margin-right: auto; flex-shrink: 0;
}
.brand-logo { height: 32px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 0.88rem; color: var(--c-accent); }
.brand-tag  { font-size: 0.7rem; color: var(--c-muted); font-weight: 400; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--c-border);
  padding: 0.35rem 0.6rem; border-radius: var(--radius-sm);
  font-size: 1.05rem; cursor: pointer; color: var(--c-ink);
  transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--c-accent); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; flex-wrap: wrap; }
.primary-nav a {
  display: inline-block; padding: 0.45rem 0.85rem; border-radius: 100px;
  text-decoration: none; color: var(--c-ink-soft); font-size: 0.875rem; font-weight: 500;
  white-space: nowrap; transition: background var(--transition), color var(--transition);
}
.primary-nav a:hover { background: var(--c-bg-soft); color: var(--c-accent); }
.primary-nav a[aria-current="page"] { background: var(--c-accent); color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow); padding: 0.75rem 1.5rem 1rem;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0.1rem; }
  .primary-nav a { padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); }
  .brand-tag { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #003d66 0%, #00629b 55%, #0077b8 100%);
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  top: -140px; right: -100px;
}
.hero::after {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(232,119,34,.18) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}
.hero-inner { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,.8); background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); padding: 0.3rem 0.9rem;
  border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem); font-weight: 800; color: #fff;
  margin: 0 0 1.25rem; line-height: 1.08; letter-spacing: -0.03em;
}
.hero-title span { color: var(--c-orange); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); line-height: 1.65; margin: 0 0 2.5rem; }
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Stats bar ── */
.stats-bar { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { padding: 1.75rem 1.5rem; text-align: center; border-right: 1px solid var(--c-border); }
.stat-item:last-child { border-right: 0; }
.stat-num {
  font-size: 2rem; font-weight: 800; color: var(--c-accent);
  letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.78rem; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
@media (max-width: 600px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-num { font-size: 1.6rem; }
}

/* ── Content sections ── */
.section { padding: 5rem 1.5rem; }
.section-tinted { background: var(--c-bg-soft); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 2.5rem; }
.section-kicker {
  display: inline-block; font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--c-orange); margin-bottom: 0.5rem;
}
.section-title { font-size: 1.85rem; margin-bottom: 0.4rem; }
.section-sub { color: var(--c-muted); margin: 0; font-size: 1rem; }
.section-cta { margin-top: 2.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.mission-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
}
.mission-img-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); pointer-events: none;
}
.mission-img { width: 100%; object-fit: cover; max-height: 340px; }

/* ── Committee grid ── */
.committee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.committee-card {
  background: var(--c-bg-card); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 2rem 1.25rem 1.5rem; text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.committee-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--c-accent-light); }
.committee-card img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  object-position: center 22%;
  margin: 0 auto 1.1rem; border: 3px solid var(--c-accent-light);
  box-shadow: 0 0 0 4px rgba(0,98,155,.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.committee-card:hover img { border-color: var(--c-accent); box-shadow: 0 0 0 6px rgba(0,98,155,.12); }
.committee-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.committee-card .role {
  font-size: 0.73rem; color: var(--c-accent); font-weight: 700; margin: 0;
  text-transform: uppercase; letter-spacing: 0.09em;
  background: var(--c-accent-light); display: inline-block;
  padding: 0.2rem 0.7rem; border-radius: 100px;
}

/* ── Conference card (homepage) ── */
.conf-card {
  display: grid; grid-template-columns: 3fr 2fr;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
}
.conf-card-body {
  background: linear-gradient(135deg, #003d66 0%, #00629b 100%);
  color: #fff; padding: 3rem 2.5rem; position: relative; overflow: hidden;
}
.conf-card-body::before {
  content: ''; position: absolute; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  top: -80px; right: -60px; pointer-events: none;
}
.conf-card-body h3, .conf-card-body p { color: #fff; position: relative; z-index: 1; }
.conf-title { font-size: 2rem; margin-bottom: 0.5rem; }
.conf-desc { opacity: 0.85; margin-bottom: 2rem; font-size: 0.975rem; }
.conf-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--c-orange); color: #fff; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.conf-badge::before { content: '●'; font-size: 0.45rem; }
.conf-xplore { background: var(--c-bg-soft); padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.conf-xplore h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-muted); margin-bottom: 1.1rem; font-weight: 700; }
.conf-xplore ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.conf-xplore li { margin: 0.4rem 0; }
.conf-xplore a { font-size: 0.9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.25rem; }
.conf-xplore a::before { content: '↗'; font-size: 0.72rem; opacity: 0.6; }
@media (max-width: 700px) {
  .conf-card { grid-template-columns: 1fr; }
  .conf-card-body { padding: 2rem 1.5rem; }
  .conf-xplore { padding: 1.75rem 1.5rem; }
}

/* ── Conference page ── */
.conf-section { margin-bottom: 3.5rem; }
.conf-upcoming {
  background: linear-gradient(135deg, #003d66 0%, #00629b 100%);
  color: #fff; padding: 3rem; border-radius: var(--radius-lg);
  margin-bottom: 2.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.conf-upcoming::after {
  content: ''; position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  top: -100px; right: -60px; pointer-events: none;
}
.conf-upcoming h2, .conf-upcoming p { color: #fff; position: relative; z-index: 1; }
.conf-upcoming p { opacity: 0.85; margin-bottom: 2rem; }

/* Two-column block inside .conf-upcoming — Important dates on the left,
   Tracks + indexing/organising on the right. Collapses to one column on
   narrow screens. Headings use a small uppercase eyebrow style. */
.conf-upcoming-lead { font-size: 1.02rem; line-height: 1.65; }
.conf-upcoming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 0.5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.conf-upcoming-heading {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.conf-upcoming-heading-spaced { margin-top: 1.5rem; }
.conf-dates {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
}
.conf-dates li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.93rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.conf-dates li:last-child { border-bottom: none; }
.conf-dates strong {
  flex-shrink: 0;
  min-width: 120px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.conf-dates span { opacity: 0.85; }
.conf-tracks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
}
.conf-tracks li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.8rem;
  color: #fff;
  line-height: 1.35;
}
.conf-upcoming-meta-text {
  color: #fff;
  opacity: 0.88;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 !important;
}
@media (max-width: 760px) {
  .conf-upcoming-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .conf-dates li { flex-wrap: wrap; gap: 0.25rem 0.85rem; }
  .conf-dates strong { min-width: 0; }
}
.conf-past-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.conf-past-card {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; background: var(--c-bg-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.conf-past-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--c-accent-light); }
.conf-past-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--c-accent); }
.conf-past-card p  { font-size: 0.875rem; color: var(--c-muted); margin-bottom: 1.1rem; }
.conf-past-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Legacy conferences card — dense year-grouped list */
.conf-legacy-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg-card);
  padding: 2rem 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}
.conf-legacy-year-group { margin-bottom: 1.75rem; }
.conf-legacy-year-group:last-child { margin-bottom: 0; }
.conf-legacy-year {
  font-size: 1rem;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  margin: 0 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--c-accent-light);
  text-transform: uppercase;
  font-weight: 700;
}
.conf-legacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
}
.conf-legacy-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.conf-legacy-item:hover {
  border-color: var(--c-accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.conf-legacy-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.conf-legacy-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  line-height: 1.3;
  border-radius: 4px;
  transition: color var(--transition);
}
.conf-legacy-link .conf-legacy-arrow {
  font-size: 0.72rem;
  transition: transform var(--transition);
}
.conf-legacy-link:hover .conf-legacy-arrow { transform: translateX(2px); }
.conf-legacy-link-site .conf-legacy-host {
  font-size: 0.72rem;
  color: var(--c-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.conf-legacy-link-site .conf-legacy-arrow { color: var(--c-muted); }
.conf-legacy-link-site:hover .conf-legacy-host,
.conf-legacy-link-site:hover .conf-legacy-arrow { color: var(--c-accent); }

.conf-legacy-link-proceedings {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent);
}
.conf-legacy-link-proceedings .conf-legacy-proc-label { color: var(--c-accent); }
.conf-legacy-link-proceedings:hover .conf-legacy-proc-label,
.conf-legacy-link-proceedings:hover .conf-legacy-arrow { color: var(--c-accent-dark); }

.conf-legacy-proc-note {
  font-size: 0.72rem;
  color: var(--c-muted);
  font-style: italic;
}
.conf-legacy-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--c-muted);
  font-style: italic;
}

@media (max-width: 540px) {
  .conf-legacy-card { padding: 1.4rem 1.25rem 1rem; }
  .conf-legacy-list { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ── News listing (homepage compact) ── */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
  padding: 1.4rem 0; border-bottom: 1px solid var(--c-border);
  transition: padding-left var(--transition);
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { padding-left: 0.5rem; }
.news-date { color: var(--c-muted); font-size: 0.75rem; margin: 0 0 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.news-title { margin: 0 0 0.35rem; font-size: 1.05rem; }
.news-title a { text-decoration: none; color: var(--c-ink); }
.news-title a:hover { color: var(--c-accent); }
.news-list-home .news-item { padding: 1rem 0; }
.news-list-home .news-title { font-size: 0.95rem; }
.news-excerpt { margin: 0; color: var(--c-muted); font-size: 0.875rem; }

/* ── News card grid (full /news/ page) ── */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.news-card {
  display: flex; flex-direction: column;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* Accent strip on the left edge — cleaner, more "official" card feel */
.news-card::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--c-accent);
  opacity: 0; transition: opacity var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--c-accent-light);
}
.news-card:hover::before { opacity: 1; }

/* Meta row: category badge + date side by side */
.news-card-meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.85rem;
  flex-wrap: wrap;
}
.news-card-date {
  font-size: 0.72rem; font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

/* Category badge — one base style + per-category colour overrides */
.news-card-category {
  display: inline-flex; align-items: center;
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  padding: 0.28rem 0.7rem; border-radius: 100px;
  line-height: 1; white-space: nowrap;
}
.news-card-category--conference   { color: #fff;       background: var(--c-accent); }
.news-card-category--event        { color: #fff;       background: var(--c-orange); }
.news-card-category--workshop     { color: #fff;       background: #2e9b6b; }
.news-card-category--talk         { color: #fff;       background: #6f42c1; }
.news-card-category--announcement { color: #4a5a6c;    background: #e7ebf1; }

.news-card-title {
  font-size: 1.1rem; line-height: 1.35;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--c-ink);
}
.news-card-title a {
  color: inherit; text-decoration: none;
}
/* Whole card is tappable — the title link's ::after covers the entire card */
.news-card-title a::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  z-index: 1;
}
.news-card-title a:hover { color: var(--c-accent); }
.news-card-excerpt {
  margin: 0 0 1.2rem;
  color: var(--c-muted); font-size: 0.9rem; line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
/* Read more is a visual cue — the click target is the card overlay */
.news-card-readmore {
  display: inline-flex; align-items: center; gap: 0.35rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--c-accent);
  border-top: 1px solid var(--c-border);
  width: 100%;
  transition: gap var(--transition), color var(--transition);
}
.news-card:hover .news-card-readmore { color: var(--c-accent-dark); gap: 0.55rem; }

/* Post page header — category badge + date row */
.post-meta-top {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.post-meta-top .post-meta { margin: 0; color: var(--c-muted); font-size: 0.875rem; }

@media (max-width: 760px) {
  .news-card-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .news-card { padding: 1.4rem 1.3rem 1.2rem; }
}
@media (max-width: 480px) {
  .news-card { padding: 1.25rem 1.2rem 1.1rem; border-radius: 12px; }
  .news-card-title { font-size: 1.02rem; }
  .news-card-excerpt { -webkit-line-clamp: 4; }
  .news-card-category { font-size: 0.62rem; padding: 0.25rem 0.6rem; }
}

/* ── Inner page layout ── */
main.page { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.page-header { border-bottom: 1px solid var(--c-border); padding-bottom: 1.75rem; margin-bottom: 2.5rem; }
.page-header h1 { margin-bottom: 0.5rem; font-size: 2.25rem; }
.page-lead { font-size: 1.05rem; color: var(--c-muted); margin: 0; line-height: 1.6; }
/* ── News post page (single article) ── */
main.post {
  max-width: var(--max-w-prose); margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.post-back { margin: 2rem 0 0; font-size: 0.875rem; }

/* Hero header — gradient banner with category-tinted accent */
.post-hero {
  position: relative;
  background: linear-gradient(135deg, #003d66 0%, #00629b 55%, #0077b8 100%);
  color: #fff;
  padding: 3rem 1.5rem 3.5rem;
  overflow: hidden;
}
.post-hero::before {
  content: ''; position: absolute; pointer-events: none;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  top: -160px; right: -80px;
}
.post-hero::after {
  content: ''; position: absolute; pointer-events: none;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,119,34,.18) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}
.post-hero--event::after    { background: radial-gradient(circle, rgba(232,119,34,.30) 0%, transparent 70%); }
.post-hero--workshop::after { background: radial-gradient(circle, rgba(46,155,107,.28)  0%, transparent 70%); }
.post-hero--talk::after     { background: radial-gradient(circle, rgba(111,66,193,.28)  0%, transparent 70%); }

.post-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w-prose); margin: 0 auto;
}
.breadcrumb {
  font-size: 0.78rem; color: rgba(255,255,255,.7);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem;
}
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-current] {
  color: #fff; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 60ch;
}
.post-hero-category { margin-bottom: 1rem; }
.post-hero-title {
  color: #fff; font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  line-height: 1.18; margin: 0 0 1.1rem; letter-spacing: -0.02em;
}
.post-hero-meta {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; color: rgba(255,255,255,.85);
  flex-wrap: wrap;
}
.post-hero-dot { opacity: 0.6; }

/* Article body — generous prose styling */
.post-body { font-size: 1rem; line-height: 1.75; color: var(--c-ink); }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.15rem; }
.post-body h2, .post-body h3, .post-body h4 { margin: 2rem 0 0.75rem; }
.post-body h2 { font-size: 1.4rem; }
.post-body h3 { font-size: 1.15rem; }
.post-body strong { color: var(--c-ink); font-weight: 700; }
.post-body iframe {
  display: block; max-width: 100%; margin: 1.5rem auto;
  border-radius: var(--radius); aspect-ratio: 16 / 9; height: auto;
}

/* Share buttons */
.post-share {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.post-share-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-muted);
}
.post-share-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.post-share-btn {
  display: inline-flex; align-items: center;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-ink-soft);
  padding: 0.4rem 0.85rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  font-family: var(--font);
}
.post-share-btn:hover {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}
.post-share-copy { letter-spacing: 0; }

/* Prev / Next nav */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 2.5rem 0 1rem;
}
.post-nav-link {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-card);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative; min-height: 80px;
}
.post-nav-link:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-accent);
}
.post-nav-title {
  font-size: 0.92rem; line-height: 1.35;
  color: var(--c-ink); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-cat {
  font-size: 0.68rem; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.post-nav-empty { /* placeholder so prev/next align even when one is missing */ }

@media (max-width: 600px) {
  .post-hero { padding: 2.25rem 1.25rem 2.5rem; }
  .post-share { padding: 1rem 1.1rem; gap: 0.75rem; }
  .post-share-label { font-size: 0.72rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; align-items: flex-start; }
}
main table { border-collapse: collapse; width: 100%; margin: 1.75rem 0; font-size: 0.95rem; }
main th, main td { border: 1px solid var(--c-border); padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; }
main th { background: var(--c-bg-soft); font-weight: 600; font-size: 0.875rem; }
main blockquote { margin: 1.75rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--c-accent); background: var(--c-accent-light); border-radius: 0 var(--radius) var(--radius) 0; }
main ul, main ol { padding-left: 1.5rem; }
main li { margin: 0.3rem 0; }
main hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5rem 0; }
main figure { margin: 2rem 0; }
main figure figcaption { font-size: 0.875rem; color: var(--c-muted); margin-top: 0.6rem; text-align: center; }
main img { max-width: 100%; border-radius: var(--radius); }

/* ── Footer ── */
.site-footer { background: var(--c-ink); color: #b8c8d8; position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-accent) 60%, #0099dd 100%);
}
.site-footer a { color: #7ec8f0; transition: color var(--transition); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 1rem; font-weight: 700; }
.site-footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 3.5rem 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem;
}
.footer-col p { margin: 0; font-size: 0.875rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.4rem 0; }
.footer-links a { font-size: 0.875rem; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 1.5rem; text-align: center; font-size: 0.78rem; color: #5a7080; }

/* ── About page ── */
.about-intro { margin-bottom: 3.5rem; }
.about-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.about-intro-text h2 { margin-bottom: 1rem; }
.about-intro-text p { color: var(--c-ink-soft); }
.about-intro-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.about-intro-img::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); pointer-events: none;
}
.about-intro-img img { width: 100%; object-fit: cover; max-height: 340px; display: block; }

.about-timeline { margin-bottom: 3.5rem; }
.about-timeline > h2, .about-testimonials > h2 {
  font-size: 1.6rem; margin-bottom: 1.75rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-border);
}
.timeline-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-border);
}
.timeline-year {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.timeline-content { max-width: 60ch; }
.timeline-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 0.45rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.timeline-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin: 0;
}

.about-testimonials { margin-bottom: 1rem; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.testimonial-card blockquote {
  margin: 0; padding: 0; border-left: none; background: none; border-radius: 0;
  font-size: 0.9rem; line-height: 1.7; color: var(--c-ink-soft);
  font-style: italic; flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.85rem;
}
.testimonial-avatar {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  object-position: center 22%;
  border: 2px solid var(--c-accent-light);
  box-shadow: 0 0 0 3px rgba(0,98,155,.08);
}
.testimonial-name {
  display: block; font-weight: 700; font-size: 0.875rem; color: var(--c-ink);
}
.testimonial-role {
  display: block; font-size: 0.75rem; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600;
}

@media (max-width: 700px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-intro-img { order: -1; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.25rem 0;
  }
  .timeline-year { font-size: 1.5rem; }
}

/* ── Committee page ── */
.cmte-section { margin-bottom: 3.5rem; }

.cmte-section-label {
  font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--c-orange); margin-bottom: 1.25rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--c-border);
}

.cmte-grid { display: grid; gap: 1.5rem; }

.cmte-leadership {
  grid-template-columns: repeat(3, 1fr);
}
.cmte-officers {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}
.cmte-exco {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.cmte-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.cmte-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--c-accent-light);
}

.cmte-card-featured {
  border-color: var(--c-accent-light);
  background: linear-gradient(160deg, #f0f8ff 0%, #ffffff 100%);
  box-shadow: var(--shadow);
}
.cmte-card-featured:hover { border-color: var(--c-accent); }

.cmte-photo-wrap {
  width: 110px; height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--c-accent-light);
  box-shadow: 0 0 0 5px rgba(0,98,155,.07);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cmte-card-featured .cmte-photo-wrap {
  width: 128px; height: 128px;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 6px rgba(0,98,155,.12);
}
.cmte-card:hover .cmte-photo-wrap {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 7px rgba(0,98,155,.14);
}
.cmte-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block;
}

.cmte-info h3 {
  font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.3;
}
.cmte-card-featured .cmte-info h3 { font-size: 1.05rem; }

.cmte-role {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--c-accent);
  background: var(--c-accent-light);
  padding: 0.22rem 0.75rem; border-radius: 100px;
}
.cmte-role-primary {
  color: #fff; background: var(--c-accent);
}

@media (max-width: 760px) {
  .cmte-leadership { grid-template-columns: repeat(2, 1fr); }
  .cmte-card-featured { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; width: 100%; }
  .cmte-exco { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 480px) {
  .cmte-leadership, .cmte-officers { grid-template-columns: 1fr; }
  .cmte-card-featured { max-width: 100%; }
  .cmte-exco { grid-template-columns: repeat(2, 1fr); }
}

/* ── Past Committee page ── */
.cmte-affil {
  margin: 0.45rem 0 0; font-size: 0.78rem; color: var(--c-muted);
  line-height: 1.4;
}

.past-cmte-era { margin-bottom: 4rem; }

.past-cmte-year-header {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--c-accent-light);
  flex-wrap: wrap;
}
.past-cmte-year {
  font-size: 1.75rem; font-weight: 800; color: var(--c-accent);
  letter-spacing: -0.02em; line-height: 1;
}
.past-cmte-era-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--c-orange);
  background: rgba(232,119,34,.08);
  padding: 0.3rem 0.75rem; border-radius: 100px;
}

@media (max-width: 480px) {
  .past-cmte-year { font-size: 1.4rem; }
  .past-cmte-era-label { font-size: 0.65rem; padding: 0.25rem 0.6rem; }
}

/* ── Media Archive page ── */
.page-media .media-video-section {
  margin: 0 auto 3rem;
  max-width: 56rem;
  text-align: center;
}
.page-media .media-video-section h2 { margin-bottom: 0.35rem; }
.page-media .media-video-caption {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin: 0 auto 1.25rem;
  max-width: 36rem;
}
.page-media .media-video {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.page-media .media-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

.page-media .media-year { margin-bottom: 3rem; }
.page-media .media-year-heading {
  font-size: 1.4rem;
  color: var(--c-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-accent-light);
  letter-spacing: 0.02em;
}

.page-media .media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-media .media-gallery li {
  margin: 0;
  height: 200px;
}
.page-media .media-gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  background: var(--c-bg-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-media .media-gallery a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.page-media .media-gallery a:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}
.page-media .media-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.page-media .media-gallery a:hover img { transform: scale(1.05); }

.page-media .media-note {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .page-media .media-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
  }
  .page-media .media-gallery li { height: 150px; }
}

/* ============================================================
   2026 landing-page and identity refresh
   ============================================================ */

:focus-visible {
  outline: 3px solid #f4a340;
  outline-offset: 3px;
}

.btn {
  min-height: 46px;
  padding: 0.72rem 1.25rem;
  border-radius: 5px;
  justify-content: center;
}

/* The supplied wordmark is white, so the global header uses a dark brand field. */
.site-header {
  background: rgba(6, 25, 42, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 32px rgba(2, 18, 32, 0.22);
}
.site-header-inner {
  max-width: 78rem;
  min-height: 76px;
  padding: 0.78rem 1.5rem;
  gap: 1.5rem;
}
.brand { gap: 0.9rem; color: #fff; }
.brand-logo { width: auto; height: 43px; }
.brand-text {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  line-height: 1.05;
}
.brand-name {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-tag {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.primary-nav ul { gap: 0.1rem; }
.primary-nav a {
  color: rgba(255, 255, 255, 0.76);
  border-radius: 4px;
  padding: 0.52rem 0.72rem;
  font-size: 0.82rem;
}
.primary-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.primary-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -2px 0 #f4a340;
}
.nav-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.nav-toggle:hover { border-color: #f4a340; }

/* Landing hero */
.page-home .hero {
  position: relative;
  min-height: 650px;
  padding: clamp(4.5rem, 8vw, 7.25rem) 1.5rem clamp(5.5rem, 9vw, 8rem);
  color: #fff;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(5, 24, 40, 0.98) 0%, rgba(5, 27, 45, 0.88) 48%, rgba(4, 25, 42, 0.38) 100%),
    linear-gradient(180deg, rgba(4, 20, 34, 0.24), rgba(4, 20, 34, 0.58)),
    url('../media/IEEE_KLCC.jpg') center 54% / cover no-repeat;
  overflow: hidden;
}
.page-home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}
.page-home .hero::after {
  content: 'MY';
  position: absolute;
  right: -0.05em;
  bottom: -0.26em;
  width: auto;
  height: auto;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.025);
  background: none;
  font-size: clamp(13rem, 26vw, 26rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
}
.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 78rem;
  margin: 0 auto;
}
.hero-copy { max-width: 40rem; }
.page-home .hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 0 1.7rem;
  padding: 0;
  color: #f5ad54;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.page-home .hero-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #f4a340;
}
.page-home .hero-title {
  max-width: 10ch;
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.page-home .hero-sub {
  max-width: 58ch;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.page-home .hero-actions {
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}
.page-home .hero .btn-primary {
  color: #071b2d;
  background: #f4a340;
  border-color: #f4a340;
  box-shadow: 0 10px 30px rgba(232, 119, 34, 0.18);
}
.page-home .hero .btn-primary:hover {
  color: #071b2d;
  background: #ffc170;
  border-color: #ffc170;
  box-shadow: 0 14px 38px rgba(232, 119, 34, 0.25);
}
.page-home .hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.36);
}
.hero-membership-link {
  display: inline-flex;
  gap: 0.38rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.hero-membership-link:hover { color: #fff; }
/* Affiliation statement */
.affiliation-band {
  color: #173047;
  background: #fff;
  border-bottom: 1px solid #dce5ec;
}
.affiliation-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 3rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.55rem 1.5rem;
}
.affiliation-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.affiliation-rule {
  width: 4px;
  height: 36px;
  flex: 0 0 auto;
  background: #f4a340;
}
.affiliation-intro p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
}
.affiliation-intro a { font-weight: 700; text-decoration: none; }
.affiliation-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.affiliation-points li {
  margin: 0;
  padding-left: 1rem;
  color: #3f5568;
  border-left: 1px solid #dce5ec;
  font-size: 0.78rem;
  font-weight: 600;
}
.affiliation-points span {
  display: block;
  margin-bottom: 0.12rem;
  color: #8293a1;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

/* Shared homepage sections */
.home-section { padding: clamp(5rem, 8vw, 7.5rem) 1.5rem; }
.home-container { max-width: 78rem; margin: 0 auto; }
.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.home-section-heading h2,
.chapter-story-copy h2,
.membership-cta h2 {
  margin: 0;
  color: #102a40;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.page-home .section-kicker {
  margin: 0 0 0.7rem;
  color: #b85d17;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.section-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  color: #00629b;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.section-heading-link:hover { gap: 0.7rem; color: #004a78; }

/* Latest updates */
.home-updates { background: #f3f6f8; }
.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.88fr);
  gap: 1.5rem;
}
.update-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  min-height: 440px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(12, 45, 70, 0.08);
}
.update-feature-media { display: block; min-height: 100%; overflow: hidden; }
.update-feature-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.45s ease;
}
.update-feature-media:hover img { transform: scale(1.025); }
.update-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}
.update-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  color: #738391;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.update-meta span {
  color: #a65010;
  padding-right: 0.7rem;
  border-right: 1px solid #d8e0e6;
}
.update-feature-body h3 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.update-feature-body h3 a { color: #102a40; text-decoration: none; }
.update-feature-body h3 a:hover { color: #00629b; }
.update-feature-body > p:not(.update-meta) {
  max-width: 50ch;
  margin-bottom: 1.8rem;
  color: #536777;
  font-size: 0.91rem;
}
.updates-aside { display: block; }
.home-conference-directory {
  height: 100%;
  color: #fff;
  background: #092b44;
  border-top: 3px solid #f4a340;
}
.home-conference-directory-header {
  padding: 1.5rem 1.6rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.home-conference-directory-header p {
  margin: 0 0 0.35rem;
  color: #f6b766;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.home-conference-directory-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}
.home-conference-directory ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-conference-directory li { margin: 0; }
.home-conference-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.74rem 1.6rem;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.home-conference-directory li:last-child a { border-bottom: 0; }
.home-conference-directory a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.home-conference-directory i {
  color: #f6b766;
  font-style: normal;
  transition: transform var(--transition);
}
.home-conference-directory a:hover i { transform: translateX(3px); }

/* Chapter story */
.chapter-story { background: #fff; }
.chapter-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.chapter-story-image {
  position: relative;
  min-height: 570px;
}
.chapter-story-image::before {
  content: '';
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 46%;
  height: 42%;
  border-left: 2px solid #f4a340;
  border-bottom: 2px solid #f4a340;
}
.chapter-story-image img {
  width: 100%;
  height: 570px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
}
.chapter-story-image span {
  position: absolute;
  right: -1px;
  top: 2rem;
  padding: 0.72rem 1.4rem;
  color: #fff;
  background: #00629b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chapter-story-copy h2 { max-width: 11ch; margin-bottom: 1.5rem; }
.chapter-story-lead {
  max-width: 57ch;
  margin-bottom: 2rem;
  color: #526778;
  font-size: 1.03rem;
  line-height: 1.75;
}
.chapter-benefits {
  margin: 0 0 2.2rem;
  border-top: 1px solid #dbe4ea;
}
.chapter-benefits > div {
  display: grid;
  grid-template-columns: 36px 92px 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid #dbe4ea;
}
.chapter-benefits span {
  color: #c3651c;
  font-size: 0.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.chapter-benefits h3 { margin: 0; color: #173148; font-size: 0.92rem; }
.chapter-benefits p { margin: 0; color: #687b8a; font-size: 0.82rem; }
.chapter-story .btn-secondary { background: #eef4f7; border-color: #d6e2e9; }

/* Leadership */
.chapter-leadership { background: #eef3f6; }
.leadership-heading { align-items: flex-end; }
.leadership-heading > p {
  max-width: 48ch;
  margin: 0 0 0.25rem;
  color: #607484;
  font-size: 0.88rem;
}
.page-home .committee-grid { gap: 1px; background: #d5dfe6; }
.page-home .committee-card {
  padding: 2rem 1.35rem 1.7rem;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page-home .committee-card:hover {
  z-index: 1;
  border-color: transparent;
  box-shadow: 0 16px 38px rgba(16, 49, 72, 0.13);
  transform: translateY(-4px);
}
.page-home .committee-card img {
  width: 108px;
  height: 108px;
  border: 0;
  border-radius: 4px;
  box-shadow: 9px 9px 0 #e8f0f4;
  filter: saturate(0.78);
}
.page-home .committee-card:hover img {
  border-color: transparent;
  box-shadow: 9px 9px 0 #d9e9f2;
}
.page-home .committee-card .role {
  padding: 0;
  color: #b85d17;
  background: transparent;
  border-radius: 0;
}
.leadership-link-wrap { margin-top: 2rem; text-align: right; }

/* Membership close */
.membership-cta {
  padding: 4.5rem 1.5rem;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(5, 28, 47, 0.97), rgba(0, 81, 127, 0.9)),
    url('../media/IEEE_KLCC.jpg') center 55% / cover;
}
.membership-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 78rem;
  margin: 0 auto;
}
.membership-cta .section-kicker { color: #f6b766; }
.membership-cta h2 { max-width: 16ch; color: #fff; }
.membership-cta .btn-primary {
  flex: 0 0 auto;
  color: #092239;
  background: #f4a340;
  border-color: #f4a340;
}
.membership-cta .btn-primary:hover { color: #092239; background: #ffc170; border-color: #ffc170; }

/* Footer shares the header's institutional colour field. */
.site-footer { background: #06192a; }
.site-footer::before { height: 2px; background: #f4a340; }
.site-footer-bottom { color: #7f93a3; }
.footer-brand-logo { width: 150px; margin-bottom: 0.8rem; }
.footer-chapter-name {
  margin-bottom: 1rem !important;
  color: #f6b766;
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .site-header-inner { gap: 0.8rem; }
  .primary-nav a { padding-inline: 0.52rem; font-size: 0.77rem; }
  .page-home .hero-title { font-size: clamp(3rem, 5.9vw, 4.4rem); }
  .updates-layout { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr); }
  .update-feature { grid-template-columns: 0.78fr 1.22fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.85rem 1.5rem 1.1rem;
    background: #071b2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a { display: block; padding: 0.7rem 0.8rem; }
  .page-home .hero { padding-top: 4.6rem; }
  .hero-copy { max-width: 44rem; }
  .page-home .hero-title { max-width: 11ch; }
  .affiliation-inner { grid-template-columns: 1fr; gap: 1.35rem; }
  .updates-layout { grid-template-columns: 1fr; }
  .updates-aside { display: block; }
  .chapter-story-grid { grid-template-columns: 1fr; }
  .chapter-story-image { min-height: 470px; width: min(90%, 680px); }
  .chapter-story-image img { height: 470px; }
}

@media (max-width: 680px) {
  .site-header-inner { min-height: 66px; padding-inline: 1.1rem; }
  .brand-logo { height: 36px; }
  .brand-text { padding-left: 0.65rem; }
  .brand-name { font-size: 0.7rem; }
  .brand-tag { display: block; font-size: 0.58rem; }
  .page-home .hero {
    min-height: 0;
    padding: 3.8rem 1.2rem 5.5rem;
    background:
      linear-gradient(180deg, rgba(5, 24, 40, 0.9) 0%, rgba(5, 27, 45, 0.78) 68%, rgba(4, 25, 42, 0.72) 100%),
      url('../media/IEEE_KLCC.jpg') 58% center / cover no-repeat;
  }
  .page-home .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }
  .page-home .hero-sub { font-size: 0.98rem; }
  .page-home .hero-actions { align-items: stretch; flex-direction: column; }
  .page-home .hero-actions .btn { width: 100%; }
  .affiliation-inner { padding: 1.4rem 1.2rem; }
  .affiliation-points { grid-template-columns: 1fr; gap: 0.7rem; }
  .affiliation-points li { padding-left: 0.8rem; }
  .home-section { padding: 4.5rem 1.2rem; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .home-section-heading h2,
  .chapter-story-copy h2,
  .membership-cta h2 { font-size: 2.15rem; }
  .update-feature { grid-template-columns: 1fr; }
  .update-feature-media { min-height: 300px; max-height: 360px; }
  .update-feature-body { padding: 2rem 1.4rem; }
  .updates-aside { display: block; }
  .chapter-story-image { min-height: 390px; width: calc(100% - 12px); }
  .chapter-story-image img { height: 390px; }
  .chapter-story-image::before { left: -12px; bottom: -12px; }
  .chapter-benefits > div { grid-template-columns: 28px 72px 1fr; gap: 0.55rem; }
  .chapter-benefits p { font-size: 0.76rem; }
  .leadership-heading > p { max-width: none; }
  .page-home .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .page-home .committee-card { padding-inline: 0.8rem; }
  .page-home .committee-card img { width: 88px; height: 88px; }
  .membership-cta { padding: 4rem 1.2rem; }
  .membership-cta-inner { align-items: flex-start; flex-direction: column; }
  .membership-cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
  .page-home .committee-grid { grid-template-columns: 1fr; }
  .page-home .committee-card img { width: 104px; height: 104px; }
  .chapter-benefits > div { grid-template-columns: 28px 1fr; }
  .chapter-benefits p { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Inner-page design system
   ============================================================ */

main.page {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1.5rem 7rem;
}

.page-header {
  position: relative;
  isolation: isolate;
  margin: 0 0 clamp(4rem, 7vw, 6.5rem);
  padding: clamp(4rem, 7vw, 6.25rem) 0 clamp(4.25rem, 7vw, 6.5rem);
  border: 0;
}
.page-header::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(circle at 86% 20%, rgba(0, 105, 160, 0.42), transparent 31%),
    radial-gradient(circle at 8% 90%, rgba(232, 119, 34, 0.14), transparent 25%),
    #071b2d;
}
.page-header::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, #000 0%, transparent 78%);
  pointer-events: none;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: #f6ae55;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #f4a340;
}
.page-header h1 {
  max-width: 15ch;
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.page-header .page-lead {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.page-header .page-lead strong { color: #fff; }

main.page > section + section { margin-top: clamp(4.5rem, 7vw, 6.5rem); }
main.page > section > h2,
.conf-section > h2,
.media-video-section > h2 {
  margin-bottom: 0.8rem;
  color: #102a40;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
main.page > section > h2 + p,
.conf-section > h2 + p {
  max-width: 68ch;
  color: #607484;
}

/* About */
.page-about .about-intro { margin-bottom: 0; }
.page-about .about-intro-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(3rem, 7vw, 7rem);
}
.page-about .about-intro-text h2 {
  margin-bottom: 1.25rem;
  color: #102a40;
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -0.04em;
}
.page-about .about-intro-text > p {
  color: #526777;
  line-height: 1.78;
}
.page-about .about-intro-text > p:first-of-type {
  margin: 0 0 1.6rem;
  padding: 1rem 0 1rem 1.25rem;
  color: #163249;
  border-left: 3px solid #f4a340;
  font-size: 1.02rem;
}
.page-about .about-intro-img {
  position: relative;
  border-radius: 2px;
  box-shadow: none;
  overflow: visible;
}
.page-about .about-intro-img::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 55%;
  height: 55%;
  border-right: 2px solid #f4a340;
  border-bottom: 2px solid #f4a340;
}
.page-about .about-intro-img::after { border-radius: 2px; }
.page-about .about-intro-img img {
  width: 100%;
  max-height: none;
  aspect-ratio: 1.35 / 1;
  border-radius: 2px;
  object-fit: cover;
}
.page-about .about-timeline > h2,
.page-about .about-testimonials > h2 {
  margin-bottom: 2rem;
  padding: 0;
  border: 0;
  color: #102a40;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  letter-spacing: -0.04em;
}
.page-about .timeline-list { border-top: 2px solid #15354e; }
.page-about .timeline-row {
  grid-template-columns: 165px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: 2rem 0;
  border-bottom-color: #d9e2e8;
}
.page-about .timeline-year {
  color: #00629b;
  font-size: 2.15rem;
  font-weight: 700;
}
.page-about .timeline-content { max-width: 66ch; }
.page-about .timeline-heading { font-size: 1.08rem; }
.page-about .timeline-body { color: #5d7181; }
.page-about .testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d8e1e7;
}
.page-about .testimonial-card {
  position: relative;
  gap: 1.7rem;
  padding: 2rem;
  background: #f3f6f8;
  border: 0;
  border-radius: 0;
}
.page-about .testimonial-card::before {
  content: '“';
  position: absolute;
  top: 0.2rem;
  right: 1rem;
  color: rgba(0, 98, 155, 0.1);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}
.page-about .testimonial-card blockquote {
  position: relative;
  z-index: 1;
  color: #425a6d;
  font-size: 0.88rem;
  font-style: normal;
}
.page-about .testimonial-avatar { border-radius: 3px; border: 0; box-shadow: none; }
.page-about .testimonial-role { color: #b55a16; }

/* Current and past committee */
.page-committee .cmte-section,
.page-past-committee .cmte-section { margin-bottom: 0; }
.page-committee .cmte-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0 0 0.8rem;
  color: #17334a;
  border-bottom: 2px solid #17334a;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
}
.page-committee .cmte-section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #f4a340;
}
.page-committee .cmte-grid,
.page-past-committee .cmte-grid { gap: 1px; background: #d6e0e6; }
.page-committee .cmte-exco,
.page-past-committee .cmte-exco {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.page-committee .cmte-card,
.page-past-committee .cmte-card {
  padding: 2rem 1.25rem 1.65rem;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page-committee .cmte-card:hover,
.page-past-committee .cmte-card:hover {
  z-index: 1;
  border-color: transparent;
  box-shadow: 0 18px 42px rgba(14, 47, 70, 0.13);
  transform: translateY(-4px);
}
.page-committee .cmte-card-featured {
  color: #fff;
  background: #0b304b;
}
.page-committee .cmte-photo-wrap,
.page-past-committee .cmte-photo-wrap {
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 4px;
  box-shadow: 9px 9px 0 #e7eff3;
}
.page-committee .cmte-card-featured .cmte-photo-wrap {
  width: 132px;
  height: 132px;
  border: 0;
  box-shadow: 9px 9px 0 rgba(255, 255, 255, 0.12);
}
.page-committee .cmte-card:hover .cmte-photo-wrap,
.page-past-committee .cmte-card:hover .cmte-photo-wrap {
  border: 0;
  box-shadow: 9px 9px 0 #d7e6ee;
}
.page-committee .cmte-card-featured h3 { color: #fff; }
.page-committee .cmte-role,
.page-past-committee .cmte-role {
  padding: 0;
  color: #b75d18;
  background: transparent;
  border-radius: 0;
}
.page-committee .cmte-card-featured .cmte-role { color: #f6b766; background: transparent; }
.page-past-committee .past-cmte-era { margin-bottom: 0; }
.page-past-committee .past-cmte-year-header {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid #17334a;
}
.page-past-committee .past-cmte-year {
  color: #17334a;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.page-past-committee .past-cmte-era-label {
  color: #788b99;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Conference */
.page-our-conference .conf-section { margin-bottom: 0; }
.conference-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(30rem, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  min-height: 35rem;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.75rem, 6vw, 5.75rem);
}
.conference-page-hero::before {
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 105, 160, 0.32), transparent 29%),
    radial-gradient(circle at 8% 90%, rgba(232, 119, 34, 0.16), transparent 24%),
    #071b2d;
}
.conference-page-hero::after { mask-image: linear-gradient(to right, #000 0%, transparent 58%); }
.conference-hero-copy { position: relative; z-index: 2; }
.conference-page-hero .page-lead { max-width: 39rem; }
.conference-hero-brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: fit-content;
  margin-top: 2.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.conference-hero-brand img {
  width: clamp(10rem, 17vw, 12rem);
  height: auto;
  border-radius: 0;
}
.conference-hero-brand span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.conference-hero-media {
  position: relative;
  min-height: 27rem;
}
.conference-hero-media figure {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(0, 12, 24, 0.4);
}
.conference-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.conference-hero-primary {
  position: absolute;
  inset: 0 4.5rem 2.6rem 0;
}
.conference-hero-primary img { object-position: 50% 44%; }
.conference-hero-primary::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(to top, rgba(4, 22, 36, 0.88), transparent);
  pointer-events: none;
}
.conference-hero-primary figcaption {
  position: absolute;
  z-index: 1;
  left: 1.5rem;
  bottom: 1.35rem;
  display: grid;
  gap: 0.18rem;
  color: #fff;
}
.conference-hero-primary figcaption span {
  color: #f6b766;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.conference-hero-primary figcaption strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.conference-hero-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 39%;
  aspect-ratio: 1.16 / 1;
  border: 6px solid #071b2d;
}
.conference-hero-secondary img { object-position: center 58%; }
.conference-hero-secondary figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.42rem 0.72rem;
  color: #071b2d;
  background: #f4a340;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-our-conference .conf-upcoming {
  margin: 0;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 2px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    radial-gradient(circle at 92% 12%, rgba(0, 134, 199, 0.34), transparent 35%),
    #071b2d;
  background-size: 64px 64px, 64px 64px, auto, auto;
  box-shadow: 0 24px 58px rgba(9, 38, 60, 0.18);
}
.page-our-conference .conf-upcoming::after {
  content: '26';
  top: auto;
  right: -0.04em;
  bottom: -0.25em;
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.045);
  background: none;
  font-size: 16rem;
  font-weight: 800;
  line-height: 1;
}
.page-our-conference .conf-badge {
  padding: 0;
  color: #f6b766;
  background: transparent;
  border-radius: 0;
}
.page-our-conference .conf-badge::before { color: #f4a340; }
.page-our-conference .conf-upcoming h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
}
.page-our-conference .conf-upcoming-lead { max-width: 76ch; color: rgba(255,255,255,.76); }
.page-our-conference .conf-upcoming-grid {
  gap: clamp(2rem, 5vw, 5rem);
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.page-our-conference .conf-dates li { border-bottom-color: rgba(255,255,255,.12); }
.page-our-conference .conf-tracks li {
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.page-our-conference .conf-past-grid { gap: 1px; background: #d8e1e7; }
.page-our-conference .conf-past-card {
  min-height: 220px;
  padding: 2rem;
  background: #f3f6f8;
  border: 0;
  border-radius: 0;
}
.page-our-conference .conf-past-card:hover {
  z-index: 1;
  box-shadow: 0 18px 38px rgba(15, 47, 69, 0.12);
  transform: translateY(-4px);
}
.page-our-conference .conf-past-card h3 { font-size: 1.35rem; }
.page-our-conference .conf-legacy-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.page-our-conference .conf-legacy-year-group {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid #d8e1e7;
}
.page-our-conference .conf-legacy-year {
  margin: 0;
  padding: 0;
  color: #0c6293;
  border: 0;
  font-size: 1.25rem;
}
.page-our-conference .conf-legacy-list { gap: 0.75rem; }
.page-our-conference .conf-legacy-item {
  padding: 1rem;
  background: #f5f7f9;
  border: 0;
  border-radius: 2px;
}

/* News index */
.page-news .news-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.page-news .news-card {
  min-height: 300px;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #f3f6f8;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}
.page-news .news-card::before {
  top: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 3px;
  opacity: 1;
  background: #00629b;
}
.page-news .news-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 42px rgba(15, 47, 69, 0.13);
  transform: translateY(-5px);
}
.page-news .news-card-category {
  padding: 0;
  color: #b65a16;
  background: transparent;
  border-radius: 0;
}
.page-news .news-card-title { margin-top: 0.25rem; font-size: 1.18rem; }
.page-news .news-card-excerpt { color: #5f7383; }
.page-news .news-card-readmore { border-top-color: #d7e1e7; }

/* Media archive */
.page-media .media-video-section { margin-bottom: 0; }
.page-media .media-video-caption { color: #607484; }
.page-media .media-video {
  max-width: 980px;
  margin-top: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 22px 52px rgba(13, 43, 65, 0.15);
}
.page-media .media-year { margin: 0; }
.page-media .media-year-heading {
  margin-bottom: 1.25rem;
  padding-bottom: 0.7rem;
  color: #17334a;
  border-bottom: 2px solid #17334a;
  font-size: 1.8rem;
}
.page-media .media-gallery { gap: 0.8rem; }
.page-media .media-gallery li { height: 210px; }
.page-media .media-gallery a { border-radius: 2px; box-shadow: none; }
.page-media .media-gallery a:hover { box-shadow: 0 14px 32px rgba(15, 47, 69, 0.15); }
.page-media .media-note {
  padding: 1.2rem 1.4rem;
  background: #eef4f7;
  border-left-color: #f4a340;
  border-radius: 2px;
}

/* News articles */
.post-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 112, 170, 0.4), transparent 32%),
    #071b2d;
}
.post-hero::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, #000, transparent 82%);
}
.post-hero::after { display: none; }
.post-hero-inner { max-width: 58rem; }
.post-hero .breadcrumb { margin-bottom: 2rem; }
.post-hero .news-card-category {
  padding: 0;
  color: #f6b766;
  background: transparent;
  border-radius: 0;
}
.post-hero-title {
  max-width: 18ch;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
main.post { max-width: 52rem; padding: 4.5rem 1.5rem 7rem; }
.post-body { color: #30495c; font-size: 1.03rem; line-height: 1.82; }
.post-body h2,
.post-body h3,
.post-body h4 { color: #102a40; letter-spacing: -0.025em; }
.post-body h2 { font-size: 1.75rem; }
.post-body h3 { margin-top: 2.5rem; font-size: 1.3rem; }
.post-body figure { margin: 0 auto 3rem; }
.post-body figure img { max-height: 760px; margin: 0 auto; border-radius: 2px; }
.post-body ul,
.post-body ol {
  margin: 1.25rem 0 1.8rem;
  padding: 1.4rem 1.4rem 1.4rem 2.8rem;
  background: #f3f6f8;
  border-left: 3px solid #00629b;
}
.post-share {
  margin-top: 3.5rem;
  background: #eef4f7;
  border: 0;
  border-radius: 2px;
}
.post-share-btn { border-radius: 3px; }
.post-nav-link { border-radius: 2px; }

@media (max-width: 900px) {
  .page-about .about-intro-grid { grid-template-columns: 1fr; }
  .page-about .about-intro-img { max-width: 720px; }
  .conference-page-hero { grid-template-columns: 1fr; gap: 2.75rem; }
  .conference-page-hero .page-lead { max-width: 44rem; }
  .conference-hero-media { width: min(100%, 48rem); min-height: 26rem; }
  .page-news .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  main.page { padding: 0 1.2rem 5rem; }
  .page-header { margin-bottom: 4rem; padding: 3.5rem 0 3.8rem; }
  .page-header h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .conference-page-hero { gap: 2.25rem; min-height: 0; padding-bottom: 3.25rem; }
  .conference-hero-brand { align-items: flex-start; flex-direction: column; gap: 0.75rem; margin-top: 1.6rem; }
  .conference-hero-media { min-height: 20rem; }
  .conference-hero-primary { inset: 0 2.2rem 2rem 0; }
  .conference-hero-primary figcaption { left: 1rem; bottom: 1rem; }
  .conference-hero-secondary { width: 43%; border-width: 4px; }
  main.page > section + section { margin-top: 4.5rem; }
  .page-about .about-intro-img::before { right: -10px; bottom: -10px; }
  .page-about .timeline-row { grid-template-columns: 1fr; gap: 0.45rem; }
  .page-about .testimonial-grid { grid-template-columns: 1fr; }
  .page-committee .cmte-leadership,
  .page-committee .cmte-officers { grid-template-columns: 1fr; max-width: none; }
  .page-committee .cmte-card-featured { grid-column: auto; max-width: none; }
  .page-committee .cmte-exco,
  .page-past-committee .cmte-exco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-past-committee .past-cmte-year-header { align-items: flex-start; flex-direction: column; gap: 0.4rem; }
  .page-our-conference .conf-upcoming { padding: 2rem 1.35rem; }
  .page-our-conference .conf-legacy-year-group { grid-template-columns: 1fr; gap: 0.8rem; }
  .page-our-conference .conf-legacy-list { grid-template-columns: 1fr; }
  .page-news .news-card-grid { grid-template-columns: 1fr; }
  .page-news .news-card { min-height: 0; }
  .page-media .media-gallery li { height: 170px; }
  .post-hero { padding: 3.5rem 1.2rem 4rem; }
  main.post { padding: 3.5rem 1.2rem 5rem; }
}

@media (max-width: 430px) {
  .page-committee .cmte-exco,
  .page-past-committee .cmte-exco { grid-template-columns: 1fr; }
}

/* ============================================================
   ICOCO conference subpages
   ============================================================ */

.conference-subnav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  margin: calc(clamp(4rem, 7vw, 6.5rem) * -1 + 1.75rem) 0 5rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #d9e3e9;
  box-shadow: 0 14px 38px rgba(12, 42, 63, 0.09);
}
.conference-subnav-label {
  padding: 0.5rem 1rem 0.5rem 0.35rem;
  color: #17334a;
  border-right: 1px solid #d9e3e9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.conference-subnav ul {
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.conference-subnav li { margin: 0; }
.conference-subnav a {
  display: block;
  padding: 0.52rem 0.72rem;
  color: #536a7b;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.conference-subnav a:hover { color: #00629b; background: #eef4f7; }
.conference-subnav a[aria-current="page"] {
  color: #fff;
  background: #00629b;
}

.conference-section-heading { margin-bottom: 2rem; }
.conference-section-heading h2,
.conference-intro-panel h2,
.conference-note h2,
.resource-feature h2 {
  margin: 0;
  color: #102a40;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.conference-section-heading > p:not(.section-kicker) {
  max-width: 68ch;
  margin: 0.8rem 0 0;
  color: #607484;
}
.conference-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #eef4f7;
  border-left: 4px solid #f4a340;
}
.conference-intro-panel h2 { max-width: 17ch; }
.conference-intro-panel > p {
  max-width: 55ch;
  margin: 0;
  color: #536979;
  line-height: 1.75;
}

.numbered-guidelines {
  margin: 0;
  padding: 0;
  border-top: 2px solid #17334a;
  list-style: none;
}
.numbered-guidelines li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  margin: 0;
  padding: 1.55rem 0;
  border-bottom: 1px solid #d9e2e8;
}
.numbered-guidelines > li > span {
  color: #b75b17;
  font-size: 0.74rem;
  font-weight: 800;
}
.numbered-guidelines h3 { margin: 0 0 0.35rem; color: #17334a; font-size: 1rem; }
.numbered-guidelines p { max-width: 72ch; margin: 0; color: #617483; font-size: 0.9rem; }

.conference-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d7e1e7;
}
.conference-link-grid > a {
  position: relative;
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #17334a;
  background: #f3f6f8;
  text-decoration: none;
}
.conference-link-grid > a:hover { z-index: 1; color: #00629b; background: #fff; box-shadow: 0 16px 35px rgba(12,42,63,.12); }
.conference-link-grid span { margin-bottom: 0.3rem; color: #7d8e9a; font-size: 0.68rem; }
.conference-link-grid strong { max-width: 20ch; font-size: 0.93rem; line-height: 1.4; }
.conference-link-grid i {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  color: #b75b17;
  font-style: normal;
}

.conference-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
  gap: 2.5rem;
  margin-top: 5rem;
  padding: 2rem 2.25rem;
  color: #fff;
  background: #0a2c45;
  border-top: 3px solid #f4a340;
}
.conference-note h2 { color: #fff; font-size: 1.25rem; }
.conference-note p { margin: 0; color: rgba(255,255,255,.72); font-size: 0.88rem; }
.conference-note-action { grid-template-columns: 1fr auto; align-items: center; }
.conference-note-action > div p { margin-top: 0.5rem; }

/* Important dates */
.conference-mast {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 2.3rem;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 117, 178, 0.42), transparent 38%),
    #071b2d;
}
.conference-mast > img { width: min(100%, 310px); border-radius: 0; }
.conference-mast dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(255,255,255,.13);
}
.conference-mast dl > div { padding: 0.8rem 1rem; background: #0a2b44; }
.conference-mast dt { color: #f6b766; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.conference-mast dd { margin: 0.2rem 0 0; font-size: 0.8rem; font-weight: 650; }
.date-timeline {
  margin: 0;
  padding: 0;
  border-top: 2px solid #17334a;
  list-style: none;
}
.date-timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin: 0;
  padding: 1.8rem 0;
  border-bottom: 1px solid #d9e2e8;
}
.date-timeline time { color: #667b8b; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.date-timeline time span { display: block; color: #00629b; font-size: 2rem; line-height: 1; text-transform: none; }
.date-timeline h3 { margin: 0 0 0.4rem; color: #17334a; font-size: 1.12rem; }
.date-timeline p { max-width: 68ch; margin: 0; color: #617584; font-size: 0.88rem; }
.date-timeline .date-type { margin-bottom: 0.3rem; color: #b75b17; font-size: 0.66rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.date-timeline a { display: inline-block; margin-top: 0.7rem; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.date-timeline-featured { padding-inline: 1.25rem !important; color: #fff; background: #0a2c45; border-bottom: 0 !important; }
.date-timeline-featured time span,
.date-timeline-featured h3 { color: #fff; }
.date-timeline-featured p { color: rgba(255,255,255,.7); }
.date-timeline-featured .date-type { color: #f6b766; }
.conference-disclaimer { margin: 1.25rem 0 0; color: #7b8c98; font-size: 0.76rem; }

/* Tracks */
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.track-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
  background: #f3f6f8;
  overflow: hidden;
}
.track-card > img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; filter: saturate(.78); }
.track-card-body { padding: 1.6rem; }
.track-number { margin-bottom: 0.65rem; color: #b75b17; font-size: 0.62rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.track-card h2 { margin-bottom: 1rem; color: #17334a; font-size: 1.28rem; line-height: 1.2; }
.track-card ul { margin: 0; padding-left: 1rem; color: #5e7382; font-size: 0.78rem; }
.track-card li { margin: 0.38rem 0; }

/* Speakers */
.speaker-list { display: grid; gap: 5rem; }
.speaker-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.speaker-profile-reverse .speaker-portrait { order: 2; }
.speaker-portrait { position: relative; }
.speaker-portrait::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -14px;
  width: 55%;
  height: 55%;
  border-right: 2px solid #f4a340;
  border-bottom: 2px solid #f4a340;
}
.speaker-profile-reverse .speaker-portrait::after { right: auto; left: -14px; border-right: 0; border-left: 2px solid #f4a340; }
.speaker-portrait img { width: 100%; aspect-ratio: .9 / 1; border-radius: 2px; object-fit: cover; object-position: center top; background: #eef3f6; }
.speaker-day { margin: 0 0 0.65rem; color: #b75b17; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.speaker-content > h2 { margin: 0 0 0.4rem; color: #102a40; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.06; letter-spacing: -0.045em; }
.speaker-affiliation { margin-bottom: 2rem; color: #637787; font-size: 0.84rem; }
.speaker-content > h3 { max-width: 28ch; margin-bottom: 1.7rem; color: #00629b; font-size: 1.12rem; line-height: 1.45; }
.speaker-detail { border-top: 1px solid #d8e2e8; }
.speaker-detail:last-child { border-bottom: 1px solid #d8e2e8; }
.speaker-detail summary { padding: 0.9rem 0; color: #17334a; font-size: 0.78rem; font-weight: 750; cursor: pointer; }
.speaker-detail p { padding: 0 0 1rem; color: #5b7080; font-size: 0.84rem; line-height: 1.75; }

/* Supporters */
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #d9e2e8;
}
.supporter-grid figure {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 2.5rem;
  background: #fff;
}
.supporter-grid img { width: 100%; max-width: 360px; max-height: 190px; border-radius: 0; object-fit: contain; }
.supporter-grid figcaption { color: #738592; font-size: 0.72rem; font-weight: 650; }

/* Resources */
.resource-feature-grid { display: grid; gap: 1px; background: #d9e2e8; }
.resource-feature {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: #f3f6f8;
}
.resource-feature-reverse .resource-feature-media { order: 2; }
.resource-feature-media { display: block; overflow: hidden; }
.resource-feature-media img { width: 100%; aspect-ratio: 1.6 / 1; border-radius: 2px; object-fit: cover; transition: transform .3s ease; }
.resource-feature-media:hover img { transform: scale(1.025); }
.resource-feature-media.resource-qr img { aspect-ratio: 1 / 1; max-width: 300px; margin: 0 auto; object-fit: contain; }
.resource-feature h2 { margin-bottom: 1rem; }
.resource-feature p:not(.section-kicker) { max-width: 52ch; color: #5d7181; }
.background-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.background-grid li { margin: 0; }
.background-grid a { display: block; color: #17334a; background: #f3f6f8; text-decoration: none; overflow: hidden; }
.background-grid img { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; object-fit: cover; transition: transform .3s ease; }
.background-grid a:hover img { transform: scale(1.025); }
.background-grid span { display: flex; justify-content: space-between; padding: .8rem 1rem; font-size: .76rem; font-weight: 700; }
.background-grid i { color: #b75b17; font-style: normal; }

/* Fees */
.table-scroll { overflow-x: auto; }
.fee-deadline-note { margin: -0.8rem 0 1.2rem; color: #7b8c98; font-size: .76rem; }
.fees-table { min-width: 700px; margin: 0; border: 0; }
.fees-table th,
.fees-table td { padding: 1rem 1.15rem; border: 0; border-bottom: 1px solid #d9e2e8; }
.fees-table thead th { color: #fff; background: #0b304b; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.fees-table tbody th { color: #17334a; background: #f7f9fa; font-size: .86rem; }
.fees-table tbody td { color: #5b7080; background: #fff; font-size: .86rem; }
.fees-table tbody td strong { color: #00629b; font-size: 1rem; }
.fees-table .fees-member th,
.fees-table .fees-member td { background: #eef5f8; }
.fee-extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d8e1e7;
}
.fee-extras-grid article { padding: 1.7rem; background: #f3f6f8; }
.fee-extras-grid h2 { min-height: 2.7em; margin: 0; color: #17334a; font-size: 1rem; }
.fee-amount { margin: 1rem 0 0; color: #00629b; font-size: 1.8rem; font-weight: 750; letter-spacing: -.04em; }
.fee-amount small { font-size: .7rem; letter-spacing: .03em; }
.fee-amount em { display: block; color: #738592; font-size: .66rem; font-style: normal; letter-spacing: 0; }
.fee-faq details { border-top: 1px solid #d8e2e8; }
.fee-faq details:last-child { border-bottom: 1px solid #d8e2e8; }
.fee-faq summary { padding: 1rem 0; color: #17334a; font-size: .88rem; font-weight: 750; cursor: pointer; }
.fee-faq details p { max-width: 75ch; padding-bottom: 1rem; color: #5c7181; font-size: .86rem; }
.fee-faq details ul { margin: 0 0 1rem; color: #5c7181; font-size: .86rem; }

@media (max-width: 1000px) {
  .conference-subnav { grid-template-columns: 1fr; gap: .4rem; }
  .conference-subnav-label { border-right: 0; border-bottom: 1px solid #d9e3e9; }
  .conference-mast { grid-template-columns: 1fr; }
  .conference-mast dl { width: 100%; max-width: 700px; }
  .conference-mast .btn { justify-self: start; }
  .track-grid { grid-template-columns: 1fr; }
  .fee-extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .conference-subnav { margin-top: -2.75rem; margin-bottom: 4rem; padding: .65rem; }
  .conference-intro-panel { grid-template-columns: 1fr; gap: 1.25rem; }
  .conference-link-grid { grid-template-columns: 1fr; }
  .conference-link-grid > a { min-height: 130px; }
  .conference-note,
  .conference-note-action { grid-template-columns: 1fr; gap: 1rem; }
  .conference-note-action .btn { width: 100%; }
  .conference-mast dl { grid-template-columns: 1fr; }
  .date-timeline li { grid-template-columns: 100px 1fr; gap: 1.25rem; }
  .date-timeline time span { font-size: 1.5rem; }
  .track-card { grid-template-columns: 120px 1fr; }
  .speaker-profile { grid-template-columns: 1fr; }
  .speaker-profile-reverse .speaker-portrait { order: 0; }
  .speaker-portrait { width: min(82%, 430px); }
  .supporter-grid { grid-template-columns: 1fr; }
  .supporter-grid figure { min-height: 250px; }
  .resource-feature { grid-template-columns: 1fr; }
  .resource-feature-reverse .resource-feature-media { order: 0; }
  .background-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .numbered-guidelines li { grid-template-columns: 42px 1fr; gap: .75rem; }
  .date-timeline li { grid-template-columns: 1fr; gap: .65rem; }
  .track-card { grid-template-columns: 1fr; }
  .track-card > img { height: 190px; }
  .fee-extras-grid { grid-template-columns: 1fr; }
}
