.anniversary-cake {
  position: absolute;
  top: 52%;
  left: 50%;
  translate: -50% -50%;
  width: min(35vw, 47svh, 440px);
  margin: 0;
  z-index: 2;
  pointer-events: none;
}
.anniversary-cake img { width: 100%; height: auto; filter: drop-shadow(1px 7px 5px #5e433522); }
.cake-orbit-surface { position: relative; }
.cake-orbit-canvas {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: auto; touch-action: pan-y pinch-zoom; cursor: grab;
  filter: drop-shadow(1px 7px 5px #5e433522);
}
.cake-orbit-canvas:active { cursor: grabbing; }
.anniversary-cake:not([data-orbit="ready"]) .cake-orbit-canvas { visibility: hidden; pointer-events: none; }
.anniversary-cake[data-orbit="ready"] .cake-orbit-poster { visibility: hidden; }
.cake-orbit-tools {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px; padding: 0;
  pointer-events: auto; color: #543a3d; white-space: nowrap;
  font-size: 12px; line-height: 1.4;
}
.cake-orbit-tools button { min-width: 40px; min-height: 42px; border-radius: 20px; font-size: 15px; }
.cake-orbit-tools [data-cake-reset] { margin-left: 4px; font-size: 12px; }
.cake-orbit-tools button:enabled:hover { background: #f5e3d6; }
.cake-orbit-tools button:disabled { opacity: .38; cursor: default; }
.cake-orbit-tools button:focus-visible, .cake-orbit-canvas:focus-visible { outline: 2px solid #8c4055; outline-offset: 2px; }
.cake-orbit-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.anniversary-cake [hidden] { display: none; }
@media (max-width:760px) {
  .cake-orbit-tools { position: static; justify-content: center; transform: none; }
  .cake-orbit-tools button { min-width: 44px; min-height: 44px; }
}
.training-charm {
  --object-angle: -3deg;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px;
  color: #603341;
  text-decoration: none;
}
.training-charm__plate {
  display: block;
  width: clamp(68px,6.2vw,92px);
  height: auto;
  transform-origin: 50% 8%;
}
.training-charm__caption {
  display: inline-flex; align-items: baseline; gap: 1px;
  white-space: nowrap; border-bottom: 1px solid #a66b68; padding-bottom: 3px;
  font: 600 clamp(14px,1.1vw,17px)/1.35 "Kaiti SC","STKaiti","PingFang SC",sans-serif;
}
.training-charm__caption > span { font: 14px/1 sans-serif; }
.luoyang-bouquet {
  --object-angle: -3deg;
  position: absolute; z-index: 2;
  display: inline-flex; align-items: flex-end;
  color: #513431;
}
.bouquet-cutout {
  display: block; flex: none; width: clamp(82px,8.2vw,118px);
  filter: drop-shadow(1px 2px 0 #fffbed) drop-shadow(1px 4px 2px #63463433);
  transform-origin: 48% 85%; rotate: -9deg;
}
.bouquet-cutout img {
  display: block; width: 100%; height: auto;
  -webkit-mask: url("/assets/bouquet-silhouette.svg") center/contain no-repeat;
  mask: url("/assets/bouquet-silhouette.svg") center/contain no-repeat;
}
.bouquet-caption {
  display: inline-block; margin: 0 0 18px -5px; padding: 3px 0; white-space: nowrap;
  border-bottom: 1px solid #a66b68; font: 600 clamp(14px,1.12vw,17px)/1.35 "Kaiti SC","STKaiti","PingFang SC",sans-serif;
}
.bouquet-caption > span { font: 14px/1 sans-serif; }
.luoyang-bouquet:focus-visible { outline: 2px solid #784050; outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion:no-preference) {
  .bouquet-cutout { transition: rotate .25s ease-out; }
  .luoyang-bouquet:is(:hover,:focus-visible) .bouquet-cutout { rotate: -3deg; }
}
.training-charm:focus-visible { outline: 2px solid #784050; outline-offset: 4px; border-radius: 5px; }
@media (prefers-reduced-motion:no-preference) {
  .training-charm:is(:hover,:focus-visible) .training-charm__plate { animation: training-swing .65s ease-in-out; }
  @keyframes training-swing { 24% { rotate: -9deg; } 60% { rotate: 5deg; } 85% { rotate: -2deg; } }
}
@media (min-width: 761px) {
  .hero .hero-copy { left: 5.5%; top: 31%; width: 24.5%; }
  .hero .hero-copy h1 { font-size: clamp(31px, 4.35vw, 69px); letter-spacing: -.045em; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-copy .hero-description { margin-top: 16px; font-size: clamp(11px, 1vw, 14px); }
  .hero-copy .hero-link { margin-top: 10px; }
  .hero .mixtape-note { left: 7%; top: 13%; width: clamp(98px, 10vw, 140px); height: auto; aspect-ratio: 240/175; }
  .hero .follow-memento { left: 50%; translate: -50%; top: 1%; width: clamp(188px,18.5vw,245px); }
  .hero .luoyang-bouquet { left: 6.5%; bottom: 9%; }
  .hero .mail-note { width: clamp(88px, 9vw, 135px); height: auto; aspect-ratio: 190/165; }
  .hero .seaside-postcard { right: 5.5%; top: 34%; width: 20%; max-width: 285px; }
  .hero .training-charm { right: 15%; bottom: 8%; }
}
@media (max-width: 760px) {
  .hero {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas:
      "signature replay"
      "cake cake"
      "copy photo"
      "mixtape paper"
      "bouquet mail"
      "bouquet gym"
      "bottom bottom";
    align-items: center;
    gap: 18px 16px;
    padding: 4px 6% 22px;
    min-height: 0; height: auto;
  }
  .hero > :is(.corner-note,.follow-replay,.hero-copy,.seaside-postcard,.mixtape-note,
               .follow-memento,.luoyang-bouquet,.mail-note,.training-charm,.hero-bottom,.anniversary-cake) {
    position: relative; inset: auto; margin: 0;
  }
  .hero .corner-note { grid-area: signature; width: max-content; }
  .hero .follow-replay { grid-area: replay; justify-self: end; }
  .hero .anniversary-cake { grid-area: cake; justify-self: center; width: min(70vw,39svh,315px); translate: none; }
  .hero .hero-copy { grid-area: copy; }
  .hero .hero-copy h1 { font-size: clamp(25px,6.5vw,39px); letter-spacing: -.05em; }
  .hero .hero-copy .eyebrow { font-size: 9px; margin-bottom: 9px; }
  .hero .hero-description { font-size: 11px; margin-top: 9px; line-height: 1.65; }
  .hero .hero-link { margin-top: 6px; gap: 7px; }
  .hero .seaside-postcard { grid-area: photo; width: 94%; justify-self: end; max-width: 215px; }
  .hero .mixtape-note { grid-area: mixtape; width: 68%; height: auto; aspect-ratio: 240/175; justify-self: center; }
  .hero .follow-memento { grid-area: paper; width: min(100%,200px); justify-self: center; }
  .hero .luoyang-bouquet { grid-area: bouquet; justify-self: center; flex-direction: column; align-items: center; }
  .bouquet-cutout { width: clamp(74px,20vw,103px); }
  .bouquet-caption { margin: 0; }
  .hero .mail-note { grid-area: mail; width: 50%; height: auto; justify-self: center; aspect-ratio: 190/165; }
  .hero .training-charm { grid-area: gym; justify-self: center; max-width: 100%; }
  .training-charm__plate { width: clamp(50px,13.5vw,76px); }
  .training-charm__caption { font-size: 14px; }
  .hero .hero-bottom { grid-area: bottom; margin-top: 12px; }
}
@media (max-width:355px) {
  .hero .training-charm { flex-direction: column; gap: 0; }
  .training-charm__plate { width: 58px; }
}
