:root {
  --forest: #143f37;
  --forest-deep: #102e29;
  --green: #0f4d3e;
  --teal: #6baa96;
  --cream: #f7f1e4;
  --paper: #fffaf2;
  --sand: #f0e7d7;
  --gold: #c9a76a;
  --gold-light: #f1d8a5;
  --ink: #223a34;
  --muted: #53665e;
  --line: #e3d8c4;
  --attention: #8a3e27;
  --serif: "Songti SC", "Noto Serif CJK SC", STSong, SimSun, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.2vw, 52px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ul { margin: 0; }
h1, h2, .wordmark { font-family: var(--serif); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #977036; outline-offset: 3px; }
[id] { scroll-margin-top: 20px; }

.content-width { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); padding: 8px 16px; background: var(--paper); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 2; color: var(--cream); background: var(--forest); border-bottom: 1px solid rgba(241, 216, 165, .22); }
.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 20px;
  width: calc(100% - var(--gutter) * 2);
  max-width: 1320px;
  margin-inline: auto;
}
.wordmark { justify-self: start; width: max-content; color: inherit; text-align: center; text-decoration: none; line-height: 1.1; }
.wordmark > span:first-child { display: block; font-size: 1.33rem; letter-spacing: .10em; white-space: nowrap; }
.wordmark-mark { display: block; margin-top: 4px; color: var(--gold-light); font: italic 1rem/1 Georgia, serif; letter-spacing: .1em; }
.wordmark-mark::before, .wordmark-mark::after { content: ""; display: inline-block; width: 16px; height: 1px; margin: 0 6px 4px; background: var(--gold); }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 40px); }
.desktop-nav a { text-decoration: none; font-size: .875rem; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav [aria-current] { color: var(--gold-light); }
.site-menu, .mobile-bar { display: none; }
.header-cta { justify-self: end; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 46px; padding: 8px 22px; border: 1px solid transparent; border-radius: 99px; font-size: .925rem; font-weight: 650; text-align: center; text-decoration: none; line-height: 1.3; }
.site-header .button { min-height: 42px; }
.button-gold { color: var(--forest-deep); background: var(--gold-light); border-color: var(--gold-light); }
.button-gold:hover { background: #fae8c4; }
.button-primary { color: #fffaf2; background: var(--green); }
.button-primary:hover { background: var(--forest-deep); }
.button-outline { color: var(--green); border-color: var(--green); }
.button-outline:hover { background: #e7eee3; }
.button-glass { border-color: rgba(255, 250, 239, .74); color: #fffaf2; background: rgba(16, 46, 41, .34); }
.button-glass:hover { background: rgba(16, 46, 41, .75); }

.home-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(475px, 49vw, 610px); overflow: hidden; color: #fff7e8; background: var(--forest-deep); }
.hero-image { position: absolute; z-index: -2; top: 0; right: 0; width: 78%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #102e29 2%, rgba(16, 46, 41, .95) 20%, rgba(16, 46, 41, .81) 33%, rgba(16, 46, 41, .32) 53%, transparent 72%), linear-gradient(0deg, rgba(16, 46, 41, .45), transparent 35%); }
.hero-content { position: relative; padding-block: 49px 60px; }
.hero-place, .eyebrow { font-size: .73rem; font-weight: 700; letter-spacing: .21em; }
.hero-place { color: var(--gold-light); }
.hero-place span { margin-inline: .25em; }
.hero-content h1 { margin: 15px 0 7px; font-size: clamp(2.7rem, 6.3vw, 5.5rem); font-weight: 600; letter-spacing: .05em; line-height: 1.13; }
.hero-mark { display: flex; align-items: center; gap: 16px; width: max-content; max-width: 100%; color: var(--gold-light); font: italic clamp(2.1rem, 4.1vw, 3.55rem)/1.12 Georgia, serif; letter-spacing: .04em; }
.hero-mark::before, .hero-mark::after { content: ""; display: block; width: clamp(22px, 4.3vw, 62px); height: 1px; background: var(--gold); }
.hero-motto { margin-top: 20px; font: 600 clamp(1.1rem, 2vw, 1.52rem)/1.55 var(--serif); letter-spacing: .06em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 5px 22px; margin-top: 13px; color: #fff3df; font-size: .91rem; }
.hero-meta span { white-space: nowrap; }
.hero-meta i { margin-right: .35rem; color: var(--gold-light); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button { min-width: 145px; }
.hero-caption { position: absolute; right: var(--gutter); bottom: 18px; display: flex; align-items: center; gap: 10px; color: #fff3df; text-shadow: 0 1px 5px #102e29; font-size: .73rem; letter-spacing: .14em; }
.hero-caption span { width: 26px; height: 1px; background: var(--gold-light); }

.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.quick-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 75px; padding: 12px 16px; color: var(--forest); background: var(--sand); border: 1px solid #ecdfca; border-radius: 12px; text-decoration: none; }
.quick-tile:hover { background: #e9decb; }
.quick-tile > i:first-child { font-size: 1.22rem; }
.quick-tile strong, .quick-tile small { display: block; line-height: 1.4; }
.quick-tile strong { font-size: .98rem; }
.quick-tile small { color: var(--muted); font-size: .71rem; }
.quick-tile .tile-arrow { font-size: .7rem; }
.main-section { margin-top: clamp(36px, 5.5vw, 72px); }
.section-heading { margin-bottom: 16px; }
.eyebrow { color: #5e6347; }
.section-heading h2, .registration-panel h2 { color: var(--forest-deep); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.3; margin-top: 4px; }
.itinerary-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.itinerary-panel > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 11px; }
.itinerary-panel i { color: var(--green); }
.itinerary-panel span, .itinerary-panel > p { color: var(--muted); font-size: .875rem; }
.itinerary-panel > p { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); }
.section-subheading { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 10px; color: var(--forest); }
.section-subheading h3 { font: 700 1.25rem/1.45 var(--serif); }
.section-subheading > span { color: var(--muted); font: italic .86rem Georgia, serif; }
.scenery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scenery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.scenery-card img { width: 100%; height: clamp(130px, 20vw, 226px); object-fit: cover; object-position: center 56%; }
.scenery-card > div { padding: 13px 15px 15px; }
.scenery-card h3 { font-size: 1.03rem; }
.scenery-card p { font-size: .875rem; }
.scenery-card .scenery-name { margin-bottom: 5px; color: var(--muted); font: italic .87rem/1.4 Georgia, serif; }
.more-scenery { margin-top: 10px; }
.more-scenery summary, .archive-note summary { width: max-content; max-width: 100%; padding: 9px 0; cursor: pointer; color: var(--green); font-weight: 650; }
.more-scenery .scenery-grid { margin-top: 8px; }
.registration-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 3.2vw, 36px); background: #e7ebe0; border: 1px solid #d5ddcb; border-radius: 14px; }
.registration-panel p:last-child { margin-top: 8px; }
.registration-panel .button { flex: 0 0 auto; }

.accordion-list { display: grid; gap: 8px; }
.accordion { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.accordion > summary { position: relative; display: flex; align-items: center; gap: 12px; min-height: 55px; padding: 11px 20px; color: var(--forest-deep); background: var(--sand); list-style: none; cursor: pointer; font-weight: 700; }
.accordion > summary::-webkit-details-marker, .site-menu > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-left: auto; margin-right: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.accordion[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.accordion > summary:focus-visible { outline-offset: -4px; }
.accordion > div { padding: 14px 20px 17px; }
.accordion a { color: var(--green); text-underline-offset: 3px; }

.guide-hero {
  padding: 24px 0 clamp(30px, 5.2vw, 66px);
  color: #fff8e9;
  background: linear-gradient(90deg, #18372c 1%, rgba(24, 55, 44, .91) 24%, rgba(24, 55, 44, .53) 62%, rgba(24, 55, 44, .16)), url("images/grand_palace.png") center 49% / cover no-repeat, var(--forest);
}
.light-back { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-bottom: clamp(9px, 2vw, 25px); color: #fff7e5; font-size: .85rem; text-decoration: none; }
.light-back:hover { text-decoration: underline; }
.guide-hero .eyebrow { color: var(--gold-light); }
.guide-hero h1 { margin: 8px 0 10px; font-size: clamp(2.35rem, 5vw, 4.25rem); letter-spacing: .06em; line-height: 1.2; }
.guide-hero p:last-child { max-width: 35em; }
.guide-layout { display: grid; grid-template-columns: minmax(160px, 225px) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); padding-top: 30px; }
.guide-index { position: sticky; top: 20px; align-self: start; display: grid; align-content: start; gap: 2px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.guide-index h2 { padding: 0 7px 6px; font-size: 1.15rem; }
.guide-index a { padding: 8px 7px; color: var(--muted); text-decoration: none; border-radius: 5px; font-size: .9rem; }
.guide-index a:hover { color: var(--green); background: var(--sand); }
.guide-callout { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; padding: 13px 17px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; color: #683b27; background: #f4e8ce; font-size: .91rem; }
.guide-card > summary i { width: 1.45em; color: var(--green); text-align: center; }
.guide-card-body h3 { font-size: 1rem; margin: 12px 0 4px; }
.guide-card-body h3:first-child { margin-top: 0; }
.guide-card-body p + p, .guide-card-body ul + p { margin-top: 9px; }
.guide-card-body ul { padding-left: 1.25em; }
.emphasis { color: var(--attention); }
.packing-list { columns: 2; column-gap: 24px; }
.packing-list li { break-inside: avoid; }
.guide-price { color: var(--green); font-size: 1.5rem; font-weight: 700; }
.guide-price span { font-size: .9rem; }
.guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.archive-note { margin-top: 13px; padding-top: 4px; border-top: 1px solid var(--line); font-size: .9rem; }
.archive-note p { color: var(--muted); }
.guide-bottom { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.site-footer { margin-top: clamp(40px, 6vw, 75px); padding: 24px 0; color: var(--cream); background: var(--forest); }
.site-footer .content-width { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; }
.site-footer p, .footer-link { color: #e8deca; font-size: .8rem; }
.footer-link { margin-left: auto; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .site-header-inner { min-height: 62px; width: calc(100% - 18px); gap: 4px; }
  .site-header .wordmark { justify-self: center; }
  .wordmark > span:first-child { font-size: 1.11rem; }
  .wordmark-mark { font-size: .83rem; }
  .site-header .button { min-height: 38px; padding-inline: 9px; font-size: .78rem; }
  .desktop-nav { display: none; }
  .site-menu { display: block; justify-self: start; }
  .site-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; font-size: 1.11rem; }
  .site-menu nav { position: absolute; top: 100%; left: 9px; display: grid; min-width: 164px; padding: 5px; border: 1px solid #38635a; border-radius: 0 0 10px 10px; background: var(--forest); }
  .site-menu:not([open]) nav { display: none; }
  .site-menu nav a { padding: 10px 13px; border-radius: 5px; color: var(--cream); text-decoration: none; font-size: .9rem; }
  .site-menu nav a:hover { background: #25564a; }
  .home-hero { min-height: clamp(380px, 114vw, 490px); text-align: center; }
  .hero-image { width: 100%; object-position: center 49%; }
  .hero-overlay { background: linear-gradient(0deg, var(--cream) 0%, rgba(247, 241, 228, .98) 22%, rgba(247, 241, 228, .91) 31%, rgba(247, 241, 228, .24) 43%, transparent 53%), linear-gradient(180deg, rgba(14, 43, 35, .69), rgba(14, 43, 35, .43) 36%, transparent 66%); }
  .hero-content { display: grid; justify-items: center; padding-block: 38px 51px; }
  .hero-content h1 { margin-top: 11px; font-size: clamp(2.42rem, 10.8vw, 4rem); text-shadow: 0 1px 12px #16392f; }
  .hero-mark { gap: 12px; }
  .hero-motto { grid-row: 5; margin-top: clamp(60px, 19vw, 92px); color: var(--forest-deep); }
  .hero-meta { grid-row: 4; justify-content: center; gap: 2px 12px; margin-top: 8px; font-size: .8rem; text-shadow: 0 1px 4px #16392f; }
  .hero-actions { justify-content: center; flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .hero-actions .button { min-width: 0; padding-inline: clamp(12px, 4vw, 22px); white-space: nowrap; }
  .hero-actions .button-gold { color: #fffaf2; background: var(--green); border-color: var(--green); }
  .hero-actions .button-gold:hover { background: var(--forest-deep); }
  .hero-actions .button-glass { color: var(--green); background: transparent; border-color: var(--green); }
  .hero-actions .button-glass:hover { background: #e7eee3; }
  .hero-caption { bottom: 10px; color: var(--muted); text-shadow: none; font-size: .64rem; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 7px; }
  .quick-tile { min-height: 64px; gap: 8px; padding: 7px 9px; }
  .quick-tile strong { font-size: .88rem; }
  .quick-tile .tile-arrow { font-size: .6rem; }
  .quick-tile > i:first-child { font-size: 1rem; }
  .scenery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .scenery-card > div { padding: 9px; }
  .scenery-card h3 { font-size: .9rem; }
  .scenery-card p { font-size: .81rem; }
  .itinerary-panel { grid-template-columns: 1fr; padding: 13px; }
  .registration-panel { align-items: flex-start; flex-direction: column; gap: 13px; }
  .guide-layout { grid-template-columns: 1fr; gap: 13px; padding-top: 14px; }
  .guide-index { display: none; }
  .guide-hero { padding-top: 8px; }
  .guide-hero p:last-child { font-size: .88rem; }
  .accordion > summary { padding-inline: 13px; }
  .accordion > div { padding-inline: 13px; }
  .site-footer .content-width { gap: 11px 15px; }
  .footer-link { margin-left: 0; }
  .has-mobile-bar { padding-bottom: 62px; padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 3px 5px 4px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(241, 216, 165, .26);
    color: var(--cream);
    background: var(--forest);
  }
  .mobile-bar a { display: grid; justify-items: center; align-content: center; gap: 5px; min-width: 0; min-height: 49px; padding-inline: 1px; color: inherit; text-decoration: none; white-space: nowrap; font-size: .64rem; line-height: 1.15; }
  .mobile-bar a i { font-size: .94rem; }
  .mobile-bar a[aria-current] { color: var(--gold-light); }
  .mobile-bar .mobile-book { color: var(--gold-light); font-weight: 700; }
  .mobile-book i { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--forest-deep); background: var(--gold-light); }
}
