/* ===========================================================
   IEEE Smart Cities — Site Stylesheet
   =========================================================== */

:root {
  --ieee-blue: #00629B;
  --ieee-navy: #071D33;
  --ieee-blue-light: #35A9E0;
  --accent-teal: #009CA6;
  --accent-amber: #F2B134;
  --bg: #FFFFFF;
  --bg-alt: #EEF5F8;
  --bg-navy: #071D33;
  --text: #142235;
  --text-muted: #526478;
  --border: #D7E3EA;
  --radius: 16px;
  --max-width: 1180px;
  --nav-width: 1380px;
  --shadow: 0 8px 24px rgba(21, 50, 72, 0.08);
  --shadow-lg: 0 24px 56px rgba(21, 50, 72, 0.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', var(--font-sans);
  --font-condensed: 'Inter', var(--font-sans);
  --font-mono: 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--ieee-navy);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform .15s ease;
}

.skip-link:focus { transform: translateY(0); }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  content: "";
  position: fixed;
  top: 50%;
  right: 3vw;
  z-index: 2;
  width: clamp(280px, 38vw, 560px);
  aspect-ratio: 1;
  background: url('../assets/ieee-smart-cities-event-logo.png') center / contain no-repeat;
  opacity: .04;
  pointer-events: none;
  transform: translateY(-42%);
}

main .container {
  position: relative;
  z-index: 3;
}

img { max-width: 100%; display: block; }

a { color: var(--ieee-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-amber);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--text);
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }

.eyebrow {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ieee-blue);
  margin-bottom: .6rem;
  display: block;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header.left {
  margin: 0 0 40px;
  text-align: left;
}

/* ---------- Sitewide status banner ----------
   Copy and state are set by js/main.js from the milestone dates
   in js/config.js, so the banner rolls over on its own. */
.status-banner {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .88rem;
  text-align: center;
  padding: 9px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
}

.status-banner a {
  font-weight: 700;
  color: var(--ieee-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* Call for Speakers open / lineup and agenda live */
.status-banner.is-open {
  background: linear-gradient(100deg, var(--ieee-navy), #12356B 70%, var(--ieee-blue));
  border-bottom-color: transparent;
  color: #DCE9FF;
}
.status-banner.is-open [data-status-text] { color: #fff; font-weight: 600; }
.status-banner.is-open a { color: var(--accent-teal); }

/* Submissions closed, committee reviewing */
.status-banner.is-review {
  background: #FFF6E5;
  border-bottom-color: #F0D9A0;
  color: #6B4E10;
}
.status-banner.is-review a { color: #8A5A00; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ieee-navy);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px;
  max-width: var(--nav-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  flex: 0 0 auto;
}

.brand:hover { text-decoration: none; }

.brand .brand-mark {
  position: relative;
  width: 126px;
  height: 80px;
  border-radius: 6px;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand .brand-mark img {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 206px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.brand .brand-text {
  font-family: var(--font-display);
}

.brand .brand-text small {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: .72rem;
  color: #8B93A7;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 10px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  color: #B7BECC;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}

.nav-links a.active {
  color: #fff;
  background: var(--ieee-blue);
}

.nav-cta {
  margin-left: 4px;
  background: var(--ieee-blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--ieee-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}
.btn-primary:hover { background: #1D4ED8; color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--ieee-blue);
  border-color: #fff;
}
.btn-secondary:hover { background: transparent; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ieee-blue);
  border-color: var(--ieee-blue);
}
.btn-outline:hover { background: var(--ieee-blue); color: #fff; }

.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.45), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(56,189,248,.28), transparent 50%),
    linear-gradient(165deg, #030712, var(--ieee-navy) 55%, #0B1020);
  background-color: var(--ieee-navy);
  color: #fff;
  padding: 96px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero .eyebrow { color: var(--accent-teal); }
.hero h1 { color: #fff; margin: 0 0 12px; }
.hero .theme { font-family: var(--font-display); color: #C9E8FF; font-size: 1.2rem; font-weight: 500; margin: 0 0 18px; }
.hero p.lead { color: #AEB9CC; max-width: 68ch; }

/* Call for Speakers announcement in the hero */
.hero-announce {
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.35);
  border-left: 3px solid var(--accent-teal);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 22px;
  max-width: 68ch;
  color: #DCEEFF;
  font-size: 1rem;
}
.hero-announce strong { color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: #fff;
}
.hero-stats .stat span {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8B93A7;
  font-size: .82rem;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(37,99,235,.1);
  color: var(--ieee-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* Track cards */
.track-list { max-width: 900px; }
.track-item {
  position: relative;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.track-item:first-child { padding-top: 0; }
.track-item .track-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--border);
}
.track-item h3 { padding-right: 48px; }
.track-item p { color: var(--text-muted); font-size: .96rem; margin: 0 0 12px; }
.track-item .topics {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.track-item .topics strong { color: var(--text); }

/* Program committee */
.committee-list {
  max-width: 780px;
  margin: 8px 0 0;
}
.committee-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.committee-list dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.committee-list dd {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .committee-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.sdg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdg-pill {
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ieee-navy);
  color: #fff;
}
.sdg-pill.secondary {
  background: #E9EEF3;
  color: var(--ieee-navy);
}

/* ---------- Callout / info box ---------- */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent-teal);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 28px 0;
  font-size: .95rem;
  color: var(--text-muted);
}
.callout strong { color: var(--text); }

.callout.amber {
  border-left-color: var(--accent-amber);
  background: #FFF8EB;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  color: var(--text-muted);
  font-size: .95rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ieee-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
}
.steps li strong { color: var(--text); display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .88rem; color: var(--text); }
.field .hint { font-size: .78rem; color: var(--text-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .95rem;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ieee-blue);
  box-shadow: 0 0 0 3px rgba(0,98,155,.15);
}
.field textarea { resize: vertical; min-height: 90px; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.checkbox-field input { margin-top: 3px; }

.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.form-success {
  display: none;
  background: #E9F9F0;
  border: 1px solid #B7E8CB;
  color: #14603A;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .92rem;
}
.form-success.show { display: block; }

/* ---------- Coming soon ---------- */
.coming-soon {
  text-align: center;
  padding: 90px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.coming-soon .badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--ieee-blue);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Sponsor tiers ---------- */
.tier-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.tier-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: .92rem;
  color: var(--text-muted);
}
.tier-list li strong { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ieee-navy), var(--ieee-blue));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E6EF; max-width: 60ch; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ieee-navy);
  color: #A9C9DE;
  padding: 48px 0 24px;
  margin-top: 40px;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  font-size: .88rem;
  margin-bottom: 12px;
}
.footer-grid a { color: #A9C9DE; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .8rem;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Data tables (Important Dates, review rubric, field spec) ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 24px 0;
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9rem;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 18px 0;
  font-size: .84rem;
  color: var(--text-muted);
}

.data-table th {
  background: var(--ieee-navy);
  color: #fff;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) { background: #FBFCFE; }
.data-table tbody tr:hover { background: #F4F8FF; }

.data-table td:first-child { color: var(--text); font-weight: 600; }

.data-table .date {
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--text);
  white-space: nowrap;
}

/* Rows the committee wants applicants to remember */
.data-table tr.is-key td { background: rgba(37,99,235,.06); }
.data-table tr.is-key td:first-child { box-shadow: inset 3px 0 0 var(--ieee-blue); }
.data-table tr.is-key .date { color: var(--ieee-blue); font-weight: 700; }

/* Required / Optional markers in the field spec */
.req {
  display: inline-block;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.req.required { background: rgba(37,99,235,.12); color: #1D4ED8; }
.req.optional { background: #EEF1F5; color: var(--text-muted); }

/* Weight column in the review rubric */
.weight {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ieee-blue);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .table-wrap { border-radius: 8px; }
  .data-table { font-size: .86rem; }
  .data-table th, .data-table td { padding: 11px 13px; }
}

/* ---------- On-page section nav ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.anchor-nav a {
  display: inline-block;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.anchor-nav a:hover {
  background: var(--ieee-blue);
  border-color: var(--ieee-blue);
  color: #fff;
  text-decoration: none;
}

/* Offset anchor targets so the sticky header doesn't cover headings */
[id] { scroll-margin-top: 90px; }

/* ---------- Deadline strip ---------- */
.deadline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
}
.deadline-strip div {
  background: #fff;
  padding: 18px 20px;
}
.deadline-strip strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2px;
}
.deadline-strip span {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  color: var(--text-muted);
}
.deadline-strip div.is-key { background: var(--ieee-navy); }
.deadline-strip div.is-key strong { color: #fff; }
.deadline-strip div.is-key span { color: var(--accent-teal); }

/* ---------- Checklist / prepare lists ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: .94rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  color: var(--ieee-blue);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list li strong { color: var(--text); }

/* ---------- Pending submit state (Sessionize URL not configured) ---------- */
.btn.is-pending {
  background: #fff;
  color: var(--ieee-blue);
  border-color: var(--ieee-blue);
  box-shadow: none;
}
.btn.is-pending:hover { background: var(--bg-alt); transform: none; }

/* ---------- Submit block ---------- */
.submit-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.submit-block h2 { margin-top: 0; }
.submit-block .btn-row { justify-content: center; }
.submit-block .fine-print {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 22px auto 0;
  max-width: 52ch;
}

/* ---------- Hybrid participation blocks ---------- */
.mode-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--ieee-blue);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.mode-card.virtual { border-top-color: var(--accent-teal); }
.mode-card .mode-label {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ieee-blue);
  display: block;
  margin-bottom: 6px;
}
.mode-card.virtual .mode-label { color: #0E7490; }
.mode-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.8;
}

/* ---------- Form handoff notice (shared-email workflow) ---------- */
.form-handoff {
  display: none;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .92rem;
}
.form-handoff.show { display: block; }
.form-handoff a { color: #1D4ED8; font-weight: 600; }

/* ---------- Privacy / consent note ---------- */
.privacy-note {
  font-size: .8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 16px;
  line-height: 1.7;
}
.privacy-note strong { color: var(--text); }

/* ---------- Mobile nav ---------- */
@media (max-width: 1080px) {
  .brand .brand-mark {
    width: 102px;
    height: 65px;
  }

  .brand .brand-mark img {
    top: -9px;
    width: 167px;
  }

  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: var(--ieee-navy);
    padding: 10px 0 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .brand { gap: 8px; }
  main::before {
    right: -12vw;
    width: 76vw;
    opacity: .035;
  }
}

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

/* ===========================================================
   2026 conference UI refresh
   Inspired by contemporary IEEE and academic conference sites:
   clear editorial hierarchy, strong event actions, and calm surfaces.
   =========================================================== */
body {
  background: #F7FAFC;
  font-size: 16px;
}

h1, h2, h3, h4 {
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.container {
  padding-inline: clamp(22px, 4vw, 42px);
}

.status-banner {
  min-height: 38px;
  padding: 8px 20px;
  background: var(--ieee-blue);
  border: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.status-banner a,
.status-banner a:hover {
  color: #fff;
}

.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,98,155,.14);
  box-shadow: 0 8px 30px rgba(16,47,68,.07);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 86px;
  padding: 8px 24px;
  gap: 26px;
}

.brand {
  color: var(--ieee-navy);
}

.brand .brand-mark {
  width: 190px;
  height: 100px;
  border: 1px solid #E4EDF2;
  border-radius: 12px;
  background: #fff;
}

.brand .brand-mark img {
  top: -5px;
  width: 200px;
}

.brand .brand-text {
  display: none;
}

.brand .brand-text small {
  margin-top: 2px;
  color: #6B7F91;
}

.nav-links {
  gap: 2px;
}

.nav-links a {
  color: #34495D;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .045em;
  padding: 10px 7px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--ieee-blue);
  background: #EAF4F8;
}

.nav-links a.active {
  color: var(--ieee-blue);
  background: #EAF4F8;
}

.nav-cta {
  margin-left: 8px;
  border-radius: 999px !important;
  box-shadow: 0 7px 18px rgba(0,98,155,.2);
  color: #fff !important;
}

.nav-toggle {
  border-color: rgba(0,98,155,.3);
  color: var(--ieee-navy);
}

main::before {
  right: 2vw;
  width: clamp(320px, 42vw, 650px);
  opacity: .028;
  filter: saturate(.65);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-alt {
  background: #EEF5F8;
}

main > .section:first-child:not(.hero) {
  padding-top: clamp(70px, 9vw, 118px) !important;
  padding-bottom: clamp(58px, 7vw, 88px) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(53,169,224,.18), transparent 31%),
    linear-gradient(135deg, #F7FBFD 0%, #EAF4F8 100%);
  border-bottom: 1px solid rgba(0,98,155,.12);
}

main:has(> .hero)::before {
  display: none;
}

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-header.left {
  margin-bottom: 44px;
}

.section-header h1,
.section-header h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(0,98,155,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--ieee-blue);
  font-family: var(--font-sans);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .11em;
}

.lead {
  color: #43586C;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: clamp(88px, 11vw, 150px) 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(53,169,224,.24), transparent 27%),
    radial-gradient(circle at 18% 82%, rgba(0,156,166,.18), transparent 28%),
    linear-gradient(125deg, #061A2D 0%, #0A3554 58%, #00629B 120%);
}

.hero::before {
  inset: auto 4vw 50%;
  width: min(44vw, 590px);
  height: min(44vw, 590px);
  transform: translateY(50%);
  background: url('../assets/ieee-smart-cities-event-logo.png') center / contain no-repeat;
  opacity: .13;
}

.hero .container {
  max-width: 1180px;
}

.hero .eyebrow {
  color: #9DE8EF;
  background: rgba(255,255,255,.08);
  border-color: rgba(157,232,239,.35);
}

.hero h1 {
  max-width: 780px;
  margin-top: 20px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero .theme {
  max-width: 780px;
  color: #D4ECF7;
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  line-height: 1.45;
}

.hero p.lead {
  color: #C5D7E2;
  font-size: 1.08rem;
}

.hero-announce {
  width: fit-content;
  max-width: 760px;
  padding: 13px 18px;
  border: 1px solid rgba(157,232,239,.26);
  border-left: 4px solid #50D2DA;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #D9E8F0;
  box-shadow: none;
}

.btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ieee-blue);
  box-shadow: 0 10px 24px rgba(0,98,155,.22);
}

.btn-primary:hover {
  background: #004E7C;
  box-shadow: 0 14px 28px rgba(0,78,124,.26);
}

.hero .btn-primary {
  background: #35A9E0;
}

.hero .btn-secondary {
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.06);
}

.btn-outline {
  border-color: rgba(0,98,155,.34);
  color: var(--ieee-blue);
  background: rgba(255,255,255,.72);
}

.btn-row {
  gap: 12px;
  margin-top: 30px;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.data-table th {
  padding: 16px 18px;
  background: #0B3C5D;
  border-color: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .08em;
}

.data-table td {
  padding: 17px 18px;
  border-color: #E4ECF1;
}

.data-table tbody tr:nth-child(even) {
  background: #F6FAFC;
}

.data-table tbody tr:hover {
  background: #EDF7FA;
}

.track-list {
  max-width: 940px;
  border-top: 1px solid var(--border);
}

.track-item {
  padding: 34px 70px 34px 0;
  transition: padding-left .18s ease, background .18s ease;
}

.track-item:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(0,98,155,.06), transparent 78%);
}

.track-item .track-num {
  color: var(--ieee-blue);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.track-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.committee-list {
  border-top: 1px solid var(--border);
}

.committee-list > div {
  padding: 28px 0;
}

.committee-list dt {
  color: var(--ieee-blue);
}

.anchor-nav {
  gap: 8px;
}

.anchor-nav a {
  border: 1px solid #CFE0E8;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #315169;
}

.anchor-nav a:hover {
  border-color: var(--ieee-blue);
  background: #fff;
  color: var(--ieee-blue);
}

.check-list li::before {
  background: var(--accent-teal);
}

.coming-soon {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 72px);
  border: 1px solid rgba(0,98,155,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}

.coming-soon .badge {
  border: 1px solid rgba(0,98,155,.22);
  border-radius: 999px;
  background: #EAF4F8;
  color: var(--ieee-blue);
}

.submit-block {
  padding: clamp(44px, 7vw, 76px);
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(53,169,224,.25), transparent 35%),
    var(--ieee-navy);
  box-shadow: var(--shadow-lg);
}

.submit-block h2,
.submit-block .eyebrow,
.submit-block p,
.submit-block .fine-print {
  color: #fff !important;
}

.submit-block .eyebrow {
  margin-inline: auto;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}

.site-footer {
  padding-top: 68px;
  background:
    radial-gradient(circle at 85% 0%, rgba(53,169,224,.15), transparent 32%),
    #061727;
}

.footer-grid {
  gap: 56px;
}

.footer-grid h4 {
  color: #fff;
  font-size: .83rem;
  letter-spacing: .09em;
}

.footer-grid a {
  color: #B9D4E2;
}

@media (max-width: 1080px) {
  .nav {
    min-height: 76px;
    gap: 16px;
  }

  .brand .brand-mark {
    width: 160px;
    height: 86px;
  }

  .brand .brand-mark img {
    top: -4px;
    width: 170px;
  }

  .nav-links {
    border-top: 1px solid #DDE8EE;
    background: #fff;
  }

  .nav-links a {
    padding: 13px 12px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 82px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero::before {
    right: -24vw;
    width: 88vw;
    height: 88vw;
    opacity: .1;
  }

  main::before {
    right: -20vw;
    width: 88vw;
    opacity: .022;
  }

  .btn-row .btn {
    width: 100%;
  }

  .track-item {
    padding-right: 42px;
  }

  .track-item:hover {
    padding-left: 0;
  }

  .coming-soon {
    padding: 36px 24px;
  }

  .data-table th,
  .data-table td {
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .brand .brand-text {
    display: none;
  }

  .brand .brand-text small {
    display: none;
  }
}

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