/* ============================================================================
   GENERATED from css/hub.css by tools/build-hub-core.js. DO NOT EDIT.
   ----------------------------------------------------------------------------
   The Advisor Hub sheet for every screen except the design workspace: hub.css
   in the same order, minus the rules that can only match inside the
   workspace (tools/hub-css-owner.js). Edit css/hub.css and rebuild.
   ========================================================================== */

/* ============================================================================
   THE ADVISOR HUB
   ----------------------------------------------------------------------------
   V2 §15: "do not design a generic SaaS dashboard, design the private advisor
   extension of Discover Saint Lucia WELL."

   So this sheet inherits everything that carries the brand — tokens, the three
   type roles, .wrap, .btn, .eyebrow — and departs from the consumer sheet only
   where a working surface genuinely differs from an editorial one:

     · tighter rhythm. --section-y caps at 11rem, which is right for a brochure
       and absurd above a list of five people waiting for a phone call;
     · sans-serif for anything scanned. Libre Caslon is for reading, and an
       advisor checking a pipeline is not reading;
     · cards that mean something. A card here is a container with an edge
       because these really are separate objects, not decoration.

   It is a light surface throughout. The consumer site earns its dark sections
   with photography; a workspace at 8am does not.
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   RESET
   --------------------------------------------------------------------------
   chrome.css carries only box-sizing, focus and the skip link, and expects
   every page sheet to bring its own reset — site.css has one, and this sheet
   needs the same one now that the Hub uses the site's header and footer.

   Without `a { color: inherit }` the wordmark and the whole primary nav render
   in default browser blue on Hub pages. It was invisible while the Hub had a
   bespoke bar carrying its own `.hub-bar a` rule; deleting that bar took the
   colour with it.
   ══════════════════════════════════════════════════════════════════════════ */
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
::selection { background: var(--gold); color: var(--ink); }

/* ══════════════════════════════════════════════════════════════════════════
   PAGE
   ══════════════════════════════════════════════════════════════════════════ */
body {
  /* The browser's 8px default was never reset here, which inset the Hub band
     and the footer from both edges of the window on every Hub page. */
  margin: 0;
  background: var(--paper);
  color: var(--ivory-ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  /* Footer to the bottom on a short page — an empty state should not leave the
     footer floating mid-screen. */
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* `render()` supplies the `<main id="main">` wrapper (lib/page.js), so a Hub
   body must NOT open a second one — nested <main> is invalid, and the flex
   sizing below would land on the wrapper rather than on the content. The
   sticky footer is therefore keyed to #main, and .hub-main is a plain div
   inside it. */
#main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.hub-main {
  flex: 1 0 auto;
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem);
}

.wrap--narrow { max-width: 56rem; }

.hub-main h1 {
  font-family: var(--serif-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.14;
  /* Descender clearance. The same clipping that had to be fixed across the
     consumer headlines applies here — "Journeys" has a y in it. */
  padding-bottom: 0.08em;
  margin: 0 0 0.35em;
}

.hub-main h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.hub-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.hub-lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.hub-hint { font-size: var(--fs-small); color: var(--muted); margin: 0.6rem 0 0; }
.hub-hint a { color: inherit; }

.hub-back { margin: 0 0 1.25rem; font-size: var(--fs-small); }
.hub-back a { color: var(--muted); text-decoration: none; }
.hub-back a:hover { color: var(--ivory-ink); }

/* ══════════════════════════════════════════════════════════════════════════
   CARDS, SECTIONS
   ══════════════════════════════════════════════════════════════════════════ */
.hub-section { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }

.hub-card {
  background: #fff;
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  margin-bottom: 1.25rem;
}
.hub-card > :last-child { margin-bottom: 0; }
.hub-card p { margin: 0 0 0.9em; max-width: 62ch; }

.hub-greeting { margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem); }

.hub-notice,
.hub-flash {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 0.85rem 1.1rem;
  font-size: var(--fs-small);
  margin: 1rem 0 0;
  max-width: 58ch;
}
.hub-flash { margin-bottom: 1.5rem; }
.hub-flash--bad { border-left-color: var(--v-movement); }

/* ── Next best action ─────────────────────────────────────────────────────
   The one thing the Hub is confident enough to recommend. It gets the ink
   block because it is the only element on the page allowed to be loud. */
.hub-nba {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 3px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.hub-nba h2 {
  font-family: var(--serif-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
  padding-bottom: 0.06em;
  margin: 0 0 0.5em;
}
.hub-nba p { color: var(--mist); max-width: 54ch; margin: 0 0 1.5em; }
.hub-nba .eyebrow { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════════
   FUNNEL + LINK
   ══════════════════════════════════════════════════════════════════════════ */
.hub-funnel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--hairline-l);
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hub-stat {
  background: #fff;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hub-stat-n {
  font-family: var(--serif-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--teal);
}
.hub-stat-label { font-size: var(--fs-small); font-weight: 600; }
.hub-stat-note { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

.hub-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
  /* Bottom margin added when prize draws started stacking a link row above a
     row of buttons; on Home it is the last thing in its card, so it was never
     needed there. */
  margin-bottom: 1rem;
}
.hub-link-row input {
  flex: 1 1 18rem;
  min-width: 0;
  font: inherit;
  font-size: var(--fs-small);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  background: var(--paper-2);
  color: inherit;
}
.hub-field-label {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hub-qr {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.hub-qr svg { border: 1px solid var(--hairline-l); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════════════════
   JOURNEY LISTS
   ══════════════════════════════════════════════════════════════════════════ */
.hub-views {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline-l);
}
.hub-views a {
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-small);
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.hub-views a:hover { color: var(--ivory-ink); }
.hub-views a.is-current { color: var(--ivory-ink); font-weight: 600; border-bottom-color: var(--gold-deep); }

.hub-journeys { list-style: none; margin: 0; padding: 0; }
.hub-journey + .hub-journey { border-top: 1px solid var(--hairline-l); }
.hub-journey a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1.5rem;
  align-items: baseline;
  padding: 1rem 0.5rem;
  text-decoration: none;
  color: inherit;
}
.hub-journey a:hover { background: var(--paper-2); }
.hub-journey-name { font-weight: 600; font-size: 1.05rem; }
.hub-journey-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hub-journey-villages { font-size: var(--fs-small); color: var(--muted); }

.hub-group { margin-bottom: 2rem; }
.hub-group-head { display: flex; align-items: center; gap: 0.75rem; }
.hub-group-n { font-size: var(--fs-small); color: var(--muted); }

.hub-more { font-size: var(--fs-small); margin: 1rem 0 0; }

/* ── Stage chips ──────────────────────────────────────────────────────────
   Colour is a hint, never the only signal — the label is always present, so
   these read correctly in greyscale and to anyone who does not distinguish
   the hues. */
.hub-stage {
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-2);
  color: var(--muted);
  white-space: nowrap;
}
.hub-stage[data-stage="new"]       { background: #FBEBD1; color: #7A5411; }
.hub-stage[data-stage="contacted"] { background: #DCEBEB; color: var(--v-ocean-ink); }
.hub-stage[data-stage="discovery"] { background: #E3EADF; color: var(--v-rainforest-ink); }
.hub-stage[data-stage="planning"]  { background: #DEE9E9; color: var(--v-longevity-ink); }
.hub-stage[data-stage="booked"]    { background: var(--teal); color: var(--paper); }
.hub-stage[data-stage="closed"]    { background: var(--paper-2); color: var(--muted); }

/* ── Admin tags ───────────────────────────────────────────────────────────
   A second, quieter badge alongside .hub-stage. Stage says where something is
   in a process; a tag says what kind of thing it is. Attribute-driven, like
   .hub-stage, so a new kind is a selector rather than a new class. */
.hub-tag {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 2px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.1em;
  background: var(--paper-2);
  color: var(--muted);
  white-space: nowrap;
}
.hub-tag[data-tag="admin"]   { background: var(--ink); color: var(--gold); }
.hub-tag[data-tag="test"]    { background: #EDE4F1; color: #5B3A6B; }
.hub-tag[data-tag="locked"]  { background: #F6DFD9; color: #8A3B23; }
.hub-tag[data-tag="referral"] { background: #E3F0EE; color: #0B5859; }
.hub-tag[data-tag="waiting"] { background: #FBEBD1; color: #7A5411; }
.hub-tag[data-tag="create"]  { background: #DFEDE2; color: #2C5A38; }
.hub-tag[data-tag="skip"]    { background: var(--paper-2); color: var(--muted); }

/* ── The danger zone ──────────────────────────────────────────────────────
   Deliberately not styled as an alarm. A red-bordered box shouting DANGER is
   something people learn to click past; a card that reads slightly differently
   from its neighbours and makes you type a code is one they actually read. */
.hub-danger { border-color: rgba(138, 59, 35, 0.35); }
.hub-danger h2 { color: #8A3B23; }
.hub-danger form + form,
.hub-danger .hub-erase { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline-l); }
.hub-danger .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

/* Selects are not otherwise used in the Hub, so this is the whole of their
   styling — matched to .hub-field input so a form does not look assembled from
   two different kits. */
.hub-field select {
  width: 100%;
  font: inherit;
  font-size: var(--fs-body);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  background: var(--paper);
  color: inherit;
}
.hub-field select:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 1px; }

.hub-reveal { margin-top: 0.75rem; }
.hub-reveal .btn { width: auto; }

.hub-file { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 0.5rem; }
.hub-confirm { margin-top: 1.5rem; }

/* Each action is its own <form> so it can POST a single named action without
   JavaScript. Stacked, full width, so two adjacent buttons are never mistaken
   for one control with two halves. */
.hub-action { margin: 0 0 0.5rem; }
.hub-action:last-child { margin-bottom: 0; }
.hub-action .btn { width: 100%; justify-content: center; }

/* ── Empty states ─────────────────────────────────────────────────────── */
.hub-empty {
  border: 1px dashed var(--hairline-l);
  border-radius: 3px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--paper-2);
}
.hub-empty h3 {
  font-family: var(--serif-display);
  font-size: 1.35rem;
  padding-bottom: 0.06em;
  margin: 0 0 0.5em;
}
.hub-empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.5em; }

/* ══════════════════════════════════════════════════════════════════════════
   JOURNEY DETAIL
   ══════════════════════════════════════════════════════════════════════════ */
.hub-detail-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.hub-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0.75rem; }
.hub-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0;
}

.hub-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}
@media (max-width: 860px) {
  .hub-detail-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The briefing is the one place in the Hub that is read rather than scanned,
   so it gets the reading face and a reading measure. */
.hub-card--brief p {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.68;
  max-width: 58ch;
}

.hub-quote { margin: 1.5rem 0; }
.hub-quote blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
}
.hub-quote figcaption {
  margin-top: 0.5rem;
  padding-left: 1rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.hub-eclipse {
  margin-top: 1.5rem;
  background: var(--eclipse-midnight);
  color: var(--eclipse-sand);
  padding: 1.1rem 1.25rem;
  border-radius: 3px;
}
.hub-eclipse .eyebrow { color: var(--eclipse-copper-l); margin-bottom: 0.7em; }
.hub-eclipse p { font-family: var(--serif); margin: 0; max-width: 56ch; }

.hub-prompts { margin: 0; padding: 0; list-style: none; }
.hub-prompts li {
  padding: 0.75rem 0 0.75rem 1.5rem;
  position: relative;
  max-width: 58ch;
}
.hub-prompts li + li { border-top: 1px solid var(--hairline-l); }
.hub-prompts li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.45em;
  width: 0.6rem; height: 1px;
  background: var(--gold-deep);
}

.hub-villages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.hub-villages li { font-size: var(--fs-small); }

.hub-answers { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; }
.hub-answers dt { font-size: 0.8rem; color: var(--muted); }
.hub-answers dd { margin: 0; font-size: var(--fs-small); font-weight: 600; }

/* ── Stage control + notes ────────────────────────────────────────────── */
.hub-stages { display: grid; gap: 0.15rem; margin-bottom: 1rem; }
.hub-stage-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 2px;
  font-size: var(--fs-small);
  cursor: pointer;
}
.hub-stage-opt:hover { background: var(--paper-2); }
.hub-stage-opt:focus-within { outline: 2px solid var(--gold-deep); outline-offset: 1px; }

/* A browser's default checkbox is 13px. The wrapping <label> makes the whole
   row tappable, so it was never unusable — but the box itself is the thing a
   thumb aims at, and 13px is half of what WCAG 2.5.8 asks for. Measured at
   380px on the undertaking gate, which is the one checkbox in this product
   somebody MUST tick before they can go anywhere.
   Applies to the delete confirmations too, which is the right direction: those
   are the tickboxes it matters most to hit deliberately. */
.hub-stage-opt input[type="checkbox"] {
  accent-color: var(--teal);
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin: 0;
}

.hub-note-form { margin-bottom: 1.5rem; }
.hub-notes { list-style: none; margin: 0; padding: 0; }
.hub-notes li { padding: 0.9rem 0; border-top: 1px solid var(--hairline-l); }
.hub-notes p { margin: 0 0 0.3rem; white-space: pre-wrap; font-size: var(--fs-small); }
.hub-note-when { font-size: 0.78rem; color: var(--muted); }

/* ── Stage card: nudges, departure, closing reasons, stage notes (13 Nov) ── */
.hub-stage-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.75rem; }
.hub-stage-row .hub-stage-opt { flex: 0 0 auto; min-width: 9.5rem; }
.hub-stage-opt input[type="radio"] { accent-color: var(--teal); width: 1.1rem; height: 1.1rem; margin: 0; flex: 0 0 auto; }
.hub-stage-date { display: none; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.hub-stage-date input { font: inherit; color: var(--ink); padding: 0.3rem 0.5rem; border: 1px solid var(--hub-line); border-radius: 6px; background: #fff; }
.hub-stage-row--booked:has(input[name="stage"]:checked) .hub-stage-date { display: inline-flex; }
.hub-nudge-wrap { flex: 1 1 13rem; padding: 0.15rem 0; }
.hub-nudge { font-size: 0.82rem; color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: rgba(217, 160, 60, 0.7); cursor: pointer; }
.hub-nudge:hover { text-decoration-color: currentColor; }
.hub-nudge-hint { margin: 0.2rem 0 0; font-size: 0.76rem; color: var(--muted); }
.hub-nudge-hint a { color: inherit; text-underline-offset: 2px; }
.hub-stage-fact { margin: 0 0 0.4rem; font-size: 0.85rem; color: var(--ink); }

.hub-close-reasons { display: none; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); }
.hub-stage-form:not(.is-enhanced):has(#stage-closed:checked) .hub-close-reasons { display: block; }
.hub-close-title { margin: 0 0 0.25rem; font-weight: 600; }
.hub-close-dialog .hub-close-reasons { display: grid; gap: 1rem; margin: 0; padding: 0; border: 0; }
.hub-close-dialog .hub-close-title { display: none; }
.hub-close-dialog .hub-close-reasons > .hub-hint { margin: 0; }
.hub-reason-group { border: 0; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.hub-reason-group legend { padding: 0; margin-bottom: 0.35rem; font-size: var(--fs-label, 0.72rem); letter-spacing: var(--track-label, 0.12em);
  text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hub-reason { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.5rem 0.6rem; border-radius: var(--hub-r-sm); cursor: pointer; }
.hub-reason:hover { background: var(--paper-2); }
.hub-reason:has(input:checked) { background: var(--hub-cool, #EEF6F5); }
.hub-reason input { accent-color: var(--teal); width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; flex: 0 0 auto; }
.hub-reason strong { display: block; font-size: 0.92rem; font-weight: 600; }
.hub-reason small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.hub-dialog-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.6rem;
  padding: 1rem 1.5rem; background: #fff; border-top: 1px solid var(--hub-line); }
.hub-close-need { margin: 0 auto 0 0; font-size: 0.85rem; color: #A23B22; }
.hub-close-dialog { max-height: min(90dvh, 900px); overflow-y: auto; }

.hub-notes .hub-note-meta { margin: 0; white-space: normal; }
.hub-note-ago { font-size: 0.78rem; color: var(--muted); }
.hub-note--stage p:not(.hub-note-meta) { color: var(--muted); }
.hub-note-kind { display: inline-block; margin-bottom: 0.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }

/* ══════════════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════════════ */
.hub-auth {
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
}
.hub-auth-card {
  width: 100%;
  max-width: 30rem;
  background: #fff;
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.hub-auth-card h1 {
  font-family: var(--serif-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  padding-bottom: 0.08em;
  margin: 0 0 0.4em;
}
.hub-auth-card .hub-lead { font-size: var(--fs-body); margin-bottom: 1.75rem; }
.hub-auth-alt { font-size: var(--fs-small); color: var(--muted); margin: 1.5rem 0 0; }
.hub-auth-alt a { color: var(--gold-deep); }

.hub-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hub-field { display: block; }
.hub-field--wide { grid-column: 1 / -1; }
.hub-field input,
.hub-field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-body);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  background: var(--paper);
  color: inherit;
}
.hub-field textarea { resize: vertical; line-height: 1.55; }
.hub-field input:focus-visible,
.hub-field textarea:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 1px;
  background: #fff;
}
.hub-opt { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* The honeypot. Off-screen rather than display:none, because some bots skip
   fields they can tell are hidden. Also hidden from assistive technology, so
   nobody using a screen reader is asked for a company name that does not
   exist. */
.hub-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.hub-form-status { font-size: var(--fs-small); color: var(--muted); margin: 0.9rem 0 0; min-height: 1.4em; }
.hub-form-status[data-state="bad"] { color: #9A3B21; }

/* ══════════════════════════════════════════════════════════════════════════
   PHONE
   The Hub's real first screen. An advisor opens a notification on a phone;
   §22 makes 380px a pass/fail width rather than a nice-to-have.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 620px) {
  .hub-journey a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
  .hub-journey-meta {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
  .hub-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hub-stat-n { font-size: 1.8rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MY CAMPAIGN
   The prompt is a block to be taken away, not a field to be filled — so it
   reads as something quoted rather than something asked for.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-prompt {
  flex: 1 1 100%;
  width: 100%;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.8rem;
  line-height: 1.55;
  padding: 0.9rem 1rem;
  border: 1px solid var(--hairline-l);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--paper-2);
  color: var(--ivory-ink);
  resize: vertical;
}

/* Textareas in the intake match the inputs beside them — without this they
   inherit the browser's monospace and the form looks assembled from two kits. */
.hub-field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-small);
  line-height: 1.55;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  background: var(--paper-2);
  color: inherit;
  resize: vertical;
}
.hub-field textarea::placeholder { color: var(--muted); opacity: 0.75; }

/* ══════════════════════════════════════════════════════════════════════════
   THE INTRODUCTION
   Picking a person and reading an email — so it is a list of people and a
   preview of an email, and nothing else competes for attention.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-advisor-picks { display: grid; gap: 0.5rem; margin: 0 0 1.5rem; }

.hub-pick {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  cursor: pointer;
}
.hub-pick:hover { background: var(--paper-2); }
.hub-pick:focus-within { outline: 2px solid var(--gold-deep); outline-offset: 1px; }
.hub-pick input { accent-color: var(--teal); width: 1.15rem; height: 1.15rem; flex: 0 0 auto; margin-top: 0.15rem; }
.hub-pick-body { display: flex; flex-direction: column; gap: 0.15rem; font-size: var(--fs-small); }
.hub-pick-body strong { font-size: 1rem; }
.hub-pick-market { color: var(--muted); }

/* The email as it will arrive. Inset and on paper so it reads as a preview of
   something else rather than as more of this page. */
.hub-mail-preview {
  background: var(--paper-2);
  border: 1px solid var(--hairline-l);
  border-radius: 2px;
  padding: clamp(1rem, 3vw, 1.5rem);
}
.hub-mail-preview p { max-width: none; }

/* ══════════════════════════════════════════════════════════════════════════
   PRIZE DRAWS
   Built from the cards, stats and link rows that already exist. A draw is an
   ordinary thing an advisor does, not a mode the Hub enters, so it gets no
   special colour — only the one tag that marks an entrant apart from an
   ordinary Journey.
   ══════════════════════════════════════════════════════════════════════════ */
/* The lead pool. Teal rather than gold: it is a statement of fact about an
   account, not something needing attention. */
.hub-tag[data-tag="house"] {
  background: rgba(0, 166, 168, 0.14);
  color: var(--teal-deep, #00706F);
}

.hub-tag[data-tag="draw"] {
  background: rgba(217, 160, 60, 0.14);
  color: var(--gold-deep);
}

.hub-sweeps-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.hub-sweeps-head h2 { margin: 0; }

.hub-funnel--tight { margin: 1rem 0 1.25rem; }

/* ── One question, with its own prompt ────────────────────────────────────
   The label and the Ask button share a row so the button belongs to the
   question rather than floating near it. */
.hub-field-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.btn--xs {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.06em;
}
.hub-ask + .hub-ask { margin-top: 0.4rem; }

/* Off screen, NOT display:none. The [data-copy] handler falls back to
   input.select() on browsers without the async clipboard, and a display:none
   element cannot be selected — so hiding it the obvious way would break the
   fallback silently on exactly the browsers that need it. */
.hub-offscreen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Sits directly under the three totals, because it is the sentence that makes
   them readable: without it, "0 visits" and "no NEW visits" look the same, and
   an advisor who has just put their link somewhere cannot tell whether it
   worked. Pulled up against the grid — the grid carries 1.5rem of bottom
   margin for the block that normally follows it. */
.hub-funnel-when {
  margin: -1rem 0 1.5rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 62ch;
}

/* A finished draw is a row, not a card — see the row() comment in the screen.
   The list itself is .hub-journeys, reused wholesale from the Journeys screen. */
.hub-archive { margin-top: 0.25rem; }
.hub-archive summary {
  cursor: pointer;
  padding: 0.75rem 0;
  font-size: var(--fs-small);
  color: var(--muted);
  border-top: 1px solid var(--hairline-l);
}
.hub-archive summary:hover { color: var(--ivory-ink); }

/* The create form once draws exist: a card that happens to be collapsed, so it
   sits in the same rhythm as the cards above it rather than reading as a
   different kind of thing. */
.hub-create > summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.hub-create > summary:hover { color: var(--ivory-ink); }
.hub-create[open] > summary { margin-bottom: 1.1rem; }

@media (max-width: 620px) {
  .hub-sweeps-head { flex-direction: column; gap: 0.5rem; }
  .hub-link-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   THE UNDERTAKING GATE
   The only screen an advisor cannot navigate away from, so it is the only one
   that gets a narrow measure: nothing else on the page, and a line length that
   makes five obligations genuinely readable rather than skimmed past.
   ══════════════════════════════════════════════════════════════════════════ */
.wrap--narrow { max-width: 44rem; }

.hub-gate { padding: 2rem 1.75rem 1.75rem; }
.hub-gate h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0.3rem 0 0.75rem; }

.hub-gate-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.hub-gate-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
  font-size: var(--fs-small);
}
.hub-gate-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hub-gate-form {
  margin: 1.75rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-l);
}
.hub-gate-form .btn { margin-top: 1rem; }

@media (max-width: 620px) {
  .hub-gate { padding: 1.5rem 1.25rem; }
  .hub-gate-form .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PRIVACY REQUESTS
   Three small additions for /hub/admin/subject. The screen is otherwise built
   from cards, fields and the danger zone that already exist — a rights request
   is administrative work like any other, and giving it its own visual language
   would suggest it is exceptional rather than routine.
   ══════════════════════════════════════════════════════════════════════════ */

/* A warning that is a sentence rather than a banner. Used where something the
   policy promises has stopped being true — a dead retention job, an incomplete
   erasure — so it must read as unmistakably wrong without shouting on a screen
   that is fine 364 days a year. */
.hub-hint--bad {
  color: #8A3B23;
  border-left: 2px solid rgba(138, 59, 35, 0.4);
  padding-left: 0.7rem;
}

.hub-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.hub-search .hub-field { flex: 1 1 22rem; margin: 0; }
.hub-search .btn { flex: 0 0 auto; }

/* The consent wording, collapsed by default. It is the most important thing on
   the screen when somebody asks "what did I agree to" and clutter the rest of
   the time, which is exactly what <details> is for. */
.hub-consent { margin-top: 1rem; font-size: var(--fs-small); }
.hub-consent summary {
  cursor: pointer;
  color: var(--muted);
  padding: 0.35rem 0;
}
.hub-consent summary:hover { color: var(--ivory-ink); }
.hub-consent p {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--hairline-l);
  border-left: 2px solid var(--gold);
  color: var(--ivory-ink);
  line-height: 1.6;
}

@media (max-width: 620px) {
  .hub-search .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── The 30-day plan ──────────────────────────────────────────────────────
   Spec §9's deliverable, and the shape follows how it is used: somebody opens
   this on a Monday, on a phone, and wants to know what this week asks of them.
   So weeks are the structure and every piece of copy is a box you can paste
   from, not a document you scroll.

   Nothing here introduces a colour. Warnings borrow the gold rule already used
   by .hub-notice and the one blocking state borrows --v-movement, the same
   token .hub-flash--bad uses — full-saturation deck colour stays where the
   brand puts it, in the loader's rings on the overlay below and nowhere else. */
.gtm-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 0 0 1.25rem;
}
.gtm-locked { margin-top: 0; }

.gtm-week { margin: 1.75rem 0 0; }
.gtm-week-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline-l);
  margin-bottom: 0.9rem;
}
.gtm-week-n {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.gtm-week-head h3 { margin: 0; font-size: var(--fs-lead); }

.gtm-block {
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  padding: clamp(0.85rem, 2.5vw, 1.15rem);
  margin-bottom: 0.85rem;
  background: #fff;
}
/* An action with no copy attached — "call two clients" wants a note on what to
   say, not a caption. Rendering it as an empty box would imply a failure. */
.gtm-block--bare { background: var(--paper); }

.gtm-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.gtm-block-head h4 { margin: 0 0 0.25rem; font-size: var(--fs-body); }
.gtm-block-head .hub-hint { margin: 0; }

.gtm-chan {
  flex: none;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 0.2em 0.65em;
  white-space: nowrap;
}

.gtm-block-body { margin-top: 0.85rem; }

.gtm-label {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.gtm-edited {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-deep);
}

.gtm-body {
  width: 100%;
  /* The same measure .hub-card p uses. Without it a caption gets the full card
     — 1202px on a 2000px screen — and nobody can read a 1200px line, least of
     all to check it before publishing. The box is what the copy will look like
     wherever it lands, so it should not be shaped like nowhere. */
  max-width: 62ch;
  font-family: var(--sans);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  padding: 0.75rem 0.85rem;
  resize: vertical;
}
.gtm-body[readonly] { background: var(--paper); }
.is-editing .gtm-body {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(217, 160, 60, 0.18);
}

.gtm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

/* ── The checker's verdict ───────────────────────────────────────────────
   Above the copy, never below it. A warning underneath text somebody has
   already read and copied has arrived too late to be a warning. */
.gtm-flags {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 0.75rem 0.95rem;
  margin: 0 0 0.75rem;
  font-size: var(--fs-small);
}
.gtm-flags--high { border-left-color: var(--v-movement); }
.gtm-flags-head {
  margin: 0 0 0.4rem;
  font-weight: 700;
  font-family: var(--sans);
}
.gtm-flags ul { margin: 0; padding-left: 1.1rem; }
.gtm-flags li { margin-bottom: 0.4rem; }
.gtm-flags li:last-child { margin-bottom: 0; }
.gtm-instead {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

/* CASL and the TCPA land on the sender, who is the advisor. A template handed
   over without this is a liability given away as a gift. */
.gtm-consent {
  font-size: var(--fs-small);
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--hairline-l);
  border-radius: 3px;
  padding: 0.6rem 0.8rem;
  margin: 0 0 0.75rem;
}
.gtm-failed {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0;
}

/* ── The thinking overlay ────────────────────────────────────────────────
   The minute where the product either feels like it works or feels like it
   has hung. It says what it is doing, and the loader's rings are the one place
   in the Hub the brand's full-saturation colour belongs. */
.gtm-thinking {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(18, 48, 47, 0.94);
  padding: var(--gutter);
}
.gtm-thinking[hidden] { display: none; }
body.gtm-busy { overflow: hidden; }

.gtm-thinking-inner { text-align: center; max-width: 26rem; }
.gtm-thinking-step {
  font-family: var(--serif-display);
  font-size: var(--fs-lead);
  color: var(--paper);
  margin: 1.25rem 0 0.85rem;
}
.gtm-thinking .hub-hint { color: var(--mist); }
.gtm-thinking-note { margin-top: 0.9rem; }

.gtm-ring { width: clamp(76px, 22vw, 108px); height: auto; }
.gtm-ring circle {
  fill: none;
  stroke-width: 2;
  transform-origin: 60px 60px;
}
.gtm-ring-1 { stroke: var(--teal-bright); animation: gtm-spin 3.2s linear infinite; }
.gtm-ring-2 { stroke: var(--gold);        animation: gtm-spin 2.4s linear infinite reverse; }
.gtm-ring-3 { stroke: var(--coral);       animation: gtm-spin 4s   linear infinite; }
.gtm-ring circle {
  stroke-dasharray: 90 210;
  stroke-linecap: round;
}
@keyframes gtm-spin { to { transform: rotate(360deg); } }

/* The gold journey line, filling as pieces land. */
.gtm-thinking-bar {
  height: 2px;
  background: var(--hairline-d);
  border-radius: 2px;
  overflow: hidden;
}
.gtm-thinking-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .gtm-ring circle { animation: none; }
  .gtm-thinking-bar span { transition: none; }
}

/* ── Narrow phones ───────────────────────────────────────────────────────
   360–380px is a real Android width, and the block head is the thing that
   breaks first: a long action title beside a channel badge leaves the title
   two words a line. Below 460 the badge moves under the title instead. */
@media (max-width: 460px) {
  .gtm-block-head { flex-direction: column; gap: 0.4rem; }
  .gtm-chan { align-self: flex-start; }
  .gtm-actions .btn { flex: 1 1 auto; }

  /* Padding was nesting four deep — .wrap, .hub-card, .gtm-block and then the
     textarea's own — which left 253px of column on a 380px phone against the
     282px a plain paragraph in the same card gets. The block's side padding is
     the redundant level: the card already holds the content off the edge. So
     on narrow screens blocks become stacked rows divided by a rule rather than
     boxes inside a box, and the copy gets its width back. */
  .gtm-block {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .gtm-block--bare { background: transparent; }
}

/* ── Angles ──────────────────────────────────────────────────────────────
   Behind a disclosure because four more buttons on a block that already has
   four is noise. Closed by default: an advisor who is happy with the copy
   should never have to look at this. */
.gtm-angles {
  margin-top: 0.7rem;
  border-top: 1px solid var(--hairline-l);
  padding-top: 0.6rem;
}
.gtm-angles > summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--muted);
  list-style: none;
  /* A generous target — this sits between two rows of buttons on a phone and
     a mis-tap opens something the advisor did not want. */
  padding: 0.3rem 0;
}
.gtm-angles > summary::-webkit-details-marker { display: none; }
.gtm-angles > summary::before {
  content: '＋';
  margin-right: 0.4em;
  color: var(--gold-deep);
}
.gtm-angles[open] > summary::before { content: '−'; }
.gtm-angles > summary:hover { color: var(--ink); }
.gtm-angles > summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 2px;
}
.gtm-angle-now {
  color: var(--gold-deep);
  font-style: italic;
}
.gtm-angles .hub-hint { margin: 0.4rem 0 0.6rem; }

/* ── The persona capture ─────────────────────────────────────────────────
   One question per screen. A page showing five at once reads as a form; five
   screens showing one each read as a conversation, and each can afford to say
   why it is asking — which is the only thing that makes a question feel worth
   answering. */
.wrap--narrow { max-width: 46rem; }

.pq-rail {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
}
.pq-dot {
  height: 3px;
  flex: 1 1 0;
  border-radius: 2px;
  background: var(--hairline-l);
}
.pq-dot.is-done { background: var(--gold-deep); }
.pq-dot.is-now  { background: var(--gold); }

.pq-count {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ── Two h2s that are NOT section labels ─────────────────────────────────
   `.hub-main h2` is the Hub's small uppercase section-label convention, and at
   (0,1,1) it outranks a single class. Both of these are h2 for document
   structure — the question IS the heading of its screen — but neither is a
   label, so they need to win explicitly.

   This shipped broken for exactly as long as it took to measure it: the
   question rendered as 13px uppercase grey with 4px of letter-spacing, while
   every structural check (twelve options, five dots, no overflow) passed. A
   count can be right while the page is unreadable. */
.hub-main .pq-ask {
  font-family: var(--serif-display);
  font-size: var(--fs-lead);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  line-height: 1.25;
  /* "you" has a descender and this is a display size. */
  padding-bottom: 0.06em;
  margin: 0 0 0.5rem;
}
.pq-why {
  color: var(--muted);
  font-size: var(--fs-small);
  margin: 0 0 0.25rem;
  max-width: 52ch;
}

.pq-opts {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
}

/* The whole row is the target. A 14px radio is a miss waiting to happen on a
   phone, and this is a five-screen flow where one mis-tap costs a step. */
.pq-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.pq-opt:hover { border-color: var(--gold-deep); }
.pq-opt input {
  flex: none;
  margin-top: 0.2rem;
  accent-color: var(--gold-deep);
  width: 1.05rem;
  height: 1.05rem;
}
/* :has() drives the selected state from the input itself, so the styling
   cannot disagree with what will actually be submitted. The .is-on class from
   the server covers the first paint and browsers without :has(). */
.pq-opt.is-on,
.pq-opt:has(input:checked) {
  border-color: var(--gold-deep);
  background: var(--paper);
}
.pq-opt:has(input:focus-visible) {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.pq-opt-body { display: block; }
.pq-opt-label { display: block; font-size: var(--fs-small); line-height: 1.45; }
.pq-opt-detail {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

.pq-actions { margin-top: 1.25rem; align-items: center; }

/* ── The reveal ──────────────────────────────────────────────────────────
   A read, not a verdict — so it carries what this profile gets wrong beside
   what it is good at, and the correction sits directly underneath. */
.pq-reveal { border-left: 3px solid var(--gold); }
.hub-main .pq-reveal-head {
  font-family: var(--serif-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  line-height: 1.15;
  padding-bottom: 0.06em;
  margin: 0.2rem 0 0.5rem;
}
.pq-reveal-lead {
  font-size: var(--fs-lead);
  max-width: 44ch;
  margin: 0 0 0.9rem;
}
.pq-reveal-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-l);
}
@media (min-width: 34rem) {
  .pq-reveal-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.pq-reveal-grid .hub-hint { margin: 0; }

/* ── The loop-back, and the strip that says what a plan stands on ────────
   Both are quiet on purpose. The report deals in single digits and presenting
   eleven visits like analytics is how a small number is made to feel like a
   failure. */
.gtm-provenance {
  font-size: var(--fs-small);
  color: var(--muted);
  background: var(--paper);
  border-left: 2px solid var(--hairline-l);
  padding: 0.7rem 0.9rem;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
.gtm-provenance strong { color: var(--ink); font-weight: 700; }
.gtm-provenance-size { display: inline-block; margin-top: 0.35rem; }

.gtm-report { border-left: 3px solid var(--teal); --card-rule: var(--teal); }

/* A CARD INSIDE A CARD COMPOUNDS ITS GUTTERS. The report sits inside the plan
   card, which sits inside .wrap — three 20px insets stacked. At 380px that
   left the Foundations note 238px of a 380px viewport, a third of the width
   spent on nothing. It is invisible at the 2000px this gets reviewed on.

   Below the phone breakpoint a nested card gives back the horizontal inset and
   keeps only its rule, which is what actually communicates the nesting.

   The rule COLOUR goes through a variable on purpose: `.hub-card .hub-card` is
   (0,2,0) and would quietly beat `.gtm-report`'s own (0,1,0) border-left,
   turning the teal rule grey with nothing failing anywhere. */
@media (max-width: 620px) {
  .hub-card .hub-card {
    padding: 1rem 0 0 0.9rem;
    background: none;
    border: 0;
    border-left: 3px solid var(--card-rule, var(--hairline-l));
    border-radius: 0;
  }
}
.gtm-report-weeks { margin: 0.9rem 0 0; padding-left: 1.1rem; }
.gtm-report-weeks li { margin-bottom: 0.45rem; font-size: var(--fs-small); }
.gtm-report-weeks li:last-child { margin-bottom: 0; }

.gtm-report-next {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-l);
}

/* ── PROGRESSIVE DISCLOSURE ───────────────────────────────────────────────
   Two folds: the weeks that are not this one, and the profile beneath a plan.
   Both are native <details>, so they work with JavaScript off, answer Ctrl-F,
   announce themselves to a screen reader and print open. A disclosure built
   from a click handler and a hidden class does none of those. */
.gtm-more,
.hub-fold { margin: 1.5rem 0 0; }
.hub-fold { margin-bottom: 1.25rem; }

.gtm-more > summary,
.hub-fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--hairline-l);
  border-radius: 3px;
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
}
.gtm-more > summary::-webkit-details-marker,
.hub-fold > summary::-webkit-details-marker { display: none; }

/* The affordance. A disclosure with no visible control is a paragraph that
   happens to be clickable, and nobody clicks it. */
.gtm-more > summary::before,
.hub-fold > summary::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
  flex: none;
  align-self: center;
}
.gtm-more[open] > summary::before,
.hub-fold[open] > summary::before { transform: rotate(45deg); }

.gtm-more > summary:hover,
.hub-fold > summary:hover { border-color: var(--teal); }
.gtm-more > summary:focus-visible,
.hub-fold > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.gtm-more-n,
.hub-fold-n {
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
}
.hub-fold-t { font-weight: 700; }

/* The profile fold holds whole cards, which bring their own frames — so the
   fold itself adds none, or every section would sit in a box in a box. */
.hub-fold-body { margin-top: 1.25rem; }
.hub-fold-body > .hub-card:last-child,
.hub-fold-body > form:last-child { margin-bottom: 0; }

/* ── Make it yours: the shot list and the two fields the advisor writes ──── */
.gtm-yours { margin: 0.9rem 0 0; }
.gtm-yours > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--teal-ink, var(--ink));
}
.gtm-yours > summary::-webkit-details-marker { display: none; }
.gtm-yours > summary::before {
  content: '+ ';
  color: var(--teal);
  font-weight: 700;
}
.gtm-yours[open] > summary::before { content: '– '; }
.gtm-yours > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.gtm-yours-n { font-weight: 400; color: var(--muted); }

.gtm-yours-part { margin: 0.9rem 0 0; }
.gtm-yours-part .gtm-label { margin-bottom: 0.35rem; }

/* The shot itself is the instruction — set as a line to read, not a note to
   skim past. */
.gtm-shot-line {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif-text, inherit);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
}
.gtm-shot-spec,
.gtm-shot-avoid {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.6;
}
.gtm-shot-spec li,
.gtm-shot-avoid li { margin-bottom: 0.4rem; }
.gtm-shot-spec strong { color: var(--ink); }

/* The keep-out list is a control, not a caption — claims.js cannot read a
   photograph, so this list is the only thing standing between an advisor and
   a health claim made by a picture. It gets the warning colour. */
.gtm-shot-avoid {
  border-left: 2px solid var(--coral, #EF6A4A);
  padding: 0.15rem 0 0.15rem 1.4rem;
  margin-left: 0;
  list-style-position: outside;
}

/* The balance. Deliberately quiet — it is a fact about an account, not an
   offer, and it renders for nobody who is not being metered. */
.gtm-builds {
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ── /hub/campaign/more ─ their campaign, read back ───────────────────
   The page opens on facts about the reader rather than on an offer, so this
   block is styled as a summary and not as a hero: no gold, no accent rule, the
   same card as everything else. The persuasion is that the numbers are theirs.

   Nothing here introduces a colour. */
/* No font-size here. .hub-main h1 already sets the clamp AND carries the
   descender-clearance fix that had to be made across the whole Hub; overriding
   the size would quietly reintroduce the clipping. Margin only. */
.gtm-readback h1 { margin: 0 0 0.75rem; }

.gtm-readback-facts {
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--hairline-l);
}
.gtm-readback-facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline-l);
}
.gtm-readback-facts dt {
  flex: 0 0 7.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.gtm-readback-facts dd {
  flex: 1 1 12rem;
  margin: 0;
}

/* ── What each gap costs ───────────────────────────────────────
   Numbered, because the count is the argument — an advisor who is missing three
   things should see three. The Foundations answer is indented under each cost
   rather than gathered into a list of its own, so a benefit never appears
   without the problem it belongs to directly above it. */
.gtm-costs {
  margin: 0;
  padding-left: 1.3rem;
}
.gtm-costs > li { margin: 1.4rem 0 0; }
.gtm-costs > li:first-child { margin-top: 0.5rem; }

.gtm-cost-what {
  margin: 0 0 0.3rem;
  font-weight: 600;
}
.gtm-cost-cost { margin: 0 0 0.5rem; }
.gtm-cost-closes {
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  font-size: var(--fs-small);
}

/* The bridge. The one section that is an argument rather than a fact, so it
   gets the sand background to mark the change of register. */
.gtm-bridge { background: var(--paper); }
.gtm-bridge p { margin: 0 0 0.9rem; }
.gtm-bridge p:last-child { margin-bottom: 0; }

/* ── The two chips on the plan header ─────────────────────────────
   They wrap to a second line rather than shrinking, because "2 CAMPAIGNS LEFT"
   truncated to "2 CAMPAI…" would be worse than a taller header. */
.gtm-plan-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* The count. Quieter than the progress chip beside it and NOT a call to action
   — it is a fact with a jump link attached, so it borrows the neutral chip
   colours rather than the gold that means "press me". */
a.hub-stage--count {
  text-decoration: none;
  border: 1px solid var(--hairline-l);
  background: transparent;
}
a.hub-stage--count:hover,
a.hub-stage--count:focus-visible { background: var(--paper-2); }

/* ── The offer at the end of a campaign ───────────────────────────
   It has to read as an offer and not as a wall, so it sits on sand like any
   other card rather than getting a colour of its own. Nothing here introduces
   a hue: the only accent is the gold rule already used by .hub-notice.

   The free line comes FIRST and stays quiet — it is the true, larger half of
   what this section says, and an advisor who reads a price first stops
   reading. */
.gtm-next {
  margin-top: 1.5rem;
  border-top: 2px solid var(--gold);
}
.gtm-next-free {
  margin: 0 0 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hairline-l);
}
.gtm-next h3 { margin: 0 0 0.5rem; }

/* ── The claims ladder, as a before and after ──────────────────────
   Two stacked blocks rather than side-by-side columns: at 380px a two-column
   comparison becomes two unreadable columns, and this one reads as a sequence
   anyway — what you may say now, then what you could say. */
.gtm-ladder-now,
.gtm-ladder-after {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border-left: 2px solid var(--hairline-l);
}
.gtm-ladder-after { border-left-color: var(--gold); }
.gtm-ladder-now ul,
.gtm-ladder-after ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}
.gtm-ladder-now li,
.gtm-ladder-after li { margin: 0.25rem 0; }

/* What is currently forbidden. Struck through rather than coloured red — the
   point is "the copy will not say this", not "you did something wrong". */
.gtm-ladder-no li {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.gtm-covers { margin: 0.75rem 0 1.25rem; }
.gtm-covers dt { font-weight: 600; margin-top: 0.85rem; }
.gtm-covers dd { margin: 0.2rem 0 0; color: var(--muted); }

/* The downsell. Quieter than the offer above it on purpose: somebody arrives
   here having just declined something, and a second pitch at the same volume
   reads as pressure. */
.gtm-downsell {
  margin-top: 1.5rem;
  background: var(--paper);
}
.gtm-downsell h2 { font-size: var(--fs-h3); }

.gtm-rights {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-left: 2px solid var(--hairline-l);
}

/* Someone waiting for a reply outranks every action in the plan, so it is the
   one thing above this week that is allowed to be loud. */
.gtm-waiting {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.gtm-waiting strong { display: block; color: var(--ink); }

/* This week is where the eye should land. Later weeks stay visible — an
   advisor wants to know what is coming — but recede. */
.gtm-week.is-now .gtm-week-n { color: var(--ink); }
.gtm-week.is-now .gtm-week-head { border-bottom-color: var(--gold); }

/* [data-later] used to render at 0.72 opacity to push other weeks back. The
   disclosure now does that job, and dimming content somebody has just chosen
   to open is hostile — they opened it because they want to read it. The
   attribute stays as a hook; the fade does not. */
.gtm-week[data-later] .gtm-week-n { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════════════════
   ASK WELL — the consultation workspace
   --------------------------------------------------------------------------
   /hub/journeys/:id/design. Read on a shared screen with the person the trip
   is for, which drives two decisions the rest of the Hub does not have to make.

   PRESENT MODE. `.is-present` on <body> hides everything marked
   [data-hide-in-present] — the mismatches, the watch-outs, the verification
   dates, the gaps — and steps the type up. Those are working notes; read cold
   by a prospect mid-sentence they become an argument against the trip. The
   markup is always sent and only ever hidden, so a template can never drift
   out of step with itself.

   NO COLOUR CARRIES MEANING ALONE. The bands are words first. Colour is a
   second signal on top of a word that already says it, because a shared screen
   is somebody else's screen, at their brightness, sometimes projected.
   ══════════════════════════════════════════════════════════════════════════ */

.design .design-head { margin-bottom: 2.5rem; }
.design .design-head h1 { margin-bottom: .3em; }
.design .design-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.2em; }

/* ── What they are moving between ──────────────────────────────────────── */
.design .design-states {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem; align-items: start; margin-bottom: 1.75rem;
}
.design .design-states h3 {
  font-size: .74rem; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--muted); margin: 0 0 .7em;
}
.design .design-arrow { color: var(--mist); font-size: 1.4rem; padding-top: 1.4rem; }

.design .chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.design .chip {
  display: inline-block; padding: .28em .7em;
  border: 1px solid var(--hairline-l); border-radius: 999px;
  font-size: .84rem; line-height: 1.3;
}

/* Whatever ties for the top weight. Three signals, none of them colour alone:
   it sorts first, it is the only one set in ink rather than muted, and its
   border is solid where the rest are hairlines. A row of six identical chips
   would say "everywhere", which is the one thing it must not say. */
.design .chip--lead { border-color: var(--teal); color: var(--ink); font-weight: 600; }
.design .chip:not(.chip--lead) { color: var(--muted); }

.design .design-facts { display: grid; grid-template-columns: 12rem 1fr; gap: .7rem 1.25rem; margin: 0; }
.design .design-facts dt {
  font-size: .74rem; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--muted); padding-top: .25em;
}
.design .design-facts dd { margin: 0; }

.design .design-gaps {
  margin-top: 1.75rem; padding: 1rem 1.2rem;
  border: 1px dashed var(--hairline-l); border-radius: 3px;
}
.design .design-gaps h3 { margin: 0 0 .4em; font-size: .95rem; }
.design .design-gaps p { color: var(--muted); font-size: .86rem; margin: 0 0 .6em; }
.design .design-gaps ul { margin: 0; padding-left: 1.1em; }
.design .design-gaps li { margin-bottom: .2em; }

/* ── Candidates ────────────────────────────────────────────────────────── */
.design .design-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }

.design .design-card {
  border: 1px solid var(--hairline-l); border-radius: 4px;
  padding: 1.25rem 1.4rem;
}
.design .design-card-head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.design .design-card-head h3 { margin: 0; flex: 1 1 auto; }
.design .band {
  border-top: 2px solid var(--hairline-l);
  padding-top: .5em; display: flex; flex-direction: column; gap: .15em;
}

.design .band-strong { border-top-color: var(--teal); }
.design .band-partial { border-top-color: var(--gold); }
.design .band-thin { border-top-color: var(--mist); }
.design .band-absent { border-top-color: var(--hairline-l); }

/* ── Present mode ──────────────────────────────────────────────────────── */
.is-present .design [data-hide-in-present] { display: none !important; }
.is-present .design .design-card { padding: 1.5rem 1.75rem; }
.is-present .design .design-card-head h3 { font-size: 1.35rem; }
.is-present .design .chip { font-size: .95rem; padding: .34em .85em; }
.is-present .design .design-facts { grid-template-columns: 14rem 1fr; }
.is-present .design .design-sub { display: none; }

@media (max-width: 44rem) {
  .design .design-states { grid-template-columns: 1fr; }
  .design .design-arrow { display: none; }
  .design .design-facts { grid-template-columns: 1fr; gap: .2rem 0; }
  .design .design-facts dt { padding-top: .8em; }
}

/* ── The one piece of writing ──────────────────────────────────────────────
   Present mode does NOT hide the paragraph — it is the thing being read aloud.
   It hides the button, the note and the flags around it, which are the
   advisor's working apparatus. */
.design .design-narr { max-width: 68ch; }
.design .design-narr-body {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: transparent;
  border: 1px solid var(--hairline-l); border-radius: 3px;
  padding: .9rem 1rem; resize: vertical;
}
.design .design-narr-body:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

.is-present .design .design-narr-body {
  border-color: transparent; padding-left: 0; font-size: 1.15rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   /j/:token — the document a client keeps
   --------------------------------------------------------------------------
   The only page in this stylesheet that a client sees, and the only one that is
   not a working surface. Everything else in hub.css is built for scanning: an
   advisor with fourteen Journeys open needs density and rules and small type.
   This is the opposite job. It is read once, slowly, by one person, probably on
   a phone, probably in the evening, deciding whether they want the trip.

   So it takes the site's editorial voice rather than the Hub's: serif display,
   a narrow measure, generous air, and no cards. Cards are for things you
   compare. There is nothing to compare here — that decision was made on the
   call, and this is what came out of it.

   IT PRINTS. Not because a print button exists — there is no JavaScript on this
   page at all — but because people print things they are deciding about, and a
   plan that comes out of a printer with the header repeated and the days split
   across a page break reads as careless about the trip it describes.
   ══════════════════════════════════════════════════════════════════════════ */

.itin { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.itin .wrap--narrow { max-width: 40rem; }

.itin-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.itin-head h1 {
  font-family: var(--serif-display); font-size: var(--fs-h2);
  line-height: 1.12; margin: .25em 0 0;
}
.itin-shape {
  font-family: var(--serif); font-size: var(--fs-lead);
  color: var(--muted); margin: .8em 0 0;
}

/* The two generated paragraphs. Set a step larger than the body: they are the
   voice of the person who prepared this, and they open and close the reading. */
.itin-open, .itin-close {
  font-family: var(--serif); font-size: var(--fs-lead);
  line-height: 1.62; margin: 0 0 clamp(2.2rem, 5vw, 3.4rem);
}
.itin-close {
  border-top: 1px solid var(--hairline-l);
  padding-top: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 2.5rem;
}
.itin-open p, .itin-close p { margin: 0 0 .9em; }
.itin-open p:last-child, .itin-close p:last-child { margin-bottom: 0; }

.itin-block { margin: 0 0 clamp(2.4rem, 5vw, 3.6rem); }
.itin-block > h2 {
  font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted);
  font-family: var(--sans); font-weight: 600;
  margin: 0 0 1.4em;
}

/* ── The days ─────────────────────────────────────────────────────────────
   A ruled list, not a table and not a timeline. The number is small and set
   away from the text: it is an index, and making it a graphic device would put
   the emphasis on the count of days rather than on what is in them. */
.itin-days { list-style: none; margin: 0; padding: 0; }
.itin-days li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--hairline-l);
}
.itin-days li:last-child { border-bottom: 1px solid var(--hairline-l); }
.itin-day-n {
  margin: 0; font-family: var(--sans); font-size: var(--fs-small);
  letter-spacing: .06em; color: var(--muted); padding-top: .15em;
}
.itin-day-shape {
  margin: 0; font-family: var(--serif-display);
  font-size: 1.15rem; line-height: 1.35;
}
.itin-day-note {
  margin: .45em 0 0; color: var(--muted); line-height: var(--lh-body);
}

/* ── The places ───────────────────────────────────────────────────────────
   No images. Every photograph here would be one the property supplied, of a
   room that may not be the room, and this document already says its facts were
   verified on a date. A picture makes a promise the sentence beside it is
   carefully not making. */
.itin-places { list-style: none; margin: 0; padding: 0; }
.itin-places li { margin: 0 0 2rem; }
.itin-places li:last-child { margin-bottom: 0; }
.itin-places h3 {
  font-family: var(--serif-display); font-size: var(--fs-h3);
  line-height: 1.2; margin: 0 0 .35em;
}
.itin-places p { margin: 0; line-height: var(--lh-body); }

/* The line that makes the advisor necessary rather than optional. Quiet, but
   never hidden, and never smaller than the small type elsewhere. */
.itin-verified {
  margin-top: .7em !important;
  font-size: var(--fs-small); color: var(--muted);
  padding-left: .9rem; border-left: 2px solid var(--gold-deep);
}

/* The advisor's own words, on sand so they read as a note rather than as more
   of the document. */
.itin-note {
  background: var(--paper-2); border-radius: 3px;
  padding: clamp(1.3rem, 3vw, 1.8rem);
}
.itin-note h2 { margin-bottom: .9em; }
.itin-note p { margin: 0 0 .8em; line-height: var(--lh-body); }
.itin-note p:last-child { margin-bottom: 0; }

/* ── The one call to action, and it is a person ───────────────────────────
   Not a button. A button implies a transaction is available here, and none is.
   The advisor's name, business and two ways to reach them, set as contact
   details rather than as a conversion unit. */
.itin-foot { border-top: 2px solid var(--ink); padding-top: 1.6rem; }
.itin-foot h2 {
  font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted);
  font-family: var(--sans); font-weight: 600; margin: 0 0 1em;
}
.itin-foot p { line-height: var(--lh-body); margin: 0 0 1em; }
.itin-contact {
  display: flex; flex-direction: column; gap: .2em;
  font-family: var(--sans);
}
.itin-contact strong { font-size: 1.05rem; }
.itin-contact span { color: var(--muted); }
.itin-contact a { color: var(--teal); text-decoration: none; }
.itin-contact a:hover { text-decoration: underline; }
.itin-prov {
  margin-top: 1.4em !important;
  font-size: var(--fs-small); color: var(--muted);
}

/* ── Withdrawn, expired, never existed ────────────────────────────────────
   Given real space rather than being squeezed into an error strip. Somebody
   arriving here was sent a link by a person they trust, and the page has one
   job: make it obvious this is fixable and who fixes it. */
.itin--gone { text-align: left; padding-top: clamp(4rem, 10vw, 8rem); }
.itin--gone h1 {
  font-family: var(--serif-display); font-size: var(--fs-h2);
  line-height: 1.15; margin: 0 0 .6em;
}
.itin--gone p {
  font-family: var(--serif); font-size: var(--fs-lead);
  line-height: 1.6; color: var(--muted); margin: 0 0 1em; max-width: 34rem;
}

@media (max-width: 34rem) {
  .itin-days li { grid-template-columns: 1fr; gap: .2rem; }
  .itin-day-n { padding-top: 0; }
}

/* ── On paper ─────────────────────────────────────────────────────────────
   People print things they are deciding about. The chrome goes, the measure
   opens up, and nothing that belongs together is allowed to break apart. */
@media print {
  .site-header, .site-footer { display: none !important; }
  .itin { padding: 0; }
  .itin .wrap--narrow { max-width: none; }
  .itin-days li, .itin-places li, .itin-note, .itin-foot { break-inside: avoid; }
  .itin-block > h2 { break-after: avoid; }
  .itin-note { background: transparent; border: 1px solid var(--hairline-l); }
  /* A URL printed beside every link is noise on a document with two links,
     both of which are the advisor's own contact details. */
  .itin-contact a::after { content: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════════
   THE ADVISOR PLAYBOOK
   --------------------------------------------------------------------------
   /hub/campaign/playbook. A document inside a working surface, which is the
   whole tension: it lives behind the Hub's chrome and reads like the field
   guide. Serif for anything an advisor reads as prose, the Hub's sans for the
   labels and the form, a narrow measure throughout.

   THE GAPS ARE STYLED TO BE READ, NOT DISMISSED. An empty section here is the
   most useful thing on the page — docs/bible-feedback.md found the engine is
   input-limited, so the missing inputs ARE the finding. They get a dashed
   frame and full-size type rather than the grey small print that usually
   signals "ignore this".
   ══════════════════════════════════════════════════════════════════════════ */

.playbook .wrap--narrow { max-width: 44rem; }

.playbook .pb-head { margin-bottom: 3rem; }
.playbook .pb-head h1 { font-family: var(--serif-display); margin: .2em 0 .4em; }
.playbook .pb-sub {
  font-family: var(--serif); font-size: var(--fs-lead);
  line-height: 1.6; color: var(--muted); margin: 0 0 1em; max-width: 40rem;
}
.playbook .pb-print { font-size: var(--fs-small); color: var(--muted); margin: 0; }

.playbook .pb-block {
  margin-bottom: 3.2rem; padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--hairline-l);
}
.playbook .pb-block:last-of-type { border-bottom: 0; }
.playbook .pb-block > h2 {
  font-family: var(--serif-display); font-size: var(--fs-h3);
  line-height: 1.2; margin: 0 0 .8em;
}
.playbook .pb-lead {
  font-family: var(--serif); font-size: var(--fs-lead);
  line-height: 1.6; margin: 0 0 1.2em;
}
.playbook .pb-note { color: var(--muted); font-size: var(--fs-small); margin: 0 0 1.2em; }

/* ── Facts ────────────────────────────────────────────────────────────────
   A definition list rather than a table: these are one-to-one, they wrap, and
   a table would put a border around an advisor's own words. */
.playbook .pb-facts {
  display: grid; grid-template-columns: 13rem 1fr; gap: .8rem 1.5rem; margin: 0 0 1.4rem;
}
.playbook .pb-facts dt {
  font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted); padding-top: .3em;
}
.playbook .pb-facts dd { margin: 0; line-height: var(--lh-body); }

/* ── A gap ────────────────────────────────────────────────────────────────
   Deliberately not styled as a warning. It is not an error, it is the most
   actionable thing on the page, and a red panel would make an advisor defensive
   about something they simply have not done yet. */
.playbook .pb-empty {
  font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.55;
  color: var(--ink); margin: 0 0 1.2em; max-width: 40rem;
}
.playbook .pb-gap {
  border: 1px dashed var(--hairline-l); border-radius: 3px;
  padding: 1.1rem 1.3rem; margin-top: 1.4rem;
}
.playbook .pb-gap h3 { font-size: 1rem; margin: 0 0 .8em; }
.playbook .pb-gap ul { list-style: none; margin: 0 0 1em; padding: 0; }
.playbook .pb-gap li { margin-bottom: .7em; }
.playbook .pb-gap b { display: block; }
.playbook .pb-gap span { color: var(--muted); font-size: var(--fs-small); }

/* ── The Day 2 form ───────────────────────────────────────────────────────
   Apparatus, not document — hidden when printing. */
.playbook .pb-form {
  margin-top: 2rem; padding: 1.4rem 1.5rem;
  background: var(--paper-2); border-radius: 3px;
}
.playbook .pb-form h3 { margin: 0 0 1.2em; font-size: 1.05rem; }
.playbook .pb-field { display: block; margin: 0 0 1.5rem; border: 0; padding: 0; }
.playbook .pb-field legend,
.playbook .pb-field-label {
  display: block; font-weight: 600; margin-bottom: .45em; padding: 0;
}
.playbook .pb-field legend span,
.playbook .pb-field-label span {
  display: block; font-weight: 400; color: var(--muted);
  font-size: var(--fs-small); margin-top: .15em;
}
.playbook .pb-field select {
  font: inherit; padding: .5rem .6rem; width: 100%; max-width: 26rem;
  border: 1px solid var(--hairline-l); border-radius: 3px; background: var(--paper);
}
.playbook .pb-checks { display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.playbook .pb-check {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .95rem; cursor: pointer;
}

/* ── Channels ─────────────────────────────────────────────────────────────
   Works and Kills it get a word and a colour, in that order — the word is the
   signal and the colour is the second one, same rule as the design bands. */
.playbook .pb-channel {
  padding: 1rem 0; border-top: 1px solid var(--hairline-l);
}
.playbook .pb-channel h3 {
  font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted); margin: 0 0 .6em;
}
.playbook .pb-channel p { margin: 0 0 .5em; line-height: var(--lh-body); }
.playbook .pb-channel b {
  font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; margin-right: .6em;
}
.playbook .pb-conv b { color: var(--teal); }
.playbook .pb-kills b { color: var(--coral); }
.playbook .pb-cta b { color: var(--gold-deep); }
.playbook .pb-seeded {
  font-size: var(--fs-small); color: var(--mist); font-style: italic;
}

/* ── The plan ─────────────────────────────────────────────────────────────
   Same ruled-list shape as the itinerary's days, on purpose: an advisor who has
   read one of these documents can read the other without relearning it. */
.playbook .pb-weeks { list-style: none; margin: 0; padding: 0; }
.playbook .pb-weeks > li {
  display: grid; grid-template-columns: 5rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--hairline-l);
}
.playbook .pb-week-n {
  margin: 0; font-size: var(--fs-small); color: var(--muted); padding-top: .1em;
}
.playbook .pb-week-theme {
  margin: 0 0 .5em; font-family: var(--serif-display); font-size: 1.15rem;
}
.playbook .pb-weeks ul { margin: 0; padding-left: 1.1em; }
.playbook .pb-weeks ul li { margin-bottom: .4em; line-height: 1.5; }
.playbook .pb-weeks ul span { display: block; color: var(--muted); font-size: var(--fs-small); }

/* ── Never say ────────────────────────────────────────────────────────────
   Last, and the one place on this page that is allowed to look like a rule. */
.playbook .pb-never { border-top: 2px solid var(--ink); padding-top: 1.6rem; }
.playbook .pb-never ul { margin: 0; padding-left: 1.1em; }
.playbook .pb-never li { margin-bottom: .5em; line-height: var(--lh-body); }

.playbook .pb-foot { margin-top: 2.5rem; }
.playbook .pb-prov { font-size: var(--fs-small); color: var(--muted); margin: 0; }

@media (max-width: 40rem) {
  .playbook .pb-facts { grid-template-columns: 1fr; gap: .2rem 0; }
  .playbook .pb-facts dt { padding-top: .8em; }
  .playbook .pb-weeks > li { grid-template-columns: 1fr; gap: .3rem; }
}

/* ── On paper ─────────────────────────────────────────────────────────────
   This is the half of the Playbook that is meant to leave the screen. The form
   goes, the Hub chrome goes, and no section is allowed to break across a page —
   a capacity rule split from its own heading is a rule nobody reads. */
@media print {
  .playbook .pb-screen-only,
  .playbook .pb-form,
  .site-header, .site-footer, .hub-context, .hub-back { display: none !important; }
  .playbook .wrap--narrow { max-width: none; }
  .playbook .pb-block { break-inside: avoid; page-break-inside: avoid; }
  .playbook .pb-block > h2 { break-after: avoid; }
  .playbook .pb-never { break-before: page; }
  .playbook .pb-gap { border-style: solid; }
}

/* The anatomy of a post is an ORDER, so it is a numbered list. Rendering the
   array into a template stringified it with commas, which read as sentence
   punctuation and produced one run-on line. */
.playbook .pb-anatomy { margin: 0 0 .8em; padding-left: 1.3em; }
.playbook .pb-anatomy li { margin-bottom: .25em; line-height: 1.5; }

/* ── The shape of the journey ──────────────────────────────────────────────
   Ranked, never pre-selected. The bands reuse the candidate card's border
   colours so an advisor reads them the same way in both places — the word is
   the signal, the colour is the second one. */
.design .design-shape-picked { margin-bottom: 1.4rem; }
.design .design-shape-name {
  font-family: var(--serif-display); font-size: var(--fs-h3);
  line-height: 1.2; margin: 0 0 .2em;
}
.design .design-rhythm { list-style: none; margin: 1rem 0 0; padding: 0; }
.design .design-rhythm li {
  display: grid; grid-template-columns: 5rem 1fr; gap: .8rem;
  padding: .5rem 0; border-top: 1px solid var(--hairline-l);
}
.design .design-rhythm span { color: var(--muted); font-size: .86rem; }

.design .design-recipes { list-style: none; margin: 1rem 0 1.2rem; padding: 0; }
.design .design-recipes > li { border-top: 1px solid var(--hairline-l); }
.design .design-recipe {
  display: grid; grid-template-columns: 1.2rem 1fr; gap: .2rem .7rem;
  padding: .8rem 0; cursor: pointer; align-items: baseline;
}
.design .design-recipe input { grid-row: 1 / span 3; }
.design .design-recipe-name { font-weight: 600; }
.design .design-recipe-bands { grid-column: 2; display: flex; gap: .9rem; }
.design .design-recipe-bands b span { display: block; font-size: .6rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: .15em; }
.design .design-recipe-bands b {
  font-size: .68rem; letter-spacing: var(--track-label); text-transform: uppercase;
  font-weight: 600; color: var(--muted); border-top: 2px solid var(--hairline-l);
  padding-top: .2em;
}
.design .design-recipe-bands b.band-strong { border-top-color: var(--teal); color: var(--ink); }
.design .design-recipe-bands b.band-partial { border-top-color: var(--gold); }
.design .design-recipe-bands b.band-thin { border-top-color: var(--mist); }
.design .design-recipe-why { grid-column: 2; color: var(--muted); font-size: .86rem; }

@media (max-width: 40rem) {
  .design .design-rhythm li { grid-template-columns: 1fr; gap: .1rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ASK WELL — THE STEPPED FLOW
   --------------------------------------------------------------------------
   Four stages, one at a time, each a screen shared with the client. The rail is
   four links; the stage headline speaks to the room. Everything the advisor
   taps is a native control inside a form, dressed to be read across a table.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── The rail ─────────────────────────────────────────────────────────── */
.design .design-rail {
  list-style: none; margin: .6rem 0 1.6rem; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
}
.design .design-rail li { border-top: 3px solid var(--hairline-l); padding-top: .55rem; }
.design .design-rail li.is-done { border-top-color: var(--gold-deep); }
.design .design-rail li.is-now  { border-top-color: var(--gold); }
.design .design-rail a {
  display: flex; align-items: baseline; gap: .5rem; text-decoration: none;
  font-family: var(--sans); font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted);
}
.design .design-rail li.is-now a { color: var(--ink); font-weight: 600; }
.design .design-rail-n {
  display: inline-flex; width: 1.4rem; height: 1.4rem; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 50%; font-size: .66rem; letter-spacing: 0;
}
.design .design-q { border: 0; padding: 0; margin: 0 0 1.8rem; }
.design .design-q legend {
  font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--muted); padding: 0; margin: 0 0 .7em;
}
.design .design-q--row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }

.design .design-picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.design .design-pick { position: relative; display: inline-flex; cursor: pointer; }
.design .design-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.design .design-pick span {
  display: inline-block; padding: .55em 1em; border-radius: 999px;
  border: 1px solid var(--hairline-l); font-size: .95rem; line-height: 1.3;
  transition: border-color .12s, background .12s;
}
.design .design-pick:hover span { border-color: var(--gold-deep); }
.design .design-pick input:checked + span {
  border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600;
}
.design .design-pick input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.design .design-picks--wide .design-pick span { padding: .8em 1.2em; font-size: 1.02rem; }
.design .design-picks--seg { gap: 0; }
.design .design-picks--seg .design-pick span { border-radius: 0; margin-left: -1px; }
.design .design-picks--seg .design-pick:first-child span { border-radius: 999px 0 0 999px; margin-left: 0; }
.design .design-picks--seg .design-pick:last-child span { border-radius: 0 999px 999px 0; }

/* Readiness: seven points on a line, in order. The line is the visual; the
   words are the meaning. */
.design .design-steps {
  display: grid; grid-template-columns: repeat(7, 1fr); position: relative; padding-top: .4rem;
}
.design .design-steps::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 1.05rem;
  border-top: 2px solid var(--hairline-l);
}
.design .design-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  cursor: pointer; text-align: center;
}
.design .design-step input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.design .design-step-dot {
  width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--paper);
  border: 2px solid var(--hairline-l); position: relative; z-index: 1; transition: all .12s;
}
.design .design-step:hover .design-step-dot { border-color: var(--gold-deep); }
.design .design-step input:checked ~ .design-step-dot {
  background: var(--ink); border-color: var(--ink); transform: scale(1.25);
}
.design .design-step input:focus-visible ~ .design-step-dot { outline: 2px solid var(--teal); outline-offset: 2px; }
.design .design-step-word { font-size: .82rem; color: var(--muted); line-height: 1.25; }
.design .design-step input:checked ~ .design-step-word { color: var(--ink); font-weight: 600; }

/* The four scales: a native range with its poles named. */
.design .design-q--scales { display: grid; gap: .9rem; }

/* ── Compare · the brochure cards ─────────────────────────────────────────
   Photograph first. Village accent arrives as --v / --v-ink on the card so the
   whole card can borrow it without a class per village. The reasoning is in a
   details block the advisor opens; Present mode removes it. */
.design .design-props { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.design .design-prop {
  display: grid; grid-template-columns: minmax(0, 44%) 1fr;
  border: 1px solid var(--hairline-l); border-radius: 4px; overflow: hidden;

}
.design .design-prop--text { grid-template-columns: 1fr; }
.design .design-prop.is-carried { border-color: var(--ink); }
.design .design-prop-media { background: var(--paper-2); }
.design .design-prop-media picture, .design .design-prop-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2;
}
.design .design-prop-body { padding: 1.4rem 1.6rem 1.2rem; }
.design .design-prop-body .eyebrow { color: var(--v-ink, var(--gold-deep)); margin-bottom: .3em; }
.design .design-prop-body h3 {
  font-family: var(--serif-display); font-size: var(--fs-h3); line-height: 1.15; margin: 0 0 .5em;
}
.design .design-prop-hook { font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; margin: 0 0 .8em; }
.design .design-prop-best { margin: 0 0 .9em; line-height: 1.5; }
.design .design-prop-fit { margin: 0 0 .8em; line-height: 1.5; font-size: .92rem; color: var(--muted); }
.design .design-prop-fit b { color: var(--ink); font-weight: 600; }
.design .design-strip { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule, rgba(19,50,57,.18)); }
.design .design-strip h2 { margin: 0 0 .4em; }
.design .design-prop-best b {
  font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--muted); margin-right: .5em; font-weight: 600;
}
.design .design-prop-inc { margin: 0 0 1em; padding-left: 1.1em; }
.design .design-prop-inc li { margin-bottom: .3em; line-height: 1.5; font-size: .95rem; }
.design .design-prop-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin: 0 0 .6em; }
.design .chip--v { border-color: var(--v, var(--hairline-l)); color: var(--v-ink, var(--ink)); font-weight: 600; }
.design .design-price { margin-top: 1rem; padding: .9rem 1rem; background: var(--paper-2); border-radius: 3px; }
.design .design-price h4 {
  margin: 0 0 .4em; font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--gold-deep);
}
.design .design-price p { margin: 0 0 .5em; font-size: .9rem; line-height: 1.5; }

.design .design-prop-actions {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem;
  margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--hairline-l);
}
.design .design-carry { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 600; }
.design .design-carry input { width: 1.15rem; height: 1.15rem; accent-color: var(--ink); }
.design .design-aside { display: inline-flex; gap: .4rem; align-items: center; }
.design .design-aside select {
  font: inherit; font-size: .84rem; padding: .3rem .4rem;
  border: 1px solid var(--hairline-l); border-radius: 3px; background: var(--paper);
}
.design .design-choose-actions { margin-top: 1.6rem; }

@media (max-width: 52rem) {
  .design .design-rail { grid-template-columns: repeat(2, 1fr); }
  .design .design-q--row { grid-template-columns: 1fr; gap: 1.2rem; }
  .design .design-steps { grid-template-columns: repeat(4, 1fr); row-gap: 1rem; }
  .design .design-steps::before { display: none; }
  .design .design-prop { grid-template-columns: 1fr; }
}

/* ── Compare · property gallery ─────────────────────────────────────────────
   The hero stays the hero; up to six labelled thumbs sit under it in a strip.
   Every thumb is a link (JS-off behaviour); with JS a tap swaps the hero in
   place. aria-current marks the frame on show — a border, and the word, since
   no colour carries meaning alone. */
.design .design-prop-media .media-gallery { display: flex; flex-direction: column; height: 100%; margin: 0; }
.design .design-prop-media .media-gallery--one { display: block; }
.design .media-gallery-hero { flex: 1 1 auto; min-height: 0; display: flex; }
.design .media-gallery-hero picture, .design .media-gallery-hero img { width: 100%; height: 100%; min-height: 0; object-fit: cover; aspect-ratio: auto; }
.design .media-thumbs {
  list-style: none; margin: 0; padding: .45rem .45rem .2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(4.4rem, 1fr)); gap: .3rem;
}
.design .media-thumbs li { margin: 0; }
.design .media-thumbs a {
  display: block; text-decoration: none; color: var(--ink);
  border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: var(--paper);
}
.design .media-thumbs a:hover, .design .media-thumbs a:focus-visible { border-color: var(--v, var(--teal)); }
.design .media-thumbs a[aria-current="true"] { border-color: var(--ink); }
.design .media-thumbs picture, .design .media-thumbs img { height: auto; }
.design .media-thumbs span {
  display: block; font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; text-align: center;
  padding: .3em .2em .25em; color: var(--muted); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.design .media-thumbs a[aria-current="true"] span { color: var(--ink); font-weight: 600; }
.design .media-credit { margin: auto 0 0; padding: .35rem .6rem .6rem; font-size: .72rem; line-height: 1.4; color: var(--muted); }
.design .media-uncleared { margin-left: .4em; color: var(--gold-deep); font-weight: 600; }

/* ── Client document · one photograph per place ─────────────────────────────
   Cleared frames only (filtered at assemble time in design-itinerary.js). The
   credit sits under the frame because the photograph is the property's. */
.itin-places .itin-place-media { margin: 0 0 .9rem; }
.itin-places .itin-place-media picture, .itin-places .itin-place-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px;
}
.itin-places .itin-place-credit { margin: .35rem 0 0; font-size: .72rem; color: var(--muted); }
@media print {
  .itin-places .itin-place-media { break-inside: avoid; max-width: 60%; }
}


/* ══════════════════════════════════════════════════════════════════════════
   ASK WELL — THE SHAPE · the arc
   --------------------------------------------------------------------------
   One column per day. Colour is the village accent of that day's property;
   fill is the intensity — rest a dashed outline, low a third, medium two
   thirds, high full — and the WORD sits in the column, because no colour
   carries meaning alone. Server-rendered; nothing here needs JavaScript.
   ══════════════════════════════════════════════════════════════════════════ */
.design .design-arcwrap { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem 2.5rem; align-items: start; }
.design .design-arc { --days: 7; }
.design .design-arc-phases, .design .design-arc-days {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); column-gap: .45rem;
}
.design .design-arc-phases { margin-bottom: .5rem; }
.design .design-arc-phases li {
  font-family: var(--serif-display); font-size: 1.05rem; line-height: 1.2; color: var(--ink);
  border-bottom: 1px solid var(--hairline-l); padding: 0 .1rem .45rem; min-height: 1.6em;
}
.design .design-arc-phases li:empty { border-bottom-color: transparent; }
.design .design-arc-day { display: grid; grid-template-rows: 9.5rem auto auto auto; row-gap: .3rem; min-width: 0; }
.design .design-arc-col { display: flex; align-items: flex-end; text-decoration: none; color: inherit; border-radius: 3px; }
.design .design-arc-col:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.design .design-arc-bar {
  display: flex; align-items: flex-end; justify-content: center; width: 100%;
  background: var(--v, var(--teal)); border-radius: 3px 3px 0 0;
}
.design .design-arc-word {
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: .35em .5em; margin: .3rem; border-radius: 2px; white-space: nowrap;
  background: rgba(251,248,241,.92); color: var(--ink);
}
.design .design-arc-day.is-high   .design-arc-bar { height: 100%; }
.design .design-arc-day.is-medium .design-arc-bar { height: 66%; }
.design .design-arc-day.is-low    .design-arc-bar { height: 34%; }
.design .design-arc-day.is-rest   .design-arc-bar {
  height: 100%; background: transparent;
  border: 1.5px dashed var(--v, var(--hairline-l)); border-bottom: 0; align-items: center;
}
.design .design-arc-day.is-unset  .design-arc-bar {
  height: 100%; background: var(--paper-2); align-items: center;
}
.design .design-arc-day.is-unset .design-arc-word { letter-spacing: .05em; text-transform: none; font-weight: 400; font-style: italic; white-space: normal; text-align: center; background: transparent; color: var(--muted); }
.design .design-arc-days > li { border-top: 3px solid var(--v, var(--hairline-l)); }
.design .design-arc-days > li.is-unset { border-top-color: var(--hairline-l); }
.design .design-arc-n { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); padding-top: .4rem; }
.design .design-arc-prop { font-size: .84rem; line-height: 1.35; color: var(--v-ink, var(--ink)); font-weight: 600; }
.design .design-arc-none { color: var(--muted); font-weight: 400; font-style: italic; }
.design .design-arc-note { font-size: .82rem; line-height: 1.45; color: var(--ink); }
.design .design-arc-day.is-edited .design-arc-n::after { content: " · yours"; letter-spacing: .05em; text-transform: none; }

/* The cues — the advisor's prompts beside the arc */
.design .design-cues { display: grid; gap: 1rem; align-content: start; }
.design .design-cue-ask { font-family: var(--serif-display); font-size: 1.3rem; line-height: 1.3; margin: 0; }
.design .design-cue-rule, .design .design-cue-depth { margin: 0; font-size: .92rem; line-height: 1.5; }
.design .design-cue-rule b, .design .design-cue-depth b {
  display: block; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: .2em;
}
.design .design-cue-flags { margin: 0; padding: .8rem 1rem .8rem 2.1rem; background: rgba(217,160,60,.10); border-radius: 3px; font-size: .9rem; line-height: 1.5; }
.design .design-cue-flags li + li { margin-top: .4em; }
.design .design-cue-ok { margin: 0; font-size: .88rem; color: var(--muted); }
.design .design-cue-inferred { margin: 0; font-size: .78rem; color: var(--muted); font-style: italic; }

/* Editing a day */
.design .design-days { margin-top: 2rem; border-top: 1px solid var(--hairline-l); }
.design .design-day { border-bottom: 1px solid var(--hairline-l); }
.design .design-day summary {
  cursor: pointer; padding: .9rem 0; display: flex; gap: 1rem; align-items: baseline; list-style: none;
}
.design .design-day summary::-webkit-details-marker { display: none; }
.design .design-day summary::before { content: "+"; color: var(--muted); width: 1em; }
.design .design-day[open] summary::before { content: "\2212"; }
.design .design-day-n { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); font-weight: 600; min-width: 4.2rem; }
.design .design-day-sum { font-size: .95rem; }
.design .design-day-form { padding: .2rem 0 1.4rem 2em; }
.design .design-day-form .design-q { margin-bottom: 1.2rem; }
.design .design-day-form textarea {
  width: 100%; font: inherit; font-size: .95rem; line-height: 1.5; padding: .6rem .75rem;
  border: 1px solid var(--hairline-l); border-radius: 3px; background: var(--paper); resize: vertical;
}
.design .design-day-form textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.design .design-day-best { font-size: .9rem; line-height: 1.5; margin: 0 0 1.2rem; max-width: 68ch; }
.design .design-day-best b { display: block; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .2em; }
.design .design-daynote-out { margin: .6rem 0 0; font-size: .92rem; line-height: 1.5; padding: .7rem .9rem; background: var(--paper-2); border-radius: 3px; }
.design .design-daynote-out .btn { margin-left: .5em; }
.design .design-picks--band .design-pick input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* The arc thumbnails on the recipe cards */
.design .design-recipe-arc { grid-column: 2; display: inline-flex; gap: 3px; align-items: flex-end; height: 1.4rem; }
.design .design-recipe-arc i { display: block; width: .9rem; background: var(--teal); border-radius: 2px 2px 0 0; }
.design .design-recipe-arc i.is-high { height: 100%; }
.design .design-recipe-arc i.is-medium { height: 66%; }
.design .design-recipe-arc i.is-low { height: 34%; }
.design .design-recipe-arc i.is-rest { height: 100%; background: transparent; border: 1px dashed var(--mist); border-bottom: 0; }
.design .design-recipe-arc i.is-unset { height: 20%; background: var(--hairline-l); }
.design .design-rhythm-band { font-style: normal; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: .5em; }

.design .design-month { font: inherit; font-size: .95rem; padding: .45rem .6rem; border: 1px solid var(--hairline-l); border-radius: 3px; background: var(--paper); }

.is-present .design .design-arcwrap { grid-template-columns: 1fr; }
.is-present .design .design-arc-day { grid-template-rows: 12rem auto auto auto; }
.is-present .design .design-arc-word { font-size: .8rem; }
.is-present .design .design-arc-prop { font-size: 1rem; }

@media (max-width: 60rem) {
  .design .design-arcwrap { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .design .design-arc-day { grid-template-rows: 6rem auto auto auto; }
  .design .design-arc-phases li { font-size: .8rem; }
  .design .design-arc-word { font-size: .55rem; letter-spacing: .05em; }
  .design .design-arc-prop { font-size: .72rem; }
}
/* A press should feel like a press. Transform only; nothing lays out. */
.hub-main .btn { transition: transform 140ms cubic-bezier(.23, 1, .32, 1), background-color 140ms ease, color 140ms ease; }
.hub-main .btn:active { transform: translateY(1px) scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .hub-main .btn, .design .media-thumbs a { transition: none; }
}

/* ── The document's estimate and print header ────────────────────────────── */
.itin-meta { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 1em 0 0; }
.itin-preview-note { font-size: .85rem; color: var(--gold-deep); border: 1px dashed var(--gold); padding: .6rem .9rem; border-radius: 3px; margin: 0 0 2rem; }
.itin-est-head { font-size: .95rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.2em; max-width: 60ch; }
.itin-est { width: 100%; border-collapse: collapse; font-size: .95rem; }
.itin-est th, .itin-est td { padding: .7rem 0; border-bottom: 1px solid var(--hairline-l); vertical-align: top; text-align: left; }
.itin-est th { font-weight: 600; }
.itin-est th span, .itin-est td span { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: .15em; }
.itin-est td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 1rem; }
.itin-est tfoot th, .itin-est tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: .9rem; }
.itin-est tfoot td { font-family: var(--serif-display); font-size: 1.3rem; }
.itin-print { margin: 0 0 1.4rem; display: flex; gap: .8rem; align-items: center; font-size: .82rem; color: var(--muted); }
@media print {
  .itin-print, .itin-preview-note { display: none !important; }
  .itin-meta { display: block; }
  .itin-est tr { break-inside: avoid; }
  .itin-estimate { break-inside: avoid; }
}

.itin-day-where { margin: .25em 0 0; font-size: .85rem; color: var(--muted); }


/* ══════════════════════════════════════════════════════════════════════════
   THE HUB UX LIFT — 23 Oct 2026 (Hub brief v2)
   --------------------------------------------------------------------------
   Everything below is the product layer: one Hub header, softer geometry,
   people-first rows, photographic tiles, a real footer. It sits LAST in this
   sheet on purpose, so it refines the rules above rather than fighting them.

   A DELIBERATE DEPARTURE, flagged to Duncan: the Hub's cards, buttons and
   menus are rounded (12px / 10px / pills) and carry a soft ink-tinted
   elevation. The public site stays squared and editorial. The Hub is a tool
   advisors use every day, and rounded, raised objects read as things you can
   act on; the brand still comes through the palette, the three type roles
   and the Pitons mark, none of which change.

   Same tokens throughout — no new colours. Village accents come from
   tokens.css (`--v-*` and their AA `-ink` twins).
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --hub-r: 14px;
  --hub-r-sm: 10px;
  --hub-pill: 999px;
  --hub-line: rgba(18, 48, 47, 0.12);
  --hub-elev-1: 0 1px 2px rgba(18, 48, 47, 0.06), 0 2px 8px rgba(18, 48, 47, 0.05);
  --hub-elev-2: 0 2px 4px rgba(18, 48, 47, 0.06), 0 12px 32px rgba(18, 48, 47, 0.12);
  --hub-gap: clamp(1.25rem, 2.4vw, 2rem);
  --hub-ease: cubic-bezier(.2, .8, .2, 1);
}

/* Village accents as data, so any element can carry one with data-v. */
[data-v="longevity"]  { --v: var(--v-longevity);  --v-ink: var(--v-longevity-ink); }
[data-v="rainforest"] { --v: var(--v-rainforest); --v-ink: var(--v-rainforest-ink); }
[data-v="ocean"]      { --v: var(--v-ocean);      --v-ink: var(--v-ocean-ink); }
[data-v="heritage"]   { --v: var(--v-heritage);   --v-ink: var(--v-heritage-ink); }
[data-v="movement"]   { --v: var(--v-movement);   --v-ink: var(--v-movement-ink); }
[data-v="connection"] { --v: var(--v-connection); --v-ink: var(--v-connection-ink); }

.hub-arrow { display: inline-block; margin-left: 0.4em; transition: transform .25s var(--hub-ease); }
a:hover > .hub-arrow, a:hover .hub-tile-title .hub-arrow { transform: translateX(3px); }

/* ── Section titles: serif, sentence case ─────────────────────────────────
   They were uppercase sans labels. On a screen with five sections that made
   every heading shout the same thing at the same volume. */
.hub-main h2 {
  text-wrap: balance;
  /* Caslon TEXT, not Display: the Display cut is drawn for large sizes and
     goes spindly below ~1.6rem, which is where most of these headings sit. */
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.2;
  padding-bottom: 0.05em;
  margin: 0 0 0.9rem;
}
.hub-main .hub-card > h2 { font-size: 1.3rem; }
.hub-eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 0.6rem;
}

/* ── Cards and buttons, everywhere in the Hub ─────────────────────────── */
.hub-card {
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r);
  box-shadow: var(--hub-elev-1);
}
.hub-funnel, .hub-nba, .hub-notice, .hub-flash { border-radius: var(--hub-r-sm); }
.hub-link-row input, .hub-main input, .hub-main textarea, .hub-main select { border-radius: var(--hub-r-sm); }
.hub-main .btn { border-radius: var(--hub-r-sm); text-transform: none; letter-spacing: 0.01em; font-size: 0.92rem; }
.hub-main .btn--sm { font-size: 0.84rem; }
.hub-tag { border-radius: var(--hub-pill); }

.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border-radius: var(--hub-r-sm);
  border: 1px solid transparent;
  font: 600 0.92rem/1.2 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--hub-ease), border-color .2s var(--hub-ease),
              color .2s var(--hub-ease), transform .12s var(--hub-ease), box-shadow .2s var(--hub-ease);
}
.hub-btn:active { transform: scale(0.98); }
.hub-btn--sm { min-height: 36px; padding: 0.4rem 0.85rem; font-size: 0.84rem; }
.hub-btn--gold { background: var(--gold); color: var(--ink); }
.hub-btn--gold:hover { background: #E7B054; }
.hub-btn--primary { background: var(--ink); color: var(--paper); }
.hub-btn--primary:hover { background: var(--ink-2); }
.hub-btn--quiet { background: #fff; color: var(--ink); border-color: var(--hub-line); }
.hub-btn--quiet:hover { border-color: rgba(18, 48, 47, 0.35); background: var(--paper); }
.hub-btn--onink { background: transparent; color: var(--paper); border-color: rgba(251, 248, 241, 0.4); }
.hub-btn--onink:hover { border-color: var(--paper); background: rgba(251, 248, 241, 0.08); }
.hub-btn[data-copied], .btn[data-copied] { background: var(--teal); color: var(--paper); border-color: var(--teal); }

/* One focus ring for the whole Hub, visible on paper, on white and on ink. */
.hub-main a:focus-visible, .hub-main button:focus-visible, .hub-main input:focus-visible,
.hub-main summary:focus-visible, .hub-bar a:focus-visible, .hub-bar summary:focus-visible,
.hub-bar button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--hub-r-sm);
}
.hub-next a:focus-visible, .hub-next button:focus-visible { outline-color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════════
   THE HUB HEADER
   Sticky without script (no hide-on-scroll: an advisor mid-task wants the
   navigation where they left it). The view-as banner is sticky itself, so
   while it is up the header goes back into flow rather than sliding under it.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-bar {
  --piton-start: #00565A;
  --piton-end: #00A6A8;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hub-line);
  color: var(--ivory-ink);
}
.viewas-bar + .hub-bar { position: relative; }
.hub-bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: 68px;
}
.hub-bar .brand-lockup { color: var(--ink); }
.hub-bar .brand-words i { color: var(--gold-deep); }
.hub-bar-out { margin-left: auto; font-size: var(--fs-small); color: var(--muted); }

.hub-nav { display: flex; align-items: center; gap: 0.25rem; margin-inline: auto; }
.hub-nav-link {
  position: relative;
  padding: 0.55rem 0.85rem;
  border-radius: var(--hub-pill);
  font-size: 0.9rem;
  color: var(--ivory-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--hub-ease), color .2s var(--hub-ease);
}
.hub-nav-link:hover { background: rgba(18, 48, 47, 0.06); }
.hub-nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.hub-nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.hub-bar-tools { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.hub-demo-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5B3A6B;
  background: #EDE4F1;
  border-radius: var(--hub-pill);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

/* Popovers — <details>, so they open and close before any script runs.
   js/hub.js closes them on Escape and on an outside click. */
.hub-pop { position: relative; }
.hub-pop > summary { list-style: none; cursor: pointer; }
.hub-pop > summary::-webkit-details-marker { display: none; }
.hub-pop-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 120;
  min-width: 15rem;
  max-width: calc(100vw - 1.5rem);
  background: #fff;
  color: var(--ivory-ink);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r);
  box-shadow: var(--hub-elev-2);
  padding: 0.5rem;
}
.hub-pop[open] > .hub-pop-panel { animation: hub-pop-in .18s var(--hub-ease); }
@keyframes hub-pop-in { from { opacity: 0; transform: translateY(-4px); } }

.hub-share-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: var(--hub-pill);
  border: 1px solid var(--hub-line);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color .2s var(--hub-ease), box-shadow .2s var(--hub-ease);
}
.hub-share-btn:hover, .hub-share[open] .hub-share-btn { border-color: rgba(18, 48, 47, 0.35); box-shadow: var(--hub-elev-1); }
.hub-share-panel { width: 22rem; padding: 1.1rem; }
.hub-pop-title { font-weight: 600; margin: 0 0 0.6rem; }
.hub-pop-note { font-size: 0.8rem; color: var(--muted); margin: 0.75rem 0 0; line-height: 1.5; }
.hub-pop-note a { color: var(--teal); }
.hub-share-qr:not(:empty) { margin-top: 0.9rem; display: flex; justify-content: center; }

.hub-copyfield { display: flex; gap: 0.5rem; }
.hub-copyfield input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 0.86rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r-sm);
  background: var(--paper);
  color: var(--ivory-ink);
}

.hub-acct > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.2rem 0.75rem 0.2rem 0.2rem;
  border-radius: var(--hub-pill);
  border: 1px solid var(--hub-line);
  background: #fff;
  transition: box-shadow .2s var(--hub-ease);
}
.hub-acct > summary:hover, .hub-acct[open] > summary { box-shadow: var(--hub-elev-1); }
.hub-acct-avatar {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hub-acct-name { font-size: 0.88rem; font-weight: 500; }
.hub-acct-menu a, .hub-acct-menu button, .hub-drawer-acct a, .hub-drawer-acct button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--hub-r-sm);
  cursor: pointer;
}
.hub-acct-menu a:hover, .hub-acct-menu button:hover { background: var(--paper); }
.hub-acct-menu form, .hub-drawer-acct form { margin: 0.25rem 0 0; padding-top: 0.25rem; border-top: 1px solid var(--hub-line); }

/* The drawer only exists below the width where the nav fits. */
.hub-drawer { display: none; }
.hub-drawer > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--hub-pill);
  border: 1px solid var(--hub-line);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}
.hub-drawer > summary::-webkit-details-marker { display: none; }
.hub-drawer-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--hub-line);
  box-shadow: 0 18px 30px rgba(18, 48, 47, 0.12);
  padding: 0.75rem var(--gutter) 1.25rem;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.hub-drawer-link {
  display: block;
  padding: 0.95rem 0.25rem;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ivory-ink);
  border-bottom: 1px solid var(--hub-line);
}
.hub-drawer-link[aria-current="page"] { font-weight: 600; color: var(--ink); background: var(--paper-2); border-radius: var(--hub-r-sm); padding-left: 0.75rem; }
.hub-drawer-acct { margin-top: 0.75rem; }

@media (max-width: 1180px) {
  .hub-nav-link { padding-inline: 0.6rem; font-size: 0.86rem; }
  .hub-nav-link[aria-current="page"]::after { left: 0.6rem; right: 0.6rem; }
  .hub-acct-name { display: none; }
  .hub-acct > summary { padding-right: 0.2rem; }
}
@media (max-width: 1020px) {
  .hub-nav, .hub-acct, .hub-share { display: none; }
  .hub-drawer { display: block; }
  .hub-bar-tools { margin-left: auto; }
  .hub-bar-inner { position: relative; }
  .hub-drawer[open] > summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE RHYTHM
   ══════════════════════════════════════════════════════════════════════════ */
.hub-home { padding-top: 0; }
.hub-stack { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.25rem); }
.hub-block { margin: 0; }

.hub-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.hub-main .hub-sec-title { margin: 0; font-family: var(--serif-display); font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
.hub-sec-lead { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 72ch; text-wrap: pretty; }
.hub-sec-action, .hub-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}
.hub-sec-action:hover, .hub-card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hub-split { display: grid; gap: var(--hub-gap); align-items: stretch; }
.hub-split--pulse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hub-split--people { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.hub-split > .hub-card { margin: 0; }

.hub-main .hub-card-title { margin: 0; font-size: 1.3rem; }
.hub-card .hub-card-sub { color: var(--muted); font-size: 0.92rem; margin: 0.35rem 0 1rem; }
.hub-card-headrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hub-card .hub-card-note { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin: 1.25rem 0 0; max-width: 60ch; }
.hub-card-note--warn { color: #7A5411; background: #FBEBD1; border-radius: var(--hub-r-sm); padding: 0.6rem 0.8rem; }
.hub-card-link { display: inline-block; margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   Text sits on an ink wash anchored to the left edge in pixels — the lesson
   from the consumer hero (README "The hero treatment"): a percentage scrim
   drifts with viewport height and puts the words on the bright gap.
   Below 760px the hero stops being an overlay and stacks: image band, then
   text on solid ink, so legibility never depends on what is behind the words.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hub-hero-media, .hub-hero-media picture, .hub-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hub-hero-media { z-index: -2; }
.hub-hero-media img { object-fit: cover; object-position: 70% 50%; }
.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Anchored to where the text starts (the .wrap edge), not to the window:
     at 2000px the content begins ~300px in, and a window-anchored wash had
     faded before the headline ended. */
  --edge: max(0px, (100vw - var(--maxw)) / 2);
  background: linear-gradient(90deg, rgba(14, 38, 37, 0.94) 0, rgba(14, 38, 37, 0.88) calc(var(--edge) + 560px), rgba(14, 38, 37, 0.5) calc(var(--edge) + 820px), rgba(14, 38, 37, 0.06) calc(var(--edge) + 1150px));
}
.hub-hero-inner { position: relative; }
.hub-hero h1, .hub-main .hub-hero h1 { color: var(--paper); }
.hub-hero-hello { font-family: var(--sans); color: var(--gold); margin: 0 0 0.6rem; font-size: 1rem; }

.hub-hero--full .hub-hero-inner { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); max-width: var(--maxw); }
.hub-hero--full h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  max-width: 11.5em;
  margin: 0 0 0.4em;
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(8, 28, 30, 0.35);
}
.hub-hero-lead { max-width: 34rem; font-size: var(--fs-lead); line-height: 1.55; color: #E9EFEC; margin: 0 0 2rem; }
.hub-hero-note {
  display: inline-block;
  max-width: 40rem;
  font-size: 0.88rem;
  line-height: 1.5;
  background: rgba(251, 248, 241, 0.12);
  border: 1px solid rgba(251, 248, 241, 0.22);
  border-radius: var(--hub-r-sm);
  padding: 0.6rem 0.9rem;
  margin: 0 0 1.75rem;
}

.hub-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 20rem)); gap: 1rem; }
.hub-path {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: var(--hub-r);
  background: rgba(251, 248, 241, 0.1);
  border: 1px solid rgba(251, 248, 241, 0.24);
  backdrop-filter: blur(6px);
  color: var(--paper);
  text-decoration: none;
  transition: background-color .2s var(--hub-ease), border-color .2s var(--hub-ease), transform .25s var(--hub-ease);
}
.hub-path:hover { background: rgba(251, 248, 241, 0.16); border-color: rgba(251, 248, 241, 0.5); transform: translateY(-2px); }
.hub-path-k { font-family: var(--serif); font-size: 1.2rem; }
.hub-path-t { font-size: 0.88rem; line-height: 1.5; color: #DCE6E3; }
.hub-path-cta { margin-top: 0.35rem; font-weight: 600; font-size: 0.88rem; color: var(--gold); }

.hub-hero--band .hub-hero-inner { padding-block: clamp(1.9rem, 3.4vw, 2.8rem); }
.hub-hero--band .hub-hero-media img { object-position: 50% 38%; }
.hub-main .hub-hero--band h1 {
  font-family: var(--serif-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--paper);
  margin: 0 0 0.3rem;
}
.hub-hero-status { margin: 0; color: #E2EAE7; font-size: 1.05rem; }
.hub-hero--band .hub-hero-note { margin: 1rem 0 0; }

/* ══════════════════════════════════════════════════════════════════════════
   NEXT ACTION — the one loud element. Ink, with the people in it.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--hub-r);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--hub-elev-2);
}
.hub-next .hub-eyebrow { color: var(--gold); }
.hub-main .hub-next h2 { font-family: var(--serif-display); color: var(--paper); font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0 0 0.5rem; text-wrap: balance; }
.hub-next-copy p { color: var(--mist); max-width: 46ch; margin: 0; }
.hub-next-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.hub-next-all { display: inline-block; margin-top: 1rem; color: var(--gold); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.hub-next-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-next-people { display: grid; gap: 0.5rem; }
.hub-next .hub-row { background: rgba(251, 248, 241, 0.06); border: 1px solid rgba(251, 248, 241, 0.1); border-radius: var(--hub-r-sm); }
.hub-next .hub-row + .hub-row { border-top: 1px solid rgba(251, 248, 241, 0.1); }
.hub-next .hub-row-main:hover { background: rgba(251, 248, 241, 0.08); }
.hub-next .hub-row-name { color: var(--paper); }
.hub-next .hub-row-meta, .hub-next .hub-row-window { color: var(--mist); }
.hub-next .hub-row-when.is-waiting { color: var(--gold); }
.hub-next .hub-chip { background: rgba(251, 248, 241, 0.12); color: #E6EEEB; }

.hub-next--quiet { grid-template-columns: minmax(0, 1fr) auto; background: #fff; color: var(--ivory-ink); border: 1px solid var(--hub-line); box-shadow: var(--hub-elev-1); }
.hub-main .hub-next--quiet h2 { color: var(--ink); }
.hub-next--quiet .hub-eyebrow { color: var(--gold-deep); }
.hub-next--quiet .hub-next-copy p { color: var(--muted); }
.hub-next--quiet .hub-next-actions { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   PEOPLE — rows, avatars, Village chips
   ══════════════════════════════════════════════════════════════════════════ */
.hub-rows { display: flex; flex-direction: column; }
.hub-row { position: relative; display: flex; align-items: center; }
.hub-rows .hub-row + .hub-row { border-top: 1px solid var(--hub-line); }
.hub-row-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.7rem;
  border-radius: var(--hub-r-sm);
  text-decoration: none;
  color: inherit;
  transition: background-color .18s var(--hub-ease);
}
.hub-row-main:hover { background: var(--paper); }
.hub-row-who { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.hub-row-name { font-weight: 600; font-size: 1rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-row-meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.35rem 0.8rem; font-size: 0.84rem; color: var(--muted); }
.hub-row-when { white-space: nowrap; }
.hub-row-when.is-waiting { color: #7A5411; font-weight: 600; }
.hub-row--action .hub-row-main { padding-right: 0.25rem; }
.hub-row-act { flex: none; margin-left: 0.5rem; }

.hub-avatar {
  --v-ink: var(--ink);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--v-ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex: none;
  box-shadow: inset 0 0 0 2px rgba(251, 248, 241, 0.18);
}
.hub-avatar--lg { width: 56px; height: 56px; font-size: 1rem; }

.hub-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.hub-chip {
  --v: var(--teal); --v-ink: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.22rem 0.6rem;
  border-radius: var(--hub-pill);
  background: color-mix(in srgb, var(--v) 13%, #fff);
  color: var(--v-ink);
  white-space: nowrap;
}
.hub-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--v); flex: none; }
.hub-stage { border-radius: var(--hub-pill); letter-spacing: 0.04em; }

.hub-empty {
  text-align: left;
  padding: 1.5rem;
  border: 1px dashed rgba(18, 48, 47, 0.22);
  border-radius: var(--hub-r);
  background: var(--paper);
}
.hub-empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; margin: 0 0 0.4rem; color: var(--ink); }
.hub-empty p { color: var(--muted); max-width: 52ch; margin: 0 0 1.1rem; }

/* ══════════════════════════════════════════════════════════════════════════
   CAMPAIGN PULSE + LINK CARD
   ══════════════════════════════════════════════════════════════════════════ */
.hub-seg { display: inline-flex; padding: 3px; border-radius: var(--hub-pill); background: var(--paper-2); }
.hub-seg a {
  padding: 0.35rem 0.85rem;
  border-radius: var(--hub-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.hub-seg a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--hub-elev-1); }

.hub-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-kpi { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.25rem 1.1rem; }
.hub-kpi:first-child { padding-left: 0; }
.hub-kpi + .hub-kpi { border-left: 1px solid var(--hub-line); }
.hub-kpi-n { font-family: var(--serif-display); font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--teal); }
.hub-kpi-label { font-weight: 600; font-size: 0.92rem; margin-top: 0.35rem; color: var(--ink); }
.hub-kpi-note { font-size: 0.8rem; line-height: 1.45; color: var(--muted); }

.hub-linkcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; }
.hub-linkcard-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.hub-linkcard-actions .hub-btn { min-height: 38px; padding: 0.4rem 0.8rem; font-size: 0.82rem; }
.hub-linkcard-qr { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.hub-qr-frame {
  width: 168px; height: 168px;
  display: grid; place-items: center;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r-sm);
  background: #fff;
  padding: 6px;
}
.hub-qr-frame:empty::before { content: 'QR'; color: var(--mist); font-size: 0.8rem; letter-spacing: 0.2em; }
.hub-qr-frame svg, .hub-share-qr svg { width: 100%; height: auto; border: 0; }
.hub-qr-caption { font-size: 0.74rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════════════════════
   TOOL TILES
   ══════════════════════════════════════════════════════════════════════════ */
.hub-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.25rem); }
.hub-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--hub-elev-1);
  transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease), border-color .25s var(--hub-ease);
}
.hub-tile:hover { box-shadow: var(--hub-elev-2); transform: translateY(-3px); border-color: rgba(18, 48, 47, 0.2); }
.hub-tile-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.hub-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hub-ease); }
.hub-tile:hover .hub-tile-media img { transform: scale(1.04); }
.hub-tile-body { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; }
.hub-tile-title { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.2; }
.hub-tile-text { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.hub-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--hub-pill);
  background: #DCEBEB;
  color: var(--v-ocean-ink);
}
.hub-badge[data-badge="apply"] { background: #FBEBD1; color: #7A5411; }

/* ══════════════════════════════════════════════════════════════════════════
   INQUIRIES + TRAINING
   ══════════════════════════════════════════════════════════════════════════ */
.hub-inquiries .hub-sec-head { margin-bottom: 0.6rem; }
.hub-main .hub-inquiries .hub-sec-title { font-size: 1.45rem; }

.hub-train {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: var(--hub-r);
  overflow: hidden;
  border: 1px solid var(--hub-line);
}
.hub-train[hidden] { display: none; }
.hub-train-media { flex: 1 1 auto; min-height: 190px; overflow: hidden; position: relative; }
.hub-train-media picture, .hub-train-media img { position: absolute; inset: 0; }
.hub-train-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hub-train-body { position: relative; padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; }
.hub-main .hub-train h2 { font-family: var(--serif-display); font-size: 1.6rem; margin: 0 0 0.5rem; }
.hub-train p { color: var(--ivory-ink); font-size: 0.94rem; line-height: 1.55; margin: 0 0 1.2rem; }
.hub-train-more { margin-top: 0.85rem; font-size: 0.88rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.hub-train-close {
  position: absolute;
  top: -1.1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: var(--hub-elev-2);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════════════════
   VILLAGES RAIL
   A grid of six on a wide screen, a sideways rail on a narrow one — the rail
   scrolls inside itself so the page never does.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-villages-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.hub-village {
  display: flex;
  flex-direction: column;
  border-radius: var(--hub-r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hub-line);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease);
}
.hub-village:hover { box-shadow: var(--hub-elev-2); transform: translateY(-3px); }
.hub-village-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.hub-village-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--v); }
.hub-village-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hub-ease); }
.hub-village:hover .hub-village-media img { transform: scale(1.04); }
.hub-village-body { padding: 0.85rem 0.95rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.hub-village-name { font-family: var(--serif); font-size: 1rem; color: var(--v-ink); line-height: 1.2; }
.hub-village-line { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER — the site footer, a little tighter, and joined to the page by a
   fixed gap rather than whatever space was left over.
   ══════════════════════════════════════════════════════════════════════════ */
.site-footer--hub { padding-block: clamp(2.75rem, 5vw, 4rem) clamp(1.75rem, 3vw, 2.5rem); }
.site-footer--hub .footer-base { margin-top: clamp(2rem, 4vw, 3rem); }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   Phone order follows the brief: next action → link → inquiries → numbers →
   tools → training → inspiration → footer.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .hub-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-villages-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .hub-split--pulse, .hub-split--people { grid-template-columns: minmax(0, 1fr); }
  .hub-next { grid-template-columns: minmax(0, 1fr); }
  .hub-next--quiet { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hub-hero { background: var(--ink); }
  .hub-hero::before { display: none; }
  .hub-hero-media { position: relative; inset: auto; height: 190px; }
  .hub-hero--band .hub-hero-media { height: 120px; }
  .hub-hero-media picture, .hub-hero-media img { position: absolute; inset: 0; }
  .hub-hero { display: flex; flex-direction: column; }
  .hub-hero-inner { padding-block: 1.6rem 1.9rem !important; }
  .hub-paths { grid-template-columns: minmax(0, 1fr); }
  .hub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-villages-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.8rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 0.75rem;
    scrollbar-width: none;
  }
  .hub-villages-rail::-webkit-scrollbar { display: none; }
  .hub-village { flex: 0 0 62%; scroll-snap-align: start; }
  .hub-kpis { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .hub-kpi { padding: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 0.75rem; }
  .hub-kpi + .hub-kpi { border-left: 0; border-top: 1px solid var(--hub-line); padding-top: 0.9rem; }
  .hub-kpi-note { flex-basis: 100%; }
  .hub-linkcard { grid-template-columns: minmax(0, 1fr); }
  .hub-linkcard-qr { align-items: flex-start; }
  .hub-row-main { grid-template-columns: auto minmax(0, 1fr); }
  .hub-row-meta { grid-column: 2; justify-content: flex-start; }
  .hub-home .hub-stack { gap: 1.75rem; }
  /* Reading order on a phone, without changing the source order. */
  .hub-home .hub-split--pulse { display: flex; flex-direction: column-reverse; }
  .hub-home .hub-split--pulse > * + * { margin: 0; }
  .hub-split--pulse { gap: 1.75rem; }
}
@media (max-width: 460px) {
  .hub-tiles { grid-template-columns: minmax(0, 1fr); }
  .hub-tile { flex-direction: row; }
  .hub-tile-media { flex: 0 0 34%; aspect-ratio: auto; }
  .hub-copyfield { flex-direction: column; }
  .hub-share-panel { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-tile, .hub-village, .hub-path, .hub-tile-media img, .hub-village-media img, .hub-arrow { transition: none !important; }
  .hub-tile:hover, .hub-village:hover, .hub-path:hover { transform: none; }
  .hub-tile:hover .hub-tile-media img, .hub-village:hover .hub-village-media img { transform: none; }
  .hub-pop[open] > .hub-pop-panel { animation: none; }
}

/* A <picture> is inline and sizes to nothing unless told otherwise; an <img>
   at height:100% of a zero-height picture is zero pixels tall, and a lazy
   image that is zero pixels tall is never fetched. Every media frame in the
   Hub therefore makes its picture fill the frame. Found when the six Village
   cards rendered blank in the first preview. */
.hub-tile-media > picture, .hub-village-media > picture, .hub-train-media > picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* A new advisor's campaign card explains how the numbers fill rather than
   showing three zeros (brief v2 §9: avoid a zeroed-out dashboard). */
.hub-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.hub-step { counter-increment: step; display: flex; flex-direction: column; gap: 0.25rem; }
.hub-step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink);
  font-weight: 700; font-size: 0.82rem; margin-bottom: 0.35rem;
}
.hub-step b { color: var(--ink); font-size: 0.94rem; }
.hub-step span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
@media (max-width: 760px) { .hub-steps { grid-template-columns: minmax(0, 1fr); } }

.hub-main .btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hub-main .btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.hub-card--list { padding: 0.4rem; }

/* ── Designer, Explore, Marketing ────────────────────────────────────────── */
.hub-hero--page .hub-hero-inner { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.hub-main .hub-hero--page h1 { font-family: var(--serif-display); font-size: clamp(2rem, 3.6vw, 3rem); color: var(--paper); margin: 0 0 0.4rem; max-width: 18em; text-wrap: balance; }
.hub-hero--page .hub-eyebrow { color: var(--gold); }

.hub-subnav { background: #fff; border-bottom: 1px solid var(--hub-line); }
.hub-subnav-inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.hub-subnav-inner::-webkit-scrollbar { display: none; }
.hub-subnav a {
  position: relative; padding: 0.9rem 0.9rem; font-size: 0.9rem; white-space: nowrap;
  color: var(--muted); text-decoration: none;
}
.hub-subnav a:hover { color: var(--ink); }
.hub-subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.hub-subnav a[aria-current="page"]::after { content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.hub-subnav + .hub-main { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }

.hub-starts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hub-start {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem;
  padding: 1.25rem 1.3rem 1.35rem; border-radius: var(--hub-r);
  background: #fff; border: 1px solid var(--hub-line); box-shadow: var(--hub-elev-1);
  text-decoration: none; color: inherit;
  transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease);
}
a.hub-start:hover { box-shadow: var(--hub-elev-2); transform: translateY(-2px); }
.hub-start--live { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hub-start--soon { background: transparent; box-shadow: none; border-style: dashed; }
.hub-start-k { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.hub-start--live .hub-start-k { color: var(--paper); }
.hub-start-t { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.hub-start--live .hub-start-t { color: var(--mist); }
.hub-start-cta { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.88rem; color: var(--teal); }
.hub-start--live .hub-start-cta { color: var(--gold); }
.hub-badge[data-badge="live"] { background: #DFEDE2; color: #2C5A38; }
.hub-start--live .hub-badge { background: rgba(251, 248, 241, 0.14); color: var(--paper); }
.hub-steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hub-tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-fieldguide { background: var(--paper-2); }
.hub-fieldguide .hub-badge { margin-bottom: 0.75rem; display: inline-block; }
.hub-fieldguide p { margin-top: 0.6rem; }
.hub-layers { display: grid; gap: 0.9rem; margin: 1rem 0 0; }
.hub-layers dt { font-weight: 600; color: var(--ink); }
.hub-layers dt span { font-weight: 500; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-left: 0.4rem; }
.hub-layers dd { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.hub-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: rung; }
.hub-ladder li { counter-increment: rung; }
.hub-ladder a {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%;
  padding: 1.2rem 1.3rem; border-radius: var(--hub-r); background: #fff;
  border: 1px solid var(--hub-line); text-decoration: none; color: inherit;
  transition: box-shadow .25s var(--hub-ease);
}
.hub-ladder a:hover { box-shadow: var(--hub-elev-2); }
.hub-ladder-k { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.hub-ladder-k::before { content: counter(rung); color: var(--gold-deep); font-family: var(--sans); font-weight: 700; font-size: 0.8rem; margin-right: 0.6rem; }
.hub-ladder-t { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.hub-duty { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 80ch; border-top: 1px solid var(--hub-line); padding-top: 1.25rem; margin: 0; }

.hub-mcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hub-gap); }
.hub-mcards .hub-card { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hub-mcards .hub-card p { font-size: 0.9rem; color: var(--muted); margin: 0.6rem 0 0; }
.hub-mcards .hub-badge { margin-bottom: 0.7rem; }
.hub-mcards .hub-card-link { margin-top: auto; padding-top: 1rem; }
.hub-card .hub-mcard-status { color: var(--ink); font-weight: 600; }
.hub-marketing .hub-head h1 { font-family: var(--serif-display); }

@media (max-width: 1100px) {
  .hub-starts, .hub-mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hub-starts, .hub-mcards, .hub-ladder, .hub-split--even, .hub-tiles--three, .hub-steps--four { grid-template-columns: minmax(0, 1fr); }
}
.hub-designer, .hub-explore { padding-top: 0; }
.hub-stack > .hub-head { margin-bottom: 0; }
.hub-tiles--three .hub-tile-media { aspect-ratio: 16 / 9; }
.hub-designer .hub-hero-media img { object-position: 75% 50%; }
.hub-explore .hub-hero-media img { object-position: 50% 30%; }

/* ══════════════════════════════════════════════════════════════════════════
   SURFACES — white to work on, cream for the warm moments (Duncan, 23 Oct 2026)
   --------------------------------------------------------------------------
   The Hub inherited the consumer site's cream page. Under photography that
   reads as editorial paper; behind lists and forms it filled every empty area
   and read faintly yellow, and white cards on it barely separated. So the
   Hub's page and cards are white, separated by a hairline and a soft shadow,
   and cream is kept for the few places meant to feel like an invitation: the
   training card, the Field Guide panel, and one full-width band under the
   Villages. Utility surfaces (inputs, hovers, the period switch) take a pale
   teal mist instead, so they read as controls rather than as warmth.

   Scoped to Hub pages by body[data-page="hub"] (lib/page.js). The client's
   itinerary at /j/:token also loads this sheet and keeps its paper.
   ══════════════════════════════════════════════════════════════════════════ */
body[data-page="hub"] {
  --hub-line: rgba(18, 48, 47, 0.11);
  --hub-cool: #EEF6F5;        /* teal mist: the brand teal at about 6% on white */
  --hub-mist-line: rgba(11, 110, 112, 0.16);
  --hub-elev-1: 0 1px 2px rgba(18, 48, 47, 0.05), 0 4px 14px rgba(18, 48, 47, 0.06);
  --hub-elev-2: 0 2px 6px rgba(18, 48, 47, 0.07), 0 16px 36px rgba(18, 48, 47, 0.12);
  background: #fff;
}
body[data-page="hub"] .hub-bar { background: rgba(255, 255, 255, 0.94); }
body[data-page="hub"] .hub-copyfield input,
body[data-page="hub"] .hub-link-row input,
body[data-page="hub"] .hub-main input:not([type="radio"]):not([type="checkbox"]),
body[data-page="hub"] .hub-main textarea,
body[data-page="hub"] .hub-main select { background: var(--hub-cool); }
body[data-page="hub"] .hub-row-main:hover,
body[data-page="hub"] .hub-acct-menu a:hover,
body[data-page="hub"] .hub-acct-menu button:hover,
body[data-page="hub"] .hub-journey a:hover { background: var(--hub-cool); }
body[data-page="hub"] .hub-seg { background: #E3EFEE; }
body[data-page="hub"] .hub-empty { background: #F5FAF9; border-color: var(--hub-mist-line); }
body[data-page="hub"] .hub-step::before { background: #EAF1F0; }
body[data-page="hub"] .hub-tile-media,
body[data-page="hub"] .hub-village-media { background: #E6F0EF; }
body[data-page="hub"] .hub-drawer-panel { background: #fff; }
body[data-page="hub"] .hub-drawer-link[aria-current="page"] { background: var(--hub-cool); }
body[data-page="hub"] .hub-start--soon { border-color: rgba(18, 48, 47, 0.2); }
/* The warm moments keep their cream. */
body[data-page="hub"] .hub-train,
body[data-page="hub"] .hub-fieldguide { background: var(--paper-2); }

/* One warm band, edge to edge, behind the Villages: the island section is
   the invitation on Home. Drawn with a spread shadow clipped to the band's
   own height, so it reaches the window edges without ever widening the page
   (a 100vw pseudo-element would add a sideways scroll). */
body[data-page="hub"] .hub-home .hub-stack > .hub-block:last-child {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem);
}
body[data-page="hub"] .hub-home { padding-bottom: 0; }

/* Village accents must win over the neutral defaults on .hub-chip and
   .hub-avatar. Both selectors weigh the same as [data-v="…"], and the
   defaults come later in the sheet, so every chip rendered teal and every
   avatar ink until this rule restated the Village colours with the class. */
.hub-chip[data-v="longevity"],  .hub-avatar[data-v="longevity"]  { --v: var(--v-longevity);  --v-ink: var(--v-longevity-ink); }
.hub-chip[data-v="rainforest"], .hub-avatar[data-v="rainforest"] { --v: var(--v-rainforest); --v-ink: var(--v-rainforest-ink); }
.hub-chip[data-v="ocean"],      .hub-avatar[data-v="ocean"]      { --v: var(--v-ocean);      --v-ink: var(--v-ocean-ink); }
.hub-chip[data-v="heritage"],   .hub-avatar[data-v="heritage"]   { --v: var(--v-heritage);   --v-ink: var(--v-heritage-ink); }
.hub-chip[data-v="movement"],   .hub-avatar[data-v="movement"]   { --v: var(--v-movement);   --v-ink: var(--v-movement-ink); }
.hub-chip[data-v="connection"], .hub-avatar[data-v="connection"] { --v: var(--v-connection); --v-ink: var(--v-connection-ink); }

/* ── Steps as a sequence, not floating text (Duncan, 23 Oct) ────────────────
   "How your campaign fills" and "How a design comes together" were a heading
   and two lines each, loose on the card. Each step is now a soft tile, and a
   short gold rule — the brand's journey line — joins one to the next, so the
   three read as an order rather than as three facts. The rule turns
   vertical when the steps stack, and is dropped at a row end. */
.hub-steps { gap: 1rem; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.hub-step {
  position: relative;
  background: #F7F9F8;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-r-sm);
  padding: 1.1rem 1.15rem 1.25rem;
}
body[data-page="hub"] .hub-step::before { background: #fff; border: 1px solid rgba(18, 48, 47, 0.18); color: var(--teal); }
.hub-step b { font-size: 0.96rem; line-height: 1.35; margin-top: 0.15rem; }
.hub-step span { font-size: 0.84rem; }
.hub-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(1.1rem + 15px);
  left: calc(100% + 1px);
  width: calc(1rem - 2px);
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
@media (max-width: 1100px) {
  .hub-steps--four .hub-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 760px) {
  .hub-step:not(:last-child)::after,
  .hub-steps--four .hub-step:nth-child(2n)::after {
    display: block;
    top: calc(100% + 1px);
    left: calc(1.15rem + 14px);
    width: 2px;
    height: calc(1rem - 2px);
  }
}
/* The campaign card's link sits at the foot of the card, so a short card and
   its taller neighbour end on the same line instead of leaving a gap. */
.hub-pulse { display: flex; flex-direction: column; }
.hub-pulse .hub-card-link { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }
.hub-pulse .hub-steps { margin-bottom: 0.25rem; }

/* ── Teal mist instead of grey (Duncan, 23 Oct) ─────────────────────────────
   The Hub's light working surfaces were a neutral grey, which read as a
   placeholder. They now take one tint of the brand teal (--hub-cool, about
   6% on white): inputs, row hovers, the period switch, empty states and the
   step tiles. Step numbers are solid teal, so the sequence reads at a glance.
   Text on every one of these stays ink or muted ink; the tint is a surface,
   never a colour block. */
body[data-page="hub"] .hub-step { background: var(--hub-cool); border-color: var(--hub-mist-line); }
body[data-page="hub"] .hub-step::before { background: var(--teal); border-color: var(--teal); color: #fff; }
body[data-page="hub"] .hub-copyfield input,
body[data-page="hub"] .hub-link-row input,
body[data-page="hub"] .hub-main input:not([type="radio"]):not([type="checkbox"]),
body[data-page="hub"] .hub-main textarea,
body[data-page="hub"] .hub-main select { border-color: var(--hub-mist-line); }

/* ══════════════════════════════════════════════════════════════════════════
   JOURNEY DESIGNER · REBUILD ROUND 1 (journey-designer-review/, round 4 §13)
   ──────────────────────────────────────────────────────────────────────────
   The shared shell (journey header, five-stage stepper), the Understand brief,
   and the three components the Hub did not have: the icon, the dialog/drawer
   and the toast. No new colours: the source tags reuse the badge tints already
   above (soon · apply · live), and meaning never rides on colour alone — every
   tag carries an icon and a word.
   ══════════════════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hub-icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.16em; }
.jd-step a, .jd-step-btn { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; color: var(--muted); text-decoration: none;
  font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; background: none; border: 0; padding: 0; cursor: pointer; }
.jd-step--mode { border-top-style: dashed; }
.jd-step-btn[aria-pressed="true"] { color: var(--ink); }
.jd-step-sub { display: block; font-size: 0.74rem; color: var(--muted); margin-top: -0.35rem; }
.jd-step a:focus-visible, .jd-step-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.jd-card { padding: 1.4rem 1.5rem; }

.jd-move { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.jd-move-side { border-radius: var(--hub-r-sm); padding: 1rem 1.1rem; display: grid; gap: 0.6rem; align-content: start; }
.jd-move-side--from { background: var(--paper-2); }
.jd-move-side--to { background: var(--hub-cool, #EEF6F5); }
.jd-move-arrow { align-self: center; color: var(--gold-deep); font-size: 1.4rem; }
@media (max-width: 620px) { .jd-move { grid-template-columns: 1fr; } .jd-move-arrow { transform: rotate(90deg); justify-self: center; } }
.jd-chip--gap { border-style: dashed; color: var(--muted); }
.jd-chip--gap:hover { color: var(--ink); border-color: var(--ink); }
.jd-suggest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; margin-top: 1rem;
  padding: 0.8rem 1rem; border-radius: var(--hub-r-sm); background: var(--paper); border: 1px dashed var(--hub-line); font-size: 0.9rem; }
.jd-suggest p { margin: 0; }
.jd-fact-v { font-weight: 600; color: var(--ink); }
.jd-fact-note { font-size: 0.8rem; color: var(--muted); }
.jd-private { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--muted); }
.jd-more { margin-top: 1rem; }
.jd-more > summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--ink); min-height: 44px; display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.jd-more > summary::-webkit-details-marker { display: none; }
.jd-more > summary::before { content: '+'; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 1px solid var(--hub-line); border-radius: 50%; font-weight: 400; }
.jd-more[open] > summary::before { content: '−'; }
.jd-trip { display: grid; gap: 0.5rem; padding-top: 0.5rem; }
.jd-code { width: 5.5rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }

.jd-tiers { display: grid; gap: 1rem; }
.jd-tier-name { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.45rem; }

/* The three questions: a sticky panel beside the brief on wide screens. */
.jd-questions { padding: 1.4rem 1.4rem 1.5rem; }
/* Pinned beside the brief only while it fits: a sticky panel taller than the
   window would hide its own last question. It scrolls inside itself instead. */
@media (min-width: 1180px) { .jd-questions { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; } }
.jd-answer input, .jd-tri-opt input, .jd-rung input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jd-answer input:focus-visible + span, .jd-tri-opt input:focus-visible + span, .jd-rung input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.jd-group { border: 0; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.jd-group--wide { grid-column: 1 / -1; }
.jd-group legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 0.5rem; }
.jd-tri { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.2rem 0; border-bottom: 1px solid rgba(18, 48, 47, 0.06); }
.jd-tri-name { font-size: 0.9rem; color: var(--ink); }
.jd-tri[data-v] .jd-tri-name { color: var(--v-ink, var(--ink)); }
.jd-rungs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-bottom: 0.4rem; }
.jd-rungs-name { width: 3rem; font-size: 0.82rem; color: var(--muted); }
.jd-rung span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.75rem; border: 1px solid var(--hub-line); border-radius: var(--hub-pill); font-size: 0.84rem; cursor: pointer; background: #fff; }
.jd-rung input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Present mode hides what belongs to the advisor alone, on these screens too. */
.is-present .jd-questions .jd-note, .is-present .jd-suggest, .is-present .jd-form-foot { display: none; }

/* ── Dialog and drawer (native <dialog>; js/hub-ui.js) ──────────────────── */
.hub-dialog { border: 0; padding: 0; border-radius: var(--hub-r); box-shadow: var(--hub-elev-2); color: var(--ink); max-width: min(640px, calc(100vw - 2rem)); width: 100%; }
.hub-dialog::backdrop { background: rgba(18, 48, 47, 0.38); }
.hub-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--hub-line); }
.hub-dialog-head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: 0; }
.hub-dialog-x { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hub-line); background: #fff; color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.hub-dialog-x:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.hub-dialog-body { padding: 1.25rem 1.5rem 2rem; display: grid; gap: 1rem; }

@keyframes hub-drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Phone: number above word, all five visible, nothing truncated; the
   header's actions share one row and the save status sits under them. */
@media (max-width: 760px) {
  .jd-step a, .jd-step-btn { flex-direction: column; align-items: flex-start; gap: 0.3rem; min-height: 0; padding-bottom: 0.2rem;
    font-size: 0.64rem; letter-spacing: 0.02em; }
  .jd-step-sub { display: none; }
}

.hub-dialog-body .hub-notice { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0; }
.hub-dialog-body .hub-notice .hub-icon { margin-top: 0.15em; }


.jd-gaps-lead { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; font-size: 0.92rem; }
.jd-gaps--done { background: var(--hub-cool, #EEF6F5); color: var(--ink); font-size: 0.92rem; display: flex; gap: 0.4rem; align-items: center; }

/* From → Toward, and the line that carries the story. */
.jd-journey-ends { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: start; }
.jd-end { display: grid; gap: 0.55rem; padding: 1rem 1.1rem 1.1rem; border-radius: var(--hub-r-sm); align-content: start; }
.jd-end--from { background: var(--paper-2); }
.jd-end--to { background: var(--hub-cool, #EEF6F5); }
.jd-custom { display: none; min-height: 40px; padding: 0.45rem 0.75rem; border: 1px dashed var(--gold-deep); border-radius: var(--hub-r-sm); background: #fff; }
.jd-end:has(option[value="__custom"]:checked) .jd-custom { display: block; }
.jd-story-label { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 760px) {
  .jd-journey-ends { grid-template-columns: 1fr; }
}

/* What we know: value first, Edit opens the controls in the same card. */
.jd-fact--wide { grid-column: 1 / -1; }
.jd-fact-edit { width: 100%; }
.jd-fact-edit > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px;
  font-size: 0.82rem; font-weight: 600; color: var(--gold-deep); }
.jd-fact-edit > summary::-webkit-details-marker { display: none; }
.jd-fact-edit[open] > summary span::after { content: ' · done'; color: var(--muted); font-weight: 500; }
.jd-fact-ctl { display: grid; gap: 0.75rem; padding-top: 0.6rem; border-top: 1px dashed var(--hub-line); margin-top: 0.3rem; }
.jd-fact-link { font-size: 0.82rem; color: var(--gold-deep); font-weight: 600; }
.jd-precision { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.jd-fact-ctl .design-picks--seg { flex-wrap: wrap; }
.jd-fact-link { white-space: nowrap; }

/* ── Curate (Duncan's preview feedback, 24 Oct) ─────────────────────────────
   A gallery to talk over: photograph first, two or three across. Carried
   cards wear a gold ring; put-aside cards stay where they were, greyed. */
.jd-curate-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 0.5rem; }
.jd-carry-count { margin: 0; font-size: 0.92rem; color: var(--muted); }
.jd-carry-count b { font: 400 1.6rem/1 var(--serif); color: var(--ink); margin-right: 0.2rem; }


.jd-preset-chapters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.35rem; font-size: 0.76rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); }
.jd-preset-chapters i { font-style: normal; color: var(--gold-deep); }
.jd-preset-suits, .jd-preset-pace { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.jd-shape-change { flex-basis: 100%; }
.jd-shape-change > summary { cursor: pointer; display: inline-flex; min-height: 36px; align-items: center; font-size: 0.88rem; font-weight: 600; color: var(--gold-deep); }
.jd-cue-flags li, .jd-cue-ok { display: flex; gap: 0.35rem; align-items: flex-start; }
.jd-cue-flags svg, .jd-cue-ok svg { width: 0.95rem; height: 0.95rem; flex: none; margin-top: 0.15rem; }
.jd-week { min-width: calc(var(--days) * 196px); }
.jd-week-tide { padding: 0 0 0.25rem; border-bottom: 1px dashed var(--hub-line); margin-bottom: 0.6rem; }
.jd-part-empty { margin: 0; color: var(--hub-line); font-size: 0.8rem; }
.jd-item--included { border-left-color: var(--teal); }
.jd-item--addon { border-left-color: var(--gold); }
.jd-item--own { border-left-color: var(--ink); }
.jd-item--open { background: #fff; border: 1px dashed var(--hub-line); border-left-width: 3px; }
.jd-item--idea { background: #fff; border: 1px dashed rgba(138, 94, 21, 0.45); border-left-width: 3px; }

@media (max-width: 760px) {
  .jd-week { min-width: calc(var(--days) * 78vw); }
}


/* The issued document: what each part of the day holds. */
.itin-day-parts { margin: 0.55em 0 0; display: grid; gap: 0.2em; font-size: var(--fs-small); }
.itin-day-parts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem; }
.itin-day-parts dt { color: var(--muted); }
.itin-day-parts dd { margin: 0; }

.jd-discovery { display: grid; gap: 0.35rem; padding: 1.6rem 1.75rem 1.75rem; }
.jd-sub { margin: 1.4rem 0 0.75rem; font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }

/* The change they're after: white panels, a slate edge for now, teal for after,
   the gold journey line between. No tinted fills. */
.jd-end { background: #fff; border: 1px solid var(--hub-line); border-left-width: 4px; }
.jd-end--from { background: #fff; border-left-color: #8A9C9B; }
.jd-end--to { background: #fff; border-left-color: var(--teal); }
.jd-end-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.jd-select--second { font-family: var(--sans) !important; font-size: 0.95rem !important; color: var(--muted); }

.jd-q--wide { grid-column: 1 / -1; }
.jd-q--wide .design-steps { margin-top: 0.25rem; }


.jd-mcard--wide { grid-column: span 2; }
@media (max-width: 899px) { .jd-mcard--wide { grid-column: auto; } }
.jd-rungs { align-items: flex-start; }
.jd-rungs-set { display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1; }
.jd-rungs-name { padding-top: 0.5rem; }


.jd-preset-chapters { display: none; }

/* ══ Understand, fourth pass (Duncan's review, 26 Oct) ═════════════════════
   Contrast first: the Designer sits on warm paper, so its white cards read as
   cards. Sections in conversation order, each with a line and questions to
   try. Chips are filled, not outlined, so an unchosen option is still visible
   on white. The Framework is drawn the way the training draws it. */
.hub-main.design { background: var(--paper); }

.jd-please--sm { font-size: 0.68rem; padding: 0.1rem 0.5rem; margin-left: 0.4rem; font-style: normal; }

/* Listen first: a notepad, then the feelings tagged from it. */
.jd-notepad { display: grid; gap: 0.5rem; }
.jd-notepad-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.jd-notepad textarea { width: 100%; min-height: 11rem; padding: 1rem 1.15rem; border: 1px solid rgba(18, 48, 47, 0.18); border-radius: var(--hub-r-sm); resize: vertical;
  font: 400 1.05rem/1.7 var(--serif); color: var(--ink);
  background: #FFFDF8 repeating-linear-gradient(180deg, transparent 0, transparent calc(1.785rem - 1px), rgba(18, 48, 47, 0.07) calc(1.785rem - 1px), rgba(18, 48, 47, 0.07) 1.785rem);
  background-position: 0 0.95rem; background-attachment: local; }
.jd-notepad textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

.jd-feel--after { border-top-color: var(--teal); }


/* A question shown after a jump. */
@keyframes jd-flash { 0% { box-shadow: 0 0 0 0 rgba(217, 160, 60, 0); } 15% { box-shadow: 0 0 0 4px rgba(217, 160, 60, 0.75); } 100% { box-shadow: 0 0 0 4px rgba(217, 160, 60, 0); } }


/* The Continuum band. */
.jd-band { --n: 6; position: relative; padding: 0.5rem 0 0.25rem; }
.jd-band-track { position: absolute; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); top: 1.35rem; height: 6px; border-radius: 3px; background: #E3E8E7; }
.jd-band-fill { position: absolute; top: -3px; height: 12px; border-radius: 6px; background: var(--teal);
  left: calc(var(--a) / (var(--n) - 1) * 100% - 6px); width: calc((var(--b) - var(--a)) / (var(--n) - 1) * 100% + 12px); }
.jd-band[data-empty] .jd-band-fill { display: none; }
.jd-band-stops { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.jd-band-stop { display: grid; justify-items: center; gap: 0.3rem; padding: 0.35rem 0.2rem 0.5rem; background: none; border: 0; cursor: pointer; text-align: center; border-radius: var(--hub-r-sm); }
.jd-band-stop:hover { background: var(--paper); }
.jd-band-stop:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.jd-band-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #A9B6B5; position: relative; z-index: 1; }
.jd-band-stop.is-in .jd-band-dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 3px #fff inset; }
.jd-band-stop b { font: 400 1.02rem/1.2 var(--serif); color: #6B7B7A; }
.jd-band-stop.is-in b { color: var(--ink); }
.jd-band-stop small { font-size: 0.74rem; line-height: 1.3; color: #6B7B7A; }


/* The Hub fills every field mint; in the Designer, on white cards, that made
   fields and cards one colour. Fields here are white with a clear edge. */
body[data-page="hub"] .hub-main.design input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
body[data-page="hub"] .hub-main.design textarea,
body[data-page="hub"] .hub-main.design select { background-color: #fff; border-color: rgba(18, 48, 47, 0.24); }
body[data-page="hub"] .hub-main.design .jd-notepad textarea {
  background: #FFFDF8 repeating-linear-gradient(180deg, transparent 0, transparent calc(1.785rem - 1px), rgba(18, 48, 47, 0.08) calc(1.785rem - 1px), rgba(18, 48, 47, 0.08) 1.785rem);
  background-position: 0 0.95rem; background-attachment: local; }

/* ══ Understand, fifth pass (Duncan, 26 Oct afternoon) ══════════════════════
   The Hub home's language: a white page, white cards with a fine edge and a
   soft shadow, and one dark ink card as the loud element — here, Still to ask.
   More room between labels and choices. */
.hub-main.design { background: #fff; }

/* The notepad: plain white. */
body[data-page="hub"] .hub-main.design .jd-notepad textarea { background: #fff; background-image: none; font: 400 1.02rem/1.6 var(--sans); padding: 1rem 1.15rem; }
.jd-notepad { gap: 0.65rem; }

/* Eclipse: the line, then its note, nothing between. */
#jd-fact-eclipse { gap: 0.5rem; }

.jd-range-words { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0.25rem; }
.jd-range-word { display: grid; gap: 0.2rem; justify-items: center; padding: 0.45rem 0.3rem; border: 0; background: none; border-radius: 8px; text-align: center; cursor: pointer; }
.jd-range-word b { font: 400 1.08rem/1.2 var(--serif); color: #6B7B7A; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.jd-range-word small { font-size: 0.76rem; line-height: 1.3; color: #6B7B7A; }
.jd-range-word:hover b { text-decoration-color: currentColor; color: var(--ink); }
.jd-range-word.is-in b { color: var(--ink); font-weight: 600; }
.jd-range-word.is-in small { color: #3E5150; }
.jd-range-word:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.jd-step-btn:disabled { color: #AEB9B8; cursor: not-allowed; }
.hub-btn.is-locked, .hub-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.hub-btn[data-present]:disabled { opacity: 0.45; cursor: not-allowed; }

/* ══ Understand, sixth pass (Duncan, 26 Oct evening): contrast ══════════════
   Three layers that each read as different: a light green mist page, white
   cards, and inside the cards faintly tinted panels holding white fields and
   white choices with a real edge. Nothing white sits on white without one. */
.hub-main.design { background: #EDF3F1; }

/* Panels inside cards. */
.jd-box, .jd-feel, .jd-qs .jd-q, .jd-wheel-ctl, .jd-notepad, .jd-also {
  background: #F4F8F7; border: 1px solid rgba(18, 48, 47, 0.1); border-radius: 12px; }
.jd-notepad { padding: 1.1rem 1.25rem 1.25rem; }

/* White fields with a clear edge, including the notes. */
body[data-page="hub"] .hub-main.design input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
body[data-page="hub"] .hub-main.design textarea,
body[data-page="hub"] .hub-main.design select { background-color: #fff; border: 1px solid rgba(18, 48, 47, 0.28); }
body[data-page="hub"] .hub-main.design .jd-notepad textarea { background: #fff; border: 1px solid rgba(18, 48, 47, 0.28); box-shadow: inset 0 1px 2px rgba(18, 48, 47, 0.06); }
body[data-page="hub"] .hub-main.design .jd-notepad textarea:focus { border-color: var(--teal); outline: 2px solid rgba(11, 110, 112, 0.25); outline-offset: 0; }
.jd-sec--listen .jd-notepad { margin-top: 0.25rem; }

.jd-show { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.35rem 0.9rem; border-radius: var(--hub-pill); cursor: pointer;
  border: 1px dashed rgba(138, 94, 21, 0.55); background: #fff; color: #6B4A10; font-size: 0.86rem; font-weight: 600; }
.jd-show svg { width: 0.95rem; height: 0.95rem; }
.jd-show .jd-show-on { display: none; }
.jd-show.is-on { border-style: solid; border-color: var(--gold); background: var(--gold); color: var(--ink); }
.jd-show.is-on .jd-show-on { display: inline; }
.jd-show.is-on .jd-show-off { display: none; }
.jd-show:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }


.jd-item--excursion { border-left-color: #2E9A64; }
.jd-part--morning { background: #FFF8EB; }
.jd-part--afternoon { background: #EFF6FB; }
.jd-part--evening { background: #F2EFF8; }
.jd-item--meal { border-left-color: #C9894B; }
.jd-item--transfer { border-left-color: #6E8FA6; }


.jd-arc-old { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 0.75rem; padding: 0.7rem 0.9rem;
  border-radius: var(--hub-r-sm); background: #FFF4E0; border: 1px solid rgba(138, 94, 21, 0.3); }
.jd-arc-old p { margin: 0; flex: 1 1 22rem; font-size: 0.86rem; color: var(--ink); }
.jd-arc-old svg { width: 1rem; height: 1rem; vertical-align: -0.15rem; color: #8A5E15; }

/* ── Design, 28 Oct round 3: the week's chart, the locked pace, experiences ── */
.jd-week-tide { padding: 0; border-bottom: 0; margin-bottom: 0.6rem; }
/* ============================================================================
   LIVING FIELD GUIDE (/hub/field-guide) — css/hub.css section
   ----------------------------------------------------------------------------
   Hub tokens only (css/tokens.css, the --hub-* set above): no new colour, one
   deliberate exception noted below. Everything is prefixed .fg-. Anything inside
   [data-hide-in-present] disappears when "Client can see my screen" is on.
   ========================================================================== */
.fg { --fg-line: var(--hub-line); }
.fg-bar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--fg-line); }
.fg-bar-in { display: flex; align-items: center; gap: 1rem; min-height: 3.6rem; }
.fg-crumb { color: var(--muted); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.fg-crumb:hover { color: var(--ink); }
.fg-searchbtn, .fg-bigsearch { display: flex; align-items: center; gap: .7rem; height: 2.7rem; padding: 0 1rem; border: 1px solid var(--fg-line); border-radius: var(--hub-pill); background: #fff; color: var(--muted); text-align: left; box-shadow: var(--hub-elev-1); cursor: pointer; font: inherit; }
.fg-searchbtn { flex: 1; max-width: 34rem; }
.fg-searchbtn:hover, .fg-bigsearch:hover { border-color: rgba(11, 110, 112, .3); }
.fg-searchbtn-t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-bigsearch { width: 100%; max-width: 40rem; height: 3.5rem; margin: 1.5rem auto 1rem; font-size: 1.05rem; }
.fg-bigsearch--sm { height: 3rem; margin: 0 0 1.5rem; max-width: none; }
.fg kbd { font: 500 .72rem var(--sans); border: 1px solid var(--fg-line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: #fff; color: var(--muted); }
.fg-ps { margin-left: auto; display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 760px) { .fg-ps > span { display: none; } .fg-crumb { display: none; } }
.fg-switch { position: relative; width: 2.4rem; height: 1.4rem; border-radius: 999px; background: #C9D5D3; border: 0; padding: 0; cursor: pointer; transition: background .2s var(--hub-ease); }
.fg-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; transition: transform .2s var(--hub-ease); }
.fg-switch[aria-checked="true"] { background: var(--teal); }
.fg-switch[aria-checked="true"]::after { transform: translateX(1rem); }
.fg-psbanner { display: none; background: var(--ink); color: #fff; font-size: .88rem; padding: .5rem 0; text-align: center; }
.is-present .fg .fg-psbanner { display: block; }
.is-present .fg [data-hide-in-present] { display: none !important; }
.fg-adv-note { display: none; }
.is-present .fg .fg-adv-note { display: block; border: 1px dashed rgba(11, 110, 112, .2); border-radius: var(--hub-r-sm); padding: .75rem .9rem; color: var(--muted); font-size: .88rem; background: #EEF6F5; margin-top: .75rem; }

.fg-body { padding-top: 1.25rem; padding-bottom: 3rem; }
.fg-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.fg-tab, .fg-pill { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--hub-pill); border: 1px solid var(--fg-line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.fg-pill { min-height: 2.5rem; font-weight: 500; font-size: .86rem; }
.fg-tab small, .fg-pill small { font-weight: 500; color: var(--muted); font-size: .74rem; }
.fg-tab:hover, .fg-pill:hover { box-shadow: var(--hub-elev-1); color: var(--ink); }
.fg-tab[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fg-tab[aria-current="page"] small { color: #fff; opacity: .8; }
.fg-pill[aria-current="true"] { background: #EEF6F5; border-color: var(--teal); }
.fg-filters { gap: .5rem; margin: 1rem 0 .5rem; }

.fg h1, .fg h2, .fg h3 { font-family: var(--serif-display); font-weight: 400; color: var(--ink); }
.fg-h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4rem 0 .6rem; line-height: 1.1; }
.fg-home { text-align: center; padding: 1.5rem 0 1rem; }
.fg-home h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .5rem 0; }
.fg-lede { color: var(--muted); max-width: 46ch; margin: 0 auto 1rem; font-size: 1.05rem; }
.fg-h1 + .fg-lede, .fg-body > .fg-lede { margin-left: 0; }
.fg-tasks { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.fg-sect { padding: 1.6rem 0 .5rem; }
.fg-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.fg-hd h2 { font-size: 1.6rem; margin: 0; }
.fg-vcard { border-left: 4px solid var(--v-rainforest); padding-left: 1.25rem; }
.fg-vcard h2 { font-size: 2rem; margin: .2rem 0 .4rem; } .fg-vcard h2 a { color: inherit; text-decoration: none; }
.fg-vq { max-width: 60ch; }
.fg-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .fg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fg-grid { grid-template-columns: 1fr; } }
.fg-card { background: #fff; border: 1px solid var(--fg-line); border-radius: var(--hub-r); box-shadow: var(--hub-elev-1); }
.fg-pad { padding: 1.25rem; }
.fg-tile { display: block; color: inherit; text-decoration: none; overflow: hidden; position: relative; transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease); }
.fg-tile:hover { box-shadow: var(--hub-elev-2); transform: translateY(-2px); color: inherit; }
.fg-tile-bd { padding: .9rem 1rem 1rem; }
.fg-tile-bd h3 { font-size: 1.25rem; margin: .5rem 0 .2rem; } .fg-tile-bd p { margin: 0; font-size: .9rem; color: var(--muted); } .fg-tile-bd .fg-tiny { margin-top: .5rem; }
.fg-ph { aspect-ratio: 16 / 10; background: #EEF6F5 center / cover no-repeat; }
.fg-ph--big { aspect-ratio: auto; border-radius: var(--hub-r-sm); min-height: 0; }
.fg-ph--panel { aspect-ratio: 16 / 8; border-radius: var(--hub-r-sm); margin-bottom: .75rem; }
.fg-ph--slot, .fg-slot, .fg-slot-thumb { border: 1.5px dashed rgba(11, 110, 112, .2); background: repeating-linear-gradient(135deg, #EEF6F5 0 10px, #E4EFEE 10px 20px); color: var(--muted); }
.fg-ph--type { display: flex; align-items: flex-end; padding: 1rem 1.1rem; background: #EEF6F5; background: color-mix(in srgb, var(--v, #00A6A8) 16%, #FBF8F1); color: var(--v-ink, var(--ink)); }
.fg-ph--type[data-v=""] { background: #F3EDE0; }
.fg-ph--type span { font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.15 var(--serif-display); text-wrap: balance; }
.fg-vpending { font-size: .88rem; color: #fff; }
.fg-ph--slot { display: flex; align-items: center; justify-content: center; font: 600 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.fg-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: .5rem; border-radius: var(--hub-r-sm); min-height: 5.2rem; }
.fg-slot span:first-child { font: 600 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; } .fg-slot span:last-child { font-size: .82rem; }
.fg-slot--wide { min-height: 7.5rem; margin: 1rem 0; }
.fg-slot-thumb { width: 3.5rem; height: 2.6rem; border-radius: 8px; flex: none; }
.fg-shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem .9rem; }
.fg-shot { grid-column: span 2; margin: 0; }
.fg-shot:nth-child(-n + 2) { grid-column: span 3; }
.fg-shots[data-n="1"] .fg-shot { grid-column: 1 / -1; }
.fg-shots[data-n="3"] .fg-shot:first-child { grid-column: 1 / -1; }
.fg-shots[data-n="3"] .fg-shot:not(:first-child), .fg-shots[data-n="4"] .fg-shot { grid-column: span 3; }
.fg-shots[data-n="6"] .fg-shot { grid-column: span 3; }
.fg-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--hub-r-sm); background: #EEF6F5; }
.fg-shot figcaption { margin-top: .5rem; font-size: .88rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.fg-shot figcaption span { display: block; font-size: .78rem; color: var(--muted); }
@media (max-width: 620px) { .fg-shots { grid-template-columns: minmax(0, 1fr); } .fg-shots .fg-shot[class] { grid-column: 1 / -1; } }

.fg-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.fg-chip { display: inline-flex; align-items: center; gap: .4rem; height: 1.75rem; padding: 0 .65rem; border-radius: var(--hub-pill); font: 500 .78rem var(--sans); background: #EEF6F5; color: var(--ink); border: 1px solid rgba(11, 110, 112, .16); white-space: nowrap; text-decoration: none; cursor: pointer; }
.fg-chip--village::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--v-rainforest); }
.fg-chip--village[data-v="longevity"]::before { background: var(--v-longevity); } .fg-chip--village[data-v="ocean"]::before { background: var(--v-ocean); } .fg-chip--village[data-v="heritage"]::before { background: var(--v-heritage); } .fg-chip--village[data-v="movement"]::before { background: var(--v-movement); } .fg-chip--village[data-v="connection"]::before { background: var(--v-connection); }
.fg-chip--quiet { height: 1.5rem; background: #fff; }
.fg-ev { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .55rem; border-radius: 6px; font: 600 .72rem var(--sans); letter-spacing: .02em; cursor: help; border: 1px solid transparent; }
.fg-ev--verified { background: #E3F1EC; color: #1F5A45; border-color: #BFDCCF; }
.fg-ev--published { background: #E6EEF6; color: #274E73; border-color: #C4D4E5; }
.fg-ev--guest { background: #F3EEE3; color: #6A5524; border-color: #E0D6BC; }
.fg-ev--confirm { background: #FBEBD1; color: #7A5411; border-color: #EFD3A2; }
.fg-eff { display: inline-flex; gap: 3px; vertical-align: middle; } .fg-eff i { width: .55rem; height: .55rem; border-radius: 50%; border: 1.5px solid var(--teal); } .fg-eff i.on { background: var(--teal); } .fg-eff i.reach { background: #BFDDDD; }
.fg-tiny { font-size: .76rem; color: var(--muted); } .fg-small { font-size: .88rem; } .fg-muted { color: var(--muted); } .fg-grow { flex: 1; min-width: 0; }
.fg-k { font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .9rem 0 .25rem; }
.fg-big { font-size: 1.12rem; line-height: 1.55; margin: .3rem 0 .8rem; max-width: 62ch; }
.fg-list { list-style: none; margin: 0; padding: 0; } .fg-list li { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--fg-line); } .fg-list li:first-child { border-top: 0; }
.fg-list a { font-weight: 600; color: var(--ink); text-decoration: none; } .fg-list a:hover { text-decoration: underline; }
.fg-empty { border: 1px dashed rgba(11, 110, 112, .25); border-radius: var(--hub-r); padding: 1.1rem 1.25rem; background: #EEF6F5; } .fg-empty p { margin: .25rem 0; }
.fg-notice { background: #FBEBD1; color: #7A5411; border-radius: var(--hub-r-sm); padding: .6rem .8rem; }
.fg-duty { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--fg-line); padding-top: .8rem; margin-top: 2rem; max-width: 80ch; } .fg-duty--tight { margin-top: .9rem; }
.fg-sumline { background: #EEF6F5; border: 1px solid rgba(11, 110, 112, .16); border-radius: var(--hub-r-sm); padding: .8rem 1rem; margin: .5rem 0; }

.fg-hero { position: relative; border-radius: var(--hub-r); overflow: hidden; aspect-ratio: 21 / 8; min-height: 13.5rem; background: var(--ink) center / cover no-repeat; margin-top: .25rem; }
.fg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 48, 47, 0) 35%, rgba(18, 48, 47, .8)); }
.fg-hero-ov { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.2rem; z-index: 2; color: #fff; } .fg-hero-ov h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: .4rem 0 .1rem; } .fg-hero-ov p { margin: 0; opacity: .92; }
@media (max-width: 700px) { .fg-hero { aspect-ratio: auto; min-height: 16rem; } }
.fg-credit { font-size: .74rem; color: var(--muted); margin: .5rem .1rem 0; }
.fg-jump { position: sticky; top: 3.6rem; z-index: 30; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--fg-line); margin: 1rem 0 0; padding: .35rem 0; }
.fg-jump a { padding: .55rem .9rem; border-radius: var(--hub-pill); font-weight: 500; font-size: .9rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.fg-jump a:hover { color: var(--ink); } .fg-jump a.is-on { background: #EEF6F5; color: var(--ink); font-weight: 600; }
.fg-cols { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.25rem; align-items: start; margin-top: 1.6rem; }
@media (max-width: 960px) { .fg-cols { grid-template-columns: minmax(0, 1fr); } .fg-aside { order: -1; position: static !important; } }
.fg-aside { position: sticky; top: 8rem; }
.fg-glance { padding: 1.1rem; } .fg-glance h3 { font-size: 1.1rem; margin: 0 0 .5rem; } .fg-glance p { margin: 0; } .fg-glance ul { margin: 0; padding-left: 1.1rem; } .fg-wide { display: flex; width: 100%; margin-top: 1rem; justify-content: center; }
.fg-sec { padding: 1.8rem 0 .4rem; border-top: 1px solid var(--fg-line); scroll-margin-top: 9rem; } .fg-sec:first-child { border-top: 0; padding-top: 0; } .fg-sec h2 { font-size: 1.6rem; margin: 0 0 .4rem; }
.fg-mapline { margin: .5rem 0; } .fg-mapline .fg-k { margin: 0 .3rem 0 0; }
.fg-why { background: #FBF8F1; border-left: 3px solid var(--gold); padding: .7rem .9rem; border-radius: 0 var(--hub-r-sm) var(--hub-r-sm) 0; }
.fg-facts { list-style: none; margin: .5rem 0 0; padding: 0; } .fg-fact { padding: .75rem 0; border-top: 1px solid var(--fg-line); } .fg-fact:first-child { border-top: 0; } .fg-fact p { margin: 0 0 .4rem; }
.fg-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; font-size: .78rem; color: var(--muted); }
.fg-meta a { color: var(--teal); } .fg-recheck { color: #7A5411; font-weight: 600; }
.fg-more { margin-top: .9rem; } .fg-more summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: .4rem 0; }
.fg-pair { display: flex; gap: .8rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--fg-line); } .fg-pair a { font-weight: 600; color: var(--ink); } .fg-pair .fg-tiny { flex: 1; }
.fg-rate { background: #EEF6F5; border-radius: var(--hub-r-sm); padding: .8rem 1rem; margin: .6rem 0; } .fg-rate p { margin: 0 0 .3rem; }
.fg-tablewrap { overflow-x: auto; border: 1px solid var(--fg-line); border-radius: var(--hub-r-sm); margin-top: .6rem; } .fg-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 34rem; } .fg-table th, .fg-table td { text-align: left; padding: .5rem .65rem; border-top: 1px solid var(--fg-line); vertical-align: top; } .fg-table thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.fg-facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; } @media (max-width: 620px) { .fg-facts3 { grid-template-columns: 1fr; } }
.fg-dmc { border: 1.5px dashed rgba(11, 110, 112, .25); border-radius: var(--hub-r); padding: 1rem 1.2rem; background: #EEF6F5; } .fg-dmcband { margin-top: 1.4rem; border: 1px dashed rgba(11, 110, 112, .25); border-radius: var(--hub-r-sm); padding: .75rem 1rem; background: #EEF6F5; font-size: .9rem; }
.fg-note-block { border-top: 1px solid var(--fg-line); padding: .75rem 0; } .fg-note-block p { margin: .25rem 0; }
.fg-answer { background: #fff; border: 1px solid rgba(11, 110, 112, .25); border-radius: var(--hub-r); padding: 1.1rem 1.25rem; margin: 0 0 1.5rem; box-shadow: var(--hub-elev-1); } .fg-answer h3 { font-size: 1.3rem; margin: 0 0 .3rem; }
.fg-ln { display: flex; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--fg-line); } .fg-ln q { color: var(--muted); font-size: .9rem; quotes: none; } .fg-ln-r { text-align: right; }
.fg-note { font-size: .84rem; color: var(--muted); background: #EEF6F5; border-radius: var(--hub-r-sm); padding: .6rem .8rem; margin: .9rem 0 0; }

.fg-dialog { border: 0; border-radius: var(--hub-r); padding: 0; box-shadow: var(--hub-elev-2); width: min(40rem, calc(100vw - 2rem)); max-height: 85vh; }
.fg-dialog::backdrop { background: rgba(18, 48, 47, .45); }
.fg-dialog-in { padding: 1.4rem 1.5rem; } .fg-dlg-h { font-size: 1.5rem; margin: 0 0 .3rem; } .fg-dlg-foot { margin-top: 1rem; }
.fg-sourcelist { list-style: none; margin: 1rem 0 0; padding: 0; } .fg-sourcelist li { padding: .7rem 0; border-top: 1px solid var(--fg-line); }
.fg-pal { width: min(40rem, calc(100vw - 1.5rem)); margin-top: 8vh; overflow: hidden; }
.fg-pal-in { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--fg-line); } .fg-pal-in input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.1rem; background: transparent; }
.fg-pal-res { max-height: 52vh; overflow: auto; padding: .4rem; }
.fg-grp { font: 600 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .7rem .7rem .25rem; }
.fg-opt { display: flex; gap: .75rem; align-items: center; padding: .6rem .7rem; border-radius: var(--hub-r-sm); color: var(--ink); text-decoration: none; } .fg-opt:hover, .fg-opt[aria-selected="true"] { background: #EEF6F5; }
.fg-opt-i { width: 1.4rem; text-align: center; color: var(--teal); } .fg-opt-n { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fg-opt-w { font-size: .78rem; color: var(--muted); } .fg-opt-x { font-size: .74rem; color: var(--muted); }
.fg-pal-note, .fg-pal-empty, .fg-pal-all { font-size: .8rem; color: var(--muted); padding: .4rem .8rem .6rem; } .fg-pal-empty p { margin: .2rem 0; }
.fg-pal-foot { display: flex; gap: 1.2rem; flex-wrap: wrap; padding: .6rem 1.1rem; border-top: 1px solid var(--fg-line); font-size: .75rem; color: var(--muted); background: #FBF8F1; }

.fg-peek { position: fixed; z-index: 80; max-width: 20rem; background: #fff; border: 1px solid var(--fg-line); border-radius: var(--hub-r-sm); box-shadow: var(--hub-elev-2); padding: .8rem .95rem; opacity: 0; pointer-events: none; transition: opacity .15s var(--hub-ease); }
.fg-peek.is-on { opacity: 1; } .fg-peek h4 { margin: 0 0 .25rem; font-size: .95rem; font-family: var(--serif-display); font-weight: 400; } .fg-peek p { margin: 0; font-size: .85rem; color: var(--muted); }
.fg-panel { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(27.5rem, 100vw); background: #fff; border-left: 1px solid var(--fg-line); box-shadow: var(--hub-elev-2); transform: translateX(104%); transition: transform .25s var(--hub-ease); display: flex; flex-direction: column; }
.fg-panel.is-open { transform: none; }
.fg-panel-head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.1rem; border-bottom: 1px solid var(--fg-line); } .fg-panel-body { overflow: auto; padding: 1rem 1.1rem 2rem; } .fg-panel-body h3 { font-size: 1.05rem; margin: 1.1rem 0 .3rem; } .fg-panel-actions { margin-top: 1.2rem; }
@media (max-width: 760px) { .fg-panel { top: auto; height: 82vh; width: 100%; border-left: 0; border-top: 1px solid var(--fg-line); border-radius: 1.1rem 1.1rem 0 0; transform: translateY(104%); } .fg-panel.is-open { transform: none; } }
.fg-quick { position: absolute; top: .6rem; right: .6rem; z-index: 3; }
.fg-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 12px; padding: .7rem 1rem; z-index: 90; font-size: .9rem; } .fg-toast[hidden] { display: none; }
@media print { .fg-bar, .fg-jump, .fg-panel, .fg-peek { display: none; } }
@media (prefers-reduced-motion: reduce) { .fg *, .fg-panel { transition: none !important; animation: none !important; } }
.fg-tile-link { display: block; color: inherit; text-decoration: none; }
.fg-tile-link:hover { color: inherit; }

/* Field Guide: the notebook and Compare */
.fg-tab--right { margin-left: auto; }
.fg-tab small:empty { display: none; }
.fg-acts { margin: .9rem 0 .2rem; }
.fg-save { min-width: 6.2rem; justify-content: center; }
.fg-cmpform { margin-top: 1rem; } .fg-cmpform select { min-height: 2.6rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); padding: 0 .6rem; font: inherit; min-width: 0; max-width: 100%; background: #fff; }
.fg-cmpform--wide { margin: 0 0 0 auto; } .fg-cmpform--wide .fg-k { margin: 0 0 .25rem; }
.fg-check { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; } .fg-check input { width: 1.1rem; height: 1.1rem; }
.fg-cmp-bar { margin: 1rem 0; align-items: flex-end; gap: 1rem; }
.fg-cmpwrap { border: 1px solid var(--hub-line); border-radius: var(--hub-r); overflow-x: auto; background: #fff; }
.fg-cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; min-width: 38rem; }
.fg-cmp th, .fg-cmp td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-top: 1px solid var(--hub-line); }
.fg-cmp thead th { border-top: 0; position: sticky; top: 3.6rem; z-index: 5; background: #fff; min-width: 11rem; }
.fg-cmp thead a { color: var(--ink); font-weight: 600; text-decoration: none; display: block; margin: .4rem 0; }
.fg-cmp tbody th { width: 9rem; color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: #FBF8F1; }
.fg-cmp-ph .fg-ph { aspect-ratio: 3 / 1; border-radius: 8px; }
.fg-cmp { table-layout: fixed; } .fg-cmp tbody th, .fg-cmp thead th:first-child { width: 8.5rem; }
.fg-cmp-note td { color: var(--muted); font-size: .84rem; border-top: 0; padding-top: 0; background: #FBF8F1; }
.fg-x { font-size: .8rem; color: var(--muted); }
.fg-cmp tr[hidden] { display: none; }
@media (max-width: 820px) { .fg-cmp thead th { position: static; } .fg-cmpform--wide { margin-left: 0; } }
.fg-nbcard.is-removed { background: #FBF8F1; }
.fg-nbcard.is-removed > *:not(.fg-removed) { display: none; }
.fg-removed { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fg-nbcard { margin: 0 0 1rem; } .fg-nbtop { align-items: flex-start; flex-wrap: nowrap; }
.fg-updated { margin-top: .4rem; font-size: .84rem; color: #7A5411; background: #FBEBD1; border-radius: 8px; padding: .35rem .6rem; display: inline-block; }
.fg-note-in { width: 100%; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); padding: .6rem .7rem; font: inherit; resize: vertical; }
.fg-note-state { display: block; min-height: 1.1em; }
.fg-nbacts { margin: 1.4rem 0 .6rem; }
.fg-toast-undo { background: none; border: 0; color: var(--gold); font: inherit; font-weight: 600; cursor: pointer; margin-left: .8rem; text-decoration: underline; }

/* Field Guide: Signature journeys. Eclipse keeps its own midnight and copper world on purpose (tokens.css --eclipse-*).
   --fg-cu-t is the contrast-safe copper for TEXT on light: the brand copper #9B7455 is under AA for small text. */
.fg { --fg-cu-t: #7A5638; }
.fg-grid--two { grid-template-columns: repeat(2, 1fr); } @media (max-width: 760px) { .fg-grid--two { grid-template-columns: 1fr; } }
.fg-jcard { display: block; text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease); } .fg-jcard:hover { box-shadow: var(--hub-elev-2); transform: translateY(-2px); color: inherit; }
.fg-jcard .fg-ph { aspect-ratio: 16 / 8; background-color: var(--eclipse-midnight); }
.fg-jcard-bd { padding: 1rem 1.2rem 1.2rem; background: var(--eclipse-midnight); color: var(--eclipse-sand); } .fg-jcard-bd h3 { color: #fff; margin: .3rem 0; } .fg-jcard-bd .hub-eyebrow, .fg-jcard-bd .fg-tiny { color: var(--eclipse-copper-l); } .fg-jcard-bd p { margin: .3rem 0; }
.fg-slot--next { min-height: 14rem; height: 100%; }
.fg-hero--ecl { background-color: var(--eclipse-midnight); } .fg-hero--ecl::after { background: linear-gradient(180deg, rgba(13, 20, 32, .12) 20%, rgba(13, 20, 32, .9)); }
.fg-ecl-eyebrow { color: var(--eclipse-copper-l) !important; }
.fg-h3 { font-size: 1.35rem; margin: 1.6rem 0 .4rem; } .fg-h3--sm { font-size: 1.05rem; margin: .2rem 0 .5rem; }
.fg-recog { border-left: 3px solid var(--eclipse-copper); padding: 2px 0 2px 1.1rem; margin: 1.1rem 0; } .fg-rq { font: 500 1.4rem/1.25 var(--serif-display); color: var(--ink); margin: 0 0 .6em; } .fg-recog p { margin: .5em 0; } .fg-rc { font-weight: 600; color: var(--fg-cu-t); }
.fg-plain { list-style: none; margin: 0; padding: 0; } .fg-plain li { padding: .3rem 0 .3rem .9rem; position: relative; font-size: .94rem; } .fg-plain li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: var(--eclipse-copper); }
.fg-card--ecl { background: var(--eclipse-midnight); border-color: var(--eclipse-midnight); color: var(--eclipse-sand); } .fg-card--ecl .fg-plain li::before { background: var(--eclipse-copper-l); } .fg-card--ecl .fg-tiny { color: var(--eclipse-copper-l); }
.fg-eband { background: var(--eclipse-midnight); color: var(--eclipse-sand); border-radius: var(--hub-r); padding: 1.4rem 1.5rem; } .fg-eband p { margin: 0 0 1rem; } .fg-eband-foot { margin: 1rem 0 0 !important; color: var(--eclipse-copper-l); font-size: .9rem; }
.fg-arc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; } .fg-arc li { border-top: 2px solid var(--eclipse-copper); padding-top: .6rem; display: flex; flex-direction: column; gap: 3px; font-size: .84rem; } .fg-arc-n { font: 600 .7rem var(--sans); color: var(--eclipse-copper-l); } .fg-arc b { font: 600 .78rem var(--sans); letter-spacing: .14em; color: #fff; }
@media (max-width: 900px) { .fg-arc { grid-template-columns: repeat(2, 1fr); } }
.fg-etile { overflow: hidden; } .fg-etile .fg-ph { aspect-ratio: 4 / 3; background-color: var(--eclipse-midnight); } .fg-etile-bd { padding: .8rem .9rem 1rem; } .fg-etile-bd h3 { margin: .5rem 0 .3rem; font-size: 1.02rem; }
.fg-edays { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: .8rem; } .fg-ecl-k { font-weight: 600; color: var(--fg-cu-t); margin: 0; }
.fg-fit { margin: 0; padding-left: 1.1rem; } .fg-fit li { margin: .45em 0; }
.fg-safety { margin-top: 1rem; border-left: 3px solid var(--eclipse-copper); background: #F6F1EA; border-radius: 0 var(--hub-r-sm) var(--hub-r-sm) 0; padding: .75rem 1rem; } .fg-safety p { margin: .3rem 0 0; }
.fg-say { border-top: 3px solid var(--teal); } .fg-dont { border-top: 3px solid var(--eclipse-copper); }
.fg-notice--soft { background: #F3EEE3; color: var(--ink); }

/* Field Guide: a stay with no photograph yet */
.fg-hero--plain { aspect-ratio: auto; min-height: 0; background: var(--ink); } .fg-hero--plain::after { display: none; } .fg-hero--plain .fg-hero-ov { position: static; padding: 2.2rem 1.5rem 1.3rem; }

/* Field Guide: the Village tiles on the home page */
.fg-vtile { display: block; padding: 1.1rem 1.2rem 1.2rem; text-decoration: none; color: inherit; border-top: 4px solid var(--v-rainforest); transition: box-shadow .25s var(--hub-ease), transform .25s var(--hub-ease); } .fg-vtile:hover { box-shadow: var(--hub-elev-2); transform: translateY(-2px); color: inherit; }
.fg-vtile h3 { font-size: 1.3rem; margin: 0 0 .3rem; } .fg-vtile .fg-vh { margin: 0 0 .5rem; color: var(--muted); font-size: .92rem; }
.fg-vtile[data-v="longevity"] { border-top-color: var(--v-longevity); } .fg-vtile[data-v="ocean"] { border-top-color: var(--v-ocean); } .fg-vtile[data-v="heritage"] { border-top-color: var(--v-heritage); } .fg-vtile[data-v="movement"] { border-top-color: var(--v-movement); } .fg-vtile[data-v="connection"] { border-top-color: var(--v-connection); }


@keyframes jd-drawer-in { from { transform: translateX(100%); } to { transform: none; } }

 padding: 0.85rem 0.55rem 0.95rem; width: 1.2rem; height: 1.2rem; }

/* ── Notes drawer, 29 Oct: their own words first; the panel is laid out on its own ── */
.jd-drawer-panel.jd-notes { contain: layout paint style; padding: 0.85rem 1rem 0.95rem 1.1rem; border-left: 3px solid var(--gold, #D9A03C); border-radius: 0 10px 10px 0; background: #fff; font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #8A5E15; text-transform: none; font-weight: 400; color: var(--muted); font: 400 1.08rem/1.5 var(--serif); color: var(--ink); }


/* ── The day's panel, 29 Oct: what the pace gives the day, with the pace's own marked ── */
.jd-day-arc { display: grid; gap: 0.7rem; margin: 0.4rem 0 0.2rem; padding: 0.85rem 0.9rem 0.95rem; border-radius: 10px; background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 48, 47, 0.1); font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #8A5E15; color: #8A5E15; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; order: 9; color: var(--muted); color: var(--muted); font-weight: 400; }

/* ── Reveal console, 29 Oct: the advisor's side of the client's Reveal ── */
.rv-console { display: grid; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.2rem 1.4rem;
  background: #fff; border: 1px solid rgba(18, 48, 47, 0.12); border-radius: 14px; max-width: 60ch; font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #8A5E15; flex-wrap: wrap; gap: 0.6rem; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; padding: 1rem 1.3rem;
  background: #FBEBD1; border-radius: 12px; color: #5E4310; flex-wrap: wrap; gap: 0.5rem; }
.rv-con-grid { display: grid; grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; top: calc(var(--hub-bar-h, 70px) + 1rem); padding: 1rem; background: #fff; border: 1px solid rgba(18, 48, 47, 0.12); border-radius: 14px; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.15rem; display: flex; align-items: baseline; gap: 0.6rem; padding: 0.55rem 0.7rem; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink); font: 500 0.95rem/1.3 var(--sans); text-align: left; cursor: pointer; letter-spacing: 0.08em; color: #8A5E15; color: #FBF8F1; font: 600 0.62rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; color: #B5651D; }
.rv-con-step { display: flex; justify-content: space-between; gap: 0.5rem; grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 0 0.7rem; font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #8A5E15; gap: 0.1rem; margin: 0 0 0.3rem 1.9rem; padding: 0 0 0 0.6rem; border-left: 1px solid rgba(217, 160, 60, 0.6); display: grid; gap: 0.1rem; font-size: 0.86rem; overflow: hidden; height: max(30rem, calc(100vh - var(--hub-bar-h, 70px) - 7rem)); border-radius: 12px; background: #12302F; box-shadow: 0 2px 4px rgba(18, 48, 47, 0.08), 0 18px 40px rgba(18, 48, 47, 0.14); left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; transform: scale(var(--rv-scale, 0.5)); display: flex; flex-wrap: wrap; gap: 0.6rem; background: #fff; border: 1px solid rgba(18, 48, 47, 0.12); border-radius: 14px; font: 400 1.35rem/1.2 var(--serif); max-width: 72ch; }
.rv-story-form { display: grid; gap: 1rem; }
.rv-titles { margin: 0; padding: 0; border: 0; display: grid; gap: 0.5rem; }
.rv-titles legend { margin-bottom: 0.4rem; font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rv-titles [data-reveal-titles] { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rv-titles [data-reveal-titles] label { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border: 1px solid rgba(18, 48, 47, 0.2); border-radius: 2rem; cursor: pointer; font: 400 1rem/1.2 var(--serif); }
.rv-titles [data-reveal-titles] label:has(input:checked) { background: var(--ink); color: #FBF8F1; border-color: var(--ink); }
.rv-titles [data-reveal-titles] input { accent-color: #D9A03C; }
.rv-title-own { display: grid; gap: 0.3rem; max-width: 26rem; font-size: 0.86rem; color: var(--muted); }
.rv-title-own input { min-height: 40px; padding: 0.4rem 0.7rem; border: 1px solid var(--hub-line); border-radius: 8px; font: inherit; font-size: 0.95rem; color: var(--ink); }
.rv-story-form textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--hub-line); border-radius: 8px; font: 400 1.05rem/1.55 var(--serif); }
.rv-story-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.9rem; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1rem; padding: 0.5rem 0; border-top: 1px solid rgba(18, 48, 47, 0.08); }
@media (max-width: 899px) {
  .rv-con-grid { grid-template-columns: minmax(0, 1fr); } border: 0; background: none; color: #8A5E15; font: 600 0.86rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ── Client View menu (Duncan, 3 Nov 2026): on this screen, or on the client's own device ── */
.jd-client { position: relative; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; height: 8px; border-radius: 50%; background: rgba(18, 48, 47, 0.2); transition: background 0.3s; box-shadow: 0 0 0 3px rgba(46, 155, 106, 0.18); right: 0; top: calc(100% + 0.5rem); z-index: 40; width: min(26rem, 90vw); display: grid; gap: 0.4rem; padding: 0.6rem; border-radius: var(--hub-r, 14px); background: #fff; box-shadow: var(--hub-elev-2, 0 18px 40px -18px rgba(18, 48, 47, 0.35)); border: 1px solid var(--hub-line, rgba(18, 48, 47, 0.12)); gap: 0.25rem; padding: 0.8rem 0.9rem; border-radius: 10px; color: var(--ink); text-decoration: none; outline: none; line-height: 1.45; color: var(--muted, #586C71); flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.5rem; min-width: 0; padding: 0.5rem 0.7rem; border: 1px solid var(--hub-line, rgba(18, 48, 47, 0.18)); border-radius: 8px; font: inherit; font-size: 0.82rem; background: var(--paper, #FBF8F1); place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--hub-line, rgba(18, 48, 47, 0.18)); background: #fff; color: var(--teal); cursor: pointer; height: 0.95rem; color: #fff; border-color: var(--teal); }

/* The client's screen, paced by the advisor (Duncan, 10 Nov): "Let's begin" releases the welcome on Understand; "Pause screen"
   rests the client's screen on the island at any stage, like blanking a slide. */
.jd-client-ctl { display: inline-flex; gap: 0.4rem; color: #FBF8F1; border-color: var(--ink, #12302F); height: 10px; top: 17px; margin-left: -4px; border-radius: 50%; background: #D9A03C; box-shadow: 0 0 0 3px rgba(217, 160, 60, 0.22); font-weight: 600; color: #D9A03C; }

/* A "Something else" answer, once written and left, reads as chosen: the same dark chip as a ticked option (10 Nov). Focus
   it to edit; × removes it. */
body[data-page="hub"] .hub-main.design .jd-pick-own:not(:placeholder-shown):not(:focus) { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }

/* ON THE CLIENT'S SCREEN (10 Nov): the place the client is looking at, rising from the bottom of the advisor's Curate page.
   It never covers more than two thirds of the page, so the cards stay in reach; minimised it is a bar. */
.jd-onscreen { position: fixed; z-index: 90; left: 50%; bottom: 0; width: min(1120px, calc(100vw - 2rem)); height: min(68vh, 760px);
  display: grid; grid-template-rows: auto minmax(0, 1fr); background: #FBF8F1; border-radius: 18px 18px 0 0; overflow: hidden;
  box-shadow: 0 -24px 60px -20px rgba(12, 36, 35, 0.45), 0 0 0 1px rgba(18, 48, 47, 0.1);
  transform: translate(-50%, 104%); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); align-items: center; gap: 0.8rem; min-height: 58px; padding: 0.55rem 0.9rem 0.55rem 1.2rem; background: #12302F; color: #FBF8F1; height: 9px; border-radius: 50%; background: #2E9B6A; box-shadow: 0 0 0 4px rgba(46, 155, 106, 0.25); flex: none; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; font-size: 0.78rem; opacity: 0.6; border-color: rgba(251, 248, 241, 0.35); background: transparent; }
@media (max-width: 860px) { .jd-onscreen-hint { display: none; } }

/* When it can happen (10 Nov): a quiet tag, and a coral one on an item sitting in a part its words rule out. */
.jd-item-when { display: inline-flex; align-items: center; padding: 0.12rem 0.5rem; border-radius: 1rem; font: 600 0.62rem/1.3 var(--sans, sans-serif); letter-spacing: 0.06em;
  background: #FBF1DC; color: #8A5E15; color: #A8402A; align-items: center; gap: 0.35rem; width: auto !important; height: auto !important; padding: 0.3rem 0.7rem !important; border-radius: 2rem !important;
  border: 1px solid rgba(11, 110, 112, 0.45) !important; background: #fff; color: #0B6E70; font: 600 0.7rem/1 var(--sans, sans-serif); letter-spacing: 0.04em; cursor: pointer; white-space: nowrap; height: 0.85rem; outline: none; color: #fff !important; border-color: #0B6E70 !important; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

/* The play button (10 Nov): round, quiet until pressed; pressed, it fills and stays filled while it is on the client's screen. */
.jd-show-btn { width: 2rem !important; height: 2rem !important; padding: 0 !important; justify-content: center; border-radius: 50% !important; flex: none; height: 0.85rem; margin-left: 2px; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

/* A family's placeholder (10 Nov, item-images.js): its colour, its drawing and its word, so a missing picture reads as intended. */
.ii-ph.jd-exc-media--none { background: radial-gradient(ellipse at 72% 18%, rgba(255, 255, 255, 0.55), transparent 62%), var(--ii-tint, #EEF3F2); color: var(--ii-ink, var(--teal)); gap: 0.45rem; }
.ii-ph svg { width: 3.6rem; height: 2.25rem; opacity: 0.85; }
.ii-ph .ii-ph-word { font: 400 1.25rem/1 var(--serif-display, Georgia, serif); letter-spacing: 0.01em; text-transform: none; opacity: 0.95; }
.ii-ph .ii-ph-note { font: 600 0.62rem/1 var(--sans, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.ii-ph .ii-ph-note:empty { display: none; }
.jd-exc-ai { position: absolute; right: 0.6rem; top: 0.6rem; padding: 0.15rem 0.5rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.85); color: #3E5452;
  font: 600 0.6rem/1.3 var(--sans, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; align-items: center; gap: 0.6rem; width: 100%; position: absolute; top: 0.8rem; left: 0.8rem; z-index: 3; padding: 0.3rem 0.75rem 0.3rem 1.55rem; border-radius: 2rem;
  background: #0B6E70 radial-gradient(circle at 0.8rem 50%, #F0C877 0 3.5px, transparent 4px) no-repeat; color: #fff; font: 600 0.62rem/1.2 var(--sans, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; border-radius: 0.6rem; box-shadow: inset 3px 0 0 #0B6E70; }
@media (prefers-reduced-motion: reduce) { .jd-exc, .jd-advice-list > li, .jd-item { transition: none; } align-items: center; gap: 0.4rem; margin: 0.35rem 0 0.15rem; padding: 0.28rem 0.7rem; border: 1px solid rgba(18, 48, 47, 0.16); border-radius: 2rem;
  background: transparent; color: #4A5E5C; font: 500 0.74rem/1.2 var(--sans, sans-serif); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 2; color: #0B6E70; outline: none; border-color: #12302F; color: #F0C877; z-index: 60; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; align-items: center; gap: 0.9rem; padding: 0.5rem 0.55rem 0.5rem 1.1rem;
  border-radius: 2rem; background: #12302F; color: #FBF8F1; font: 400 0.86rem/1.2 var(--sans, sans-serif); box-shadow: 0 18px 40px -18px rgba(12, 36, 35, 0.6); height: 8px; border-radius: 50%; background: #F0C877; box-shadow: 0 0 0 4px rgba(240, 200, 119, 0.22); font-weight: 600; color: #12302F; border-color: #FBF8F1; }

/* Swapping two days on the week's chart (11 Nov). A day that can move shows a grip on hover; lifted, its place empties
   to a dashed outline, and the day under the pointer slides across into it, so the swap is seen before it happens. */
.jd-journey .jd-strip-col[data-swap-day] .jd-strip-day { cursor: grab; -webkit-user-drag: none; user-select: none; position: absolute; left: 50%; top: calc(104px - 0.2rem); width: 1.1rem; height: 0.4rem; margin-left: -0.55rem;
  background: radial-gradient(circle, rgba(18, 48, 47, 0.5) 1.2px, transparent 1.7px) 0 0 / 0.367rem 0.2rem; opacity: 0; transition: opacity 0.2s; user-select: none; background: transparent; outline: 1.5px dashed rgba(11, 110, 112, 0.6); outline-offset: -3px; background: linear-gradient(180deg, transparent 0 104px, #fff 104px); box-shadow: inset 0 -2px 0 #0B6E70; z-index: 90; margin: 0 !important; padding: 0.5rem 0.4rem !important; display: grid; justify-items: center; gap: 0.1rem; pointer-events: none; border-radius: 12px;
  background: #12302F; color: #FBF8F1; box-shadow: 0 22px 44px -18px rgba(12, 36, 35, 0.65); transform: rotate(-2deg) scale(1.04); font: 600 0.68rem/1.2 var(--sans, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; font: 400 1rem/1.2 var(--serif, Georgia, serif); }
@media (prefers-reduced-motion: reduce) { .jd-journey .jd-strip-col .jd-strip-day { transition: none; } font-style: italic; color: var(--muted, #586C71); }

/* "Lock in this day" (11 Nov): a day not yet shaped says so, and can be shown to the client as it is. */
.jd-lockin { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0.35rem 0 0.2rem; font: 400 0.76rem/1.3 var(--sans, sans-serif); color: #8A5E15; align-items: center; gap: 0.35rem; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed #D9A03C; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 2; border: 1px solid rgba(217, 160, 60, 0.6); border-radius: 2rem; background: transparent; color: #8A5E15; font: 600 0.72rem/1.2 var(--sans, sans-serif); cursor: pointer; color: #12302F; outline: none; color: #586C71; text-decoration: underline; text-underline-offset: 2px; padding-left: 0.2rem; }

/* Days still taking shape, on the Reveal console (11 Nov): the dashed gold edge the client's screen uses for them. */
.rv-con-changes.rv-con-unshaped { background: #FBF6EA; outline: 1.5px dashed rgba(217, 160, 60, 0.6); outline-offset: -1.5px; }

/* Changing a stay (11 Nov): the panel that says what moving does, before anything is saved. */
.jd-staychange { margin: 0.6rem 0 0.9rem; padding: 1rem 1.1rem 1.1rem; border-radius: 12px; background: #fff; box-shadow: inset 3px 0 0 #0B6E70, 0 14px 30px -24px rgba(12, 36, 35, 0.5); font: 400 1.1rem/1.3 var(--serif, Georgia, serif); color: #12302F; padding: 0; border: 0; display: grid; gap: 0.3rem; font: 600 0.64rem/1.2 var(--sans, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: #8A5E15; gap: 0.5rem; align-items: baseline; font-size: 0.88rem; margin-left: 0.3rem; margin: 0.4rem 0 0.8rem; padding: 0; display: grid; gap: 0.5rem; gap: 0.2rem; padding: 0.55rem 0.7rem; border-radius: 8px; background: #F4F7F6; font-size: 0.86rem; padding: 0; color: #586C71; font-style: italic; letter-spacing: 0.12em; text-transform: uppercase; color: #586C71; color: #12302F; margin-top: 0.2rem; min-height: 34px; font-size: 0.82rem; border-radius: 8px; flex-wrap: wrap; gap: 0.5rem; }
/* An offering at another stay than the day's: a visit, to confirm. */
.jd-item-away { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; padding: 0.12rem 0.55rem; border-radius: 2rem; background: #FBF1DC; color: #8A5E15;
  font: 600 0.66rem/1.3 var(--sans, sans-serif); letter-spacing: 0.06em; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 2; align-items: center; gap: 0.35rem; margin-left: 0.6rem; padding: 0.1rem 0.55rem; border-radius: 2rem; vertical-align: 0.15em;
  font: 600 0.62rem/1.4 var(--sans, sans-serif); letter-spacing: 0.06em; text-transform: none; cursor: help; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.jd-load--tight { background: #FBF1DC; color: #8A5E15; }
.jd-load--over { background: #FCE6DF; color: #B2432A; border-radius: 4px; }

/* ============================================================================
   SHARE — the advisor's console (design/share.js shareConsole) and its entrance
   Round 2 (12 Nov): their brochure on the left at a readable size, turned from
   here; on the right, in the order they are settled, the next conversation,
   the people, their choices, and Send (then Sent, with Resend beside it).
   ========================================================================== */
.sh-yes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; margin: 0 0 1.2rem; padding: 0.75rem 1rem;
  border-radius: var(--hub-r-sm); background: var(--hub-cool, #EEF6F5); color: var(--ink); font: 500 0.92rem/1.45 var(--sans); color: var(--teal); font-weight: 700; color: var(--teal); font-weight: 600; grid-template-columns: minmax(0, 1.7fr) minmax(21rem, 1fr); gap: var(--hub-gap); align-items: start; top: 1rem; display: grid; gap: 0.7rem; flex-wrap: wrap; align-items: center; gap: 0.4rem; border: 1px solid var(--hub-line); border-radius: var(--hub-pill); color: var(--ink); text-decoration: none; font: 600 0.8rem/1 var(--sans); border-color: var(--ink); color: var(--paper); outline-offset: 2px; font-size: 0.85rem; color: var(--teal); height: auto; aspect-ratio: 17 / 11.4; max-height: 76vh; border: 0; border-radius: var(--hub-r); background: #E7E2D6; box-shadow: inset 0 0 0 1px var(--hub-line); align-items: center; justify-content: center; gap: 0.8rem; padding: 0.55rem; border-radius: var(--hub-pill); background: var(--ink); color: var(--paper); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; margin-right: 0.4rem; text-align: center; font: 500 0.88rem/1 var(--sans); height: 2.4rem; border-radius: 50%; border: 1px solid rgba(217, 160, 60, 0.65); background: none; color: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; outline: none; gap: 1rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r); background: #fff; font: 400 1.25rem/1.25 var(--serif-display); color: var(--muted); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 0.9rem; align-items: end; gap: 0.3rem; font: 600 0.78rem/1.2 var(--sans); color: var(--muted); padding: 0.55rem 0.7rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); font: 400 0.95rem/1.35 var(--sans); color: var(--ink); background: #fff; display: flex; gap: 0.5rem; align-items: center; font: 400 0.9rem/1.35 var(--sans) !important; color: var(--ink) !important; font: 500 0.82rem/1 var(--sans); color: var(--teal); margin: 0 0 0.9rem; padding: 0; display: grid; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hub-line); font-size: 0.9rem; font-weight: 600; font-size: 0.85rem; border: 0; background: none; color: var(--teal); font: 600 0.8rem/1 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; gap: 0.6rem; margin-bottom: 0.6rem; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; padding: 0.75rem 0.85rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); cursor: pointer; font-size: 0.92rem; line-height: 1.45; background: var(--hub-cool, #EEF6F5); height: 1.1rem; margin-top: 0.15rem; accent-color: var(--teal); margin-top: 0.25rem; font: 500 0.78rem/1.3 var(--sans); color: var(--muted); color: var(--muted); padding-left: 1.1rem; display: grid; gap: 0.35rem; font-size: 0.9rem; color: #8C2F1A; }
/* Sent, with Resend beside it: a state, not a button that looks pressable. */
.sh-sent { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; align-items: center; gap: 0.5rem; padding: 0.65rem 1.05rem; border-radius: var(--hub-pill); background: var(--teal); color: #fff; font: 600 0.92rem/1 var(--sans); opacity: 0.85; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0.9rem 1rem; border: 1px solid var(--hub-line); border-radius: var(--hub-r-sm); background: var(--paper); font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 0 0 0.8rem; font: 600 0.85rem/1.4 var(--sans); color: var(--teal); color: var(--muted); margin-left: 0.3rem; font-size: 0.85rem; line-height: 1.6; padding: 0.9rem 1rem; max-height: 22rem; overflow: auto; white-space: pre-wrap; border-radius: var(--hub-r-sm); background: var(--paper); font: 400 0.92rem/1.55 var(--serif); color: var(--teal); font-size: 0.82rem; color: #A63A22; margin-left: auto; margin: 0; color: #8C2F1A; font-size: 0.9rem; }
@media (max-width: 1100px) { .sh-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sh-grid { grid-template-columns: minmax(0, 1fr); } }

/* The entrance: the question is on their screen; here, the cover dimmed behind a card that waits for it. */
.sh-gate { position: relative; min-height: min(78vh, 52rem); display: grid; place-items: center; overflow: hidden; border-radius: var(--hub-r); background: #0F2A2E; inset: 0; opacity: 0.62; pointer-events: none; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; filter: none !important; width: min(34rem, calc(100% - 2rem)); padding: 2rem 2.1rem 1.6rem; border-radius: var(--hub-r); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #8A5E15; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif-display); padding: 0.9rem 1.1rem; border-left: 2px solid var(--gold); background: #fff; font: italic 400 1.2rem/1.45 var(--serif); margin-top: 0.5rem; font: 600 0.7rem/1 var(--sans); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); color: var(--muted); font-size: 0.95rem; line-height: 1.5; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1rem; font-size: 0.82rem; color: var(--muted); margin-left: 0.4rem; }

/* The client said yes (or asked for a refinement) on their screen: a note on the advisor's, whichever stage it is on. */
.jd-live-note { position: fixed; z-index: 60; left: 50%; bottom: 1.4rem; transform: translateX(-50%); max-width: min(34rem, calc(100vw - 2rem)); margin: 0;
  padding: 0.85rem 1.2rem; border-radius: var(--hub-r); background: var(--ink); color: var(--paper); font: 500 0.95rem/1.4 var(--sans);
  box-shadow: 0 18px 40px -20px rgba(12, 36, 35, 0.6); }

/* The booking brief: the advisor's working sheet, printable. */
.bb { max-width: 52rem; margin: 2rem auto 4rem; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.15 var(--serif-display); padding-top: 1rem; border-top: 1px solid var(--hub-line); font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #8A5E15; display: grid; gap: 0.45rem; border-collapse: collapse; font-size: 0.92rem; border-bottom: 1px solid var(--hub-line); vertical-align: top; font-variant-numeric: tabular-nums; }
@media print {
  .bb [data-print], .site-header, .site-footer, .hub-nav { display: none !important; }
}

/* ── Share, round 5 (Duncan, 12 Nov): room around the pager and the estimate; Send as the call to action ── */
.sh-cols { margin-bottom: 4rem; padding: 0; border: 1px solid var(--hub-line); border-radius: var(--hub-r); background: #fff; align-items: center; gap: 0.7rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font: 600 0.95rem/1.3 var(--sans); color: var(--ink); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--hub-line); font: 400 1rem/1 var(--sans); color: var(--teal); }
/* Send: the one call to action on the page. Ink, with the gold button. */
.sh-card.sh-send { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 24px 50px -30px rgba(18, 48, 47, 0.7); border-color: var(--gold); color: var(--ink); color: var(--paper); border-color: rgba(251, 248, 241, 0.4); border-color: rgba(251, 248, 241, 0.2); color: var(--ink); color: var(--muted); margin-left: -1.2rem; margin-right: 0.35rem; font-weight: 600; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--hub-line); vertical-align: top; width: 34%; color: var(--muted); }

/* ── Eclipse in the Journey Designer (13 Nov) ──────────────────────────────
   Eclipse keeps its own midnight and copper (tokens.css --eclipse-*): the band on A'ILA's Curate card, the five-night note
   on Understand, and the reason a forward step is held back, in words. */
.jd-pc--eclipse { box-shadow: 0 0 0 2px var(--eclipse-copper), var(--hub-elev-1, 0 1px 2px rgba(0,0,0,.06)); gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1.1rem; background: var(--eclipse-midnight); color: var(--eclipse-sand); font-size: 0.9rem; line-height: 1.45; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.04em; color: #fff; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; fill: var(--eclipse-copper-l); font-size: 0.85rem; color: var(--ink); font-size: 0.82rem; color: var(--muted); flex-basis: 100%; text-align: right; text-underline-offset: 3px; margin-top: -0.25rem; }
/* The Eclipse question: the fourth answer in Shaping the stay, the full width, in Eclipse's midnight. */
.jd-qs .jd-q--eclipse, .jd-boxes .jd-q--eclipse { grid-column: 1 / -1; margin: 0; background: var(--eclipse-midnight); border-color: var(--eclipse-copper); color: var(--eclipse-sand); }
.jd-q--eclipse .jd-q-eyebrow { margin: 0 0 0.4rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eclipse-copper-l); border-color: rgba(198, 152, 120, 0.6); color: var(--eclipse-sand); border-color: var(--eclipse-copper); color: #fff; }

/* ── Eclipse on Design (13 Nov): the starting shape, the programme's cards, its days' items ── */
.jd-preset--eclipse .jd-preset-pick { background: var(--eclipse-midnight); color: var(--eclipse-sand); border-color: var(--eclipse-copper); display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; border-color: var(--eclipse-copper); color: #fff; align-items: center; gap: 0.5rem; align-items: center; gap: 0.35rem; color: var(--eclipse-copper-l); height: 1.1rem; margin: 0; fill: var(--eclipse-copper-l); height: 1.1rem; margin: 0; fill: var(--eclipse-copper); font-size: 0.88rem; text-underline-offset: 3px; }
/* An Eclipse experience in a day (15 Nov): the Eclipse card, midnight with a copper hairline, in place of the bracket
   and crescent. Its tools stay readable on the dark. */
.jd-item.jd-item--eclipse, .jd-journey .jd-item.jd-item--eclipse { background: var(--eclipse-midnight); color: var(--eclipse-sand);
  border: 1px solid var(--eclipse-copper); border-left-width: 1px; box-shadow: 0 10px 24px -18px rgba(12, 20, 32, 0.6); border-color: rgba(232, 223, 210, 0.35); opacity: 0.6; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.4rem; border-radius: 4px;
  border: 1px dashed currentColor; opacity: 0.85; align-items: center; transform: translateY(-50%); left: calc(-2.08rem - 1px); background: transparent; color: #fff; }
/* Placed, the card keeps its play button beside "In the week" (Duncan, 17 Nov: it was only in the Add-back row). */
.jd-ecl-placed .jd-exc-go { gap: 0.75rem; align-items: center; gap: 0.4rem; height: 1.2rem; margin: 0; }

/* ── Round 3 (13 Nov) ─────────────────────────────────────────────────────
   The header's buttons sit at the right, beside the title or under it. */
.jd-head-actions { margin-left: auto; justify-content: flex-end; }
/* Starting shapes: one even padding, the rank's centre on the title's first line, the week centred beside the words. */
.jd-preset-pick { padding: 1.5rem 1.75rem; column-gap: 1.5rem; row-gap: 1rem; align-items: start; }
@media (min-width: 1100px) { .jd-preset-pick { align-items: center; } gap: 0.45rem; align-items: center; gap: 0.5rem; min-height: 2.4rem; margin: 0; padding: 0.9rem 1rem 0.8rem; }

/* Design in two halves on the stage bar (13 Nov): the starting shape, then the itinerary, each its own bar and link. */
.jd-step--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4px; border-top: 0; padding-top: 0; align-items: center; gap: 0.55rem; min-height: 44px; padding-top: 0.6rem; border-top: 3px solid var(--hub-line);
  color: var(--muted); text-decoration: none; letter-spacing: 0.08em; color: #3E5150; color: var(--ink); pointer-events: none; color: #3E5150; pointer-events: none; transition: opacity .2s; }
/* 13 Nov: the halves are lines only; the step's number and name sit under both, like every other step. */
.jd-step--split { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; row-gap: 0; height: 0.6rem; padding: 0; }
/* The Eclipse question on Understand: a card like its neighbours, same padding and radius, in Eclipse's midnight (13 Nov). */
.jd-box--eclipse { background: var(--eclipse-midnight); border-color: var(--eclipse-copper); color: var(--eclipse-sand); font: 400 1.35rem/1.25 var(--serif); color: #fff; max-width: 72ch; font-size: 0.92rem; line-height: 1.5; color: var(--eclipse-sand); border-color: rgba(198, 152, 120, 0.6); color: var(--eclipse-sand); border-color: var(--eclipse-copper); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }

/* ── Shape it together (13 Nov) ───────────────────────────────────────────
   The chosen shape as an editable week: chapter names in place, each day's pace as four dots set out like the chart. */
.jd-baseline { margin-top: 1.5rem; padding: 1.5rem 1.75rem 1.75rem; border-radius: var(--hub-r); background: #fff; border: 1px solid var(--hub-line); scroll-margin-top: 7rem; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 1.25rem; max-width: 62ch; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.5rem; align-items: center; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); grid-template-rows: repeat(4, 1.7rem); align-items: center; letter-spacing: 0.06em; text-transform: none; font-size: 0.74rem; font-weight: 500; height: 3.4rem; display: block; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); min-width: 0; padding: 0.45rem 0.5rem; border: 1px solid var(--hub-line); border-radius: 8px; background: var(--paper);
  font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--ink); outline-offset: 1px; background: #fff; font-size: 0.72rem; color: var(--muted); margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, 1.7rem); justify-items: center; align-items: center; place-items: center; width: 100%; height: 100%; cursor: pointer; opacity: 0; width: 1px; height: 1px; height: 0.7rem; border-radius: 50%; border: 1.5px solid rgba(18, 48, 47, 0.25); background: #fff; transition: transform 0.15s ease, background 0.15s ease; border-color: rgba(18, 48, 47, 0.5); outline-offset: 3px; height: 1rem; border: 0; place-items: center; height: calc(4 * 1.7rem); font-size: 0.74rem; color: var(--muted); text-align: center; }
@media (max-width: 700px) { .jd-bl-grid { grid-template-columns: 3.6rem minmax(0, 1fr); } }

/* ── "Customise this" rolls Shape it together up from the foot (13 Nov) ──
   No scrolling down to the editor: the chosen card carries an underlined link, the panel rises over the lower page
   like the client's-screen panel, and the card's chart redraws behind it as each dot or name changes. */
.jd-preset { position: relative; z-index: 2; top: 2rem; right: 1.75rem; padding: 0.2rem 0; border: 0; background: none; cursor: pointer;
  font: 600 0.8rem/1.2 var(--sans); color: var(--teal); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; outline-offset: 3px; border-radius: 3px; z-index: 95; left: 50%; bottom: 0; margin: 0; padding: 0; width: min(1120px, calc(100vw - 2rem));
  background: none; border: 0; border-radius: 0; overflow: visible;
  transform: translate(-50%, 100%); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); max-height: min(72vh, 680px); overflow: auto; overscroll-behavior: contain; padding: 1.5rem 1.75rem 1.75rem;
  background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -24px 60px -20px rgba(12, 36, 35, 0.45), 0 0 0 1px rgba(18, 48, 47, 0.1); left: 50%; bottom: 100%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.55rem;
  height: 2.4rem; padding: 0 1.1rem 0 1.25rem; border: 0; border-radius: 12px 12px 0 0; cursor: pointer; white-space: nowrap;
  background: #12302F; color: #FBF8F1; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 -10px 24px -12px rgba(12, 36, 35, 0.5); outline-offset: 2px; color: var(--eclipse-sand); box-shadow: 0 -10px 24px -12px rgba(12, 36, 35, 0.5), 0 0 0 1px var(--eclipse-copper); top: -1.5rem; z-index: 1; margin: -1.5rem -1.75rem 1.25rem; padding: 1.25rem 1.75rem 1rem;
  background: #fff; border-bottom: 1px solid var(--hub-line); flex-wrap: nowrap; align-items: center; min-width: 0; }
@media (max-width: 700px) { .jd-bl-sheet .jd-baseline-head { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .jd-baseline.jd-bl-sheet, .jd-bl-chev { transition: none; } }

/* Design (16 Nov): the client's sheet slides in from the left, beside the week, as it does on their screen. */
.jd-onscreen.jd-onscreen--left { z-index: 130; left: 0; right: auto; top: 0; bottom: 0; width: min(820px, 50vw); height: 100vh; border-radius: 0 18px 18px 0;
  transform: translateX(-104%); box-shadow: 24px 0 60px -20px rgba(12, 36, 35, 0.45), 0 0 0 1px rgba(18, 48, 47, 0.1); row-gap: 0.4rem; }
@media (max-width: 860px) { .jd-onscreen.jd-onscreen--left { width: min(92vw, 560px); } }

/* Design (16 Nov): the day card is the control that puts it on the client's screen. Its button stays for the keyboard,
   out of sight; the card shows focus, and the card on screen is marked. */
.jd-journey .jd-item:has(> .jd-item-tools .jd-show-btn) { cursor: pointer; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; outline-offset: 2px; box-shadow: 0 0 0 2px var(--eclipse-copper-l), 0 14px 30px -18px rgba(12, 20, 32, 0.7); font: 600 0.62rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }

/* Eclipse on Understand (17 Nov): the price line the advisor says, and a quiet budget check. */
.jd-box--eclipse .jd-ecl-price { margin: 0.6rem 0 0; max-width: 48rem; color: var(--eclipse-sand, #E8D9C0); font-size: 0.95rem; font-weight: 600; max-width: 48rem; padding: 0.5rem 0.75rem; border-left: 2px solid var(--eclipse-copper-l, #D9A27A);
  background: rgba(255, 255, 255, 0.05); color: #F3E9D8; font-size: 0.9rem; }

/* ============================================================================
   DESIGNER STARTS + THEIR STAY (24 Nov 2026)
   /hub/start (the Hub Finder and "From a property"), Understand's "Their stay",
   Curate Focused. Brand colours only: teal for the stay, gold for a booking.
   ========================================================================== */
.hub-steps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .hub-steps--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-steps--five .hub-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 760px) {
  .hub-steps--five { grid-template-columns: minmax(0, 1fr); }
  .hub-steps--five .hub-step:nth-child(2n)::after { display: block; top: calc(100% + 1px); left: calc(1.15rem + 14px); width: 2px; height: calc(1rem - 2px); }
}

/* The Hub Finder */
/* The Designer's own ground (.hub-main.design), so its white cards and fields read as surfaces here too (Duncan, 25 Nov:
   "white on white"). */
.hub-main.hub-sf { background: #EDF3F1; padding-bottom: 4rem; }
.hub-sf .hub-stack { max-width: 62rem; }
.hub-sf .hub-card { background: #fff; border-color: rgba(18, 48, 47, 0.10); box-shadow: 0 1px 2px rgba(19, 50, 57, 0.05), 0 8px 24px -12px rgba(19, 50, 57, 0.14); }
body[data-page="hub"] .hub-main.hub-sf input:not([type="radio"]):not([type="checkbox"]),
body[data-page="hub"] .hub-main.hub-sf textarea,
body[data-page="hub"] .hub-main.hub-sf select { background-color: #fff; border-color: rgba(18, 48, 47, 0.24); }
body[data-page="hub"] .hub-main.hub-sf input:not([type="radio"]):not([type="checkbox"]):hover,
body[data-page="hub"] .hub-main.hub-sf textarea:hover,
body[data-page="hub"] .hub-main.hub-sf select:hover { border-color: rgba(18, 48, 47, 0.42); }
body[data-page="hub"] .hub-main.hub-sf input:focus-visible,
body[data-page="hub"] .hub-main.hub-sf textarea:focus-visible,
body[data-page="hub"] .hub-main.hub-sf select:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hub-sf ::selection { background: rgba(0, 166, 168, 0.22); color: var(--ink); }
.hub-sf-head h1 { font-family: var(--serif-display); font-size: clamp(2rem, 3vw, 2.8rem); margin: 0.2rem 0 0.6rem; color: var(--ink); }
.hub-sf-lead { max-width: 46rem; color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.hub-sf-form { display: grid; gap: var(--hub-gap, 1.25rem); }
.hub-sf-q { border: 0; margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--hub-line); }
.hub-sf-q:first-of-type { border-top: 0; }
.hub-sf-q legend { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); padding: 0; display: flex; gap: 0.6rem; align-items: baseline; }
.hub-sf-n { font-family: var(--sans, inherit); font-size: 0.75rem; font-weight: 600; color: var(--teal); }
.hub-sf-help { font-size: 0.84rem; color: var(--muted); margin: 0.35rem 0 0; }
.hub-sf-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.55rem; margin-top: 0.75rem; }
.hub-sf-opt { position: relative; display: block; cursor: pointer; }
.hub-sf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hub-sf-opt span { display: grid; gap: 0.2rem; height: 100%; padding: 0.75rem 0.95rem; border: 1px solid rgba(18, 48, 47, 0.16); border-radius: var(--hub-r-sm); background: #fff;
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms cubic-bezier(0.16, 1, 0.3, 1); }
.hub-sf-opt:hover input:not(:checked):not(:disabled) + span { border-color: rgba(0, 166, 168, 0.55); background: #F7FBFA; }
.hub-sf-opt b { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.hub-sf-opt small { font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.hub-sf-opt input:checked + span { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #EAF7F6; }
.hub-sf-opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.hub-sf-opt input:disabled + span { opacity: 0.5; cursor: not-allowed; }
.hub-sf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; margin-top: 1rem; }
.hub-sf-grid label, .hub-sf-wide { display: grid; gap: 0.3rem; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.hub-sf-wide { grid-column: 1 / -1; }
.hub-sf-form input[type="text"], .hub-sf-form input[type="email"], .hub-sf-form input[type="tel"], .hub-sf-form input:not([type]), .hub-sf-form select, .hub-sf-form textarea {
  width: 100%; min-height: 44px; padding: 0.55rem 0.75rem; border: 1px solid var(--hub-line); background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.hub-sf-demo, .hub-sf-consent { display: flex; gap: 0.65rem; align-items: flex-start; margin-top: 1rem; font-size: 0.88rem; line-height: 1.5; color: var(--ink); }
/* The confirmation sits on one line beside its box: centred (Duncan, 25 Nov). */
.hub-sf-consent { align-items: center; }
.hub-sf-consent input { margin-top: 0 !important; }
.hub-sf-demo { padding: 0.8rem 0.95rem; border: 1px dashed var(--hub-line); border-radius: var(--hub-r-sm); background: #FBF8F1; }
.hub-sf-demo input, .hub-sf-consent input { margin-top: 0.25rem; width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.hub-sf-actions { margin-top: 1.25rem; display: flex; justify-content: flex-end; }
.hub-sf-prop { max-width: 36rem; }
.hub-sf .hub-flash ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
@media (max-width: 760px) { .hub-sf-grid { grid-template-columns: minmax(0, 1fr); } gap: 0.85rem; align-items: flex-start; gap: 0.1rem; border-radius: var(--hub-r-sm); padding: 0.55rem 0.9rem; font-weight: 400; opacity: 0.8; max-width: 17rem; line-height: 1.4; min-height: 40px; padding: 0.45rem 0.65rem; border: 1px solid var(--hub-line); font: inherit; color: var(--ink); background: #fff; gap: 0.5rem; align-items: center; font-size: 0.86rem; color: var(--ink); flex-wrap: wrap; gap: 0.9rem; align-items: center; color: var(--muted); gap: 0.8rem; padding: 0.95rem 1.1rem; background: #F2FAF9; border-bottom: 1px solid var(--hub-line); font-size: 0.88rem; line-height: 1.5; gap: 0.65rem; align-items: baseline; color: var(--ink); display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--hub-pill); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; background: var(--teal); color: #fff; color: #fff; color: var(--ink); margin-bottom: 0.25rem !important; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.74rem; color: var(--muted); font-weight: 600; display: flex; gap: 0.4rem; align-items: center; gap: 0.35rem; align-items: center; margin: 0; font-weight: 600; color: var(--teal); }
.hub-sf-opt-word { font-weight: 400; color: var(--muted); margin-left: 0.3em; }
.hub-sf-more { margin-top: 0.6rem; }
.hub-sf-more > summary { display: inline-flex; gap: 0.35rem; align-items: center; cursor: pointer; list-style: none; font-size: 0.78rem; color: var(--muted); }
.hub-sf-more > summary::-webkit-details-marker { display: none; }
.hub-sf-caret { display: inline-block; font-size: 0.7rem; transform: rotate(-90deg); transition: transform 0.15s ease; }
.hub-sf-more[open] .hub-sf-caret { transform: none; }
.hub-sf-more .hub-sf-demo { margin-top: 0.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; width: 100%; }
@media (max-width: 760px) { .jd-stay-answers { grid-template-columns: minmax(0, 1fr); } color: var(--teal); }
/* Their stay, first in Curate's grid and marked as chosen (Duncan, 25 Nov): a gold ring, distinct from the spotlight's green. */
.jd-pc--stay { box-shadow: 0 0 0 2px var(--gold, #D9A03C), 0 10px 28px -14px rgba(138, 94, 21, 0.45); padding: 0.7rem 1.1rem; font-size: 0.82rem; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
/* A lead or help line that fits on one line stays on one (Duncan, 27 Nov): `.hub-card p` (62ch) was outranking the lead's
   own 72ch and breaking short sentences in two. */
.hub-card .hub-sec-lead { max-width: 72ch; }
.hub-sf .hub-card p.hub-sf-help { max-width: 80ch; }
/* Month chips (27 Nov): the next 18 months, a row per year. */
.jd-date--month { flex: 1 1 100%; gap: 0.45rem; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); font-variant-numeric: tabular-nums; flex-wrap: wrap; gap: 0.3rem; cursor: pointer; opacity: 0; width: 1px; height: 1px; align-items: center; justify-content: center; min-width: 2.9rem; min-height: 36px; padding: 0 0.55rem;
  border: 1px solid rgba(18, 48, 47, 0.18); border-radius: 8px; background: #fff; font-size: 0.82rem; color: var(--ink);
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms cubic-bezier(0.16, 1, 0.3, 1); border-color: var(--ink); color: #fff; outline-offset: 2px; }

/* ── Each day as a card (Duncan, 27 Nov: "lots of just text on the same background colour") ───────────────────────────
   White on the Designer's ground (#EDF3F1), the same surface the Curate cards use; the journey line runs inside each card. */
.jd-journey .jd-day { margin: 0 0 1.25rem; padding: clamp(1.25rem, 2.4vw, 1.9rem) clamp(1.25rem, 2.8vw, 2.25rem) 0.4rem;
  background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(19, 50, 57, 0.05), 0 12px 30px -18px rgba(19, 50, 57, 0.22); padding-bottom: 1.4rem; }

/* ── The week's shape, still in view below the days (27 Nov) ──────────────────────────────────────────────────────────
   js/hub-design.js shows this pinned copy of the strip while the advisor reads the recommended experiences and
   excursions, so what they add is chosen against the shape of the week. */
.jd-strip-float { position: fixed; z-index: 30; top: var(--hub-bar-h, 64px); left: 0; right: 0; pointer-events: none;
  opacity: 0; transform: translateY(-8px); transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1); transform: none; pointer-events: auto; margin: 0 auto; max-width: var(--float-w, 1240px); box-shadow: 0 8px 20px -14px rgba(19, 50, 57, 0.35); }
@media (prefers-reduced-motion: reduce) { .jd-strip-float { transition: none; transform: none; } }
/* On-resort / off-resort on each itinerary item (27 Nov): teal for the stay itself, the away tag's gold for elsewhere. */
.jd-item-where { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; padding: 0.12rem 0.55rem; border-radius: 2rem;
  font: 600 0.66rem/1.3 var(--sans, sans-serif); letter-spacing: 0.06em; width: fit-content; color: #0B6E70; color: #8A5E15; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 2; }
/* "Client" sits apart from the two choices above it (Duncan, 27 Nov). */
.hub-sf-client { margin-top: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════════
   MEMBERSHIP (042, 26 Nov 2026) — plan chip, upsell cards, /hub/pro, the
   Founding Advisor Collective form. Quiet by design: paper and hairlines, gold
   only as a rule or a tick, ink for the one primary button. Nothing here is
   louder than the next-best-action block.
   ══════════════════════════════════════════════════════════════════════════ */
.hub-plan-chip {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--hub-line, var(--hairline-l));
  border-radius: var(--hub-pill, 999px);
  padding: 0.3rem 0.7rem; white-space: nowrap; text-decoration: none;
}
a.hub-plan-chip:hover { border-color: rgba(18, 48, 47, 0.35); }
.hub-plan-chip--pro_trial { background: #fff; border-color: var(--gold); color: var(--gold-deep); }
.hub-plan-chip--pro { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hub-plan-chip--founding { background: var(--ink); border-color: var(--gold); color: var(--gold); }

.hub-upsell {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline-l);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 1.1rem 1.25rem 1.2rem;
  margin-bottom: 1.25rem;
}
.hub-upsell p { margin: 0 0 0.6em; max-width: 52ch; }
.hub-upsell-kicker {
  font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
}
.hub-upsell-count { font-weight: 600; color: var(--ivory-ink); }
.hub-upsell-head { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--ivory-ink); padding-right: 1.5rem; }
.hub-upsell-line { font-family: var(--serif); font-style: italic; color: var(--muted); }
.hub-upsell-pitch { font-size: var(--fs-small); color: var(--ivory-ink); }
.hub-upsell-fine { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.45rem; }
.hub-upsell-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin-top: 0.8rem; }
.hub-upsell-actions .hub-upsell-fine { flex-basis: 100%; margin-top: 0; }
.hub-upsell-x { position: absolute; top: 0.4rem; right: 0.4rem; margin: 0; }
.hub-upsell-close {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 1.15rem; line-height: 1; width: 32px; height: 32px; border-radius: 50%;
}
.hub-upsell-close:hover, .hub-upsell-close:focus-visible { background: var(--paper-2); color: var(--ink); }
.hub-upsell--won { background: #fff; }
.hub-upsell--eclipse { background: var(--eclipse-deep); border-color: var(--eclipse-deep); border-left-color: var(--eclipse-copper); }
.hub-upsell--eclipse .hub-upsell-kicker { color: var(--eclipse-copper-l); }
.hub-upsell--eclipse .hub-upsell-head,
.hub-upsell--eclipse .hub-upsell-pitch { color: var(--eclipse-sand); }
.hub-upsell--eclipse .hub-upsell-fine,
.hub-upsell--eclipse .hub-upsell-close { color: var(--mist); }
.hub-upsell--eclipse .hub-upsell-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--eclipse-sand); }
.hub-upsell--eclipse .hub-btn--primary { background: var(--eclipse-copper); color: var(--eclipse-on-copper); }
.hub-upsell--eclipse .hub-btn--quiet { background: transparent; color: var(--eclipse-sand); border-color: rgba(232, 223, 210, 0.35); }
.hub-upsell--limit { max-width: 68ch; }

/* /hub/pro */
.hub-pro .hub-stack > * + * { margin-top: 1.25rem; }
.hub-pro-status.is-offer { border-color: var(--gold); }
.hub-pro-meter { display: flex; gap: 6px; margin: 0.9rem 0 0.4rem; }
.hub-pro-meter span { width: 34px; height: 8px; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--hub-line, var(--hairline-l)); }
.hub-pro-meter span.is-used { background: var(--teal); border-color: var(--teal); }
.hub-pro-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hub-pro-plan { margin: 0; display: flex; flex-direction: column; }
.hub-pro-plan h2 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 0.3rem; }
.hub-pro-plan ul { margin: 0.6rem 0 0.9rem; padding: 0; list-style: none; font-size: var(--fs-small); }
.hub-pro-plan li { position: relative; padding-left: 1.2rem; }
.hub-pro-plan li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 0.65rem; height: 1px; background: var(--gold); }
.hub-pro-plan li + li { margin-top: 0.35rem; }
.hub-pro-plan .hub-card-sub { margin-top: auto; }
.hub-pro-price { font-family: var(--serif); font-size: 1.6rem; margin: 0; color: var(--ivory-ink); }
.hub-pro-price small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.hub-pro-price span { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }
.hub-pro-plan.is-current { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--gold); }
.hub-pro-plan--collective { background: var(--paper); }
.hub-pro-checklist ol { margin: 0.6rem 0 0; padding-left: 1.3rem; list-style: decimal; }
.hub-pro-checklist li { padding: 0.3rem 0; }
.hub-pro-checklist li.is-done a { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(88, 108, 113, 0.5); }
.hub-pro-tick { color: var(--teal); font-weight: 700; margin-left: 0.5rem; }
@media (max-width: 860px) { .hub-pro-plans { grid-template-columns: 1fr; } }

/* Founding Advisor Collective form */
.hub-fc .wrap { max-width: 860px; }
.hub-fc-head { margin-bottom: 1.75rem; }
.hub-fc-head h1 { font-family: var(--serif-display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.12; margin: 0.3rem 0 0.8rem; }
.hub-fc-terms { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.35rem; font-size: var(--fs-small); }
.hub-fc-terms li::before { content: ''; display: inline-block; width: 14px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 0.6rem; }
.hub-fc-section h2 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 1rem; }
.hub-fc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.hub-fc-field { display: flex; flex-direction: column; gap: 0.3rem; }
.hub-fc-wide, .hub-fc-q { grid-column: 1 / -1; }
.hub-fc-label, .hub-fc-q legend { font-weight: 600; font-size: 0.92rem; color: var(--ivory-ink); }
.hub-fc-opt { font-weight: 400; color: var(--muted); }
.hub-fc-hint { color: var(--muted); font-size: 0.82rem; }
.hub-fc-field input, .hub-fc-field textarea {
  font: inherit; font-size: 0.95rem; padding: 0.6rem 0.7rem; border: 1px solid var(--hairline-l);
  border-radius: 3px; background: #fff; color: var(--ivory-ink); width: 100%;
}
.hub-fc-field input:focus-visible, .hub-fc-field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hub-fc-q { border: 0; padding: 0; margin: 0; }
.hub-fc-q legend { padding: 0; margin-bottom: 0.5rem; }
.hub-fc-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.45rem; }
.hub-fc-choice { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.8rem; border: 1px solid var(--hairline-l); border-radius: var(--hub-pill, 999px); background: #fff; font-size: 0.88rem; cursor: pointer; }
.hub-fc-choice:hover { border-color: rgba(18, 48, 47, 0.35); }
.hub-fc-choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.hub-fc-choice input { accent-color: var(--ink); margin: 0; }
.hub-fc-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.8rem; font-size: 0.95rem; }
.hub-fc-consent input { margin-top: 0.3rem; accent-color: var(--ink); }
.hub-fc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1rem; }
.hub-fc-later { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 0.9rem; }
.hub-fc-later:hover { color: var(--ink); }
.hub-fc-later-card { border-left: 3px solid var(--gold); }
@media (max-width: 680px) { .hub-fc-grid { grid-template-columns: 1fr; } }

/* Admin */
.hub-grants { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 0.8rem 0 1rem; }
.hub-grants th, .hub-grants td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--hairline-l); vertical-align: top; }
.hub-grants tr.is-past td { color: var(--muted); }
.hub-grants input[type="text"] { width: 8rem; font-size: 0.8rem; padding: 0.2rem 0.4rem; }
.hub-grant-form { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: flex-end; margin: 0.6rem 0; font-size: 0.88rem; }
.hub-grant-form label { display: flex; flex-direction: column; gap: 0.25rem; }
.hub-collective-list { list-style: none; padding: 0; margin: 0; }
.hub-collective-app h2 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 0.3rem; }
.hub-collective-app h2 small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.hub-collective-app details { margin: 0.8rem 0; }
.hub-collective-note label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.hub-collective-note textarea { font: inherit; font-size: 0.9rem; padding: 0.4rem; }
.hub-collective-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.hub-inline-form { display: inline; margin: 0; }
.hub-dl dt { font-weight: 600; font-size: 0.85rem; margin-top: 0.6rem; }
.hub-dl dd { margin: 0.15rem 0 0; font-size: 0.92rem; }
/* The header chip yields to the lockup on narrow screens; "Your plan" stays in the account menu. */
@media (max-width: 1020px) { .hub-bar-tools .hub-plan-chip { display: none; } }

/* The Journey Designer's running count (27 Nov 2026): subtle on purpose.
   One line, five dots, one quiet button. Gold only marks the used dots. */
.hub-meter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  background: var(--paper); border: 1px solid var(--hairline-l); border-radius: 10px;
  padding: 0.85rem 1.1rem; margin-bottom: 1.5rem;
}
.hub-meter-count { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.hub-meter-count p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.hub-meter-count strong { color: var(--ivory-ink); font-weight: 600; }
.hub-meter-dots { display: inline-flex; gap: 0.3rem; flex: none; }
.hub-meter-dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1.5px solid var(--gold-deep, #8A5E15); }
.hub-meter-dots i.is-used { background: var(--gold-deep, #8A5E15); }
.hub-meter-act { display: flex; gap: 0.5rem; flex-wrap: wrap; }
/* Where the meter fits on one row (about 1120px of content), it never wraps
   into two. It used to wrap only while the fallback font was showing (wider
   than Hanken Grotesk), then snap back to one row when the web font arrived,
   pulling everything below it up ~37px: CLS 0.28 on a cold load. Below this
   width the stacked layout is the design, and it is stacked in either font. */
@media (min-width: 1240px) {
  .hub-meter { flex-wrap: nowrap; }
  .hub-meter-count { flex: 1 1 auto; }
  .hub-meter-act { flex: none; flex-wrap: nowrap; align-items: center; }
  .hub-meter-act .hub-upsell-fine { margin-top: 0; }
}
