/* design\components.css: CulverSystems' components, as design\components.md lists them. Tokens only (design\system.css).
   "Live system, in daylight": cool paper, navy linework, reticle corners locking onto the moment that matters, leaf
   green only where something grows or is pressed. */

/* ---------- Layout ---------- */
*, *::before, *::after { box-sizing: border-box; }
.wrap { width: min(var(--max-w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--c-paper-alt); }
.section--ink { background: var(--c-ink); color: var(--c-on-ink); }
/* the system's faint grid on a ground (the motif) */
.grid-ground {
  background-color: var(--c-paper);
  background-image:
    linear-gradient(color-mix(in srgb, var(--c-line) 60%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-line) 60%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}
/* Part 2 (Dal's "more high-tech"): the same faint grid on the navy bands */
.grid-ink {
  background-color: var(--c-ink);
  background-image:
    linear-gradient(color-mix(in srgb, var(--c-brand-on-ink) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-brand-on-ink) 9%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* A part's heading: one headline and one line, never a small label above it. */
.head { display: grid; gap: var(--space-3); max-width: 48rem; margin-bottom: var(--space-5); }
.head__title { font-size: var(--fs-h2); }
.head__line { color: var(--c-ink-soft); max-width: 40rem; }
.section--ink .head__line { color: color-mix(in srgb, var(--c-on-ink) 84%, transparent); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 var(--space-4); border: 1px solid transparent; border-radius: var(--radius-m);
  font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 800; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.button--go { background: var(--c-leaf); color: var(--c-ink); box-shadow: var(--shadow-s); }
.button--go:hover { background: var(--c-leaf-light); }
.button--go:active { transform: translateY(1px); }
/* Part 2: the button's lock. Four reticle corners close in on the main button under the pointer or the keyboard. */
.button--go { position: relative; }
.button--go::after {
  content: ""; position: absolute; inset: -13px; pointer-events: none; opacity: 0; color: var(--c-leaf);
  --ret-len: 12px; --ret-w: 2px;
  background:
    linear-gradient(currentColor, currentColor) left top / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) left top / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) right top / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) right top / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) left bottom / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) left bottom / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) right bottom / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) right bottom / var(--ret-w) var(--ret-len);
  background-repeat: no-repeat;
  transition: inset var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.button--go:hover::after, .button--go:focus-visible::after { inset: -7px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .button--go::after { transition: none; } }
.button--line { background: transparent; color: var(--c-brand-text); border-color: color-mix(in srgb, var(--c-brand) 40%, transparent); }
.button--line:hover { border-color: var(--c-brand); background: var(--c-brand-light); }
.button__arrow { flex: none; width: 20px; height: 20px; }
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid var(--c-leaf); outline-offset: 2px; }
.section--ink :where(a, button):focus-visible { outline-color: var(--c-leaf-light); }

/* A main button with its line under it */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-5); }
.cta-row__note { color: var(--c-ink-soft); font-size: var(--fs-small); }

/* ---------- Reticle corners: four thin brackets locking onto the moment that matters ---------- */
.reticle {
  --ret-gap: 10px; --ret-len: 16px; --ret-w: 2px;
  position: absolute; inset: calc(-1 * var(--ret-gap)); pointer-events: none; color: var(--c-leaf);
  background:
    linear-gradient(currentColor, currentColor) left top / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) left top / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) right top / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) right top / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) left bottom / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) left bottom / var(--ret-w) var(--ret-len),
    linear-gradient(currentColor, currentColor) right bottom / var(--ret-len) var(--ret-w),
    linear-gradient(currentColor, currentColor) right bottom / var(--ret-w) var(--ret-len);
  background-repeat: no-repeat;
}
.reticle--picker { --ret-gap: 7px; --ret-len: 14px; color: var(--c-brand); }

/* ---------- The booking card: a job landing, locked inside its reticle ---------- */
.booking {
  position: relative; display: flex; align-items: center; gap: var(--space-2);
  width: max-content; max-width: min(340px, 100%); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2);
  border-radius: var(--radius-m); background: var(--c-glass); color: var(--c-ink); box-shadow: var(--shadow-l);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.booking__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-s); background: var(--c-leaf); color: var(--c-ink); }
.booking__text { display: grid; gap: 2px; min-width: 0; }
.booking__title { font-size: var(--fs-ui); font-weight: 800; line-height: 1.25; }
.booking__sub { display: flex; align-items: center; gap: 0.35em; color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.3; }
.booking__rise { flex: none; color: var(--c-accent-text); }
.booking .reticle--card { --ret-gap: 9px; color: var(--c-leaf-light); }

/* ---------- The goal picker ---------- */
.picker { position: relative; display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); }
.picker__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker__legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--fs-ui); font-weight: 800; }
.picker__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-1); }
.picker__choice { position: relative; display: block; cursor: pointer; }
.picker__choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picker__choice span {
  display: grid; place-items: center; min-height: 48px; border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: var(--c-paper); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.picker__choice:hover span { border-color: var(--c-brand); }
.picker__choice input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-ink); }
.picker__choice input:focus-visible + span { outline: 3px solid var(--c-leaf); outline-offset: 2px; }
.picker__go { width: 100%; }
.picker__note { color: var(--c-ink-soft); font-size: var(--fs-small); text-align: center; }

/* ---------- The stop icon ---------- */
.stop {
  position: absolute; z-index: 8; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid color-mix(in srgb, var(--c-ink) 18%, transparent); border-radius: 50%;
  background: var(--c-glass); color: var(--c-ink); cursor: pointer; box-shadow: var(--shadow-s);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stop:hover { background: var(--c-paper); }
.tour__stop .stop__play { display: none; }
.tour__stop[aria-pressed="true"] .stop__play { display: inline; }
.tour__stop[aria-pressed="true"] .stop__pause { display: none; }

/* ---------- The site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: var(--space-4);
  height: 76px; padding: 0 var(--gutter); background: color-mix(in srgb, var(--c-paper) 95%, transparent);
  border-bottom: 1px solid var(--c-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { display: block; width: auto; height: 42px; }
.site-header__nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.nav__item a { color: var(--c-ink); font-weight: 700; font-size: var(--fs-ui); text-decoration: none; padding-block: var(--space-1); background: linear-gradient(var(--c-leaf), var(--c-leaf)) left bottom / 0 2px no-repeat; transition: background-size var(--dur-fast) var(--ease-out); }
.nav__item a:hover, .nav__item a[aria-current="page"] { background-size: 100% 2px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 0.4em; color: var(--c-ink); font-weight: 800; font-size: var(--fs-ui); text-decoration: none; white-space: nowrap; }
.site-header__phone svg { color: var(--c-accent-text); }
.site-header__cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 var(--space-3); border-radius: var(--radius-m); background: var(--c-leaf); color: var(--c-ink); font-weight: 800; font-size: var(--fs-ui); text-decoration: none; white-space: nowrap; }
.site-header__cta:hover { background: var(--c-leaf-light); }
.site-header__menu { display: none; }
/* round F1: the team beside the brand, "Teamed up with / Umbrella Local", where the bar has room for it */
.site-header__team { display: none; flex: none; margin: 0; padding-left: var(--space-3); border-left: 1px solid var(--c-line); line-height: 1.2; }
.site-header__team span { display: block; color: var(--c-ink-soft); font-size: 0.8125rem; font-weight: 600; }
.site-header__team b { display: block; color: var(--c-ink); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
@media (min-width: 1320px) { .site-header__team:not(.site-header__team--menu) { display: block; } }
@media (max-width: 1120px) {
  .site-header__team--menu { display: block; margin-top: var(--space-3); padding: 0; border: 0; }
  .site-header__team--menu span, .site-header__team--menu b { display: inline; }
  .site-header__team--menu span { font-size: var(--fs-small); }
  .site-header { height: 66px; gap: var(--space-3); }
  .site-header__logo img { height: 34px; }
  .site-header__menu { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 var(--space-3); border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font: 800 var(--fs-ui) var(--font-ui); cursor: pointer; }
  .site-header__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: var(--space-3) var(--gutter) var(--space-4); background: var(--c-paper); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-m); }
  .site-header[data-open] .site-header__nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item a { display: block; padding: var(--space-2) 0; border-bottom: 1px solid var(--c-line); background: none; }
  .site-header__phone span { display: none; }
  .site-header__phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius-m); }
}
@media (max-width: 640px) {
  .site-header__cta { display: none; }
  .site-header__logo img { height: 30px; }
}

/* ---------- The footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1.5fr 0.9fr 1.2fr 0.9fr 1.2fr; gap: var(--space-5) var(--space-4);
  padding: var(--space-6) max(var(--gutter), (100% - var(--max-w)) / 2) var(--space-4);
  background: var(--c-paper-alt); border-top: 1px solid var(--c-line); color: var(--c-ink); font-size: var(--fs-small);
}
.site-footer__logo img { display: block; width: auto; height: 46px; }
.site-footer__line { margin-top: var(--space-3); font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; }
.site-footer__team { margin-top: var(--space-1); color: var(--c-ink); font-weight: 700; }
.site-footer__area { margin-top: var(--space-2); color: var(--c-ink-soft); max-width: 22rem; }
.site-footer__title { margin-bottom: var(--space-2); font-weight: 800; font-size: var(--fs-ui); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-1); }
.site-footer a { color: var(--c-ink); text-decoration: none; }
.site-footer a:hover { color: var(--c-brand-text); text-decoration: underline; }
.site-footer__contact { display: grid; align-content: start; gap: var(--space-2); }
.site-footer__contact a { font-weight: 800; font-size: var(--fs-ui); }
.site-footer__contact address { font-style: normal; color: var(--c-ink-soft); }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--c-line); color: var(--c-ink-soft); }
.site-footer__legal ul { display: flex; gap: var(--space-4); }
.site-footer__legal a { color: var(--c-ink-soft); }
@media (max-width: 1180px) { .site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .site-footer { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer { grid-template-columns: 1fr; padding-bottom: calc(var(--space-4) + 72px); } }

/* ---------- The exit popup ---------- */
.exit { width: min(920px, 100% - 2 * var(--gutter)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--radius-l); background: transparent; color: var(--c-ink); }
.exit::backdrop { background: color-mix(in srgb, var(--c-ink) 66%, transparent); }
.exit__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-l); }
.exit[data-kit-on] .exit__in { animation: exit-in var(--dur-med) var(--ease-out); }
@keyframes exit-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.exit__picture { position: relative; min-height: 100%; overflow: hidden; background: var(--c-ink); }
.exit__picture img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 70% 50%; }
.exit__picture .booking { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-5); width: auto; }
.exit__words { display: grid; align-content: center; gap: var(--space-3); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-4); }
.exit__title { font-size: var(--fs-h3); line-height: 1.15; padding-right: var(--space-4); }
.exit__line { color: var(--c-ink-soft); }
.picker--exit { box-shadow: none; }
.exit__close { position: absolute; top: var(--space-2); right: var(--space-2); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink); cursor: pointer; }
.exit__close:hover { background: var(--c-paper-alt); }
html[data-kit-modal] { overflow: hidden; }

/* ---------- The call bar on the phone ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-1);
  padding: var(--space-1) var(--space-2) calc(var(--space-1) + env(safe-area-inset-bottom)); background: var(--c-ink);
  transform: translateY(110%); transition: transform var(--dur-med) var(--ease-out); visibility: hidden;
}
.callbar[data-kit-on] { transform: none; visibility: visible; }
.callbar a { display: grid; place-items: center; min-height: 50px; border-radius: var(--radius-m); font-weight: 800; font-size: var(--fs-ui); text-decoration: none; }
.callbar__call { color: var(--c-on-ink); border: 1px solid color-mix(in srgb, var(--c-on-ink) 35%, transparent); }
.callbar__cta { background: var(--c-leaf); color: var(--c-ink); }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- The thank-you page ---------- */
.thanks { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-block: var(--space-6) var(--section-y); display: grid; gap: var(--space-4); }
.thanks__headline { font-size: var(--fs-h1); }
.thanks__body { color: var(--c-ink-soft); font-size: var(--fs-body); max-width: 36rem; }
.thanks__next { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.thanks__next a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-m); font-weight: 800; text-decoration: none; border: 1px solid color-mix(in srgb, var(--c-brand) 40%, transparent); color: var(--c-brand-text); }
.thanks__next li:first-child a { background: var(--c-leaf); border-color: var(--c-leaf); color: var(--c-ink); }
.page-thanks main { background-image: linear-gradient(color-mix(in srgb, var(--c-line) 60%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-line) 60%, transparent) 1px, transparent 1px); background-size: 56px 56px; }

/* ================= Part 2: shared by the other pages ================= */

/* ---------- The FAQ (moved as it was from home.css: the home's #faq unchanged) ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-5); align-items: start; }
.faq__head { position: sticky; top: calc(76px + var(--space-4)); margin-bottom: 0; }
.faq__more { justify-self: start; }
.faq__list { display: grid; gap: var(--space-2); }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); }
.faq__item[open] { border-color: color-mix(in srgb, var(--c-brand) 45%, transparent); box-shadow: var(--shadow-s); }
.faq__item summary { position: relative; display: block; padding: var(--space-3) calc(var(--space-3) + 36px) var(--space-3) var(--space-3); font-weight: 800; font-size: var(--fs-ui); line-height: 1.35; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: var(--space-3); top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: var(--radius-s); background: var(--c-brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23163E69' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform var(--dur-fast) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 var(--space-3) var(--space-3); color: var(--c-ink-soft); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: var(--space-4); } .faq__head { position: static; } }

/* ---------- Ways: how the system brings them in, each its name and one line (Services#found, the trade pages) ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); margin: 0; padding: 0; list-style: none; }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px var(--space-3); align-content: start; padding-top: var(--space-3); border-top: 1px solid var(--c-line); }
.way__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-s); background: var(--c-brand-light); color: var(--c-brand); }
.way__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; }
.way__line { color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.5; }
.section--ink .way { border-top-color: color-mix(in srgb, var(--c-on-ink) 18%, transparent); }
.section--ink .way__icon { background: color-mix(in srgb, var(--c-brand-on-ink) 16%, transparent); color: var(--c-brand-on-ink); }
.section--ink .way__line { color: color-mix(in srgb, var(--c-on-ink) 80%, transparent); }
@media (max-width: 640px) { .ways { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- The page close: a band over its clip or photo, every page but the home ---------- */
.pclose { position: relative; display: grid; align-items: center; min-height: clamp(600px, 84svh, 780px); overflow: hidden; background: var(--c-ink); color: var(--c-on-ink); isolation: isolate; }
.pclose__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pclose__media > video, .pclose__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
/* a photo that moves: it closes in a little as the band crosses the screen, with the scroll alone */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pclose__photo { animation: pclose-near linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes pclose-near { from { transform: scale(1.0); } to { transform: scale(1.08); } }
/* the shade: one still layer under the words (centered by default, or from the words' side) */
.pclose__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 62% 70% at 50% 58%, var(--c-shade) 0%, color-mix(in srgb, var(--c-shade) 72%, transparent) 48%, color-mix(in srgb, var(--c-shade) 28%, transparent) 100%); }
.pclose--right .pclose__media::after { background: linear-gradient(270deg, var(--c-shade) 0%, color-mix(in srgb, var(--c-shade) 82%, transparent) 38%, color-mix(in srgb, var(--c-shade) 10%, transparent) 64%, transparent 78%); }
.pclose__in { position: relative; display: grid; justify-items: center; gap: var(--space-4); padding-block: 140px var(--space-6); text-align: center; pointer-events: none; }
.pclose__in > * { pointer-events: auto; }
.pclose--right .pclose__in { justify-items: start; text-align: left; padding-left: min(50%, 660px); }
.pclose__title { max-width: 18ch; font-size: var(--fs-h1); color: var(--c-on-ink); }
.pclose__line { max-width: 34rem; color: color-mix(in srgb, var(--c-on-ink) 90%, transparent); }
.pclose__cta { justify-content: center; margin-top: 0; }
.pclose--right .pclose__cta { justify-content: flex-start; }
.pclose .cta-row__note { color: color-mix(in srgb, var(--c-on-ink) 84%, transparent); }
/* the bookings landing over the picture: a kit sequence that holds its first card, the next one landing under it,
   each locking in its corners as it comes (--kit-in); stacked on the side clear of faces */
.pclose__cards { position: absolute; z-index: 2; top: 96px; right: max(var(--gutter), (100% - var(--max-w)) / 2); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); justify-items: end; width: min(340px, 100% - 2 * var(--gutter)); }
.pclose--card-left .pclose__cards { right: auto; left: max(var(--gutter), (100% - var(--max-w)) / 2); justify-items: start; }
.booking--pclose { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)); }
.booking--pclose .reticle--card { --ret-gap: calc(9px + (1 - var(--kit-in, 1)) * 16px); }
.pclose .stop--close { right: var(--space-4); bottom: var(--space-4); }
/* with bookings landing at the top, the words start under them, and the headline steps down to the h2 size */
@media (min-width: 761px) {
  .pclose:has(.pclose__cards) .pclose__in { padding-top: 330px; }
  .pclose:has(.pclose__cards) .pclose__title { font-size: var(--fs-h2); }
}
@media (max-width: 760px) {
  .pclose { display: block; min-height: 0; }
  .pclose__media { position: relative; z-index: 0; aspect-ratio: 16 / 10; }
  .pclose__media::after { background: none; }
  .pclose .stop--close { top: var(--space-2); right: var(--space-2); bottom: auto; }
  /* on the phone, with bookings, the picture stands taller (3:4) and they land on its foot, below the faces (each page
     sets its photo's crop), the stop icon beside them */
  .pclose:has(.pclose__cards) .pclose__media { aspect-ratio: 3 / 4; }
  .pclose__cards, .pclose--card-left .pclose__cards { top: auto; bottom: var(--space-2); right: var(--space-2); left: auto; width: min(300px, 100% - 72px); justify-items: end; gap: var(--space-2); }
  .pclose:has(.pclose__cards) .stop--close { top: auto; right: auto; bottom: var(--space-2); left: var(--space-2); }
  .pclose__in, .pclose--right .pclose__in { justify-items: start; text-align: left; padding: var(--space-4) 0 var(--space-6); }
  .pclose__cta, .pclose--right .pclose__cta { justify-content: flex-start; }
}
