:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --ink: #10213a;
  --muted: #5d6a79;
  --accent: #f82249;
  --accent-dark: #d51539;
  --hero: #0b1c39;
  --line: #e7e9ef;
  --shadow: 0 8px 24px rgba(16, 33, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

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

.shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 12, 34, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
}

.brand-text strong {
  font-family: "Raleway", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
}

.hero {
  padding: 5.5rem 0 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 12, 34, 0.5) 0%,
      rgba(6, 12, 34, 0.56) 38%,
      rgba(6, 12, 34, 0.7) 72%,
      rgba(6, 12, 34, 0.82) 100%
    ),
    url("../img/seoul-banner.jpg") center center / cover no-repeat;
  color: #fff;
}

.hero-orbit {
  display: none;
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 1.35rem 1.4rem 2rem;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 34, 0.62) 0%,
    rgba(6, 12, 34, 0.42) 55%,
    rgba(6, 12, 34, 0.18) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(6, 12, 34, 0.18);
}

.hero-copy h1,
.section-heading h2,
.contact-card h2,
.content-card h3,
.theme-card h3,
.person-body h3 {
  font-family: "Raleway", sans-serif;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 980px;
  align-items: stretch;
}

.meta-pill {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 33, 58, 0.12);
  border-top: 3px solid var(--accent);
  background: #ffffff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.14);
}

.meta-pill strong,
.meta-pill small,
.meta-label {
  display: block;
}

.meta-label {
  margin-bottom: 0.45rem;
  color: #5d6a79;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.meta-pill strong {
  color: #10213a;
  line-height: 1.35;
}

.meta-pill small {
  margin-top: 0.25rem;
  color: #4f6074;
  line-height: 1.5;
}

.deadline-old {
  margin-right: 0.35rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
}

.hero-panel {
  margin-top: 2.2rem;
}

.panel-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(6, 12, 34, 0.58);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px rgba(6, 12, 34, 0.22);
}

.panel-kicker {
  margin-bottom: 0.7rem;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.panel-card p:not(.panel-kicker) {
  color: rgba(255, 255, 255, 0.94);
  max-width: 1000px;
}

.hero-credit {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-credit a {
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading h2,
.contact-card h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.15rem);
  font-weight: 700;
}

.section-heading h2::after,
.contact-card h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
  transform: translateX(-50%);
}

.overview-grid,
.cfp-grid,
.schedule-grid {
  display: grid;
  gap: 1.5rem;
}

.overview-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.overview-copy {
  margin: 0;
}

.content-card,
.contact-card,
.person-card {
  border: 1px solid var(--line);
  background: var(--surface);
}

.overview-themes h3 {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  font-weight: 700;
}

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

.content-card,
.contact-card {
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.content-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.topic-list,
.theme-list,
.program-list,
.schedule-list,
.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li,
.theme-list li,
.program-list li,
.schedule-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.7rem;
}

.topic-list li::before,
.theme-list li::before,
.program-list li::before,
.schedule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--accent);
}

.theme-list strong {
  color: var(--ink);
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}

.detail-list div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-list dd {
  margin: 0;
}

.submission-note,
.timeline-note,
.contact-note {
  color: var(--muted);
}

.timeline-card {
  padding-top: 0.35rem;
}

.timeline-card h4 {
  margin: 0 0 0.75rem;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
}

.timeline-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

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

.timeline-list span {
  color: var(--muted);
}

.timeline-list strong {
  text-align: right;
}

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

.schedule-list {
  margin-top: 1rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 1rem;
  margin-bottom: 0.85rem;
}

.schedule-list li strong {
  font-weight: 500;
  text-align: right;
}

.schedule-list li span {
  color: var(--muted);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.person-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 33, 58, 0.12);
  background: #0b1221;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  --reveal-delay: 0ms;
}

.person-photo {
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  background: #edf0f5;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.person-photo-contained {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f3f5f8;
}

.person-photo-contained img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.person-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.2rem 1rem 1rem;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 34, 0) 0%,
    rgba(6, 12, 34, 0.15) 18%,
    rgba(6, 12, 34, 0.78) 48%,
    rgba(6, 12, 34, 0.95) 100%
  );
}

.person-role {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
}

.person-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.person-affiliation {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.person-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 0;
  padding: 0 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  border-radius: 999px;
  border: 0 solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    max-height 0.28s ease,
    margin-top 0.28s ease,
    padding 0.28s ease,
    border-width 0.28s ease;
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.person-card:hover,
.person-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16, 33, 58, 0.16);
}

.person-card:hover .person-photo img,
.person-card:focus-within .person-photo img {
  transform: scale(1.04);
}

.person-card:hover .person-body a,
.person-card:focus-within .person-body a {
  opacity: 1;
  transform: translateY(0);
  max-height: 2.2rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-width: 1px;
}

.person-body a:hover,
.contact-links a:hover {
  text-decoration: underline;
}

.program-list span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.contact-section {
  padding-top: 1.5rem;
}

.contact-card {
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer {
  padding: 1.8rem 0 2.2rem;
  background: #0b1221;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-credit {
  width: 100%;
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  text-align: center;
}

.footer-shell a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-shell a:hover {
  text-decoration: underline;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-meta,
  .overview-grid,
  .cfp-grid,
  .schedule-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(6, 12, 34, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .hero-copy {
    padding: 1.1rem 1rem 1.6rem;
  }

  .panel-card {
    padding: 1.2rem 1rem;
  }

  .person-body {
    position: absolute;
    inset: auto 0 0 0;
    padding-top: 3rem;
  }

  .person-body a {
    opacity: 1;
    transform: translateY(0);
    max-height: 2.2rem;
    margin-top: 0.75rem;
    padding: 0.45rem 0.75rem;
    border-width: 1px;
  }

  .footer-shell,
  .contact-links {
    flex-direction: column;
  }
}
