:root {
  color-scheme: light;
  --ink: #1d2522;
  --muted: #5e6761;
  --paper: #fbfaf7;
  --soft: #f0eee6;
  --line: #d8d2c0;
  --forest: #203d34;
  --moss: #637a52;
  --gold: #b89a58;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(31, 37, 34, 0.16);
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 8px 30px rgba(22, 30, 26, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}

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

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: -4px;
  font-size: 12px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://static.wixstatic.com/media/7f6ccf_578f184e5e754e2e90c80ced1d3dc22a~mv2.jpg/v1/fill/w_2500,h_1666,al_c/7f6ccf_578f184e5e754e2e90c80ced1d3dc22a~mv2.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(11, 18, 16, 0.16), rgba(11, 18, 16, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 82px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 640px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

section:not(.hero) {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.intro,
.notes,
.registration,
.about {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid,
.notes,
.registration,
.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.date {
  display: inline-block;
  padding: 8px 16px;
  color: var(--forest);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.lead-copy {
  font-size: 19px;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-left: 0;
  padding-right: 0;
  background: var(--line);
}

.principles article {
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--forest);
  color: var(--white);
}

.principles span,
.note-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 700;
}

.principles p {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background: var(--white);
}

.split-image img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.content-list {
  display: grid;
  gap: 24px;
}

.content-list article {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.content-list p,
.note-list p,
.about p {
  color: var(--muted);
}

.quote-band {
  background: var(--moss);
  color: var(--white);
}

.quote-band p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.45;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.note-list article,
.registration-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(31, 37, 34, 0.06);
}

.registration {
  align-items: center;
  border-top: 1px solid var(--line);
}

.registration-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.registration-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.registration-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.registration-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
}

.registration-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery {
  background: var(--soft);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-grid img {
  height: 360px;
  object-fit: cover;
}

.gallery-grid img:nth-child(2) {
  margin-top: 46px;
}

.about {
  align-items: center;
}

.social-links {
  display: grid;
  gap: 14px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
}

.social-links a::after {
  content: "↗";
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #18241f;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 24px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(22, 30, 26, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 12px;
    padding: 12px 16px;
    text-align: center;
    border-color: var(--gold);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  .intro-grid,
  .notes,
  .registration,
  .about,
  .split {
    grid-template-columns: 1fr;
  }

  .principles,
  .note-list,
  .registration-cards,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: 220px;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(2) {
    height: 300px;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy,
  .lead-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  section:not(.hero) {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .site-footer {
    flex-direction: column;
  }
}
