:root {
  --ink: #14211f;
  --muted: #5d6c68;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9ded8;
  --teal: #0f6e63;
  --teal-dark: #0b433e;
  --amber: #c27a2c;
  --coral: #c85f4a;
  --shadow: 0 18px 50px rgba(20, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 3vw, 42px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 1px 0 rgba(20, 33, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(8, 21, 20, 0.16));
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1.12;
}

.brand-title {
  color: currentColor;
  font-size: 22px;
  font-weight: 800;
}

.brand-subtitle {
  max-width: 290px;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.78;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--amber);
}

.site-nav a.is-active {
  border-bottom-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}

.page-hero {
  display: grid;
  min-height: 360px;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 56px) 58px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 67, 62, 0.96), rgba(15, 110, 99, 0.72)),
    url("assets/hero-kjdb-2026.png") center / cover;
}

.page-hero > div {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.98;
}

.page-hero p:last-child {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
}

.hero-image,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-logo {
  width: min(520px, 88vw);
  max-height: 260px;
  object-fit: contain;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 34px rgba(8, 21, 20, 0.34));
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 21, 20, 0.92), rgba(8, 21, 20, 0.44) 48%, rgba(8, 21, 20, 0.1)),
    linear-gradient(0deg, rgba(8, 21, 20, 0.62), rgba(8, 21, 20, 0.04) 55%);
}

.hero-content {
  position: relative;
  display: flex;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 72px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(64px, 10vw, 136px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta span,
.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--amber);
  color: #17130d;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro-grid,
.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.status-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--teal-dark);
  color: #fff;
}

.status-band div {
  display: grid;
  gap: 4px;
}

.status-band span {
  color: rgba(255, 255, 255, 0.76);
}

.status-band a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  text-decoration-color: var(--amber);
  text-underline-offset: 5px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.status-pill {
  border-color: var(--line);
  color: var(--teal-dark);
  background: #fff;
}

.info-grid,
.committee-grid,
.event-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.committee-grid article,
.event-links a,
.timeline article,
.venue-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  text-align: left;
}

th:last-child,
td:last-child {
  text-align: right;
}

.program-section {
  width: 100%;
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
  background: #e8efed;
}

.program-section .section-heading,
.timeline {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 110px minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
}

.timeline time {
  color: var(--coral);
  font-weight: 800;
}

.timeline p,
.venue-layout p,
.committee-grid p {
  color: var(--muted);
}

.program-list {
  display: grid;
  gap: 20px;
}

.program-session {
  min-width: 0;
  scroll-margin-top: 120px;
  overflow-wrap: anywhere;
}

.program-session h3 {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
}

.program-session h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.program-talks {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-talks li + li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.program-speaker,
.program-description,
.program-panelists {
  color: var(--muted);
}

.program-speaker {
  margin: 0;
}

.program-description {
  margin: 0 0 20px;
}

.program-panelists {
  margin: 0;
  padding-left: 20px;
}

.program-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.keynote-speaker {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.keynote-photo {
  display: block;
  width: min(220px, 100%);
  height: auto;
  border-radius: 8px;
}

.venue-panel {
  display: grid;
  gap: 10px;
  padding: 34px;
  align-self: start;
  background: var(--teal-dark);
  color: #fff;
}

.venue-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.venue-panel strong {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

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

.committee-grid article {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.committee-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f5;
}

.committee-section + .committee-section {
  margin-top: 34px;
}

.committee-section > h3 {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 28px;
}

.committee-grid article span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.committee-grid article h4 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.committee-grid article > a {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.event-links a {
  display: grid;
  gap: 10px;
  padding: 24px;
  text-decoration: none;
}

.event-links span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.event-links strong {
  color: var(--teal-dark);
  font-size: 22px;
}

.notice {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 20px 22px;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.travel-grid,
.photo-grid,
.tip-layout {
  display: grid;
  gap: 16px;
}

.tourist-overview,
.practical-section {
  width: min(920px, calc(100% - 36px));
}

.tourist-overview .section-heading,
.practical-section .section-heading,
.tourist-photo-section .section-heading {
  display: block;
  margin-bottom: 22px;
}

.tourist-overview h2,
.practical-section h2,
.tourist-photo-section h2,
.source-box h2 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

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

.travel-card,
.photo-card,
.tip-panel,
.source-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.travel-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.travel-card h3,
.photo-card h3,
.tip-panel h3 {
  margin: 0;
}

.travel-card span,
.photo-card span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.travel-card p,
.photo-card p,
.tip-panel li {
  color: var(--muted);
  line-height: 1.65;
}

.tourist-photo-section {
  width: 100%;
  padding-right: 18px;
  padding-left: 18px;
  background: #eef3f1;
}

.tourist-photo-section .section-heading,
.photo-grid {
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

.photo-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 250px;
  object-fit: cover;
  background: #dfe6e4;
}

.photo-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 26px;
}

.photo-credit {
  width: min(920px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.tip-layout {
  grid-template-columns: 1fr;
}

.tip-panel {
  padding: 24px 26px;
}

.tip-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.source-box {
  display: grid;
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--teal-dark);
  color: #fff;
}

.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #111a18;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav a.is-active {
    border-bottom-color: transparent;
    color: var(--teal);
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
  }

  .page-hero {
    min-height: 320px;
    padding-top: 112px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .intro-grid,
  .venue-layout,
  .info-grid,
  .keynote-speaker,
  .committee-grid,
  .event-links,
  .travel-grid,
  .photo-grid,
  .tip-layout,
  .source-box,
  .source-links {
    grid-template-columns: 1fr;
  }

  .photo-card {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .section-heading,
  .status-band,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 9px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    max-width: 210px;
    font-size: 10px;
  }

  .hero-meta span,
  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: 62px;
  }

  .section {
    padding: 64px 0;
  }
}
