:root {
  --bg-ground: #E8F8F5;
  --bg-sheet: #FFFFFF;
  --bg-subtle: #F2FAF7;
  --bg-tint: #DCF2EC;
  --bg-deep: #063E2E;
  --bg-deep-elevated: #0A523D;

  --ink-primary: #0C1D17;
  --ink-secondary: #284239;
  --ink-on-dark: #F2FAF7;
  --ink-mint-light: #A7F3D0;

  --brand-blue: #1D4ED8;
  --brand-green: #066930;
  --accent-cta: #B93800;
  --accent-cta-hover: #962D00;

  --shadow-dropdown: 0 22px 46px -10px rgba(4, 38, 28, 0.32), 0 4px 12px -2px rgba(4, 38, 28, 0.16);
  --shadow-hover: 0 14px 28px -10px rgba(6, 62, 46, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans Thai', sans-serif;
  --font-body: 'Public Sans', 'IBM Plex Sans Thai', sans-serif;

  --step-small: 0.9375rem;
  --step-body: 1.0625rem;
  --step-lead: 1.25rem;
  --step-head: 2.125rem;
  --step-hero: clamp(2.375rem, 3.6vw, 3.25rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: var(--brand-green);
  color: #FFFFFF;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--brand-green) var(--bg-ground);
}

body {
  background-color: var(--bg-ground);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 180ms var(--ease-out-expo), background-color 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo), box-shadow 180ms var(--ease-out-expo);
}

a:hover {
  color: var(--brand-green);
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--brand-blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   FRAME & STACKING ARCHITECTURE (Fixes Dropdown Clipping)
   ========================================================= */
.page-ground {
  position: relative;
  min-height: 100svh;
  background-color: var(--bg-ground);
}

.frame {
  width: min(1320px, 100%);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1000;
  background-color: var(--bg-sheet);
}

.main-stage {
  position: relative;
  z-index: 1;
  background-color: var(--bg-ground);
  padding: 0 24px 96px;
}

/* Scroll margin for deep-linked sections */
#home-dates,
#home-themes,
#home-venue,
#about-kmutnb,
#about-technopark,
#reg-fees,
#reg-policies,
#reg-payment,
#reg-submission,
#reg-visa {
  scroll-margin-top: 32px;
}

/* =========================================================
   TOP UTILITY STRIP & NAVIGATION BAND
   ========================================================= */
.utility-strip {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: 10px 24px;
  font-size: var(--step-small);
}

.utility-inner,
.nav-inner,
.footer-inner {
  padding-inline: clamp(24px, 3vw, 40px);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.utility-host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: var(--step-small);
  line-height: 1.4;
}

.utility-host strong {
  color: #FFFFFF;
  font-weight: 600;
}

.utility-host span {
  color: #CBEFE3;
}

.utility-divider {
  opacity: 0.55;
}

.utility-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-deep-elevated);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--step-small);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #E6F7F2;
}

.clock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34D399;
}

.nav-band {
  background-color: var(--bg-sheet);
  padding: 12px 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-primary);
  max-width: 100%;
}

.brand-mark:hover {
  color: var(--ink-primary);
}

.brand-logo {
  width: 82px;
  height: auto;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-edition {
  font-size: var(--step-small);
  color: var(--brand-green);
  font-weight: 600;
}

.brand-date {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.tab-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  background-color: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
}

.tab-list > li {
  position: relative;
}

.tab-btn {
  appearance: none;
  border: 0;
  background-color: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 7px 9px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out-expo), color 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo);
}

.tab-btn:hover {
  background-color: var(--bg-tint);
  color: var(--brand-green);
}

.tab-btn.is-active {
  background-color: var(--brand-green);
  color: #FFFFFF;
}

.nav-chevron {
  transition: transform 200ms var(--ease-out-expo);
  opacity: 0.85;
}

.has-subnav:hover .nav-chevron,
.has-subnav:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Subnav dropdown for About and Registration — Elevated above everything */
@keyframes dropdownReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subnav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  background-color: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1200;
  box-shadow: var(--shadow-dropdown); /* taste-skill-ignore: floating dropdown menu */
}

/* Invisible hover bridge so moving cursor from tab to menu never loses :hover */
.subnav-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.has-subnav:not(.is-dropdown-closed):hover .subnav-menu,
.has-subnav:not(.is-dropdown-closed):focus-within .subnav-menu {
  display: flex;
  animation: dropdownReveal 160ms var(--ease-out-expo) both;
}

.subnav-menu a {
  color: var(--ink-on-dark);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 150ms var(--ease-out-expo), transform 150ms var(--ease-out-expo);
}

.subnav-menu a strong {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: #FFFFFF;
}

.subnav-menu a span {
  font-size: var(--step-small);
  color: #B4E4D3;
}

.subnav-menu a:hover,
.subnav-menu a:focus-visible {
  background-color: var(--brand-green);
  color: #FFFFFF;
  transform: translateX(2px);
}

.subnav-menu a:hover span,
.subnav-menu a:focus-visible span {
  color: #ECFDF5;
}

/* =========================================================
   BUTTONS & ACTIONS
   ========================================================= */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-cta);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 12px 22px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 0;
  transition: background-color 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo), box-shadow 180ms var(--ease-out-expo);
}

.nav-cta-wrap .btn-action {
  padding: 9px 15px;
  min-height: 40px;
  font-size: var(--step-small);
  white-space: nowrap;
}

.btn-action:hover {
  background-color: var(--accent-cta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-action:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-tint);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 0;
  transition: background-color 180ms var(--ease-out-expo), color 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo);
}

.btn-secondary:hover {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* =========================================================
   ARCHITECTURAL CARDS & SECTIONS
   ========================================================= */
.section-block {
  padding-top: 72px;
}

.hero-section {
  padding-top: 32px;
}

.dossier-sheet {
  background-color: var(--bg-sheet);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  position: relative;
}

.tab-panel[hidden] {
  display: none !important;
}

/* =========================================================
   TYPOGRAPHY & HEADINGS (Max 2 lines at every viewport)
   ========================================================= */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.hero-title {
  font-size: var(--step-hero);
  color: var(--brand-blue);
  margin-bottom: 18px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading {
  font-size: var(--step-head);
  color: var(--brand-green);
  margin-bottom: 12px;
}

.section-intro {
  font-size: var(--step-lead);
  color: var(--ink-secondary);
  margin-bottom: 24px;
  max-width: 65ch;
  line-height: 1.5;
}

.editorial-body {
  font-size: var(--step-body);
  color: var(--ink-secondary);
  line-height: 1.72;
  max-width: 72ch;
}

/* =========================================================
   HERO LAYOUT
   ========================================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(24px, 3.2vw, 42px);
  align-items: stretch;
}

.hero-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-lead {
  font-size: var(--step-lead);
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 60ch;
}

.hero-lead strong {
  color: var(--ink-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

/* Live Countdown Module */
.countdown-panel {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

.countdown-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: var(--step-small);
}

.countdown-head strong {
  font-family: var(--font-display);
  color: #FFFFFF;
}

.countdown-head span {
  color: var(--ink-mint-light);
  font-weight: 500;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown-cell {
  background-color: var(--bg-deep-elevated);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.countdown-cell strong {
  font-family: var(--font-display);
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.countdown-cell span {
  font-size: var(--step-small);
  font-weight: 500;
  color: #CBEFE3;
}

/* Right Column of Hero: Honorary Chair & Host Strip */
.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.chair-feature-card {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}

.chair-photo-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chair-portrait {
  width: 160px;
  height: 192px;
  object-fit: cover;
  object-position: top center;
  background-color: #FFFFFF;
  padding: 5px;
  border-radius: var(--radius-sm);
}

.chair-badge-strip {
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  width: 100%;
  text-align: center;
}

.chair-name {
  font-size: var(--step-lead);
  color: var(--ink-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.chair-former {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: var(--step-small);
  margin-bottom: 10px;
}

.chair-affiliations {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--step-small);
  color: var(--ink-secondary);
  line-height: 1.45;
}

.chair-affiliations li {
  position: relative;
  padding-left: 12px;
}

.chair-affiliations li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--brand-green);
}

.host-visual-strip {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 16px;
  align-items: center;
}

.host-thumb {
  width: 184px;
  height: 122px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.host-visual-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--step-small);
  color: var(--ink-secondary);
  line-height: 1.45;
}

.tp-mini-logo {
  width: 72px;
  height: 84px;
  object-fit: contain;
  background-color: #FFFFFF;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* =========================================================
   SPLIT GRIDS, TABLES & PORTALS
   ========================================================= */
.split-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

.dossier-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--step-body);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dossier-table th {
  text-align: left;
  background-color: var(--bg-deep);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 14px 18px;
}

.dossier-table td {
  padding: 14px 18px;
  vertical-align: top;
  background-color: var(--bg-subtle);
  border-bottom: 2px solid var(--bg-sheet);
}

.dossier-table tbody tr:last-child td {
  border-bottom: 0;
}

.dossier-table tbody tr.is-highlight-row td {
  background-color: var(--bg-tint);
  color: var(--brand-green);
  font-weight: 600;
}

.dossier-table td strong {
  font-variant-numeric: tabular-nums;
}

/* Portals & TBA Status */
.portal-stack {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.portal-item {
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.portal-item:last-child {
  grid-column: 1 / -1;
  background-color: var(--bg-sheet);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.portal-item h3 {
  font-size: var(--step-body);
  color: var(--ink-primary);
}

.tba-notice,
.status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background-color: var(--bg-tint);
  color: var(--brand-green);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-small);
  padding: 6px 14px;
}

.inline-link {
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   15 CONFERENCE THEMES EXPLORER
   ========================================================= */
.themes-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.themes-header-row .section-intro {
  margin-bottom: 0;
}

.themes-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(100%, 480px);
}

.theme-search-input {
  width: 100%;
  background-color: var(--bg-subtle);
  border: 2px solid var(--bg-tint);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: var(--step-small);
  color: var(--ink-primary);
  transition: border-color 180ms var(--ease-out-expo), background-color 180ms var(--ease-out-expo);
}

.theme-search-input:focus {
  background-color: #FFFFFF;
  border-color: var(--brand-blue);
  outline: none;
}

.cluster-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cluster-btn {
  appearance: none;
  border: 0;
  background-color: var(--bg-subtle);
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-small);
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out-expo), color 160ms var(--ease-out-expo);
}

.cluster-btn:hover {
  background-color: var(--bg-tint);
  color: var(--brand-green);
}

.cluster-btn.is-active {
  background-color: var(--brand-blue);
  color: #FFFFFF;
}

.themes-grid {
  list-style: none;
  counter-reset: theme-counter;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.theme-card {
  counter-increment: theme-counter;
  background-color: transparent;
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  font-weight: 500;
  font-size: var(--step-body);
  color: var(--ink-primary);
  line-height: 1.48;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 180ms var(--ease-out-expo), background-color 180ms var(--ease-out-expo);
}

.theme-card::before {
  content: counter(theme-counter);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-small);
  color: var(--brand-green);
  background-color: var(--bg-tint);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}

.theme-card:hover {
  transform: translateY(-2px);
  background-color: var(--bg-sheet);
}

.theme-card[hidden] {
  display: none !important;
}

.theme-empty {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  margin-top: 16px;
}

.theme-empty p {
  margin-bottom: 12px;
  font-weight: 600;
}

/* =========================================================
   VENUE & HOST PREVIEW
   ========================================================= */
.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.map-embed-wrap {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.host-ranking-preview {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  margin-bottom: 16px;
}

.impact-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.chair-preview-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.chair-mini-avatar {
  width: 160px;
  height: 132px;
  object-fit: cover;
  object-position: top center;
  background-color: #FFFFFF;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.chair-preview-row strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.chair-preview-row p {
  font-size: var(--step-small);
  color: var(--ink-secondary);
  line-height: 1.45;
}

.host-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================
   SUBTAB PILLS (ABOUT & REGISTRATION)
   ========================================================= */
.subtab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  background-color: var(--bg-sheet);
  padding: 8px;
  border-radius: var(--radius-md);
}

.subtab-pill {
  background-color: var(--bg-subtle);
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
}

.subtab-pill:hover,
.subtab-pill.is-active {
  background-color: var(--brand-green);
  color: #FFFFFF;
}

/* =========================================================
   TAB 2: ABOUT (KMUTNB & TECHNO PARK)
   ========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
}

.media-figure {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.media-figure img {
  border-radius: var(--radius-sm);
}

.media-figure figcaption {
  font-size: var(--step-small);
  color: var(--ink-secondary);
  margin-top: 10px;
  line-height: 1.45;
}

.techno-media-pair {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.logo-figure img {
  max-width: 210px;
  margin-inline: auto;
}

/* =========================================================
   TAB 3: COMMITTEES
   ========================================================= */
.leadership-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.leader-profile-card {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
}

.leader-photo {
  width: 148px;
  height: 184px;
  object-fit: cover;
  object-position: top center;
  background-color: #FFFFFF;
  padding: 5px;
  border-radius: var(--radius-sm);
}

.role-tag {
  display: inline-block;
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.leader-info h3 {
  font-size: var(--step-lead);
  margin-bottom: 6px;
}

.leader-note {
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.committee-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.roster-group {
  margin-bottom: 24px;
}

.roster-group:last-child {
  margin-bottom: 0;
}

.roster-group h3 {
  font-size: var(--step-body);
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.member-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member-list li {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--step-body);
}

/* =========================================================
   TAB 4: DISTINGUISHED SPEAKERS
   ========================================================= */
.speakers-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.speaker-roster-box {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.speaker-roster-box h3 {
  font-size: var(--step-lead);
  margin-bottom: 14px;
}

/* =========================================================
   TAB 5: REGISTRATION & FEE ESTIMATOR
   ========================================================= */
.fees-table td p {
  font-size: var(--step-small);
  color: var(--ink-secondary);
  margin-top: 4px;
}

.fee-amount {
  white-space: nowrap;
  color: var(--brand-green);
  font-size: var(--step-body);
  font-variant-numeric: tabular-nums;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-small);
  color: var(--ink-primary);
}

.calc-field select {
  background-color: var(--bg-subtle);
  border: 2px solid var(--bg-tint);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
}

.calc-result {
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: 22px;
  border-radius: var(--radius-md);
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.calc-total-row strong {
  font-family: var(--font-display);
  font-size: var(--step-head);
  color: var(--ink-mint-light);
  font-variant-numeric: tabular-nums;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-row {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
}

.policy-row dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.reg-subblock {
  margin-bottom: 24px;
}

.reg-subblock:last-child {
  margin-bottom: 0;
}

/* =========================================================
   TAB 6: PUBLICATIONS
   ========================================================= */
.pub-note {
  margin-top: 16px;
  display: inline-block;
  background-color: var(--bg-tint);
  color: var(--brand-green);
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 10px 16px;
}

.journal-card {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.journal-card h3 {
  font-size: var(--step-head);
  margin-bottom: 10px;
}

.journal-card p {
  margin-bottom: 20px;
  color: var(--ink-secondary);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--bg-deep);
  color: var(--ink-on-dark);
  padding: 48px 24px 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
}

.footer-logo {
  background-color: #FFFFFF;
  padding: 8px 10px;
  width: 176px;
  height: 112px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.footer-org {
  font-size: var(--step-body);
  color: #D1FAE5;
  line-height: 1.55;
}

.footer-org strong {
  color: #FFFFFF;
}

.footer-contact {
  text-align: right;
}

.footer-contact h2 {
  font-size: var(--step-lead);
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-contact p {
  font-size: var(--step-body);
  color: #D1FAE5;
}

.footer-contact a {
  color: var(--ink-mint-light);
  font-weight: 600;
}

.footer-contact a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-head);
  line-height: 1;
  color: var(--ink-mint-light);
  letter-spacing: -0.02em;
  user-select: none;
}

/* =========================================================
   MOTION & RESPONSIVE BREAKPOINTS
   ========================================================= */
@keyframes sheetEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .is-entering {
    animation: sheetEnter 420ms var(--ease-out-expo) both;
  }
}

@media (max-width: 1120px) {
  .footer-contact {
    text-align: left;
  }

  .hero-grid,
  .split-dossier-grid,
  .about-layout,
  .leadership-duo-grid,
  .committee-columns-grid,
  .speakers-split-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .utility-strip,
  .nav-band,
  .main-stage,
  .site-footer {
    padding-inline: 16px;
  }

  .utility-inner,
  .nav-inner,
  .footer-inner {
    padding-inline: 14px;
  }

  .utility-divider {
    display: none;
  }

  .section-block {
    padding-top: 48px;
  }

  .dossier-sheet {
    padding: 20px 14px;
  }

  .hero-title {
    font-size: 27px;
    font-variation-settings: "wdth" 75;
    letter-spacing: -0.04em;
  }

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

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

  .chair-feature-card,
  .host-visual-strip,
  .chair-preview-row,
  .leader-profile-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
