:root {
  --navy: #14243a;
  --navy-soft: #223a59;
  --orange: #bf5700;
  --orange-dark: #8f4100;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #17202b;
  --muted: #596474;
  --line: #d9dee5;
  --shadow: 0 12px 30px rgba(20, 36, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: var(--orange-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange);
}

a:focus-visible {
  outline: 3px solid #f3a65a;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 5;
  color: #fff;
  background: var(--navy);
  border-bottom: 4px solid var(--orange);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: #fff;
  border-radius: 0.35rem;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--orange);
}

.page-banner {
  height: clamp(180px, 23vw, 320px);
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.home-banner {
  height: clamp(240px, 34vw, 440px);
}

.content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.content > :first-child {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  margin-top: 0;
  font-size: 1.18rem;
}

p {
  margin: 0 0 1rem;
}

.hero-subtitle {
  max-width: 850px;
  margin: -0.35rem 0 1.7rem;
  color: var(--orange-dark);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.overview {
  max-width: 900px;
  font-size: 1.12rem;
}

.sponsorship {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr minmax(130px, 220px);
  align-items: center;
  gap: 2rem;
  background: var(--paper);
  border-left: 6px solid var(--orange);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
}

.sponsorship h2 {
  margin-top: 0;
}

.grant-label {
  margin-bottom: 0.2rem;
  font-weight: 750;
}

.grant-numbers {
  margin-bottom: 0;
  color: var(--navy-soft);
  font-weight: 700;
}

.sponsorship img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.event-dates {
  margin: -0.5rem 0 2rem;
  color: var(--orange-dark);
  font-size: 1.2rem;
  font-weight: 750;
}

.table-scroll {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.schedule-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.schedule-table caption {
  padding: 1rem 0.9rem;
  color: var(--navy);
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 750;
  text-align: left;
}

.schedule-table th,
.schedule-table td {
  min-width: 170px;
  padding: 0.9rem 0.75rem;
  vertical-align: top;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schedule-table thead th {
  color: #fff;
  background: var(--navy);
  font-size: 0.95rem;
  text-align: left;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  min-width: 92px;
  width: 92px;
}

.schedule-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  color: var(--navy);
  background: #f3eadf;
  font-weight: 750;
  white-space: nowrap;
}

.schedule-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.schedule-table tr > :last-child {
  border-right: 0;
}

.schedule-table tbody tr:last-child > * {
  border-bottom: 0;
}

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

.lecturer-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.lecturer-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  background: #e8e8e8;
}

.lecturer-copy {
  padding: 1.4rem 1.5rem 1.55rem;
}

.lecturer-copy p:last-child {
  margin-bottom: 0;
}

.organizer-section + .organizer-section {
  margin-top: 3.5rem;
}

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

.organizer-card {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: minmax(120px, 210px) 1fr;
  align-items: center;
  gap: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.organizer-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.5rem;
}

.organizer-card h3 {
  margin-bottom: 0;
}

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

.info-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border-top: 5px solid var(--orange);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
}

.info-panel h2:first-child {
  margin-top: 0;
}

.info-panel ul {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
}

.action-link {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--orange-dark);
  border-radius: 0.35rem;
  font-weight: 750;
  text-decoration: none;
}

.action-link:hover {
  color: #fff;
  background: var(--orange);
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.venue-photo {
  width: 100%;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.venue-map {
  width: 100%;
  height: 460px;
  margin-top: 2.5rem;
  border: 0;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
}

.site-footer {
  color: #e8edf4;
  background: var(--navy);
  border-top: 5px solid var(--orange);
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.footer-inner p {
  margin: 0.25rem 0;
}

@media (max-width: 820px) {
  .header-inner {
    padding: 0.8rem 0;
    flex-direction: column;
    gap: 0.7rem;
  }

  .site-nav ul {
    justify-content: center;
  }

  .lecturer-list,
  .registration-sections,
  .venue-layout {
    grid-template-columns: 1fr;
  }

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

  .lecturer-card img {
    height: min(90vw, 440px);
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 1rem, 1180px);
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .site-nav a {
    padding: 0.48rem 0.55rem;
    font-size: 0.86rem;
  }

  .content {
    width: min(100% - 1.25rem, 1120px);
  }

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

  .sponsorship img {
    max-width: 170px;
  }

  .organizer-card {
    grid-template-columns: 110px 1fr;
    gap: 1rem;
  }

  .footer-inner {
    width: min(100% - 1.25rem, 1120px);
  }
}
