:root {
  /* Every image in this token set has documented project-created or public-domain provenance. */
  --eccca-plum-gold: url("assets/public-domain-plum-blossom.webp");
  --eccca-qingming: url("assets/cultural-ink-landscape-v1.webp");
  --eccca-lantern-night: url("assets/cultural-red-plum-v1.webp");
  --eccca-entry-art: url("assets/home-loading-red-gold-lantern-frame-v1.webp");
  --tab-about: url("assets/public-domain-plum-blossom.webp");
  --tab-events: url("assets/cultural-red-plum-v1.webp");
  --tab-weekly: url("assets/cultural-ink-landscape-v1.webp");
  --tab-evergreen: url("assets/cultural-jade-bamboo-v1.webp");
  --tab-gallery: url("assets/nine-dragons-handscroll.webp");
  --tab-join: url("assets/cultural-red-plum-v1.webp");
  --tab-directory: url("assets/directory-blue-ink-landscape-v1.png");
  --tab-contact: url("assets/contact-moon-garden-original-v3.webp");
}

/* Contact page — original umbrella-and-ink-wash landscape. */
html body.heritage-contact .pagehero {
  background: #eee6d7 !important;
  color: #211d19 !important;
}
html body.heritage-contact .pagehero::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  filter: none !important;
  border: 0 !important;
  background: #eee6d7 var(--tab-contact) center / cover no-repeat !important;
}
html body.heritage-contact .pagehero::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(246,241,230,.9) 0%, rgba(246,241,230,.7) 38%, rgba(246,241,230,.16) 66%, transparent 84%) !important;
}
html body.heritage-contact .pagehero__grid { position: relative; z-index: 2; }
html body.heritage-contact .pagehero__grid > div:first-child {
  border-color: rgba(163,37,48,.62) !important;
  background: rgba(249,245,235,.7) !important;
  box-shadow: 0 20px 48px rgba(45,34,27,.13) !important;
}
html body.heritage-contact .pagehero__grid > p {
  color: #342c27 !important;
  border-color: rgba(168,117,49,.4) !important;
  background: rgba(249,245,235,.7) !important;
  box-shadow: 0 18px 42px rgba(45,34,27,.12) !important;
}
html body.heritage-contact .pagehero :is(h1,h2) {
  color: #221d19 !important;
  text-shadow: none !important;
}
html body.heritage-contact .pagehero .eyebrow { color: #8f1e2b !important; text-shadow: none !important; }
@media (max-width: 760px) {
  html body.heritage-contact .pagehero::before { background-position: 70% center !important; }
  html body.heritage-contact .pagehero::after {
    background: linear-gradient(180deg, rgba(246,241,230,.34), rgba(246,241,230,.88) 68%, rgba(246,241,230,.96)) !important;
  }
}

/* Compact gold leadership cards — About page. */
html body.heritage-about.tradition-in-motion #main .about-board-section {
  padding: clamp(1.35rem, 2.6vw, 2.25rem) !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .board {
  gap: clamp(.65rem, 1vw, .85rem) !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n) {
  min-height: 108px !important;
  justify-content: center;
  padding: clamp(.9rem, 1.35vw, 1.15rem) !important;
  color: #241608 !important;
  border: 1px solid rgba(255, 237, 179, .58) !important;
  border-radius: 4px 16px 4px 16px !important;
  background: linear-gradient(145deg, #e5bd67 0%, #cf9840 58%, #b97926 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 215, .5), 0 8px 18px rgba(0, 0, 0, .15) !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n):hover {
  border-color: rgba(255, 244, 204, .8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 215, .58), 0 10px 22px rgba(0, 0, 0, .18) !important;
  transform: none !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person strong {
  color: #201307 !important;
  font-size: clamp(1rem, 1.15vw, 1.08rem) !important;
  line-height: 1.2;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person > span:last-child {
  margin-top: .28rem;
  color: #42270e !important;
  font-size: clamp(.82rem, .95vw, .93rem);
  line-height: 1.32;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person__number {
  margin-bottom: .55rem;
  color: #6d3b11 !important;
  font-size: .68rem !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n)::after {
  right: 11px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border-color: rgba(91, 47, 11, .3);
}

/* 2026-08-13: final home alignment and card-row cleanup. */
html body.heritage-home.tradition-in-motion .hero + .section .cards {
  background-image: none !important;
}

/* The skewer artwork is 13px wide: align fruit to its visual centre, not its left edge. */
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
  left: -63.5px !important;
}

@media (max-width: 900px) {
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
    left: -48.5px !important;
  }
}

/* Directory destination loader — original blue-and-white porcelain landscape. */
.page-transition[data-destination="directory"] {
  --destination-bubble: rgba(225, 241, 250, .94);
  --destination-border: rgba(49, 105, 155, .56);
  --destination-ink: #143f67;
  --destination-dot: #3e83b9;
  background:
    linear-gradient(90deg, rgba(241, 249, 253, .12), rgba(255, 255, 255, .02) 50%, rgba(241, 249, 253, .12)),
    url("assets/directory-transition-blue-porcelain-v1.png") center / cover no-repeat !important;
}
.page-transition[data-destination="directory"]::before {
  opacity: .18 !important;
  background: radial-gradient(circle at 50% 43%, rgba(159, 208, 236, .22), transparent 34%) !important;
}
.page-transition[data-destination="directory"]::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 36%, rgba(31, 77, 115, .13)) !important;
}
.page-transition[data-destination="directory"] .transition-scene {
  color: #143f67 !important;
  border-color: rgba(54, 111, 156, .28);
  background: rgba(238, 248, 253, .32);
  box-shadow: 0 24px 68px rgba(30, 75, 111, .16);
}
.page-transition[data-destination="directory"] :is(small, strong) {
  color: #143f67 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72) !important;
}
.page-transition[data-destination="directory"] .transition-emblem {
  border-color: rgba(55, 112, 158, .54);
  background: linear-gradient(145deg, rgba(249, 253, 255, .96), rgba(185, 221, 240, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 20px 50px rgba(28, 74, 110, .2), 0 0 0 9px rgba(113, 174, 209, .13);
}
.page-transition[data-destination="directory"] .transition-ring {
  border-color: rgba(47, 107, 153, .34) !important;
}
.page-transition[data-destination="directory"] .transition-destination,
.page-transition[data-destination="directory"] .transition-seal {
  color: var(--destination-ink) !important;
  border-color: var(--destination-border) !important;
  background: var(--destination-bubble) !important;
  text-shadow: none !important;
}
.page-transition[data-destination="directory"] .transition-destination i {
  background: var(--destination-dot) !important;
  box-shadow: 0 0 0 4px rgba(62, 131, 185, .16) !important;
}
.page-transition[data-destination="directory"] .transition-progress {
  background: rgba(37, 91, 133, .18) !important;
}
.page-transition[data-destination="directory"] .transition-progress::after {
  background: linear-gradient(90deg, transparent, #377eaf, #a9d8ee, transparent) !important;
}
.page-transition[data-destination="directory"] .transition-lantern {
  border-color: #3d79aa;
  background: linear-gradient(90deg, #b9dff2, #edf9ff 48%, #9bcce6);
  box-shadow: 0 0 28px rgba(89, 160, 204, .28);
}
.page-transition[data-destination="directory"] .transition-lantern::before,
.page-transition[data-destination="directory"] .transition-lantern::after,
.page-transition[data-destination="directory"] .transition-lantern i {
  background: #376f9b;
}
.page-transition[data-destination="directory"] .transition-cloud {
  border-color: rgba(48, 108, 154, .34) transparent transparent;
}

@media (max-width: 640px) {
  .page-transition[data-destination="directory"] { background-position: 50% center !important; }
}

/* Destination-matched ECCCA medallions. Home intentionally keeps its established treatment. */
.page-transition[data-destination="about"] {
  --emblem-a: rgba(24, 20, 18, .98);
  --emblem-b: rgba(75, 55, 34, .96);
  --emblem-border: rgba(229, 188, 94, .78);
  --emblem-ring: rgba(229, 188, 94, .34);
  --emblem-glow: rgba(214, 165, 66, .2);
}
.page-transition[data-destination="events"] {
  --emblem-a: rgba(255, 246, 215, .98);
  --emblem-b: rgba(236, 188, 87, .97);
  --emblem-border: rgba(179, 17, 31, .8);
  --emblem-ring: rgba(255, 218, 126, .38);
  --emblem-glow: rgba(255, 197, 71, .3);
}
.page-transition[data-destination="weekly"] {
  --emblem-a: rgba(255, 252, 239, .98);
  --emblem-b: rgba(231, 213, 171, .96);
  --emblem-border: rgba(164, 49, 47, .58);
  --emblem-ring: rgba(140, 75, 40, .26);
  --emblem-glow: rgba(188, 128, 54, .18);
}
.page-transition[data-destination="evergreen"] {
  --emblem-a: rgba(244, 250, 238, .98);
  --emblem-b: rgba(176, 211, 185, .96);
  --emblem-border: rgba(31, 102, 77, .64);
  --emblem-ring: rgba(50, 119, 91, .28);
  --emblem-glow: rgba(129, 183, 145, .22);
}
.page-transition[data-destination="gallery"] {
  --emblem-a: rgba(240, 249, 255, .98);
  --emblem-b: rgba(156, 198, 225, .96);
  --emblem-border: rgba(30, 75, 118, .7);
  --emblem-ring: rgba(78, 137, 178, .32);
  --emblem-glow: rgba(90, 160, 205, .24);
}
.page-transition[data-destination="join"] {
  --emblem-a: rgba(255, 244, 205, .98);
  --emblem-b: rgba(221, 166, 58, .97);
  --emblem-border: rgba(139, 9, 22, .76);
  --emblem-ring: rgba(246, 203, 105, .36);
  --emblem-glow: rgba(245, 185, 65, .25);
}
.page-transition[data-destination="contact"] {
  --emblem-a: rgba(255, 253, 253, .98);
  --emblem-b: rgba(248, 213, 223, .96);
  --emblem-border: rgba(170, 46, 73, .52);
  --emblem-ring: rgba(201, 103, 126, .25);
  --emblem-glow: rgba(225, 145, 163, .2);
}
.page-transition[data-destination="directory"] {
  --emblem-a: rgba(249, 253, 255, .98);
  --emblem-b: rgba(185, 221, 240, .96);
  --emblem-border: rgba(55, 112, 158, .62);
  --emblem-ring: rgba(47, 107, 153, .32);
  --emblem-glow: rgba(89, 160, 204, .22);
}
.page-transition:is(
  [data-destination="about"],
  [data-destination="events"],
  [data-destination="weekly"],
  [data-destination="evergreen"],
  [data-destination="gallery"],
  [data-destination="join"],
  [data-destination="contact"],
  [data-destination="directory"]
) .transition-emblem {
  border-color: var(--emblem-border) !important;
  background: linear-gradient(145deg, var(--emblem-a), var(--emblem-b)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    0 20px 50px rgba(14, 18, 22, .2),
    0 0 0 9px var(--emblem-glow) !important;
}
.page-transition:is(
  [data-destination="about"],
  [data-destination="events"],
  [data-destination="weekly"],
  [data-destination="evergreen"],
  [data-destination="gallery"],
  [data-destination="join"],
  [data-destination="contact"],
  [data-destination="directory"]
) .transition-ring {
  border-color: var(--emblem-ring) !important;
}

/* Directory — Community Moments palette and compact, non-overlapping controls. */
html body.heritage-directory.tradition-in-motion {
  --page-tone: #edf6fa;
  --page-tone-alt: #d8eaf3;
  --page-card: rgba(250, 254, 255, .9);
  --page-ink: #183246;
  --page-muted: #587183;
  --page-accent: #2f6f9f;
  --page-line: rgba(65, 116, 153, .24);
}

html body.heritage-directory.tradition-in-motion main > .directory-emergency {
  background:
    linear-gradient(90deg, rgba(248, 253, 255, .92), rgba(218, 236, 247, .62)),
    url("assets/directory-blue-ink-landscape-v1.png") center 42% / cover no-repeat !important;
  border-block-color: rgba(73, 122, 158, .28) !important;
}

html body.heritage-directory.tradition-in-motion main > .directory-browser {
  overflow: visible;
  padding-block: clamp(16px, 1.8vw, 28px) clamp(64px, 7vw, 96px) !important;
  background:
    linear-gradient(180deg, rgba(247, 252, 255, .76), rgba(208, 230, 242, .86)),
    url("assets/directory-blue-ink-landscape-v1.png") center top / cover fixed no-repeat !important;
}

html body.heritage-directory.tradition-in-motion .directory-tools {
  position: relative !important;
  top: auto !important;
  z-index: 3;
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
  margin: 0 0 16px !important;
  padding: 11px 13px;
  border-color: rgba(70, 119, 154, .3);
  background: rgba(242, 250, 254, .92);
  box-shadow: 0 14px 34px rgba(31, 68, 94, .13);
  backdrop-filter: blur(4px);
}

html body.heritage-directory.tradition-in-motion .directory-tools input {
  border-color: rgba(63, 109, 143, .26) !important;
  background: rgba(253, 255, 255, .95) !important;
  color: #183246 !important;
}

html body.heritage-directory.tradition-in-motion .directory-tools input:focus {
  border-color: #3377a8 !important;
  outline-color: rgba(78, 146, 193, .22);
}

html body.heritage-directory.tradition-in-motion .directory-filters button {
  border-color: rgba(67, 112, 145, .23);
  background: rgba(248, 253, 255, .88);
  color: #284b64;
}

html body.heritage-directory.tradition-in-motion .directory-filters button:is(:hover, :focus-visible, .is-active) {
  border-color: #2f6f9f;
  background: #2f6f9f;
  color: #f8fcff;
}

html body.heritage-directory.tradition-in-motion .directory-count {
  margin-bottom: 12px;
  color: #547083;
}

html body.heritage-directory.tradition-in-motion .directory-card {
  border-color: rgba(67, 119, 156, .23);
  background: rgba(248, 253, 255, .9);
  box-shadow: 0 12px 30px rgba(30, 70, 99, .1);
}

html body.heritage-directory.tradition-in-motion .directory-card__mark {
  background: #326f99;
  color: #eaf7ff;
}

html body.heritage-directory.tradition-in-motion .directory-card__category {
  color: #2f6f9f;
}

html body.heritage-directory.tradition-in-motion .directory-card::after {
  background: linear-gradient(90deg, #244e70, #4d94c0 52%, #9cc9df);
}

html body.heritage-directory.tradition-in-motion .directory-card__actions a {
  background: rgba(204, 230, 244, .82);
  color: #245879;
}

html body.heritage-directory.tradition-in-motion .directory-notice {
  border-left-color: #4e8db7;
  background: rgba(231, 245, 252, .92);
  color: #294c63;
}

html body.heritage-directory.tradition-in-motion .directory-tools::before,
html body.heritage-directory.tradition-in-motion .directory-tools::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 48px;
  height: 48px;
  border-color: rgba(48, 103, 143, .42);
  pointer-events: none;
}

html body.heritage-directory.tradition-in-motion .directory-tools::before {
  left: 8px;
  top: 8px;
  border-left: 2px solid;
  border-top: 2px solid;
  clip-path: polygon(0 0, 100% 0, 100% 18%, 38% 18%, 38% 38%, 18% 38%, 18% 100%, 0 100%);
}

html body.heritage-directory.tradition-in-motion .directory-tools::after {
  right: 8px;
  bottom: 8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  clip-path: polygon(82% 0, 100% 0, 100% 100%, 0 100%, 0 82%, 62% 82%, 62% 62%, 82% 62%);
}

@media (max-width: 1180px) {
  html body.heritage-directory.tradition-in-motion .directory-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html body.heritage-directory.tradition-in-motion main > .directory-browser {
    padding-top: 14px !important;
    background-attachment: scroll !important;
  }
}

/* Final Home destination loading wallpaper — keep after shared transition rules. */
.page-transition[data-destination="home"] {
  background:
    linear-gradient(90deg, rgba(49, 0, 5, .38), rgba(106, 4, 12, .12) 50%, rgba(49, 0, 5, .38)),
    url("assets/join-transition-red-gold-cloud-frame-v1.webp") center / cover no-repeat !important;
}

@media (max-width: 640px) {
  .page-transition[data-destination="home"] {
    background-position: 50% center !important;
  }
}

/* Home community moments: generated parchment wallpaper with corner ornaments. */
html body[data-page="home"] #main > .story-scroll + .section,
html body.heritage-home #main > .story-scroll + .section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .20), rgba(255, 249, 237, .12)),
    url("assets/home-community-moments-wallpaper-v1.webp") center top / cover no-repeat !important;
  border-block: 1px solid rgba(176, 113, 39, .18);
}

html body[data-page="home"] #main > .story-scroll + .section .heading,
html body[data-page="home"] #main > .story-scroll + .section .gallery,
html body.heritage-home #main > .story-scroll + .section .heading,
html body.heritage-home #main > .story-scroll + .section .gallery {
  position: relative;
  z-index: 1;
}

/* Lantern-and-blossom setting for the welcome/belonging section. */
html body.heritage-home.tradition-in-motion .hero + .section {
  padding-block: clamp(4rem, 6vw, 6rem) !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .08), transparent 52%, rgba(255, 250, 240, .04)),
    url("assets/home-belong-lantern-blossom-original-v1.png") center / cover no-repeat !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading > div {
  border-color: #a92132;
  background: rgba(255, 250, 240, .68) !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading > p,
html body.heritage-home.tradition-in-motion .hero + .section .card {
  border-color: rgba(164, 104, 31, .24) !important;
  background: rgba(255, 251, 242, .70) !important;
}

/* Keep the community update at the lower edge of the parade image. */
html body.heritage-home.tradition-in-motion .hero .float--event {
  bottom: -1.2rem !important;
}

@media (max-width: 760px) {
  html body.heritage-home.tradition-in-motion .hero + .section {
    padding-top: clamp(4rem, 10vw, 5.5rem) !important;
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .06), rgba(255, 250, 240, .78) 76%),
      url("assets/home-belong-lantern-blossom-original-v1.png") center / cover no-repeat !important;
  }

  html body.heritage-home.tradition-in-motion .hero .float--event {
    bottom: -1rem !important;
  }
}

/* Reassign the original ink landscape to the ECCCA events section. */
html body.heritage-home.tradition-in-motion .hero + .section {
  padding-block: clamp(4rem, 6vw, 6rem) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 151, 77, .10), transparent 28rem),
    linear-gradient(145deg, #fffaf0 0%, #f8eddd 58%, #f3dfd5 100%) !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading > div,
html body.heritage-home.tradition-in-motion .hero + .section .heading > p,
html body.heritage-home.tradition-in-motion .hero + .section .card {
  background: rgba(255, 252, 245, .86) !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream {
  color: #2d1c18 !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .24) 0 46%, rgba(255, 250, 240, .08) 64%, transparent 84%),
    url("assets/home-belong-ink-landscape-original-v1.png") center / cover no-repeat !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream :is(h2, h3) {
  color: #2d1c18 !important;
  text-shadow: none !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream :is(.eyebrow, .event time, .event > a) {
  color: #9f1f31 !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream .heading > p,
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event-list {
  border-color: rgba(159, 31, 49, .22) !important;
  color: #4b3830 !important;
  background: rgba(255, 251, 242, .76) !important;
  box-shadow: 0 18px 42px rgba(87, 44, 25, .10) !important;
  backdrop-filter: none !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream .event {
  border-color: rgba(159, 31, 49, .16) !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream .event p {
  color: #67524a !important;
}

/* Lower-left placement for the homepage community update card. */
html body.heritage-home.tradition-in-motion .hero .float--event {
  right: auto !important;
  bottom: .55rem !important;
  left: -2.4rem !important;
}

/* Anchor every fruit by its centre so differing PNG dimensions stay on the skewer. */
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit {
  left: -70px !important;
  transform: translate(-50%, -50%);
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:hover,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:focus-visible {
  transform: translate(-50%, -50%) scale(1.1) rotate(-2deg);
}

@media (max-width: 760px) {
  html body.heritage-home.tradition-in-motion .hero + .section {
    padding-top: clamp(4rem, 10vw, 5.5rem) !important;
  }

  html body.heritage-home.tradition-in-motion #main > .section.section--cream {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .12), rgba(255, 250, 240, .88) 72%),
      url("assets/home-belong-ink-landscape-original-v1.png") 64% center / cover no-repeat !important;
  }

  html body.heritage-home.tradition-in-motion .hero .float--event {
    right: .5rem !important;
    bottom: .4rem !important;
    left: .5rem !important;
  }

  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit {
    left: -55px !important;
  }
}

.header .brand--full img { border-radius: 0px; background: transparent; }

.footer .brand--full { box-sizing: border-box; padding: 0px; border-radius: 0px; background: transparent; box-shadow: none; display: block !important; width: min(380px, 100%) !important; }

.footer .brand--full img, .logo-intro__stage > img { border-radius: 0px; width: 100% !important; background: transparent !important; filter: none !important; }

.footer .brand--full img { filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 8px 18px) !important; }

.logo-intro__stage > img { filter: drop-shadow(rgba(0, 0, 0, 0.28) 0px 12px 28px) !important; }

.page-transition .transition-emblem img { width: 82% !important; max-height: 72% !important; }

@media (max-width: 560px) {
  .header .brand--full img { max-height: 48px !important; }
  .footer .brand--full { width: min(330px, 100%) !important; }
}

.heritage-home.tradition-in-motion .section.story-scroll { background: linear-gradient(100deg, rgba(28, 20, 19, .94) 0 38%, rgba(75, 24, 26, .80) 62%, rgba(116, 16, 28, .66)),
    var(--eccca-qingming) center / cover no-repeat !important; }

.heritage-about .pagehero { background: var(--tab-about) center / cover no-repeat !important; }

.heritage-events .pagehero { background: var(--tab-events) center / cover no-repeat !important; }

.heritage-weekly .pagehero { background: var(--tab-weekly) center / cover no-repeat !important; }

.heritage-evergreen .pagehero { background: var(--tab-evergreen) center / cover no-repeat !important; }

.heritage-gallery .pagehero { background: var(--tab-gallery) center / cover no-repeat !important; }

.heritage-join .pagehero { background: var(--tab-join) center / cover no-repeat !important; }

.heritage-directory .pagehero { background: var(--tab-directory) center / cover no-repeat !important; }

.heritage-contact .pagehero { background: var(--tab-contact) center / cover no-repeat !important; }

.heritage-about .pagehero__grid > :is(div, p), .heritage-weekly .pagehero__grid > :is(div, p), .heritage-directory .pagehero__grid > :is(div, p) { padding: clamp(1.15rem, 2.2vw, 2rem); border: 1px solid rgba(151, 31, 45, 0.14); border-radius: 1.35rem; box-shadow: rgba(35, 18, 15, 0.15) 0px 16px 44px; backdrop-filter: blur(4px); background: rgba(255, 250, 240, 0.9) !important; }

.heritage-events .pagehero__grid > :is(div, p), .heritage-gallery .pagehero__grid > :is(div, p), .heritage-join .pagehero__grid > :is(div, p), .heritage-contact .pagehero__grid > :is(div, p) { padding: clamp(1.15rem, 2.2vw, 2rem); border: 1px solid rgba(242, 201, 110, 0.32); border-radius: 1.35rem; box-shadow: rgba(22, 2, 5, 0.24) 0px 18px 50px; backdrop-filter: blur(4px); background: rgba(48, 5, 12, 0.82) !important; }

.heritage-evergreen .pagehero__grid > :is(div, p) { padding: clamp(1.15rem, 2.2vw, 2rem); border: 1px solid rgba(226, 200, 133, 0.3); border-radius: 1.35rem; box-shadow: rgba(3, 29, 25, 0.22) 0px 18px 50px; backdrop-filter: blur(4px); background: rgba(6, 45, 39, 0.8) !important; }

.heritage-events .pagehero__grid, .heritage-gallery .pagehero__grid, .heritage-join .pagehero__grid, .heritage-contact .pagehero__grid, .heritage-about .pagehero__grid, .heritage-weekly .pagehero__grid, .heritage-evergreen .pagehero__grid, .heritage-directory .pagehero__grid { align-items: center; gap: clamp(1.25rem, 4vw, 4.5rem); }

.heritage-events .pagehero__grid { grid-template-columns: minmax(0px, 1.12fr) minmax(290px, 0.88fr); }

.heritage-events .pagehero h1 { max-width: 12ch; font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: 0.98; }

.heritage-events .pagehero__grid > p { margin: 0px; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.65; color: rgb(255, 249, 234) !important; }

.heritage-events .pagehero :is(h1, h2, .eyebrow), .heritage-gallery .pagehero :is(h1, h2, p, .eyebrow), .heritage-join .pagehero :is(h1, h2, p, .eyebrow), .heritage-contact .pagehero :is(h1, h2, p, .eyebrow), .heritage-evergreen .pagehero :is(h1, h2, p, .eyebrow) { color: rgb(255, 249, 234) !important; text-shadow: rgba(0, 0, 0, 0.42) 0px 2px 14px; }

.heritage-about .pagehero :is(h1, h2, p), .heritage-weekly .pagehero :is(h1, h2, p), .heritage-directory .pagehero :is(h1, h2, p) { color: rgb(31, 26, 24) !important; text-shadow: none !important; }

.heritage-about .pagehero .eyebrow, .heritage-weekly .pagehero .eyebrow, .heritage-directory .pagehero .eyebrow { color: rgb(143, 29, 44) !important; }

.logo-intro { isolation: isolate; overflow: hidden; background: linear-gradient(90deg, rgba(20, 4, 4, .16), rgba(36, 8, 6, .06)),
    var(--eccca-entry-art) center / cover no-repeat !important; }

.logo-intro::before { content: ""; position: absolute; inset: 0px; width: auto; aspect-ratio: auto; z-index: -1; border: 0px; border-radius: 0px; box-shadow: none; background: radial-gradient(circle at 50% 48%, rgba(255, 235, 177, 0.1), rgba(27, 5, 5, 0.34) 78%); }

.logo-intro::after { display: none; }

.logo-intro__stage { padding: clamp(2rem, 6vw, 4rem); border: 1px solid rgba(246, 207, 122, 0.42); border-radius: 2rem; background: rgba(45, 8, 10, 0.38); box-shadow: rgba(20, 2, 3, 0.34) 0px 24px 80px; backdrop-filter: blur(2px); }

.logo-intro__stage :is(p, small) { color: rgb(255, 248, 232) !important; text-shadow: rgba(0, 0, 0, 0.7) 0px 2px 12px; }

.page-transition { background: linear-gradient(rgba(55, 3, 11, .84), rgba(55, 3, 11, .90)),
    var(--eccca-lantern-night) center / cover no-repeat !important; }

@media (max-width: 700px) {
  .heritage-home.tradition-in-motion .section.story-scroll { background: linear-gradient(rgba(31, 18, 18, .90), rgba(91, 19, 27, .78)),
      var(--eccca-qingming) center / cover no-repeat !important; }
  .logo-intro__stage { width: calc(100% - 28px); padding: 2rem 1.25rem; border-radius: 1.4rem; }
  .heritage-events .pagehero__grid, .heritage-gallery .pagehero__grid, .heritage-join .pagehero__grid, .heritage-contact .pagehero__grid, .heritage-about .pagehero__grid, .heritage-weekly .pagehero__grid, .heritage-evergreen .pagehero__grid, .heritage-directory .pagehero__grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .heritage-events .pagehero__grid > :is(div, p), .heritage-gallery .pagehero__grid > :is(div, p), .heritage-join .pagehero__grid > :is(div, p), .heritage-contact .pagehero__grid > :is(div, p), .heritage-about .pagehero__grid > :is(div, p), .heritage-weekly .pagehero__grid > :is(div, p), .heritage-evergreen .pagehero__grid > :is(div, p), .heritage-directory .pagehero__grid > :is(div, p) { padding: 1.1rem; border-radius: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-intro { display: none !important; }
}

.heritage-about .pagehero, .heritage-weekly .pagehero, .heritage-directory .pagehero { background: rgb(247, 240, 227) !important; }

.heritage-events .pagehero, .heritage-gallery .pagehero, .heritage-join .pagehero, .heritage-contact .pagehero { background: rgb(59, 11, 18) !important; }

.heritage-evergreen .pagehero { background: rgb(13, 64, 55) !important; }

.heritage-about .pagehero, .heritage-events .pagehero, .heritage-weekly .pagehero, .heritage-evergreen .pagehero, .heritage-gallery .pagehero, .heritage-join .pagehero, .heritage-directory .pagehero, .heritage-contact .pagehero { position: relative; isolation: isolate; min-height: clamp(390px, 35vw, 490px); }

.heritage-about .pagehero::before, .heritage-events .pagehero::before, .heritage-weekly .pagehero::before, .heritage-evergreen .pagehero::before, .heritage-gallery .pagehero::before, .heritage-join .pagehero::before, .heritage-directory .pagehero::before, .heritage-contact .pagehero::before { content: ""; position: absolute; z-index: 0; width: 49%; border-left: 1px solid rgba(225, 180, 88, 0.48); background-position: center center; background-size: contain; background-repeat: no-repeat; opacity: 1; pointer-events: none; inset: 0px 0px 0px auto !important; }

.heritage-about .pagehero::before { background: #8f5056 var(--tab-about) center / contain no-repeat !important; }

.heritage-events .pagehero::before { background: #11191e var(--tab-events) center / contain no-repeat !important; }

.heritage-weekly .pagehero::before { background: #d9c58c var(--tab-weekly) center / contain no-repeat !important; }

.heritage-evergreen .pagehero::before { background: #174b42 var(--tab-evergreen) center / contain no-repeat !important; }

.heritage-gallery .pagehero::before { background: #3b1d18 var(--tab-gallery) center / contain no-repeat !important; }

.heritage-join .pagehero::before { background: #450407 var(--tab-join) center / contain no-repeat !important; }

.heritage-directory .pagehero::before { background: #e8e3d9 var(--tab-directory) center / contain no-repeat !important; }

.heritage-contact .pagehero::before { background: #921925 var(--tab-contact) center / contain no-repeat !important; }

.heritage-about .pagehero::after, .heritage-events .pagehero::after, .heritage-weekly .pagehero::after, .heritage-evergreen .pagehero::after, .heritage-gallery .pagehero::after, .heritage-join .pagehero::after, .heritage-directory .pagehero::after, .heritage-contact .pagehero::after { display: none !important; }

.heritage-about .pagehero__grid, .heritage-events .pagehero__grid, .heritage-weekly .pagehero__grid, .heritage-evergreen .pagehero__grid, .heritage-gallery .pagehero__grid, .heritage-join .pagehero__grid, .heritage-directory .pagehero__grid, .heritage-contact .pagehero__grid { position: relative; z-index: 2; grid-template-columns: minmax(0px, 1fr) minmax(280px, 0.72fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); }

.heritage-about .pagehero__grid > div, .heritage-events .pagehero__grid > div, .heritage-weekly .pagehero__grid > div, .heritage-evergreen .pagehero__grid > div, .heritage-gallery .pagehero__grid > div, .heritage-join .pagehero__grid > div, .heritage-directory .pagehero__grid > div, .heritage-contact .pagehero__grid > div { padding: 0px !important; border: 0px !important; border-radius: 0px !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

.heritage-about .pagehero__grid > p, .heritage-weekly .pagehero__grid > p, .heritage-directory .pagehero__grid > p { color: rgb(33, 25, 22) !important; background: rgba(255, 250, 239, 0.92) !important; }

.heritage-events .pagehero__grid > p, .heritage-evergreen .pagehero__grid > p, .heritage-gallery .pagehero__grid > p, .heritage-join .pagehero__grid > p, .heritage-contact .pagehero__grid > p { color: rgb(255, 249, 234) !important; background: rgba(35, 5, 10, 0.78) !important; }

.heritage-home .hero::after { opacity: 1 !important; mix-blend-mode: normal !important; mask-image: linear-gradient(90deg, transparent 47%, rgba(0, 0, 0, 0.2) 54%, rgb(0, 0, 0) 64%) !important; background-position: 78% center !important; }

.heritage-home .hero::before { display: none !important; }

@media (max-width: 760px) {
  .heritage-about .pagehero, .heritage-events .pagehero, .heritage-weekly .pagehero, .heritage-evergreen .pagehero, .heritage-gallery .pagehero, .heritage-join .pagehero, .heritage-directory .pagehero, .heritage-contact .pagehero { min-height: 0px; padding-top: 270px !important; }
  .heritage-about .pagehero::before, .heritage-events .pagehero::before, .heritage-weekly .pagehero::before, .heritage-evergreen .pagehero::before, .heritage-gallery .pagehero::before, .heritage-join .pagehero::before, .heritage-directory .pagehero::before, .heritage-contact .pagehero::before { width: 100%; height: 270px; border-left: 0px; border-bottom: 1px solid rgba(225, 180, 88, 0.48); background-size: contain; inset: 0px 0px auto !important; }
  .heritage-about .pagehero__grid, .heritage-events .pagehero__grid, .heritage-weekly .pagehero__grid, .heritage-evergreen .pagehero__grid, .heritage-gallery .pagehero__grid, .heritage-join .pagehero__grid, .heritage-directory .pagehero__grid, .heritage-contact .pagehero__grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .heritage-about .pagehero__grid > div, .heritage-events .pagehero__grid > div, .heritage-weekly .pagehero__grid > div, .heritage-evergreen .pagehero__grid > div, .heritage-gallery .pagehero__grid > div, .heritage-join .pagehero__grid > div, .heritage-directory .pagehero__grid > div, .heritage-contact .pagehero__grid > div { padding-top: 1.5rem !important; }
  .heritage-home .hero::after { opacity: 0.9 !important; mask-image: linear-gradient(rgb(0, 0, 0) 0px, rgb(0, 0, 0) 42%, transparent 70%) !important; }
}


.tradition-in-motion .navlinks a.active, .tradition-in-motion .navlinks a[aria-current="page"] { color: rgb(151, 28, 42) !important; background: transparent !important; box-shadow: none !important; text-decoration: none !important; transform: none !important; }

.tradition-in-motion .navlinks a.active::before, .tradition-in-motion .navlinks a[aria-current="page"]::before { content: none !important; display: none !important; }

.tradition-in-motion .navlinks a.active::after, .tradition-in-motion .navlinks a[aria-current="page"]::after { content: ""; position: absolute; border-radius: 999px; box-shadow: none; opacity: 1; transform: translateX(0px) scaleX(1); transform-origin: center center; pointer-events: none; right: 13px !important; bottom: 5px !important; left: 13px !important; height: 3px !important; display: block !important; background: linear-gradient(90deg, rgb(146, 28, 42) 0px, rgb(146, 28, 42) 72%, rgb(207, 142, 39) 100%) !important; }

.tradition-in-motion .navlinks a.active:hover, .tradition-in-motion .navlinks a.active:focus-visible, .tradition-in-motion .navlinks a[aria-current="page"]:hover, .tradition-in-motion .navlinks a[aria-current="page"]:focus-visible { color: rgb(118, 17, 29) !important; background: transparent !important; transform: none !important; }

.tradition-in-motion .navlinks a.fx-fluid::after { animation: 720ms cubic-bezier(0.22, 0.78, 0.22, 1) 0s 1 normal both running current-tab-fluid-line; }

.tradition-in-motion .navlinks a.fx-brush::after { transform-origin: left center; animation: 680ms cubic-bezier(0.2, 0.82, 0.24, 1) 0s 1 normal both running current-tab-brush-line; }

.tradition-in-motion .navlinks a.fx-ribbon::after { animation: 760ms cubic-bezier(0.22, 0.72, 0.2, 1) 0s 1 normal both running current-tab-ribbon-line; }

.tradition-in-motion .navlinks a.fx-spark::after { animation: 700ms cubic-bezier(0.2, 0.78, 0.22, 1) 0s 1 normal both running current-tab-spark-line; }

.tradition-in-motion .navlinks a.fx-color::after { animation: 760ms cubic-bezier(0.2, 0.78, 0.22, 1) 0s 1 normal both running current-tab-color-pop; }

@keyframes current-tab-fluid-line { 
  0% { transform: translateX(0px) scaleX(1); }
  20% { transform: translateX(-16%) scaleX(0.82); }
  40% { transform: translateX(-27%) scaleX(0.62); }
  62% { transform: translateX(-8%) scaleX(0.86); }
  82% { transform: translateX(3%) scaleX(0.97); }
  100% { transform: translateX(0px) scaleX(1); }
}

@keyframes current-tab-fluid-drop { 
  0%, 12% { opacity: 0; transform: translateX(0px) scale(0.45); }
  27% { opacity: 1; transform: translateX(1px) scale(1); }
  48% { opacity: 1; transform: translateX(-2px) scale(0.9); }
  72% { opacity: 0.9; transform: translateX(-14px) scale(0.72); }
  92% { opacity: 0.2; transform: translateX(-20px) scale(0.3); }
  100% { opacity: 0; transform: translateX(-20px) scale(0); }
}

@keyframes current-tab-brush-line { 
  0% { opacity: 1; transform: translateX(0px) scaleX(1); filter: none; }
  18% { opacity: 0.3; transform: translateX(-5%) scaleX(0.12); }
  48% { opacity: 1; transform: translateX(-2%) scaleX(1.08); filter: drop-shadow(rgba(207, 142, 39, 0.35) 0px 0px 3px); }
  72% { transform: translateX(1%) scaleX(0.96); }
  100% { opacity: 1; transform: translateX(0px) scaleX(1); filter: none; }
}

@keyframes current-tab-brush-drop { 
  0%, 14% { opacity: 0; transform: translateX(-48px) scale(0.3); }
  34% { opacity: 1; transform: translateX(-42px) scale(0.85); }
  63% { opacity: 0.85; transform: translateX(-12px) scale(0.65); }
  100% { opacity: 0; transform: translateX(0px) scale(0); }
}

@keyframes current-tab-ribbon-line { 
  0% { transform: translateY(0px) rotate(0deg) scaleX(1); }
  18% { transform: translateY(-3px) rotate(-2.2deg) scaleX(0.9); }
  38% { transform: translateY(2px) rotate(1.8deg) scaleX(1.04); }
  58% { transform: translateY(-1.5px) rotate(-1deg) scaleX(0.97); }
  78% { transform: translateY(0.7px) rotate(0.45deg) scaleX(1.01); }
  100% { transform: translateY(0px) rotate(0deg) scaleX(1); }
}

@keyframes current-tab-ribbon-drop { 
  0%, 16% { opacity: 0; transform: translate(-42px, 0px) scale(0.35); }
  38% { opacity: 1; transform: translate(-31px, -5px) scale(0.8); }
  62% { opacity: 0.8; transform: translate(-16px, 2px) scale(0.58); }
  100% { opacity: 0; transform: translate(0px, 0px) scale(0); }
}

@keyframes current-tab-spark-line { 
  0% { opacity: 1; transform: scaleX(1); filter: none; }
  24% { opacity: 0.58; transform: scaleX(0.82); filter: brightness(1.4); }
  48% { opacity: 1; transform: scaleX(1.06); filter: brightness(1.65) drop-shadow(rgba(222, 166, 55, 0.72) 0px 0px 5px); }
  72% { transform: scaleX(0.97); filter: brightness(1.2); }
  100% { opacity: 1; transform: scaleX(1); filter: none; }
}

@keyframes current-tab-spark-drop { 
  0% { opacity: 0; transform: translateX(-54px) scale(0.2); box-shadow: rgba(214, 155, 45, 0) 0px 0px 0px; }
  24% { opacity: 1; transform: translateX(-45px) scale(1.05); box-shadow: rgba(240, 193, 84, 0.8) 0px 0px 10px; }
  64% { opacity: 1; transform: translateX(-10px) scale(0.7); box-shadow: rgba(240, 193, 84, 0.58) 0px 0px 7px; }
  100% { opacity: 0; transform: translateX(0px) scale(0); box-shadow: rgba(214, 155, 45, 0) 0px 0px 0px; }
}

@keyframes current-tab-color-pop { 
  0% { transform: scaleX(1); filter: hue-rotate(0deg) saturate(1); }
  18% { transform: scaleX(0.86); filter: hue-rotate(78deg) saturate(1.45) brightness(1.08); }
  36% { transform: scaleX(1.08); filter: hue-rotate(172deg) saturate(1.7) brightness(1.18); }
  55% { transform: scaleX(0.95); filter: hue-rotate(252deg) saturate(1.5) brightness(1.12); }
  74% { transform: scaleX(1.04); filter: hue-rotate(326deg) saturate(1.35) brightness(1.06); }
  88% { transform: scaleX(0.99); filter: hue-rotate(18deg) saturate(1.12); }
  100% { transform: scaleX(1); filter: hue-rotate(0deg) saturate(1); }
}

@media (max-width: 1100px) {
  .tradition-in-motion .navlinks a.active, .tradition-in-motion .navlinks a[aria-current="page"] { color: rgb(151, 28, 42) !important; background: inherit !important; border: 0px !important; box-shadow: none !important; }
  .tradition-in-motion .navlinks a.active::after, .tradition-in-motion .navlinks a[aria-current="page"]::after { width: 76px; right: auto !important; left: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tradition-in-motion .navlinks a:is(.fx-fluid, .fx-brush, .fx-ribbon, .fx-spark, .fx-color)::after { animation: auto ease 0s 1 normal none running none !important; }
}

.heritage-home .community-closing__image { background: linear-gradient(90deg, rgba(16, 24, 22, 0.66) 0px, rgba(16, 24, 22, 0.52) 30%, rgba(16, 24, 22, 0.2) 54%, transparent 78%), linear-gradient(0deg, rgba(16, 24, 22, 0.42), transparent 54%), url("assets/home-community-canada-day-2025.webp") center 58% / cover no-repeat !important; filter: none !important; }

.heritage-home.tradition-in-motion .section.story-scroll { isolation: isolate; background: url("assets/story-tanghulu-red-peony-hq.webp?v=2") center center / cover no-repeat !important; }

.heritage-home.tradition-in-motion .section.story-scroll::before, .heritage-home.tradition-in-motion .section.story-scroll::after { display: none !important; }

.heritage-home .story-scroll .story-intro { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgba(242, 201, 110, 0.34); border-radius: 1.5rem; background: rgba(43, 5, 11, 0.84); box-shadow: rgba(32, 2, 6, 0.26) 0px 22px 60px; backdrop-filter: blur(4px); }

.heritage-home .story-scroll .story-intro :is(h2, p, .textlink), .heritage-home .story-scroll .story-timeline :is(h3, p) { color: rgb(255, 248, 234) !important; text-shadow: rgba(0, 0, 0, 0.34) 0px 2px 12px; }

.heritage-home .story-scroll .story-intro .eyebrow, .heritage-home .story-scroll .story-timeline time { color: rgb(242, 207, 126) !important; }

.heritage-home .story-scroll .story-timeline li { box-shadow: rgba(32, 2, 6, 0.22) 0px 18px 48px; backdrop-filter: blur(4px); border-color: rgba(242, 201, 110, 0.28) !important; background: rgba(48, 5, 12, 0.86) !important; }

.heritage-home .section--dark { isolation: isolate; background: linear-gradient(90deg, rgba(48, 8, 17, .98) 0 46%, rgba(48, 8, 17, .82) 64%, rgba(48, 8, 17, .50) 100%),
    var(--tab-join) right center / 54% auto no-repeat,
    #300811 !important; }

.heritage-home .section--dark::before { display: none !important; }

.heritage-home .section--dark > .shell { position: relative; z-index: 1; }

.heritage-home .section--dark .heading > p { padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(45, 5, 11, 0.76); backdrop-filter: blur(4px); color: rgb(255, 246, 230) !important; }

.heritage-home .section--dark .feature-card { backdrop-filter: blur(4px); background: rgba(44, 7, 13, 0.88) !important; }

body.heritage-home.tradition-in-motion[data-page="home"] .section.section--cream { position: relative; isolation: isolate; color: rgb(255, 248, 235); background: linear-gradient(90deg, rgba(14, 12, 34, 0.91) 0px, rgba(14, 12, 34, 0.91) 42%, rgba(24, 16, 42, 0.74) 66%, rgba(47, 18, 37, 0.54) 100%), url("assets/story-tanghulu-festival-hq.webp") center 48% / cover no-repeat !important; }

body.heritage-home.tradition-in-motion[data-page="home"] .section.section--cream::before { display: none !important; }

.heritage-home .section.section--cream > .shell { position: relative; z-index: 1; }

.heritage-home .section.section--cream :is(h2, h3) { color: rgb(255, 250, 240) !important; text-shadow: rgba(0, 0, 0, 0.38) 0px 2px 16px; }

.heritage-home .section.section--cream .home-update-card h3 { color: rgb(45, 32, 36) !important; text-shadow: none; }

.heritage-home .section.section--cream .eyebrow, .heritage-home .section.section--cream .event time, .heritage-home .section.section--cream .event > a { color: rgb(244, 207, 120) !important; }

.heritage-home .section.section--cream .heading > p { padding: 1rem 1.2rem; border: 1px solid rgba(244, 207, 120, 0.22); border-radius: 1rem; background: rgba(13, 11, 31, 0.74); backdrop-filter: blur(5px); color: rgb(255, 247, 232) !important; }

.heritage-home .section.section--cream .event-list { overflow: hidden; padding-inline: 1.1rem; border: 1px solid rgba(244, 207, 120, 0.24); border-radius: 1.3rem; background: rgba(13, 11, 31, 0.76); box-shadow: rgba(5, 5, 18, 0.28) 0px 22px 60px; backdrop-filter: blur(6px); }

.heritage-home .section.section--cream .event { border-color: rgba(255, 243, 217, 0.2); }

.heritage-home .section.section--cream .event p { color: rgba(255, 248, 235, 0.8) !important; }

.heritage-home .section.section--cream .event:hover { background: rgba(255, 255, 255, 0.07); }

.heritage-home .hero + .section { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, rgba(250, 245, 235, 1) 0 48%, rgba(250, 245, 235, .90) 64%, rgba(250, 245, 235, .52) 100%),
    var(--tab-directory) right center / 52% auto no-repeat,
    #faf5eb !important; }

.heritage-home .hero + .section::before { display: none !important; }

.heritage-home .hero + .section > .shell { position: relative; z-index: 1; }

.heritage-home .hero + .section .heading > p { padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255, 251, 243, 0.9); box-shadow: rgba(42, 28, 21, 0.1) 0px 12px 34px; backdrop-filter: blur(4px); color: rgb(60, 50, 45) !important; }

.heritage-home .hero + .section .card { background: rgba(255, 253, 248, 0.94) !important; }

@media (max-width: 760px) {
  .heritage-home .hero__grid > div:first-child { z-index: 3; padding: 1.25rem; border-radius: 1rem; background: rgba(255, 251, 243, 0.91); box-shadow: rgba(42, 28, 21, 0.16) 0px 18px 44px; backdrop-filter: blur(5px); }
  .heritage-home .hero__lead { color: rgb(60, 50, 45) !important; }
  .heritage-home .community-closing__image { background: linear-gradient(transparent 0px, transparent 34%, rgba(16, 24, 22, 0.38) 62%, rgba(16, 24, 22, 0.78)), url("assets/home-community-canada-day-2025.webp") center 58% / cover no-repeat !important; }
  .heritage-home .section--dark { background: linear-gradient(180deg, rgba(48, 8, 17, .16) 0 230px, rgba(48, 8, 17, .98) 305px 100%),
      var(--tab-join) center top / auto 265px no-repeat,
      #300811 !important; }
  .heritage-home .hero + .section { background: linear-gradient(180deg, rgba(250, 245, 235, .10) 0 230px, rgba(250, 245, 235, .97) 305px 100%),
      var(--tab-directory) center top / auto 265px no-repeat,
      #faf5eb !important; }
  .heritage-home .section--dark, .heritage-home .hero + .section { padding-top: 310px !important; }
  .heritage-home .story-scroll .story-intro { padding: 1.25rem; }
}

.heritage-about { --page-tone: #f2dadd; --page-tone-alt: #e8c8cd; --page-card: rgba(255, 247, 244, .94); --page-ink: #352025; --page-muted: #745c61; --page-accent: #922f43; --page-line: rgba(146, 47, 67, .20); }

.heritage-events { --page-tone: #f2e1dc; --page-tone-alt: #e8cbc3; --page-card: rgba(255, 247, 242, .94); --page-ink: #321b1d; --page-muted: #765b5b; --page-accent: #9b2234; --page-line: rgba(155, 34, 52, .20); }

.heritage-weekly { --page-tone: #f3ead0; --page-tone-alt: #e7d7aa; --page-card: rgba(255, 251, 235, .94); --page-ink: #342b1e; --page-muted: #71644d; --page-accent: #9b3a2f; --page-line: rgba(157, 105, 34, .24); }

.heritage-evergreen { --page-tone: #e4eee9; --page-tone-alt: #cfe0d8; --page-card: rgba(247, 252, 248, .94); --page-ink: #183c35; --page-muted: #526f68; --page-accent: #286658; --page-line: rgba(40, 102, 88, .22); }

.heritage-gallery { --page-tone: #f1dfd4; --page-tone-alt: #e6c8b8; --page-card: rgba(255, 247, 241, .94); --page-ink: #3b211c; --page-muted: #765d54; --page-accent: #9a392f; --page-line: rgba(154, 57, 47, .21); }

.heritage-join { --page-tone: #f1dcdb; --page-tone-alt: #e6c3c1; --page-card: rgba(255, 246, 242, .94); --page-ink: #3b1c21; --page-muted: #76575d; --page-accent: #a01f35; --page-line: rgba(160, 31, 53, .20); }

.heritage-directory { --page-tone: #e7edf0; --page-tone-alt: #d5e1e6; --page-card: rgba(249, 252, 251, .94); --page-ink: #223438; --page-muted: #5d7074; --page-accent: #8d3442; --page-line: rgba(61, 98, 106, .20); }

.heritage-contact { --page-tone: #f2dfdc; --page-tone-alt: #e8c8c3; --page-card: rgba(255, 247, 243, .94); --page-ink: #3a2020; --page-muted: #765d5a; --page-accent: #9d2436; --page-line: rgba(157, 36, 54, .20); }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact), body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main { color: var(--page-ink); background: var(--page-tone) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main > .section { position: relative; isolation: isolate; color: var(--page-ink); background: radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .38), transparent 26%),
    linear-gradient(145deg, var(--page-tone) 0%, var(--page-tone-alt) 100%) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main > .section:nth-of-type(2n) { background: radial-gradient(circle at 8% 84%, rgba(255, 255, 255, .3), transparent 24%),
    linear-gradient(145deg, var(--page-tone-alt), var(--page-tone)) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main :is(.heading > p, .prose p, .card p, .info-box p, .contact-card p, .directory p, .schedule-card p, .sidecard p) { color: var(--page-muted) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main :is(.card, .person, .schedule-card, .info-box:not(.info-box--accent), .sidecard, .contact-card, .directory article) { box-shadow: rgba(67, 31, 32, 0.1) 0px 16px 42px; border-color: var(--page-line) !important; background: var(--page-card) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main :is(.eyebrow, .textlink) { color: var(--page-accent) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main :is(.event-list, .event, input, textarea) { border-color: var(--page-line) !important; }

body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) main :is(input, textarea) { background: rgba(255, 251, 247, 0.88) !important; color: var(--page-ink) !important; }

.heritage-about .pagehero { background: rgb(240, 213, 217) !important; border-bottom-color: rgba(146, 47, 67, 0.22) !important; }

.heritage-about .pagehero::before { background-color: rgb(154, 89, 98) !important; border-left-color: rgba(122, 39, 55, 0.28) !important; }

.heritage-about .pagehero__grid > div { min-width: 0px; }

.heritage-about .pagehero h1 { max-width: 8.5ch; font-size: clamp(3.2rem, 5.5vw, 6.4rem); line-height: 1.02; color: rgb(53, 29, 34) !important; }

.heritage-about .pagehero__grid > p { color: rgb(61, 35, 41) !important; border-color: rgba(146, 47, 67, 0.18) !important; background: rgba(255, 240, 237, 0.9) !important; }

.heritage-about .about-overview { background: linear-gradient(90deg, rgba(244, 222, 224, .97) 0 52%, rgba(244, 222, 224, .80) 72%, rgba(244, 222, 224, .64)),
    var(--tab-about) right bottom / min(680px, 48vw) auto no-repeat,
    #f4dee0 !important; }

.heritage-about .about-jump-nav { box-shadow: rgba(82, 35, 43, 0.1) 0px 14px 38px; backdrop-filter: blur(8px); border-color: var(--page-line) !important; background: rgba(255, 245, 242, 0.84) !important; }

.heritage-about .about-overview__story, .heritage-about .about-board-section { padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--page-line); border-radius: 1.5rem; background: rgba(255, 246, 243, 0.84); box-shadow: rgba(82, 35, 43, 0.1) 0px 18px 48px; backdrop-filter: blur(7px); }

.heritage-about .about-overview__aside, .heritage-about .about-overview__aside :is(h3, p) { color: var(--page-ink) !important; }

.heritage-about .about-overview__aside .eyebrow { color: var(--page-accent) !important; }

@media (max-width: 760px) {
  .heritage-about .pagehero { background: rgb(240, 213, 217) !important; }
  .heritage-about .pagehero h1 { max-width: 11ch; font-size: clamp(2.7rem, 12.5vw, 4.25rem); }
  .heritage-about .about-overview { background: linear-gradient(rgba(244, 222, 224, .92), rgba(244, 222, 224, .96)),
      var(--tab-about) center bottom / auto 360px no-repeat,
      #f4dee0 !important; }
}

@media (min-width: 761px) {
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero { min-height: 540px; overflow: hidden; padding: 0px !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero__grid { min-height: 540px; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
  .heritage-about .pagehero::before { width: 61%; border-radius: 48% 0px 0px 48% / 62% 0px 0px 62%; box-shadow: rgba(98, 40, 53, 0.15) -28px 0px 70px; inset: 0px -2% 0px auto !important; border: 0px !important; background: #9a5962 var(--tab-about) center / cover no-repeat !important; }
  .heritage-about .pagehero__grid { grid-template-columns: minmax(360px, 0.82fr) minmax(360px, 0.68fr); align-items: center; gap: clamp(2rem, 6vw, 7.5rem); }
  .heritage-about .pagehero__grid > p { align-self: end; margin: 0px 0px 1.8rem; transform: translateX(1rem); box-shadow: rgba(69, 25, 35, 0.2) 0px 22px 58px; }
  .heritage-events .pagehero::before { width: 100%; inset: 0px !important; border: 0px !important; background: #15191d var(--tab-events) center / cover no-repeat !important; }
  .heritage-events .pagehero::after { content: ""; position: absolute; z-index: 1; inset: 0px; background: linear-gradient(90deg, rgba(23, 5, 9, 0.94) 0px, rgba(23, 5, 9, 0.94) 38%, rgba(23, 5, 9, 0.54) 61%, rgba(10, 12, 15, 0.18)); pointer-events: none; display: block !important; }
  .heritage-events .pagehero__grid { min-height: 600px; grid-template-columns: minmax(0px, 1.05fr) minmax(310px, 0.55fr); align-items: end; }
  .heritage-events .pagehero__grid > div { padding: 2rem 0px !important; }
  .heritage-events .pagehero__grid > p { margin: 0px 0px 1rem; border-left: 3px solid rgb(239, 191, 98); background: rgba(31, 6, 11, 0.7) !important; }
  .heritage-weekly .pagehero { background: linear-gradient(105deg, rgb(245, 235, 206) 0px, rgb(245, 235, 206) 57%, rgb(220, 201, 150) 57%, rgb(220, 201, 150) 100%) !important; }
  .heritage-weekly .pagehero::before { width: 47%; border-radius: 1.2rem 5rem; box-shadow: rgba(91, 60, 25, 0.19) 0px 28px 65px; inset: 7% 3% 7% auto !important; border: 1px solid rgba(123, 77, 25, 0.25) !important; background: #d9c58c var(--tab-weekly) center / cover no-repeat !important; }
  .heritage-weekly .pagehero__grid { grid-template-columns: minmax(0px, 0.85fr) minmax(340px, 0.65fr); }
  .heritage-weekly .pagehero__grid > p { align-self: end; margin: 0px 1.5rem 1.5rem 0px; background: rgba(255, 248, 224, 0.91) !important; }
  .heritage-evergreen .pagehero::before { width: 100%; inset: 0px !important; border: 0px !important; background: #174b42 var(--tab-evergreen) center / cover no-repeat !important; }
  .heritage-evergreen .pagehero::after { content: ""; position: absolute; z-index: 1; inset: 0px; background: linear-gradient(90deg, rgba(5, 40, 34, 0.92), rgba(5, 40, 34, 0.57) 46%, rgba(5, 40, 34, 0.08) 76%); pointer-events: none; display: block !important; }
  .heritage-evergreen .pagehero__grid { grid-template-columns: minmax(0px, 0.9fr) minmax(300px, 0.55fr); }
  .heritage-evergreen .pagehero__grid > div { padding: clamp(1.5rem, 3vw, 2.5rem) !important; border: 1px solid rgba(225, 201, 145, 0.22) !important; border-radius: 1.75rem 1.75rem 4.5rem !important; background: rgba(5, 45, 38, 0.73) !important; box-shadow: rgba(4, 28, 24, 0.24) 0px 24px 64px !important; backdrop-filter: blur(5px) !important; }
  .heritage-evergreen .pagehero__grid > p { align-self: end; margin-bottom: 1.5rem; }
  .heritage-gallery .pagehero { background: linear-gradient(135deg, rgb(47, 23, 21), rgb(123, 46, 40)) !important; }
  .heritage-gallery .pagehero::before { width: 66%; border-radius: 50% 0px 0px 50%; box-shadow: rgba(91, 20, 25, 0.45) 0px 0px 0px 8px, rgba(0, 0, 0, 0.3) -30px 0px 75px; inset: -16% -4% -16% auto !important; border: 12px solid rgba(239, 196, 105, 0.74) !important; background: #3b1d18 var(--tab-gallery) center / cover no-repeat !important; }
  .heritage-gallery .pagehero__grid { grid-template-columns: minmax(340px, 0.78fr) minmax(330px, 0.62fr); gap: clamp(2rem, 7vw, 8rem); }
  .heritage-gallery .pagehero__grid > p { align-self: end; margin-bottom: 1rem; background: rgba(47, 8, 12, 0.76) !important; }
  .heritage-join .pagehero::before { width: 70%; clip-path: polygon(20% 0px, 100% 0px, 100% 100%, 0px 100%); inset: 0px 0px 0px auto !important; border: 0px !important; background: #450407 var(--tab-join) center / cover no-repeat !important; }
  .heritage-join .pagehero::after { content: ""; position: absolute; z-index: 1; inset: 0px; background: linear-gradient(90deg, rgb(69, 7, 15) 0px, rgb(69, 7, 15) 37%, rgba(69, 7, 15, 0.84) 50%, rgba(69, 7, 15, 0.04) 76%); pointer-events: none; display: block !important; }
  .heritage-join .pagehero__grid { grid-template-columns: minmax(0px, 0.95fr) minmax(300px, 0.55fr); }
  .heritage-join .pagehero__grid > p { align-self: end; margin-bottom: 1.25rem; }
  .heritage-directory .pagehero::before { width: 100%; inset: 0px !important; border: 0px !important; background: #e7ecec var(--tab-directory) center / cover no-repeat !important; }
  .heritage-directory .pagehero::after { content: ""; position: absolute; z-index: 1; inset: 0px; background: linear-gradient(90deg, rgba(245, 248, 247, 0.96) 0px, rgba(245, 248, 247, 0.96) 40%, rgba(245, 248, 247, 0.64) 61%, rgba(245, 248, 247, 0.1)); pointer-events: none; display: block !important; }
  .heritage-directory .pagehero__grid { grid-template-columns: minmax(0px, 0.88fr) minmax(300px, 0.58fr); }
  .heritage-directory .pagehero__grid > p { align-self: end; margin-bottom: 1.5rem; background: rgba(249, 252, 251, 0.87) !important; }
  .heritage-contact .pagehero::before { width: 100%; inset: 0px !important; border: 0px !important; background: #921925 var(--tab-contact) center / cover no-repeat !important; }
  .heritage-contact .pagehero::after { content: ""; position: absolute; z-index: 1; inset: 0px; background: radial-gradient(circle at 37% 50%, rgba(80, 6, 15, 0.78) 0px, rgba(80, 6, 15, 0.78) 24%, rgba(80, 6, 15, 0.42) 42%, rgba(80, 6, 15, 0.05) 72%); pointer-events: none; display: block !important; }
  .heritage-contact .pagehero__grid { grid-template-columns: minmax(360px, 0.78fr) minmax(300px, 0.62fr); }
  .heritage-contact .pagehero__grid > div { padding: clamp(1.6rem, 3vw, 2.7rem) !important; border: 1px solid rgba(245, 211, 135, 0.31) !important; border-radius: 1.5rem 4.5rem !important; background: rgba(70, 5, 13, 0.72) !important; box-shadow: rgba(55, 3, 9, 0.25) 0px 28px 70px !important; backdrop-filter: blur(5px) !important; }
  .heritage-contact .pagehero__grid > p { align-self: end; margin-bottom: 1.2rem; }
}

@media (max-width: 760px) {
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero { min-height: 0px; overflow: hidden; padding: 260px 0px 0px !important; background: var(--page-tone) !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero::before { width: 100%; height: 260px; inset: 0px 0px auto !important; border: 0px !important; border-radius: 0px !important; clip-path: none !important; background-position: center center !important; background-size: cover !important; box-shadow: none !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero::after { display: none !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero__grid { min-height: 0px; padding-block: 2.25rem 3.25rem; grid-template-columns: 1fr; gap: 1rem; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero__grid > div { padding: 0px !important; border: 0px !important; border-radius: 0px !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero__grid > p { margin: 0px; padding: 1.1rem !important; color: var(--page-ink) !important; border: 1px solid var(--page-line) !important; border-radius: 1rem !important; background: var(--page-card) !important; box-shadow: rgba(65, 28, 29, 0.1) 0px 14px 34px !important; text-shadow: none !important; transform: none !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero :is(h1, h2) { max-width: 12ch; font-size: clamp(2.65rem, 12vw, 4.1rem); color: var(--page-ink) !important; text-shadow: none !important; }
  body:is(.heritage-about, .heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-directory, .heritage-contact) .pagehero .eyebrow { color: var(--page-accent) !important; text-shadow: none !important; }
}

body.heritage-join { --page-tone: #72121d; --page-tone-alt: #921d2a; --page-card: rgba(255, 248, 232, .97); --page-ink: #35171a; --page-muted: #725851; --page-accent: #a66b17; --page-line: rgba(214, 169, 76, .46); }

body.heritage-join.tradition-in-motion .pagehero { background: rgb(114, 18, 29) !important; }

body.heritage-join.tradition-in-motion .pagehero::before { opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; }

body.heritage-join.tradition-in-motion .pagehero::after { content: none !important; display: none !important; background: none !important; }

@media (min-width: 761px) {
  body.heritage-join.tradition-in-motion .pagehero::before { inset: 0px !important; width: 100% !important; height: 100% !important; border: 0px !important; border-radius: 0px !important; clip-path: none !important; background: #72121d var(--tab-join) center / cover no-repeat !important; }
  body.heritage-join.tradition-in-motion .pagehero__grid > div:first-child { backdrop-filter: blur(3px); padding: clamp(1.6rem, 3vw, 2.75rem) !important; border-width: 1px 1px 1px 4px !important; border-style: solid !important; border-color: rgba(226, 185, 96, 0.5) rgba(226, 185, 96, 0.5) rgba(226, 185, 96, 0.5) rgb(224, 182, 84) !important; border-image: none !important; border-radius: 0px 1.5rem 1.5rem 0px !important; background: linear-gradient(90deg, rgba(91, 9, 20, 0.95), rgba(112, 16, 29, 0.82)) !important; box-shadow: rgba(45, 5, 12, 0.28) 0px 24px 60px !important; }
}

body.heritage-join.tradition-in-motion .pagehero__grid > p { color: rgb(255, 248, 232) !important; border-width: 1px 1px 1px 4px !important; border-style: solid !important; border-color: rgba(226, 185, 96, 0.58) rgba(226, 185, 96, 0.58) rgba(226, 185, 96, 0.58) rgb(224, 182, 84) !important; border-image: none !important; background: rgba(91, 9, 20, 0.86) !important; box-shadow: rgba(45, 5, 12, 0.24) 0px 20px 48px !important; text-shadow: none !important; }

body.heritage-join.tradition-in-motion main > .section { background: radial-gradient(circle at 94% 8%, rgba(231, 190, 98, 0.18), transparent 22rem), linear-gradient(145deg, rgb(109, 16, 27) 0%, rgb(141, 25, 39) 54%, rgb(107, 13, 24) 100%) !important; }

body.heritage-join.tradition-in-motion .join-path { color: rgb(255, 248, 232) !important; border-color: rgba(229, 190, 103, 0.42) !important; background: rgba(76, 7, 17, 0.66) !important; box-shadow: rgba(48, 4, 11, 0.2) 0px 14px 34px !important; }

body.heritage-join.tradition-in-motion .join-path span { color: rgb(93, 11, 22) !important; background: rgb(224, 182, 84) !important; }

body.heritage-join.tradition-in-motion .join-path b { color: rgb(255, 248, 232) !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent { color: rgb(255, 248, 232) !important; border-color: rgba(229, 190, 103, 0.58) !important; background: url("assets/prosperity-ligature.svg") right 28px top 22px / 120px no-repeat, rgb(126, 20, 33) !important; box-shadow: rgba(47, 4, 11, 0.25) 0px 24px 54px !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent :is(p, li) { color: rgba(255, 248, 232, 0.86) !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent .eyebrow { color: rgb(240, 207, 130) !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent > .textlink { display: block !important; width: fit-content !important; clear: both !important; margin: 0.85rem 0px 0px !important; color: rgb(240, 207, 130) !important; line-height: 1.35 !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box:not(.info-box--accent) { color: rgb(53, 23, 26) !important; border-color: rgba(203, 151, 54, 0.44) !important; background: linear-gradient(135deg, transparent 0px, transparent 72%, rgba(222, 178, 82, 0.18) 72%), rgb(255, 248, 232) !important; box-shadow: rgba(49, 5, 12, 0.18) 0px 20px 46px !important; }

body.heritage-join.tradition-in-motion .join-grid > .info-box:not(.info-box--accent) :is(p, li) { color: rgb(114, 88, 81) !important; }

body.heritage-join.tradition-in-motion .info-box.full { border-top: 3px solid rgb(210, 160, 68) !important; background: linear-gradient(105deg, rgb(255, 248, 232) 0px, rgb(255, 248, 232) 72%, rgb(239, 215, 151) 72%) !important; }

body.heritage-join.tradition-in-motion .info-box.full .btn { color: rgb(255, 255, 255) !important; background: rgb(139, 22, 35) !important; }

@media (max-width: 760px) {
  body.heritage-join.tradition-in-motion .pagehero__grid > p { color: rgb(53, 23, 26) !important; border-color: rgba(203, 151, 54, 0.44) !important; background: rgb(255, 248, 232) !important; }
}

@media (min-width: 981px) {
  body.heritage-join.tradition-in-motion .join-grid { grid-template-columns: repeat(12, minmax(0px, 1fr)) !important; grid-template-rows: auto auto auto !important; align-items: stretch !important; }
  body.heritage-join.tradition-in-motion .join-grid > .join-path { grid-area: 1 / 1 / auto / -1 !important; }
  body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent { grid-area: 2 / 1 / auto / span 5 !important; min-height: 340px !important; padding: clamp(2rem, 3vw, 2.7rem) !important; justify-content: center !important; }
  body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent > .btn { align-self: flex-start !important; margin-top: 1.35rem !important; }
  body.heritage-join.tradition-in-motion .join-grid > .info-box.info-box--accent > .textlink { align-self: flex-start !important; margin: 0.75rem 0px 0px !important; }
  body.heritage-join.tradition-in-motion .join-grid > .info-box:not(.info-box--accent):not(.full) { grid-area: 2 / 6 / span 2 / -1 !important; min-height: 0px !important; padding: clamp(2rem, 3vw, 2.8rem) !important; }
  body.heritage-join.tradition-in-motion .join-grid > .info-box.full { grid-area: 3 / 1 / auto / span 5 !important; min-height: 0px !important; padding: clamp(2rem, 3vw, 2.7rem) !important; }
}

@media (max-width: 980px) {
  body.heritage-join.tradition-in-motion .join-grid { grid-template-columns: 1fr !important; }
  body.heritage-join.tradition-in-motion .join-grid > :is(.join-path, .info-box, .info-box.full) { grid-area: auto / 1 !important; width: 100% !important; min-height: 0px !important; }
}

body.heritage-contact.tradition-in-motion { --page-tone: #76121f; --page-tone-alt: #941d2e; --page-card: #fff8e9; --page-ink: #351719; --page-muted: #725851; --page-accent: #a86e1b; --page-line: rgba(215, 172, 82, .46); }

body.heritage-contact.tradition-in-motion main > .section { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 8vw, 7rem) !important; background: radial-gradient(circle at 92% 10%, rgba(238, 198, 109, 0.18), transparent 25rem), radial-gradient(circle at 8% 92%, rgba(255, 240, 204, 0.1), transparent 22rem), linear-gradient(145deg, rgb(102, 16, 26) 0%, rgb(141, 25, 42) 54%, rgb(94, 11, 22) 100%) !important; }

body.heritage-contact.tradition-in-motion main > .section::before { content: ""; position: absolute; inset: 1.5rem; border: 1px solid rgba(229, 190, 103, 0.22); border-radius: 2rem; pointer-events: none; }

body.heritage-contact.tradition-in-motion .contact-grid { position: relative; z-index: 1; max-width: 1120px; margin-inline: auto; grid-template-columns: minmax(300px, 0.78fr) minmax(0px, 1.22fr) !important; gap: clamp(1.5rem, 4vw, 3.5rem) !important; align-items: stretch !important; padding: 0px !important; border: 0px !important; background: transparent !important; }

body.heritage-contact.tradition-in-motion .contact-card { position: relative; min-height: 100%; overflow: hidden; padding: clamp(2.2rem, 4vw, 3.3rem) !important; color: rgb(255, 248, 232) !important; border: 1px solid rgba(232, 194, 109, 0.55) !important; border-radius: 2rem 0.7rem 2rem 2rem !important; background: linear-gradient(150deg, rgba(78, 7, 17, .94), rgba(119, 18, 33, .91)),
    var(--tab-contact) center / cover no-repeat !important; box-shadow: rgba(43, 3, 9, 0.3) 0px 26px 62px !important; }

body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card { background-color: rgb(114, 21, 34) !important; background-image: linear-gradient(150deg, rgba(78, 7, 17, .94), rgba(119, 18, 33, .91)),
    var(--tab-contact) !important; background-position: center center !important; background-size: cover !important; background-repeat: no-repeat !important; }

body.heritage-contact.tradition-in-motion .contact-card::before { content: "聯"; position: absolute; right: -1.2rem; bottom: -3.2rem; color: rgba(239, 202, 119, 0.09); font: 700 12rem / 1 "Noto Serif TC", serif; pointer-events: none; }

body.heritage-contact.tradition-in-motion .contact-card::after { content: ""; position: absolute; left: clamp(2.2rem, 4vw, 3.3rem); top: 8.6rem; width: 4.5rem; height: 3px; border-radius: 999px; background: linear-gradient(90deg, rgb(240, 207, 130), rgb(189, 123, 29)); }

body.heritage-contact.tradition-in-motion .contact-card h2 { position: relative; z-index: 1; max-width: 9ch; margin-bottom: 4.2rem !important; color: rgb(255, 248, 232) !important; font-size: clamp(2.25rem, 4vw, 3.45rem) !important; }

body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card h2 { color: rgb(255, 248, 232) !important; }

body.heritage-contact.tradition-in-motion .contact-card h3 { position: relative; z-index: 1; letter-spacing: 0.16em; text-transform: uppercase; margin: 1.35rem 0px 0.35rem !important; color: rgb(240, 207, 130) !important; font-size: 0.76rem !important; }

body.heritage-contact.tradition-in-motion .contact-card p { position: relative; z-index: 1; padding: 0px 0px 1.25rem; border-bottom: 1px solid rgba(240, 207, 130, 0.2); font-size: 1rem; margin: 0px !important; color: rgba(255, 248, 232, 0.9) !important; }

body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card p, body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card a { color: rgba(255, 248, 232, 0.92) !important; }

body.heritage-contact.tradition-in-motion .contact-card p:last-child { border-bottom: 0px; }

body.heritage-contact.tradition-in-motion .contact-card a { text-decoration-color: rgba(240, 207, 130, 0.7); text-underline-offset: 0.2em; color: rgb(255, 248, 232) !important; }

body.heritage-contact.tradition-in-motion .contact-grid > div { min-width: 0px; }

body.heritage-contact.tradition-in-motion .contact-grid > div > h2 { margin: 0px 0px 1.2rem !important; color: rgb(255, 248, 232) !important; font-size: clamp(2.25rem, 4vw, 3.5rem) !important; }

body.heritage-contact.tradition-in-motion .contact-grid form { padding: clamp(2rem, 4vw, 3rem) !important; border-width: 4px 1px 1px !important; border-style: solid !important; border-color: rgb(211, 163, 72) rgba(218, 170, 72, 0.58) rgba(218, 170, 72, 0.58) !important; border-image: none !important; border-radius: 0.7rem 2rem 2rem !important; background: repeating-linear-gradient(0deg, transparent 0px, transparent 39px, rgba(89, 58, 38, 0.035) 40px), rgb(255, 248, 233) !important; box-shadow: rgba(43, 3, 9, 0.28) 0px 26px 62px !important; }

body.heritage-contact.tradition-in-motion .contact-grid form label { color: rgb(61, 32, 32) !important; font-weight: 700; }

body.heritage-contact.tradition-in-motion .contact-grid :is(input, textarea) { box-shadow: rgba(73, 28, 27, 0.04) 0px 1px 2px inset; color: rgb(53, 23, 25) !important; border: 1px solid rgba(133, 76, 65, 0.22) !important; background: rgba(255, 253, 247, 0.94) !important; }

body.heritage-contact.tradition-in-motion .contact-grid :is(input, textarea):focus { outline-offset: 1px; border-color: rgb(189, 123, 29) !important; outline: rgba(211, 163, 72, 0.2) solid 3px !important; }

body.heritage-contact.tradition-in-motion .contact-grid form .btn { min-width: 190px; box-shadow: rgba(99, 12, 26, 0.22) 0px 12px 28px; color: rgb(255, 255, 255) !important; background: rgb(141, 24, 40) !important; }

body.heritage-contact.tradition-in-motion .contact-grid form .btn:hover { background: rgb(111, 16, 29) !important; }

@media (max-width: 900px) {
  body.heritage-contact.tradition-in-motion .contact-grid { grid-template-columns: 1fr !important; }
  body.heritage-contact.tradition-in-motion .contact-card { min-height: 0px; border-radius: 1.5rem !important; }
}

/* Original ink-wash setting for “A place to belong, learn and celebrate.” */
html body.heritage-home.tradition-in-motion .hero + .section {
  padding-block: clamp(4rem, 7vw, 7rem) !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .18) 0 46%, rgba(255, 250, 240, .05) 63%, transparent 82%),
    url("assets/home-belong-ink-landscape-original-v1.png") center / cover no-repeat !important;
}

html body.heritage-home.tradition-in-motion .hero + .section::before {
  display: none !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading {
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

html body.heritage-home.tradition-in-motion .hero + .section .heading > div {
  max-width: 760px;
  padding: clamp(1.4rem, 2.4vw, 2.35rem);
  border-left: 4px solid #a92132;
  border-radius: 0 22px 22px 0;
  background: rgba(255, 250, 240, .72);
  box-shadow: 0 18px 46px rgba(87, 44, 25, .10);
}

html body.heritage-home.tradition-in-motion .hero + .section .heading > p {
  max-width: 570px;
  padding: clamp(1.15rem, 2vw, 1.7rem) !important;
  border: 1px solid rgba(172, 118, 42, .28);
  border-radius: 18px;
  color: #4b3830 !important;
  background: rgba(255, 250, 240, .70) !important;
  box-shadow: 0 16px 36px rgba(87, 44, 25, .09) !important;
  backdrop-filter: none !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading :is(h2, .eyebrow) {
  color: #2d1c18 !important;
  text-shadow: none !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .heading .eyebrow {
  color: #a92132 !important;
}

html body.heritage-home.tradition-in-motion .hero + .section .card {
  border-color: rgba(164, 104, 31, .25) !important;
  background: rgba(255, 251, 242, .76) !important;
  box-shadow: 0 15px 36px rgba(87, 44, 25, .10) !important;
  backdrop-filter: none !important;
}

@media (max-width: 760px) {
  html body.heritage-home.tradition-in-motion .hero + .section {
    padding-top: 270px !important;
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .04) 0 230px, rgba(255, 250, 240, .88) 330px 100%),
      url("assets/home-belong-ink-landscape-original-v1.png") 67% top / auto 340px no-repeat !important;
  }

  html body.heritage-home.tradition-in-motion .hero + .section .heading > div {
    border-radius: 0 18px 18px 0;
  }
}

@media (max-width: 600px) {
  body.heritage-contact.tradition-in-motion main > .section::before { inset: 0.65rem; border-radius: 1.25rem; }
  body.heritage-contact.tradition-in-motion .contact-grid form { padding: 1.35rem !important; border-radius: 0.65rem 1.4rem 1.4rem !important; }
  body.heritage-contact.tradition-in-motion .contact-grid form .btn { width: 100%; }
}

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__controls { backdrop-filter: blur(6px); width: auto !important; max-width: calc(100% - 1.25rem) !important; left: 50% !important; right: auto !important; bottom: 0.65rem !important; min-height: 0px !important; margin: 0px !important; padding: 3px 5px !important; gap: 3px !important; border: 0px !important; border-radius: 999px !important; background: rgba(22, 49, 44, 0.7) !important; box-shadow: rgba(12, 28, 24, 0.16) 0px 6px 18px !important; opacity: 0.9 !important; transform: translateX(-50%) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__pause { display: none !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__arrow { width: 30px !important; height: 30px !important; min-width: 30px !important; min-height: 30px !important; padding: 0px !important; border: 0px !important; border-radius: 50% !important; color: rgba(255, 255, 255, 0.94) !important; background: transparent !important; box-shadow: none !important; font-size: 1.25rem !important; line-height: 1 !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__arrow:hover, body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__arrow:focus-visible { transform: none !important; background: rgba(255, 255, 255, 0.13) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__dots { min-height: 18px !important; max-width: min(42vw, 120px) !important; padding: 2px 4px !important; gap: 4px !important; border: 0px !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__dot { width: 5px !important; height: 5px !important; min-width: 5px !important; padding: 0px !important; background: rgba(255, 255, 255, 0.42) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__dot.is-active { width: 16px !important; background: rgb(224, 182, 84) !important; }

@media (max-width: 600px) {
  body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__controls { bottom: 0.45rem !important; padding: 2px 4px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__arrow { width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; }
}

body.heritage-directory.tradition-in-motion { --page-tone: #e9edef; --page-tone-alt: #dbe4e7; --page-card: #fffaf0; --page-ink: #202b2f; --page-muted: #5c6a6e; --page-accent: #9b2838; --page-line: rgba(73, 92, 98, .2); }

body.heritage-directory.tradition-in-motion .pagehero { background: rgb(232, 236, 236) !important; }

body.heritage-directory.tradition-in-motion .pagehero::before { inset: 0px !important; width: 100% !important; border: 0px !important; opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; background: #e8ecec var(--tab-directory) center / cover no-repeat !important; }

body.heritage-directory.tradition-in-motion .pagehero::after { content: none !important; display: none !important; background: none !important; }

@media (min-width: 761px) {
  body.heritage-directory.tradition-in-motion .pagehero__grid { grid-template-columns: minmax(0px, 0.9fr) minmax(300px, 0.58fr) !important; gap: clamp(2rem, 6vw, 6rem) !important; }
  body.heritage-directory.tradition-in-motion .pagehero__grid > div { backdrop-filter: blur(3px); padding: clamp(1.7rem, 3vw, 2.8rem) !important; border-width: 1px 1px 1px 4px !important; border-style: solid !important; border-color: rgba(71, 88, 93, 0.18) rgba(71, 88, 93, 0.18) rgba(71, 88, 93, 0.18) rgb(163, 49, 65) !important; border-image: none !important; border-radius: 0.7rem 2rem 2rem 0.7rem !important; background: rgba(255, 250, 240, 0.9) !important; box-shadow: rgba(44, 59, 63, 0.17) 0px 24px 58px !important; }
  body.heritage-directory.tradition-in-motion .pagehero__grid > p { align-self: end; margin-bottom: 1.5rem; color: rgb(39, 51, 55) !important; border-width: 1px 1px 1px 4px !important; border-style: solid !important; border-color: rgba(71, 88, 93, 0.18) rgba(71, 88, 93, 0.18) rgba(71, 88, 93, 0.18) rgb(182, 135, 50) !important; border-image: none !important; background: rgba(255, 250, 240, 0.9) !important; box-shadow: rgba(44, 59, 63, 0.14) 0px 18px 46px !important; text-shadow: none !important; }
}

body.heritage-directory.tradition-in-motion main > .section { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 8vw, 7rem) !important; background: linear-gradient(135deg, rgba(43, 63, 69, 0.035) 25%, transparent 25%) 0px 0px / 42px 42px, linear-gradient(315deg, rgba(43, 63, 69, 0.035) 25%, transparent 25%) 0px 0px / 42px 42px, linear-gradient(rgb(243, 240, 232) 0%, rgb(228, 234, 236) 100%) !important; }

body.heritage-directory.tradition-in-motion main > .section .shell > p:first-child { max-width: 780px; padding: 1rem 1.25rem; border-left: 3px solid rgb(163, 49, 65); border-radius: 0px 1rem 1rem 0px; background: rgba(255, 250, 240, 0.72); font-size: 0.95rem; margin: 0px 0px 2.25rem !important; color: rgb(71, 87, 92) !important; }

body.heritage-directory.tradition-in-motion .directory { grid-auto-flow: dense; grid-template-columns: repeat(12, minmax(0px, 1fr)) !important; gap: 1.25rem !important; }

body.heritage-directory.tradition-in-motion main .directory > article { position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; min-height: 215px !important; grid-column: span 4 !important; padding: clamp(1.6rem, 3vw, 2.25rem) !important; color: rgb(32, 43, 47) !important; border: 1px solid rgba(73, 92, 98, 0.2) !important; border-radius: 0.7rem 2rem 2rem !important; background: rgba(255, 250, 240, 0.94) !important; box-shadow: rgba(48, 65, 70, 0.11) 0px 18px 44px !important; }

body.heritage-directory.tradition-in-motion main .directory > article::before { position: absolute; right: -3.5rem; bottom: -4.5rem; width: 12rem; height: 12rem; border: 1px solid rgba(175, 126, 43, 0.2); border-radius: 50%; background: radial-gradient(circle, transparent 46%, rgba(175, 126, 43, 0.07) 47%, rgba(175, 126, 43, 0.07) 49%, transparent 50%); pointer-events: none; content: "" !important; }

body.heritage-directory.tradition-in-motion main .directory > article:hover { transform: translateY(-4px); border-color: rgba(155, 40, 56, 0.34) !important; box-shadow: rgba(48, 65, 70, 0.16) 0px 26px 54px !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(1) { min-height: 250px !important; grid-column: span 7 !important; color: rgb(255, 250, 240) !important; border-color: rgba(218, 181, 106, 0.38) !important; background: radial-gradient(circle at 88% 16%, rgba(223, 190, 116, 0.14), transparent 28%), linear-gradient(145deg, rgb(40, 56, 61), rgb(23, 39, 44)) !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(2) { min-height: 250px !important; grid-column: span 5 !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(3) { background: linear-gradient(145deg, rgb(255, 250, 240), rgb(242, 221, 217)) !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(5) { background: linear-gradient(145deg, rgb(255, 250, 240), rgb(220, 231, 233)) !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(6) { min-height: 195px !important; grid-column: 1 / -1 !important; color: rgb(255, 248, 232) !important; border-color: rgba(230, 193, 109, 0.5) !important; background: radial-gradient(circle at 90% 20%, rgba(238, 204, 128, 0.16), transparent 28%), linear-gradient(120deg, rgb(124, 22, 36), rgb(165, 43, 62) 65%, rgb(110, 16, 29)) !important; }

body.heritage-directory.tradition-in-motion main .directory > article :is(h3, p, .quick__icon) { position: relative; z-index: 1; }

body.heritage-directory.tradition-in-motion main .directory > article h3 { margin: 1.25rem 0px 0.6rem !important; color: inherit !important; font-size: clamp(1.3rem, 2vw, 1.65rem) !important; }

body.heritage-directory.tradition-in-motion main .directory > article p { max-width: 34rem; margin: 0px !important; color: rgb(92, 106, 110) !important; }

body.heritage-directory.tradition-in-motion main .directory > article:nth-child(1) p, body.heritage-directory.tradition-in-motion main .directory > article:nth-child(6) p { color: rgba(255, 250, 240, 0.78) !important; }

body.heritage-directory.tradition-in-motion main .directory > article .quick__icon { border: 1px solid rgba(161, 112, 30, 0.18); color: rgb(143, 37, 53) !important; background: rgb(241, 223, 182) !important; }

body.heritage-directory.tradition-in-motion main > .section .shell > div:last-child { margin-top: 2.25rem !important; }

body.heritage-directory.tradition-in-motion main > .section .shell > div:last-child .btn { color: rgb(255, 255, 255) !important; background: rgb(142, 34, 50) !important; }

@media (max-width: 900px) {
  body.heritage-directory.tradition-in-motion main .directory > article:nth-child(n) { grid-column: span 6 !important; }
  body.heritage-directory.tradition-in-motion main .directory > article:nth-child(6) { grid-column: 1 / -1 !important; }
}

@media (max-width: 600px) {
  body.heritage-directory.tradition-in-motion main .directory > article:nth-child(n) { min-height: 210px !important; grid-column: 1 / -1 !important; }
}

body.heritage-evergreen.tradition-in-motion main { --evergreen-ink: #113e37; --evergreen-jade: #1d5b50; --evergreen-jade-soft: #dcebe5; --evergreen-paper: #fbf7ec; --evergreen-cinnabar: #9f2431; --evergreen-gold: #c99b45; background: linear-gradient(90deg, rgba(17, 62, 55, 0.035) 1px, transparent 1px) 0% 0% / 38px 38px, linear-gradient(rgba(17, 62, 55, 0.035) 1px, transparent 1px), rgb(237, 245, 241) !important; }

body.heritage-evergreen.tradition-in-motion main > .section:not(.evergreen-more):not(.evergreen-join) { background: transparent !important; }

body.heritage-evergreen.tradition-in-motion .pagehero { border-bottom: 1px solid rgba(201, 155, 69, 0.55); }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider { align-self: center; border: 1px solid rgba(255, 248, 226, 0.65) !important; border-radius: 26px !important; background: rgba(251, 247, 236, 0.82) !important; box-shadow: rgba(10, 48, 42, 0.22) 0px 24px 60px !important; padding: 12px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__viewport, body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__slide { border-radius: 18px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__slide { aspect-ratio: 3 / 2 !important; min-height: 0px !important; background: rgb(215, 229, 223) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-hero { grid-template-columns: minmax(340px, 0.85fr) minmax(0px, 1.15fr) !important; gap: clamp(34px, 5vw, 72px) !important; align-items: center !important; padding: clamp(26px, 4vw, 48px) !important; border: 1px solid rgba(17, 62, 55, 0.13) !important; border-radius: 30px !important; background: rgba(255, 253, 247, 0.94) !important; box-shadow: rgba(17, 62, 55, 0.1) 0px 24px 60px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-photo { min-height: 0px !important; aspect-ratio: 3 / 2 !important; border: 1px solid rgba(201, 155, 69, 0.45) !important; border-radius: 22px !important; background: rgb(215, 229, 223) !important; box-shadow: rgba(17, 62, 55, 0.12) 0px 16px 34px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; background: transparent !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-copy { position: relative; padding-inline: clamp(0px, 2vw, 24px) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-copy::before { content: "松"; position: absolute; top: -34px; right: 0px; color: rgba(159, 36, 49, 0.055); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(110px, 14vw, 180px); line-height: 1; pointer-events: none; }

body.heritage-evergreen.tradition-in-motion .evergreen-copy > * { position: relative; z-index: 1; }

body.heritage-evergreen.tradition-in-motion .evergreen-copy h2 { max-width: 13ch; color: var(--evergreen-ink) !important; font-size: clamp(2.25rem, 4vw, 4.1rem) !important; line-height: 1.02 !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-copy p { max-width: 62ch; color: rgb(77, 95, 89) !important; font-size: clamp(1rem, 1.2vw, 1.13rem) !important; line-height: 1.75 !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream { border-block: 1px solid rgba(17, 62, 55, 0.11); padding-block: clamp(66px, 8vw, 106px) !important; background: linear-gradient(135deg, rgb(249, 245, 233) 0%, rgb(237, 245, 241) 100%) !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading { margin-bottom: clamp(34px, 5vw, 58px) !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards { display: grid !important; grid-template-columns: repeat(3, minmax(0px, 1fr)) !important; gap: 14px !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards .card:nth-child(n) { position: relative; min-height: 148px !important; padding: 24px 24px 22px 84px !important; border: 1px solid rgba(17, 62, 55, 0.12) !important; border-radius: 18px !important; background: rgba(255, 253, 247, 0.88) !important; box-shadow: rgba(17, 62, 55, 0.07) 0px 12px 28px !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .card__symbol { place-items: center; position: absolute !important; top: 24px !important; left: 22px !important; display: grid !important; width: 46px !important; height: 46px !important; margin: 0px !important; border: 1px solid rgba(201, 155, 69, 0.75) !important; border-radius: 50% !important; color: rgb(255, 248, 230) !important; background: var(--evergreen-cinnabar) !important; font-size: 1.25rem !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .card h3 { margin: 8px 0px 0px !important; color: var(--evergreen-ink) !important; font-size: clamp(1.05rem, 1.45vw, 1.3rem) !important; line-height: 1.35 !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more { position: relative; overflow: hidden; color: rgb(248, 243, 230); padding-block: clamp(76px, 9vw, 118px) !important; background: linear-gradient(45deg, transparent 48%, rgba(238, 214, 160, 0.043) 49%, rgba(238, 214, 160, 0.043) 51%, transparent 52%) 0px 0px / 58px 58px, linear-gradient(-45deg, transparent 48%, rgba(238, 214, 160, 0.043) 49%, rgba(238, 214, 160, 0.043) 51%, transparent 52%) 0px 0px / 58px 58px, linear-gradient(135deg, rgb(18, 63, 55), rgb(11, 47, 42)) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more::after { content: "松"; position: absolute; right: -2vw; bottom: -9vw; color: rgba(238, 214, 160, 0.043); font-family: Georgia, "Noto Serif TC", serif; font-size: min(38vw, 520px); line-height: 0.8; pointer-events: none; }

body.heritage-evergreen.tradition-in-motion .evergreen-more .shell { position: relative; z-index: 1; }

body.heritage-evergreen.tradition-in-motion .evergreen-more .heading h2, body.heritage-evergreen.tradition-in-motion .evergreen-more .heading > p { color: rgb(255, 250, 240) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more .heading > p { max-width: 48ch; color: rgba(255, 250, 240, 0.76) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more .eyebrow { color: rgb(240, 207, 138) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefits { grid-template-columns: repeat(3, minmax(0px, 1fr)) !important; gap: 15px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefit, body.heritage-evergreen.tradition-in-motion .evergreen-benefit:nth-child(2n) { min-height: 218px !important; padding: 28px !important; border: 1px solid rgba(240, 207, 138, 0.32) !important; border-radius: 18px !important; color: var(--evergreen-ink) !important; background: rgba(255, 252, 243, 0.95) !important; box-shadow: rgba(0, 18, 16, 0.2) 0px 16px 36px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefit > span { place-items: center; display: grid !important; width: 45px !important; height: 45px !important; border: 1px solid rgba(201, 155, 69, 0.55) !important; border-radius: 8px !important; color: rgb(255, 248, 232) !important; background: var(--evergreen-cinnabar) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefit h3 { margin-top: 22px !important; color: var(--evergreen-ink) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefit p { color: rgb(82, 99, 94) !important; line-height: 1.6 !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-moments { padding-block: clamp(76px, 9vw, 118px) !important; background: linear-gradient(135deg, rgb(93, 17, 27), rgb(134, 29, 42) 58%, rgb(100, 18, 29)) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-moments .heading { margin-bottom: 44px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-moments .heading h2, body.heritage-evergreen.tradition-in-motion .evergreen-moments .heading > p { color: rgb(255, 248, 234) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-moments .eyebrow { color: rgb(243, 204, 127) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-photo-wall:has(.evergreen-decor-grid) .evergreen-decor-grid { display: block !important; columns: 300px 3 !important; column-gap: 16px !important; padding: 0px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-decor-card:nth-child(n) { overflow: hidden; break-inside: avoid; display: block !important; width: 100% !important; min-height: 0px !important; margin: 0px 0px 16px !important; border: 1px solid rgba(243, 204, 127, 0.28) !important; border-radius: 16px !important; background: rgba(255, 248, 234, 0.08) !important; box-shadow: rgba(27, 0, 5, 0.22) 0px 16px 34px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-decor-card img { display: block !important; position: static !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; background: transparent !important; }

body.heritage-evergreen #main>.evergreen-join{ padding-block: clamp(72px, 8vw, 104px) !important; background: linear-gradient(135deg, rgb(251, 247, 236), rgb(239, 228, 201)) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .join-ribbon { border: 1px solid rgba(201, 155, 69, 0.62) !important; border-radius: 26px !important; color: rgb(255, 248, 233) !important; background: linear-gradient(120deg, rgb(127, 24, 37), rgb(161, 39, 53)) !important; box-shadow: rgba(103, 19, 31, 0.18) 0px 22px 50px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .eyebrow { color: rgb(243, 204, 127) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join :is(h2, p) { color: rgb(255, 248, 233) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .btn { color: rgb(127, 24, 37) !important; background: rgb(255, 248, 233) !important; }

@media (max-width: 980px) {
  body.heritage-evergreen.tradition-in-motion .evergreen-hero { grid-template-columns: 1fr !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards, body.heritage-evergreen.tradition-in-motion .evergreen-benefits { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; }
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion .pagehero { min-height: 0px !important; padding: 34px 15px 42px !important; background: rgb(23, 75, 66) !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero::before { position: absolute !important; inset: 0px !important; width: 100% !important; height: 100% !important; min-height: 0px !important; background: var(--tab-evergreen) center / cover no-repeat !important; opacity: 1 !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero::after { position: absolute !important; inset: 0px !important; display: block !important; width: 100% !important; height: 100% !important; background: linear-gradient(rgba(8, 47, 41, 0.28), rgba(8, 47, 41, 0.68)) !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero__grid { position: relative !important; z-index: 1 !important; display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero__grid > div { padding: 26px 22px !important; border: 1px solid rgba(243, 204, 127, 0.35) !important; border-radius: 20px !important; background: rgba(12, 58, 51, 0.9) !important; box-shadow: rgba(4, 28, 25, 0.22) 0px 18px 36px !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero :is(h1, h2) { max-width: 12ch !important; color: rgb(255, 248, 232) !important; font-size: clamp(2.4rem, 12vw, 3.35rem) !important; line-height: 1.02 !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero .eyebrow { color: rgb(243, 204, 127) !important; }
  body.heritage-evergreen.tradition-in-motion .pagehero__grid > p { padding: 18px 20px !important; border: 1px solid rgba(243, 204, 127, 0.28) !important; border-radius: 16px !important; color: rgb(255, 248, 234) !important; background: rgba(83, 18, 27, 0.88) !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider { padding: 7px !important; border-radius: 18px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__viewport, body.heritage-evergreen.tradition-in-motion .evergreen-hero-slider .photo-slider__slide { border-radius: 13px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-hero { padding: 16px !important; border-radius: 20px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-copy { padding: 10px 6px 16px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-copy h2 { font-size: clamp(2rem, 11vw, 3rem) !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards, body.heritage-evergreen.tradition-in-motion .evergreen-benefits { grid-template-columns: 1fr !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards .card:nth-child(n) { min-height: 118px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-benefit, body.heritage-evergreen.tradition-in-motion .evergreen-benefit:nth-child(2n) { min-height: 0px !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-photo-wall:has(.evergreen-decor-grid) .evergreen-decor-grid { columns: 1 !important; }
}

body.heritage-evergreen.tradition-in-motion { --tab-evergreen: url("assets/cultural-jade-bamboo-v1.webp"); }

body.heritage-evergreen.tradition-in-motion .pagehero, body.heritage-evergreen.tradition-in-motion .pagehero::before { background-image: var(--tab-evergreen) !important; background-position: center center !important; background-size: cover !important; }

body.heritage-evergreen.tradition-in-motion .pagehero::after { background: linear-gradient(90deg, rgba(239, 246, 222, 0.08), rgba(21, 70, 56, 0.1)) !important; }

body.heritage-evergreen.tradition-in-motion .pagehero__grid > div { border-color: rgba(214, 181, 103, 0.52) !important; background: rgba(12, 57, 48, 0.92) !important; box-shadow: rgba(16, 54, 46, 0.2) 0px 22px 52px !important; }

body.heritage-evergreen.tradition-in-motion .pagehero__grid > p { border-color: rgba(214, 181, 103, 0.42) !important; color: rgb(255, 249, 233) !important; background: rgba(18, 66, 55, 0.9) !important; }

body.heritage-evergreen.tradition-in-motion main > .section:not(.section--cream):not(.evergreen-more):not(.evergreen-join) { background: linear-gradient(105deg, rgba(238, 246, 229, 0.97), rgba(250, 247, 237, 0.95)), url("assets/cultural-jade-bamboo-v1.webp") right center / min(54vw, 760px) no-repeat !important; }

body.heritage-evergreen.tradition-in-motion main > .section:not(.section--cream):not(.evergreen-more):not(.evergreen-join) .evergreen-hero { backdrop-filter: blur(5px); background: rgba(255, 253, 247, 0.9) !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(248, 247, 236, 0.95) 0%, rgba(248, 247, 236, 0.86) 46%, rgba(234, 243, 219, 0.9) 100%), url("assets/cultural-jade-bamboo-v1.webp") center center / cover no-repeat !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream::after { content: "竹"; position: absolute; right: 2.5vw; bottom: -3.5rem; color: rgba(26, 82, 66, 0.055); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(11rem, 24vw, 24rem); line-height: 1; pointer-events: none; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .shell { position: relative; z-index: 1; display: grid !important; grid-template-columns: minmax(260px, 0.72fr) minmax(0px, 1.28fr) !important; gap: clamp(34px, 6vw, 86px) !important; align-items: start !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading { position: sticky; top: 160px; display: block !important; margin: 0px !important; padding: 28px 0px !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading h2 { max-width: 10ch; color: rgb(18, 63, 54) !important; font-size: clamp(2.5rem, 5vw, 4.8rem) !important; line-height: 1.02 !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading::after { content: "Six ways to connect"; display: block; margin-top: 26px; color: rgb(106, 119, 110); font-size: 0.94rem; letter-spacing: 0.08em; text-transform: uppercase; }

html[lang="zh-Hant"] body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading::after { content: "六種相聚方式"; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; gap: 16px !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards .card:nth-child(n) { min-height: 156px !important; border-color: rgba(33, 91, 72, 0.17) !important; background: rgba(255, 253, 247, 0.91) !important; box-shadow: rgba(28, 69, 56, 0.08) 0px 14px 30px !important; }

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards .card:nth-child(3n+2) { background: rgba(235, 244, 220, 0.93) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more { background: linear-gradient(45deg, transparent 48%, rgba(226, 198, 128, 0.043) 49%, rgba(226, 198, 128, 0.043) 51%, transparent 52%) 0px 0px / 58px 58px, linear-gradient(-45deg, transparent 48%, rgba(226, 198, 128, 0.043) 49%, rgba(226, 198, 128, 0.043) 51%, transparent 52%) 0px 0px / 58px 58px, linear-gradient(120deg, rgb(8, 43, 36), rgb(17, 76, 62)) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-more::after { color: rgba(224, 196, 122, 0.055) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-benefit, body.heritage-evergreen.tradition-in-motion .evergreen-benefit:nth-child(2n) { border-color: rgba(223, 193, 116, 0.4) !important; background: rgba(255, 251, 239, 0.95) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-moments { border-block: 1px solid rgba(214, 181, 103, 0.48); background: radial-gradient(circle at 88% 12%, rgba(214, 181, 103, 0.1), transparent 28%), linear-gradient(135deg, rgb(9, 47, 41), rgb(18, 73, 62) 58%, rgb(10, 53, 46)) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-decor-card:nth-child(n) { border-color: rgba(225, 197, 126, 0.42) !important; background: rgba(255, 249, 233, 0.08) !important; box-shadow: rgba(1, 23, 19, 0.28) 0px 18px 38px !important; }

body.heritage-evergreen #main>.evergreen-join{ min-height: clamp(520px, 56vw, 720px); display: flex; align-items: center; background: linear-gradient(90deg, rgba(4, 45, 39, 0.22), rgba(4, 45, 39, 0.04)), url("assets/cultural-jade-bamboo-v1.webp") center center / cover no-repeat !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .join-ribbon { backdrop-filter: blur(9px); width: min(620px, 54%) !important; margin: 0px auto 0px 0px !important; padding: clamp(34px, 5vw, 66px) !important; border-color: rgba(231, 202, 131, 0.7) !important; color: rgb(255, 248, 232) !important; background: rgba(8, 52, 44, 0.91) !important; box-shadow: rgba(2, 26, 22, 0.3) 0px 28px 62px !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .join-ribbon__character { color: rgba(225, 195, 118, 0.12) !important; }

body.heritage-evergreen.tradition-in-motion .evergreen-join .btn { color: rgb(12, 73, 61) !important; background: rgb(240, 207, 130) !important; }

@media (max-width: 980px) {
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .shell { grid-template-columns: 1fr !important; gap: 28px !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading { position: static !important; padding: 0px !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading h2 { max-width: 14ch; }
  body.heritage-evergreen.tradition-in-motion .evergreen-join .join-ribbon { width: min(700px, 82%) !important; }
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream { background: linear-gradient(rgba(246, 247, 235, 0.93), rgba(234, 243, 219, 0.92)), url("assets/cultural-jade-bamboo-v1.webp") 40% center / auto 100% no-repeat !important; }
  body.heritage-evergreen.tradition-in-motion main > .section.section--cream .cards { grid-template-columns: 1fr !important; }
  body.heritage-evergreen #main>.evergreen-join{ min-height: 650px; align-items: flex-end; padding-bottom: 30px !important; background-position: 68% center !important; }
  body.heritage-evergreen.tradition-in-motion .evergreen-join .join-ribbon { width: 100% !important; padding: 30px 24px !important; background: rgba(7, 49, 42, 0.92) !important; }
}

/* Evergreen wallpaper composition — 2026-08-06 */
body.heritage-evergreen.tradition-in-motion {
  --tab-evergreen: url("assets/cultural-jade-bamboo-v1.webp");
}

body.heritage-evergreen.tradition-in-motion .pagehero,
body.heritage-evergreen.tradition-in-motion .pagehero::before {
  background-image: var(--tab-evergreen) !important;
  background-position: center 48% !important;
  background-size: cover !important;
}

body.heritage-evergreen.tradition-in-motion .pagehero::after {
  background: linear-gradient(90deg, rgba(242, 248, 239, 0.16), rgba(12, 55, 47, 0.12)) !important;
}

body.heritage-evergreen.tradition-in-motion main > .section:not(.section--cream):not(.evergreen-more):not(.evergreen-join) {
  background:
    linear-gradient(100deg, rgba(240, 247, 232, 0.34), rgba(255, 252, 244, 0.18)),
    url("assets/cultural-jade-bamboo-v1.webp") center / cover no-repeat !important;
}

body.heritage-evergreen.tradition-in-motion main > .section:not(.section--cream):not(.evergreen-more):not(.evergreen-join) .evergreen-hero {
  border-color: rgba(22, 82, 66, 0.2) !important;
  background: rgba(255, 253, 247, 0.92) !important;
  box-shadow: 0 28px 70px rgba(12, 55, 47, 0.14) !important;
}

body.heritage-evergreen.tradition-in-motion main > .section.section--cream {
  background:
    linear-gradient(90deg, rgba(246, 248, 237, 0.72), rgba(238, 246, 225, 0.58)),
    url("assets/cultural-jade-bamboo-v1.webp") center / cover no-repeat !important;
}

body.heritage-evergreen.tradition-in-motion main > .section.section--cream .heading {
  padding: clamp(24px, 3vw, 38px) !important;
  border: 1px solid rgba(22, 82, 66, 0.16) !important;
  border-radius: 24px !important;
  background: rgba(255, 253, 247, 0.88) !important;
  box-shadow: 0 20px 50px rgba(12, 55, 47, 0.1) !important;
}

body.heritage-evergreen.tradition-in-motion .evergreen-more {
  background:
    linear-gradient(120deg, rgba(7, 42, 35, 0.91), rgba(14, 75, 61, 0.88)),
    url("assets/cultural-ink-landscape-v1.webp") center / cover no-repeat !important;
}

body.heritage-evergreen.tradition-in-motion .evergreen-more::after {
  opacity: 0.55 !important;
}

@media (max-width: 760px) {
  body.heritage-evergreen.tradition-in-motion .pagehero,
  body.heritage-evergreen.tradition-in-motion .pagehero::before {
    background-position: 54% center !important;
  }

  body.heritage-evergreen.tradition-in-motion main > .section:not(.section--cream):not(.evergreen-more):not(.evergreen-join) {
    background-position: 58% center !important;
  }

  body.heritage-evergreen.tradition-in-motion main > .section.section--cream {
    background-position: 42% center !important;
  }
}

/* Slim, still Evergreen activity cards */
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading::before {
  content: "";
  right: 0 !important;
  bottom: 0 !important;
  width: 34% !important;
  height: 52% !important;
  background: url("assets/evergreen-bamboo-line.svg") right bottom / contain no-repeat !important;
  opacity: 0.36 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards {
  grid-auto-rows: minmax(118px, auto) !important;
  gap: 14px !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
  min-height: 118px !important;
  padding: 20px 76px 20px 82px !important;
  transition: border-color 180ms ease, background-color 180ms ease !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::before {
  right: 8px !important;
  font-size: 5.2rem !important;
  opacity: 0.55 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::after {
  content: "";
  top: auto !important;
  right: 4px !important;
  bottom: 0 !important;
  width: 84px !important;
  height: 94% !important;
  border: 0 !important;
  background: url("assets/evergreen-bamboo-line.svg") right bottom / contain no-repeat !important;
  opacity: 0.52 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:hover,
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:focus-within {
  transform: none !important;
  border-color: rgba(33, 91, 72, 0.24) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
    min-height: 108px !important;
    padding: 18px 66px 18px 76px !important;
  }
}

/* Final translucent hero panels across secondary pages — 2026-08-11 */
@media (min-width: 761px) {
  html body.heritage-events.tradition-in-motion .pagehero__grid > div:first-child { background: rgba(70, 2, 10, .46) !important; }
  html body.heritage-events.tradition-in-motion .pagehero__grid > p { background: rgba(54, 3, 10, .42) !important; }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > div:first-child { background: rgba(255, 249, 234, .56) !important; }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > p { background: rgba(73, 14, 20, .48) !important; }
  html body.heritage-evergreen.tradition-in-motion .pagehero__grid > div:first-child { background: rgba(12, 57, 48, .58) !important; }
  html body.heritage-evergreen.tradition-in-motion .pagehero__grid > p { background: rgba(18, 66, 55, .54) !important; }
  html body.heritage-gallery.tradition-in-motion .pagehero__grid > p { background: rgba(26, 7, 8, .36) !important; }
  html body.heritage-join.tradition-in-motion .pagehero__grid > p { background: rgba(91, 9, 20, .48) !important; }
  html body.heritage-contact.tradition-in-motion .pagehero__grid > div:first-child { background: rgba(70, 5, 13, .46) !important; }
  html body.heritage-contact.tradition-in-motion .pagehero__grid > p { background: rgba(35, 5, 10, .5) !important; }
  html body:is(.heritage-events, .heritage-weekly, .heritage-evergreen, .heritage-gallery, .heritage-join, .heritage-contact).tradition-in-motion .pagehero__grid > :is(div:first-child, p) { backdrop-filter: blur(2px) !important; }
}

/* About page lantern portrait — 2026-08-11 */
html body.heritage-about.tradition-in-motion,
html body.heritage-about.tradition-in-motion main#main {
  color: #fff7e6 !important;
  background: radial-gradient(circle at 78% 16%, rgba(177, 109, 25, .1), transparent 29%), linear-gradient(180deg, #0b0907, #100b08 54%, #080706) !important;
}

html body.heritage-about.tradition-in-motion .pagehero {
  min-height: clamp(560px, 53vw, 790px) !important;
  overflow: hidden;
  color: #fff8e8 !important;
  border-bottom: 2px solid rgba(220, 172, 77, .68) !important;
  background: #050403 url("assets/about-lantern-background-optimized.webp?v=2") center center / cover no-repeat !important;
}

html body.heritage-about.tradition-in-motion .pagehero::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 1;
  inset: 0 !important;
  width: auto !important;
  pointer-events: none;
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent 0 52%, rgba(225, 177, 77, .22) 52% 52.08%, transparent 52.08%), linear-gradient(180deg, transparent 82%, rgba(7, 5, 3, .5)) !important;
  clip-path: none !important;
  filter: none !important;
}

html body.heritage-about.tradition-in-motion .pagehero::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 1;
  top: auto !important;
  right: auto !important;
  bottom: clamp(30px, 4vw, 64px) !important;
  left: clamp(24px, 4.5vw, 76px) !important;
  width: clamp(94px, 9vw, 150px) !important;
  height: 3px !important;
  border-radius: 999px;
  background: linear-gradient(90deg, #b51c2c 0 54%, #e0ad4a 54%) !important;
  box-shadow: 0 0 22px rgba(225, 177, 77, .22);
}

html body.heritage-about.tradition-in-motion .pagehero__grid {
  position: relative;
  z-index: 2;
  align-items: center !important;
  min-height: inherit;
  padding-block: clamp(5.5rem, 9vw, 9rem) !important;
}

html body.heritage-about.tradition-in-motion .pagehero__grid::before { display: none !important; }
html body.heritage-about.tradition-in-motion .pagehero :is(.hero-orbit, .jade-disc, .heritage-lanterns, .heritage-seal, .page-signature) { display: none !important; }

html body.heritage-about.tradition-in-motion .pagehero__grid > div:first-child {
  max-width: 760px;
  padding: clamp(1.6rem, 3vw, 3rem) clamp(1.4rem, 3vw, 3.2rem) !important;
  border: 1px solid rgba(225, 177, 77, .3) !important;
  border-left: 3px solid #daa83f !important;
  border-radius: 0 28px 28px 0 !important;
  background: rgba(7, 6, 5, .44) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(2px);
}

html body.heritage-about.tradition-in-motion .pagehero h1 {
  max-width: 10.5ch;
  color: #fff9eb !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .72) !important;
}

html body.heritage-about.tradition-in-motion .pagehero .eyebrow {
  color: #efc76b !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .72) !important;
}

html body.heritage-about.tradition-in-motion .pagehero__grid > p {
  align-self: end;
  margin-top: 0;
  max-width: 490px;
  padding: clamp(1.35rem, 2.2vw, 2rem) !important;
  color: #fff5df !important;
  border: 1px solid rgba(232, 189, 94, .4) !important;
  border-left: 3px solid #c99330 !important;
  border-radius: 0 22px 22px 0 !important;
  background: rgba(8, 6, 4, .48) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .34) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .68) !important;
  backdrop-filter: blur(2px);
}

/* Weekly Activities cultural wallpaper — 2026-08-11 */
html body.heritage-weekly.tradition-in-motion {
  --page-tone: #f3e8d2;
  --page-tone-alt: #e8d5b4;
  --page-card: rgba(255, 251, 240, .96);
  --page-ink: #291914;
  --page-muted: #69564a;
  --page-accent: #a11c2e;
  --page-line: rgba(156, 55, 42, .22);
}

html body.heritage-weekly.tradition-in-motion .pagehero {
  min-height: clamp(590px, 49vw, 740px) !important;
  overflow: hidden;
  border-bottom: 2px solid rgba(191, 128, 36, .62) !important;
  background:
    linear-gradient(90deg, rgba(247, 237, 216, .97) 0%, rgba(247, 237, 216, .93) 34%, rgba(247, 237, 216, .67) 50%, rgba(247, 237, 216, .08) 76%),
    url("assets/weekly-cultural-wallpaper-optimized.webp?v=1") center / cover no-repeat !important;
}

html body.heritage-weekly.tradition-in-motion .pagehero::before,
html body.heritage-weekly.tradition-in-motion .pagehero::after { display: none !important; }

html body.heritage-weekly.tradition-in-motion .pagehero :is(.hero-orbit, .jade-disc, .heritage-lanterns, .heritage-seal, .page-signature) { display: none !important; }

html body.heritage-weekly.tradition-in-motion .pagehero__grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  align-items: center !important;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .58fr) !important;
  gap: clamp(1.4rem, 4vw, 4rem) !important;
  padding-block: clamp(4rem, 7vw, 7rem) !important;
}

html body.heritage-weekly.tradition-in-motion .pagehero__grid > div:first-child {
  padding: clamp(1.6rem, 3vw, 3rem) !important;
  border: 1px solid rgba(154, 54, 39, .22) !important;
  border-left: 3px solid #a41d2e !important;
  border-radius: 0 28px 28px 0 !important;
  background: rgba(255, 249, 234, .86) !important;
  box-shadow: 0 24px 60px rgba(75, 40, 26, .16) !important;
  backdrop-filter: blur(4px);
}

html body.heritage-weekly.tradition-in-motion .pagehero h1 {
  max-width: 11ch;
  color: #281914 !important;
  text-shadow: none !important;
}

html body.heritage-weekly.tradition-in-motion .pagehero .eyebrow { color: #9f1d2e !important; }

html body.heritage-weekly.tradition-in-motion .pagehero__grid > p {
  align-self: end;
  margin: 0 0 clamp(1rem, 3vw, 2.8rem) !important;
  padding: clamp(1.3rem, 2vw, 1.8rem) !important;
  color: #fff8e7 !important;
  border: 1px solid rgba(244, 205, 117, .5) !important;
  border-left: 3px solid #e3b34d !important;
  border-radius: 0 22px 22px 0 !important;
  background: rgba(73, 14, 20, .86) !important;
  box-shadow: 0 20px 50px rgba(55, 15, 15, .25) !important;
  text-shadow: 0 2px 12px rgba(30, 4, 6, .45) !important;
  backdrop-filter: blur(5px);
}

html body.heritage-weekly.tradition-in-motion main#main > .section.section--cream {
  background:
    linear-gradient(rgba(250, 243, 226, .91), rgba(245, 234, 213, .94)),
    url("assets/weekly-cultural-wallpaper-optimized.webp?v=1") 58% 72% / cover no-repeat !important;
}

html body.heritage-weekly.tradition-in-motion .schedule-card {
  border: 1px solid rgba(157, 59, 45, .2) !important;
  border-top: 3px solid #b42937 !important;
  background: rgba(255, 252, 242, .94) !important;
  box-shadow: 0 16px 38px rgba(74, 42, 28, .11) !important;
}

html body.heritage-weekly.tradition-in-motion .schedule-card:nth-child(3n+2) { border-top-color: #c99732 !important; }
html body.heritage-weekly.tradition-in-motion .schedule-card h3 { color: #68121e !important; }
html body.heritage-weekly.tradition-in-motion .info-box {
  border-color: rgba(159, 79, 40, .24) !important;
  background: rgba(255, 250, 237, .96) !important;
  box-shadow: 0 20px 48px rgba(73, 42, 27, .12) !important;
}

@media (max-width: 760px) {
  html body.heritage-about.tradition-in-motion .pagehero__grid > p { margin-top: 0; }
  html body.heritage-weekly.tradition-in-motion .pagehero {
    min-height: auto !important;
    padding-top: 290px !important;
    background: #f3e8d2 !important;
  }
  html body.heritage-weekly.tradition-in-motion .pagehero::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    z-index: 1;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: 290px !important;
    border: 0 !important;
    opacity: 1 !important;
    background: linear-gradient(180deg, transparent 64%, rgba(42, 24, 18, .32)), url("assets/weekly-cultural-wallpaper-optimized.webp?v=1") 66% center / cover no-repeat !important;
    clip-path: none !important;
    filter: none !important;
  }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid {
    min-height: 0;
    grid-template-columns: 1fr !important;
    gap: .9rem !important;
    padding-block: 1.5rem 2.75rem !important;
  }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > div:first-child,
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > p {
    margin: 0 !important;
    padding: 1.2rem 0 1.2rem 1rem !important;
    border-width: 0 0 0 2px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none;
  }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > div:first-child { background: transparent !important; }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > p { color: #5e4339 !important; background: rgba(255, 250, 238, .76) !important; text-shadow: none !important; }
}

html body.heritage-about.tradition-in-motion main#main > .section {
  color: #fff4df;
  border-bottom: 1px solid rgba(218, 168, 63, .18);
  background: radial-gradient(circle at 92% 10%, rgba(190, 115, 29, .09), transparent 24%), linear-gradient(135deg, rgba(17, 13, 10, .98), rgba(8, 8, 7, .98)) !important;
}

html body.heritage-about.tradition-in-motion main#main :is(h2, h3, h4) { color: #fff8e8 !important; }
html body.heritage-about.tradition-in-motion main#main :is(p, li) { color: #ded3c1 !important; }
html body.heritage-about.tradition-in-motion main#main :is(.wp-content, .person, .sidecard, .card) {
  border-color: rgba(223, 173, 71, .32) !important;
  background: linear-gradient(145deg, rgba(24, 18, 13, .96), rgba(11, 10, 9, .94)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 220, 145, .1), 0 18px 44px rgba(0, 0, 0, .25) !important;
}

@media (max-width: 760px) {
  html body.heritage-about.tradition-in-motion .pagehero {
    min-height: auto !important;
    padding-top: 310px !important;
    background: #050403 url("assets/about-lantern-background-optimized.webp?v=2") center center / cover no-repeat !important;
  }
  html body.heritage-about.tradition-in-motion .pagehero::before { height: 310px; background: linear-gradient(180deg, transparent 52%, rgba(7, 5, 3, .74)) !important; }
  html body.heritage-about.tradition-in-motion .pagehero::after { display: none !important; }
  html body.heritage-about.tradition-in-motion .pagehero__grid { gap: 1rem !important; padding-block: 1.5rem 2.5rem !important; background: #0b0907; }
  html body.heritage-about.tradition-in-motion .pagehero__grid > div:first-child,
  html body.heritage-about.tradition-in-motion .pagehero__grid > p {
    max-width: none;
    padding: 1.25rem 0 1.25rem 1.15rem !important;
    border-width: 0 0 0 2px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
  }
}

/* Keep the Events calendar composition last in the cascade. */
html body.heritage-events.tradition-in-motion main#main > .section {
  overflow: hidden;
  background: radial-gradient(circle at 8% 18%, rgba(194,29,44,.12), transparent 24%), radial-gradient(circle at 92% 82%, rgba(218,166,61,.15), transparent 24%), linear-gradient(135deg,#fff9ef,#f8ead8) !important;
}
html body.heritage-events.tradition-in-motion main#main .hospital-announcement {
  position: relative; overflow: hidden; border: 1px solid rgba(248,211,125,.58) !important; border-top: 5px solid #e1b34f !important;
  background: linear-gradient(115deg,rgba(118,5,19,.98),rgba(183,21,42,.94)), url("assets/motif-lattice-medallions.svg") right center / 460px auto no-repeat !important;
  box-shadow: 0 26px 64px rgba(85,5,17,.2) !important;
}
html body.heritage-events.tradition-in-motion main#main .join-grid > .info-box:not(.hospital-announcement) {
  max-width: 700px; margin: -3.2rem 1.6rem 0 auto !important; padding: 1.5rem 1.8rem !important;
  border: 1px solid rgba(241,201,108,.62) !important; border-radius: 1.15rem !important;
  color: #fff9ed !important; background: linear-gradient(110deg,rgba(73,3,12,.98),rgba(128,11,27,.96)),url("assets/motif-cloud-ribbon.svg") right bottom / 280px auto no-repeat !important;
  box-shadow: 0 18px 42px rgba(57,2,10,.22) !important; transform: none !important;
}
html body.heritage-events.tradition-in-motion main#main .join-grid > .info-box:not(.hospital-announcement) h2 { margin-bottom: .55rem; color: #f3cc73 !important; font-size: clamp(1.45rem,2.4vw,2rem) !important; }
html body.heritage-events.tradition-in-motion main#main .join-grid > .info-box:not(.hospital-announcement) p { margin: 0; color: rgba(255,249,237,.82) !important; }
html body.heritage-events.tradition-in-motion main#main .event-list {
  position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(2.4rem,5vw,4rem) !important; padding: clamp(1.2rem,3vw,2.3rem) !important;
  border: 1px solid rgba(238,194,92,.56) !important; border-radius: 2rem !important;
  background: linear-gradient(120deg,rgba(69,2,11,.95),rgba(133,10,26,.92)), url("assets/motif-event-waves.svg") center / cover no-repeat !important;
  box-shadow: 0 28px 68px rgba(68,3,12,.2) !important;
}
html body.heritage-events.tradition-in-motion main#main .event-list::after { content: "福"; position: absolute; z-index: -1; right: clamp(1rem,3vw,2.5rem); top: clamp(.2rem,1vw,.8rem); color: rgba(244,205,112,.1); font: 700 clamp(8rem,18vw,15rem)/1 "Noto Serif TC",serif; pointer-events: none; }
html body.heritage-events.tradition-in-motion main#main .event-empty__panel {
  position: relative; width: min(870px,100%); min-height: 0 !important; margin: 0 !important; padding: clamp(2rem,4vw,3.4rem) clamp(1.5rem,4.5vw,4.2rem) !important;
  border: 1px solid rgba(245,214,147,.55) !important; border-radius: 1.45rem 4rem 1.45rem 1.45rem !important; color: #3a0910 !important;
  background: linear-gradient(135deg,rgba(255,253,247,.99),rgba(255,244,222,.96)) !important; box-shadow: 0 24px 58px rgba(35,0,5,.24) !important;
}
html body.heritage-events .event-empty__panel::before { content: ""; position: absolute; right: 1.4rem; bottom: 1rem; width: min(260px,32%); height: 110px; background: url("assets/motif-lantern-row.svg") right bottom / contain no-repeat; opacity: .2; pointer-events: none; }
html body.heritage-events .event-empty__panel .cultural-cameo { display: none !important; }
html body.heritage-events .event-empty__panel .eyebrow { display: inline-flex; margin-bottom: 1rem; padding: .35rem .72rem; border: 1px solid rgba(160,18,35,.2); border-radius: 999px; color: #991324 !important; background: rgba(173,21,40,.07); }
html body.heritage-events .event-empty__panel h2 { max-width: 13ch; margin-bottom: 1rem; color: #3b080f !important; font-size: clamp(2.2rem,5vw,4rem) !important; }
html body.heritage-events .event-empty__panel > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 670px; color: #65433f !important; }
html body.heritage-events .event-empty__panel > div { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.65rem; }
html body.heritage-events .event-empty__panel .btn { color: #fffaf0 !important; background: #a91427 !important; box-shadow: 0 12px 28px rgba(153,19,36,.2) !important; }
html body.heritage-events .event-empty__panel .textlink { color: #8e1020 !important; }
html body.heritage-events .event-list:not(.event-empty) .event { margin-bottom: .9rem; padding: clamp(1rem,2vw,1.45rem) !important; border: 1px solid rgba(245,213,143,.32) !important; border-radius: 1rem !important; color: #fff9ed !important; background: rgba(58,2,10,.76) !important; box-shadow: 0 12px 30px rgba(25,0,4,.18); }
html body.heritage-events .event-list:not(.event-empty) .event :is(h2,h3,p,time,a) { color: #fff9ed !important; }
html body.heritage-events .event-list:not(.event-empty) .event .pill { color: #4b090f; background: #edc768; }
@media (max-width: 700px) {
  html body.heritage-events .event-list { padding: .8rem !important; border-radius: 1.25rem !important; }
  html body.heritage-events .event-empty__panel { padding: 1.5rem !important; border-radius: 1rem 2.5rem 1rem 1rem !important; }
  html body.heritage-events .event-empty__panel::before { width: 150px; height: 70px; opacity: .12; }
}

/* Events calendar stage — richer when empty, scalable when dates are published. */
html body.heritage-events main > .section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(194, 29, 44, .12), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(218, 166, 61, .15), transparent 24%),
    linear-gradient(135deg, #fff9ef 0%, #f8ead8 100%) !important;
}

html body.heritage-events main > .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -5% -70px 35%;
  height: 330px;
  background: url("assets/motif-cloud-ribbon.svg") right bottom / contain no-repeat;
  opacity: .14;
  pointer-events: none;
}

html body.heritage-events .hospital-announcement {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 211, 125, .58) !important;
  border-top: 5px solid #e1b34f !important;
  background:
    linear-gradient(115deg, rgba(118, 5, 19, .98), rgba(183, 21, 42, .94)),
    url("assets/motif-lattice-medallions.svg") right center / 460px auto no-repeat !important;
  box-shadow: 0 26px 64px rgba(85, 5, 17, .2) !important;
}

html body.heritage-events .event-list {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 4rem) !important;
  padding: clamp(1.2rem, 3vw, 2.3rem) !important;
  border: 1px solid rgba(238, 194, 92, .56) !important;
  border-radius: 2rem !important;
  background:
    linear-gradient(120deg, rgba(69, 2, 11, .95), rgba(133, 10, 26, .92)),
    url("assets/motif-event-waves.svg") center / cover no-repeat !important;
  box-shadow: 0 28px 68px rgba(68, 3, 12, .2) !important;
}

html body.heritage-events .event-list::after {
  content: "福";
  position: absolute;
  z-index: -1;
  right: clamp(1rem, 3vw, 2.5rem);
  top: clamp(.2rem, 1vw, .8rem);
  color: rgba(244, 205, 112, .1);
  font: 700 clamp(8rem, 18vw, 15rem)/1 "Noto Serif TC", serif;
  pointer-events: none;
}

html body.heritage-events .event-empty__panel {
  position: relative;
  width: min(870px, 100%);
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 4.5vw, 4.2rem) !important;
  border: 1px solid rgba(245, 214, 147, .55) !important;
  border-radius: 1.45rem 4rem 1.45rem 1.45rem !important;
  color: #3a0910 !important;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, .99), rgba(255, 244, 222, .96)) !important;
  box-shadow: 0 24px 58px rgba(35, 0, 5, .24) !important;
}

html body.heritage-events .event-empty__panel::before {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 1rem;
  width: min(260px, 32%);
  height: 110px;
  background: url("assets/motif-lantern-row.svg") right bottom / contain no-repeat;
  opacity: .2;
  pointer-events: none;
}

html body.heritage-events .event-empty__panel .cultural-cameo {
  display: none !important;
}

html body.heritage-events .event-empty__panel .eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .35rem .72rem;
  border: 1px solid rgba(160, 18, 35, .2);
  border-radius: 999px;
  color: #991324 !important;
  background: rgba(173, 21, 40, .07);
}

html body.heritage-events .event-empty__panel h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: #3b080f !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
}

html body.heritage-events .event-empty__panel > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 670px;
  color: #65433f !important;
}

html body.heritage-events .event-empty__panel > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.65rem;
}

html body.heritage-events .event-empty__panel .btn {
  color: #fffaf0 !important;
  background: #a91427 !important;
  box-shadow: 0 12px 28px rgba(153, 19, 36, .2) !important;
}

html body.heritage-events .event-empty__panel .textlink {
  color: #8e1020 !important;
}

html body.heritage-events .event-list:not(.event-empty) .event {
  margin-bottom: .9rem;
  padding: clamp(1rem, 2vw, 1.45rem) !important;
  border: 1px solid rgba(245, 213, 143, .32) !important;
  border-radius: 1rem !important;
  color: #fff9ed !important;
  background: rgba(58, 2, 10, .76) !important;
  box-shadow: 0 12px 30px rgba(25, 0, 4, .18);
}

html body.heritage-events .event-list:not(.event-empty) .event :is(h2, h3, p, time, a) {
  color: #fff9ed !important;
}

html body.heritage-events .event-list:not(.event-empty) .event .pill {
  color: #4b090f;
  background: #edc768;
}

@media (max-width: 700px) {
  html body.heritage-events .event-list {
    padding: .8rem !important;
    border-radius: 1.25rem !important;
  }

  html body.heritage-events .event-empty__panel {
    padding: 1.5rem !important;
    border-radius: 1rem 2.5rem 1rem 1rem !important;
  }

  html body.heritage-events .event-empty__panel::before {
    width: 150px;
    height: 70px;
    opacity: .12;
  }
}

/* Original event-wave and dark-lattice compositions — 2026-08-11 */
body.heritage-home #main > .section.section--cream {
  color: #fff9ec;
  background:
    linear-gradient(100deg, rgba(65, 3, 12, .28), rgba(45, 2, 8, .12)),
    url("assets/motif-event-waves.svg") center / cover no-repeat !important;
}

body.heritage-home #main > .section.section--cream .heading :is(h2, p),
body.heritage-home #main > .section.section--cream .event :is(h3, p, a),
body.heritage-home #main > .section.section--cream .event time {
  color: #fff9ec !important;
}

body.heritage-home #main > .section.section--cream .eyebrow {
  color: #f5d17d !important;
}

body.heritage-home #main > .section.section--cream .event-list {
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid rgba(244, 203, 112, .34) !important;
  border-radius: 24px;
  background: rgba(48, 2, 9, .58);
  box-shadow: 0 24px 58px rgba(31, 0, 5, .25);
  backdrop-filter: blur(6px);
}

body.heritage-home #main > .section.section--cream .event {
  border-color: rgba(255, 235, 198, .2) !important;
}

body.heritage-home #main > .section.section--cream .pill {
  color: #4a0710 !important;
  background: #f1cc75 !important;
}

body.heritage-about.tradition-in-motion,
body.heritage-about.tradition-in-motion main {
  color: #fff8e8 !important;
  background: #0d090a url("assets/motif-dark-lattice.svg") center top / 1600px auto repeat-y !important;
}

body.heritage-about.tradition-in-motion .pagehero {
  min-height: clamp(470px, 42vw, 650px);
  color: #fff8e8 !important;
  border-bottom: 1px solid rgba(207, 164, 82, .42) !important;
  background:
    linear-gradient(90deg, rgba(8, 5, 6, .36), rgba(40, 4, 10, .2)),
    url("assets/motif-dark-lattice.svg") center / cover no-repeat !important;
}

body.heritage-about.tradition-in-motion .pagehero::before,
body.heritage-about.tradition-in-motion .pagehero::after {
  display: none !important;
}

body.heritage-about.tradition-in-motion .pagehero__grid {
  min-height: inherit;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .65fr) !important;
}

body.heritage-about.tradition-in-motion .pagehero :is(h1, p) {
  color: #fff8e8 !important;
}

body.heritage-about.tradition-in-motion .pagehero h1 {
  max-width: 9.5ch;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .44) !important;
}

body.heritage-about.tradition-in-motion .pagehero .eyebrow,
body.heritage-about.tradition-in-motion main .eyebrow {
  color: #f0c96f !important;
}

body.heritage-about.tradition-in-motion .pagehero__grid > p {
  padding: clamp(24px, 3vw, 38px) !important;
  color: #f8ead0 !important;
  border: 1px solid rgba(218, 174, 87, .38) !important;
  border-radius: 4px 28px 4px 28px !important;
  background: rgba(18, 11, 12, .78) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .3) !important;
  backdrop-filter: blur(8px) !important;
}

body.heritage-about.tradition-in-motion .about-overview {
  background: transparent !important;
}

body.heritage-about.tradition-in-motion .about-overview__content {
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .7fr) !important;
  gap: clamp(22px, 4vw, 54px) !important;
}

body.heritage-about.tradition-in-motion .about-overview__story,
body.heritage-about.tradition-in-motion .about-overview__aside,
body.heritage-about.tradition-in-motion .about-board-section {
  border: 1px solid rgba(211, 168, 81, .3) !important;
  background: rgba(17, 12, 13, .84) !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(8px);
}

body.heritage-about.tradition-in-motion .about-overview__story {
  border-radius: 4px 34px 4px 34px !important;
}

body.heritage-about.tradition-in-motion .about-overview__story :is(h2, p),
body.heritage-about.tradition-in-motion .about-overview__aside :is(h3, p),
body.heritage-about.tradition-in-motion .about-board-heading :is(h2, p) {
  color: #fff8e8 !important;
}

body.heritage-about.tradition-in-motion .about-overview__aside {
  min-height: 0;
  border-radius: 34px 4px 34px 4px !important;
  background: linear-gradient(150deg, rgba(121, 12, 25, .94), rgba(54, 4, 12, .96)) !important;
}

body.heritage-about.tradition-in-motion .about-overview__aside .btn {
  color: #3d0710 !important;
  background: #efcc79 !important;
}

body.heritage-about.tradition-in-motion .purpose-seal {
  color: rgba(246, 205, 113, .12) !important;
}

body.heritage-about.tradition-in-motion .about-board-section {
  margin-top: clamp(40px, 6vw, 76px);
  padding: clamp(28px, 4vw, 52px) !important;
  border-radius: 28px 4px 28px 4px;
}

body.heritage-about.tradition-in-motion .about-board-section .board {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.heritage-about.tradition-in-motion .about-board-section .person {
  min-height: 156px !important;
  padding: 24px !important;
  color: #fff8e8 !important;
  border: 1px solid rgba(211, 168, 81, .25) !important;
  border-radius: 3px 22px 3px 22px !important;
  background: linear-gradient(145deg, rgba(52, 12, 18, .94), rgba(24, 13, 15, .94)) !important;
  transform: none !important;
}

body.heritage-about.tradition-in-motion .about-board-section .person strong {
  color: #fff8e8 !important;
  font-size: 1.08rem;
}

body.heritage-about.tradition-in-motion .about-board-section .person > span:last-child {
  color: #dcc99f !important;
  line-height: 1.45;
}

body.heritage-about.tradition-in-motion .person__number {
  color: #efc76e !important;
}

@media (max-width: 980px) {
  body.heritage-about.tradition-in-motion .about-overview__content,
  body.heritage-about.tradition-in-motion .pagehero__grid {
    grid-template-columns: 1fr !important;
  }

  body.heritage-about.tradition-in-motion .about-overview__aside {
    position: static !important;
  }

  body.heritage-about.tradition-in-motion .about-board-section .board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  body.heritage-home #main > .section.section--cream .event-list {
    padding: 10px 18px;
  }

  body.heritage-about.tradition-in-motion .pagehero {
    min-height: 0;
    padding: 0 !important;
  }

  body.heritage-about.tradition-in-motion .pagehero__grid {
    padding-block: 4rem !important;
  }

  body.heritage-about.tradition-in-motion .about-board-section .board {
    grid-template-columns: 1fr !important;
  }
}

/* Specificity guard for the dark About composition. */
html body.heritage-about.tradition-in-motion #main > section.about-overview {
  background:
    linear-gradient(rgba(9, 6, 7, .28), rgba(9, 6, 7, .28)),
    url("assets/motif-dark-lattice.svg") center top / 1600px auto repeat-y !important;
}

html body.heritage-about.tradition-in-motion #main .history-ribbon {
  border: 1px solid rgba(211, 168, 81, .3) !important;
  background: rgba(16, 11, 12, .9) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28) !important;
}

html body.heritage-about.tradition-in-motion #main .history-ribbon :is(strong, span) {
  color: #f7e7c5 !important;
}

html body.heritage-about.tradition-in-motion #main .about-overview__story,
html body.heritage-about.tradition-in-motion #main .about-overview__aside,
html body.heritage-about.tradition-in-motion #main .about-board-section {
  border-color: rgba(211, 168, 81, .3) !important;
  background: rgba(17, 12, 13, .88) !important;
}

html body.heritage-about.tradition-in-motion #main .about-overview__aside {
  background: linear-gradient(150deg, rgba(121, 12, 25, .96), rgba(54, 4, 12, .97)) !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n) {
  color: #fff8e8 !important;
  border-color: rgba(211, 168, 81, .25) !important;
  background: linear-gradient(145deg, rgba(52, 12, 18, .96), rgba(24, 13, 15, .96)) !important;
}

/* About page polish: quieter decoration, stronger gold detailing. */
html body.heritage-about.tradition-in-motion .pagehero .hero-orbit,
html body.heritage-about.tradition-in-motion .pagehero .jade-disc {
  display: none !important;
}

html body.heritage-about.tradition-in-motion .pagehero .eyebrow {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fffdf7 !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: .2em !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .42) !important;
}

html body.heritage-about.tradition-in-motion .pagehero__grid {
  isolation: isolate;
}

html body.heritage-about.tradition-in-motion .pagehero__grid::before {
  content: "";
  position: absolute;
  inset: 26px 0;
  z-index: -1;
  pointer-events: none;
  border-top: 1px solid rgba(231, 191, 104, .36);
  border-bottom: 1px solid rgba(231, 191, 104, .18);
}

html body.heritage-about.tradition-in-motion .pagehero__grid > div:first-child::after {
  height: 3px !important;
  background: linear-gradient(90deg, #efc96f 0 66%, rgba(239, 201, 111, .18) 66%) !important;
  box-shadow: 0 0 20px rgba(239, 201, 111, .22);
}

html body.heritage-about.tradition-in-motion #main .history-ribbon,
html body.heritage-about.tradition-in-motion #main .about-overview__story,
html body.heritage-about.tradition-in-motion #main .about-overview__aside,
html body.heritage-about.tradition-in-motion #main .about-board-section {
  position: relative;
  overflow: hidden;
}

html body.heritage-about.tradition-in-motion #main .history-ribbon::before,
html body.heritage-about.tradition-in-motion #main .about-overview__story::before,
html body.heritage-about.tradition-in-motion #main .about-overview__aside::before,
html body.heritage-about.tradition-in-motion #main .about-board-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(170px, 38%);
  height: 2px;
  background: linear-gradient(90deg, #e7bd62, rgba(231, 189, 98, 0));
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n) {
  box-shadow: inset 0 1px 0 rgba(240, 205, 128, .14), 0 14px 32px rgba(0, 0, 0, .18) !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n)::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 15px;
  width: 24px;
  height: 24px;
  border-right: 1px solid rgba(232, 191, 103, .36);
  border-bottom: 1px solid rgba(232, 191, 103, .36);
}

/* Ink-black footer shared by the public site. */
html body .footer {
  color: #d8d0c3 !important;
  border-top: 1px solid rgba(222, 178, 86, .34) !important;
  background: #080808 !important;
}

html body .footer h3 {
  color: #efca72 !important;
}

html body .footer :is(p, a) {
  color: #c9c3b8 !important;
}

html body .footer a:hover,
html body .footer a:focus-visible {
  color: #fff4d6 !important;
}

html body .footer .brand--full img {
  background: transparent !important;
}

html body .footer-bottom {
  border-color: rgba(222, 178, 86, .28) !important;
}

/* Larger high-resolution association mark without crowding the navigation. */
@media (min-width: 1121px) {
  html body .header .brand.brand--full {
    width: clamp(300px, 24vw, 365px) !important;
    min-width: 300px !important;
  }

  html body .header .brand.brand--full img {
    max-height: 82px !important;
  }

  html body .header .nav {
    min-height: 108px !important;
  }
}

@media (max-width: 1120px) and (min-width: 561px) {
  html body .header .brand.brand--full {
    width: 245px !important;
    min-width: 0 !important;
  }
}
/* Original cultural line-art accents (copyright-safe project artwork) */
.heritage-home .hero__grid {
  background-image: url("assets/motif-plum-branch.svg");
  background-position: right -2rem bottom -1rem;
  background-repeat: no-repeat;
  background-size: min(42vw, 560px) auto;
}

.heritage-home .sponsors .heading,
.heritage-about .about-overview__story,
.heritage-events .event-list,
.heritage-contact .contact-grid {
  background-image: url("assets/motif-cloud-ribbon.svg");
  background-position: right 1rem bottom .5rem;
  background-repeat: no-repeat;
  background-size: min(46vw, 520px) auto;
}

.heritage-weekly .resource-hub,
.heritage-join .join-grid {
  background-image: url("assets/motif-lantern-row.svg");
  background-position: right 1.25rem bottom .5rem;
  background-repeat: no-repeat;
  background-size: min(42vw, 430px) auto;
}

.heritage-gallery .gallery,
.heritage-home .cards {
  background-image: url("assets/motif-lattice-medallions.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(58vw, 620px) auto;
}

@media (max-width: 760px) {
  .heritage-home .hero__grid {
    background-position: right -5rem bottom;
    background-size: 360px auto;
  }

  .heritage-home .sponsors .heading,
  .heritage-about .about-overview__story,
  .heritage-events .event-list,
  .heritage-contact .contact-grid,
  .heritage-weekly .resource-hub,
  .heritage-join .join-grid {
    background-size: 300px auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .heritage-home .hero__grid,
  .heritage-home .sponsors .heading,
  .heritage-about .about-overview__story,
  .heritage-weekly .resource-hub {
    animation: culturalMotifBreathe 12s ease-in-out infinite alternate;
  }
}

@keyframes culturalMotifBreathe {
  from { background-position-y: calc(100% + 4px); }
  to { background-position-y: calc(100% - 4px); }
}

/* Original prosperity panel for the home program finder. */
.heritage-home .section--dark {
  background:
    linear-gradient(105deg, rgba(54, 5, 13, .72), rgba(87, 8, 18, .48) 58%, rgba(48, 3, 10, .64)),
    url("assets/motif-prosperity-panel.svg") center / cover no-repeat !important;
}

.heritage-home .section--dark::after {
  display: none !important;
}

.heritage-home .section--dark .heading > p,
.heritage-home .section--dark .feature-card {
  border: 1px solid rgba(250, 210, 116, .34);
  background: rgba(47, 5, 12, .78) !important;
  box-shadow: 0 20px 46px rgba(34, 1, 7, .28);
}

.heritage-home .section--dark .heading .eyebrow {
  border: 1px solid rgba(250, 210, 116, .5);
  background: rgba(67, 4, 14, .84);
  color: #ffe3a0 !important;
  box-shadow: 0 10px 28px rgba(35, 1, 7, .2);
}

@media (max-width: 760px) {
  .heritage-home .section--dark {
    padding-top: clamp(5.5rem, 16vw, 7.5rem) !important;
    background:
      linear-gradient(180deg, rgba(63, 5, 14, .64), rgba(55, 4, 12, .84)),
      url("assets/motif-prosperity-panel.svg") center / cover no-repeat !important;
  }
}

/* Story label and Events page polish — 2026-08-11 */
html body.heritage-home.tradition-in-motion .story-intro .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: .7rem;
  width: auto;
  margin-bottom: 1.15rem;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff9ea !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .68) !important;
}

html body.heritage-home.tradition-in-motion .story-intro .eyebrow::before {
  content: "";
  flex: 0 0 2.4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d59f35, #ffe4a0);
  box-shadow: 0 0 12px rgba(245, 198, 91, .4);
}

html body.heritage-events {
  --page-tone: #fff8ed;
  --page-tone-alt: #f8ead7;
  --page-card: rgba(255, 253, 248, .96);
  --page-ink: #31070d;
  --page-muted: #6d4a47;
  --page-accent: #a20f21;
  --page-line: rgba(169, 30, 42, .2);
}

html body.heritage-events .pagehero {
  color: #fff9ed !important;
  border-bottom: 3px solid #d6a33d;
  background: #770913 !important;
}

html body.heritage-events .pagehero::before {
  width: 100% !important;
  opacity: 1 !important;
  border: 0 !important;
  background: #8f0d19 url("assets/events-lion-dance-background-optimized.webp?v=2") center 44% / cover no-repeat !important;
  filter: none !important;
  clip-path: none !important;
  inset: 0 !important;
}

html body.heritage-events .pagehero::after {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(55, 0, 8, .94) 0%, rgba(78, 3, 12, .88) 38%, rgba(91, 4, 14, .48) 66%, rgba(48, 0, 7, .18) 100%);
}

html body.heritage-events .pagehero__grid {
  position: relative;
  z-index: 2;
}

html body.heritage-events .pagehero__grid > div {
  max-width: 760px;
  padding: clamp(1.5rem, 3.2vw, 2.8rem) !important;
  border-left: 3px solid #e4b555 !important;
  border-radius: 0 1.4rem 1.4rem 0 !important;
  background: rgba(70, 2, 10, .7) !important;
  box-shadow: 0 24px 60px rgba(42, 0, 5, .3) !important;
  backdrop-filter: blur(3px) !important;
}

html body.heritage-events .pagehero :is(h1, h2) {
  color: #fffaf0 !important;
  text-shadow: 0 3px 20px rgba(39, 0, 5, .58) !important;
}

html body.heritage-events .pagehero .eyebrow {
  color: #f4ce78 !important;
  text-shadow: 0 2px 12px rgba(39, 0, 5, .6) !important;
}

html body.heritage-events .pagehero__grid > p {
  color: #fff9ed !important;
  border: 1px solid rgba(244, 206, 120, .46) !important;
  border-left: 3px solid #e4b555 !important;
  background: rgba(61, 1, 9, .82) !important;
  box-shadow: 0 20px 48px rgba(42, 0, 5, .28) !important;
  text-shadow: 0 2px 12px rgba(26, 0, 4, .55) !important;
}

html body.heritage-events main > .section {
  color: #31070d;
  background:
    radial-gradient(circle at 92% 12%, rgba(195, 29, 45, .09), transparent 25%),
    linear-gradient(135deg, #fffaf2, #f8ead7) !important;
}

html body.heritage-events .join-grid > .info-box,
html body.heritage-events .event-list {
  border: 1px solid rgba(183, 37, 49, .2) !important;
  background: rgba(255, 253, 248, .96) !important;
  box-shadow: 0 18px 45px rgba(74, 8, 15, .11) !important;
}

html body.heritage-events .join-grid > .info-box--accent {
  color: #fff9ed !important;
  border-color: rgba(237, 196, 103, .48) !important;
  background: linear-gradient(135deg, #8d0d1a, #b4192c) !important;
}

html body.heritage-events .join-grid > .info-box--accent :is(h2, p) {
  color: #fff9ed !important;
}

html body.heritage-events .join-grid > .info-box--accent .pill {
  color: #4b090e;
  background: #f2ca70;
}

html body.heritage-events .event {
  border-color: rgba(177, 33, 47, .18) !important;
  background: #fffdf8 !important;
}

html body.heritage-events .event time,
html body.heritage-events .event > a {
  color: #991324 !important;
}

@media (max-width: 760px) {
  html body.heritage-events .pagehero {
    padding-top: 260px !important;
    background: #fff8ed !important;
  }

  html body.heritage-events .pagehero::before {
    height: 260px;
    background-position: center 42% !important;
    inset: 0 0 auto !important;
  }

  html body.heritage-events .pagehero::after {
    height: 260px;
    background: linear-gradient(180deg, rgba(64, 1, 9, .08), rgba(64, 1, 9, .68));
  }

  html body.heritage-events .pagehero__grid {
    color: #31070d !important;
  }

  html body.heritage-events .pagehero__grid > div {
    padding: 1.4rem 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #31070d !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  html body.heritage-events .pagehero :is(h1, h2) {
    color: #31070d !important;
    text-shadow: none !important;
  }

  html body.heritage-events .pagehero .eyebrow {
    color: #9f1424 !important;
    text-shadow: none !important;
  }

  html body.heritage-events .pagehero__grid > p {
    color: #5f3c3a !important;
    border-color: rgba(169, 30, 42, .2) !important;
    background: rgba(255, 253, 248, .96) !important;
    text-shadow: none !important;
  }
}

/* Evergreen activity panel: fixed bamboo and completely static cards */
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
  background:
    url("assets/evergreen-bamboo-line.svg") left -66px bottom / 150px calc(100% - 8px) no-repeat,
    url("assets/evergreen-bamboo-line.svg") right -38px bottom -12px / 166px 46% no-repeat,
    linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n),
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):focus,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):focus-within,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n)::before,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n)::after,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover::before,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover::after,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) .card__symbol {
  animation: none !important;
  transition: none !important;
  filter: none !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n),
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):focus-within {
  transform: none !important;
  border-color: rgba(33, 91, 72, 0.17) !important;
  background-color: rgba(255, 253, 247, 0.91) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(3n+2),
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(3n+2):hover {
  background-color: rgba(235, 244, 220, 0.93) !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n)::after,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover::after {
  transform: none !important;
}

@media (max-width: 620px) {
  html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
    background:
      url("assets/evergreen-bamboo-line.svg") left -62px bottom / 138px calc(100% - 8px) no-repeat,
      url("assets/evergreen-bamboo-line.svg") right -44px bottom -8px / 150px 40% no-repeat,
      linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
  }
}

/* Final bamboo placement and static card state */
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
  background:
    url("assets/evergreen-bamboo-line.svg") left -66px bottom / 150px calc(100% - 8px) no-repeat,
    url("assets/evergreen-bamboo-line.svg") right -38px bottom -12px / 166px 46% no-repeat,
    linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading::before {
  display: none !important;
}

html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n),
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover,
html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):focus-within {
  transform: none !important;
  transition: none !important;
  border-color: rgba(33, 91, 72, 0.17) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

@media (max-width: 620px) {
  html body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
    background:
      url("assets/evergreen-bamboo-line.svg") left -62px bottom / 138px calc(100% - 8px) no-repeat,
      url("assets/evergreen-bamboo-line.svg") right -44px bottom -8px / 150px 40% no-repeat,
      linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
  }
}

/* Bamboo placement requested for the Evergreen title plaque */
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
  background:
    url("assets/evergreen-bamboo-line.svg") left -52px bottom -8px / 132px 72% no-repeat,
    url("assets/evergreen-bamboo-line.svg") right -38px bottom -12px / 166px 46% no-repeat,
    linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading::before {
  display: none !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n),
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):hover,
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n):focus-within {
  transform: none !important;
  transition: none !important;
  border-color: rgba(33, 91, 72, 0.17) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
    background:
      url("assets/evergreen-bamboo-line.svg") left -58px bottom -8px / 128px 68% no-repeat,
      url("assets/evergreen-bamboo-line.svg") right -44px bottom -8px / 150px 40% no-repeat,
      linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(246, 247, 232, 0.93)) !important;
  }
}

body.heritage-evergreen.tradition-in-motion #main > section.section.section--cream {
  background:
    linear-gradient(90deg, rgba(246, 248, 237, 0.72), rgba(238, 246, 225, 0.58)),
    url("assets/cultural-jade-bamboo-v1.webp") center / cover no-repeat !important;
}

body.heritage-evergreen.tradition-in-motion #main > section.section.evergreen-more {
  background:
    linear-gradient(120deg, rgba(7, 42, 35, 0.91), rgba(14, 75, 61, 0.88)),
    url("assets/cultural-ink-landscape-v1.webp") center / cover no-repeat !important;
}

body.heritage-evergreen.tradition-in-motion .pagehero__grid > p {
  width: min(100%, 520px) !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  justify-self: start !important;
}

/* Evergreen activity composition */
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
  position: sticky !important;
  overflow: hidden !important;
  padding: clamp(30px, 4vw, 50px) clamp(26px, 3vw, 42px) !important;
  border-radius: 28px 8px 28px 8px !important;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(246, 247, 232, 0.91)) !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading::before {
  content: "松";
  position: absolute;
  right: -0.08em;
  bottom: -0.25em;
  color: rgba(21, 79, 65, 0.055);
  font: 700 clamp(9rem, 18vw, 17rem)/0.8 Georgia, "Noto Serif TC", serif;
  pointer-events: none;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading > * {
  position: relative;
  z-index: 1;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading h2 {
  max-width: 9ch !important;
  font-size: clamp(2.7rem, 4.5vw, 4.25rem) !important;
  letter-spacing: -0.045em !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards {
  align-self: center !important;
  grid-auto-rows: minmax(148px, auto) !important;
  gap: 18px !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
  isolation: isolate;
  min-height: 148px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: 26px 82px 26px 88px !important;
  border-radius: 22px 8px 22px 8px !important;
  background:
    linear-gradient(120deg, rgba(255, 253, 247, 0.96), rgba(251, 248, 237, 0.9)) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(3n+2) {
  background:
    linear-gradient(120deg, rgba(240, 247, 225, 0.96), rgba(229, 241, 213, 0.91)) !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::before {
  position: absolute;
  right: 14px;
  bottom: -0.18em;
  z-index: -1;
  color: rgba(21, 79, 65, 0.065);
  font: 700 6.4rem/1 Georgia, "Noto Serif TC", serif;
  pointer-events: none;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(1)::before { content: "友"; }
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(2)::before { content: "太"; }
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(3)::before { content: "歌"; }
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(4)::before { content: "知"; }
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(5)::before { content: "遊"; }
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(6)::before { content: "樂"; }

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 22px;
  width: 34px;
  height: 8px;
  border-top: 2px solid rgba(190, 136, 42, 0.72);
  border-bottom: 1px solid rgba(156, 30, 45, 0.38);
  pointer-events: none;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .card h3 {
  max-width: 18ch;
  margin: 0 !important;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem) !important;
  line-height: 1.28 !important;
  text-wrap: balance;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .card__symbol {
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 8px 18px rgba(128, 22, 34, 0.18) !important;
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading {
    position: relative !important;
    top: auto !important;
    padding: 28px 24px !important;
  }

  body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
    min-height: 120px !important;
    padding: 22px 66px 22px 82px !important;
  }
}

/* Final Weekly panel transparency after page-specific themes. */
@media (min-width: 761px) {
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > div:first-child { background: rgba(255, 249, 234, .56) !important; }
  html body.heritage-weekly.tradition-in-motion .pagehero__grid > p { background: rgba(73, 14, 20, .48) !important; }
}

/* Final Evergreen activity proportions */
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .heading::before {
  content: "";
  right: 0 !important;
  bottom: 0 !important;
  width: 34% !important;
  height: 52% !important;
  background: url("assets/evergreen-bamboo-line.svg") right bottom / contain no-repeat !important;
  opacity: 0.36 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards {
  grid-auto-rows: minmax(118px, auto) !important;
  gap: 14px !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
  min-height: 118px !important;
  padding: 20px 76px 20px 82px !important;
  transition: border-color 180ms ease, background-color 180ms ease !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::before {
  right: 8px !important;
  font-size: 5.2rem !important;
  opacity: 0.55 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card::after {
  content: "";
  top: auto !important;
  right: 4px !important;
  bottom: 0 !important;
  width: 84px !important;
  height: 94% !important;
  border: 0 !important;
  background: url("assets/evergreen-bamboo-line.svg") right bottom / contain no-repeat !important;
  opacity: 0.52 !important;
}

body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:hover,
body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:focus-within {
  transform: none !important;
  border-color: rgba(33, 91, 72, 0.24) !important;
  box-shadow: 0 16px 34px rgba(28, 69, 56, 0.1) !important;
}

@media (max-width: 620px) {
  body.heritage-evergreen.tradition-in-motion #main > .section.section--cream .cards .card:nth-child(n) {
    min-height: 108px !important;
    padding: 18px 66px 18px 76px !important;
  }
}


/* Weekly Activities: document-first library with compact admin-managed timetable */
html body.heritage-weekly.tradition-in-motion .weekly-library {
  padding-block: clamp(2.5rem, 5vw, 5rem) !important;
}
html body.heritage-weekly.tradition-in-motion .resource-hub--featured {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(137, 62, 34, .2);
  border-radius: 1.5rem;
  background: rgba(255, 249, 235, .78) !important;
  box-shadow: 0 22px 54px rgba(72, 39, 25, .13);
  backdrop-filter: blur(5px);
}
html body.heritage-weekly.tradition-in-motion .resource-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  max-width: none;
  margin-bottom: 1.5rem;
}
html body.heritage-weekly.tradition-in-motion .resource-heading .eyebrow,
html body.heritage-weekly.tradition-in-motion .resource-heading h2 { grid-column: 1; }
html body.heritage-weekly.tradition-in-motion .resource-heading > p:last-of-type {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding-left: 1.1rem;
  border-left: 2px solid #c79435;
}
html body.heritage-weekly.tradition-in-motion .resource-heading .wp-content {
  grid-column: 1 / -1;
  margin-top: .75rem;
}
html body.heritage-weekly.tradition-in-motion .document-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.35rem);
}
html body.heritage-weekly.tradition-in-motion .document-card,
html body.heritage-weekly.tradition-in-motion .document-card:last-child {
  grid-column: auto;
  display: block;
  min-width: 0;
  border-radius: 1.1rem;
  background: rgba(255, 253, 246, .9) !important;
}
html body.heritage-weekly.tradition-in-motion .pdf-preview {
  height: clamp(300px, 30vw, 410px);
  background: rgba(91, 50, 33, .08);
}
html body.heritage-weekly.tradition-in-motion .document-poster {
  display: block;
  height: clamp(300px, 30vw, 410px);
  overflow: hidden;
  background: rgba(91, 50, 33, .08);
}
html body.heritage-weekly.tradition-in-motion .document-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html body.heritage-weekly.tradition-in-motion .document-copy { padding: 1.05rem 1.15rem 1.2rem; }
html body.heritage-weekly.tradition-in-motion .document-copy h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
html body.heritage-weekly.tradition-in-motion .weekly-at-a-glance {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(144, 73, 38, .18);
  border-radius: 1.25rem;
  background: rgba(255, 250, 239, .62);
}
html body.heritage-weekly.tradition-in-motion .weekly-at-a-glance .program-search { display: none !important; }
html body.heritage-weekly.tradition-in-motion .weekly-summary-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
  gap: 1.25rem 3rem;
  align-items: end;
  margin-bottom: 1rem;
}
html body.heritage-weekly.tradition-in-motion .weekly-summary-heading h2 { margin: .2rem 0 0; font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
html body.heritage-weekly.tradition-in-motion .weekly-summary-heading > p { margin: 0; font-size: .88rem; color: #69564a !important; }
html body.heritage-weekly.tradition-in-motion .schedule--compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: .65rem !important;
}
html body.heritage-weekly.tradition-in-motion .schedule--compact .schedule-card:nth-child(n) {
  grid-column: auto !important;
  min-height: 0 !important;
  padding: .8rem .9rem !important;
  border-width: 1px 1px 1px 3px !important;
  border-top-color: rgba(157, 59, 45, .2) !important;
  border-left-color: #ae2635 !important;
  border-radius: .8rem !important;
  color: #321e18 !important;
  background: rgba(255, 253, 247, .86) !important;
  box-shadow: 0 8px 22px rgba(72, 39, 25, .07) !important;
}
html body.heritage-weekly.tradition-in-motion .schedule--compact .schedule-card header {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  justify-content: space-between;
}
html body.heritage-weekly.tradition-in-motion .schedule--compact .schedule-card h3 {
  margin: 0;
  font-size: .96rem;
  line-height: 1.25;
}
html body.heritage-weekly.tradition-in-motion .schedule--compact .schedule-card :is(b, strong) {
  flex: 0 0 auto;
  color: #8f1d2d !important;
  font-size: .68rem;
  letter-spacing: .04em;
}
html body.heritage-weekly.tradition-in-motion .schedule--compact .schedule-card p {
  margin: .45rem 0 0;
  color: #705d50 !important;
  font-size: .75rem;
  line-height: 1.4;
}
@media (max-width: 760px) {
  html body.heritage-weekly.tradition-in-motion .resource-heading,
  html body.heritage-weekly.tradition-in-motion .weekly-summary-heading { grid-template-columns: 1fr; }
  html body.heritage-weekly.tradition-in-motion .resource-heading > p:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }
  html body.heritage-weekly.tradition-in-motion .document-grid { grid-template-columns: 1fr; }
  html body.heritage-weekly.tradition-in-motion .pdf-preview,
  html body.heritage-weekly.tradition-in-motion .document-poster { height: 310px; }
}

/* Editorial section markers — approved prototype, 2026-08-12
   These replace the repeated pill/badge treatment with a related family of
   open, unboxed details. Each page keeps its own visual signature. */
html body.tradition-in-motion :is(.pagehero, .hero, .heading) .eyebrow,
html body.heritage-home.tradition-in-motion .story-intro .eyebrow {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin-inline: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(.72rem, 1vw, .82rem) !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

/* Home: the approved editorial wordmark-and-rule composition. */
html body.heritage-home.tradition-in-motion :is(.hero, .heading) .eyebrow {
  gap: .8rem !important;
}
html body.heritage-home.tradition-in-motion :is(.hero, .heading) .eyebrow::before {
  content: "" !important;
  order: -1;
  flex: 0 0 2.65rem !important;
  width: 2.65rem !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #a71f31 0 68%, #d5a94e 68%) !important;
  box-shadow: none !important;
  transform: none !important;
}
html body.heritage-home.tradition-in-motion .section--dark .heading .eyebrow {
  color: #ffe1a0 !important;
  text-shadow: 0 2px 14px rgba(20, 0, 3, .45) !important;
}
html body.heritage-home.tradition-in-motion .section--dark .heading .eyebrow::before {
  background: linear-gradient(90deg, #f05a67 0 68%, #f1c969 68%) !important;
}

/* About: quiet vertical editorial rule with a gold foot. */
html body.heritage-about.tradition-in-motion .pagehero .eyebrow {
  padding-left: 1rem !important;
  color: #fff8e8 !important;
}
html body.heritage-about.tradition-in-motion .pagehero .eyebrow::before {
  content: "" !important;
  position: absolute;
  inset: -.25rem auto -.25rem 0;
  width: 3px;
  background: linear-gradient(#a8172c 0 68%, #e0b556 68%);
}
html body.heritage-about.tradition-in-motion main > :not(.pagehero) .eyebrow {
  padding-bottom: .55rem !important;
  color: #f1cf81 !important;
}
html body.heritage-about.tradition-in-motion main > :not(.pagehero) .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.3rem;
  height: 1px;
  background: #d8aa4b;
}

/* Events: an open corner, inspired by traditional window joinery. */
html body.heritage-events.tradition-in-motion .pagehero .eyebrow {
  padding: .18rem 0 .18rem 1rem !important;
  color: #ffe1a0 !important;
}
html body.heritage-events.tradition-in-motion .pagehero .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -.35rem;
  width: 1.5rem;
  height: 1.45rem;
  border-top: 1px solid #e2b651;
  border-left: 2px solid #c22939;
}
html body.heritage-events.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  width: .32rem;
  height: .32rem;
  margin-left: .75rem;
  background: #e2b651;
  transform: rotate(45deg);
}

/* Weekly: slim calendar-like parallel strokes. */
html body.heritage-weekly.tradition-in-motion .pagehero .eyebrow {
  gap: .65rem;
  color: #8e1728 !important;
}
html body.heritage-weekly.tradition-in-motion .pagehero .eyebrow::before {
  content: "";
  order: -1;
  width: .62rem;
  height: 1.25rem;
  border-left: 2px solid #aa1c30;
  border-right: 1px solid #d4a445;
}
html body.heritage-weekly.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  margin-left: .15rem;
  background: #d4a445;
}

/* Evergreen: a restrained bamboo-stem accent, without a badge. */
html body.heritage-evergreen.tradition-in-motion .pagehero .eyebrow {
  gap: .72rem;
  color: #f4d287 !important;
}
html body.heritage-evergreen.tradition-in-motion .pagehero .eyebrow::before {
  content: "";
  order: -1;
  width: .42rem;
  height: 1.6rem;
  border-top: 1px solid #efcb76;
  border-bottom: 1px solid #efcb76;
  background: #7f9a56;
  transform: skew(-7deg);
}
html body.heritage-evergreen.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, #efcb76, transparent);
}

/* Gallery: a composed double exhibition underline. */
html body.heritage-gallery.tradition-in-motion .pagehero .eyebrow {
  padding-bottom: .7rem !important;
  color: #ffe1a0 !important;
}
html body.heritage-gallery.tradition-in-motion .pagehero .eyebrow::before,
html body.heritage-gallery.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .3rem;
  width: 3.7rem;
  height: 1px;
  background: #e1b252;
}
html body.heritage-gallery.tradition-in-motion .pagehero .eyebrow::after {
  bottom: 0;
  width: 1.4rem;
  background: #c1293b;
}

/* Join: energetic red slash plus a fine gold continuation. */
html body.heritage-join.tradition-in-motion .pagehero .eyebrow {
  gap: .72rem;
  color: #fff0c8 !important;
}
html body.heritage-join.tradition-in-motion .pagehero .eyebrow::before {
  content: "";
  order: -1;
  width: 3px;
  height: 1.55rem;
  background: #e04250;
  transform: skew(-15deg);
}
html body.heritage-join.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: #e2b651;
}

/* Contact: two offset strokes suggesting an open door. */
html body.heritage-contact.tradition-in-motion .pagehero .eyebrow {
  gap: .7rem;
}
html body.heritage-contact.tradition-in-motion .pagehero .eyebrow::before {
  content: "";
  order: -1;
  width: 1rem;
  height: 1rem;
  border-left: 2px solid #a71f31;
  border-bottom: 1px solid #d0a34a;
}
html body.heritage-contact.tradition-in-motion .pagehero .eyebrow::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: #a71f31;
}

@media (max-width: 640px) {
  html body.tradition-in-motion :is(.pagehero, .hero, .heading) .eyebrow,
  html body.heritage-home.tradition-in-motion .story-intro .eyebrow {
    width: fit-content !important;
    white-space: normal;
  }
}

/* Homepage welcome: the upper red-gold rule is the sole opening accent. */
html body.heritage-home.tradition-in-motion .hero .eyebrow {
  gap: 0 !important;
}
html body.heritage-home.tradition-in-motion .hero .eyebrow::before {
  content: none !important;
  display: none !important;
}

/* Home hero — original winter scroll landscape, generated for ECCCA. */
html body.heritage-home.tradition-in-motion .hero {
  background:
    linear-gradient(90deg, rgba(253, 248, 239, .34) 0 42%, rgba(253, 248, 239, .12) 56%, transparent 72%),
    url("assets/home-hero-winter-scroll-original-v1.webp") center / cover no-repeat !important;
}

html body.heritage-home.tradition-in-motion .hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

@media (max-width: 760px) {
  html body.heritage-home.tradition-in-motion .hero {
    background:
      linear-gradient(180deg, rgba(253, 248, 239, .28) 0 48%, rgba(253, 248, 239, .84) 72% 100%),
      url("assets/home-hero-winter-scroll-original-v1.webp") 68% center / cover no-repeat !important;
  }
}

/* Weekly resources: replace the rounded action pill with a slim document tab. */
html body.heritage-weekly.tradition-in-motion .document-actions .btn.btn--small {
  min-height: 43px !important;
  padding: .58rem .9rem .55rem 1rem !important;
  border: 1px solid rgba(151, 101, 35, .38) !important;
  border-left: 3px solid #a71f31 !important;
  border-radius: .28rem !important;
  color: #7e1726 !important;
  background: rgba(255, 252, 241, .7) !important;
  box-shadow: none !important;
  letter-spacing: .015em;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease !important;
}
html body.heritage-weekly.tradition-in-motion .document-actions .btn.btn--small::after {
  content: "\2192";
  margin-left: .7rem;
  color: #c28d2d;
  transition: transform .22s ease !important;
}
html body.heritage-weekly.tradition-in-motion .document-actions .btn.btn--small:is(:hover, :focus-visible) {
  color: #fff8e8 !important;
  border-color: #8e1728 !important;
  background: #8e1728 !important;
  transform: translateY(-1px) !important;
}
html body.heritage-weekly.tradition-in-motion .document-actions .btn.btn--small:is(:hover, :focus-visible)::after {
  color: #f0c96b;
  transform: translateX(3px);
}

/* Performance maintenance: keep the full design while reducing off-screen work. */
html.performance-ready main > section:not(:first-child),
html.performance-ready .funders,
html.performance-ready .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
html.performance-ready :is(.sponsor-marquee, .photo-slider__track).is-offscreen,
html.page-not-visible :is(.sponsor-marquee, .photo-slider__track) {
  animation-play-state: paused !important;
}
html.page-not-visible *,
html.page-not-visible *::before,
html.page-not-visible *::after {
  animation-play-state: paused !important;
}
.deferred-document-preview {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border: 0;
  color: #7e1726;
  background: linear-gradient(145deg, rgba(255, 253, 246, .96), rgba(239, 226, 199, .9));
  font: 700 .86rem/1.35 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}
.deferred-document-preview span {
  display: grid;
  gap: .55rem;
  place-items: center;
}
.deferred-document-preview span::before {
  content: "";
  width: 2.2rem;
  height: 2.65rem;
  border: 2px solid #a71f31;
  border-radius: .2rem;
  background: linear-gradient(135deg, transparent 0 72%, rgba(197, 148, 55, .28) 72%);
}
html.performance-lite *,
html.performance-lite *::before,
html.performance-lite *::after {
  scroll-behavior: auto !important;
}
html.performance-lite { scroll-behavior: auto !important; }
html.performance-lite :is(.sponsor-marquee, .heritage-lanterns span, .cameo-lantern, .cameo-lion, .transition-lantern, .transition-cloud, .cultural-motif, .sponsor-orb) {
  animation: none !important;
}
html.performance-lite :is(.header, .float, .pagehero__grid > *, .logo-intro__stage, .contact-card, .gallery-filter-note) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.performance-lite :is(.card, .feature-card, .info-box, .document-card, .schedule-card, .person, .contact-card) {
  box-shadow: 0 8px 22px rgba(46, 27, 20, .09) !important;
}
html.performance-lite .logo-intro {
  display: none !important;
}
@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  html.performance-ready main > section:not(:first-child),
  html.performance-ready .funders,
  html.performance-ready .footer {
    contain-intrinsic-size: auto 560px;
  }
}

/* Smooth-frame rendering: preserve the artwork while avoiding live repaints. */
html.performance-ready body *,
html.performance-ready body *::before,
html.performance-ready body *::after,
html.performance-ready body .pagehero__grid > * {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html.performance-ready .header { background-color: rgba(255, 252, 246, .98) !important; }
html.performance-ready :is(.float, .quick, .story-intro, .tanghulu-picker) {
  background-color: rgba(255, 252, 245, .96) !important;
}
html.performance-ready .feature-card { background-color: rgba(54, 8, 16, .88) !important; }
html.performance-ready .silk-progress { contain: layout paint; }
html.performance-ready .silk-progress span {
  width: 100% !important;
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: none !important;
  box-shadow: none !important;
  will-change: transform;
}
html.performance-ready :is(
  .hero__grid,
  .sponsors .heading,
  .about-overview__story,
  .resource-hub,
  .hero__photo img,
  .float--hello,
  .hero-orbit,
  .heritage-lanterns span,
  .cameo-lantern,
  .cameo-lion,
  .sponsor-orb,
  .join-ribbon,
  .join-ribbon__character
) { animation: none !important; }
html.performance-ready .motion-image-shell.is-image-loading { animation: none !important; }
html.performance-ready .motion-image-shell.is-image-loading > img {
  opacity: .72;
  filter: none !important;
}
html.performance-ready .sponsor-marquee {
  contain: layout paint style;
  backface-visibility: hidden;
}

/* Original lantern-and-koi artwork for cross-page transitions. */
.page-transition {
  background:
    linear-gradient(90deg, rgba(12, 3, 4, .7), rgba(21, 4, 6, .46) 50%, rgba(12, 3, 4, .7)),
    url("assets/transition-lantern-koi-original.webp") center / cover no-repeat !important;
}
.page-transition::before {
  opacity: .3 !important;
  background: radial-gradient(circle at 50% 42%, rgba(241, 183, 76, .28), transparent 31%) !important;
}
.page-transition::after {
  inset: 0 !important;
  height: auto !important;
  opacity: 1 !important;
  background: linear-gradient(180deg, rgba(4, 0, 1, .12), transparent 34%, rgba(5, 0, 1, .42)) !important;
}
.page-transition .transition-scene {
  padding: 1.5rem 2rem 1.75rem;
  border: 1px solid rgba(244, 205, 118, .2);
  border-radius: 2rem;
  background: rgba(12, 3, 5, .42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}
.page-transition[data-destination="gallery"] {
  background:
    linear-gradient(90deg, rgba(5,18,31,.53), rgba(9,28,45,.31) 50%, rgba(5,18,31,.54)),
    url("assets/gallery-transition-cranes-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="gallery"]::before {
  opacity: .32 !important;
  background: radial-gradient(circle at 50% 44%, rgba(196,80,50,.16), transparent 30%) !important;
}
.page-transition[data-destination="gallery"] .transition-scene {
  border-color: rgba(212,181,119,.22);
  background: rgba(5,16,27,.47);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.page-transition[data-destination="evergreen"] {
  background:
    linear-gradient(90deg, rgba(7,25,21,.56), rgba(17,48,37,.27) 50%, rgba(7,25,21,.54)),
    url("assets/evergreen-transition-garden-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="evergreen"]::before {
  opacity: .28 !important;
  background: radial-gradient(circle at 50% 44%, rgba(224,205,136,.18), transparent 30%) !important;
}
.page-transition[data-destination="evergreen"] .transition-scene {
  border-color: rgba(218,192,111,.23);
  background: rgba(7,28,22,.43);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.page-transition[data-destination="weekly"] {
  background:
    linear-gradient(90deg, rgba(54,34,22,.37), rgba(88,55,32,.2) 50%, rgba(54,34,22,.4)),
    url("assets/weekly-transition-scholar-studio-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="weekly"]::before {
  opacity: .26 !important;
  background: radial-gradient(circle at 50% 44%, rgba(170,38,42,.15), transparent 31%) !important;
}
.page-transition[data-destination="weekly"] .transition-scene {
  border-color: rgba(177,38,43,.25);
  background: rgba(45,28,18,.43);
  box-shadow: 0 28px 80px rgba(52,31,18,.32);
}
.page-transition[data-destination="events"] {
  background:
    linear-gradient(90deg, rgba(103,0,13,.6), rgba(139,7,20,.38) 50%, rgba(103,0,13,.62)),
    url("assets/events-transition-fireworks-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="events"]::before {
  opacity: .38 !important;
  background: radial-gradient(circle at 50% 43%, rgba(244,54,48,.28), transparent 32%) !important;
}
.page-transition[data-destination="events"] .transition-scene {
  border-color: rgba(247,190,75,.29);
  background: rgba(69,2,10,.48);
  box-shadow: 0 28px 86px rgba(0,0,0,.42);
}
.page-transition[data-destination="contact"] {
  background:
    linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 50%, rgba(255,255,255,.1)),
    url("assets/contact-transition-plum-moon-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="contact"]::before {
  opacity: .16 !important;
  background: radial-gradient(circle at 50% 43%, rgba(184,54,74,.12), transparent 31%) !important;
}
.page-transition[data-destination="contact"]::after {
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 36%, rgba(45,29,32,.12)) !important;
}
.page-transition[data-destination="contact"] .transition-scene {
  border-color: rgba(137,37,52,.2);
  background: rgba(255,252,252,.28);
  box-shadow: 0 20px 58px rgba(54,41,43,.1);
}
.page-transition[data-destination="contact"] :is(small,strong,.transition-destination) {
  color: #3a292c !important;
  text-shadow: none !important;
}
.page-transition[data-destination="contact"] .transition-destination {
  border-color: rgba(145,32,49,.2);
  background: rgba(255,247,248,.38);
}
.page-transition[data-destination="contact"] .transition-progress {
  background: linear-gradient(90deg, #a91f32, #e5a2ad) !important;
}
.page-transition[data-destination="home"],
.page-transition[data-destination="join"] {
  background:
    linear-gradient(90deg, rgba(49,0,5,.22), rgba(106,4,12,.05) 50%, rgba(49,0,5,.22)),
    url("assets/join-transition-curtain-stage-original-v2.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="home"]::before,
.page-transition[data-destination="join"]::before {
  opacity: .27 !important;
  background: radial-gradient(circle at 50% 45%, rgba(255,216,127,.22), transparent 32%) !important;
}
.page-transition[data-destination="home"] .transition-scene,
.page-transition[data-destination="join"] .transition-scene {
  border-color: rgba(247,203,112,.36);
  background: rgba(68,1,8,.38);
  box-shadow: 0 30px 88px rgba(25,0,3,.46);
}
.page-transition[data-destination="home"] .transition-destination,
.page-transition[data-destination="join"] .transition-destination {
  border-color: rgba(247,203,112,.32);
  background: rgba(80,2,10,.5);
}
.page-transition[data-destination="home"] .transition-progress,
.page-transition[data-destination="join"] .transition-progress {
  background: linear-gradient(90deg, #e7af47, #fff0b2) !important;
}

/* Destination-colour system for the compact page-name bubble and seal. */
.page-transition[data-destination="home"] {
  background:
    linear-gradient(90deg, rgba(79, 2, 8, .16), rgba(126, 8, 13, .03) 50%, rgba(79, 2, 8, .16)),
    url("assets/home-loading-red-gold-lantern-frame-v1.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="home"]::before {
  opacity: .2 !important;
  background: radial-gradient(circle at 50% 45%, rgba(255, 218, 132, .18), transparent 34%) !important;
}
.page-transition[data-destination="home"] .transition-scene {
  border-color: rgba(248, 201, 97, .42);
  background: rgba(89, 3, 10, .38);
  box-shadow: 0 28px 82px rgba(47, 0, 4, .34);
}
.page-transition[data-destination="home"] {
  --destination-bubble: rgba(151, 14, 29, .94);
  --destination-border: rgba(255, 218, 137, .72);
  --destination-ink: #fff8e8;
  --destination-dot: #f6cd70;
}
.page-transition[data-destination="about"] {
  --destination-bubble: rgba(14, 13, 12, .94);
  --destination-border: rgba(218, 174, 76, .8);
  --destination-ink: #f6d477;
  --destination-dot: #f6d477;
}
.page-transition[data-destination="events"] {
  --destination-bubble: rgba(211, 18, 32, .96);
  --destination-border: rgba(255, 224, 157, .82);
  --destination-ink: #fffdf6;
  --destination-dot: #ffe08e;
}
.page-transition[data-destination="gallery"] {
  --destination-bubble: rgba(13, 48, 79, .96);
  --destination-border: rgba(155, 207, 232, .78);
  --destination-ink: #f2fbff;
  --destination-dot: #8fd4ee;
}
.page-transition[data-destination="contact"] {
  --destination-bubble: rgba(255, 235, 240, .94);
  --destination-border: rgba(173, 62, 86, .42);
  --destination-ink: #68182b;
  --destination-dot: #b83250;
}
.page-transition:is(
  [data-destination="home"],
  [data-destination="about"],
  [data-destination="events"],
  [data-destination="gallery"],
  [data-destination="contact"]
) .transition-destination {
  color: var(--destination-ink) !important;
  border-color: var(--destination-border) !important;
  background: var(--destination-bubble) !important;
  text-shadow: none !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}
.page-transition:is(
  [data-destination="home"],
  [data-destination="about"],
  [data-destination="events"],
  [data-destination="gallery"],
  [data-destination="contact"]
) .transition-destination i {
  background: var(--destination-dot) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--destination-dot) 20%, transparent) !important;
}
.page-transition:is(
  [data-destination="home"],
  [data-destination="about"],
  [data-destination="events"],
  [data-destination="gallery"],
  [data-destination="contact"]
) .transition-seal {
  color: var(--destination-ink) !important;
  border-color: var(--destination-border) !important;
  background: var(--destination-bubble) !important;
  text-shadow: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}
@media (max-width: 640px) {
  .page-transition { background-position: 58% center !important; }
  .page-transition[data-destination="home"] { background-position: 50% center !important; }
  .page-transition[data-destination="gallery"] { background-position: 60% center !important; }
  .page-transition[data-destination="evergreen"] { background-position: 54% center !important; }
  .page-transition[data-destination="weekly"] { background-position: 53% center !important; }
  .page-transition[data-destination="events"] { background-position: 52% center !important; }
  .page-transition[data-destination="contact"] { background-position: 57% center !important; }
  .page-transition[data-destination="home"],
  .page-transition[data-destination="join"] { background-position: 50% center !important; }
  .page-transition .transition-scene { padding-inline: 1rem; }
}

/* Gallery — original misty shan-shui landscape and exhibition palette. */
html body.heritage-gallery {
  --gallery-ink: #24343b;
  --gallery-slate: #526773;
  --gallery-paper: #e8f1f4;
  --gallery-paper-deep: #dbe9ee;
  --gallery-card: #f2f8fa;
  --gallery-cinnabar: #a53b3f;
  --gallery-gold: #b88a3d;
  background: var(--gallery-paper) !important;
}
html body.heritage-gallery main {
  background: var(--gallery-paper) url("assets/gallery-ink-landscape-original.webp") center top / 100% auto no-repeat !important;
}
html body.heritage-gallery .pagehero {
  min-height: clamp(520px, 62vw, 720px) !important;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0 !important;
  background: linear-gradient(90deg, rgba(232,241,244,.18), transparent 54%), linear-gradient(0deg, rgba(36,67,80,.15), transparent 48%) !important;
}
html body.heritage-gallery .pagehero::before,
html body.heritage-gallery .pagehero::after,
html body.heritage-gallery .moon-gate { display: none !important; }
html body.heritage-gallery .pagehero__grid {
  min-height: inherit;
  grid-template-columns: minmax(0, .9fr) minmax(290px, .56fr) !important;
  align-items: end !important;
  gap: clamp(1.25rem, 5vw, 5rem) !important;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(5rem, 8vw, 7.5rem) !important;
}
html body.heritage-gallery .pagehero__grid > :is(div:first-child, p) {
  transform: translateY(clamp(-5rem, -6vw, -2.75rem)) !important;
}
html body.heritage-gallery .pagehero__grid > div:first-child,
html body.heritage-gallery .pagehero__grid > p {
  padding: clamp(1.35rem, 2.6vw, 2.2rem) !important;
  border: 1px solid rgba(184,138,61,.36) !important;
  border-radius: 1.35rem !important;
  background: rgba(232,242,246,.66) !important;
  color: var(--gallery-ink) !important;
  box-shadow: 0 22px 58px rgba(36,52,59,.14) !important;
  backdrop-filter: blur(7px) !important;
}
html body.heritage-gallery .pagehero__grid > div:first-child { border-left: 4px solid var(--gallery-cinnabar) !important; }
html body.heritage-gallery .pagehero :is(h1,h2) {
  max-width: 11ch;
  color: #1f3037 !important;
  text-shadow: none !important;
}
html body.heritage-gallery.tradition-in-motion .pagehero h1 { color: #1f3037 !important; text-shadow: none !important; }
html body.heritage-gallery .pagehero .eyebrow,
html body.heritage-gallery.tradition-in-motion .pagehero .eyebrow { color: #17272e !important; text-shadow: none !important; }
html body.heritage-gallery.tradition-in-motion .pagehero__grid > p { color: #334c57 !important; background: rgba(226,239,244,.62) !important; }
html body.heritage-gallery .pagehero__grid > div:first-child::after { display: none !important; }
html body.heritage-gallery main > .section {
  margin-top: -2.5rem;
  padding-block: clamp(4.5rem, 7vw, 7rem) !important;
  border-radius: 2.5rem 2.5rem 0 0;
  background: linear-gradient(180deg, rgba(235,244,247,.97), rgba(216,232,238,.99)) !important;
  box-shadow: 0 -18px 55px rgba(36,52,59,.11);
}
html body.heritage-gallery.tradition-in-motion main > .section { background: linear-gradient(180deg, rgba(235,244,247,.97), rgba(216,232,238,.99)) !important; }
html body.heritage-gallery main > .section::before {
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--gallery-cinnabar) 18%, var(--gallery-gold) 32%, transparent 62%) !important;
}
html body.heritage-gallery .heading { align-items: end; margin-bottom: 1.5rem; }
html body.heritage-gallery .heading h2 { color: var(--gallery-ink) !important; }
html body.heritage-gallery .gallery-filter-note {
  max-width: 760px;
  border-color: rgba(82,103,115,.18) !important;
  background: rgba(239,247,249,.74) !important;
  color: #455b65 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html body.heritage-gallery .gallery-filter-note span { background: var(--gallery-cinnabar) !important; }
html body.heritage-gallery :is(.gallery-filters, .gallery-results) { display: none !important; }
html body.heritage-gallery .gallery-filters {
  border-color: rgba(82,103,115,.18);
  background: rgba(239,247,249,.9);
  box-shadow: 0 10px 26px rgba(36,52,59,.07);
  backdrop-filter: none;
}
html body.heritage-gallery .gallery-filters button { color: var(--gallery-ink); }
html body.heritage-gallery .gallery-filters button:hover { background: rgba(82,103,115,.09); }
html body.heritage-gallery .gallery-filters button.is-active { background: var(--gallery-ink); color: #fff; box-shadow: none; }
html body.heritage-gallery .gallery-filters button b { background: rgba(165,59,63,.1); color: var(--gallery-cinnabar); }
html body.heritage-gallery .gallery-results { color: var(--gallery-slate); }
html body.heritage-gallery .gallery figure,
html body.heritage-gallery .gallery figure:nth-child(n) {
  border-color: rgba(82,103,115,.15) !important;
  border-radius: 1rem !important;
  background: var(--gallery-card) !important;
  box-shadow: 0 12px 30px rgba(36,52,59,.09) !important;
}
html body.heritage-gallery .gallery figure:hover,
html body.heritage-gallery .gallery figure:focus-visible { box-shadow: 0 20px 44px rgba(36,52,59,.15) !important; }
html body.heritage-gallery .gallery figcaption {
  border-top-color: rgba(82,103,115,.1) !important;
  background: var(--gallery-card) !important;
  color: var(--gallery-ink) !important;
  min-height: 38px !important;
  padding: 8px 12px 9px !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}
@media (max-width: 760px) {
  html body.heritage-gallery main { background-size: auto 330px !important; }
  html body.heritage-gallery .pagehero { min-height: 0 !important; padding-top: 260px !important; overflow: visible; }
  html body.heritage-gallery .pagehero__grid { min-height: 0; grid-template-columns: 1fr !important; gap: .8rem !important; padding-block: 1.25rem 4.5rem !important; }
  html body.heritage-gallery .pagehero__grid > div:first-child,
  html body.heritage-gallery .pagehero__grid > p { padding: 1.15rem !important; border-radius: 1rem !important; backdrop-filter: none !important; transform: none !important; }
  html body.heritage-gallery main > .section { margin-top: -2rem; border-radius: 1.6rem 1.6rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html body.heritage-gallery .pagehero__grid > div:first-child,
  html body.heritage-gallery .pagehero__grid > p { backdrop-filter: none !important; }
}

/* Final Contact hero treatment: original umbrella-and-ink-wash landscape. */
html body.heritage-contact .pagehero { background: #eee6d7 !important; color: #211d19 !important; }
html body.heritage-contact .pagehero::before {
  display: block !important; content: "" !important; position: absolute !important;
  inset: 0 !important; width: 100% !important; height: 100% !important;
  opacity: 1 !important; filter: none !important; border: 0 !important;
  background: #eee6d7 var(--tab-contact) center / cover no-repeat !important;
}
html body.heritage-contact .pagehero::after {
  display: block !important; content: "" !important; position: absolute !important;
  inset: 0 !important; opacity: 1 !important;
  background: linear-gradient(90deg, rgba(246,241,230,.9) 0%, rgba(246,241,230,.7) 38%, rgba(246,241,230,.16) 66%, transparent 84%) !important;
}
html body.heritage-contact .pagehero__grid { position: relative; z-index: 2; }
html body.heritage-contact .pagehero__grid > div:first-child {
  border-color: rgba(163,37,48,.62) !important; background: rgba(249,245,235,.7) !important;
  box-shadow: 0 20px 48px rgba(45,34,27,.13) !important;
}
html body.heritage-contact .pagehero__grid > p {
  color: #342c27 !important; border-color: rgba(168,117,49,.4) !important;
  background: rgba(249,245,235,.7) !important; box-shadow: 0 18px 42px rgba(45,34,27,.12) !important;
}
html body.heritage-contact .pagehero :is(h1,h2) { color: #221d19 !important; text-shadow: none !important; }
html body.heritage-contact .pagehero .eyebrow { color: #8f1e2b !important; text-shadow: none !important; }
@media (max-width: 760px) {
  html body.heritage-contact .pagehero::before { background-position: 70% center !important; }
  html body.heritage-contact .pagehero::after { background: linear-gradient(180deg, rgba(246,241,230,.34), rgba(246,241,230,.88) 68%, rgba(246,241,230,.96)) !important; }
}
html body.heritage-contact.tradition-in-motion .pagehero__grid > div:first-child {
  background: rgba(249,245,235,.76) !important;
}
html body.heritage-contact.tradition-in-motion .pagehero__grid > p {
  color: #342c27 !important;
  background: rgba(249,245,235,.76) !important;
}
html body.heritage-contact.tradition-in-motion .pagehero :is(h1,h2) { color: #221d19 !important; text-shadow: none !important; }
html body.heritage-contact.tradition-in-motion .pagehero .eyebrow { color: #8f1e2b !important; text-shadow: none !important; }

/* Porcelain Contact theme — cool rice paper, ink, jade and cinnabar. */
html body.heritage-contact {
  --contact-porcelain: #f5f7f6;
  --contact-pearl: #e9eeec;
  --contact-ink: #1e2928;
  --contact-muted: #52615e;
  --contact-jade: #667f72;
  --contact-red: #a62a36;
  --contact-line: rgba(70, 91, 84, .2);
}
html body.heritage-contact .pagehero { background: var(--contact-porcelain) !important; }
html body.heritage-contact .pagehero::before {
  background: var(--contact-porcelain) var(--tab-contact) center / cover no-repeat !important;
}
html body.heritage-contact .pagehero::after {
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 38%, rgba(255,255,255,.08) 66%, transparent 83%) !important;
}
html body.heritage-contact.tradition-in-motion .pagehero__grid > :is(div:first-child, p) {
  border-color: var(--contact-line) !important;
  background: rgba(249,251,250,.78) !important;
  box-shadow: 0 20px 48px rgba(35,49,45,.12) !important;
}
html body.heritage-contact.tradition-in-motion main > .section {
  color: var(--contact-ink) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(166,42,54,.06), transparent 26rem),
    radial-gradient(circle at 8% 88%, rgba(102,127,114,.1), transparent 24rem),
    linear-gradient(145deg, #f6f8f7, #e9efec 56%, #f4f6f5) !important;
}
html body.heritage-contact.tradition-in-motion main > .section::before {
  border-color: rgba(102,127,114,.2) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card {
  color: #f8faf9 !important;
  border-color: rgba(166,42,54,.42) !important;
  background-color: #202b2a !important;
  background-image:
    linear-gradient(145deg, rgba(28,40,38,.96), rgba(45,61,57,.93)),
    var(--tab-contact) !important;
  box-shadow: 0 24px 54px rgba(31,43,40,.18) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card::after {
  background: linear-gradient(90deg, var(--contact-red), #c0a35d) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card h2,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card h2 { color: #f9fbfa !important; }
html body.heritage-contact.tradition-in-motion .contact-card h3 { color: #d8c17e !important; }
html body.heritage-contact.tradition-in-motion .contact-card p,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card :is(p,a) { color: rgba(247,250,248,.9) !important; }
html body.heritage-contact.tradition-in-motion .contact-grid > div > h2 { color: var(--contact-ink) !important; }
html body.heritage-contact.tradition-in-motion .contact-grid form {
  border-color: var(--contact-red) var(--contact-line) var(--contact-line) !important;
  background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(82,97,94,.04) 40px), rgba(252,253,252,.94) !important;
  box-shadow: 0 24px 56px rgba(38,53,49,.14) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid form label { color: var(--contact-ink) !important; }
html body.heritage-contact.tradition-in-motion .contact-grid :is(input,textarea) {
  color: var(--contact-ink) !important;
  border-color: var(--contact-line) !important;
  background: rgba(247,250,248,.95) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid :is(input,textarea):focus {
  border-color: var(--contact-jade) !important;
  outline-color: rgba(102,127,114,.2) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid form .btn { background: var(--contact-red) !important; }
@media (max-width: 760px) {
  html body.heritage-contact .pagehero::after {
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.82) 68%, rgba(255,255,255,.96)) !important;
  }
}

/* Contact palette refinement — porcelain white, cinnabar and soft blossom pink. */
html body.heritage-contact {
  --contact-porcelain: #fffdfd;
  --contact-pearl: #fff4f6;
  --contact-ink: #2b1e20;
  --contact-muted: #70585d;
  --contact-jade: #b84a5a;
  --contact-red: #a91f32;
  --contact-pink: #e7a9b4;
  --contact-line: rgba(169,31,50,.18);
}
html body.heritage-contact.tradition-in-motion main > .section {
  background:
    radial-gradient(circle at 90% 9%, rgba(231,169,180,.28), transparent 26rem),
    radial-gradient(circle at 7% 92%, rgba(169,31,50,.1), transparent 23rem),
    linear-gradient(145deg, #fffdfd 0%, #fff3f5 54%, #fcecef 100%) !important;
}
html body.heritage-contact.tradition-in-motion main > .section::before {
  border-color: rgba(169,31,50,.17) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card {
  color: var(--contact-ink) !important;
  border-color: rgba(169,31,50,.3) !important;
  background-color: rgba(255,250,251,.96) !important;
  background-image:
    linear-gradient(145deg, rgba(255,253,253,.97), rgba(255,235,239,.94)),
    var(--tab-contact) !important;
  box-shadow: 0 24px 54px rgba(117,38,51,.13) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card::before {
  color: rgba(169,31,50,.055) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card::after {
  content: none !important;
  display: none !important;
}
html body.heritage-contact.tradition-in-motion .contact-card h2,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card h2 {
  margin-bottom: 2.2rem !important;
  color: var(--contact-red) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card h2::after {
  content: none !important;
  display: none !important;
}
html body.heritage-contact.tradition-in-motion .contact-card h3 { color: #a91f32 !important; }
html body.heritage-contact.tradition-in-motion .contact-card p,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card :is(p,a) {
  color: #4f373c !important;
  border-bottom-color: rgba(169,31,50,.14) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card a {
  text-decoration-color: rgba(169,31,50,.48) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid form {
  border-color: var(--contact-red) rgba(169,31,50,.16) rgba(169,31,50,.16) !important;
  background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(169,31,50,.025) 40px), rgba(255,253,253,.97) !important;
  box-shadow: 0 24px 56px rgba(117,38,51,.11) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid :is(input,textarea) {
  border-color: rgba(169,31,50,.18) !important;
  background: #fff8f9 !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid :is(input,textarea):focus {
  border-color: var(--contact-red) !important;
  outline-color: rgba(231,169,180,.42) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid form .btn {
  background: linear-gradient(135deg, #b52238, #931628) !important;
  box-shadow: 0 12px 28px rgba(169,31,50,.2) !important;
}

/* Lighter Contact balance — white-led with a whisper of blush. */
html body.heritage-contact {
  --contact-pearl: #fffafb;
  --contact-pink: #f3dce1;
  --contact-line: rgba(169,31,50,.13);
}
html body.heritage-contact.tradition-in-motion main > .section {
  background:
    radial-gradient(circle at 91% 8%, rgba(242,207,214,.18), transparent 25rem),
    radial-gradient(circle at 7% 92%, rgba(169,31,50,.045), transparent 22rem),
    linear-gradient(145deg, #ffffff 0%, #fffcfc 58%, #fff7f8 100%) !important;
}
html body.heritage-contact.tradition-in-motion .contact-card,
html body.heritage-contact.tradition-in-motion main > .section .contact-grid > article.contact-card {
  background-color: rgba(255,255,255,.97) !important;
  background-image:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,249,.95)),
    var(--tab-contact) !important;
  border-color: rgba(169,31,50,.19) !important;
  box-shadow: 0 22px 48px rgba(117,38,51,.08) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid form {
  border-color: var(--contact-red) rgba(169,31,50,.11) rgba(169,31,50,.11) !important;
  background: rgba(255,255,255,.985) !important;
  box-shadow: 0 22px 50px rgba(117,38,51,.075) !important;
}
html body.heritage-contact.tradition-in-motion .contact-grid :is(input,textarea) {
  border-color: rgba(169,31,50,.13) !important;
  background: #fffdfd !important;
}
/* Homepage refresh — original fan-and-lantern hero artwork. */
html body.heritage-home.tradition-in-motion .hero {
  background: linear-gradient(90deg, rgba(255,250,241,.26) 0 43%, rgba(255,250,241,.08) 57%, transparent 72%), url("assets/home-hero-fans-lanterns-original-v1.webp") center / cover no-repeat !important;
}
html body.heritage-home.tradition-in-motion .hero::after { content:none !important; display:none !important; }

/* A shorter, denser home-events section. */
html body.heritage-home.tradition-in-motion #main > .section.section--cream { padding-block:clamp(3rem,5vw,4.5rem) !important; }
html body.heritage-home.tradition-in-motion #main > .section.section--cream .heading { margin-bottom:clamp(1.5rem,3vw,2.25rem) !important; }
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event-list { padding:clamp(.55rem,1vw,.9rem) clamp(.8rem,1.5vw,1.2rem) !important; }
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event { min-height:0 !important; padding-block:clamp(.75rem,1.25vw,1rem) !important; }

/* Tanghulu story — transparent paper panels with strong ink/red type. */
html body.heritage-home.tradition-in-motion .story-scroll .story-intro,
html.performance-ready body.heritage-home.tradition-in-motion .story-scroll .story-intro { border-color:rgba(133,24,38,.3) !important; background:rgba(255,249,238,.68) !important; box-shadow:0 20px 52px rgba(43,12,10,.14) !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-intro h2 { color:#211513 !important; text-shadow:none !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-intro > p:not(.eyebrow) { color:#493633 !important; text-shadow:none !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-intro :is(.eyebrow,.textlink) { color:#9e1b2d !important; text-shadow:none !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline li { border-color:rgba(133,24,38,.24) !important; background:rgba(255,249,238,.7) !important; box-shadow:0 16px 40px rgba(43,12,10,.12) !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline :is(h3,p) { color:#281918 !important; text-shadow:none !important; }
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline time { color:#9e1b2d !important; }

/* Compact Tanghulu story composition: warm red glass panels and a centered skewer. */
html body.heritage-home.tradition-in-motion .story-scroll .story-layout {
  grid-template-columns: minmax(0, .88fr) minmax(640px, 1.12fr);
  gap: clamp(30px, 2.5vw, 46px);
  align-items: center;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-intro,
html.performance-ready body.heritage-home.tradition-in-motion .story-scroll .story-intro {
  width: min(100%, 620px);
  padding: clamp(1.4rem, 2.25vw, 2.15rem) !important;
  border-color: rgba(246, 207, 116, .46) !important;
  background: rgba(125, 27, 42, .80) !important;
  box-shadow: 0 16px 38px rgba(48, 4, 11, .20) !important;
  backdrop-filter: none !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-intro h2,
html body.heritage-home.tradition-in-motion .story-scroll .story-intro > p:not(.eyebrow) {
  color: #fff7e7 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-intro :is(.eyebrow, .textlink) {
  color: #ffd777 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline {
  width: min(100%, 760px);
  grid-auto-rows: 1fr;
  gap: 12px;
  padding-left: 112px;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::before {
  left: 42px;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::after {
  left: 38px;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline li {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(1.15rem, 1.8vw, 1.65rem) clamp(1.25rem, 2.2vw, 2rem) !important;
  border-color: rgba(246, 207, 116, .40) !important;
  border-radius: 18px !important;
  background: rgba(132, 31, 45, .78) !important;
  box-shadow: 0 13px 30px rgba(48, 4, 11, .18) !important;
  backdrop-filter: none !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline :is(h3, p) {
  color: #fff7e7 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline time {
  color: #ffd777 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .tanghulu-picker {
  min-height: 66px;
  padding: 8px 14px 8px 9px;
  color: #4a151d !important;
  border-color: rgba(246, 207, 116, .46);
  background: rgba(255, 248, 234, .95) !important;
  box-shadow: 0 12px 26px rgba(48, 4, 11, .17);
}

html body.heritage-home.tradition-in-motion .story-scroll .tanghulu-picker small {
  color: #7b3440 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .tanghulu-picker strong {
  color: #3d1119 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .tanghulu-picker b {
  color: #a31e31 !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit {
  left: -105px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:hover,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:focus-visible {
  transform: translateY(-50%) scale(1.1) rotate(-2deg);
}

@media (max-width: 900px) {
  html body.heritage-home.tradition-in-motion .story-scroll .story-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  html body.heritage-home.tradition-in-motion .story-scroll .story-intro,
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline {
    width: 100%;
    max-width: none;
  }

  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline {
    padding-left: 84px;
  }

  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::before { left: 29px; }
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::after { left: 25px; }
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit { left: -82px !important; }
}

@media (max-width:760px) {
  html body.heritage-home.tradition-in-motion .hero { background:linear-gradient(180deg,rgba(255,250,241,.2) 0 44%,rgba(255,250,241,.88) 72% 100%),url("assets/home-hero-fans-lanterns-original-v1.webp") 68% center / cover no-repeat !important; }
}

/* FINAL HOME COMPOSITION — keep below all legacy home rules. */
html body.heritage-home.tradition-in-motion .hero + .section {
  padding-block: clamp(4rem, 6vw, 6rem) !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .06), transparent 52%, rgba(255, 250, 240, .03)),
    url("assets/home-belong-lantern-blossom-original-v1.png") center / cover no-repeat !important;
}
html body.heritage-home.tradition-in-motion .hero + .section .heading > div {
  border-color: #a92132 !important;
  background: rgba(255, 250, 240, .68) !important;
}
html body.heritage-home.tradition-in-motion .hero + .section .heading > p,
html body.heritage-home.tradition-in-motion .hero + .section .card {
  border-color: rgba(164, 104, 31, .24) !important;
  background: rgba(255, 251, 242, .70) !important;
  backdrop-filter: none !important;
}

html body.heritage-home.tradition-in-motion #main > .section.section--cream {
  color: #2d1c18 !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .24) 0 46%, rgba(255, 250, 240, .08) 64%, transparent 84%),
    url("assets/home-belong-ink-landscape-original-v1.png") center / cover no-repeat !important;
}
html body.heritage-home.tradition-in-motion #main > .section.section--cream :is(h2, h3) {
  color: #2d1c18 !important;
  text-shadow: none !important;
}
html body.heritage-home.tradition-in-motion #main > .section.section--cream :is(.eyebrow, .event time, .event > a) {
  color: #9f1f31 !important;
}
html body.heritage-home.tradition-in-motion #main > .section.section--cream .heading > p,
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event-list {
  border-color: rgba(159, 31, 49, .22) !important;
  color: #4b3830 !important;
  background: rgba(255, 251, 242, .76) !important;
  box-shadow: 0 18px 42px rgba(87, 44, 25, .10) !important;
  backdrop-filter: none !important;
}
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event {
  border-color: rgba(159, 31, 49, .16) !important;
}
html body.heritage-home.tradition-in-motion #main > .section.section--cream .event p {
  color: #67524a !important;
}

/* Sit at the photo's lower edge rather than across its subject. */
html body.heritage-home.tradition-in-motion .hero .float--event {
  right: auto !important;
  bottom: -2.75rem !important;
  left: -2.4rem !important;
}

/* Timeline geometry: stick x = 42px; card x = 112px; fruit centre = -70px. */
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline {
  padding-left: 112px !important;
}
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::before {
  left: 42px !important;
}
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::after {
  left: 38px !important;
}
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
  left: -70px !important;
  top: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center !important;
}
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:hover,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit:focus-visible {
  transform: translate(-50%, -50%) scale(1.1) rotate(-2deg) !important;
}

@media (max-width: 900px) {
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline {
    padding-left: 84px !important;
  }
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::before {
    left: 29px !important;
  }
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline::after {
    left: 25px !important;
  }
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
    left: -55px !important;
  }
}
@media (max-width: 760px) {
  html body.heritage-home.tradition-in-motion .hero + .section {
    padding-top: clamp(4rem, 10vw, 5.5rem) !important;
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .05), rgba(255, 250, 240, .78) 76%),
      url("assets/home-belong-lantern-blossom-original-v1.png") center / cover no-repeat !important;
  }
  html body.heritage-home.tradition-in-motion #main > .section.section--cream {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, .12), rgba(255, 250, 240, .88) 72%),
      url("assets/home-belong-ink-landscape-original-v1.png") 64% center / cover no-repeat !important;
  }
  html body.heritage-home.tradition-in-motion .hero .float--event {
    right: .5rem !important;
    bottom: -2rem !important;
    left: .5rem !important;
  }
}

/* FINAL 2026-08-13 HOME GEOMETRY — must remain after every legacy override. */
html body.heritage-home.tradition-in-motion .hero + .section .cards {
  background-image: none !important;
}

html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
  left: -63.5px !important;
}

@media (max-width: 900px) {
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit,
  html body.heritage-home.tradition-in-motion .story-scroll .story-timeline .tanghulu-fruit[data-fruit] {
    left: -48.5px !important;
  }
}
/* Untinted destination artwork and page-matched lantern palettes — 2026-08-14 */
.page-transition[data-destination="home"] {
  background: url("assets/home-loading-red-gold-lantern-frame-v1.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="about"] {
  background: url("assets/transition-lantern-koi-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="events"] {
  background: url("assets/events-transition-fireworks-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="weekly"] {
  background: url("assets/weekly-transition-scholar-studio-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="evergreen"] {
  background: url("assets/evergreen-transition-garden-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="gallery"] {
  background: url("assets/gallery-transition-cranes-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="join"] {
  background: url("assets/join-transition-curtain-stage-original-v2.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="contact"] {
  background: url("assets/contact-transition-plum-moon-original.webp") center / cover no-repeat !important;
}
.page-transition[data-destination="directory"] {
  background: url("assets/directory-transition-blue-porcelain-v1.png") center / cover no-repeat !important;
}

.page-transition[data-destination]::before,
.page-transition[data-destination]::after {
  opacity: 0 !important;
  background: none !important;
}

.page-transition[data-destination="home"] {
  --page-lantern-main: #c51f32;
  --page-lantern-edge: #790815;
  --page-lantern-trim: #efc45f;
  --page-lantern-ink: #fffaf0;
  --page-lantern-glow: rgba(242, 185, 70, .42);
  --page-lantern-shadow: rgba(95, 9, 20, .34);
}
.page-transition[data-destination="about"] {
  --page-lantern-main: #3e3124;
  --page-lantern-edge: #15120f;
  --page-lantern-trim: #d9ae51;
  --page-lantern-ink: #fff4d8;
  --page-lantern-glow: rgba(217, 174, 81, .38);
  --page-lantern-shadow: rgba(8, 7, 5, .46);
}
.page-transition[data-destination="events"] {
  --page-lantern-main: #ef3340;
  --page-lantern-edge: #a30618;
  --page-lantern-trim: #ffd36f;
  --page-lantern-ink: #fffdf7;
  --page-lantern-glow: rgba(255, 83, 67, .44);
  --page-lantern-shadow: rgba(123, 0, 13, .38);
}
.page-transition[data-destination="weekly"] {
  --page-lantern-main: #ead6a8;
  --page-lantern-edge: #b98954;
  --page-lantern-trim: #9f2535;
  --page-lantern-ink: #5d1723;
  --page-lantern-glow: rgba(218, 168, 91, .34);
  --page-lantern-shadow: rgba(93, 62, 31, .28);
}
.page-transition[data-destination="evergreen"] {
  --page-lantern-main: #3b8068;
  --page-lantern-edge: #174c3d;
  --page-lantern-trim: #d8b75d;
  --page-lantern-ink: #fffbed;
  --page-lantern-glow: rgba(103, 180, 145, .38);
  --page-lantern-shadow: rgba(10, 57, 44, .34);
}
.page-transition[data-destination="gallery"] {
  --page-lantern-main: #3d82ae;
  --page-lantern-edge: #17486f;
  --page-lantern-trim: #b7dff1;
  --page-lantern-ink: #f8fdff;
  --page-lantern-glow: rgba(104, 183, 224, .4);
  --page-lantern-shadow: rgba(11, 50, 79, .36);
}
.page-transition[data-destination="join"] {
  --page-lantern-main: #bc1b2e;
  --page-lantern-edge: #730713;
  --page-lantern-trim: #edc462;
  --page-lantern-ink: #fff9ea;
  --page-lantern-glow: rgba(230, 174, 67, .4);
  --page-lantern-shadow: rgba(85, 4, 13, .38);
}
.page-transition[data-destination="contact"] {
  --page-lantern-main: #f4c6d2;
  --page-lantern-edge: #df8da2;
  --page-lantern-trim: #a72b4a;
  --page-lantern-ink: #68182b;
  --page-lantern-glow: rgba(236, 155, 177, .38);
  --page-lantern-shadow: rgba(119, 37, 59, .22);
}
.page-transition[data-destination="directory"] {
  --page-lantern-main: #acd8eb;
  --page-lantern-edge: #599ec4;
  --page-lantern-trim: #285f8a;
  --page-lantern-ink: #123b5b;
  --page-lantern-glow: rgba(108, 182, 220, .36);
  --page-lantern-shadow: rgba(31, 82, 119, .24);
}

.page-transition[data-destination] .transition-lantern {
  border-color: var(--page-lantern-trim) !important;
  background: linear-gradient(90deg, var(--page-lantern-edge), var(--page-lantern-main) 48%, var(--page-lantern-edge)) !important;
  box-shadow: 0 0 28px var(--page-lantern-glow) !important;
}
.page-transition[data-destination] .transition-lantern::before,
.page-transition[data-destination] .transition-lantern::after,
.page-transition[data-destination] .transition-lantern i {
  background: var(--page-lantern-trim) !important;
}

body.heritage-home {
  --page-lantern-main: #c51f32; --page-lantern-edge: #790815; --page-lantern-trim: #efc45f;
  --page-lantern-ink: #fffaf0; --page-lantern-glow: rgba(242,185,70,.42); --page-lantern-shadow: rgba(95,9,20,.34);
}
body.heritage-about {
  --page-lantern-main: #3e3124; --page-lantern-edge: #15120f; --page-lantern-trim: #d9ae51;
  --page-lantern-ink: #fff4d8; --page-lantern-glow: rgba(217,174,81,.38); --page-lantern-shadow: rgba(8,7,5,.46);
}
body.heritage-events {
  --page-lantern-main: #ef3340; --page-lantern-edge: #a30618; --page-lantern-trim: #ffd36f;
  --page-lantern-ink: #fffdf7; --page-lantern-glow: rgba(255,83,67,.44); --page-lantern-shadow: rgba(123,0,13,.38);
}
body.heritage-weekly {
  --page-lantern-main: #ead6a8; --page-lantern-edge: #b98954; --page-lantern-trim: #9f2535;
  --page-lantern-ink: #5d1723; --page-lantern-glow: rgba(218,168,91,.34); --page-lantern-shadow: rgba(93,62,31,.28);
}
body.heritage-evergreen {
  --page-lantern-main: #3b8068; --page-lantern-edge: #174c3d; --page-lantern-trim: #d8b75d;
  --page-lantern-ink: #fffbed; --page-lantern-glow: rgba(103,180,145,.38); --page-lantern-shadow: rgba(10,57,44,.34);
}
body.heritage-gallery {
  --page-lantern-main: #3d82ae; --page-lantern-edge: #17486f; --page-lantern-trim: #b7dff1;
  --page-lantern-ink: #f8fdff; --page-lantern-glow: rgba(104,183,224,.4); --page-lantern-shadow: rgba(11,50,79,.36);
}
body.heritage-join {
  --page-lantern-main: #bc1b2e; --page-lantern-edge: #730713; --page-lantern-trim: #edc462;
  --page-lantern-ink: #fff9ea; --page-lantern-glow: rgba(230,174,67,.4); --page-lantern-shadow: rgba(85,4,13,.38);
}
body.heritage-contact {
  --page-lantern-main: #f4c6d2; --page-lantern-edge: #df8da2; --page-lantern-trim: #a72b4a;
  --page-lantern-ink: #68182b; --page-lantern-glow: rgba(236,155,177,.38); --page-lantern-shadow: rgba(119,37,59,.22);
}
body.heritage-directory {
  --page-lantern-main: #acd8eb; --page-lantern-edge: #599ec4; --page-lantern-trim: #285f8a;
  --page-lantern-ink: #123b5b; --page-lantern-glow: rgba(108,182,220,.36); --page-lantern-shadow: rgba(31,82,119,.24);
}

body[class*="heritage-"] .lantern-top__cap,
body[class*="heritage-"] .lantern-top__tassel {
  background: var(--page-lantern-trim) !important;
  box-shadow: none;
}
body[class*="heritage-"] .lantern-top__body {
  color: var(--page-lantern-ink) !important;
  border-color: var(--page-lantern-trim) !important;
  background:
    linear-gradient(90deg, transparent 20%, rgba(255,255,255,.18) 21% 23%, transparent 24% 48%, rgba(255,255,255,.14) 49% 51%, transparent 52% 76%, rgba(255,255,255,.14) 77% 79%, transparent 80%),
    linear-gradient(145deg, var(--page-lantern-main), var(--page-lantern-edge)) !important;
  box-shadow: 0 9px 22px var(--page-lantern-shadow), inset 0 0 12px var(--page-lantern-glow) !important;
}
body[class*="heritage-"] .lantern-top__glow {
  background: radial-gradient(circle, var(--page-lantern-glow), transparent 72%) !important;
}
body[class*="heritage-"] .lantern-top__tassel::after {
  background: var(--page-lantern-edge) !important;
}
body[class*="heritage-"] .lantern-top:focus-visible {
  outline-color: var(--page-lantern-trim) !important;
}

/* Readability, directory lantern, and homepage alignment refinements — 2026-08-14. */
html body.heritage-directory.tradition-in-motion .pagehero .eyebrow {
  color: #174f78 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 2px 12px rgba(18, 60, 91, .14) !important;
}

/* The directory's back-to-top lantern uses a warm yellow body and brown frame. */
body.heritage-directory {
  --page-lantern-main: #f5cc55;
  --page-lantern-edge: #d99b27;
  --page-lantern-trim: #6b421f;
  --page-lantern-ink: #4a2b12;
  --page-lantern-glow: rgba(245, 193, 57, .42);
  --page-lantern-shadow: rgba(73, 41, 16, .3);
}

/* Centre each impact statement as a group while preserving left-aligned copy. */
html body.heritage-home .impact-grid article {
  align-items: center;
}
html body.heritage-home .impact-grid article > strong,
html body.heritage-home .impact-grid article > span {
  width: min(100%, 19rem);
  text-align: left;
}

/* Keep the events-section eyebrow legible over the coral-red artwork. */
html body.heritage-home.tradition-in-motion #main > .section.section--cream .heading .eyebrow {
  color: #fff7e8 !important;
  text-shadow: 0 1px 8px rgba(72, 8, 15, .58) !important;
}

/* Scroll-up lantern palette swap — 2026-08-14. */
body.heritage-directory {
  --page-lantern-main: #acd8eb;
  --page-lantern-edge: #599ec4;
  --page-lantern-trim: #285f8a;
  --page-lantern-ink: #123b5b;
  --page-lantern-glow: rgba(108, 182, 220, .36);
  --page-lantern-shadow: rgba(31, 82, 119, .24);
}
body.heritage-about {
  --page-lantern-main: #f5cc55;
  --page-lantern-edge: #d99b27;
  --page-lantern-trim: #6b421f;
  --page-lantern-ink: #4a2b12;
  --page-lantern-glow: rgba(245, 193, 57, .42);
  --page-lantern-shadow: rgba(73, 41, 16, .3);
}

/* Untinted community portrait with copy in its own panel — 2026-08-14. */
html body.heritage-home .community-closing {
  min-height: 0;
  display: block;
  color: #fffaf0;
  background: #861322;
}
html body.heritage-home .community-closing__image {
  position: relative;
  inset: auto;
  width: 100%;
  height: clamp(430px, 56vw, 690px);
  background: url("assets/home-community-canada-day-2025.webp") center 48% / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
}
html body.heritage-home .community-closing__content {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.15fr) auto;
  grid-template-rows: auto auto;
  gap: .35rem clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 3px solid #d7aa4d;
}
html body.heritage-home .community-closing__content > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: #f2cf79 !important;
}
html body.heritage-home .community-closing__content > h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: .35rem 0 0;
  color: #fffaf0 !important;
}
html body.heritage-home .community-closing__content > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  color: rgba(255, 250, 240, .88) !important;
}
html body.heritage-home .community-closing__content > div {
  grid-column: 3;
  grid-row: 1 / 3;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 980px) {
  html body.heritage-home .community-closing__content {
    grid-template-columns: 1fr 1fr;
  }
  html body.heritage-home .community-closing__content > div {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 1rem;
  }
}
@media (max-width: 680px) {
  html body.heritage-home .community-closing__image {
    height: clamp(320px, 92vw, 520px);
    background-position: 54% center !important;
  }
  html body.heritage-home .community-closing__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }
  html body.heritage-home .community-closing__content > div {
    white-space: normal;
  }
}

/* Final cascade: compact gold leadership cards — About page. */
html body.heritage-about.tradition-in-motion #main .about-board-section {
  padding: clamp(1.35rem, 2.6vw, 2.25rem) !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .board {
  gap: clamp(.65rem, 1vw, .85rem) !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n) {
  min-height: 108px !important;
  justify-content: center;
  padding: clamp(.9rem, 1.35vw, 1.15rem) !important;
  color: #241608 !important;
  border: 1px solid rgba(255, 237, 179, .58) !important;
  border-radius: 4px 16px 4px 16px !important;
  background: linear-gradient(145deg, #e5bd67 0%, #cf9840 58%, #b97926 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 215, .5), 0 8px 18px rgba(0, 0, 0, .15) !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n):hover {
  border-color: rgba(255, 244, 204, .8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 215, .58), 0 10px 22px rgba(0, 0, 0, .18) !important;
  transform: none !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person strong {
  color: #201307 !important;
  font-size: clamp(1rem, 1.15vw, 1.08rem) !important;
  line-height: 1.2;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person > span:last-child {
  margin-top: .28rem;
  color: #42270e !important;
  font-size: clamp(.82rem, .95vw, .93rem);
  line-height: 1.32;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person__number {
  margin-bottom: .55rem;
  color: #6d3b11 !important;
  font-size: .68rem !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n)::after {
  right: 11px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border-color: rgba(91, 47, 11, .3);
}

/* Past presidents — a compact archival timeline for the About page. */
body.heritage-about .past-presidents {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border: 1px solid rgba(217, 174, 81, .38);
  border-radius: 28px;
  background: rgba(8, 8, 8, .76);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}
body.heritage-about .past-presidents__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(217, 174, 81, .3);
}
body.heritage-about .past-presidents__heading .eyebrow {
  margin: 0 0 .55rem;
  color: #e4bd65 !important;
}
body.heritage-about .past-presidents__heading h2 {
  margin: 0;
  color: #fff8e8 !important;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}
body.heritage-about .past-presidents__heading h2 span {
  display: inline-block;
  margin-left: .3em;
  color: #e4bd65;
  font-family: "Noto Serif TC", serif;
  font-size: .58em;
  letter-spacing: .05em;
}
body.heritage-about .past-presidents__heading > p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 248, 232, .74) !important;
  line-height: 1.7;
}
body.heritage-about .past-presidents__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  gap: 0 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.heritage-about .past-president {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.2rem;
  padding: .85rem .2rem;
  border-bottom: 1px solid rgba(217, 174, 81, .2);
}
body.heritage-about .past-president__year {
  color: #e4bd65;
  font-family: "Noto Serif TC", Georgia, serif;
  font-weight: 700;
  white-space: nowrap;
}
body.heritage-about .past-president__name {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .75rem;
  align-items: baseline;
  color: #fff8e8;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 650;
}
body.heritage-about .past-president__zh {
  color: #e4bd65;
  font-family: "Noto Serif TC", serif;
  font-size: .9em;
  font-weight: 600;
  letter-spacing: .03em;
}
body.heritage-about .past-president__index {
  color: rgba(228, 189, 101, .38);
  font-size: .72rem;
  letter-spacing: .12em;
}
@media (max-width: 760px) {
  body.heritage-about .past-presidents__heading,
  body.heritage-about .past-presidents__list {
    grid-template-columns: 1fr;
  }
  body.heritage-about .past-presidents__list {
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  body.heritage-about .past-president {
    grid-template-columns: 5.6rem minmax(0, 1fr) auto;
  }
}

/* Compact the homepage community closing section without obscuring faces. */
html body.heritage-home .community-closing__image {
  height: clamp(350px, 38vw, 500px);
  background-position: center 52% !important;
}
html body.heritage-home .community-closing__content {
  padding-block: clamp(1.35rem, 2.5vw, 2.25rem);
}
html body.heritage-home .community-closing__content > h2 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 3.5vw, 3.45rem);
  line-height: 1.04;
}
html body.heritage-home .community-closing__content > p:not(.eyebrow) {
  max-width: 36rem;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}
html body.heritage-home .community-closing__content > div {
  gap: 1.1rem;
}
@media (max-width: 680px) {
  html body.heritage-home .community-closing__image {
    height: clamp(280px, 72vw, 410px);
    background-position: 54% center !important;
  }
  html body.heritage-home .community-closing__content > h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }
}

/* Deeper antique-gold leadership palette. */
html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n) {
  color: #160f08 !important;
  border-color: rgba(211, 169, 91, .48) !important;
  background: linear-gradient(145deg, #b88b42 0%, #9d6b2c 58%, #79501f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(244, 213, 144, .32), 0 8px 18px rgba(0, 0, 0, .2) !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person:nth-child(n)::before {
  height: 3px;
  opacity: .9;
  background: linear-gradient(90deg, #6d451c, #d0a554 48%, #8b622c) !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person strong {
  color: #160f08 !important;
}
html body.heritage-about.tradition-in-motion #main .about-board-section .person > span:last-child {
  color: #2f200f !important;
}
/* Remove the rotated red-bordered "prosperity" medallion shape from the
   Contact hero — it read as an odd floating box, especially on mobile. */
html body.heritage-contact.tradition-in-motion .pagehero::after {
  display: none !important;
}

html body.heritage-about.tradition-in-motion #main .about-board-section .person__number {
  color: #4a2d10 !important;
}

/* Weekly schedule cards and Evergreen benefit cards: keep the hover "pop"
   (lift + shadow) but drop the diagonal shine-sweep effect and replace the
   slow 720ms glide with a quick, smooth 150ms transition dedicated to the
   hover-affected properties only (the scroll-in entrance animation, which
   uses the same transform property, is untouched — this only takes over
   once a card has already finished settling into view). */
html body.heritage-weekly.tradition-in-motion .schedule-card::after,
html body.heritage-evergreen.tradition-in-motion .evergreen-benefit::after {
  display: none !important;
}

html body.heritage-weekly.tradition-in-motion .schedule-card.premium-enter.is-premium-visible,
html body.heritage-evergreen.tradition-in-motion .evergreen-benefit.premium-enter.is-premium-visible {
  transition:
    transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 150ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}
