/* Keep Dated (design-system §2 names). PKC's anatomy and components with Keep Dated tokens: white ground,
   paper and mist bands, night-navy accent (logo, headings' marker, links, focus), ONE buy colour (brass) on the
   buy/design buttons only, night footer band. Fonts match the prints: Cormorant Garamond + Jost (SIL OFL).
   Kit: ~/jgcore-vault/projects/keepdated/brand/BRAND-KIT.md. */
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
:root {
  --bg: #FFFFFF;          /* near-white page (Joshua 5 Dec, 'in between'); warmth lives in the bands */
  --paper: #F6F0E4;      /* PKC porcelain: bands, trust strip, gallery */
  --mist: #F6F0E4;       /* hero and how-it-works bands: the paper colour, kept warm (Joshua 5 Dec) */
  --night: #141B2B;      /* PKC plum-deep: contrast band, footer */
  --gold: #E2CC97;       /* the marker under a headline word; the ring in the mark */
  --cta: #1F2A44;        /* palette A (Joshua 5 Dec): the logo navy; ONLY the buy/design button */
  --cta-hover: #141B2B;
  --surface: #FFFFFF;
  --surface-2: #F4EEE3;
  --border: #DDD5C6;
  --text: #1E2230;
  --text-2: #4A4740;
  --text-3: #5E5A53;     /* 5.9:1 on paper and mist */
  --accent: #1F2A44;     /* night navy: logo, links, focus, selected marker */
  --accent-hover: #141B2B;
  --link: #1F2A44;
  --on-accent: #FFFFFF;
  --focus: #1F2A44;
  --danger: #8A1C1C;
  --radius: 10px;
  --space-4: 16px;
  --measure: 66ch;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-display: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --font-text: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: 72px; } /* sticky header */
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font-text); overflow-x: clip; }
main { max-width: 720px; margin: 0 auto; padding: 0 var(--space-4) 72px; }
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(40px, 10vw, 62px); margin: 28px 0 12px; }
h2 { font-size: clamp(30px, 7vw, 44px); margin: 0 0 10px; }
h3 { font-size: 18px; font-weight: 500; margin: 20px 0 4px; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
button:focus:not(:focus-visible) { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* Headings are one weight, one style, one colour (design-system §17, 5 Dec): legacy .hl markup renders as plain text. */
.hl { font-style: inherit; font-weight: inherit; }
.small, .hint { font-size: 14px; color: var(--text-2); }
.lede, .band-sub { color: var(--text-2); }
.lede { font-size: 18px; margin: 0 0 24px; }
.band-sub { margin: -2px 0 14px; font-size: 16px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.text-link { color: var(--link); font-weight: 500; }
.notice { background: var(--paper); border-radius: var(--radius); padding: 12px 14px; }
.error { color: var(--danger); margin: 8px 0 0; font-size: 15px; }

/* Buttons: pills (PKC). .btn = buy/design (brass), .btn-quiet = outline, .btn-light = on night. */
.btn, a.cta, button.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--cta); color: #fff; font: 500 16px/1.2 var(--font-text); text-align: center; white-space: nowrap; text-decoration: none; cursor: pointer; }
@media (hover: hover) { .btn:hover, a.cta:hover, button.cta:hover { background: var(--cta-hover); } }
.btn[disabled], button.cta:disabled { opacity: .55; cursor: default; }
.btn-big { min-height: 54px; padding: 14px 30px; font-size: 18px; }
.btn-quiet, .cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
@media (hover: hover) { .btn-quiet:hover, .cta.ghost:hover { background: var(--surface-2); } }
.btn-light { background: #fff; color: var(--night); }
@media (hover: hover) { .btn-light:hover { background: var(--paper); } }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Promo bar: real, standing offers only (no countdowns, no "was" prices). */
.promo { background: var(--night); color: #F1EDE4; text-align: center; padding: 7px 12px 8px; font-size: 14px; line-height: 1.35; }
.promo p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.promo a { color: #fff; }

/* Header: full-width bar, page-width inside; same mark as the favicon. */
.site-header-bar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header { max-width: 1120px; margin: 0 auto; padding: 10px var(--space-4); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.lockup img { width: 38px; height: 38px; display: block; }
.wordmark { display: grid; line-height: 1; }
.wm-name { font-family: var(--font-display); font-weight: 600; font-size: 25px; color: var(--accent); white-space: nowrap; }
.wm-tag { font-size: 12px; color: var(--text-3); margin-top: 3px; white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav > a, .header-nav summary { color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 10px; cursor: pointer; list-style: none; border-radius: 8px; }
.header-nav summary::-webkit-details-marker { display: none; }
.header-nav summary::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
@media (hover: hover) { .header-nav > a:hover, .header-nav summary:hover { background: var(--surface-2); } }
.header-nav details { position: relative; }
.header-nav .menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: grid; box-shadow: 0 12px 32px -18px rgba(20, 27, 43, .45); z-index: 30; }
.header-nav .menu a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.header-nav .menu a small { display: block; color: var(--text-3); font-size: 13px; }
@media (hover: hover) { .header-nav .menu a:hover { background: var(--surface-2); } }
.header-nav > a.header-cta { color: #fff; min-height: 40px; padding: 8px 18px; font-size: 15px; line-height: 1; margin-left: 6px; border-radius: 999px; white-space: nowrap; flex: none; }
@media (hover: hover) { .header-nav > a.header-cta:hover { background: var(--cta-hover); } }
.nav-wide { display: none; }
.nav-menu .menu { right: -8px; width: min(320px, calc(100vw - 24px)); }
@media (min-width: 900px) { .nav-wide { display: block; } .header-nav > a.nav-wide { display: inline-block; } .nav-menu { display: none; } }
@media (max-width: 420px) { .wm-tag { display: none; } .wm-name { font-size: 22px; } .lockup img { width: 32px; height: 32px; } .header-nav > a.header-cta { min-height: 36px; padding: 7px 14px; font-size: 14px; } }

/* Occasion circles under the header (PKC pet circles) */
.circles { padding: 10px 0 12px; }
.circles ul { list-style: none; margin: 0; padding: 0 16px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.circles ul::-webkit-scrollbar { display: none; }
.circles li { flex: none; scroll-snap-align: start; }
.circles a { display: grid; justify-items: center; gap: 5px; width: 78px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap; }
.circles img { width: 62px; height: 62px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--border); background: var(--night); }
.circles.auto ul { scroll-snap-type: none; }
.circles a[aria-current='page'] img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }

/* Hero: photo of the print in a room + mist panel (PKC). */
.hero { display: grid; background: var(--mist); }
.hero-pic { position: relative; background: var(--paper); }
.hero-pic img, .hero-pic video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; } /* phones: the button on the first screen (PKC fold check) */
.hero-pic video { object-fit: contain; background: var(--night); }
.hero-pic:has(video) { background: var(--night); }
.hero-caption { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--text-2); font-size: 12px; line-height: 1.4; }
.hero-panel { padding: 24px 20px 28px; text-align: center; }
.hero-panel h1 { margin: 0 0 12px; }
.hero-lede { font-size: 18px; color: var(--text-2); margin: 0 auto 20px; max-width: 36ch; }
.hero-panel .btn { min-width: 250px; }
.hero-risk { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.hero-note { margin: 8px 0 0; font-size: 15px; color: var(--text); font-weight: 500; }
.hero-updated { margin: -4px 0 10px; font-size: 13px; color: var(--text-3); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
  .hero-pic img, .hero-pic video { aspect-ratio: auto; height: 640px; }
  .hero-panel { text-align: left; padding: 40px 56px; }
  .hero-lede { margin-left: 0; }
}

/* Trust strip */
.trust-strip { list-style: none; margin-top: 0; margin-bottom: 0; padding: 16px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; background: var(--paper); border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); text-align: center; }
.trust-strip li { display: grid; justify-items: center; gap: 3px; }
.trust-strip strong { display: block; color: var(--text); font-size: 14px; font-weight: 500; }
.trust-strip .icon { color: var(--accent); }
@media (min-width: 700px) { .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Designer band: "Design yours" + price lines + the designer */
.design-band { padding: 36px 0 8px; text-align: center; }
.design-band > h2 { margin: 0 0 8px; }
.price-lines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 2px; font-size: 16px; }
.price-lines b { font-weight: 500; }
.delivery-line { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 10px 0 22px; padding: 7px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--text-2); }
.delivery-line strong { color: var(--text); font-weight: 500; }

/* Gallery: the print in rooms (Printify mockups of a real render; never redrawn) */
.gallery-band { background: var(--paper); padding: 40px 0 34px; margin-top: 48px; }
.band-head { max-width: 760px; margin: 0 auto; padding: 0 16px; text-align: center; }
.band-head p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; }
.gallery { list-style: none; margin: 0; padding: 0 16px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: 0 0 70%; max-width: 330px; scroll-snap-align: center; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #fff; }
@media (min-width: 900px) { .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; margin: 0 auto; overflow: visible; } .gallery li { max-width: none; } }

/* Feature: big photo, one heading, one line */
.feature { display: grid; gap: 18px; margin: 56px 0 0; }
.feature img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.feature p { margin: 0 0 16px; color: var(--text-2); }
@media (min-width: 700px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; } .feature.flip img { order: 2; } }

/* Product rail (PKC shop band) */
.rail { margin: 56px 0 0; text-align: center; }
.rail ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; text-align: left; }
.rail a, .rail .soon > span { display: grid; gap: 6px; text-decoration: none; color: var(--text); font-weight: 500; }
.rail img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--paper); }
.rail small { font-weight: 400; color: var(--text-2); font-size: 14px; }
.rail .soon img { filter: saturate(.6); opacity: .8; }
@media (min-width: 700px) { .rail ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Occasion doors (PKC pet tiles) */
.tiles-band { margin: 56px 0 0; text-align: center; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles a { position: relative; display: block; text-decoration: none; color: #fff; border-radius: 12px; overflow: hidden; background: var(--night); }
.tiles img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; opacity: .9; }
.tiles span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(transparent, rgba(20,27,43,.85)); font-family: var(--font-display); font-size: 22px; font-weight: 600; text-align: left; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* How it works: numbered pictures on mist */
.how { background: var(--mist); padding: 40px 16px 36px; margin-top: 56px; }
.how h2 { max-width: 760px; margin: 0 auto 18px; text-align: center; }
.how ol { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; gap: 18px; }
.how li { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
.how .how-pic { grid-row: 1 / span 3; position: relative; }
.how .how-pic img { width: 104px; height: 104px; object-fit: cover; border-radius: 14px; background: #fff; display: block; }
.how .step-n { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent); font: 600 15px/26px var(--font-text); text-align: center; }
.how li strong { font-size: 18px; font-weight: 500; margin: 4px 0 2px; }
.how li > span:last-child { color: var(--text-2); font-size: 15px; }
@media (min-width: 700px) { .how ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } .how li { grid-template-columns: 1fr; text-align: center; justify-items: center; } .how .how-pic { grid-row: auto; width: 100%; } .how .how-pic img { width: 100%; height: auto; aspect-ratio: 1; } }

/* Accuracy band (night contrast band, PKC xmas band) */
.night-band { background: var(--night); color: #fff; display: grid; margin-top: 56px; }
.night-band img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.night-band > div { padding: 28px 20px 32px; }
.night-band h2 { color: #fff; }
.night-band p { margin: 0 0 18px; color: #D9DDE7; }
.night-band a:not(.btn) { color: #fff; }
@media (min-width: 900px) { .night-band { grid-template-columns: 1fr 1fr; align-items: center; } .night-band img { aspect-ratio: auto; height: 480px; } .night-band > div { padding: 40px 56px; } }

/* Promise: typographic list with hairline rules (no boxes, no side bars) */
.promise, .info, .tips, .faq-band { margin: 56px 0 0; }
.promise dl { margin: 0; }
.promise dl > div { padding: 14px 0; border-top: 1px solid var(--border); }
.promise dt { font-weight: 500; font-size: 17px; }
.promise dd { margin: 2px 0 0; color: var(--text-2); }
.promise-links { font-size: 15px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
ul.promise-links { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.promise-links a { color: var(--link); }
.faq { border-top: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--text-3); }
.faq[open] summary::after { content: '\2212'; }
.faq p { margin: 8px 0 0; color: var(--text-2); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: 14px; }
.timeline li { display: grid; gap: 2px; padding-top: 10px; border-top: 2px solid var(--border); }
.timeline li:last-child { border-top-color: var(--accent); }
.timeline strong { font-weight: 500; font-size: 15px; }
.timeline span { color: var(--text-2); }
.glance { width: 100%; border-collapse: collapse; font-size: 15px; }
.glance th, .glance td { text-align: left; padding: 10px 0; border-top: 1px solid var(--border); vertical-align: top; }
.glance th { font-weight: 500; width: 38%; padding-right: 12px; }
.glance td { color: var(--text-2); }
.related { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.related a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: 15px; }
@media (hover: hover) { .related a:hover { background: var(--surface-2); } }

/* Prose pages (terms, delivery, guides) */
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(26px, 5vw, 32px); margin: 32px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.prose th, .prose td { text-align: left; padding: 8px 8px 8px 0; border-top: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 500; }
.quick { font-size: 18px; color: var(--text); margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid var(--border); }
.updated { font-size: 13px; color: var(--text-3); margin: -4px 0 12px; }

/* Footer (night band) */
.site-footer { background: var(--night); color: #C9CEDA; margin-top: 64px; padding: 36px var(--space-4) 48px; font-size: 14px; }
.site-footer .inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 22px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-footer h2 { font-family: var(--font-text); font-size: 13px; font-weight: 500; color: #fff; margin: 0 0 8px; }
.site-footer nav { display: grid; gap: 6px; font-size: 15px; }
.site-footer a { color: #E7EAF1; text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; } }
.site-footer p { margin: 0; max-width: 72ch; line-height: 1.5; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.footer-brand img { width: 34px; height: 34px; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pay-marks li { padding: 3px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; font-size: 12.5px; color: #E7EAF1; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Sticky mobile CTA (PKC) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .25s var(--ease-out); font-size: 15px; }
.sticky-cta.on { transform: none; }
.sticky-cta .btn { min-height: 44px; padding: 10px 20px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Designer form bits shared with star-map.css */
.suggest { list-style: none; margin: -8px 0 0; padding: 4px 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); max-height: 280px; overflow: auto; overscroll-behavior: contain; text-align: left; }
.suggest li { padding: 10px 12px; cursor: pointer; font-size: 15px; }
.suggest li[aria-selected=true] { background: var(--surface-2); }
@media (hover: hover) { .suggest li:hover { background: var(--surface-2); } }
.market { display: grid; gap: 8px; }
.sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sizes .swatch { justify-content: space-between; }

/* Desktop: wider page, text blocks keep a reading width */
@media (min-width: 900px) {
  main { max-width: 1120px; padding-left: 24px; padding-right: 24px; }
  .promise, .info, .tips, .faq-band, main > .lede, main > h1, .prose-wrap { max-width: 760px; margin-left: auto; margin-right: auto; }
  .feature { max-width: 980px; margin-left: auto; margin-right: auto; }
  .trust-strip { padding-left: max(16px, calc((100vw - 980px) / 2)); padding-right: max(16px, calc((100vw - 980px) / 2)); }
}

/* On-site checkout dialog */
dialog.pay { border: 0; border-radius: 16px; padding: 20px; width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; overscroll-behavior: contain; background: #fff; color: var(--text); box-shadow: 0 12px 48px rgba(0,0,0,.25); }
dialog.pay::backdrop { background: rgba(15, 20, 32, .55); }
.pay-head { display: flex; justify-content: space-between; align-items: center; }
.pay-head h2 { margin: 0; font-size: 30px; }
.pay-x { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--text-3); min-width: 44px; min-height: 44px; }
.pay-sum { margin: 8px 0 16px; }
#pay-wallet { margin: 0 0 12px; }
#pay-card { display: grid; gap: 14px; margin-top: 8px; }
#pay-card[hidden] { display: none; }
.ship-h { margin: 4px 0 -6px; font-size: 14px; color: var(--text-2); }
dialog.pay .cta { width: 100%; }

/* Promo: one line on phones */
.promo-short { display: none; }
@media (max-width: 560px) { .promo { font-size: 13px; } .promo .promo-more { display: none; } .promo .promo-short { display: inline; } }

/* Products menu: picture cards (desktop dropdown and phone menu share .pcard) */
.pcard { display: grid; gap: 4px; align-content: start; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--text); }
.pcard img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--paper); }
.header-nav .menu .pcard small, .pcard small { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.pc-name { font-weight: 500; font-size: 15px; }
.pcard.soon img { filter: saturate(.6); opacity: .8; }
.pcard.soon { cursor: default; }
@media (hover: hover) { .header-nav .menu a.pcard:hover { background: var(--surface-2); } }
.header-nav .menu-products { width: min(860px, calc(100vw - 48px)); grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; right: -140px; padding: 10px; }
.ocard { display: flex !important; align-items: center; gap: 12px; }
.ocard img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex: none; background: var(--night); }
.header-nav .menu-occ { min-width: 280px; }

/* Phone menu: full-width sheet with a 2-column product grid */
.header-nav .menu-phone { position: fixed; left: 8px; right: 8px; top: auto; width: auto; margin-top: 10px; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; display: block; }
.menu-h { margin: 4px 4px 6px; font-size: 13px; font-weight: 500; color: var(--text-3); text-transform: none; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-bottom: 10px; }
.pgrid .pcard:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 96px 1fr; column-gap: 12px; align-items: center; }
.pgrid .pcard:last-child:nth-child(odd) img { grid-row: span 2; }
.ogrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; margin-bottom: 8px; }
.ogrid .ocard { padding: 8px; font-size: 14px; min-height: 48px; }
.menu-help { display: block; border-top: 1px solid var(--border); margin-top: 4px; padding: 14px 8px 6px !important; font-weight: 500; }

/* Product-page photo slides: swipe on phones, thumbnails underneath */
.hero-pic.has-slides { background: #fff; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide-count { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20, 27, 43, .7); color: #fff; font-size: 12px; }
.slide-thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; background: var(--mist); }
.slide-thumbs button { flex: none; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; box-shadow: 0 0 0 1px var(--border); }
.slide-thumbs button[aria-current] { box-shadow: 0 0 0 2px var(--text); }
.slide-thumbs img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.has-slides .hero-caption { bottom: 86px; }
@media (min-width: 900px) { .hero-pic.has-slides .slides img { height: 560px; } .slide-thumbs { justify-content: center; } .slide-thumbs img { width: 64px; height: 64px; } .has-slides .hero-caption { bottom: 96px; } }
@media (max-width: 899px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero-pic, .hero-panel { min-width: 0; }
.header-nav .menu .pcard { padding: 8px; }

/* Interactive sky (designer/sky-motion.js): the star layer turns on screen only; the print keeps the exact moment. */
.sheet { position: relative; }
.kd-sky { position: absolute; border-radius: 50%; overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.kd-sky.grabbing { cursor: grabbing; }
.kd-sky:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.kd-sky-rot { position: absolute; will-change: transform; transform-origin: 50% 50%; pointer-events: none; }
.kd-sky-rot img, .hero-pic .kd-sky-rot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; -webkit-user-drag: none; }
.kd-sky-tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--text-2); font-size: 12px; line-height: 1.4; white-space: nowrap; pointer-events: none; }
.kd-sky-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; min-height: 40px; margin-top: 10px; font-size: 13px; color: var(--text-3); text-align: center; }
.kd-sky-when { color: var(--text-2); }
.kd-sky-back.btn { min-height: 36px; padding: 6px 16px; font-size: 14px; box-shadow: 0 0 0 1px var(--border); }
/* Home hero: the sample print with the live sky over its disc */
.hero-sky { position: relative; aspect-ratio: 1 / 1; background: var(--night); overflow: hidden; }
.hero-sky-sheet { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 3 / 4; }
.hero-pic .hero-sky-sheet > img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; }
.hero-pic .kd-sky-bar { position: absolute; top: 10px; right: 10px; margin: 0; min-height: 0; justify-content: flex-end; }
.hero-pic .kd-sky-when, .hero-pic .kd-sky-hint { padding: 3px 9px; border-radius: 999px; background: rgba(20, 27, 43, .7); color: #fff; font-size: 12px; }
@media (min-width: 900px) { .hero-sky { aspect-ratio: auto; height: 640px; } }
.kd-sky-bar [hidden] { display: none; }

/* Opening soon: upcoming products with an email box (no dates promised) */
.soon-band { margin: 56px 0 0; text-align: center; }
.soon-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; text-align: left; }
@media (min-width: 900px) { .soon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .soon-grid { grid-template-columns: minmax(0, 1fr); } }
.soon-card { position: relative; display: grid; align-content: start; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: #fff; scroll-margin-top: 18px; }
.soon-card img, .soon-type { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: 10px; background: var(--paper); }
.soon-type { display: grid; place-items: center; padding: 16px; text-align: center; font-family: var(--font-display); font-size: 26px; line-height: 1.15; color: var(--text); }
.soon-card h3 { margin: 6px 0 0; font-size: 17px; font-weight: 500; }
.soon-card p { margin: 0; font-size: 14px; color: var(--text-2); }
.soon-tag { position: absolute; top: 20px; left: 20px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; color: var(--text-2); }
.soon-form { display: flex; gap: 8px; margin-top: 6px; }
.soon-form input[type=email] { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 16px; } /* 16px: iOS zooms smaller inputs */
.soon-form .btn { min-height: 44px; padding: 8px 16px; white-space: nowrap; }
.soon-done { color: var(--text) !important; font-weight: 500; padding: 10px 0 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.band-more { margin: 14px 0 0; }
.soon-links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 4px 10px; }
.header-nav .menu .soon-links a { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; }
.menu-soon { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; }
@media (max-width: 520px) {
  .soon-card { grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 10px; }
  .soon-card img, .soon-type { grid-row: span 2; width: 76px; height: 76px; aspect-ratio: 1; font-size: 13px; }
  .soon-type { padding: 6px; }
  .soon-card img { object-position: 50% 20%; }
  .soon-card h3 { margin: 2px 0 0; font-size: 16px; }
  .soon-tag { display: none; }
  .soon-form, .soon-done { grid-column: 1 / -1; }
}
/* Products without a real picture yet (street map): a typographic card, never a stand-in photo. */
.pcard .pc-type { grid-row: auto; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; font-size: 17px; padding: 8px; }
.pcard.soon .pc-type { opacity: .8; }
.hero-pic .hero-type { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; padding: 32px; font-size: clamp(34px, 7vw, 60px); }
.hero-type span { max-width: 11ch; }
@media (min-width: 900px) { .hero-pic .hero-type { aspect-ratio: auto; height: 640px; } }

/* Design pass 5 Dec (qa/design-pass-before/ISSUES.md). Jost's tall ascent sits lowercase labels ~1.5px low in pills:
   one extra px of padding below lifts every label onto the optical centre without changing heights. */
.btn, a.cta, button.cta { padding-block: 11px 13px; line-height: 1.15; }
.btn-big { padding-block: 13px 15px; }
.btn-small { padding-block: 7px 9px; }
.header-nav > a.header-cta { min-height: 44px; padding: 8px 18px 10px; line-height: 1.15; display: inline-flex; align-items: center; }
@media (max-width: 420px) { .header-nav > a.header-cta { padding: 7px 13px 9px 14px; letter-spacing: 0; } }
/* 44px tap targets */
.header-nav summary, .header-nav > a.nav-wide { min-height: 44px; }
.faq summary { min-height: 44px; align-items: center; }
.site-footer a { display: inline-block; padding-block: 11px; }
.kd-sky-back.btn { min-height: 44px; padding: 9px 18px 11px; }
.header-nav .menu .pcard small { padding-bottom: 2px; }
/* Products mega menu: 4 columns = two full rows of 4 */
.header-nav .menu-products { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(760px, calc(100vw - 48px)); right: -90px; }
/* Phone sheet: compact product rows (thumb + name) so Occasions shows on the first screen */
.pgrid { gap: 4px; }
.pgrid .pcard, .pgrid .pcard:last-child:nth-child(odd) { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 6px; min-height: 64px; grid-column: auto; }
.pgrid .pcard img, .pgrid .pcard:last-child:nth-child(odd) img { width: 52px; height: 52px; aspect-ratio: 1; border-radius: 8px; grid-row: span 2; margin: 0; }
.pgrid .pcard .pc-name { font-size: 14px; line-height: 1.25; }
.pgrid .pcard small { display: none; }
.header-nav .menu-phone { padding-bottom: 16px; }
/* Phone hero action matches the other full-width actions */
@media (max-width: 520px) { .hero-panel .btn { width: 100%; min-width: 0; } }
/* Slide counter readable over light photos */
.slide-count { background: rgba(20, 27, 43, .88); }
.header-nav .menu-phone .pgrid .pcard small { display: none; }
.header-nav .menu-phone .pgrid .pcard img { width: 52px; height: 52px; aspect-ratio: 1; object-fit: cover; }
.header-nav .menu-phone .pgrid .pcard { grid-template-rows: auto; }
.header-nav .menu-phone .pgrid .pcard img, .header-nav .menu-phone .pgrid .pcard .pc-type { grid-row: auto; }
.header-nav .menu-phone .pgrid .pcard .pc-type { width: 52px; height: 52px; padding: 4px; font-size: 10px; line-height: 1.1; overflow: hidden; border-radius: 8px; }
/* Home: one shared "Opening soon" box (tick-boxes + one email) */
.soon-pick label { display: grid; gap: 8px; cursor: pointer; }
.soon-pick-row { display: flex; gap: 10px; align-items: flex-start; }
.soon-pick-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.soon-pick-row b { display: block; font-weight: 500; font-size: 16px; }
.soon-pick-row small { display: block; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.soon-pick:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.soon-pick:has(input:focus-visible) { outline: 2px solid var(--focus, #1d2b4f); outline-offset: 2px; }
.soon-form-shared { max-width: 520px; margin: 18px auto 0; }
.soon-error { color: var(--danger) !important; text-align: center; }
.soon-thanks { text-align: center; }
@media (max-width: 520px) {
  .soon-pick { display: block; padding: 10px; }
  .soon-pick label { grid-template-columns: 64px minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .soon-pick img, .soon-pick .soon-type { width: 64px; height: 64px; aspect-ratio: 1; font-size: 11px; padding: 4px; grid-row: auto; }
}
.soon-card img { height: auto; }
@media (min-width: 521px) { .soon-pick img, .soon-pick .soon-type { aspect-ratio: 2 / 1; height: auto; } .soon-pick .soon-type { font-size: 22px; } }
.soon-pick, .soon-pick label, .soon-pick .soon-type, .soon-pick img { min-width: 0; max-width: 100%; }
.soon-pick label { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .soon-pick label { grid-template-columns: 64px minmax(0, 1fr); } }
.night-band .btn:not(.btn-light), .site-footer .btn:not(.btn-light) { background: var(--gold); color: var(--night); }

/* Home range hero (HOME 5 Dec): the draggable sky as the big tile, three gifts beside it. */
.range { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 6px; background: var(--bg); }
.hero-pic:has(.range) .kd-sky-bar { top: 8px; right: auto; left: 8px; max-width: calc(66.6% - 16px); justify-content: flex-start; }
.range .hero-sky { aspect-ratio: 3 / 4; }
.range-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; }
.range-tile { position: relative; display: block; min-height: 0; overflow: hidden; background: var(--paper); }
.hero-pic .range-tile img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.range-tile span, .range-label { position: absolute; left: 6px; bottom: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(255,253,249,.92); color: var(--text); font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.range-label { z-index: 2; }
.hero-pic:has(.range) .kd-sky-hint { display: none; }
@media (max-width: 899px) { .hero-pic:has(.range) .kd-sky-back { font-size: 13px; min-height: 34px; padding: 6px 12px; } }
@media (min-width: 900px) { .range .hero-sky { aspect-ratio: auto; height: 640px; } .range-tile span, .range-label { left: 10px; bottom: 10px; font-size: 13px; } }

/* See it at real size (rooms v2) */
.real-size { margin-top: 48px; text-align: center; }
.real-size ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.real-size img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .real-size ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.real-size ul.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }

/* Prices, dates and number columns line up (design-system §17 step 5, 5 Dec). */
.price-lines, .hero-note, .delivery-line, .sticky-cta, .timeline, .glance, .prose table, .rail small, .pcard small, .soon-pick-row small, .real-size { font-variant-numeric: tabular-nums; }
