:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: rgba(239, 239, 239, 0.27);
  --surface: #ffffff;
  --surface-soft: #f8f4f4;
  --ink: #202733;
  --ink-soft: #5d6673;
  --muted: #9aa3af;
  --line: #e3dfdf;
  --accent: #b50e14;
  --accent-dark: #7f0004;
  --accent-soft: #f9e6e6;
  --blue-deep: #10213a;
  --blue-mid: #2f5c93;
  --blue-soft: #dbe9f8;
  --shadow: 0 20px 60px rgba(15, 26, 45, 0.12);
  --card-shadow: 0 0 10px rgba(0, 0, 0, 0.11);
  --radius: 14px;
  --radius-lg: 30px;
  --container: 1180px;
  --container-narrow: 900px;
  --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Aptos, "Segoe UI", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
h1,
h2,
h3 {
  margin: 0;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.container--narrow {
  width: min(calc(100% - 2rem), var(--container-narrow));
}

.section {
  position: relative;
  padding: 5rem 0;
}

.hero {
  position: relative;
  min-height: min(76vh, 700px);
  display: flex;
  align-items: flex-start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(3, 10, 22, 0.88), rgba(18, 40, 71, 0.72) 46%, rgba(120, 22, 31, 0.58)),
    linear-gradient(120deg, #091525, #163153 48%, #325d93 100%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(255, 170, 170, 0.22), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(128, 181, 255, 0.17), transparent 34%),
    linear-gradient(140deg, rgba(8, 13, 20, 0.8), rgba(22, 47, 79, 0.34));
  transform-origin: center;
  animation: hero-pan 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
  opacity: 0.28;
}

.hero__ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.hero__ambient--one {
  top: 15%;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(131, 184, 255, 0.45), transparent 68%);
}

.hero__ambient--two {
  top: 8%;
  right: 3%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(255, 173, 173, 0.35), transparent 68%);
}

.hero__ambient--three {
  right: 16%;
  bottom: 12%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(210, 76, 88, 0.28), transparent 68%);
}

.hero__content {
  width: min(calc(100% - 1rem), 1800px);
  display: grid;
  justify-items: center;
  padding: 1.35rem 0 7.25rem;
  text-align: center;
}

.hero__eyebrow,
.section-heading__eyebrow,
.registration__eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero__title,
.section-heading__title,
.display-title,
.registration__title {
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

.hero__title {
  width: 100%;
  max-width: none;
  font-size: clamp(4.2rem, 9.2vw, 7.8rem);
  font-weight: 300;
  line-height: 0.98;
}

.hero__title-line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  white-space: nowrap;
}

.hero__meta {
  margin-top: 2.45rem;
  font-size: 1.34rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.hero__copy {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__venue-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 0.2em;
  transition:
    color 0.3s ease,
    text-decoration-color 0.3s ease;
}

.hero__venue-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  border-bottom-width: 7px;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.button:hover {
  transform: translateY(-4px);
}

.button--primary {
  color: #fff;
  background: #d9534f;
  border-color: var(--accent-dark);
  box-shadow: 0 18px 34px rgba(127, 0, 4, 0.26);
}

.button--primary:hover {
  background: #a50107;
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button--alert {
  color: #fff;
  background: #d52f2f;
  border-color: #8e0000;
}

.button--alert:hover {
  background: #ba0000;
}

.hero__wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  line-height: 0;
  color: #fff;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 127px;
  fill: currentColor;
}

.section--overview {
  padding-top: 1.25rem;
  padding-bottom: 0.85rem;
}

.section-heading {
  margin-bottom: 0.75rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading__eyebrow {
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.section-heading__title {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.6vw, 3.45rem);
  font-weight: 600;
  line-height: 1.26;
}

.section-heading__title--compact {
  max-width: none;
}

.copy-stack {
  display: grid;
  gap: 0.9rem;
  color: var(--ink-soft);
}

.copy-stack p {
  font-size: 1rem;
}

.topic-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.topic-list li {
  position: relative;
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  border-left: 3px solid var(--blue-mid);
  background: linear-gradient(90deg, rgba(219, 233, 248, 0.88), rgba(255, 255, 255, 0.94));
  border-radius: 0 10px 10px 0;
  color: var(--blue-deep);
  box-shadow: 0 10px 20px rgba(15, 26, 45, 0.04);
}

.topic-list--numbered {
  counter-reset: topic-counter;
}

.topic-list--numbered li {
  padding-left: 4rem;
}

.topic-list--numbered li::before {
  content: counter(topic-counter) ".";
  counter-increment: topic-counter;
  position: absolute;
  top: 50%;
  left: 1.1rem;
  transform: translateY(-50%);
  color: var(--blue-mid);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.section--features {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

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

.feature-card {
  position: relative;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(20, 38, 62, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 92, 147, 0.13), transparent 65%);
  transition: transform 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(181, 14, 20, 0.18);
  box-shadow: 0 28px 48px rgba(17, 29, 48, 0.14);
}

.feature-card:hover::before {
  transform: scale(1.18);
}

.feature-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(16, 33, 58, 0.08);
  color: var(--blue-deep);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.feature-card p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.section--organizers-header {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}

.section--organizers-grid {
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
}

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

.person-card {
  position: relative;
  padding: 1.9rem 1.35rem 1.55rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

.person-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(249, 230, 230, 0.85), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.person-card:hover {
  transform: translateY(-10px);
  border-color: #d6c8c8;
  box-shadow: 0 20px 40px rgba(15, 26, 45, 0.12);
}

.person-card:hover::before {
  opacity: 1;
}

.person-card > * {
  position: relative;
  z-index: 1;
}

.person-card__avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(180deg, #e5ecf6, #f9fbff);
  box-shadow: 0 18px 26px rgba(17, 29, 48, 0.12);
}

.person-card__name {
  color: #636363;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 300;
  line-height: 1.15;
}

.person-card__role {
  margin-top: 0.55rem;
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section--faculty {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.section--program {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.faculty-columns {
  column-count: 3;
  column-gap: 2rem;
}

.faculty-item {
  break-inside: avoid;
  min-height: 6.7rem;
  margin-bottom: 0.35rem;
  padding: 0 0 0.35rem;
  border-bottom: 1px solid rgba(16, 33, 58, 0.08);
}

.faculty-item__name {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
}

.faculty-item__affiliation {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.program__copy {
  max-width: 44rem;
  color: var(--ink-soft);
}

.section--registration {
  padding: 0.85rem 0 6rem;
}

.registration {
  text-align: left;
}

.registration__copy {
  max-width: 44rem;
  margin: 0;
  color: var(--ink-soft);
}

.registration .button {
  margin-top: 1.75rem;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(32, 39, 51, 0.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.footer__logo-card {
  width: 230px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer__logo--cnic {
  transform: scale(0.9);
  transform-origin: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes hero-pan {
  0% {
    transform: scale(1.02) translate3d(-1%, 0, 0);
  }

  100% {
    transform: scale(1.14) translate3d(1%, 1.5%, 0);
  }
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .faculty-columns {
    column-count: 2;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 1.75rem 0 6rem;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2.8rem, 10.8vw, 4.6rem);
    line-height: 1.02;
  }

  .hero__title-line--primary {
    font-size: 0.8em;
  }

  .hero__meta {
    margin-top: 2rem;
    font-size: 1.05rem;
  }

  .hero__copy {
    margin-top: 0.7rem;
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero__wave svg {
    height: 56px;
  }

  .section-heading__title,
  .display-title,
  .registration__title {
    line-height: 1.08;
  }

  .feature-grid,
  .organizers-grid {
    grid-template-columns: 1fr;
  }

  .faculty-columns {
    column-count: 1;
  }

  .person-card__avatar {
    width: 130px;
    height: 130px;
  }

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

  .footer__logos {
    justify-content: flex-start;
  }

  .footer__logo-card {
    width: min(44vw, 230px);
    height: min(18vw, 82px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
