:root {
  color-scheme: light;
  --primary: #8a5400;
  --primary-dark: #5a3400;
  --primary-light: #ffddb9;
  --primary-soft: #ffeede;
  --background: #fffbf6;
  --surface: #fffaf3;
  --surface-variant: #f4ded3;
  --text: #1f1b16;
  --text-muted: #55493e;
  --outline: #82756a;
  --radius-small: 16px;
  --radius-medium: 28px;
  --radius-large: 36px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgb(46 21 0 / 8%), 0 3px 10px rgb(46 21 0 / 8%);
  --shadow-2: 0 10px 30px rgb(46 21 0 / 13%);
  --max-width: 1080px;
  --font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #fff;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(130 117 106 / 20%);
  background: rgb(255 251 246 / 92%);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.nav-links a:hover {
  background: var(--primary-soft);
}

.main {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-block: 64px 120px;
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 7vw, 86px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: #351b00;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.1vw, 3.45rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 24px;
  color: var(--text-muted);
  font-weight: 700;
}

.meta-separator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--outline);
}

.capacity-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.capacity-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgb(130 117 106 / 28%);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.capacity-chip strong {
  color: var(--text);
}

.capacity-open {
  border-color: rgb(55 105 59 / 24%);
  background: #e7f3e5;
  color: #315934;
}

.capacity-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #3c7b41;
  box-shadow: 0 0 0 3px rgb(60 123 65 / 12%);
}

.capacity-remaining {
  margin-left: 2px;
  padding-left: 9px;
  border-left: 1px solid rgb(49 89 52 / 24%);
  font-weight: 800;
}

.hero-summary {
  max-width: 660px;
  margin: 26px 0 22px;
  padding-left: 18px;
  border-left: 4px solid var(--primary);
  color: var(--text-muted);
  font-size: 1.08rem;
}

.event-agenda {
  max-width: 620px;
  margin-bottom: 30px;
  padding: 15px 18px 17px;
  border: 1px solid rgb(130 117 106 / 22%);
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: 0 1px 4px rgb(46 21 0 / 5%);
}

.event-agenda > p {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.event-agenda ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-agenda li {
  display: grid;
  gap: 1px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-light);
}

.event-agenda time {
  color: var(--text-muted);
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
}

.event-agenda strong {
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 27px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-filled {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-1);
}

.button-filled:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-2);
}

.button-note {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.82;
}

.hero-visual {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-large);
  background: var(--surface-variant);
  box-shadow: var(--shadow-1);
}

.hero-visual img {
  width: 100%;
  height: min(480px, 52vw);
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
}

.hero-visual figcaption {
  display: grid;
  gap: 2px;
  padding: 17px 4px 2px;
  text-align: center;
}

.hero-visual figcaption span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 30px;
}

.intro-copy {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.intro-copy p {
  margin: 0 0 17px;
}

.feature-list {
  max-width: 820px;
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-small);
  transition: background-color 160ms ease;
}

.feature-list li:hover {
  background: var(--primary-soft);
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-variant);
  font-size: 1.3rem;
}

.feature-list h3,
.feature-list p {
  margin: 0;
}

.feature-list h3 {
  font-size: 1.08rem;
}

.feature-list p {
  margin-top: 3px;
  color: var(--text-muted);
}

.about-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-large);
  background: var(--primary-soft);
}

.host-photo {
  width: 180px;
  height: 180px;
  border: 6px solid rgb(255 255 255 / 78%);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-2);
}

.about-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 15px 0 28px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-copy h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgb(130 117 106 / 17%);
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-1);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.social-links a:hover {
  background: var(--surface-variant);
  transform: translateY(-2px);
}

.social-mark {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

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

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 40px;
  border: 1px dashed rgb(130 117 106 / 52%);
  border-radius: var(--radius-medium);
  background: var(--surface);
  color: var(--text-muted);
}

.empty-state span {
  font-size: 2.2rem;
}

.empty-state p {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgb(130 117 106 / 20%);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .main {
    gap: 88px;
    padding-block: 36px 88px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
    width: min(100%, 470px);
    margin-inline: auto;
  }

  .hero-visual img {
    height: min(580px, 118vw);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .host-photo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 1rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(112px, 0.78fr) minmax(0, 1.22fr);
    grid-template-areas:
      "cover latest"
      "cover title"
      "meta meta"
      "capacity capacity"
      "summary summary"
      "agenda agenda"
      "cta cta";
    align-items: start;
    gap: 18px 14px;
  }

  .hero-copy {
    display: contents;
  }

  .hero .eyebrow {
    grid-area: latest;
    align-self: end;
    margin: 0;
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .hero h1 {
    grid-area: title;
    align-self: start;
    font-size: clamp(1.5rem, 7vw, 2.05rem);
  }

  .hero h1 br {
    display: none;
  }

  .hero-visual {
    grid-area: cover;
    order: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .hero-visual figcaption {
    display: none;
  }

  .meta-separator {
    display: none;
  }

  .event-meta {
    grid-area: meta;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 4px;
  }

  .capacity-status {
    grid-area: capacity;
    display: grid;
    margin-top: 0;
  }

  .capacity-chip {
    width: 100%;
  }

  .capacity-remaining {
    margin-left: auto;
  }

  .hero-summary {
    grid-area: summary;
    margin: 0;
  }

  .event-agenda {
    grid-area: agenda;
    margin-bottom: 0;
  }

  .event-agenda ol {
    grid-template-columns: 1fr;
  }

  .hero .button {
    grid-area: cta;
  }

  .button {
    width: 100%;
  }

  .button-note {
    display: none;
  }

  .feature-list li {
    padding-inline: 6px;
  }

  .about-section {
    padding: 28px 22px;
  }

  .social-links {
    display: grid;
  }

  .social-links a {
    justify-content: center;
  }

  .footer-content {
    min-height: 106px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
  }
}

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

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