:root {
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --ink: #061b49;
  --muted: #4c5870;
  --blue: #005cae;
  --blue-dark: #003f82;
  --cyan: #0b8fb9;
  --orange: #f05a24;
  --line: #d8e1ea;
  --line-strong: #bfd0df;
  --shadow: 0 18px 48px rgba(6, 27, 73, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(0, 92, 174, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 92, 174, 0.035) 1px, transparent 1px),
    var(--page);
  background-size: 36px 36px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--surface);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand span,
.brand small {
  display: block;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
}

.brand small {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  margin-top: 0.12rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
  min-width: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
  padding: 0.45rem 0.68rem;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--blue-dark);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 6rem 0 4rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(0, 92, 174, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 92, 174, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange));
}

.hero-content {
  max-width: 860px;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-size: 4.35rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 730px;
  color: #21304d;
  font-size: 1.22rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  background: var(--blue);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 92, 174, 0.2);
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--blue-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(11, 143, 185, 0.2);
  outline-offset: 2px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 780;
}

section {
  scroll-margin-top: 94px;
}

.band {
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.key-dates,
.theme-section,
.cfp-section,
.keynotes-section,
.programme-section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.3rem;
}

.section-heading h2,
.theme-section h2 {
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.14;
  margin-bottom: 0.8rem;
}

.date-grid,
.format-grid,
.speaker-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.date-card,
.format-grid article,
.speaker-card,
.topic-panel,
.submission-panel,
.artist-feature,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.date-card,
.format-grid article {
  padding: 1.2rem;
}

.date-card {
  min-height: 170px;
}

.date-card span {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.date-card strong {
  display: block;
  margin: 0.35rem 0 0.55rem;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.25;
}

.date-card p,
.format-grid p,
.speaker-card p,
.artist-feature p,
.notice p {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3rem;
  align-items: start;
}

.theme-section p {
  font-size: 1.05rem;
}

.poster-figure {
  margin: 0;
  justify-self: end;
  width: min(100%, 330px);
}

.poster-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3508 / 4961;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.poster-figure figcaption {
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.65rem;
  text-align: center;
}

.topic-panel {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.topic-panel h3,
.submission-panel h3,
.artist-feature h3,
.format-grid h3,
.speaker-card h3 {
  color: var(--ink);
  line-height: 1.18;
}

.topic-panel h3 {
  font-size: 1.48rem;
  margin-bottom: 1rem;
}

.topic-list {
  columns: 2;
  column-gap: 2.25rem;
  margin: 0;
  padding-left: 1.1rem;
}

.topic-list li {
  break-inside: avoid;
  color: #273956;
  margin-bottom: 0.75rem;
}

.topic-list li::marker {
  color: var(--blue);
}

.format-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
}

.submission-panel {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  margin-top: 1.2rem;
}

.submission-panel h3 {
  font-size: 1.48rem;
  margin-bottom: 0;
}

.guidelines {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

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

.guidelines div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guidelines dt {
  color: var(--blue-dark);
  font-weight: 850;
}

.guidelines dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.keynotes-section {
  background: rgba(255, 255, 255, 0.52);
}

.speaker-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.speaker-card:hover,
.speaker-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 20px 52px rgba(6, 27, 73, 0.11);
  transform: translateY(-1px);
  outline: none;
}

.speaker-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.speaker-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
}

.affiliation {
  color: var(--blue-dark);
  font-weight: 760;
  margin-bottom: 0.55rem;
}

.artist-feature {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.5rem;
}

.artist-photo {
  width: 112px;
  height: 150px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.artist-feature h3 {
  margin-bottom: 0.35rem;
  font-size: 1.48rem;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 0.25rem;
  padding: 1.2rem 1.35rem;
}

.notice strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--ink);
  color: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0.25rem 0 0;
}

.site-footer a {
  color: var(--surface);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding: 5.2rem 0 3.8rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .two-column,
  .submission-panel,
  .artist-feature {
    grid-template-columns: 1fr;
  }

  .poster-figure {
    justify-self: start;
    width: min(100%, 360px);
  }

  .date-grid,
  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .artist-photo {
    width: 112px;
    height: 150px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 78px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 0.3rem 0.42rem;
    font-size: 0.88rem;
  }

  .brand img {
    height: 34px;
    max-width: 114px;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .hero {
    padding: 4.2rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

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

  .button {
    width: 100%;
  }

  .section-heading h2,
  .theme-section h2 {
    font-size: 2rem;
  }

  .topic-list {
    columns: 1;
  }

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

  .key-dates,
  .theme-section,
  .cfp-section,
  .keynotes-section,
  .programme-section {
    padding: 3.7rem 0;
  }

  .notice,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .speaker-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .speaker-card img {
    width: 72px;
    height: 72px;
  }

  .artist-feature {
    gap: 0.9rem;
  }
}
