/* Art direction: Academic workshop for FL + Digital Twins at ACM MobiHoc 2026, Tokyo
   Palette: deep navy/blue-indigo academic tone, soft warm whites, teal accent for CTAs
   Typography: Instrument Serif (display) + Inter (body) — authoritative yet readable
   Density: balanced — generous hero, compact sections */

/* ===== DESIGN TOKENS ===== */
:root, [data-theme="light"] {
  --color-bg:              #f8f9fc;
  --color-surface:         #ffffff;
  --color-surface-2:       #f3f5f9;
  --color-surface-offset:  #eaecf2;
  --color-surface-dynamic: #e1e4ed;
  --color-divider:         #d8dce8;
  --color-border:          #cdd2e0;

  --color-text:            #1a1d2e;
  --color-text-muted:      #5a6075;
  --color-text-faint:      #9fa4b8;
  --color-text-inverse:    #f8f9fc;

  --color-primary:         #1a56db;
  --color-primary-hover:   #1346c2;
  --color-primary-active:  #0d35a0;
  --color-primary-highlight: #dce8ff;

  --color-accent:          #0891b2;
  --color-accent-hover:    #0779a1;
  --color-accent-highlight: #cff0fb;

  --color-navy:            #1e2a4a;
  --color-navy-dark:       #131b33;

  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px oklch(0.2 0.03 255 / 0.08);
  --shadow-md:  0 4px 16px oklch(0.2 0.03 255 / 0.10);
  --shadow-lg:  0 12px 40px oklch(0.2 0.03 255 / 0.14);

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.5rem,   1.2rem  + 3.5vw,  4.5rem);

  --content-narrow:  680px;
  --content-default: 960px;
  --content-wide:    1200px;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
  --color-bg:              #0e1117;
  --color-surface:         #141820;
  --color-surface-2:       #1a1f2c;
  --color-surface-offset:  #1f2435;
  --color-surface-dynamic: #262d40;
  --color-divider:         #2c3450;
  --color-border:          #343d58;
  --color-text:            #e2e6f0;
  --color-text-muted:      #8892a8;
  --color-text-faint:      #505870;
  --color-text-inverse:    #0e1117;
  --color-primary:         #5b8df8;
  --color-primary-hover:   #4a78e8;
  --color-primary-active:  #3a63d8;
  --color-primary-highlight: #1a2a50;
  --color-accent:          #38bdf8;
  --color-accent-hover:    #0ea5e9;
  --color-accent-highlight: #0c2d3e;
  --color-navy:            #c8d3f0;
  --color-navy-dark:       #e2e6f0;
  --shadow-sm:  0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md:  0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg:  0 12px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0e1117;
    --color-surface:         #141820;
    --color-surface-2:       #1a1f2c;
    --color-surface-offset:  #1f2435;
    --color-surface-dynamic: #262d40;
    --color-divider:         #2c3450;
    --color-border:          #343d58;
    --color-text:            #e2e6f0;
    --color-text-muted:      #8892a8;
    --color-text-faint:      #505870;
    --color-text-inverse:    #0e1117;
    --color-primary:         #5b8df8;
    --color-primary-hover:   #4a78e8;
    --color-primary-active:  #3a63d8;
    --color-primary-highlight: #1a2a50;
    --color-accent:          #38bdf8;
    --color-accent-hover:    #0ea5e9;
    --color-accent-highlight: #0c2d3e;
    --shadow-sm:  0 1px 3px oklch(0 0 0 / 0.3);
    --shadow-md:  0 4px 16px oklch(0 0 0 / 0.4);
    --shadow-lg:  0 12px 40px oklch(0 0 0 / 0.5);
  }
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img, video { display: block; max-width: 100%; height: auto; }
ul[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.2; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }
::selection { background: var(--color-primary-highlight); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.skip-link { position: absolute; left: -9999px; top: var(--space-4); }
.skip-link:focus { left: var(--space-4); z-index: 999; background: var(--color-primary); color: white; padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); }

/* ===== LAYOUT ===== */
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.container-narrow { max-width: var(--content-default); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section-alt { background: var(--color-surface-2); }

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--color-text); text-decoration: none;
  font-weight: 700; font-size: var(--text-sm);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--color-text); }
.nav-logo-img { border-radius: var(--radius-md); width: 36px; height: 36px; object-fit: cover; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.1rem; }
.accent { color: var(--color-primary); }
.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: var(--space-1);
  margin-left: auto;
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav-cta {
  background: var(--color-primary) !important;
  color: white !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-primary-hover) !important; color: white !important; }
.theme-toggle {
  margin-left: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  display: flex; align-items: center;
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/banner.png');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.1 0.04 255 / 0.55) 0%,
    oklch(0.1 0.04 255 / 0.70) 50%,
    oklch(0.08 0.03 255 / 0.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  max-width: 900px;
  color: white;
  animation: fadeUp 0.8s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: oklch(1 0 0 / 0.18);
  border: 1px solid oklch(1 0 0 / 0.3);
  backdrop-filter: blur(8px);
  color: oklch(0.95 0.01 255);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--space-4);
}
.hero-subtitle-italic { font-style: italic; color: oklch(0.9 0.02 200); }
.hero-acronym {
  font-size: var(--text-xl);
  font-weight: 700;
  color: oklch(0.85 0.12 220);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}
.hero-location {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: oklch(0.85 0.02 220);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8); left: 50%;
  transform: translateX(-50%);
  color: oklch(0.8 0.02 220);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 8px oklch(from var(--color-primary) l c h / 0.35);
}
.btn-primary:hover { background: var(--color-primary-hover); color: white; box-shadow: 0 4px 16px oklch(from var(--color-primary) l c h / 0.4); }
.btn-ghost {
  background: oklch(1 0 0 / 0.15);
  border: 1px solid oklch(1 0 0 / 0.35);
  color: white;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.25); color: white; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-desc { color: var(--color-text-muted); max-width: 60ch; margin-inline: auto; font-size: var(--text-base); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--space-16); align-items: start; }
.about-text p { margin-bottom: var(--space-4); color: var(--color-text-muted); max-width: 65ch; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--color-text); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); min-width: 260px; }
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--color-primary); line-height: 1; position: relative; }
.stat-sup { font-size: 0.5em; vertical-align: super; }
.stat-label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: var(--space-2); }



/* ===== REFINED SCOPE ===== */
.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: var(--space-8);
  align-items: stretch;
}
.scope-feature {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.scope-feature p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  max-width: 78ch;
}
.scope-feature p:last-child { margin-bottom: 0; }
.scope-feature strong { color: var(--color-text); }
.scope-highlights {
  display: grid;
  gap: var(--space-4);
}
.scope-chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.scope-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  margin-bottom: var(--space-3);
  padding-inline: var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scope-chip strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.scope-chip p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.topics-grid--numbered .topic-item {
  position: relative;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.topics-grid--numbered .topic-item::after {
  content: '';
  position: absolute;
  inset: auto -20% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: var(--color-primary-highlight);
  opacity: 0.55;
}
.topic-index {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px oklch(from var(--color-primary) l c h / 0.25);
  z-index: 1;
}
.topics-grid--numbered .topic-item h3,
.topics-grid--numbered .topic-item p {
  position: relative;
  z-index: 1;
}
.submission-cta--notice {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .scope-layout { grid-template-columns: 1fr; }
}

/* ===== TOPICS GRID ===== */
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--space-5); }
.topic-item {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.topic-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-primary-highlight); }
.topic-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.topic-item h3 { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-1); }
.topic-item p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }

/* ===== DATES TIMELINE ===== */
.dates-timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.dates-timeline::before {
  content: '';
  position: absolute; left: 11px; top: 12px; bottom: 12px;
  width: 2px; background: var(--color-divider);
}
.date-item {
  display: flex; align-items: flex-start; gap: var(--space-5);
  padding-bottom: var(--space-8);
  position: relative;
}
.date-item:last-child { padding-bottom: 0; }
.date-marker {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 3px solid var(--color-divider);
  position: relative; z-index: 1;
  margin-top: 3px;
}
.date-marker--highlight { border-color: var(--color-primary); background: var(--color-primary); }
.date-content { display: flex; flex-direction: column; gap: var(--space-1); }
.date-label { font-size: var(--text-sm); color: var(--color-text-muted); }
.date-value { font-size: var(--text-lg); font-weight: 700; color: var(--color-text); font-family: var(--font-display); }
.date-item--highlight .date-value { color: var(--color-primary); }
.date-tbd { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 400; font-family: var(--font-body); }

/* ===== SUBMISSION ===== */
.submission-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--space-5); margin-bottom: var(--space-10); }
.sub-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.sub-card-icon {
  width: 48px; height: 48px;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.sub-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.sub-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.sub-card strong { color: var(--color-text); }
.submission-cta { text-align: center; }
.submission-cta p { color: var(--color-text-muted); margin-bottom: var(--space-4); font-size: var(--text-sm); }

/* ===== ORGANIZERS ===== */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: var(--space-6);
  max-width: 920px;
  margin-inline: auto;
  justify-content: center;
}
.organizer-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: var(--space-6);
  align-items: center;
  min-height: 210px;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.organizer-card::after {
  content: '';
  position: absolute;
  inset: auto -30px -50px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--color-primary-highlight);
  opacity: 0.45;
}
.organizer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-primary-highlight); }
.organizer-card--lead { border-color: var(--color-primary-highlight); box-shadow: 0 0 0 1px var(--color-primary-highlight), var(--shadow-sm); }
.organizer-avatar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 78px; height: 78px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: var(--text-base);
  letter-spacing: 0.03em;
  box-shadow: 0 14px 28px oklch(from var(--color-primary) l c h / 0.25);
}
.organizer-info { position: relative; z-index: 1; min-width: 0; }
.organizer-role { display: none; }
.organizer-name { font-size: var(--text-lg); font-weight: 800; color: var(--color-text); margin-bottom: var(--space-2); line-height: 1.15; }
.organizer-affil { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); line-height: 1.5; }
.organizer-bio { display: none; }
.organizer-email {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: var(--color-primary);
  font-weight: 700;
  transition: color var(--transition);
  word-break: break-word;
}
.organizer-email:hover { color: var(--color-primary-hover); }

/* ===== PC GRID ===== */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-3);
}
.pc-item {
  display: flex; flex-direction: column; gap: var(--space-1);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
}
.pc-item strong { color: var(--color-text); font-weight: 600; }
.pc-item span { color: var(--color-text-muted); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--space-5); }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.contact-card svg { color: var(--color-primary); }
.contact-card h3 { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.contact-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.contact-card a { font-size: var(--text-sm); color: var(--color-primary); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-navy, #1e2a4a);
  color: oklch(0.8 0.03 255);
  padding-block: var(--space-10);
  border-top: 1px solid oklch(1 0 0 / 0.06);
}
[data-theme="dark"] .site-footer { background: var(--color-surface); border-top: 1px solid var(--color-divider); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); color: white; font-size: var(--text-sm); }
.footer-logo-img { border-radius: var(--radius-sm); object-fit: cover; }
.footer-copy { font-size: var(--text-xs); opacity: 0.65; }
.footer-copy a { color: inherit; opacity: 1; text-decoration: underline; }

@media (max-width: 820px) {
  .organizers-grid { grid-template-columns: 1fr; max-width: 620px; }
  .organizer-card { min-height: 170px; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4);
    gap: var(--space-2);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: var(--space-3) var(--space-4); font-size: var(--text-base); border-radius: var(--radius-md); }
  .about-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: repeat(4, 1fr); min-width: unset; }
  .stat-card { padding: var(--space-4); }
  .organizers-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
  .about-cards { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ===== SCREENSHOT-STYLE HERO OVERRIDE ===== */
.site-header {
  top: 24px;
  left: 50%;
  right: auto;
  width: min(920px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(20, 28, 48, 0.88);
  box-shadow: 0 18px 60px rgba(2, 8, 23, 0.25);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 58px;
  padding-inline: 16px 18px;
  gap: 18px;
}

.nav-logo,
.nav-logo:hover {
  color: white;
}

.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  padding: 3px;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo-text .accent { color: white; }

.nav-links { gap: 6px; }

.nav-links a {
  color: rgba(255,255,255,0.76);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 10px;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.09);
}

.nav-cta {
  background: transparent !important;
  color: rgba(255,255,255,0.76) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.09) !important;
  color: white !important;
}

.theme-toggle { display: none; }

.hero-cover {
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 64px;
}

.hero-bg {
  background-image: url('assets/banner.png');
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
  filter: none;
}

.hero-cover:hover .hero-bg { transform: scale(1.02); }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 44%, rgba(255,255,255,0.10), transparent 28%),
    linear-gradient(90deg, rgba(10, 18, 35, 0.82) 0%, rgba(18, 28, 49, 0.62) 42%, rgba(18, 28, 49, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.16) 0%, rgba(7, 12, 24, 0.30) 100%);
}

.hero-overlay,
.hero-content,
.hero-scroll-hint { display: none; }

.hero-card {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  margin-right: min(18vw, 300px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(180deg, rgba(78, 86, 106, 0.88), rgba(18, 31, 52, 0.88)),
    rgba(29, 38, 58, 0.86);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 90px rgba(2, 8, 23, 0.42);
  backdrop-filter: blur(12px);
  animation: fadeUp 0.8s ease-out both;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.08), transparent 34%);
}

.hero-card-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: white;
  border-radius: 24px;
  padding: 13px;
  margin-bottom: 26px;
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.18);
}

.hero-kicker {
  color: #e2b84e;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-card-title {
  max-width: 650px;
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.98;
  font-size: clamp(3.1rem, 5.7vw, 5.35rem);
  color: #fff;
  margin-bottom: 24px;
}

.hero-card-desc {
  max-width: 640px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.65;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.88);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-card .hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-light {
  background: #fff;
  color: #162033;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.18);
}
.btn-light:hover { background: #f2f5f9; color: #162033; }

.hero-card .btn-primary {
  background: linear-gradient(135deg, #168fca, #24b6d2);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.25);
}
.hero-card .btn-primary:hover { filter: brightness(1.05); }

.site-footer {
  background: #172033;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 900px) {
  .site-header { top: 12px; width: calc(100% - 24px); border-radius: 24px; }
  .nav-inner { height: 56px; }
  .nav-toggle { color: white; }
  .nav-links {
    inset: 80px 12px auto 12px;
    border-radius: 22px;
    background: rgba(20, 28, 48, 0.96);
    border: 1px solid rgba(255,255,255,0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { color: rgba(255,255,255,0.82); }
  .hero-cover { padding: 100px 18px 42px; justify-content: center; }
  .hero-card { margin-right: 0; width: min(680px, 100%); }
}

@media (max-width: 560px) {
  .hero-card { padding: 26px 22px; border-radius: 24px; }
  .hero-card-logo { width: 74px; height: 74px; border-radius: 18px; margin-bottom: 20px; }
  .hero-card-title { font-size: clamp(2.4rem, 12vw, 3.3rem); letter-spacing: -0.06em; }
  .hero-card .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-card .btn { width: 100%; }
}


/* ===== FINAL CONTACT SECTION, SCREENSHOT STYLE ===== */
.final-contact {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  padding: 96px 24px;
}

.supporters-band {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.supporters-band img {
  display: block;
  width: min(100%, 1000px);
  max-height: 120px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.final-contact-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/banner.png');
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.02);
  filter: saturate(0.95);
}

.final-contact-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 91, 135, 0.94) 0%, rgba(26, 174, 199, 0.88) 100%),
    linear-gradient(180deg, rgba(7, 15, 30, 0.12), rgba(7, 15, 30, 0.05));
}

.final-contact-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  min-height: 370px;
  padding: 72px 56px 62px;
  border-radius: 32px;
  background: rgba(20, 83, 116, 0.58);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.16);
  backdrop-filter: blur(3px);
  transform: translateY(-45px);
}

.final-contact-label {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.final-contact-card h2 {
  margin: 0 auto 22px;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.55rem, 4.25vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.final-contact-card p {
  max-width: 640px;
  margin: 0 auto 44px;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.final-email-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: #172033;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(2, 8, 23, 0.12);
}
.final-email-pill:hover { color: #0b79a5; background: #f5f7fb; }

.minimal-footer {
  background: #fff;
  color: #6b86a9;
  text-align: center;
  padding: 42px 24px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(120, 150, 180, 0.12);
}

.minimal-footer p {
  margin: 0;
}

[data-theme="dark"] .minimal-footer {
  background: #fff;
  color: #6b86a9;
}

@media (max-width: 760px) {
  .final-contact { min-height: 560px; padding: 72px 18px; }
  .final-contact-card { padding: 50px 26px 44px; border-radius: 26px; }
  .final-contact-card h2 { letter-spacing: -0.055em; }
  .final-contact-card p { font-size: 0.94rem; margin-bottom: 34px; }
}

/* Organizer cards: compact version with name, affiliation, and email only */
.organizers-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.organizer-card { align-items: center; min-height: 150px; }
.organizer-affil { margin-bottom: var(--space-3); }

/* Force Workshop Organizers to always render as 2 columns x 2 rows on desktop/tablet */
#organizers .organizers-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 860px !important;
  margin-inline: auto !important;
}

#organizers .organizer-card {
  width: 100% !important;
}

@media (max-width: 700px) {
  #organizers .organizers-grid {
    grid-template-columns: 1fr !important;
    max-width: 560px !important;
  }
}
