/* Navigation: one underline, without a separate rectangular desktop surface. */
html body .header .navlinks a,
html body .header .navlinks a:is(:hover,[aria-current="page"]) {
  box-shadow:none !important;
  background-color:transparent !important;
  transform:none !important;
}
html body .header .navlinks a::before { content:none !important;display:none !important; }
html body .header .navlinks a::after {
  animation:none !important;
  filter:none !important;
  border:0 !important;
  box-shadow:none !important;
}
html body .header .navlinks a:focus:not(:focus-visible) { outline:none; }
html body .header .navlinks a:focus-visible {
  outline:2px solid #a5722b !important;
  outline-offset:2px;
  border-radius:4px;
}
@media(min-width:1121px) {
  html body .header .navlinks {
    background:transparent !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
  }
  html body .header .navlinks a { border:0 !important; }
}
/* A little celebration in the lower sections, with room above the copy. */
html body.heritage-home.tradition-in-motion #main>.section.has-lantern-garland { position:relative;padding-top:185px !important; }
html body.heritage-join.tradition-in-motion #main .join-grid>.info-box.full.has-lantern-garland { position:relative;padding-top:172px !important; }
html body #app main :is(.hero,.pagehero)>.heritage-lanterns { display:none !important; }
.lantern-garland {
  position:absolute;
  inset:0 0 auto;
  width:100%;
  height:160px;
  pointer-events:none;
  z-index:4;
  overflow:hidden;
  contain:layout paint;
}
.lantern-string { display:block;width:100%;height:100%;overflow:visible; }
.lantern-string--mobile { display:none; }
.heritage-join .lantern-string--desktop { display:none; }
.heritage-join .lantern-string--mobile { display:block; }
.lantern-cable { stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s ease; }
.motion-arrived .lantern-cable { stroke-dashoffset:0; }
.hanging-lantern { opacity:0;transition:opacity .7s ease var(--lantern-delay); }
.motion-arrived .hanging-lantern { opacity:1; }
.lantern-sway {
  transform-box:fill-box;
  transform-origin:50% 0;
  animation:quiet-lantern-sway var(--sway-duration) ease-in-out var(--sway-delay) infinite alternate;
}
.motion-paused .lantern-sway { animation-play-state:paused; }
@keyframes quiet-lantern-sway { from { transform:rotate(-3deg); } to { transform:rotate(3deg); } }
/* The ink follows the heading into view once; the original type stays intact. */
.ink-heading { position:relative; }
.heading h2.ink-heading::after { display:none !important; }
.brush-stroke { position:absolute;left:0;bottom:-18px;width:150px;height:14px;overflow:visible;pointer-events:none;color:#9d2837; }
.heading .brush-stroke { left:clamp(16px,2vw,28px); }
.community-closing .brush-stroke { color:#e5ba72; }
.brush-stroke path { fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s cubic-bezier(.2,.65,.3,1) .15s; }
.brush-stroke .brush-stroke__grain { stroke-width:1;opacity:.45;transition-delay:.3s; }
.motion-arrived>.brush-stroke path { stroke-dashoffset:0; }
/* Reveal through a moon gate, then return to the complete original photograph. */
.moon-photo.motion-arrived { animation:moon-gate-open 1.2s cubic-bezier(.22,.7,.25,1) backwards; }
@keyframes moon-gate-open { from { clip-path:circle(0% at 50% 50%); } to { clip-path:circle(75% at 50% 50%); } }
.plum-drift { position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3;contain:layout paint; }
.plum-petal { position:absolute;left:var(--petal-x);top:15%;width:14px;height:20px;color:#b84d60;opacity:0;animation:plum-petal-drift 22s linear var(--petal-delay) infinite; }
.plum-petal:nth-child(even) { width:10px;height:15px;color:#ca8791; }
.plum-petal svg { display:block;width:100%;height:100%; }
.motion-paused .plum-petal { animation-play-state:paused; }
@keyframes plum-petal-drift {
  0% { opacity:0;transform:translate3d(-35px,-30px,0) rotate(-20deg); }
  5% { opacity:.6; }
  32% { opacity:.5; }
  42%,100% { opacity:0;transform:translate3d(75px,260px,0) rotate(var(--petal-turn)); }
}
@media(max-width:760px) {
  .lantern-string--desktop { display:none; }
  .lantern-string--mobile { display:block; }
  .lantern-garland { height:118px; }
  html body.heritage-home.tradition-in-motion #main>.section.has-lantern-garland { padding-top:145px !important; }
  html body.heritage-join.tradition-in-motion #main .join-grid>.info-box.full.has-lantern-garland { padding-top:140px !important; }
  .brush-stroke { width:115px; }
}
@media(prefers-reduced-motion:reduce) {
  .lantern-cable { stroke-dashoffset:0;transition:none; }
  .hanging-lantern { opacity:1;transition:none; }
  .lantern-sway { animation:none; }
  .brush-stroke path { stroke-dashoffset:0;transition:none; }
  .moon-photo.motion-arrived { animation:none; }
  .plum-drift { display:none; }
}
