/* Uncle Bob – Variante A "Sucher"
   Left-aligned, camera logic. Tokens from base.css. */

/* ---------- Hero ---------- */
.hero { padding-block: var(--s-6) var(--s-9); }
.hero .byline { margin-top: var(--s-3); }
.hero__grid { display: grid; gap: var(--s-8); }
.hero__copy { display: grid; gap: var(--s-5); align-content: start; }
.hero__title { max-width: 11ch; }
.hero__sub { max-width: 34ch; }
.hero__switch { border: 0; padding: 0; margin-top: var(--s-2); min-inline-size: 0; }
.hero__switch .seg { width: 100%; }
.hero__extra { max-width: 44ch; color: var(--ink-2); min-height: 3.2em; }
.hero__cta { display: grid; gap: var(--s-3); justify-items: start; margin-top: var(--s-2); }

.hero__visual { display: flex; justify-content: center; }
.frame {
  --vf-l: clamp(28px, 6vw, 40px);
  --vf-w: 3px;
  --vf-off: 14px;
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 4 / 5;
  margin: 14px;
  background: var(--paper-2);
}
.frame__photo { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  /* centre cross of the viewfinder */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  background:
    linear-gradient(var(--ink) 0 0) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink) 0 0) center / 1.5px 100% no-repeat;
  opacity: .35;
  pointer-events: none;
}

.collage { position: absolute; inset: 0; container-type: inline-size; }
.collage .snap { --cap: clamp(12px, 3.4cqi, 15px); }
@container (max-width: 380px) {
  .collage .qrcard__sub { display: none; }
}
.collage .qrcard { --qr-fs: clamp(12px, 2.9cqi, 13px); gap: .45em; }

/* the one orchestrated page-load moment: prints drop onto the table */
@media (prefers-reduced-motion: no-preference) {
  .collage > * {
    animation: drop 700ms var(--ease-out) both;
  }
  .collage > :nth-child(1) { animation-delay: 120ms; }
  .collage > :nth-child(2) { animation-delay: 260ms; }
  .collage > :nth-child(3) { animation-delay: 400ms; }
  .collage > :nth-child(4) { animation-delay: 560ms; }
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-18px) rotate(calc(var(--r, 0deg) * 2.2)) scale(1.04); }
  to { opacity: 1; transform: rotate(var(--r, 0deg)); }
}

@media (min-width: 48rem) {
  .hero { padding-block: var(--s-6) var(--s-10); }
  .hero__switch .seg { width: auto; }
  .hero__sub { max-width: 40ch; }
}
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s-8);
    align-items: center;
  }
  /* keep the CTA above the fold on 13" laptops: cap by viewport height */
  .hero__title { max-width: 9.5ch; font-size: min(var(--fs-xl), 11vh); }
  .hero__sub { max-width: 46ch; }
  .hero__visual { justify-content: flex-end; }
}

/* ---------- Problem ---------- */
.problem__grid { display: grid; gap: var(--s-6); }
.problem__title { max-width: 20ch; }
.problem__text { max-width: 44ch; color: var(--ink-2); }
@media (min-width: 64rem) {
  .problem__grid { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: end; }
}

/* ---------- Steps (a real sequence → numbered) ---------- */
.steps__list {
  display: grid;
  gap: var(--s-7);
  margin-top: var(--s-7);
  counter-reset: none;
}
.step { display: grid; gap: var(--s-3); align-content: start; max-width: 36ch; }
.step p { max-width: 36ch; }
.step__num {
  --vf-l: 12px;
  --vf-w: 2px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 520;
  line-height: 1;
  font-variation-settings: "WONK" 1;
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .step { grid-template-columns: 64px 1fr; column-gap: var(--s-5); max-width: 52ch; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
}
@media (min-width: 64rem) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); margin-top: var(--s-8); }
}

/* ---------- For photographers ---------- */
.pro { border-top: 1px solid var(--line); }
.pro__grid { display: grid; gap: var(--s-7); }
.pro__head { display: grid; gap: var(--s-4); }
.pro__for {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.pro__title { font-size: clamp(2.5rem, 1.4rem + 5.2vw, 6.5rem); }
.pro__title .hl { display: block; }
.pro__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pro__list li {
  position: relative;
  padding: var(--s-5) 0 var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--line);
}
.pro__list li > * , .pro__list li { text-wrap: pretty; }
@media (min-width: 64rem) { .pro__list li { padding-right: var(--s-8); } }
.pro__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s-5) + .45em);
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink) 0 0) left top / 6px 2px,
    linear-gradient(var(--ink) 0 0) left top / 2px 6px,
    linear-gradient(var(--ink) 0 0) right bottom / 6px 2px,
    linear-gradient(var(--ink) 0 0) right bottom / 2px 6px;
  background-repeat: no-repeat;
}

/* Gallery mock (white-label) */
.gal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  max-width: 34rem;
}
.gal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-micro);
}
.gal__logo {
  display: inline-flex;
  align-items: center;
  padding: var(--s-1) var(--s-3);
  border: 1.5px dashed var(--line-strong);
  border-radius: 6px;
  font-weight: 600;
}
.gal__url { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gal__body { padding: var(--s-5) var(--s-4) var(--s-4); display: grid; gap: var(--s-4); }
.gal__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 520;
  line-height: 1.1;
}
.gal__tabs { display: flex; gap: var(--s-2); font-size: var(--fs-small); }
.gal__tabs span {
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.gal__tabs span.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gal__tabs b { font-weight: 500; opacity: .8; margin-left: .2em; }
.gal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gal__grid i { display: block; aspect-ratio: 1; border-radius: 2px; }

.pro__quote {
  display: grid;
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 2px solid var(--ink);
}
.pro__quote blockquote { max-width: 30ch; }
.pro__quote figcaption { display: grid; gap: var(--s-1); }
.pro__name { font-weight: 600; }
.pro__cta { display: flex; }

@media (min-width: 64rem) {
  .pro__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--s-8);
    row-gap: var(--s-8);
    grid-template-areas:
      "head head"
      "list visual"
      "quote quote"
      "cta cta";
  }
  .pro__head { grid-area: head; }
  .pro__list { grid-area: list; align-self: start; }
  .pro__visual { grid-area: visual; align-self: start; }
  .pro__quote { grid-area: quote; }
  .pro__quote blockquote { max-width: 34ch; }
  /* body → CTA is --s-6, not the section-internal --s-8 */
  .pro__cta { grid-area: cta; margin-top: calc(var(--s-6) - var(--s-8)); }
}

/* ---------- Couples ---------- */
.couples__grid { display: grid; gap: var(--s-8); }
.couples__copy { display: grid; gap: var(--s-5); justify-items: start; align-content: start; }
.couples__copy h2 { max-width: 16ch; }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--s-5);
  width: 100%;
  max-width: 34rem;
  margin-block: var(--s-3) var(--s-3);
}
.facts li { display: grid; gap: var(--s-1); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.facts__k {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 540;
  line-height: 1.05;
  font-variation-settings: "WONK" 1;
}
.facts li span:last-child { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.4; }

.couples__visual { display: flex; align-items: center; justify-content: center; }
.screen {
  width: 100%;
  max-width: 36rem;
  padding: 10px 10px 0;
  background: var(--snap-night);
  border-radius: var(--r-print);
  box-shadow: var(--e-print);
}
.screen__slide { position: relative; aspect-ratio: 16 / 9; border-radius: 1px; }
.screen__live, .screen__count {
  position: absolute;
  top: var(--s-3);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  background: rgb(26 22 19 / .62);
  color: var(--print);
  font-size: var(--fs-micro);
  font-weight: 560;
  line-height: 1.4;
}
.screen__live { left: var(--s-3); display: inline-flex; align-items: center; gap: var(--s-2); }
.screen__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--snap-glow); }
.screen__count { right: var(--s-3); }
.screen__next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 0 10px; }
.screen__next i { display: block; aspect-ratio: 16 / 9; opacity: .7; border-radius: 1px; }

@media (min-width: 64rem) {
  .couples__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-8); align-items: center; }
}

/* ---------- Prices ---------- */
.prices__head { display: grid; gap: var(--s-3); }
.prices__grid {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.plan {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  padding: var(--s-6) var(--s-5);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.plan--hi { --vf-c: var(--accent); --vf-off: 10px; --vf-l: 22px; --vf-w: 2.5px; border-color: var(--ink); }
.plan__who { margin-bottom: var(--s-3); }
.plan__price { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.plan__amount {
  font-family: var(--font-display);
  font-size: var(--fs-price);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.02em;
}
.plan__per { color: var(--ink-2); }
.plan__deal {
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: 8px;
  background: var(--paper-2);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.plan__deal strong { color: var(--accent); font-weight: 650; }
.plan__deal--plain { background: transparent; padding: 0; margin-top: var(--s-4); }
.plan__deal--plain + .plan__list { margin-top: var(--s-3); }
.plan__list { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.plan__list li {
  position: relative;
  padding-left: var(--s-5);
  font-size: var(--fs-small);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 9px;
  height: 5px;
  border-left: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg);
}
.prices__foot { display: grid; gap: var(--s-2); margin-top: var(--s-7); max-width: var(--measure); }

@media (min-width: 64rem) {
  /* equal card heights; the highlighted card stands 24px proud above and below */
  .prices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); align-items: stretch; margin-top: var(--s-8); }
  .plan--hi { margin-block: calc(-1 * var(--s-5)); padding-block: var(--s-7); }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .prices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--hi { grid-column: 1 / -1; grid-row: 1; }
}

/* ---------- Trust ---------- */
.trust { padding-block: var(--s-8); }
.trust__list { display: grid; gap: var(--s-6); }
.trust__list li { display: grid; grid-template-columns: 40px 1fr; column-gap: var(--s-4); align-items: center; }
.trust__list li p { grid-column: 2; font-size: var(--fs-small); line-height: 1.45; }
.trust__icon { width: 32px; height: 32px; color: var(--ink); grid-row: span 2; align-self: start; margin-top: 2px; }
.trust .h3 { font-size: clamp(1.25rem, 1.15rem + .3vw, 1.375rem); }
@media (min-width: 48rem) {
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .trust__list li { grid-template-columns: 1fr; row-gap: var(--s-3); align-items: start; align-content: start; }
  .trust__list li p { grid-column: 1; margin-top: calc(-1 * var(--s-2)); }
  .trust__icon { grid-row: auto; }
}

/* ---------- FAQ ---------- */
.faq-sec__grid { display: grid; gap: var(--s-6); }
@media (min-width: 64rem) {
  .faq-sec__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); align-items: start; }
}

/* ---------- Waitlist ---------- */
.waitlist__grid { display: grid; gap: var(--s-7); }
.waitlist__copy { display: grid; gap: var(--s-4); align-content: start; }
.waitlist__card {
  --vf-off: 12px;
  --vf-l: 24px;
  --vf-w: 2.5px;
  margin: 12px;
  padding: var(--s-6) var(--s-5);
  background: var(--paper);
  border-radius: var(--r-0);
}
.waitlist__card:focus-within { --vf-c: var(--accent); }

@media (min-width: 48rem) {
  .waitlist__card { padding: var(--s-7); }
}
@media (min-width: 64rem) {
  .waitlist__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
  .waitlist__copy { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}
