/* Posh Pigeon site layout. Phone first, desktop from 900px. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font-sans); font-size: 17px; line-height: 26px; overflow-x: hidden; }
img { max-width: 100%; }
.hero picture, .peel picture, .col picture { display: contents; }
a { color: var(--link); }
a:hover { color: var(--text); }
a.pp-btn { text-decoration: none; }

.wrap { max-width: var(--content-max); margin: 0 auto; }
.band { padding: 48px 16px; background: var(--surface); color: var(--text); }
.band--sunk { background: var(--surface-sunk); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; color: var(--label); }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.05; color: var(--name); }
.h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--name); }
.lead-p { margin: 0; font-size: 20px; line-height: 30px; }
.measure { max-width: 720px; }
.note { font-size: 14px; line-height: 20px; color: var(--text-muted); margin: 0; }

/* Hero */
.hero__photo { display: block; width: 100%; height: clamp(300px, 66vw, 560px); object-fit: cover; object-position: 46% 45%; }
.hero__text { position: relative; padding: 32px 16px 48px; display: flex; flex-direction: column; gap: 24px; }
.hero__sticker { position: absolute; right: 18px; top: -38px; width: 72px; transform: rotate(12deg); }
.hero__h1 { display: flex; flex-direction: inherit; align-items: inherit; gap: inherit; margin: 0; font: inherit; }
.hero__name { font-size: clamp(36px, 12.5vw, 56px); white-space: nowrap; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Christmas Edition */
.split { display: flex; flex-direction: column; gap: 32px; }
.included { display: flex; flex-direction: column; gap: 16px; }
.dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 999px; background: var(--brand-red); }

/* Two galleries */
.two { display: grid; gap: 32px; }
.gallery { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery figcaption { display: flex; flex-direction: column; gap: 4px; }
.gallery__img, .private { display: block; width: 100%; height: 240px; border-radius: var(--radius-md); }
.gallery__img { object-fit: cover; }
.private { border: 3px solid var(--line); background: var(--surface-sunk); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--text-muted); }
.private > div img { max-width: none; }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.steps li { display: flex; gap: 16px; }
.steps__n { flex: none; width: 36px; font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--brand-cobalt); }

/* Portfolio */
.portfolio { position: relative; }
.portfolio__sticker { position: absolute; right: 0; top: -8px; width: 84px; height: auto; transform: rotate(-8deg); }
.grid { display: flex; flex-direction: column; gap: 16px; }
.col { display: flex; flex-direction: column; gap: 16px; }
.col img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-md); }
.col img.l { aspect-ratio: 3 / 2; }
.col img.p { aspect-ratio: 2 / 3; }
.col img.q { aspect-ratio: 4 / 5; }
.only-desk { display: none !important; }

/* About + booking */
.about { position: relative; }
.about__photo { display: block; width: 240px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); border: 3px solid var(--brand-ink); }
.about__sticker { width: 96px; height: auto; transform: rotate(-8deg); }
.card { background: var(--surface); border: 3px solid var(--brand-ink); border-radius: var(--radius-md); box-shadow: var(--shadow-hard); padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; }
.h2--card { font-size: 30px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form .pp-field { max-width: none; }
.row2, .row3 { display: grid; gap: 16px; }
.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.plain legend { padding: 0; margin-bottom: 8px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 2px solid var(--brand-ink); }
.price { display: flex; flex-direction: column; gap: 2px; }
.price__n { font-family: var(--font-display); font-size: 26px; color: var(--name); }

/* Footer */
.footer { display: flex; flex-direction: column; gap: 32px; }
.footer__name { font-size: 40px; }
.footer__wire { width: 100%; height: 52px; margin-top: 0; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { color: var(--brand-yellow); }
.footer__links a:hover { color: var(--brand-chalk); }

/* Desktop */
@media (min-width: 900px) {
  .band { padding: 96px 40px; }
  .h2 { font-size: 52px; }
  .h2--card { font-size: 36px; }
  .lead-p { font-size: 22px; line-height: 32px; }
  .stack-lg { gap: 48px; }

  .hero { display: flex; align-items: stretch; }
  .hero__photo { flex: 1.4 1 0; min-width: 0; height: 640px; }
  .hero__text { min-width: 0; }
  .hero__text { flex: 1 1 0; padding: 96px 40px; justify-content: center; gap: 32px; }
  .hero__sticker { right: 40px; top: 40px; width: 88px; }
  .hero__name { font-size: clamp(44px, 5vw, 72px); }
  .hero__sig { font-size: 22px; line-height: 30px; }
  .hero__wire { height: 76px; }
  .hero__wire img { height: 84px; }
  .hero__tag { font-size: 22px; line-height: 32px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }

  .split { flex-direction: row; gap: 64px; }
  .split > * { flex: 1 1 0; min-width: 0; }
  .included { padding: 32px; border: 3px solid var(--line); border-radius: var(--radius-md); align-self: flex-start; gap: 24px; }

  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .gallery__img, .private { height: 360px; }

  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
  .steps li { flex-direction: column; gap: 12px; }
  .steps__n { font-size: 52px; width: auto; }

  .portfolio__sticker { top: -20px; width: 120px; }
  .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .col { gap: 24px; }
  .col--offset { padding-top: 64px; }
  .only-phone { display: none !important; }
  .only-desk { display: block !important; }

  .split--book { align-items: flex-start; }
  .split--book > .about { flex: 1 1 360px; }
  .split--book > .card { flex: 1.3 1 520px; max-width: 640px; padding: 40px; }
  .about__photo { width: 280px; }
  .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 48px; }
  .footer__name { font-size: 48px; }
  .footer__links { flex-direction: row; gap: 32px; }
}

.pp-sittings__dots li img { object-fit: contain; }

/* Sticker peel: Public Edition vs Private Collection */
.peel-wrap { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.peel-wrap > * { min-width: 0; }
.peel { position: relative; display: block; width: 100%; padding: 0; border: 3px solid var(--brand-ink); border-radius: var(--radius-md); background: var(--brand-ink); overflow: hidden; cursor: pointer; font: inherit; color: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.peel:focus-visible { outline: 3px solid var(--brand-cobalt); outline-offset: 4px; }
.peel__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.peel__sticker { position: absolute; left: 35.46%; top: 38.88%; width: 16.08%; height: auto; max-width: none; pointer-events: none;
  transform-origin: 12% 92%; transform: perspective(700px) rotate3d(0, 0, 1, 0deg);
  filter: drop-shadow(1px 2px 1px rgba(17,17,17,.25));
  transition: transform .55s cubic-bezier(.3,1.4,.5,1), filter .55s ease; will-change: transform; }
.peel-wrap[data-peeled="true"] .peel__sticker { transform: perspective(700px) translate(118%, -46%) rotate3d(1, -1, 0, 42deg) rotate(30deg);
  filter: drop-shadow(14px 22px 12px rgba(17,17,17,.38)); }
.peel__stamp { position: absolute; left: 39%; top: 56%; transform: translate(-50%, -50%) rotate(-9deg) scale(.6); opacity: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 7px; border: 2px solid var(--brand-red); border-radius: 5px;
  background: rgba(246,243,236,.82); color: var(--brand-red); font-family: var(--font-sans); font-weight: 700; font-size: 8px; line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1) .12s, opacity .2s ease .12s; pointer-events: none; }
.peel__stamp small { font-family: var(--font-display); font-weight: 400; font-size: 12px; letter-spacing: 0; text-transform: none; }
.peel-wrap[data-peeled="true"] .peel__stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
.peel__label { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-chalk); color: var(--brand-ink); border: 2px solid var(--brand-ink); font-size: 13px; line-height: 20px; font-weight: 700; }
.peel__label-priv, .peel-wrap[data-peeled="true"] .peel__label-pub { display: none; }
.peel-wrap[data-peeled="true"] .peel__label-priv { display: inline; }
.peel-wrap[data-peeled="true"] .peel__label { background: var(--brand-red); color: var(--brand-chalk); }
.peel__hint { position: absolute; right: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-yellow); color: var(--brand-ink); font-size: 13px; line-height: 20px; font-weight: 700; transition: opacity .3s ease; }
.peel-wrap[data-peeled="true"] .peel__hint { opacity: 0; }
.hint-hover { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-hover { display: inline; } .hint-tap { display: none; } }
.peel-captions { display: flex; flex-direction: column; gap: 16px; }
.peel-cap { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 3px solid var(--line); border-radius: var(--radius-md); transition: border-color .3s ease, background-color .3s ease, opacity .3s ease; }
.peel-wrap[data-peeled="false"] .peel-cap--pub, .peel-wrap[data-peeled="true"] .peel-cap--priv { border-color: var(--brand-ink); background: var(--surface-sunk); }
.peel-wrap[data-peeled="false"] .peel-cap--priv, .peel-wrap[data-peeled="true"] .peel-cap--pub { opacity: .55; }
@media (min-width: 900px) {
  .peel-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .peel__label, .peel__hint { font-size: 14px; }
  .peel__stamp { font-size: 12px; padding: 7px 12px; border-width: 3px; }
  .peel__stamp small { font-size: 18px; }
  .peel-cap { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .peel__sticker, .peel__stamp { transition: opacity .2s ease; }
  .peel-wrap[data-peeled="true"] .peel__sticker { transform: none; opacity: 0; filter: none; }
}

.maxi { margin: -12px 0 0; font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: var(--brand-red); }
@media (min-width: 900px) { .maxi { font-size: 30px; } }
.pp-sittings__dots { flex-wrap: nowrap; }

/* Dates: taken and waitlist */
.pp-choice label.is-taken { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pp-choice label.is-list { border-style: dashed; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Promise + terms */
.promise { margin: 0; font-size: 15px; line-height: 22px; }
.terms { border-top: 2px solid var(--line); padding-top: 12px; font-size: 14px; line-height: 21px; }
.terms summary { cursor: pointer; font-weight: 700; }
.terms ul { margin: 12px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }

/* Peel section on a sunk band: keep the active caption visible */
.band--sunk .peel-wrap[data-peeled="false"] .peel-cap--pub, .band--sunk .peel-wrap[data-peeled="true"] .peel-cap--priv { background: var(--surface); }

/* Stamp: readable on phones */
@media (max-width: 899px) {
  .peel__stamp { font-size: 10px; padding: 5px 9px; }
  .peel__stamp small { font-size: 14px; }
}

/* Date check */
.pp-field__error { margin: 0; color: var(--error); font-weight: 700; }
.pp-field__error[hidden] { display: none; }

/* Kind words */
.quotes { display: grid; gap: 24px; }
.quote { margin: 0; padding: 24px; border: 3px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 12px; }
.quote p { margin: 0; font-size: 20px; line-height: 30px; }
.quote cite { font-style: normal; font-size: 14px; line-height: 20px; color: var(--text-muted); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* Sticky booking bar, phones only */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--text); border-top: 3px solid var(--brand-yellow); transition: transform .25s ease, visibility 0s linear 0s; }
.stickybar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.stickybar__count { font-family: var(--font-display); font-size: 18px; line-height: 1.1; color: var(--name); white-space: nowrap; }
.stickybar .pp-btn { min-height: 44px; padding: 8px 16px; box-shadow: none; white-space: nowrap; }
.stickybar .pp-btn:hover, .stickybar .pp-btn:active { transform: none; box-shadow: none; }
@media (min-width: 900px) { .stickybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .stickybar, .stickybar.is-hidden { transition: none; } }
