:root {
  --bg: #f5f8ff;
  --bg-soft: #eef3ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --line: rgba(30, 67, 126, 0.18);
  --text: #11213f;
  --muted: #4b5f86;
  --teal: #0f8f88;
  --amber: #ffb357;
  --pink: #ff7dca;
  --indigo: #6f81de;
  --shadow: 0 18px 44px rgba(16, 46, 103, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.58;
  background-attachment: fixed;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 10% -8%, rgba(15, 143, 136, 0.2), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 125, 202, 0.16), transparent 32%),
    radial-gradient(circle at 62% 78%, rgba(111, 129, 222, 0.18), transparent 36%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(rgba(18, 34, 66, 0.22) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

h1,
h2,
h3,
.brand {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: var(--teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: calc(100vw - 2rem);
  margin: 1rem auto 0;
  padding: 0.75rem 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.9));
  box-shadow: 0 8px 26px rgba(17, 33, 63, 0.08);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

nav a.is-active,
nav a:hover {
  color: var(--text);
  border-color: rgba(15, 143, 136, 0.45);
  background: rgba(15, 143, 136, 0.1);
}

.submit-mini {
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(130deg, var(--teal), #4aa8a1);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.container,
.site-footer {
  width: calc(100vw - 2rem);
  margin: 0 auto;
}

.hero {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  padding: clamp(1rem, 3.3vw, 2rem);
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 143, 136, 0.14), transparent 38%),
    linear-gradient(300deg, rgba(255, 179, 87, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.45) 45%, transparent 100%);
  transform: translateX(-120%);
  animation: heroSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #0f8f88;
  font-weight: 600;
  font-size: 0.74rem;
  margin-bottom: 0.75rem;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 4.7vw, 3.65rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 65ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--teal), #3b9f98);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.hero-panel {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(111, 129, 222, 0.14), rgba(255, 255, 255, 0.9));
}

.hero-panel h2 {
  font-size: 1.08rem;
  margin-bottom: 0.8rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.fact-grid article {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.7rem;
}

.fact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.fact-grid strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.92rem;
}

.countdown {
  margin-top: 0.75rem;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 179, 87, 0.5);
  background: rgba(255, 179, 87, 0.18);
  color: #6b4313;
  font-size: 0.92rem;
}

.glance-submit {
  margin-top: 0.6rem;
  display: inline-flex;
}

.ticker {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
  overflow: visible;
  padding-bottom: 0.1rem;
}

.ticker div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.62rem 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2f54;
  white-space: normal;
  text-wrap: balance;
  font-size: 0.84rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticker div:hover {
  transform: translateY(-3px) scale(1.01) rotate(-0.4deg);
  box-shadow: 0 10px 18px rgba(17, 33, 63, 0.12);
}

.panel {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  box-shadow: 0 10px 32px rgba(17, 33, 63, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 33, 63, 0.12);
}

.title-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.panel h2 {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  margin-bottom: 0.72rem;
}

.panel p {
  color: var(--muted);
}

.panel p + p {
  margin-top: 0.8rem;
}

.visual-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.visual-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(17, 33, 63, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.visual-card:hover {
  transform: translateY(-4px) rotate(-0.25deg);
  box-shadow: 0 16px 28px rgba(17, 33, 63, 0.14);
}

.visual-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.bento-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.bento {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.bento:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(17, 33, 63, 0.1);
}

.track-filters {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.track-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.track-filter.is-active {
  color: #ffffff;
  background: linear-gradient(120deg, var(--teal), #2f9c95);
  border-color: transparent;
}

.bento.is-dim {
  opacity: 0.34;
}

.bento.is-focus {
  opacity: 1;
}

.bento h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.bento p {
  font-size: 0.92rem;
}

.accent-a,
.accent-b,
.accent-c,
.accent-d,
.accent-e {
  position: relative;
  overflow: hidden;
}

.accent-a::before,
.accent-b::before,
.accent-c::before,
.accent-d::before,
.accent-e::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  top: -80px;
  right: -50px;
  opacity: 0.38;
}

.accent-a::before {
  background: var(--teal);
}

.accent-b::before {
  background: var(--amber);
}

.accent-c::before {
  background: var(--pink);
}

.accent-d::before {
  background: var(--indigo);
}

.accent-e::before {
  background: #6bec7c;
}

.accent-a {
  grid-column: span 3;
}

.accent-b {
  grid-column: span 3;
}

.accent-c {
  grid-column: span 2;
}

.accent-d {
  grid-column: span 2;
}

.accent-e {
  grid-column: span 2;
}

.cfp-layout {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.card li + li {
  margin-top: 0.32rem;
}

.cta-card {
  background: linear-gradient(155deg, rgba(15, 143, 136, 0.18), rgba(255, 255, 255, 0.9));
}

.timeline {
  margin-top: 0.86rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.timeline article {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.78rem;
}

.timeline span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.95rem;
}

.timeline .workshop-day {
  border-color: rgba(15, 143, 136, 0.5);
  background: rgba(15, 143, 136, 0.12);
}

.muted {
  color: var(--muted);
  font-size: 0.94rem;
}

.agenda-columns {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.agenda-tabs {
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 0.2rem;
  padding: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.agenda-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.agenda-tab.is-active {
  color: #ffffff;
  background: linear-gradient(120deg, var(--teal), #2f9c95);
}

.agenda-columns article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.86);
}

.agenda-panel.is-hidden {
  display: none;
}

.agenda-columns h3 {
  margin-bottom: 0.5rem;
}

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

.agenda-list li {
  border-top: 1px dashed rgba(30, 67, 126, 0.22);
  padding: 0.56rem 0;
  color: var(--text);
  font-size: 0.94rem;
}

.agenda-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.agenda-list time {
  display: inline-block;
  min-width: 70px;
  color: #0f8f88;
  font-weight: 600;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.speaker-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(170deg, rgba(111, 129, 222, 0.16), rgba(255, 255, 255, 0.9));
}

.speaker-card h3 {
  margin-top: 0.16rem;
  margin-bottom: 0.35rem;
}

.speaker-role {
  color: #0f8f88;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.org-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.86);
}

.organizer-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(130deg, #0f8f88, #6f81de 58%, #ff7dca);
  box-shadow: 0 8px 16px rgba(40, 63, 121, 0.2);
}

.organizer-photo {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid rgba(17, 33, 63, 0.14);
  box-shadow: 0 8px 16px rgba(40, 63, 121, 0.2);
}

.org-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.24rem;
}

.org-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.org-grid span {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #0f8f88;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
}

details + details {
  margin-top: 0.6rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.site-footer {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 0.2rem 0.5rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 900px) {
  .site-header {
    border-radius: 20px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
  }

  .cfp-layout,
  .agenda-columns,
  .speaker-grid,
  .org-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .accent-a,
  .accent-b,
  .accent-c,
  .accent-d,
  .accent-e {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .container,
  .site-footer {
    width: calc(100vw - 1rem);
  }

  .avatar,
  .organizer-photo {
    width: 120px;
    height: 120px;
  }

  .fact-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  nav {
    justify-content: flex-start;
  }

  nav a {
    font-size: 0.88rem;
  }

  .submit-mini {
    display: none;
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-120%);
  }
  45% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes ambientShift {
  0% {
    filter: hue-rotate(0deg);
    transform: scale(1);
  }
  100% {
    filter: hue-rotate(10deg);
    transform: scale(1.02);
  }
}
