/* 11th ASVB Scientific Meeting - refined academic visual system */
:root {
  --navy-950: #061827;
  --navy-900: #09233a;
  --navy-800: #103b5f;
  --navy-700: #155986;
  --teal: #0f766e;
  --teal-soft: #d8f3ed;
  --gold: #c6a15b;
  --gold-soft: #f7efd9;
  --ivory: #fbfaf6;
  --paper: #ffffff;
  --mist: #eef4f7;
  --ink: #142033;
  --text: #3f4e60;
  --muted: #6d7a88;
  --line: #dfe7ed;
  --shadow-sm: 0 6px 22px rgba(12, 34, 54, .07);
  --shadow-md: 0 18px 50px rgba(12, 34, 54, .12);
  --shadow-lg: 0 28px 80px rgba(5, 24, 39, .22);
  --radius: 8px;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(198, 161, 91, .11), transparent 28%),
    linear-gradient(180deg, #f7fafb 0%, var(--ivory) 52%, #f6f9fb 100%);
  line-height: 1.68;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,35,58,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9,35,58,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(7, 24, 39, .72);
  color: white;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.logo { display: flex; align-items: baseline; gap: 8px; font-weight: 850; }
.logo-icon { color: #fff; font-size: 19px; letter-spacing: .08em; }
.logo-text { color: var(--gold); font-size: 13px; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 7px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 750;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.09); }
.btn-outline {
  margin-left: 4px;
  border: 1px solid rgba(198,161,91,.7);
  color: #fff !important;
  background: rgba(198,161,91,.10);
}
.mobile-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 7px;
  background: transparent;
  color: white;
  padding: 8px 11px;
  font: inherit;
  font-weight: 750;
  min-width: 62px;
  flex-shrink: 0;
}

.hero {
  position: relative;
  min-height: clamp(760px, 86vh, 900px);
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 18, 30, .96) 0%, rgba(7, 30, 50, .86) 42%, rgba(7, 30, 50, .46) 100%),
    url("assets/hero.jpg") center / cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 22%),
    radial-gradient(circle at 78% 22%, rgba(198,161,91,.18), transparent 26%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,161,91,.8), rgba(255,255,255,.25), transparent);
}
.hero-body {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 40px));
  padding: 180px 0 86px;
  margin-left: clamp(20px, 6vw, 84px);
}
.hero-eyebrow, .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}
.hero-eyebrow { margin-bottom: 20px; color: #e4c987; }
.hero h1 {
  max-width: 900px;
  font-family: var(--font-serif);
  font-size: clamp(50px, 7.2vw, 104px);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 16px 48px rgba(0,0,0,.24);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  max-width: 760px;
  margin: 28px 0 38px;
  color: rgba(255,255,255,.84);
  font-size: clamp(17px, 1.8vw, 21px);
}
.hero-divider {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #fff, #f4ead3);
  color: var(--navy-900);
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.hero-stats {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  min-height: 126px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(198,161,91,.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,249,251,.92));
  box-shadow: var(--shadow-md);
}
.stat::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
}
.stat strong {
  display: block;
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 86px 0 30px; }
.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-header h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.06;
}
.section-desc { color: var(--muted); font-size: 18px; line-height: 1.7; }

.program-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 92px;
  padding: 0;
  border: 1px solid rgba(198,161,91,.32);
  border-radius: 8px;
  background: rgba(198,161,91,.28);
  box-shadow: var(--shadow-md);
}
.program-highlights article {
  min-height: 245px;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,248,242,.96));
}
.program-highlights span {
  display: inline-flex;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 34px;
}
.program-highlights h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 12px;
}
.program-highlights p { color: var(--muted); font-size: 15px; line-height: 1.62; }

.dinner-notice { padding-top: 62px; padding-bottom: 16px; }
.dinner-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  border: 1px solid rgba(198,161,91,.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,247,240,.96)),
    linear-gradient(90deg, var(--gold-soft), transparent);
  box-shadow: var(--shadow-sm);
}
.dinner-icon {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #f1d99a;
  font-family: var(--font-serif);
  font-size: 24px;
}
.dinner-card h3 { margin: 5px 0 10px; color: var(--ink); font-family: var(--font-serif); font-size: 34px; font-weight: 500; }
.dinner-card p:not(.eyebrow) { margin-top: 8px; font-size: 17px; }
.dinner-card strong { color: var(--navy-900); }

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 30px;
  align-items: stretch;
}
.info-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.info-dl div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.info-dl dt { color: var(--navy-700); font-weight: 850; }
.info-dl dd { margin-top: 4px; color: var(--muted); }
.info-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.info-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  pointer-events: none;
}
.info-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }

.tabs {
  position: sticky;
  top: 96px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px;
  border: 1px solid rgba(223,231,237,.72);
  border-radius: 8px;
  background: rgba(251,250,246,.86);
  backdrop-filter: blur(16px);
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--navy-700);
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: all .18s ease;
}
.tabs button.active,
.tabs button:hover {
  border-color: var(--navy-700);
  background: var(--navy-800);
  color: white;
  box-shadow: var(--shadow-sm);
}
.day-card {
  display: none;
  grid-template-columns: 250px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.day-card.visible { display: grid; }
.day-head {
  padding: 30px 26px;
  color: white;
  background:
    linear-gradient(180deg, rgba(198,161,91,.16), transparent 40%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.day-head span {
  color: #d9bd7b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.day-head h3 {
  margin: 10px 0 8px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
}
.day-head p { font-weight: 850; line-height: 1.35; }
.day-head small { display: block; margin-top: 10px; color: rgba(255,255,255,.72); }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.schedule-item:hover { background: #fbfaf5; }
.schedule-item::before {
  content: "";
  position: absolute;
  left: 148px;
  top: 25px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198,161,91,.13);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-item time { color: var(--navy-700); font-weight: 900; font-size: 15px; }
.schedule-item h4 { color: var(--ink); font-size: 17px; line-height: 1.42; font-weight: 780; }
.schedule-item .meta { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.logistics { background: #f5f9fb; }
.break-row { background: #f7fbf4; }
.section-head {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(198,161,91,.35);
  background: linear-gradient(90deg, rgba(198,161,91,.16), rgba(255,255,255,.72));
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: .01em;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.badge, .speaker-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
}
.badge { background: #eef2f5; color: #596879; }
.speaker-badge { background: var(--teal-soft); color: #075c53; }

.search-box {
  display: grid;
  gap: 9px;
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--navy-700);
  font-weight: 850;
}
.search-box input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  padding: 12px 14px;
  font: inherit;
  box-shadow: var(--shadow-sm);
}
.search-box input:focus { outline: 2px solid rgba(198,161,91,.36); border-color: var(--gold); }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.poster-grid::before { display: none; }
.poster-card {
  min-height: 232px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #fbfcfd);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.poster-card::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 16px;
  background: rgba(198,161,91,.58);
}
.poster-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198,161,91,.5);
  box-shadow: var(--shadow-md);
}
.poster-no {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #f0dba1;
  padding: 5px 10px;
  font-weight: 900;
  font-size: 12px;
}
.poster-card h4 { margin-bottom: 10px; color: var(--ink); font-size: 16px; line-height: 1.42; }
.poster-card p.name { margin-bottom: 4px; color: var(--navy-800); font-weight: 850; }
.poster-card small { color: var(--muted); font-size: 13px; line-height: 1.45; }

.closing {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  margin: 74px 0 24px;
  padding: 28px;
  border: 1px solid rgba(198,161,91,.32);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.closing-visual img { width: 100%; border-radius: 8px; }
.closing-text h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}
.closing-text p:not(.eyebrow) { margin-bottom: 22px; color: var(--muted); font-size: 17px; }
.closing-text .btn-primary { background: var(--navy-800); color: #fff; box-shadow: none; }

footer {
  margin-top: 70px;
  padding: 34px clamp(20px,5vw,64px) 28px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.52);
}
.footer-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-content strong { color: var(--ink); }
.footer-content p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--navy-700); font-weight: 850; }
.footer-copy { width: min(1180px,100%); margin: 22px auto 0; color: var(--muted); font-size: 13px; }

@media (max-width: 920px) {
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    transform: none;
  }
  .mobile-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: #07223d;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; justify-content: flex-start; }
  .hero-body { padding-top: 170px; margin-left: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .program-highlights { grid-template-columns: repeat(2, 1fr); margin-top: 72px; }
  .dinner-card, .info-grid, .day-card.visible, .closing { grid-template-columns: 1fr; }
  .info-dl { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  main { width: calc(100% - 28px); }
  .navbar { width: auto; }
  .logo { flex-shrink: 0; }
  .logo-icon { font-size: 17px; }
  .logo-text { font-size: 12px; }
  .hero { min-height: 740px; }
  .hero-body { width: calc(100% - 48px); padding-top: 150px; padding-bottom: 78px; }
  .hero h1 { font-size: 43px; }
  .hero-meta { display: grid; gap: 5px; font-size: 16px; }
  .hero-divider { display: none; }
  .hero-cta { display: grid; justify-items: start; }
  .hero-stats { grid-template-columns: 1fr; margin-top: -40px; }
  .program-highlights { grid-template-columns: 1fr; margin-top: 54px; }
  .program-highlights article { min-height: auto; padding: 24px 22px; }
  .tabs { position: static; }
  section { padding-top: 62px; }
  .dinner-card { padding: 22px; gap: 18px; }
  .dinner-icon { min-height: 76px; }
  .schedule-item { grid-template-columns: 1fr; padding: 16px 18px; }
  .schedule-item::before { display: none; }
  .poster-grid { grid-template-columns: 1fr; }
  .closing { padding: 20px; }
  .footer-content { align-items: flex-start; }
}
