/*
 * adCartoon.com home in the "Ink & Paint" system (site/base.css tokens, site/fx.js effects). Markup: landing/home/*.blade.php.
 * Script: site/home.js (style lens, film strip clock, compare slider, FAQ, brief form).
 *
 *  1 Hero (night): giant title, the style lens in an iris, a band of style names
 *  2 Wall (sun): every style in three endless rows
 *  3 Film strip (night): the six scenes, pinned and scrolled sideways, with a running clock
 *  4 Deck (blue): the same cast in three ads, fanned out
 *  5 Gates (cel): four stages as cards that stack while you scroll
 *  6 Bento (white): five colour cards, with the packshot / placement slider
 *  7 Ticket (pop): the Starter plan as a ticket
 *  8 FAQ (cel)
 *  9 Call to action (blue): a band of words and the brief form
 */

/* ---------- 1. Hero ---------- */
.p-hero {
  padding-top: clamp(32px, 4vw, 64px);
  padding-bottom: 0;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
}
.p-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.p-hero__copy { display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; position: relative; z-index: 2; }
.p-hero__title { font-size: clamp(3.25rem, 1rem + 6.6vw, 8.5rem); max-width: 11ch; }
.p-hero__lede { color: #ffffff; max-width: 40ch; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.p-hero__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--night-2);
  color: #dfe6f3;
  font-size: var(--step-small);
  font-weight: 500;
}
.p-hero__points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* The lens: an iris of blue behind a white-matted frame, two stickers, the panel under it */
.p-lens { position: relative; display: grid; justify-items: center; gap: 22px; }
.p-lens::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 44%;
  width: min(118%, 74svh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
}
.p-lens__body { position: relative; z-index: 1; width: min(100%, 420px, 38svh); }
.p-lens__frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 12px 12px 0 var(--sun);
  rotate: 2deg;
  touch-action: pan-y;
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
}
.p-lens__frame:focus-visible { outline: 4px solid var(--sun); outline-offset: 6px; }
.p-lens__stage { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 2 / 3; background: var(--night-2); }
.p-lens__stage > img, .p-lens__peek > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.p-lens__peek { position: absolute; inset: 10px; overflow: hidden; border-radius: 20px; clip-path: circle(0px at 50% 50%); pointer-events: none; }
.p-lens__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 4px solid var(--sun);
  box-shadow: 0 0 0 3px var(--night);
  pointer-events: none;
  opacity: 0;
}
.p-lens__tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--night);
  font: 700 var(--step-small)/1 var(--font-text);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 0);
}
.p-lens__sticker { position: absolute; z-index: 2; margin: 0; }
.p-lens__sticker--count { left: -28px; top: 36px; rotate: -8deg; font-size: var(--step-body); padding: 12px 18px; }
.p-lens__sticker--count span { font: 900 1.6em/0.9 var(--font-display); font-stretch: 80%; }
.p-lens__sticker--hint { right: -22px; bottom: 64px; rotate: 6deg; background: var(--pop); color: var(--night); }
.p-lens[data-touched] .p-lens__sticker--hint { opacity: 0; scale: 0.6; transition: opacity 300ms ease, scale 400ms var(--ease-back); }
@media (hover: none), (pointer: coarse) {
  .p-lens__sticker--hint { display: none; }
  .p-lens__frame { cursor: pointer; }
}

.p-lens__panel { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; width: 100%; }
.p-lens__label { margin: 0; font-size: var(--step-body); color: #dfe6f3; text-align: center; }
.p-lens__name { color: #ffffff; font: 760 var(--step-title)/1 var(--font-display); font-stretch: 85%; text-decoration: none; }
.p-lens__name:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sun); }
.p-lens__controls { display: flex; gap: 8px; }
.p-lens__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--night);
  font: 600 var(--step-small)/1 var(--font-text);
  cursor: pointer;
  transition: transform var(--t-ui) var(--ease-back), background-color var(--t-hover) ease;
}
.p-lens__btn .icon { width: 18px; height: 18px; }
.p-lens__btn:active { transform: scale(0.9); }
.p-lens__btn[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .p-lens__btn:hover { background: var(--sun); transform: translateY(-2px) rotate(-4deg); }
  .p-lens__btn--wide:hover .icon { transform: rotate(-180deg); }
}
.p-lens__btn .icon { transition: transform 500ms var(--ease-back); }
/* Play / pause: two bars, or a triangle when paused */
.p-lens__playicon { position: relative; width: 14px; height: 14px; }
.p-lens__playicon::before, .p-lens__playicon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 1px; background: currentColor; }
.p-lens__playicon::before { left: 2px; }
.p-lens__playicon::after { right: 2px; }
.p-lens__btn--play[aria-pressed="true"] .p-lens__playicon::before { left: 3px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.p-lens__btn--play[aria-pressed="true"] .p-lens__playicon::after { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .p-lens::before { animation: p-iris 1100ms var(--ease-expo) 200ms both; }
  .js .p-lens__sticker { animation: p-stick 800ms var(--ease-back) both; }
  .js .p-lens__sticker--count { animation-delay: 900ms; }
  .js .p-lens__sticker--hint { animation-delay: 1150ms; }
  .p-lens__sticker--count { --float-r: -8deg; }
  .p-lens__sticker--hint { --float-r: 6deg; }
}
@keyframes p-iris { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }
@keyframes p-stick { from { opacity: 0; transform: scale(0.3) rotate(-20deg); } to { opacity: 1; transform: none; } }

/* The band of style names under the hero */
.p-hero__band {
  --marquee-gap: 0px;
  margin: clamp(32px, 4vw, 56px) calc(-1 * var(--inline)) 0;
  padding-block: 18px;
  background: var(--sun);
  color: var(--night);
  rotate: -1.5deg;
  width: calc(100% + 2 * var(--inline) + 40px);
  margin-left: calc(-1 * var(--inline) - 20px);
}
.p-hero__names { margin: 0; padding: 0; list-style: none; }
.p-hero__names li { display: flex; align-items: center; }
.p-hero__names li::after { content: ""; width: 14px; height: 14px; margin-inline: 22px; background: var(--night); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.p-hero__names a {
  font: 860 clamp(1.5rem, 1rem + 1.6vw, 2.5rem)/1 var(--font-display);
  font-stretch: 78%;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-hover) ease;
}
.p-hero__names a:hover { color: var(--blue); }
.p-marquee.is-static { overflow-x: auto; scrollbar-width: none; }

/* ---------- 2. Wall ---------- */
.p-wall { padding-bottom: clamp(72px, 9vw, 140px); }
.p-wall__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px var(--gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.p-wall__title { max-width: 12ch; }
.p-wall__aside { display: grid; gap: 22px; justify-items: start; }
.p-wall__rows { display: grid; gap: clamp(20px, 2.4vw, 32px); margin-inline: calc(-1 * var(--inline)); }
.p-wall__row { --marquee-gap: clamp(16px, 1.8vw, 28px); padding-block: 14px; }
.p-wall__track { margin: 0; list-style: none; }
.p-wall__item { flex: none; width: clamp(140px, 13vw, 210px); rotate: var(--r, 0deg); transition: rotate 500ms var(--ease-back), scale 500ms var(--ease-back); }
.p-wall__tile { display: grid; gap: 10px; color: var(--night); text-decoration: none; }
.p-wall__pic {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  border: 3px solid var(--night);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--night);
  transition: box-shadow 400ms var(--ease-back);
}
.p-wall__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; }
.p-wall__name { font: 700 var(--step-small)/1.2 var(--font-text); text-align: center; }
@media (hover: hover) and (pointer: fine) {
  .p-wall__item:hover { rotate: 0deg; scale: 1.08; z-index: 2; }
  .p-wall__item:hover .p-wall__pic { box-shadow: 10px 10px 0 var(--blue); }
}
.p-wall__tile:focus-visible { outline-offset: 6px; }

/* ---------- 3. Film strip ---------- */
.p-film { padding-inline: 0; }
.p-film__sticky { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.p-film__sticky > * { min-width: 0; }
.p-film__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px var(--gap);
  align-items: end;
  padding-inline: var(--inline);
}
.p-film__intro { display: grid; gap: 16px; }
.p-film__title { max-width: 11ch; }
.p-film__lede { color: #dfe6f3; }
.p-film__clock { display: grid; gap: 14px; }
.p-film__time { margin: 0; font: 900 clamp(3rem, 2rem + 4vw, 6.5rem)/0.85 var(--font-display); font-stretch: 72%; color: var(--sun); }
.p-film__total { font-size: 0.4em; color: var(--muted); font-stretch: 85%; }
.p-film__bar { position: relative; display: flex; gap: 4px; height: 14px; }
.p-film__seg { flex: var(--len) 1 0; border-radius: 4px; background: var(--seg, var(--night-3)); opacity: 0.55; }
.p-film__seg[data-purpose="hook"], .p-film__seg[data-purpose="payoff"] { --seg: var(--pop); }
.p-film__seg[data-purpose="setup"], .p-film__seg[data-purpose="escalation"] { --seg: var(--sun); }
.p-film__seg[data-purpose="demonstration"], .p-film__seg[data-purpose="cta"] { --seg: var(--mint); }
.p-film__head-mark {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: calc(var(--p, 0) * 100%);
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--night);
}

.p-film__viewport { overflow: hidden; }
.p-film__track { display: flex; gap: clamp(20px, 2.4vw, 32px); margin: 0; padding: 0 var(--inline); list-style: none; will-change: transform; }
.p-film__scene { flex: none; width: clamp(560px, 50vw, 780px); transition: opacity 500ms ease, scale 600ms var(--ease-back); }
.p-film[data-hscroll-on] .p-film__scene:not([data-active]):not(.p-film__scene--end) { opacity: 0.45; scale: 0.94; }
.p-film__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  height: 100%;
  padding: 14px;
  border-radius: 30px;
  background: var(--night-2);
}
.p-film__still { position: relative; height: clamp(300px, calc(100svh - 440px), 540px); aspect-ratio: auto; border-radius: 20px; }
.p-film__num {
  position: absolute;
  left: 12px;
  top: 10px;
  font: 900 clamp(3rem, 5vw, 4.5rem)/0.9 var(--font-display);
  font-stretch: 70%;
  color: #ffffff;
  -webkit-text-stroke: 2px var(--night);
  paint-order: stroke fill;
}
.p-film__body { display: grid; align-content: start; gap: 14px; padding: 14px 10px 14px 0; }
.p-film__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; color: var(--muted); font-size: var(--step-small); font-weight: 600; }
.p-film__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--chip, var(--night-3)); color: var(--night); font-weight: 700; }
.p-film__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--night); }
.p-film__scene[data-purpose="hook"], .p-film__scene[data-purpose="payoff"] { --chip: var(--pop); }
.p-film__scene[data-purpose="setup"], .p-film__scene[data-purpose="escalation"] { --chip: var(--sun); }
.p-film__scene[data-purpose="demonstration"], .p-film__scene[data-purpose="cta"] { --chip: var(--mint); }
.p-film__name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.375rem); }
.p-film__action { margin: 0; color: #dfe6f3; line-height: 1.5; }
.p-film__line { margin: 0; font: 760 var(--step-lead)/1.25 var(--font-display); font-stretch: 90%; color: var(--sun); }
.p-film__ost { margin: 0; font-size: var(--step-small); color: #dfe6f3; }
.p-film__ost span { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--night-3); color: #ffffff; font-weight: 600; }
.p-film__more { justify-self: start; margin-top: 4px; color: #ffffff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.p-film__scene--end { width: clamp(320px, 30vw, 440px); display: grid; }
.p-film__end {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 30px;
  background: var(--blue);
}
.p-film__end .p-btn--line { --btn-bd: #ffffff; }
.p-film__endline { margin: 0; font: 860 clamp(2rem, 1.4rem + 2vw, 3.25rem)/0.92 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.p-film__key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0 var(--inline); list-style: none; color: var(--muted); font-size: var(--step-small); }
.p-film__key li { display: inline-flex; align-items: center; gap: 8px; }
.p-film__sw { width: 12px; height: 12px; border-radius: 50%; }
.p-film__sw[data-purpose="hook"] { background: var(--pop); }
.p-film__sw[data-purpose="setup"] { background: var(--sun); }
.p-film__sw[data-purpose="demonstration"] { background: var(--mint); }

/* Pinned: the sticky screen holds the head, the strip and the key */
.p-film[data-hscroll-on] { padding-block: 0; }
.p-film[data-hscroll-on] .p-film__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  padding-block: clamp(32px, 5svh, 64px);
  overflow: hidden;
}
.p-film[data-hscroll-on] .p-film__viewport { display: flex; align-items: center; overflow: visible; }
.p-film[data-hscroll-on] .p-film__track { align-items: stretch; }
@media (max-height: 760px) {
  .p-film[data-hscroll-on] .p-film__lede { display: none; }
  .p-film__still { height: clamp(260px, calc(100svh - 330px), 540px); }
}

/* Not pinned (narrow screens, reduced motion): a swipeable row */
.p-film:not([data-hscroll-on]) .p-film__time, .p-film:not([data-hscroll-on]) .p-film__head-mark { display: none; }
.p-film:not([data-hscroll-on]) .p-film__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inline); scrollbar-width: none; overscroll-behavior-x: contain; }
.p-film:not([data-hscroll-on]) .p-film__scene { scroll-snap-align: start; }
@media (max-width: 899.98px) {
  .p-film__head { grid-template-columns: minmax(0, 1fr); }
  .p-film__scene { width: min(84vw, 420px); }
  .p-film__card { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .p-film__still { height: auto; aspect-ratio: 4 / 5; }
  .p-film__body { padding: 4px 8px 12px; }
  .p-film__scene--end { width: min(84vw, 380px); }
}

/* ---------- 4. Deck ---------- */
.p-deck__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.p-deck__copy { display: grid; gap: 28px; }
.p-deck__copy > [data-reveal] { display: grid; gap: 24px; justify-items: start; }
.p-deck__copy .p-lead { color: #ffffff; }
.p-deck__cards {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 40px 0;
  list-style: none;
  min-height: clamp(420px, 44vw, 620px);
}
.p-deck__item {
  --o: calc(var(--i) - 1);
  grid-area: 1 / 1;
  width: clamp(170px, 19vw, 280px);
  z-index: calc(3 - var(--i));
  transform: translateX(calc(var(--o) * 8%)) rotate(calc(var(--o) * 4deg));
  transition: transform 1100ms var(--ease-back), z-index 0s;
  transition-delay: calc(var(--i) * 90ms);
}
.p-deck__item:nth-child(2) { z-index: 3; }
.p-deck__cards.is-in .p-deck__item,
html:not(.js) .p-deck__item {
  transform: translateX(calc(var(--o) * 78%)) translateY(calc(var(--o) * var(--o) * 28px)) rotate(calc(var(--o) * 9deg));
}
.p-deck__card {
  margin: 0;
  padding: 10px 10px 14px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--night);
  box-shadow: 10px 10px 0 var(--night);
}
.p-deck__pic { border-radius: 16px; }
.p-deck__cap { display: grid; gap: 2px; padding: 12px 6px 0; font-size: var(--step-small); line-height: 1.35; color: var(--muted); }
.p-deck__cap strong { font: 760 var(--step-body)/1.2 var(--font-display); font-stretch: 88%; color: var(--night); }
@media (hover: hover) and (pointer: fine) {
  .p-deck__cards.is-in .p-deck__item:hover { z-index: 5; transform: translateX(calc(var(--o) * 78%)) translateY(-24px) rotate(0deg) scale(1.06); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .p-deck__item { transform: translateX(calc(var(--o) * 78%)) translateY(calc(var(--o) * var(--o) * 28px)) rotate(calc(var(--o) * 9deg)); }
}

/* ---------- 5. Gates ---------- */
.p-gates__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px var(--gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.p-gates__head .p-head { max-width: 14ch; }
.p-gates__aside { display: grid; gap: 22px; justify-items: start; }
.p-gates__list { display: grid; gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.p-gates__card {
  position: sticky;
  top: calc(24px + var(--i) * 26px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  min-height: min(68svh, 560px);
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius-lg);
  box-shadow: 0 -18px 40px -28px rgba(4, 24, 49, 0.55);
}
.p-gates__left { display: grid; align-content: space-between; gap: 24px; }
.p-gates__step { margin: 0; font-weight: 700; font-size: var(--step-small); color: var(--muted); }
.p-gates__name {
  display: grid;
  margin: 0;
  font: 900 clamp(3rem, 1.6rem + 5vw, 7rem)/0.86 var(--font-display);
  font-stretch: 74%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.p-gates__plus { font-stretch: 100%; line-height: 0.7; color: color-mix(in srgb, var(--fg) 45%, transparent); }
.p-gates__right { display: grid; align-content: start; gap: 28px; }
.p-gates__clause { margin: 0; font-size: var(--step-lead); line-height: 1.42; max-width: 40ch; }
.p-gates__gate { display: grid; gap: 16px; justify-items: start; }
.p-gates__stamp {
  margin: 0;
  padding: 10px 16px;
  border: 3px solid currentColor;
  border-radius: 12px;
  font: 820 var(--step-body)/1.1 var(--font-display);
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  rotate: -4deg;
}
.p-gates__card[data-chapter="night"] .p-gates__stamp { color: var(--sun); }
.p-gates__checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.p-gates__checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.35; }
.p-gates__checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fg) no-repeat center / 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23ffcc1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.p-gates__card[data-chapter="night"] .p-gates__checks li::before { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23041831' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 899.98px) {
  .p-gates__card { grid-template-columns: minmax(0, 1fr); min-height: 0; top: calc(16px + var(--i) * 14px); }
}

/* ---------- 6. Bento ---------- */
.p-bento__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px var(--gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.p-bento__head .p-head { max-width: 15ch; }
@media (max-width: 1079.98px) {
  .p-bento__head { grid-template-columns: minmax(0, 1fr); }
}
.p-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.p-bento__card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0;
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
}
.p-bento__cast { grid-column: span 7; }
.p-bento__product { grid-column: span 5; }
.p-bento__review, .p-bento__agency, .p-bento__edit { grid-column: span 4; }
.p-bento__sheet { background: #ffffff; border: 3px solid var(--night); box-shadow: 8px 8px 0 var(--night); }
.p-bento__sheet img { object-fit: contain; object-position: center; }
.p-bento__text { display: grid; gap: 8px; }
.p-bento__agency { transition: transform 500ms var(--ease-back); }
.p-bento__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: auto; }
.p-bento__arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--mint); transition: transform 500ms var(--ease-back); }
@media (hover: hover) and (pointer: fine) {
  .p-bento__agency:hover { transform: rotate(-1.5deg) scale(1.02); }
  .p-bento__agency:hover .p-bento__arrow { transform: translateX(8px) rotate(-12deg); }
}
.p-bento__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.p-bento__list li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.p-bento__list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--sun); rotate: 45deg; translate: 0 -1px; }

/* Before / after slider: the packshot over its placement, cut by a native range input */
.p-compare { --cut: 50%; position: relative; border-radius: var(--radius); border: 3px solid var(--night); box-shadow: 8px 8px 0 var(--night); overflow: hidden; background: #ffffff; }
.p-compare__pic { border-radius: 0; }
.p-compare__pic--before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.p-compare__pic--before img { object-position: center; }
.p-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut);
  width: 4px;
  margin-left: -2px;
  background: #ffffff;
  pointer-events: none;
}
.p-compare__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sun) no-repeat center / 26px 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M9 7 3 13l6 6M17 7l6 6-6 6' fill='none' stroke='%23041831' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border: 3px solid var(--night);
  transform: translate(-50%, -50%);
  transition: transform 400ms var(--ease-back);
}
.p-compare:hover .p-compare__handle::after { transform: translate(-50%, -50%) scale(1.12); }
.p-compare__label {
  position: absolute;
  top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--night);
  color: #ffffff;
  font: 700 var(--step-small)/1 var(--font-text);
  pointer-events: none;
}
.p-compare__label--before { left: 12px; }
.p-compare__label--after { right: 12px; background: #ffffff; color: var(--night); }
.p-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  touch-action: pan-y;
}
.p-compare:has(.p-compare__range:focus-visible) { outline: 3px solid var(--ring); outline-offset: 4px; }

@media (max-width: 1079.98px) {
  .p-bento__cast, .p-bento__product { grid-column: span 12; }
  .p-bento__product { grid-template-columns: minmax(0, 1fr); }
  .p-bento__review, .p-bento__agency, .p-bento__edit { grid-column: span 12; }
}
@media (min-width: 700px) and (max-width: 1079.98px) {
  .p-bento__product { grid-column: span 6; }
  .p-bento__review { grid-column: span 6; }
  .p-bento__agency, .p-bento__edit { grid-column: span 6; }
}

/* ---------- 7. Ticket ---------- */
.p-ticket { padding-block: clamp(96px, 12vw, 180px); }
.p-ticket__wrap { max-width: 1060px; margin-inline: auto; rotate: -2deg; }
.p-ticket__card {
  --stub: clamp(260px, 30%, 340px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  border-radius: 30px;
  background: #ffffff;
  color: var(--night);
  filter: drop-shadow(14px 14px 0 var(--night));
}
.p-ticket__main { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 56px); }
.p-ticket__label { margin: 0; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--sun); font-weight: 700; font-size: var(--step-small); }
.p-ticket__title { font-size: clamp(2.75rem, 1.6rem + 4vw, 5.5rem); }
.p-ticket__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--step-lead); font-weight: 600; }
.p-ticket__list li { display: flex; gap: 12px; align-items: baseline; }
.p-ticket__list li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--pop); }
.p-ticket__terms { max-width: 52ch; }
.p-ticket__stub {
  position: relative;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 3vw, 44px);
  border-left: 3px dashed #c7cedd;
}
/* Two notches where the stub tears off */
.p-ticket__stub::before, .p-ticket__stub::after {
  content: "";
  position: absolute;
  left: -20px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--pop);
}
.p-ticket__stub::before { top: -20px; }
.p-ticket__stub::after { bottom: -20px; }
.p-ticket__price { margin: 0; display: grid; gap: 4px; }
.p-ticket__amount { font: 900 clamp(4rem, 2.6rem + 4.6vw, 7.5rem)/0.82 var(--font-display); font-stretch: 72%; letter-spacing: -0.02em; }
.p-ticket__period { font-weight: 600; color: var(--muted); }
@media (max-width: 767.98px) {
  .p-ticket__wrap { rotate: -1deg; }
  .p-ticket__card { grid-template-columns: minmax(0, 1fr); }
  .p-ticket__stub { border-left: 0; border-top: 3px dashed #c7cedd; }
  .p-ticket__stub::before, .p-ticket__stub::after { top: -20px; bottom: auto; }
  .p-ticket__stub::before { left: -20px; }
  .p-ticket__stub::after { left: auto; right: -20px; }
}

/* ---------- 8. FAQ ---------- */
.p-home-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.p-home-faq__intro { position: sticky; top: 32px; display: grid; gap: 20px; justify-items: start; }
.p-home-faq__intro .p-head { max-width: 8ch; }
.p-home-faq__list { display: grid; gap: 12px; }
.p-home-faq__item {
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--night);
  transition: background-color 400ms ease, color 400ms ease, transform 500ms var(--ease-back);
}
.p-home-faq__item[data-open="true"] { background: var(--night); color: #ffffff; }
.p-home-faq__q { margin: 0; font: inherit; }
.p-home-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 18px clamp(18px, 2.4vw, 32px);
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: 760 var(--step-title)/1.15 var(--font-display);
  font-stretch: 88%;
}
.p-home-faq__btn:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.p-home-faq__icon {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  transition: transform 600ms var(--ease-back), background-color 300ms ease;
}
.p-home-faq__icon::before, .p-home-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 3px;
  margin: -1.5px 0 0 -8px;
  border-radius: 2px;
  background: var(--night);
}
.p-home-faq__icon::after { transform: rotate(90deg); }
.p-home-faq__btn[aria-expanded="true"] .p-home-faq__icon { transform: rotate(135deg); background: var(--pop); }
.p-home-faq__panel { padding: 0 clamp(18px, 2.4vw, 32px) 26px; }
.p-home-faq__answer { margin: 0; max-width: 62ch; font-size: var(--step-body); line-height: 1.6; color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .p-home-faq__item:not([data-open="true"]):hover { transform: translateX(8px) rotate(-0.5deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .p-home-faq__item[data-open="true"] .p-home-faq__panel { animation: p-faq 520ms var(--ease-back); }
}
@keyframes p-faq { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 899.98px) {
  .p-home-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .p-home-faq__intro { position: static; }
}

/* ---------- 9. Call to action ---------- */
.p-home-cta { padding-top: clamp(56px, 7vw, 104px); }
.p-home-cta__band { --marquee-gap: 0px; margin: 0 calc(-1 * var(--inline)) clamp(48px, 6vw, 96px); }
.p-home-cta__words { margin: 0; }
.p-home-cta__words span:not(.p-home-cta__star) {
  font: 900 clamp(4rem, 1rem + 11vw, 13rem)/0.9 var(--font-display);
  font-stretch: 70%;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.p-home-cta__words span:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 2px #ffffff; }
.p-home-cta__star { flex: none; width: clamp(40px, 6vw, 90px); aspect-ratio: 1; margin-inline: clamp(20px, 3vw, 48px); background: var(--sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@media (prefers-reduced-motion: no-preference) {
  .p-home-cta__star { animation: p-spin 6s linear infinite; }
}
@keyframes p-spin { to { transform: rotate(360deg); } }
.p-home-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.p-home-cta__copy { display: grid; gap: 20px; }
.p-home-cta__lede { color: #ffffff; }
.p-home-cta__dialog {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 30px;
  background: #ffffff;
  color: var(--night);
  box-shadow: 14px 14px 0 var(--night);
}
.p-home-cta__dtitle { margin: 0; font: 800 var(--step-title)/1.1 var(--font-display); font-stretch: 85%; }
.p-home-cta__mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  min-width: 0;
}
.p-home-cta__seg { position: relative; display: block; cursor: pointer; }
.p-home-cta__seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.p-home-cta__seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-small);
  color: var(--muted);
  text-align: center;
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease, transform 400ms var(--ease-back);
}
.p-home-cta__seg input:checked + span { background: var(--night); color: #ffffff; }
.p-home-cta__seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.p-home-cta__seg input:active + span { transform: scale(0.95); }
.p-home-cta__form { display: grid; gap: 16px; }
.p-home-cta__field { display: grid; gap: 8px; }
.p-home-cta__field[hidden] { display: none; }
.p-home-cta__label { font-weight: 700; font-size: var(--step-small); }
.p-home-cta__label span { color: var(--muted); font-weight: 400; }
.p-home-cta__input { width: 100%; }
.p-home-cta__input[aria-invalid="true"] { border-color: var(--pop); }
.p-home-cta__error { margin: 0; color: #c8102e; font-size: var(--step-small); font-weight: 600; }
.p-home-cta__hint { margin: 0; color: var(--muted); font-size: var(--step-small); line-height: 1.45; }
.p-home-cta__go { min-height: 58px; }

/* ---------- Responsive ---------- */
@media (max-width: 1079.98px) {
  .p-hero { min-height: 0; }
  .p-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .p-hero__title { max-width: 12ch; }
  .p-lens { padding-block: 24px 8px; }
  .p-lens__body { width: min(78vw, 400px); }
  .p-lens::before { width: min(110vw, 620px); }
  .p-wall__head, .p-gates__head, .p-deck__grid, .p-home-cta__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .p-hero__actions .p-btn { flex: 1 1 100%; }
  .p-lens__sticker--count { left: -10px; top: 20px; }
  .p-lens__frame { padding: 7px; box-shadow: 8px 8px 0 var(--sun); }
  .p-lens__peek { inset: 7px; }
  .p-deck__item { width: 38vw; }
  .p-deck__cards.is-in .p-deck__item, html:not(.js) .p-deck__item { transform: translateX(calc(var(--o) * 62%)) translateY(calc(var(--o) * var(--o) * 20px)) rotate(calc(var(--o) * 8deg)); }
  .p-deck__cards { min-height: 0; padding: 32px 0 48px; }
}
