/* Work with me */

/* ---------- 1. Hero ---------- */
.w-hero { position: relative; padding: 190px 0 230px; overflow: hidden; }
.w-hero .dots { height: 60%; }
.w-hero__content { display: grid; gap: 28px; justify-items: center; text-align: center; }
.w-hero .display { font-size: clamp(38px, 5.6vw, 76px); }
.w-hero .lede { max-width: 660px; }

/* ---------- 2. Chips ---------- */
.w-chips { overflow: hidden; }
.w-chips .section-head { margin-bottom: 44px; }
.marquee { display: flex; overflow: hidden; padding-block: 8px; }
.marquee ul { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.marquee li { flex: none; padding: 16px 26px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow), 0 0 0 1.5px var(--line); font-size: 18px; font-weight: 600; white-space: nowrap; }
.marquee--back li { background: var(--tint); color: var(--deep); box-shadow: none; }
html.js.motion .marquee ul { animation: slide 38s linear infinite; }
html.js.motion .marquee--back ul { animation-direction: reverse; animation-duration: 44s; }
html.js.motion .marquee:hover ul { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
/* no motion: the chips sit still in a tidy wrapped block */
html:not(.motion) .marquee { justify-content: center; }
html:not(.motion) .marquee ul { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; max-width: 1000px; padding: 0 24px; }
html:not(.motion) .marquee ul[aria-hidden="true"] { display: none; }
.w-chips__line { margin-top: 44px; max-width: 640px; margin-inline: auto; }

/* ---------- 3. Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { padding: 14px 14px 32px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pack:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.pack > :not(.pack__art) { margin-inline: 18px; }
.pack p { color: var(--grey); font-size: 17px; }
.pack__n { font-size: 15px; font-weight: 800; color: var(--green); margin-top: 14px; }
.pack__art { position: relative; height: 220px; border-radius: 18px; background: var(--panel); overflow: hidden; }
.pack__art i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.pack__art i.s { width: 45%; } .pack__art i.m { width: 75%; } .pack__art i.g { background: var(--mint); }

.art-card { position: absolute; left: 50%; top: 50%; width: 62%; padding: 18px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 10px; transition: transform 0.6s var(--ease); }
.art-card:nth-child(1) { transform: translate(-50%, -50%) rotate(-9deg) translate(-26px, 4px); }
.art-card:nth-child(2) { transform: translate(-50%, -50%) rotate(7deg) translate(24px, 0); }
.art-card--top { transform: translate(-50%, -50%); box-shadow: var(--shadow-lift); }
.pack:hover .art-card:nth-child(1) { transform: translate(-50%, -50%) rotate(-14deg) translate(-44px, 6px); }
.pack:hover .art-card:nth-child(2) { transform: translate(-50%, -50%) rotate(12deg) translate(42px, 0); }
.art-card span, .art-row span { justify-self: end; padding: 5px 14px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 700; }

.art-inbox { display: grid; align-content: center; gap: 10px; padding: 0 18px; }
.art-row { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); transition: transform 0.5s var(--ease); }
.art-row b { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.art-row span { background: var(--tint); color: var(--deep); }
.pack:hover .art-row:nth-child(1) { transform: translateX(6px); }
.pack:hover .art-row:nth-child(2) { transform: translateX(-4px); }
.pack:hover .art-row:nth-child(3) { transform: translateX(6px); }

.art-bars { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding: 30px 26px 0; }
.art-bars i { flex: 1; max-width: 34px; height: var(--h); border-radius: 8px 8px 0 0; background: var(--white); box-shadow: var(--shadow); transform-origin: bottom; }
.art-bars i.g { background: var(--green); }
html.js.motion .pack .art-bars i { transform: scaleY(0.15); }
html.js.motion .pack.is-in .art-bars i { transform: none; transition: transform 0.9s var(--pop) 0.35s; }
html.js.motion .pack.is-in .art-bars i:nth-child(2n) { transition-delay: 0.45s; }
html.js.motion .pack.is-in .art-bars i:nth-child(3n) { transition-delay: 0.6s; }

/* ---------- 4. About ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; max-width: 1000px; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lift); }
.about__photo figcaption { margin-top: 14px; font-size: 15px; color: var(--grey); text-align: center; }
.about__text { display: grid; gap: 20px; font-size: 19px; }
.about__text .h2 { margin-bottom: 8px; }

/* ---------- 5. How it works ---------- */
.how { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; --p: 1; }
.how__line { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 27px; height: 4px; border-radius: 4px; background: var(--line); }
.how__line i { display: block; height: 100%; border-radius: 4px; background: var(--green); transform-origin: left; transform: scaleX(var(--p)); }
.how__step { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; align-content: start; }
.how__step p { color: var(--grey); font-size: 17px; max-width: 300px; }
.how__n { width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 22px; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 0 0 8px var(--panel); }
html.js.motion .how__step .how__n { background: var(--white); color: var(--grey); transition: background 0.4s var(--ease), color 0.4s, transform 0.6s var(--pop); }
html.js.motion .how__step h3, html.js.motion .how__step p { opacity: 0.35; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
html.js.motion .how__step.is-on .how__n { background: var(--green); color: var(--white); transform: scale(1.08); }
html.js.motion .how__step.is-on h3, html.js.motion .how__step.is-on p { opacity: 1; transform: none; }

/* ---------- Booking pop up ---------- */
.book { border: 0; padding: 0; background: none; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.book::backdrop { background: rgba(22, 33, 28, 0.45); opacity: 0; transition: opacity 0.3s var(--ease); }
.book.is-open::backdrop { opacity: 1; }
.book[open] { display: grid; place-items: center; padding: 20px; }
.book__panel {
  width: 100%; max-width: 560px; max-height: calc(100svh - 40px); overflow-y: auto; border-radius: 30px; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lift); padding: 22px 28px 30px; opacity: 0; transform: translateY(24px) scale(0.96);
  transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
}
.book.is-open .book__panel { opacity: 1; transform: none; }
.book__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.book__who { display: flex; align-items: center; gap: 12px; }
.book__who img { width: 40px; height: 40px; border-radius: 50%; }
.book__who strong { display: block; font-size: 16px; }
.book__who span { font-size: 14px; color: var(--grey); }
.book__close { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); transition: background 0.2s, transform 0.12s ease-out; }
.book__close:hover { background: var(--tint); }
.book__close:active { transform: scale(0.92); }
.book__close span, .book__close span::before { position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; }
.book__close span { transform: rotate(45deg); }
.book__close span::before { left: 0; top: 0; transform: rotate(90deg); }
.book__progress { height: 4px; border-radius: 4px; background: var(--panel); margin: 18px 0 26px; overflow: hidden; }
.book__progress i { display: block; height: 100%; border-radius: 4px; background: var(--green); transform-origin: left; transform: scaleX(0.333); transition: transform 0.5s var(--ease); }
.book__step { display: grid; gap: 14px; }
.book__step[hidden] { display: none; }
.book__step.is-arriving { animation: step-in 0.4s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.book__step h2:focus { outline: none; }
.book__choices { display: grid; gap: 10px; margin-top: 6px; }
.book__choice { text-align: left; padding: 18px 20px; border-radius: 18px; background: var(--panel); display: grid; gap: 2px; transition: background 0.2s var(--ease), box-shadow 0.2s, transform 0.12s ease-out; }
.book__choice:hover { background: var(--tint); box-shadow: 0 0 0 2px var(--green); }
.book__choice:active { transform: scale(0.98); }
.book__choice strong { font-size: 17px; }
.book__choice span { font-size: 15px; color: var(--grey); }
.book__form { display: grid; gap: 14px; }
.book__form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.book__form input, .book__form textarea { width: 100%; padding: 13px 16px; border: 0; border-radius: 14px; background: var(--panel); font-size: 17px; font-weight: 400; resize: vertical; transition: box-shadow 0.2s; }
.book__form input:focus, .book__form textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--green); background: var(--white); }
.book__error { font-size: 15px; font-weight: 600; }
.book__error:empty { display: none; }
.book__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.book__recap { margin: 4px 0; padding: 18px 20px; border-radius: 18px; background: var(--panel); display: grid; gap: 10px; }
.book__recap div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; }
.book__recap dt { color: var(--grey); }
.book__recap dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .w-hero { padding: 150px 0 190px; }
  .packs { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 260px; margin-inline: auto; }
  .marquee li { font-size: 16px; padding: 13px 20px; }
  .how { grid-template-columns: 1fr; gap: 40px; }
  .how__line { left: 27px; right: auto; top: 30px; bottom: 120px; width: 4px; height: auto; }
  .how__line i { transform-origin: top; transform: scaleY(var(--p)); }
  .how__step { justify-items: start; text-align: left; grid-template-columns: 58px 1fr; column-gap: 20px; }
  .how__step .how__n { grid-row: span 2; margin: 0; }
  .how__step p { max-width: none; }
  /* the pop up becomes a sheet that rises from the bottom */
  .book[open] { place-items: end center; padding: 0; }
  .book__panel { max-width: none; border-radius: 28px 28px 0 0; max-height: 92svh; padding: 20px 20px 28px; transform: translateY(100%); }
  .book__recap div { grid-template-columns: 1fr; gap: 2px; }
}
