/* Site styles. Don't put client colours or fonts here: they live in client/settings.css. */

/* Shades worked out from the brand colours, so settings.css stays short. Override any of them there if the brand pack says so. */
:root {
  --c-ink-hover: color-mix(in srgb, var(--c-ink) 86%, #000);
  --c-accent-hover: color-mix(in srgb, var(--c-accent) 86%, #000);
  --c-on-ink: var(--c-panel);      /* text on dark panels and dark buttons */
  --c-on-accent: var(--c-bg);      /* text on accent buttons */
  --c-error: #F2B8A8;              /* field outline on the dark contact panel */
  --section-space: clamp(56px, 7vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-body); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-accent); text-underline-offset: 3px; }
a:hover { color: var(--c-ink); }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .band :focus-visible { outline-color: var(--c-on-ink); }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--f-display-weight); letter-spacing: var(--f-display-spacing); margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1; }
h2 { font-size: var(--t-h2); line-height: 1.05; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--c-ink-muted); }
.small { font-size: var(--t-small); line-height: 1.45; }
.kicker { font-size: var(--t-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); }
.lead { font-size: clamp(18px, 1rem + 0.5vw, 21px); color: var(--c-ink-muted); max-width: 34em; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--c-ink); color: var(--c-on-ink); padding: 12px 18px; border-radius: var(--radius-btn); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--c-on-ink); }
.demo-bar { background: var(--c-accent); color: var(--c-on-accent); text-align: center; font-size: var(--t-small); font-weight: 700; padding: 6px 12px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: var(--radius-btn); background: var(--c-ink); color: var(--c-on-ink); font: 700 17px/1.1 var(--f-body); text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; }
.btn:hover { color: var(--c-on-ink); background: var(--c-ink-hover); }
.btn--small { min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn--accent:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }
.on-ink .btn--accent, .band .btn--accent { border-color: var(--c-on-ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-strong { font-weight: 700; color: var(--c-accent); text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--c-bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-ink); }
.logo img { height: calc(var(--header-h) * 0.58); width: auto; }
.logo-text { font-family: var(--f-display); font-weight: var(--f-display-weight); letter-spacing: var(--f-display-spacing); font-size: clamp(19px, 1rem + 0.6vw, 24px); line-height: 1; color: var(--c-ink); }
.nav { display: none; }
.nav a:not(.btn) { color: var(--c-ink); text-decoration: none; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--c-line); }
.nav a[aria-current="page"] { border-bottom-color: var(--c-accent); }
.menu-btn { width: 48px; height: 48px; border-radius: var(--radius-btn); border: 1px solid var(--c-line); background: var(--c-panel); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: var(--c-ink); }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.phone-menu { position: fixed; inset: var(--menu-top, var(--header-h)) 0 auto 0; z-index: 49; max-height: calc(100dvh - var(--menu-top, var(--header-h))); overflow-y: auto; background: var(--c-bg); border-bottom: 1px solid var(--c-line); padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; }
.phone-menu[hidden] { display: none; }
.phone-menu a:not(.btn):not(.phone-menu-tel) { color: var(--c-ink); text-decoration: none; font-family: var(--f-display); font-weight: var(--f-display-weight); letter-spacing: var(--f-display-spacing); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.phone-menu a[aria-current="page"] { color: var(--c-accent) !important; }
.phone-menu .btn { margin-top: 20px; align-self: flex-start; }
.phone-menu-tel { margin-top: 16px; font-weight: 700; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
  body:not(.is-menu-only) .menu-btn, body:not(.is-menu-only) .phone-menu { display: none !important; }
}

/* ---------- Hero and page tops ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 calc(var(--section-space) / 2); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 16px; }
.hero-text .actions { margin-top: 8px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero--no-image .hero-text { max-width: 760px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 80px); }
  .hero--no-image .hero-grid { grid-template-columns: 1fr; }
}
.page-head { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(8px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: var(--t-h1); max-width: 18em; }

/* ---------- Sections ---------- */
.section { padding: calc(var(--section-space) / 2) 0; }
.section > .wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.section--panel { background: var(--c-panel); padding: var(--section-space) 0; margin: calc(var(--section-space) / 2) 0; }
main > .section:last-child { padding-bottom: var(--section-space); }
main > .section--panel:last-child { margin-bottom: 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head p { color: var(--c-ink-muted); }

/* Photo beside text */
.split { display: grid !important; gap: 28px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-text { display: flex; flex-direction: column; gap: 14px; }
.split-text p { color: var(--c-ink-muted); max-width: 34em; }
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
  .split--flip .split-media { order: 2; }
}
.prose-block { gap: 16px !important; }
.prose-block p { color: var(--c-ink-muted); font-size: clamp(17px, 1rem + 0.2vw, 19px); }

/* Cards: services and pay buttons */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section--panel .card { border-color: transparent; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { font-size: 16px; line-height: 1.5; color: var(--c-ink-muted); }
.card-body .card-price { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--c-ink); }
.cards--limit-3 > :nth-child(n+4), .cards--limit-4 > :nth-child(n+5), .cards--limit-6 > :nth-child(n+7) { display: none; }
.cards--pay .card-body { gap: 10px; }
.card-body .pay-price { font-family: var(--f-display); font-weight: var(--f-display-weight); letter-spacing: var(--f-display-spacing); font-size: 36px; line-height: 1; color: var(--c-ink); margin-top: auto; padding-top: 8px; }
.cards--pay .btn { align-self: flex-start; margin-top: 4px; }

/* Price list */
.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 56px); }
.price-group { display: flex; flex-direction: column; gap: 8px; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.price-list dt { min-width: 0; }
.price-list dt .muted { display: block; font-size: var(--t-small); }
.price-list dd { font-weight: 700; white-space: nowrap; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { font-size: var(--t-small); color: var(--c-ink-muted); padding-top: 6px; }
.gallery--limit-4 > :nth-child(n+5), .gallery--limit-6 > :nth-child(n+7), .gallery--limit-8 > :nth-child(n+9) { display: none; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery--limit-4, .gallery--limit-8 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .gallery:not([class*="limit"]) { grid-template-columns: repeat(4, 1fr); } }

/* Find us and hours */
.find-us { display: grid; gap: 32px; }
.find-us-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; align-content: start; }
.find-us-details > div { display: flex; flex-direction: column; gap: 10px; }
.hours-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--c-line); }
.hours-list dd { white-space: nowrap; }
.hours-list > div.is-today { font-weight: 700; }
.hours-list > div.is-today dt::after { content: " · today"; font-weight: 400; color: var(--c-ink-muted); white-space: nowrap; }
.map { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); min-height: 280px; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 900px) { .find-us:has(.map) { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Dark band: booking and closing call to action */
.band { background: var(--c-ink); color: var(--c-on-ink); border-radius: var(--radius); padding: clamp(28px, 4.5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.band h2 { color: var(--c-on-ink); }
.band p { max-width: 34em; }
.band a:not(.btn) { color: var(--c-on-ink); }
.booking-embed { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-card); }
.booking-embed iframe { width: 100%; height: min(820px, 85vh); border: 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.review { height: 100%; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.section--panel .review { border-color: transparent; }
.review blockquote { font-size: 18px; line-height: 1.5; }
.review blockquote p::before { content: "“"; } .review blockquote p::after { content: "”"; }
.review figcaption { margin-top: auto; font-size: var(--t-small); font-weight: 700; }
.review figcaption .muted { font-weight: 400; }

/* Questions */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; color: var(--c-accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--c-ink-muted); max-width: 40em; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 240px)); gap: clamp(20px, 2.4vw, 32px); }
.team li { display: flex; flex-direction: column; gap: 6px; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.team-role { font-size: var(--t-small); font-weight: 700; color: var(--c-accent); }
.team li p:not(.team-role) { color: var(--c-ink-muted); font-size: 16px; }

/* Contact panel and form */
.panel { background: var(--c-ink); color: var(--c-on-ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; }
.panel a { color: var(--c-on-ink); }
.panel-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel h2 { color: var(--c-on-ink); }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-list span { display: block; font-size: var(--t-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: .75; }
.contact-list a { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--t-small); font-weight: 700; }
.field .opt { font-weight: 400; }
.field input, .field textarea { min-height: 48px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink); padding: 0 14px; font: 16px/1.4 var(--f-body); width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-on-ink); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid var(--c-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; line-height: 1.5; }
.form-status.is-error { background: var(--c-panel); color: var(--c-ink); border-radius: 10px; padding: 12px 14px; }
.form-status.is-error a { color: var(--c-accent); }
.form-small { font-size: var(--t-small); opacity: .85; }
.thanks { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.thanks h3 { font-size: 28px; color: var(--c-on-ink); }
.cf-turnstile { min-height: 65px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-panel); }
.site-footer .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; }
.footer-about { flex: 1 1 320px; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.footer-about img { height: 44px; width: auto; align-self: flex-start; }
.footer-tagline { font-family: var(--f-display); font-weight: var(--f-display-weight); letter-spacing: var(--f-display-spacing); font-size: 22px; line-height: 1.2; }
.footer-about p:not(.footer-tagline) { font-size: 15px; color: var(--c-ink-muted); }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-nav a, .footer-contact a { color: var(--c-ink); }
.footer-contact span { color: var(--c-ink-muted); max-width: 18em; }
.copyright { padding-top: 20px; border-top: 1px solid var(--c-line); font-size: var(--t-small); color: var(--c-ink-muted); text-align: center; }
.copyright a { color: inherit; }

/* ---------- Plain pages (privacy, not found) ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) var(--gutter) var(--section-space); display: flex; flex-direction: column; gap: 28px; }
.prose > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.prose h1 { font-size: var(--t-h1); }
.prose h2 { font-size: 24px; }
.prose section { display: flex; flex-direction: column; gap: 10px; }
.prose section p, .prose ul { color: var(--c-ink-muted); }
.prose ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.prose b { color: var(--c-ink); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .phone-menu, .demo-bar, .form, .menu-btn { display: none !important; } }

/* ---------- Helpers ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Menu-only header (site.json "layout": { "header": "menu-only" }) ----------
   No header bar: a menu button in the top corner that scrolls away with the page, and a full-screen menu. */
.site-header--menu-only { position: absolute; top: 0; right: 0; left: auto; height: auto; z-index: 70; background: none; border: 0; padding: 8px; }
.menu-open .site-header--menu-only { position: fixed; }
.site-header--menu-only .menu-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--c-ink); border-radius: 0; }
.phone-menu--full { inset: 0; max-height: none; height: 100dvh; z-index: 60; border: 0; padding: 88px var(--gutter) 40px; gap: 4px; }
.phone-menu.phone-menu--full a:not(.btn):not(.phone-menu-tel):not(.phone-menu-home) { font-family: var(--f-display); font-weight: var(--f-display-weight); font-size: clamp(36px, 8vw, 64px); line-height: 1.1; padding: 10px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; }
.phone-menu.phone-menu--full a.phone-menu-home:not(.btn) { color: var(--c-ink); text-decoration: none; margin-bottom: 24px; align-self: flex-start; border: 0; padding: 0; }
@media (min-width: 1024px) { .site-header--menu-only { padding: 24px 40px; } .site-header--menu-only .menu-btn { width: 48px; height: 48px; } }

/* ---------- Compact footer (site.json "layout": { "footer": "compact" }) ---------- */
.site-footer--compact { background: var(--c-bg); border-top: 1px solid var(--c-stone, var(--c-line)); }
.site-footer--compact .wrap { max-width: calc(var(--max) + 2 * var(--gutter)); padding-top: 28px; padding-bottom: 32px; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.site-footer--compact .footer-mark { color: var(--c-ink); text-decoration: none; }
.site-footer--compact .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 12px; }
.site-footer--compact .footer-nav a { padding: 12px 0; }
.site-footer--compact .copyright { font-size: 11px; color: var(--c-ink-muted); padding-top: 0; border-top: 0; }
.site-footer--compact .credit { display: block; }
.site-footer--compact .credit__dot { display: none; }
.site-footer--compact .copyright a { color: inherit; }
@media (min-width: 1024px) {
  .site-footer--compact .wrap { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
  .site-footer--compact .footer-nav { gap: 4px 28px; font-size: 13px; }
  .site-footer--compact .copyright { font-size: 12px; text-align: right; }
}

/* ---------- Package hire: bar, items, request (sections package-bar, package-item, package-request) ---------- */
html:has(.package-bar) { scroll-padding-top: 72px; }
.scrawl-word, .pick__scrawl, .request__thanks-title { font-family: var(--f-scrawl, var(--f-display)); font-weight: 400; -webkit-text-stroke: 0.5px currentColor; }

/* The bar: sticks once reached, see-through and blurred */
.package-bar { position: sticky; top: 0; z-index: 40; display: block; background: var(--c-bar, var(--c-panel)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--c-on-bar, var(--c-ink)); text-decoration: none; padding: 10px 12px 10px 16px; }
.package-bar:hover { color: var(--c-on-bar, var(--c-ink)); }
.package-bar__inner { max-width: var(--max); margin: 0 auto; min-height: 36px; display: flex; align-items: center; gap: 12px; }
.package-bar__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.package-bar__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-on-bar-muted, var(--c-ink-muted)); white-space: nowrap; }
.package-bar__items { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.package-bar__total { font-family: var(--f-display); font-size: 28px; line-height: 1; white-space: nowrap; }
.package-bar__chev { width: 18px; height: 18px; flex: none; color: var(--c-on-bar-muted, var(--c-ink-muted)); }
@media (min-width: 1024px) {
  .package-bar { padding: 0 var(--gutter); }
  .package-bar__inner { min-height: 64px; gap: 24px; }
  .package-bar__text { flex-direction: row; align-items: center; gap: 24px; }
  .package-bar__label { font-size: 12px; }
  .package-bar__items { font-size: 14px; }
  .package-bar__total { font-size: 32px; }
  .package-bar__chev { width: 20px; height: 20px; }
}

/* Items. Each item's stage is drawn in "units" (--u) so a layout designed at one width keeps its shape at any width:
   phones and tablets use the phone design (350 units wide), wide screens the desktop design (920 units beside the card).
   Each item's numbers (--px, --py, --pw, --ph, --pr for the photo; --nx, --ny, --nw, --nr, --sr for the note;
   --ax, --ay, --aw, --ah, --ar for the arrow) are set per item in client/custom.css as .pick--<id>. */
.picks { overflow-x: clip; }
.pick { border-top: 1px solid var(--c-rule, var(--c-line)); padding: 44px 20px 52px; }
.pick__inner { container-type: inline-size; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; }
/* --note-out pulls each scribble out to the left page margin; --grow enlarges the photos from their centre (both phone only).
   Phones: the unit is the smaller of "fit the width" and "fit the drawing plus the card on one screen, under the sticky bar"
   (never below 0.6, so very short phones scroll a little rather than shrink the writing too far).
   --st trims empty space above the drawing; --sh is the drawing's height from there (both in units, per item). */
.pick__stage { --u: min(calc(100cqw / 350), max(0.6px, calc((100svh - var(--pick-chrome, 344px)) / var(--sh, 500)))); position: relative; width: calc(350 * var(--u)); max-width: 100%; margin: 0 auto 16px; height: calc(var(--sh, 500) * var(--u)); }
.pick__number { display: none; }
.pick__photo { position: absolute; left: calc(var(--px) * var(--u)); top: calc((var(--py) - var(--st, 0)) * var(--u)); padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(22 * var(--u)); background: var(--c-card); transform: rotate(var(--pr, 0deg)) scale(var(--grow, 1)); }
.pick__photo img { width: calc(var(--pw) * var(--u)); height: calc(var(--ph) * var(--u)); object-fit: cover; object-position: var(--pop, 50% 50%); }
.pick__note { position: absolute; left: calc(var(--nx, 0) * var(--u) - (100cqw - 350 * var(--u)) / 2 - var(--note-out, 0px)); top: calc((var(--ny) - var(--st, 0)) * var(--u)); width: calc(var(--nw) * var(--u)); transform: rotate(var(--nr, 0deg)); color: var(--c-ink); }
.pick__scrawl { font-size: calc(38 * var(--u)); line-height: 0.82; white-space: nowrap; transform: rotate(var(--sr, 0deg)); transform-origin: 0 0; }
.pick__note .arrow { display: block; margin: calc(var(--ay, 4) * var(--u)) 0 0 calc(var(--ax, 0) * var(--u)); width: calc(var(--aw, 96) * var(--u)); height: calc(var(--ah, 56) * var(--u)); transform: rotate(var(--ar, 0deg)); }
.pick__note .arrow--desktop { display: none; }

.pick__card { border: 1px solid var(--c-line); background: var(--c-bg); }
.pick__body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.pick__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pick__head h2 { font-size: 28px; line-height: 1.05; }
.pick__tag { font-size: 10px; letter-spacing: 0.1em; color: var(--c-ink-muted); text-align: right; }
.pick__lines { font-size: 13px; line-height: 1.5; }
.scales { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; line-height: 1.35; }
.scale { display: flex; align-items: center; gap: 10px; }
.scale__label { width: 52px; font-size: 12px; flex: none; }
.scale__track { position: relative; flex: 1 1 auto; height: 1px; background: var(--c-line); }
.scale__track i { position: absolute; top: -3px; width: 1px; height: 7px; background: var(--c-line); }
.scale__track i:nth-child(1) { left: 0; } .scale__track i:nth-child(2) { left: 25%; } .scale__track i:nth-child(3) { left: 50%; } .scale__track i:nth-child(4) { left: 75%; } .scale__track i:nth-child(5) { left: calc(100% - 1px); }
.scale__track b { position: absolute; top: -4px; width: 9px; height: 9px; margin-left: -4px; border-radius: 999px; background: var(--c-ink); }
.scale__track--s0 b { left: 0; } .scale__track--s1 b { left: 25%; } .scale__track--s2 b { left: 50%; } .scale__track--s3 b { left: 75%; } .scale__track--s4 b { left: 100%; }
.pick__buy { display: flex; align-items: stretch; border-top: 1px solid var(--c-line); }
.pick__price { flex: 1 1 auto; padding: 4px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.pick__amount { font-family: var(--f-display); font-size: 24px; line-height: 1; }
.pick__note-small { font-size: 11px; color: var(--c-ink-muted); }
.pick__add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 6px; padding: 0 16px; font: 500 13px/1.1 var(--f-body); background: var(--c-panel); color: var(--c-ink); border: 1px solid var(--c-panel); cursor: pointer; }
.pick__add:hover { border-color: var(--c-ink); }
.pick__tick { width: 16px; height: 16px; display: none; }
.pick__add.is-on { background: var(--c-bg); border-color: var(--c-ink); }
.pick__add.is-on .pick__tick { display: block; }

@media (min-width: 1024px) {
  .pick { padding: 96px var(--gutter); }
  .pick__inner { max-width: var(--max); display: grid; grid-template-columns: 1fr 360px; align-items: start; }
  .pick__stage { --u: min(calc((100cqw - 360px) / 920), calc((100svh - 64px - 72px) / 640)); width: auto; max-width: none; margin: 0; height: calc(640 * var(--u)); }
  .pick__number { display: block; position: absolute; left: 0; top: 0; font-size: 12px; letter-spacing: 0.12em; color: var(--c-ink-muted); }
  .pick__photo { left: calc(var(--dpx) * var(--u)); top: calc(var(--dpy) * var(--u)); padding: calc(9 * var(--u)) calc(9 * var(--u)) calc(34 * var(--u)); transform: rotate(var(--dpr, 0deg)); }
  .pick__photo img { width: calc(var(--dpw) * var(--u)); height: calc(var(--dph) * var(--u)); }
  .pick__note { left: calc(20 * var(--u)); top: calc(110 * var(--u)); width: calc(360 * var(--u)); transform: rotate(var(--dnr, -5deg)); }
  .pick__scrawl { font-size: calc(58 * var(--u)); -webkit-text-stroke-width: 0.6px; transform: none; }
  .pick__note .arrow { margin: calc(8 * var(--u)) 0 0 calc(150 * var(--u)); width: calc(144 * var(--u)); height: calc(84 * var(--u)); transform: none; }
  .pick__note .arrow--phone { display: none; }
  .pick__note .arrow--desktop { display: block; }
  .pick__card { margin-top: 40px; }
  .pick__body { padding: 20px 20px 16px; gap: 14px; }
  .pick__head h2 { font-size: 32px; }
  .pick__lines { font-size: 14px; line-height: 1.55; }
  .scales { gap: 8px; }
  .scale { gap: 12px; }
  .scale__label { width: 56px; font-size: 13px; }
  .pick__price { padding: 10px 16px; }
  .pick__amount { font-size: 26px; }
  .pick__add { min-height: 52px; padding: 0 20px; font-size: 14px; }
}

/* The request: picked items with the total, and the form */
.request { border-top: 1px solid var(--c-rule, var(--c-line)); padding: 56px 0 64px; }
.request .wrap { padding-left: 20px; padding-right: 20px; max-width: calc(var(--max) + 2 * var(--gutter)); }
.request__grid { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start; }
.request__side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.request__form-wrap { flex: 1 1 460px; min-width: 0; }
.request__head { display: flex; flex-direction: column; gap: 12px; }
.request__head h2 { font-size: 52px; line-height: 0.95; letter-spacing: -0.01em; text-wrap: initial; }
.request__head .scrawl-word { font-size: 1.3em; line-height: 0.5; display: inline-block; transform: rotate(-5deg); letter-spacing: 0; }
.request__text { font-size: 13px; line-height: 1.6; color: var(--c-ink-muted); max-width: 460px; }
.summary { border: 1px solid var(--c-line); }
.summary__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-muted); }
.summary > .summary__label { padding: 12px 16px 6px; }
.summary__row { width: 100%; min-height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 14px; background: transparent; border: 0; border-top: 1px solid var(--c-stone, var(--c-line)); color: var(--c-ink-muted); font: 15px/1.3 var(--f-body); text-align: left; cursor: pointer; }
.summary__row.is-on { color: var(--c-ink); }
.summary__box { width: 20px; height: 20px; flex: none; border: 1.5px solid var(--c-ink); display: inline-flex; align-items: center; justify-content: center; }
.summary__box svg { width: 16px; height: 16px; visibility: hidden; color: var(--c-ink); }
.summary__row.is-on .summary__box { background: var(--c-bg); }
.summary__row.is-on .summary__box svg { visibility: visible; }
.summary__name { flex: 1 1 auto; }
.summary__price { font-family: var(--f-display); font-size: 20px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-top: 1px solid var(--c-line); }
.summary__amount { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.request__form { display: flex; flex-direction: column; gap: 18px; }
.request__form[hidden] { display: none; }
.request__pair { display: flex; flex-wrap: wrap; gap: 18px 20px; }
.request__pair .field { flex: 1 1 240px; }
.request .field label { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-muted); }
.request .field input, .request .field textarea { min-height: 48px; padding: 0 14px; background: transparent; border: 1px solid var(--c-line); border-radius: 0; color: var(--c-ink); font: 15px/1.4 var(--f-body); }
.request .field textarea { min-height: 96px; padding: 12px 14px; }
.request .field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; line-height: 46px; }
.request .field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.request__pair .field { min-width: 0; }
.request .field input:focus-visible, .request .field textarea:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 0; border-radius: 0; }
.request .field [aria-invalid="true"] { border: 2px solid var(--c-ink); }
.request .field ::placeholder { color: var(--c-ink-muted); opacity: .7; }
.request__send { min-height: 52px; width: 100%; margin-top: 4px; padding: 0 18px; font: 500 14px/1.1 var(--f-body); background: var(--c-panel); color: var(--c-ink); border: 1px solid var(--c-panel); cursor: pointer; }
.request__send:hover { border-color: var(--c-ink); }
.request__send[disabled] { opacity: .7; cursor: progress; }
.request__small { font-size: 11px; line-height: 1.6; color: var(--c-ink-muted); }
.request__small a { color: inherit; }
.request .form-status:empty { display: none; }
.request .form-status.is-error { background: none; border: 1px solid var(--c-ink); border-radius: 0; font-size: 13px; }
.request__thanks { border: 1px solid var(--c-ink); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.6; }
.request__thanks[hidden] { display: none; }
.request__thanks-title { font-size: 44px; line-height: 0.8; }
.request__again { align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; font: 13px var(--f-body); color: var(--c-ink); text-decoration: underline; cursor: pointer; }
@media (min-width: 1024px) {
  .request { padding: 120px 0; }
  .request .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .request__head { gap: 14px; }
  .request__head h2 { font-size: 84px; }
  .request__head .scrawl-word { -webkit-text-stroke-width: 0.6px; }
  .request__text { font-size: 15px; }
  .request__form-wrap { padding-top: 8px; }
  .summary > .summary__label { padding: 14px 18px 8px; }
  .summary__row { padding: 0 18px; }
  .summary__total { padding: 16px 18px; }
  .summary__amount { font-size: 40px; }
  .request__form { gap: 20px; }
  .request .field input, .request .field textarea { min-height: 52px; padding: 0 16px; }
  .request .field textarea { min-height: 128px; padding: 14px 16px; }
  .request__send { padding: 0 20px; }
  .request__small { font-size: 12px; }
  .request__thanks { padding: 32px 28px; gap: 12px; font-size: 15px; }
  .request__thanks-title { font-size: 64px; -webkit-text-stroke-width: 0.6px; }
  .request__again { font-size: 14px; }
}
