/* ==========================================================================
   ICRAERM 2027 — design tokens (Premium Blue Theme)
   ========================================================================== */
:root {
  --ink: #101E2E;
  --ink-soft: #2E4057;
  --muted: #5A6D82;
  --paper: #F3F6FA;
  --paper-raised: #FFFFFF;
  --rule: #CCD7E4;
  --rule-soft: #E1E8F2;
  --brass: #1565C0;
  --brass-dark: #0D47A1;
  --teal: #0288D1;
  --teal-soft: #E1F0FA;
  --red: #D32F2F;
  --red-soft: #FDE8E8;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--brass-dark);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

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

ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
/* ==========================================================================
   Topbar (Pre-header: scrolls away with the page)
   ========================================================================== */
.site-topbar {
  background: #0B1E36;
  color: #D1E1F5;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 90;
}

.site-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-items span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-actions {
  display: flex;
  align-items: center;
}

.topbar-reg-btn {
  background: var(--brass);
  color: #fff !important;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.topbar-reg-btn:hover {
  background: var(--brass-dark);
}

/* ==========================================================================
   Header / Navigation Bar (Sticky directly to top: 0)
   ========================================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand__mark {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.35rem;
  color: #0F2D54;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand__year {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--brass);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1;
}

.brand__subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.25;
  margin-top: 2px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom-color 0.15s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Theme toggle desktop vs mobile */
.site-nav__mobile-theme {
  display: none;
}

.theme-toggle--desktop {
  display: flex;
}

@media (max-width: 1024px) {
  .brand__subtitle {
    display: none;
  }
}

@media (max-width: 880px) {
  .site-topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .nav-burger {
    display: flex;
  }

  .theme-toggle--desktop {
    display: none !important;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule);
    padding: 10px 0 14px;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 0.95rem;
  }

  .site-nav__mobile-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px 4px;
    margin-top: 4px;
    border-top: 1px dashed var(--rule);
  }

  .mobile-theme-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mobile-theme-label i {
    color: var(--brass);
  }

  .nav-toggle:checked~.site-nav {
    display: flex;
  }

  .site-header__row {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Hero + spec plate (title-block treatment)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background-image:
    repeating-linear-gradient(0deg, rgba(22, 38, 43, 0.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(22, 38, 43, 0.035) 0 1px, transparent 1px 32px);
}

/* ---- Home-page hero: background image + dark overlay ---- */
.hero--home {
  background: url('../images/hero-bg.jpg') center / cover no-repeat;
  color: #fff;
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(22, 38, 43, 0.92) 0%,
      rgba(22, 38, 43, 0.82) 45%,
      rgba(22, 38, 43, 0.35) 70%,
      rgba(22, 38, 43, 0.08) 100%);
  z-index: 1;
}

.hero--home>.wrap {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 0 48px;
}

.hero--home h1 {
  color: #fff;
}

/* Constrain home hero text content to the left portion */
.hero--home h1,
.hero--home .hero__eyebrow,
.hero--home .hero__lede,
.hero--home .hero__actions,
.hero--home .spec-plate,
.hero--home .countdown {
  max-width: 58%;
}

@media (max-width: 880px) {

  .hero--home h1,
  .hero--home .hero__eyebrow,
  .hero--home .hero__lede,
  .hero--home .hero__actions,
  .hero--home .spec-plate,
  .hero--home .countdown {
    max-width: 70%;
  }
}

@media (max-width: 620px) {
  .hero--home::before {
    background: linear-gradient(90deg,
        rgba(22, 38, 43, 0.92) 0%,
        rgba(22, 38, 43, 0.85) 60%,
        rgba(22, 38, 43, 0.7) 100%);
  }

  .hero--home h1,
  .hero--home .hero__eyebrow,
  .hero--home .hero__lede,
  .hero--home .hero__actions,
  .hero--home .spec-plate,
  .hero--home .countdown {
    max-width: 100%;
  }
}

.hero--home .hero__eyebrow {
  color: #8BD6C4;
}

.hero--home .hero__lede {
  color: rgba(255, 255, 255, 0.8);
}

.hero--home .spec-plate {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero--home .spec-plate__cell {
  border-left-color: rgba(255, 255, 255, 0.15);
}

.hero--home .spec-plate__label {
  color: rgba(255, 255, 255, 0.6);
}

.hero--home .spec-plate__value {
  color: #fff;
}

@media (max-width: 700px) {
  .hero--home .spec-plate__cell {
    border-top-color: rgba(255, 255, 255, 0.15);
  }
}

.hero--home .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero--home .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---- Default hero (subpages): light theme ---- */
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.hero__lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.spec-plate {
  margin-top: 32px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper-raised);
}

.spec-plate__cell {
  padding: 16px 20px;
  border-left: 1px solid var(--rule);
}

.spec-plate__cell:first-child {
  border-left: none;
}

.spec-plate__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.spec-plate__value {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 700px) {
  .spec-plate {
    grid-template-columns: 1fr;
  }

  .spec-plate__cell {
    border-left: none;
    border-top: 1px solid var(--rule);
  }

  .spec-plate__cell:first-child {
    border-top: none;
  }
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brass);
  color: var(--paper-raised);
}

.btn--primary:hover {
  background: var(--brass-dark);
  color: var(--paper-raised);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--paper-raised);
  color: var(--ink);
  border-color: var(--rule);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--muted);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Sections
   ========================================================================== */
section.block {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

section.block:first-of-type {
  border-top: none;
}

.block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.block__kicker {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 880px) {

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Quick action bar (Home) */
.action-card {
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(16, 30, 46, 0.08);
  border-color: #93c5fd;
}

.action-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.action-card p {
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--muted);
  flex-grow: 1;
}

.action-card a.btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  margin-top: auto;
  align-self: flex-start;
}

/* Track / theme index */
.track {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
}

.track:first-child {
  border-top: none;
}

.track__num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--brass-dark);
}

.track__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.track__list {
  columns: 2;
  column-gap: 32px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.track__list li {
  break-inside: avoid;
  margin-bottom: 4px;
}

@media (max-width: 620px) {
  .track__list {
    columns: 1;
  }

  .track {
    grid-template-columns: 1fr;
  }
}

/* Tag chips */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-right: 6px;
}

.tag--red {
  background: var(--red-soft);
  color: var(--red);
}

/* Tables (fees, dates) */
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
  font-size: 0.95rem;
}

table.data th,
table.data td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
}

table.data th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: none;
  border-bottom: 1px solid var(--ink);
}

table.data td strong {
  font-family: var(--font-mono);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.table-wrap table.data {
  border: none;
}

/* Timeline (Important Dates) */
.timeline {
  border-left: 2px solid var(--rule);
  margin-left: 6px;
}

.timeline__item {
  position: relative;
  padding: 4px 0 24px 26px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 2px solid var(--brass);
}

.timeline__item--done::before {
  background: var(--teal);
  border-color: var(--teal);
}

.timeline__date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 2px;
}

/* Cards for speakers / committee / people */
.card {
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card--placeholder {
  border-style: dashed;
  color: var(--muted);
  text-align: center;
  box-shadow: none;
}

/* Programme days */
.day-tab-list {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.day-tab-list span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 10px 4px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}

.day-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-block .tag {
  font-size: 0.7rem;
}

.day-block ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.day-block ul li {
  margin-bottom: 6px;
}

.day-block+.day-block {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--rule-soft);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 10px;
  color: var(--ink-soft);
}

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
  text-align: left;
}

.cta-banner h2 {
  color: var(--paper);
}

.cta-banner p {
  color: #C7D2CE;
}

.cta-banner .btn--primary {}

.cta-banner .btn--ghost {
  border-color: #7C8B86;
  color: var(--paper);
}

.cta-banner .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #09131F;
  color: #D3E0EE;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 0;
  margin-top: 60px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.site-footer__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-left: 3px solid var(--brass);
  padding-left: 8px;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #A9BFD4;
  line-height: 1.5;
}

.site-footer a {
  color: #D2E3DB;
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: var(--brass-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}

.footer-brand-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-year {
  color: var(--brass);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand-sub {
  font-size: 0.76rem !important;
  color: #9AB4AA !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.footer-meta-line {
  font-size: 0.82rem !important;
  color: #A6C2B6 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px !important;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
  background: var(--brass);
  color: #fff;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem 1.25rem;
}

.footer-nav-list li a {
  font-size: 0.88rem;
  color: #B2C9BF;
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s, color 0.15s;
}

.footer-nav-list li a:hover {
  color: #fff;
  transform: translateX(0.25rem);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #B2C9BF;
  line-height: 1.45;
}

.footer-contact-item i {
  color: var(--brass);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #C5DDD3 !important;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.65rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.footer-phone-pill:hover {
  background: rgba(40, 176, 122, 0.18);
  border-color: var(--brass);
  color: #FFFFFF !important;
}

.footer-sub-text {
  font-size: 0.84rem !important;
  color: #9AB4AA !important;
  margin-bottom: 12px !important;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.footer-input:focus {
  border-color: var(--brass);
}

.footer-subscribe-btn {
  width: 100%;
  padding: 9px 14px;
  font-size: 0.86rem;
  text-align: center;
}

.gift-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #A6C2B6 !important;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.gift-link-pill:hover {
  color: #fff !important;
  border-color: var(--brass);
}

.site-footer__legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  background: #060D15;
}

.site-footer__legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #7E998E;
}

.site-footer__legal-inner p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal-links a {
  color: #7E998E;
}

.footer-legal-links a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .site-footer__legal-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  background: #0E3626;
  color: #fff;
  font-size: 0.86rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announce__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.announce__badge {
  background: var(--brass);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.announce__text {
  flex-grow: 1;
  text-align: center;
  font-size: 0.86rem;
}

.announce__link {
  color: #A3E4C8;
  font-weight: 600;
  text-decoration: underline;
}

.announce__link:hover {
  color: #fff;
}

/* ==========================================================================
   Countdown
   ========================================================================== */
.countdown {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.countdown__cell {
  background: var(--paper-raised);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 14px 20px;
  min-width: 84px;
  text-align: center;
}

.countdown__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.countdown__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Countdown inside hero — glass look */
.hero--home .countdown__cell {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.hero--home .countdown__num {
  color: #fff;
}

.hero--home .countdown__label {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Partner logo strip
   ========================================================================== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.logo-strip__item {
  flex: 1 1 160px;
  height: 84px;
  border: 1px dashed var(--rule);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  background: var(--paper-raised);
}

/* ==========================================================================
   Pricing cards (registration)
   ========================================================================== */
.currency-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.currency-tabs {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 28px;
}

.currency-tabs label {
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--paper-raised);
  color: var(--ink-soft);
}

/* inputs, .currency-tabs and .pricing-grid are siblings, so the general
   sibling combinator can reach into both the tab labels and the cards */
#cur-inr:checked~.currency-tabs label[for="cur-inr"],
#cur-usd:checked~.currency-tabs label[for="cur-usd"] {
  background: var(--ink);
  color: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.price-card {
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  border-radius: 3px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.price-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.price-card__amount {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--brass-dark);
  margin: 6px 0 0;
}

.price-card__amount .cur-usd {
  display: none;
}

#cur-usd:checked~.pricing-grid .price-card__amount .cur-inr {
  display: none;
}

#cur-usd:checked~.pricing-grid .price-card__amount .cur-usd {
  display: inline;
}

.price-card .btn {
  margin-top: auto;
  text-align: center;
}

/* ==========================================================================
   Step-circle guide
   ========================================================================== */
.step-guide {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

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

@media (max-width: 560px) {
  .step-guide {
    grid-template-columns: 1fr;
  }
}

.step-guide__item {
  text-align: left;
}

.step-guide__circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 12px;
}

.step-guide__item h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.step-guide__item p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ==========================================================================
   Payment panel (QR / bank)
   ========================================================================== */
.payment-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 780px) {
  .payment-panel {
    grid-template-columns: 1fr;
  }
}

.qr-box {
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-raised);
  padding: 24px;
  text-align: center;
}

.qr-box__frame {
  width: 168px;
  height: 168px;
  margin: 0 auto 14px;
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-radius: 3px;
}

/* ==========================================================================
   Includes icon grid
   ========================================================================== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 880px) {
  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.includes-item {
  text-align: left;
}

.includes-item__mark {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}

.includes-item h3 {
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.includes-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Speaker card
   ========================================================================== */
.speaker-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.speaker-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid var(--rule);
}

.speaker-card__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 4px;
}

.speaker-card__name {
  margin: 0 0 2px;
  font-size: 1rem;
}

.speaker-card__affil {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.speaker-card__links {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Theme toggle button
   ========================================================================== */
.theme-toggle {
  background: none;
  border: 1px solid var(--rule);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal);
  transform: rotate(30deg);
}

.theme-toggle:active {
  transform: rotate(30deg) scale(0.9);
}

/* Icon visibility: show sun in light mode, moon in dark mode */
.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__icon--dark {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--light {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--dark {
  display: flex;
}

/* ==========================================================================
   Dark mode — variable overrides
   ========================================================================== */
html[data-theme="dark"] {
  --ink: #EAF0F8;
  --ink-soft: #B8CBE0;
  --muted: #7E95AE;
  --paper: #0B131E;
  --paper-raised: #132030;
  --rule: #23364C;
  --rule-soft: #182738;
  --brass: #388BFD;
  --brass-dark: #58A6FF;
  --teal: #38BDF8;
  --teal-soft: rgba(56, 189, 248, 0.12);
  --red: #F87171;
  --red-soft: rgba(248, 113, 113, 0.12);
}

/* --- Header (dark) ---------------------------------------------------- */
html[data-theme="dark"] .site-header {
  background: rgba(11, 19, 30, 0.96);
  border-bottom-color: var(--rule);
}

html[data-theme="dark"] .site-topbar {
  background: #08121D;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .brand__mark {
  color: var(--ink);
}

html[data-theme="dark"] .brand__year {
  color: #FFFFFF;
  background: var(--brass);
}

html[data-theme="dark"] .brand__subtitle {
  color: var(--muted);
}

/* --- Theme toggle (dark state) ---------------------------------------- */
html[data-theme="dark"] .theme-toggle {
  border-color: var(--rule);
  color: var(--ink-soft);
}

html[data-theme="dark"] .theme-toggle:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal);
}

/* --- Mobile nav burger (dark) ----------------------------------------- */
html[data-theme="dark"] .nav-burger span {
  background: var(--ink);
}

/* --- Hero grid overlay (dark) ----------------------------------------- */
html[data-theme="dark"] .hero:not(.hero--home) {
  background-image:
    repeating-linear-gradient(0deg, rgba(234, 240, 248, 0.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(234, 240, 248, 0.035) 0 1px, transparent 1px 32px);
}

html[data-theme="dark"] .hero--home {
  background: url('../images/hero-bg.jpg') center / cover no-repeat;
}

html[data-theme="dark"] .hero--home::before {
  background: linear-gradient(90deg,
      rgba(11, 19, 30, 0.95) 0%,
      rgba(11, 19, 30, 0.88) 45%,
      rgba(11, 19, 30, 0.45) 70%,
      rgba(11, 19, 30, 0.15) 100%);
}

/* --- CTA banner (dark) ------------------------------------------------ */
html[data-theme="dark"] .cta-banner {
  background: #070D14;
}

html[data-theme="dark"] .cta-banner h2 {
  color: var(--ink);
}

html[data-theme="dark"] .cta-banner p {
  color: var(--muted);
}

html[data-theme="dark"] .cta-banner .btn--ghost {
  border-color: var(--rule);
  color: var(--ink);
}

html[data-theme="dark"] .cta-banner .btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* --- Announce bar (dark) ---------------------------------------------- */
html[data-theme="dark"] .announce {
  background: #0E294B;
  color: #E2EBF8;
}

html[data-theme="dark"] .announce__badge {
  background: rgba(56, 139, 253, 0.22);
  color: #79B8FF;
  border-color: rgba(56, 139, 253, 0.45);
}

/* --- Home Sections Dark Mode Enhancements ------------------------------ */
html[data-theme="dark"] .pillars-ribbon {
  background: #0F1926;
  border-bottom-color: var(--rule);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .block--tinted {
  background: rgba(56, 139, 253, 0.04);
}

html[data-theme="dark"] .theme-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .theme-card:hover {
  border-color: var(--brass);
  box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .theme-card__icon {
  background: rgba(56, 139, 253, 0.15);
  color: #79B8FF;
}

html[data-theme="dark"] .theme-card__title {
  color: var(--ink);
}

html[data-theme="dark"] .theme-card__track-no {
  background: rgba(56, 139, 253, 0.15);
  color: #79B8FF;
  border-color: rgba(56, 139, 253, 0.35);
}

html[data-theme="dark"] .speaker-card-item {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .speaker-card-item:hover {
  border-color: var(--brass);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .speaker-avatar-placeholder {
  background: rgba(56, 139, 253, 0.15);
  color: #79B8FF;
  border-color: #388BFD;
}

html[data-theme="dark"] .badge-keynote {
  background: rgba(56, 139, 253, 0.2);
  color: #79B8FF;
  border-color: rgba(56, 139, 253, 0.45);
}

html[data-theme="dark"] .badge-invited {
  background: rgba(246, 197, 98, 0.15);
  color: #F6C562;
  border-color: rgba(246, 197, 98, 0.35);
}

html[data-theme="dark"] .highlight-date {
  color: #F6C562;
}

html[data-theme="dark"] .timeline-v-item--highlight .timeline-v-marker {
  background: var(--brass);
  box-shadow: 0 0 0 0.1875rem rgba(56, 139, 253, 0.35);
}

html[data-theme="dark"] .partner-item {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .partner-item:hover {
  border-color: var(--brass);
}

html[data-theme="dark"] .partner-badge-text {
  color: var(--ink);
}

html[data-theme="dark"] .about-badge-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .about-feature-item {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .about-feature-item:hover {
  border-color: var(--brass);
}

html[data-theme="dark"] .footer-newsletter .footer-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

html[data-theme="dark"] .card {
  background: #132030;
  border-color: #1F3249;
  color: var(--ink);
}

html[data-theme="dark"] .card ul.plain li,
html[data-theme="dark"] ul.plain li {
  color: var(--ink);
}

html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card h4,
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card p {
  color: var(--ink);
}

html[data-theme="dark"] .card p.text-muted,
html[data-theme="dark"] .card span[style*="color:#64748b"],
html[data-theme="dark"] .card p[style*="color:#64748b"],
html[data-theme="dark"] .card p[style*="color:#475569"] {
  color: var(--muted) !important;
}

html[data-theme="dark"] .gift-why-card {
  background: #132030;
  border-color: #1F3249;
  border-left: 4px solid var(--brass);
}

html[data-theme="dark"] .gift-why-list li {
  color: var(--ink);
}

/* --- Dark Mode Form Inputs & Controls across all views --- */
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="file"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form-control {
  background-color: #0E1825 !important;
  color: #EAF0F8 !important;
  border-color: #243850 !important;
}

html[data-theme="dark"] input[type="text"]::placeholder,
html[data-theme="dark"] input[type="email"]::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] .form-control::placeholder {
  color: #64748B !important;
}

html[data-theme="dark"] input[type="text"]:focus,
html[data-theme="dark"] input[type="email"]:focus,
html[data-theme="dark"] input[type="date"]:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] .form-control:focus {
  background-color: #111D2D !important;
  border-color: var(--brass) !important;
  box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.25) !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] label,
html[data-theme="dark"] .form-label {
  color: #C8D8E8 !important;
}

/* --- Dark Mode Modals (Abstract & Manuscript Upload) --- */
html[data-theme="dark"] .custom-modal__card {
  background: #132030 !important;
  border-color: #243850 !important;
  color: var(--ink) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .custom-modal__card p,
html[data-theme="dark"] .custom-modal__card label {
  color: #CBD5E1 !important;
}

html[data-theme="dark"] #abstract-step-form div[style*="background:#fffbeb"] {
  background: rgba(217, 119, 6, 0.15) !important;
  border-color: rgba(217, 119, 6, 0.4) !important;
}

html[data-theme="dark"] #verified-abstract-presenter-name {
  color: #FDE68A !important;
}

html[data-theme="dark"] #verified-abstract-presenter-id {
  color: #FCD34D !important;
}

html[data-theme="dark"] #upload-step-form div[style*="background:#eff6ff"] {
  background: rgba(30, 64, 175, 0.25) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

html[data-theme="dark"] #verified-presenter-name {
  color: #93C5FD !important;
}

html[data-theme="dark"] #verified-presenter-id {
  color: #BFDBFE !important;
}

html[data-theme="dark"] input[type="file"] {
  background: #0E1825 !important;
  border-color: #243850 !important;
  color: #94A3B8 !important;
}

/* --- Dark Mode Pricing Cards & Tabs (Registration Page) --- */
html[data-theme="dark"] .price-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .price-card:hover {
  border-color: var(--brass);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .price-card__title {
  color: var(--ink);
}

html[data-theme="dark"] .price-card__amount {
  color: #38BDF8;
}

html[data-theme="dark"] .currency-tabs {
  border-color: var(--rule);
}

html[data-theme="dark"] .currency-tabs label {
  background: #132030;
  color: var(--ink-soft);
}

html[data-theme="dark"] #cur-inr:checked ~ .currency-tabs label[for="cur-inr"],
html[data-theme="dark"] #cur-usd:checked ~ .currency-tabs label[for="cur-usd"] {
  background: var(--brass);
  color: #FFFFFF;
}

/* --- Dark Mode Receipt Status Card & Alerts --- */
html[data-theme="dark"] #receipt-status .card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] #receipt-state-unregistered {
  background: #0E1825 !important;
  border-color: #243850 !important;
  color: #94A3B8 !important;
}

html[data-theme="dark"] #receipt-state-pending {
  background: rgba(180, 83, 9, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

html[data-theme="dark"] #receipt-state-pending h4,
html[data-theme="dark"] #pending-delegate-name {
  color: #FDE68A !important;
}

html[data-theme="dark"] #receipt-state-pending p {
  color: #FCD34D !important;
}

html[data-theme="dark"] #receipt-state-approved {
  background: rgba(22, 163, 74, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

html[data-theme="dark"] #receipt-state-approved h4,
html[data-theme="dark"] #approved-delegate-name {
  color: #BBF7D0 !important;
}

html[data-theme="dark"] #receipt-state-approved p {
  color: #86EFAC !important;
}

html[data-theme="dark"] #receipt-state-error {
  background: rgba(220, 38, 38, 0.15) !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
  color: #FCA5A5 !important;
}

/* --- Step Guide & Includes in Registration --- */
html[data-theme="dark"] .step-guide__circle {
  background: #132030;
  border-color: var(--brass);
  color: var(--ink);
}

html[data-theme="dark"] .step-guide__item h3 {
  color: var(--ink);
}

html[data-theme="dark"] .step-guide__item p {
  color: var(--muted);
}

html[data-theme="dark"] .includes-item h3 {
  color: var(--ink);
}

html[data-theme="dark"] .includes-item p {
  color: var(--muted);
}

html[data-theme="dark"] .qr-box {
  background: #132030;
  border-color: #1F3249;
  color: var(--ink);
}

html[data-theme="dark"] .qr-box__frame {
  border-color: #243850;
  color: var(--muted);
}

/* --- Tracks & Timeline (Call for Papers & Important Dates) --- */
html[data-theme="dark"] .track {
  border-top-color: var(--rule);
}

html[data-theme="dark"] .track__num {
  color: var(--brass);
}

html[data-theme="dark"] .track__title {
  color: var(--ink);
}

html[data-theme="dark"] .track__list {
  color: var(--ink-soft);
}

html[data-theme="dark"] .timeline {
  border-left-color: var(--rule);
}

html[data-theme="dark"] .timeline__item::before {
  background: #132030;
  border-color: var(--brass);
}

html[data-theme="dark"] .timeline__item strong {
  color: var(--ink);
}

html[data-theme="dark"] .timeline__date {
  color: var(--teal);
}

/* --- FAQ Accordions --- */
html[data-theme="dark"] .faq-item {
  border-bottom-color: var(--rule);
}

html[data-theme="dark"] .faq-item summary {
  color: var(--ink);
}

html[data-theme="dark"] .faq-item p {
  color: var(--ink-soft);
}

/* --- Tables & Data Strips --- */
html[data-theme="dark"] table.data {
  background: #132030;
  color: var(--ink);
}

html[data-theme="dark"] table.data th {
  color: var(--muted);
  border-bottom-color: var(--rule);
  background: #0E1825;
}

html[data-theme="dark"] table.data td {
  border-bottom-color: var(--rule-soft);
  color: var(--ink);
}

html[data-theme="dark"] .table-wrap {
  border-color: var(--rule);
}

/* --- Subpages Components (About, Contact, Committees, Speakers, Downloads, Programme) --- */
html[data-theme="dark"] .about-intro-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .participant-card {
  background: #132030;
  border-color: #1F3249;
  color: var(--ink);
}

html[data-theme="dark"] .participant-icon,
html[data-theme="dark"] .venue-icon,
html[data-theme="dark"] .committee-icon,
html[data-theme="dark"] .partner-cta-icon,
html[data-theme="dark"] .programme-day-num {
  background: rgba(56, 139, 253, 0.15) !important;
  color: #79B8FF !important;
}

html[data-theme="dark"] .helpline-card {
  background: #0E1825 !important;
  border-color: #1F3249 !important;
}

html[data-theme="dark"] .speaker-box-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .speaker-avatar-circle {
  background: #0E1825;
  border: 2px dashed #243850;
  color: var(--muted);
}

html[data-theme="dark"] .topic-focus-box {
  background: #0E1825;
  border-color: #1F3249;
}

html[data-theme="dark"] .notice-banner-box,
html[data-theme="dark"] .partner-cta-card,
html[data-theme="dark"] .downloads-cta-card,
html[data-theme="dark"] .programme-cta-box {
  background: #0E1825 !important;
  border-color: #1F3249 !important;
}

html[data-theme="dark"] .partner-package-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .committee-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .committee-member-item {
  background: #0E1825;
  border: 1px solid #1F3249;
  color: var(--ink);
}

html[data-theme="dark"] .committee-pending-notice {
  background: #0E1825;
  border-color: #1F3249;
}

html[data-theme="dark"] .download-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .download-icon {
  background: rgba(56, 139, 253, 0.15) !important;
}

html[data-theme="dark"] .download-action-btn {
  background: #0E1825;
  border-color: #243850;
  color: var(--ink);
}

html[data-theme="dark"] .download-action-btn:hover {
  background: #192738;
  border-color: var(--brass);
  color: #FFFFFF;
}

html[data-theme="dark"] .programme-day-card {
  background: #132030;
  border-color: #1F3249;
}

html[data-theme="dark"] .programme-events-badge {
  background: #0E1825;
  color: var(--muted);
  border: 1px solid #1F3249;
}

/* --- Ghost Buttons in Dark Mode --- */
html[data-theme="dark"] .btn--ghost {
  background: #132030;
  color: var(--ink);
  border-color: #243850;
}

html[data-theme="dark"] .btn--ghost:hover {
  background: #1C2D42;
  border-color: var(--brass);
  color: #FFFFFF;
}

/* --- Smooth transition on theme change -------------------------------- */
html:not([data-theme]) body,
html[data-theme] body {
  transition: background 0.35s ease, color 0.35s ease;
}

.site-header,
.site-footer,
.action-card,
.card,
.spec-plate,
.countdown__cell,
.price-card,
.qr-box,
table.data,
.logo-strip__item {
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .theme-toggle,
  .site-header,
  .site-footer,
  .action-card,
  .card,
  .spec-plate,
  .countdown__cell,
  .price-card,
  .qr-box,
  table.data,
  .logo-strip__item,
  html[data-theme] body {
    transition: none !important;
  }
}

/* Buttons & Utilities */
.btn--cta {
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.375rem;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.25rem 0.875rem rgba(21, 101, 192, 0.4);
  transition: all 0.25s ease;
}

.btn--cta:hover {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1.125rem rgba(21, 101, 192, 0.55);
  color: #FFFFFF;
}

.btn--secondary-cta {
  background: rgba(13, 71, 161, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(144, 202, 249, 0.35);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.375rem;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(0.25rem);
  -webkit-backdrop-filter: blur(0.25rem);
  transition: all 0.25s ease;
}

.btn--secondary-cta:hover {
  background: rgba(21, 101, 192, 0.9);
  border-color: rgba(144, 202, 249, 0.65);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
}

.btn--ghost-white {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  backdrop-filter: blur(0.375rem);
  -webkit-backdrop-filter: blur(0.375rem);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
}

.btn--outline-primary {
  background: transparent;
  color: var(--brass);
  border: 1px solid var(--brass);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5625rem 1.25rem;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--outline-primary:hover {
  background: var(--brass);
  color: #fff;
}

.btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.82rem;
}

.text-primary {
  color: var(--brass) !important;
}

.highlight-text {
  color: #F8B84E;
  font-weight: 700;
}

/* 1. HERO PORTAL (2-Column Banner with College Campus Visual) */
.hero-portal {
  position: relative;
  background: url('../images/hero-bg.jpg') center 45% / cover no-repeat;
  color: #fff;
  padding: 4.5rem 0 3.75rem;
  overflow: hidden;
}

.hero-portal__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 25, 47, 0.96) 0%,
      rgba(10, 25, 47, 0.91) 48%,
      rgba(10, 25, 47, 0.42) 75%,
      rgba(10, 25, 47, 0.12) 100%);
  z-index: 1;
}

.hero-portal__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: flex-end;
  gap: 3rem;
}

.hero-portal__eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #90CAF9;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.hero-portal__title {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 900;
  font-family: var(--font-body);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 0.875rem 0;
  color: #FFFFFF;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.4);
}

.hero-portal__year {
  color: #F6C562;
  background: linear-gradient(135deg, #FAD982 0%, #E5A836 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-portal__subheading {
  font-size: 1.15rem;
  color: #E3EDF7;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
  max-width: 54ch;
  font-weight: 400;
  text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.5);
}

.hero-portal__subheading .highlight-text {
  color: #F6C562;
  font-weight: 700;
}

.hero-portal__meta-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: #E1ECF7;
  margin-bottom: 1rem;
  background: rgba(10, 25, 47, 0.75);
  padding: 0.625rem 1.125rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  border: 1px solid rgba(144, 202, 249, 0.25);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.25);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-portal__meta-strip .meta-item i {
  color: #64B5F6;
}

.hero-portal__theme-note {
  font-size: 0.95rem;
  color: #CFE0F2;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.5);
}

.hero-portal__theme-note i {
  color: #F6C562;
}

.hero-portal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-portal__col-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.875rem;
  margin-top: 0;
  padding-bottom: 1.5rem;
}

.hero-portal__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: #F8D98C;
  text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 25, 47, 0.65);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(248, 217, 140, 0.3);
  backdrop-filter: blur(0.375rem);
}

/* Countdown Card */
.countdown-card {
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border: 1px solid rgba(144, 202, 249, 0.28);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
  text-align: center;
}

.countdown-card--hero-left {
  max-width: 25rem;
  margin-top: 0.5rem;
}

.countdown-card__header {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.5rem;
}

.countdown-card__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #90CAF9;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.countdown-card__timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.countdown-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: #90CAF9;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* 2. PILLARS / HIGHLIGHT RIBBON */
.pillars-ribbon {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.03);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  text-align: center;
}

.pillar-box {
  padding: 0.75rem 0.375rem;
  transition: transform 0.2s;
}

.pillar-box:hover {
  transform: translateY(-0.1875rem);
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.pillar-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1875rem;
}

/* 3. ABOUT SECTION WITH INSTITUTIONAL SHOWCASE */
.block--about {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr;
  gap: 2.25rem;
  align-items: center;
}

.about-visual-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
}

.about-visual-img {
  height: 18.125rem;
  background-size: cover;
  background-position: right center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.about-visual-watermark {
  background: rgba(14, 38, 29, 0.8);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.1875rem;
  backdrop-filter: blur(0.25rem);
}

.about-badge-card {
  background: var(--paper-raised);
  padding: 1rem;
  border: 1px solid var(--rule);
  border-top: none;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.about-badge-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(30, 126, 86, 0.12);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.about-badge-sub {
  font-size: 0.8rem;
  color: var(--brass);
  font-weight: 600;
}

.section-title-wrap {
  margin-bottom: 1.125rem;
}

.section-heading {
  font-size: 2rem;
  color: var(--ink);
  margin-top: 0.25rem;
}

.about-content-col p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 0.875rem;
}

.about-pillars-col {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  background: var(--paper-raised);
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
}

.about-feature-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(30, 126, 86, 0.1);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.about-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.1875rem;
  color: var(--ink);
}

.about-feature-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* 4. THEMES & TRACKS GRID */
.block--tinted {
  background: rgba(30, 126, 86, 0.03);
}

.section-desc {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.375rem;
}

.themes-grid--5 {
  grid-template-columns: repeat(3, 1fr);
}

.themes-grid--5 .theme-card:nth-child(4),
.themes-grid--5 .theme-card:nth-child(5) {
  /* balanced 3 + 2 layout */
}

.theme-card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.theme-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.06);
  border-color: var(--brass);
}

.theme-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(30, 126, 86, 0.1);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.875rem;
}

.theme-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.theme-card__desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.5;
}

.theme-card__track-no {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brass);
  background: rgba(30, 126, 86, 0.08);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(30, 126, 86, 0.2);
}

/* 5. DATES & SPEAKERS DUAL SECTION */
.dates-speakers-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.timeline-visual {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rule);
  gap: 1.25rem;
  margin-top: 1rem;
}

.timeline-v-item {
  position: relative;
}

.timeline-v-marker {
  position: absolute;
  left: -1.6875rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 2px solid var(--brass);
}

.timeline-v-item--highlight .timeline-v-marker {
  background: var(--brass);
  box-shadow: 0 0 0 0.1875rem rgba(30, 126, 86, 0.25);
}

.timeline-v-date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brass-dark);
  display: block;
}

.timeline-v-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0.125rem 0 0;
  color: var(--ink);
}

.highlight-date {
  color: #C1892E;
  font-weight: 700;
}

.highlight-title {
  color: var(--brass-dark);
}

/* Speakers grid */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.125rem;
  margin-top: 1rem;
}

.speaker-card-item {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  padding: 1.125rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.speaker-card-item:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.05);
}

.speaker-avatar-wrap {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.75rem;
}

.speaker-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(30, 126, 86, 0.1);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--brass);
}

.speaker-item-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.speaker-item-affil {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  line-height: 1.35;
}

.badge-speaker-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1875rem 0.625rem;
  border-radius: 0.75rem;
}

.badge-keynote {
  background: rgba(30, 126, 86, 0.12);
  color: var(--brass-dark);
  border: 1px solid rgba(30, 126, 86, 0.3);
}

.badge-invited {
  background: rgba(193, 137, 46, 0.12);
  color: #9C6D22;
  border: 1px solid rgba(193, 137, 46, 0.3);
}

.speakers-note {
  margin-top: 1.125rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 6. GREEN CALL-TO-ACTION BANNER */
.banner-cta {
  position: relative;
  background: url('../images/engineering-banner.jpg') center / cover no-repeat;
  color: #fff;
  padding: 3.75rem 0;
  margin: 2.5rem 0;
  overflow: hidden;
}

.banner-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 25, 47, 0.94) 0%,
      rgba(10, 25, 47, 0.85) 55%,
      rgba(10, 25, 47, 0.45) 100%);
  z-index: 1;
}

.banner-cta__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.banner-cta__kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #90CAF9;
  display: block;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
}

.banner-cta__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.625rem;
}

.banner-cta__desc {
  font-size: 1rem;
  color: #E2ECF7;
  max-width: 58ch;
  margin-bottom: 1.25rem;
}

.banner-cta__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.banner-cta__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(0.5rem);
  color: #F8D98C;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.banner-cta__badge i {
  font-size: 2rem;
  color: #90CAF9;
}

.gift-why-card {
  padding: 1.5rem;
  border-left: 4px solid var(--brass);
  background: var(--paper-raised);
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
}

.gift-why-title {
  margin: 0 0 0.875rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gift-why-list {
  margin: 0;
  padding: 0;
}

.gift-why-list li {
  margin-bottom: 0.625rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--ink);
  font-size: 0.925rem;
  line-height: 1.45;
}

.gift-why-list li:last-child {
  margin-bottom: 0;
}

.gift-why-list li i {
  color: var(--brass);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* 7. PARTNERS & COLLABORATIONS STRIP */
.partners-logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.partner-item {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  padding: 1.125rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 6rem;
  transition: transform 0.2s, border-color 0.2s;
}

.partner-item:hover {
  transform: translateY(-0.125rem);
  border-color: var(--brass);
}

.partner-logo-img {
  height: 2.5rem;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.375rem;
}

.partner-badge-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.partner-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-portal__container {
    gap: 2rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .about-pillars-col {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .about-pillars-col h4:first-child {
    grid-column: span 2;
  }

  .themes-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-portal {
    padding: 3.5rem 0 3rem;
  }

  .hero-portal__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-portal__col-side {
    align-items: flex-start;
    padding-bottom: 0;
  }

  .hero-portal__motto {
    font-size: 1.15rem;
  }

  .countdown-card--hero-left {
    max-width: 100%;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .about-pillars-col h4:first-child {
    grid-column: span 1;
  }

  .dates-speakers-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .banner-cta__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-cta__badge {
    width: 100%;
    align-items: center;
  }

  .partners-logo-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-portal {
    padding: 2.75rem 0 2.25rem;
  }

  .hero-portal__title {
    font-size: 2.4rem;
  }

  .hero-portal__subheading {
    font-size: 1.05rem;
  }

  .hero-portal__meta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-portal__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.625rem;
  }

  .hero-portal__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .countdown-card {
    padding: 0.875rem 1rem;
  }

  .countdown-card__timer {
    gap: 0.5rem;
  }

  .countdown-num {
    font-size: 1.4rem;
  }

  .countdown-label {
    font-size: 0.625rem;
  }

  .pillars-ribbon {
    padding: 1.25rem 0;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .pillar-box {
    padding: 0.5rem;
  }

  .themes-grid,
  .themes-grid--5 {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .partners-logo-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .footer-nav-list {
    grid-template-columns: 1fr;
  }

  .footer-phone-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__legal-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-portal__title {
    font-size: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .countdown-card__timer {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
  }

  .countdown-num {
    font-size: 1.25rem;
  }

  .partner-item {
    padding: 0.75rem 0.5rem;
    min-height: 5rem;
  }

  .partner-badge-text {
    font-size: 1.1rem;
  }
}