:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --ink: #25211c;
  --muted: #746e63;
  --line: rgba(37, 33, 28, 0.14);
  --rose: #b85d63;
  --jade: #26736b;
  --gold: #c9923e;
  --clay: #d9a28a;
  --shadow: 0 24px 70px rgba(43, 34, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif TC", "Microsoft JhengHei", "PingFang TC", serif;
  letter-spacing: 0;
}

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

a,
button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(rgba(25, 20, 16, 0.44), rgba(25, 20, 16, 0));
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
}

.brand span {
  font-size: 0.8rem;
}

.brand strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 0.78rem;
}

.site-header nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(22px, 6vw, 90px) 56px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 17, 12, 0.78), rgba(24, 17, 12, 0.28) 48%, rgba(24, 17, 12, 0.08)),
    linear-gradient(0deg, rgba(24, 17, 12, 0.48), rgba(24, 17, 12, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.6rem, 11vw, 8.7rem);
  line-height: 0.92;
  font-weight: 600;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
}

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

.hero-actions a {
  min-width: 116px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-actions a:first-child {
  background: #fff;
  color: var(--ink);
}

.hero-strip {
  position: absolute;
  right: clamp(22px, 5vw, 78px);
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 92px);
  gap: 10px;
}

.hero-strip img {
  width: 92px;
  height: 118px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.band,
.gallery-section,
.feature-grid,
.destination-section,
.closing {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(26px, 6vw, 90px);
  padding: 84px 0 56px;
  align-items: end;
}

.intro h2,
.section-heading h2,
.wide-photo h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  line-height: 1.08;
  font-weight: 560;
}

.intro-note {
  border-left: 3px solid var(--rose);
  padding-left: 24px;
}

.intro-note p,
.timeline p,
.closing p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  grid-auto-rows: 260px;
  gap: 18px;
  padding-bottom: 82px;
}

.feature {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.feature-large {
  grid-row: span 2;
}

.feature img,
.wide-photo img,
.closing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature::after,
.wide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 13, 9, 0.66), rgba(17, 13, 9, 0.04) 58%);
}

.feature div,
.wide-photo div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}

.feature p,
.wide-photo p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.feature span {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.places {
  padding: 78px 0 88px;
  border-top: 1px solid var(--line);
}

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

.section-heading h2 {
  max-width: 720px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline-card {
  display: block;
  min-height: 260px;
  padding: 26px;
  color: inherit;
  background: var(--paper-strong);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.timeline-card:hover,
.timeline-card:focus-visible {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(43, 34, 25, 0.14);
  outline: 0;
}

.timeline-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--jade);
  font-family: Georgia, serif;
}

.timeline-card h3 {
  margin: 34px 0 14px;
  font-size: 1.5rem;
}

.timeline-card strong {
  display: inline-block;
  margin-top: 24px;
  color: var(--rose);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.destination-section {
  display: grid;
  gap: 22px;
  padding: 0 0 88px;
}

.destination-panel {
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.destination-panel.is-reversed .destination-copy {
  order: 2;
}

.destination-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.08;
  font-weight: 560;
}

.destination-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.destination-copy a {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
}

.destination-photos {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 12px;
  align-items: end;
}

.destination-photos img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(43, 34, 25, 0.14);
}

.destination-photos img:first-child {
  height: 430px;
}

.wide-photo {
  position: relative;
  min-height: 70svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 70px);
}

.wide-photo h2 {
  max-width: 720px;
  color: #fff;
}

.gallery-section {
  padding: 88px 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--paper-strong);
  cursor: pointer;
}

.filters button.is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: #ddd;
  cursor: pointer;
  box-shadow: 0 14px 45px rgba(43, 34, 25, 0.1);
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.photo-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(22, 18, 14, 0.62);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.05);
}

.photo-card.is-hidden {
  display: none;
}

.closing {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 0 0 100px;
}

.closing img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.closing h2 {
  margin-bottom: 22px;
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 68px 22px 34px;
  background: rgba(20, 16, 12, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1040px);
  max-height: 78svh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox p {
  margin: 16px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-header nav {
    gap: 12px;
  }

  .hero {
    min-height: 84svh;
    padding: 112px 20px 150px;
  }

  .hero-strip {
    left: 20px;
    right: auto;
    bottom: 26px;
    grid-template-columns: repeat(3, 78px);
  }

  .hero-strip img {
    width: 78px;
    height: 98px;
  }

  .intro,
  .destination-panel,
  .closing {
    grid-template-columns: 1fr;
  }

  .destination-panel.is-reversed .destination-copy {
    order: 0;
  }

  .feature-grid,
  .timeline,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .brand strong {
    width: 42px;
    height: 42px;
  }

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

  .hero h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .feature-grid,
  .timeline,
  .gallery,
  .photo-card.wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .feature-grid {
    grid-auto-rows: 250px;
  }

  .feature-large,
  .photo-card.tall {
    grid-row: auto;
  }

  .gallery {
    grid-auto-rows: 260px;
  }

  .wide-photo {
    min-height: 58svh;
  }

  .destination-photos {
    grid-template-columns: 1fr;
  }

  .destination-photos img,
  .destination-photos img:first-child {
    height: 300px;
  }
}
