[data-home-view] .chrome-logo > picture {
  width: 100%;
}

[data-home-view] #app > .home-intro {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 52px);
  padding: 8px 0 29px;
}

[data-home-view] #app .sm-home-title {
  margin: 8px 0 16px;
  font-size: clamp(41.6px, 4.4vw, 60.8px);
}

[data-home-view] .home-intro .lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

[data-home-view] .home-intro .actions {
  margin: 16px 0 0;
}

[data-home-view] #app > .paths {
  margin-block: 8px 18px;
}

[data-home-view] #app > .paths > .path {
  padding-block: 17px;
}

[data-home-view] #app > .prominent-party {
  margin-top: 18px;
  padding-block: 20px;
}

[data-home-view] .prominent-party > .btn {
  position: static;
}

[data-home-view] .prominent-party > .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

[data-home-view] .home-soso {
  position: relative;
  display: block;
  justify-self: end;
  width: min(100%, 33vw, 372px);
  border: 1px solid #e3d8c7;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

[data-home-view] .home-soso img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: inherit;
}

[data-home-view] .home-soso-action {
  position: absolute;
  inset: auto 12px 12px auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid #e3d8c7;
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

[data-home-view] .home-soso:hover .home-soso-label { text-decoration: underline; }
[data-home-view] .home-soso:focus-visible { outline: 3px solid #729bb8; outline-offset: 4px; }

@media (max-width: 900px) {
  [data-home-view] #app > .paths {
    gap: 10px;
    margin-block: 0 16px;
  }

  [data-home-view] #app > .paths > .path {
    min-width: 0;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 1.35;
  }

  [data-home-view] #app > .paths .path-icon {
    width: 21px;
    height: 21px;
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 21px;
  }

  [data-home-view] #app > .paths h3 {
    margin: 0;
    font-size: 21px;
  }

  [data-home-view] #app > .paths p {
    margin: 4px 0;
    font-size: 13px;
  }

  [data-home-view] .home-intro .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
  }

  [data-home-view] .home-intro .actions .btn {
    min-height: 44px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }
}

@media (max-width: 620px) {
  [data-home-view] :is(.chrome-surface, .chrome-header) {
    background-color: var(--paper);
  }

  [data-home-view] .chrome-header .chrome-logo img {
    padding-inline: 8%;
    object-fit: contain;
    filter: none;
    mix-blend-mode: normal;
  }

  [data-home-view] #app {
    padding-top: 12px;
  }

  [data-home-view] #app > .home-intro {
    grid-template-columns: minmax(0, 1fr) clamp(76px, 23vw, 108px);
    grid-template-areas: "heading soso" "details details";
    gap: 4px 11px;
    padding: 0 0 9px;
  }

  [data-home-view] .home-intro-copy { display: contents; }
  [data-home-view] .home-intro-heading { grid-area: heading; }
  [data-home-view] .home-intro-details { grid-area: details; }

  [data-home-view] .home-soso {
    grid-area: soso;
    width: 100%;
    border-radius: 13px;
  }

  [data-home-view] .home-soso-action {
    inset: auto 3px 3px auto;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    padding: 0;
    font-size: 13px;
  }

  [data-home-view] .home-soso-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  [data-home-view] .home-intro .eyebrow {
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  [data-home-view] #app .sm-home-title {
    margin: 0;
    font-size: clamp(26px, 7.2vw, 37px);
  }

  [data-home-view] .home-intro .lead {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
  }

  [data-home-view] .home-intro .actions { margin: 0; }
  [data-home-view] .prominent-party .party-banner-label { display: none; }
  [data-home-view] .prominent-party h2 { font-size: clamp(20px, 5.75vw, 30px); }

  [data-home-view] #app > .prominent-party {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-home-view] #app > .paths > .path {
    position: relative;
    --craft-pop-duration: 740ms;
  }

  [data-home-view] #app > .paths > .path::before,
  [data-home-view] #app > .paths > .path::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset-block-start: 5px;
    width: 26px;
    height: 26px;
    background: var(--craft-pop-color);
    clip-path: var(--craft-pop-shape, none);
    pointer-events: none;
    opacity: 0;
  }

  [data-home-view] #app > .paths > .path::before {
    inset-inline-start: 26%;
    --craft-pop-x: -10px;
    --craft-pop-y: -43px;
    --craft-pop-turn: -28deg;
    --craft-pop-size: 1;
  }

  [data-home-view] #app > .paths > .path::after {
    inset-inline-end: 21%;
    --craft-pop-x: 10px;
    --craft-pop-y: -34px;
    --craft-pop-turn: 28deg;
    --craft-pop-size: .73;
  }

  [data-home-view] .path-adults {
    --craft-pop-color:
      linear-gradient(#815b49, #815b49) center 10% / 92% 15% no-repeat,
      linear-gradient(#815b49, #815b49) center 90% / 92% 15% no-repeat,
      repeating-linear-gradient(166deg, #c4668a 0 2px, #f2acc3 2px 5px) center / 67% 78% no-repeat;
  }

  [data-home-view] .path-kids {
    --craft-pop-color: linear-gradient(147deg, #ffe797 18%, #e9ad40 84%);
    --craft-pop-shape: polygon(50% 2%, 62% 34%, 97% 36%, 70% 57%, 80% 92%, 50% 72%, 20% 92%, 30% 57%, 3% 36%, 38% 34%);
  }

  [data-home-view] .path-camp {
    --craft-pop-color: linear-gradient(90deg, #825b47 26%, #db7e91 26%);
    --craft-pop-shape: polygon(13% 7%, 25% 7%, 25% 13%, 95% 24%, 72% 39%, 91% 56%, 25% 48%, 25% 94%, 13% 94%);
  }

  [data-home-view] .path-camp::after {
    --craft-pop-color: linear-gradient(90deg, #825b47 26%, #83b5cd 26%);
  }

  [data-home-view] .path-studio {
    --craft-pop-color:
      repeating-radial-gradient(ellipse at 99% 9%, #9a639d 0 1px, #dfb4d4 2px 4px) 10% 5% / 80% 80% no-repeat,
      radial-gradient(ellipse, transparent 53%, #9a639d 57% 72%, transparent 76%) 91% 100% / 37% 33% no-repeat;
    --craft-pop-shape: polygon(12% 20%, 30% 5%, 57% 3%, 77% 14%, 89% 35%, 86% 60%, 76% 73%, 93% 80%, 95% 99%, 67% 99%, 60% 82%, 36% 86%, 14% 75%, 4% 51%);
  }

  [data-home-view] #app > .paths > .path:is(:active, :focus-visible)::before,
  [data-home-view] #app > .paths > .path:is(:active, :focus-visible)::after {
    animation: home-craft-pop var(--craft-pop-duration) ease-out both;
  }

  [data-home-view] .prominent-party:has(> .btn:is(:active, :focus-visible)) .party-confetti > i {
    animation: party-confetti-burst 900ms cubic-bezier(.1,.55,.3,1) var(--delay) both;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-home-view] #app > .paths > .path:hover::before,
  [data-home-view] #app > .paths > .path:hover::after {
    animation: home-craft-pop var(--craft-pop-duration) ease-out both;
  }
}

@media (max-width: 620px) and (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  [data-home-view] #app > .paths > .path,
  [data-home-view] .prominent-party {
    transition: transform 140ms ease-out;
  }

  [data-home-view] #app > .paths > .path {
    --craft-pop-duration: 480ms;
  }

  [data-home-view] #app > .paths > .path::before,
  [data-home-view] #app > .paths > .path::after {
    width: 22px;
    height: 22px;
  }

  [data-home-view] #app > .paths > .path::before {
    --craft-pop-y: -28px;
  }

  [data-home-view] #app > .paths > .path::after {
    --craft-pop-y: -22px;
  }

  [data-home-view] #app > .paths > .path:active {
    transform: scale(.98) rotate(-.45deg);
  }

  [data-home-view] .prominent-party:has(> .btn:active) {
    transform: translateY(2px) scale(.995);
  }
}

@keyframes home-craft-pop {
  0% {
    opacity: .78;
    transform: translateY(-4px) scale(.64);
  }
  34%, 57% {
    opacity: 1;
    transform: translate(var(--craft-pop-x), var(--craft-pop-y)) rotate(var(--craft-pop-turn)) scale(var(--craft-pop-size));
  }
  100% {
    opacity: 0;
    transform: translate(var(--craft-pop-x), calc(var(--craft-pop-y) + 8px)) rotate(var(--craft-pop-turn)) scale(.64);
  }
}
