@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-600-normal-latin.woff2") format("woff2");
}

:root {
  --bg: #fbf9f4;
  --band: #f3efe6;
  --surface: #ffffff;
  --ink: #2c2824;
  --text: #4a443d;
  --muted: #8a8278;
  --line: #e2ddd2;
  --heading: #7a6650;
  --accent: #8b6f52;
  --foot: #6e5c4c;
  --pine: #21443b;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --gap: clamp(56px, 8vw, 88px);
  --header-h: calc(60px + env(safe-area-inset-top, 0px));
}

html[data-lang="zh"] {
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body {
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="zh"] body {
  line-height: 1.75;
}

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

/* Header */

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 40px) 12px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(10px, 1.4vw, 20px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-lang="zh"] .nav {
  letter-spacing: 0.06em;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

/* Language selector (from the save-the-date app) */

.lang-bar {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-bar a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.3;
}

.lang-bar a:hover {
  color: var(--ink);
}

.lang-bar a.active {
  color: var(--pine);
  background: #e9eee9;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  place-items: end center;
  width: 100%;
  height: clamp(380px, 52vw, 640px);
  padding-bottom: 12px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: calc(100% - 80px);
  overflow: hidden;
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.hero-media img.is-sketch {
  object-position: center 42%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 54% 56% at 50% 46%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 56% at 50% 46%, #000 72%, transparent 100%);
}

.hero-media img.is-sketch.is-active {
  opacity: 0.38;
  visibility: visible;
}

/* Photos stop above the date line: --photo-h is measured in app.js from .hero-copy. */
.hero-media img.is-photo {
  inset: 10px auto auto 0;
  height: var(--photo-h, calc(100% - 220px));
  object-position: center;
}

.hero-media img.is-photo.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: zoom-in;
}

.hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(28 24 20 / 0.88);
  color: #fbf9f4;
}

.hero-lightbox::backdrop {
  background: transparent;
}

.hero-lightbox[open] {
  display: grid;
  place-items: center;
}

.hero-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  margin: 0;
  border: 0;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.hero-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(251 249 244 / 0.16);
  color: inherit;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.hero-lightbox-close:hover,
.hero-lightbox-close:focus-visible {
  background: rgb(251 249 244 / 0.3);
  outline: none;
}

.hero-arrow {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(251 249 244 / 0.55);
  color: var(--heading);
  font: inherit;
  font-size: 1.9rem;
  line-height: 1;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  opacity: 0.95;
  background: rgb(251 249 244 / 0.9);
  outline: none;
}

/* Fixed arrow slots — same place on every slide, even if they sit on the picture. */
.hero-arrow-prev {
  left: max(12px, calc(50% - min(36vw, 380px)));
}

.hero-arrow-next {
  right: max(12px, calc(50% - min(36vw, 380px)));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-date {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--heading);
}

h1 em {
  font-weight: 500;
}

.hero-tag {
  margin: 8px 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}

.countdown {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-rsvp {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.hero-rsvp:hover {
  background: var(--heading);
}

.top-rsvp {
  display: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sections */

.band {
  padding: var(--gap) 20px;
  background: var(--bg);
}

.band.alt {
  background: var(--band);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wrap.wide {
  max-width: 900px;
}

.wrap.narrow {
  max-width: 560px;
}

h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--heading);
}

.lead {
  max-width: 560px;
  margin: 0 auto 14px;
}

.placeholder {
  color: var(--muted);
}

.label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

html[data-lang="zh"] .label {
  letter-spacing: 0.08em;
}

.label.center {
  margin-bottom: 6px;
}

.sub {
  margin: 48px 0 12px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--heading);
}

.pill,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill:hover,
.btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Story */

.story-visual {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.globe-wrap {
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.scene-wrap {
  width: 100%;
  aspect-ratio: 2.35 / 1;
}

#scene {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  cursor: pointer;
  touch-action: manipulation;
}

#globe {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: manipulation;
}

#globe:active {
  cursor: grabbing;
}

/* Sketches */

.sketch-wrap {
  margin: 8px 0 32px;
}

.sketch {
  display: block;
  width: 100%;
  aspect-ratio: 2.35 / 1;
}

.still {
  display: block;
  width: 100%;
  height: auto;
}

.sketch-wrap.small {
  max-width: 360px;
  margin: 32px auto 0;
}

.sketch.aurora {
  aspect-ratio: 2 / 1;
}

.sketch-wrap figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}

/* The day */

.when {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 18px;
}

.when strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.venue {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--heading);
}

.address {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.program-note {
  max-width: 520px;
  margin: 0 auto 8px;
  font-size: 0.9rem;
  font-style: italic;
}
.program-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.program {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.program li {
  display: grid;
  grid-template-columns: 7.6rem 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.program span {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--heading);
}

.program strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.program p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-style: italic;
}

/* Travel */

.info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  text-align: left;
}

.info.three {
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.info h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading);
}

.info p {
  margin: 0;
  font-size: 0.95rem;
}

/* RSVP */

.card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
}

.field {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.field > span,
legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-color: var(--accent);
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.choice legend {
  width: 100%;
}

.choice label {
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label span {
  display: inline-block;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  text-align: center;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.form-error {
  margin: 0 0 14px;
  color: #9a3b36;
  font-size: 0.92rem;
}

.rsvp-quiet {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.78rem;
}

.rsvp-quiet .link {
  font-size: inherit;
  letter-spacing: 0.02em;
}

.lookup-lead {
  margin: 0 0 16px;
  color: var(--muted);
}

.guest-card {
  margin: 0 0 22px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
}

.guest-card:last-child {
  margin-bottom: 8px;
  border-bottom: 0;
}

.guest-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading);
}

.guest-card .choice label span {
  min-width: 72px;
  padding: 8px 14px;
}

.plus-one {
  padding-top: 8px;
}

.choice label.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.plus-lock {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.plus-lock a {
  color: inherit;
}

.guest-card h3.optional {
  font-family: inherit;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.rsvp-extras .field {
  margin-top: 16px;
}

.rsvp-extras .extra-line input {
  padding: 4px 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.rsvp .btn {
  min-height: 44px;
  padding: 10px 26px;
  background: var(--accent);
  color: #fff;
}

.rsvp .btn:hover {
  background: var(--foot);
}

.rsvp-done {
  text-align: center;
}

.rsvp-done .rsvp-quiet {
  margin-top: 12px;
}

.big {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--heading);
}

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 600px;
  margin: 28px auto 0;
  text-align: center;
}

.pay .card {
  flex: 0 0 calc((100% - 28px) / 3);
  padding: 18px 12px;
  text-align: center;
}

.pay strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--heading);
}

.pay-link {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  word-break: break-word;
}

.pay-copy {
  margin-top: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Footer */

.foot {
  padding: 40px 20px 44px;
  background: var(--foot);
  color: #efe7da;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.foot p {
  margin: 0;
}

.foot-names {
  margin-bottom: 4px !important;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0;
  color: #fff;
}

/* Things to do */

.wrap.guide {
  text-align: left;
}

.wrap.guide .lead {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.guide-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--heading);
}

.guide-hours,
.guide-closing {
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.guide-toc a {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.guide-toc a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.guide-map {
  margin: 28px 0 0;
}

.guide-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.guide-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .guide-map-frame {
    aspect-ratio: 3 / 4;
  }
}

body.explore-page {
  font-size: 16px;
  line-height: 1.45;
}

body.explore-page .foot {
  padding: 28px 20px 36px;
}

.explore-shell {
  padding: 20px 16px 32px;
}

.explore-toggle-row {
  margin: 22px 0 0;
}

.info + .explore-toggle-row {
  margin-top: 28px;
}

.explore-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.explore-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.explore-toggle[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.explore-toggle-hide,
.explore-toggle[aria-expanded="true"] .explore-toggle-show {
  display: none;
}

.explore-toggle[aria-expanded="true"] .explore-toggle-hide {
  display: inline;
}

.explore-panel {
  margin: 20px -20px 0;
  font-size: 16px;
  line-height: 1.45;
}

.hotels-panel {
  margin-left: 0;
  margin-right: 0;
}

.explore-panel[hidden] {
  display: none;
}

.explore-panel .explore-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.explore-hero {
  max-width: 1180px;
  margin: 0 auto 14px;
}

.explore-hero .guide-title {
  margin: 0 0 6px;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
}

.explore-intro,
.explore-hours {
  margin: 0 0 4px;
  max-width: 62rem;
}

.explore-hours {
  color: var(--muted);
  font-size: 0.86rem;
}

.explore-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.explore-map-col {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-h) - 28px);
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}

.explore-map-frame {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.explore-map-frame iframe,
#explore-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#explore-map {
  z-index: 0;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  background: #eef0ec;
  font: inherit;
  touch-action: pan-x pan-y;
}

#explore-map.leaflet-safari .leaflet-tile-container {
  width: auto;
  height: auto;
}

.explore-map-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin: 6px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.explore-map-foot a {
  font-size: 1rem;
  font-weight: 600;
}

.explore-map-foot a,
.explore-maps a,
.leaflet-popup-content a.map-open {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.explore-maps {
  margin: 2px 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.explore-pin {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--pin, var(--accent));
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.explore-pin::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: var(--pin, var(--accent));
}

.explore-pin:hover,
.explore-pin:focus-visible {
  color: var(--pin, var(--accent));
}

.explore-sec {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--layer);
  border-radius: 10px;
  background: var(--surface);
}

.explore-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 6px 10px 12px;
  cursor: pointer;
}

.explore-sec-dot {
  display: none;
}

.explore-sec-title {
  flex: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

.explore-sec-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.explore-sec-toggle::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.explore-sec.is-collapsed .explore-sec-toggle::before {
  transform: translateY(1px) rotate(-45deg);
}

.explore-sec-toggle:hover {
  background: var(--band);
}

.explore-sec-body {
  padding: 0 12px 6px;
}

.explore-intro-block {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.explore-group {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.explore-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.explore-item:last-child {
  border-bottom: 0;
}

.explore-item-title {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.explore-text p,
.explore-note {
  margin: 0 0 6px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.explore-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.explore-more {
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.explore-more::after {
  content: " ›";
}

.explore-more[aria-expanded="true"]::after {
  content: " ‹";
}

.explore-more:hover {
  color: var(--heading);
  text-decoration: underline;
}

.wrap.wide.hotels-wrap {
  max-width: 1160px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hotels-heading {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.hotels-hide-row {
  margin: 18px 0 0;
  text-align: center;
}

.hotels-hide {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotels-wrap .lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hotels-dates {
  color: var(--text);
}

.info a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotel-toggle-label {
  margin: 8px 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hotel-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hotel-toggle .chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.hotel-toggle .chip.on {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}

.hotels-diagram-frame {
  position: relative;
  height: auto;
  aspect-ratio: 1000 / 560;
  margin: 8px 0 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dce3de;
}

@media (min-width: 761px) {
  .hotels-diagram-frame {
    max-width: 820px;
    margin-inline: auto;
  }
}

.hotels-diagram-art {
  position: absolute;
  inset: 0;
}

.hotels-diagram-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hotels-diagram-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hotels-diagram-pins button {
  position: absolute;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: auto;
  cursor: pointer;
}

.hotels-diagram-pins .hotel-rank-pin {
  z-index: 3;
  width: 32px;
  height: 42px;
  transform: translate(-50%, -88%);
}

.hotels-diagram-pins .hotel-rank-pin.first {
  z-index: 4;
}

.hotels-diagram-pins .hotel-venue-pin {
  z-index: 2;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
}

.hotels-diagram-pins .hotel-transit-pin {
  z-index: 1;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

.hotel-transit-pin {
  background: none;
  border: 0;
}

.hotel-transit-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #8a92a8;
}

.hotel-transit-badge.bus {
  background: #a07a6a;
}

.hotel-transit-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hotels-lead-block {
  margin: 0 auto 12px;
  max-width: 36rem;
  text-align: center;
}

.hotels-diagram-popup {
  position: absolute;
  z-index: 4;
  min-width: 160px;
  max-width: 240px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.35;
  transform: translate(-50%, calc(-100% - 18px));
}

.hotels-diagram-popup a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotels-diagram-popup .muted {
  color: var(--muted);
}

.hotel-rank-pin {
  background: none;
  border: 0;
}

.hotel-rank-pin span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

.hotel-rank-pin span b {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(45deg);
}

.hotel-rank-pin.first span {
  background: var(--pine);
}

/* Hotel comparison: each rate owns its conditions and booking action. */
.hotels-table-wrap {
  width: 100%;
  text-align: left;
}

.hotel-list {
  --hotel-number: 28px;
  --hotel-name: minmax(210px, 0.9fr);
  --hotel-rates: minmax(0, 2fr);
  --hotel-booking: 180px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.hotel-comparison-note {
  display: none;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.hotel-comparison-note p {
  margin: 0;
  max-width: 72ch;
  font-size: 0.95rem;
}

.hotel-comparison-note .hotel-price-basis-mobile {
  display: none;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--heading);
}

.hotel-list-head,
.hotel-row {
  display: grid;
  grid-template-columns: var(--hotel-number) var(--hotel-name) var(--hotel-rates);
  column-gap: 20px;
  align-items: start;
}

.hotel-list-head {
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hotel-rates-heading small {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
}

.hotel-list-head > span:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  padding-right: calc(var(--hotel-booking) + 24px);
}

.hotel-list-head > span:last-child {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: var(--hotel-booking);
}

.hotel-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.hotel-row:last-child { border-bottom: 0; }

.hotel-rank {
  width: 28px;
  height: 44px;
  margin-top: -7px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 1.2rem var(--serif);
  color: var(--heading);
  cursor: pointer;
  text-align: center;
}

.hotel-id, .hotel-options, .hotel-rate-main { min-width: 0; }

.hotel-id h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.hotel-id h3 a {
  color: var(--heading);
  text-decoration: none;
}

.hotel-id h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hotel-label {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hotel-more { margin-top: 4px; }
.hotel-more summary {
  width: fit-content;
  padding: 8px 0;
  min-height: 36px;
  cursor: pointer;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.hotel-more p {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hotel-rate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hotel-booking);
  gap: 8px 24px;
  align-items: start;
}

.hotel-rate + .hotel-rate {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hotel-rate-label {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
}

.hotel-cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

.hotel-cost > span { white-space: nowrap; }
.hotel-cost > span + span::before {
  content: "·";
  margin-right: 6px;
  color: var(--muted);
}

.hotel-terms {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 58ch;
}

.hotel-book-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hotel-book {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  line-height: 1.4;
}

.hotel-book:hover { color: var(--ink); }
.hotel-book:focus-visible, .hotel-rank:focus-visible, .hotel-more summary:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 4px;
}

.hotel-book-code {
  font-size: 0.85rem;
  color: var(--muted);
}

.hotel-book-hint {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.hotel-book-hint code, .hotel-more code {
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.hotel-usual { color: var(--muted); }

@media (max-width: 1050px) {
  .hotel-list { --hotel-booking: 160px; --hotel-name: minmax(175px, 0.8fr); }
  .hotel-list-head, .hotel-row { column-gap: 14px; }
  .hotel-rate { column-gap: 16px; }
}

@media (max-width: 760px) {
  .hotels-diagram-pins [data-diagram-pin="hotel:hobo"] {
    margin-left: 22px;
    margin-top: 10px;
  }

  .hotel-list-head { display: none; }
  .hotel-comparison-note { display: block; }
  .hotel-comparison-note .hotel-price-basis-mobile { display: block; }
  .hotel-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 22px 0;
  }
  .hotel-options { grid-column: 2; }
  .hotel-rate { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hotel-id h3 { font-size: 1.3rem; }
  .hotel-terms, .hotel-label { font-size: 1rem; }
  .hotel-book { font-size: 1rem; }
  .hotel-book-hint { font-size: 0.95rem; }
}

.hotel-venue-pin {
  background: none;
  border: 0;
}

.hotel-venue-pin span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #a66a7a;
  color: #fff;
  font-size: 0.9rem;
}

.hotels-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
}

@media (max-width: 900px) {
  .explore-shell {
    padding: 12px 12px 24px;
  }

  .explore-intro {
    font-size: 0.92rem;
  }

  .explore-hours {
    display: none;
  }

  .explore-stage {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .explore-map-col {
    order: -1;
    position: sticky;
    top: var(--header-h);
    z-index: 6;
    width: 100%;
    height: min(40vh, 320px);
    padding: 4px 0 6px;
    background: var(--bg);
  }

  .explore-map-frame {
    min-height: 0;
  }

  .explore-map-foot-desktop {
    display: none;
  }

  .explore-list {
    width: 100%;
  }

  .explore-sec-title {
    font-size: 1.2rem;
  }

  .explore-item-title {
    font-size: 1rem;
  }

  .explore-more {
    min-height: 32px;
  }
}

.guide-item {
  margin: 28px 0 0;
}

.guide-item h3,
.guide-group-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--heading);
}

.guide-group {
  margin-top: 40px;
}

.guide-group-title {
  font-size: 1.55rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.guide-item p {
  margin: 0 0 10px;
}

.guide-item .label {
  margin-bottom: 8px;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
}

.guide-link {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-link:hover {
  color: var(--heading);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

/* Mobile */

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    letter-spacing: 0.08em;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 0;
    color: var(--ink);
  }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    height: auto;
    padding: 12px 0 40px;
  }

  .hero-media {
    position: relative;
    height: min(58vw, 360px);
  }

  .hero-arrow {
    top: 28%;
    opacity: 0.6;
  }

  .hero-arrow-prev {
    left: 10px;
  }

  .hero-arrow-next {
    right: 10px;
  }

  .hero-copy {
    margin-top: -6px;
  }

  .top {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .top-rsvp {
    display: inline-block;
  }

  html[data-lang="zh"] .top-rsvp {
    letter-spacing: 0.04em;
  }

  .lang-bar a {
    padding: 4px 6px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .info,
  .info.three {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pay {
    gap: 20px;
  }

  .pay .card {
    flex-basis: 100%;
  }

  .when {
    gap: 28px;
  }

  .card {
    padding: 20px;
  }
}

