/* Packages and prices (packages.html): the public version of the
   step-by-step packages page, ported from packages/packages.css and scoped
   under .pkp so it sits inside the main site's design. Its local tokens map
   onto the site's own, so light and dark follow the site. */
.pkp {
  --surface-2: color-mix(in srgb, var(--surface) 70%, var(--bg));
  --faint: #676767;   /* warm grey from the palette scale; 4.6:1 on the cream steps band */
  --wire: color-mix(in srgb, var(--text) 22%, var(--bg));
  --wire-soft: color-mix(in srgb, var(--text) 10%, var(--bg));
  --solid-bg: var(--text);
  --solid-fg: var(--bg);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Dark: a lighter warm grey, so the quieter stage tags stay readable. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pkp { --faint: #BEBEBE; } }
:root[data-theme="dark"] .pkp { --faint: #BEBEBE; }
.pkp ol, .pkp ul { margin: 0; padding: 0; list-style: none; }
.pkp h2, .pkp h3, .pkp h4 { margin: 0; }
.pkp .icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Package picker: Speculum Tabs ----------
   A pill track with a white indicator that slides under the chosen tab
   (js/packages-page.js). Light: Dark Slate Teal 10 track, Dark Slate Teal
   100 text on the indicator; dark: Greyscale 90 track. Phones: the row
   scrolls sideways. */
.pkp .picker.sp-tabs {
  --tabs-track: #E7EBEC; --tabs-indicator: #FFFFFF; --tabs-fg: #595E68; --tabs-fg-active: #11353F;
  display: flex; flex-wrap: nowrap; gap: 0; width: fit-content; max-width: 100%; margin-inline: auto;   /* centred; scrolls sideways when wider than the screen */
  padding: 4px; border-radius: 999px; background: var(--tabs-track);
  overflow-x: auto; scrollbar-width: none;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pkp .picker.sp-tabs { --tabs-track: #3C3C3C; --tabs-indicator: #262626; --tabs-fg: #C1C3C6; --tabs-fg-active: #FFFFFF; } }
:root[data-theme="dark"] .pkp .picker.sp-tabs { --tabs-track: #3C3C3C; --tabs-indicator: #262626; --tabs-fg: #C1C3C6; --tabs-fg-active: #FFFFFF; }
.pkp .picker .sp-tabs__indicator { top: 4px; bottom: 4px; left: 0; width: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 12px -6px rgba(17, 53, 63, 0.3); transform-origin: 50% 50%; }
.pkp .picker .sp-tabs__tab { min-height: 44px; padding: var(--s2) var(--s4); white-space: nowrap; font: 700 0.875rem/1.2 var(--sans); }
.pkp .picker:not(.is-ready) .sp-tabs__tab[aria-selected="true"] { background: var(--tabs-indicator); }
/* ---------- Package panel ---------- */
.pkp .panel { padding-block: var(--s9) var(--s9); display: grid; gap: var(--s8); }
.pkp .panel.is-swapping > * { animation: pkp-rise 500ms var(--ease) both; }
.pkp .panel.is-swapping > :nth-child(2) { animation-delay: 70ms; }
.pkp .panel.is-swapping > :nth-child(3) { animation-delay: 140ms; }
@keyframes pkp-rise { from { opacity: 0; transform: translateY(18px); } }
/* Package header: Speculum Card, with a Badge for the tier and two
   StatCards (price and time) whose numbers count up as a package opens. */
.pkp .sp-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pkp .pk-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s6); align-items: stretch; padding: clamp(24px, 3vw, 40px); }
.pkp .pk-id { display: grid; gap: var(--s3); justify-items: start; align-content: start; }
.pkp .pk-head h2 { margin-top: var(--s2); font-size: var(--fs-display-sm); font-weight: var(--heading-weight); letter-spacing: var(--track-head); line-height: 1.02; }
.pkp .pk-head .for { max-width: 46ch; font-size: var(--fs-body-lg); line-height: var(--lh-lg); color: var(--muted); }
.pkp .pk-id .btn { margin-top: var(--s3); }
.pkp .pk-facts { display: grid; gap: var(--s3); align-content: end; margin: 0; }
.pkp .sp-stat { display: grid; gap: var(--s2); padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.pkp .sp-stat dd { margin: 0; display: grid; gap: var(--s1); }
.pkp .sp-stat__value { font-size: var(--fs-sub); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--text); }
.pkp .sp-stat small { font-size: var(--fs-caption); color: var(--muted); }
/* Speculum Badge: a mono pill; --solid is filled. */
.pkp .sp-badge { display: inline-flex; align-items: center; justify-self: start; padding: 2px var(--s2); border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.pkp .pk-id > .sp-badge { padding: 4px var(--s3); font-size: var(--fs-label); letter-spacing: var(--track-small); color: var(--text); }
.pkp .sp-badge--solid { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }
.pkp .band { display: grid; gap: var(--s5); }
.pkp .band-head { display: grid; gap: var(--s2); }
.pkp .band-head h3 { font-size: var(--fs-sub); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); }
.pkp .band-head p { max-width: 62ch; color: var(--muted); }
/* Steps: a real sequence, so they're numbered. Who does each one is a chip. */
/* Steps: one row that scrolls sideways, snapping to each card. */
.pkp .steps-scroll { display: grid; gap: var(--s4); min-width: 0; }
.pkp .steps {
  display: flex; gap: var(--s4); counter-reset: step;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: var(--s3); scrollbar-width: thin;
}
/* The row runs the full width of the screen: it reaches out to both edges,
   while padding (and the snap point) keeps the first card in line with the
   page content. The page clips sideways so the reach never adds a scroll. */
.pkp { overflow-x: clip; }
.pkp .steps {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));   /* the content's left edge, in screen terms */
  margin-inline: calc(-1 * var(--edge));
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
}
.pkp .steps:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 12px; }
.pkp .steps > .step { flex: 0 0 clamp(240px, 24vw, 300px); scroll-snap-align: start; }
.pkp .steps-nav { display: flex; gap: var(--s2); justify-content: flex-end; }
.pkp .steps-nav[hidden] { display: none; }
.pkp .steps-nav .btn { min-width: 44px; min-height: 44px; padding: 0; }
.pkp .steps-nav .btn:disabled { opacity: 0.4; cursor: default; }
.pkp .step {
  position: relative;
  display: grid; gap: var(--s2); align-content: start;
  padding: var(--s5);
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  counter-increment: step;
}
.pkp .step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--fs-sub-sm); font-weight: 700; letter-spacing: var(--track-sub); color: var(--wire); line-height: 1; }
/* The Design Thinking stage each step belongs to, and the five stages as a key. */
.pkp .stage { justify-self: start; margin-top: var(--s2); font-size: var(--fs-label); font-weight: 700; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.pkp .stage:is([data-stage="Empathise"], .pkp [data-stage="Define"], .pkp [data-stage="Ideate"], .pkp [data-stage="Prototype"], .pkp [data-stage="Test"]) { color: var(--text); }
.pkp .stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); margin-block: var(--s2) var(--s4); counter-reset: stage; }   /* no box or dividers: the drawings sit straight on the page */
.pkp .stages li { position: relative; font-size: var(--fs-caption); line-height: var(--lh-ui); color: var(--muted); }
.pkp .stages b { display: block; font-size: var(--fs-ui); color: var(--text); }
/* Each stage's engraving, above its name. The drawings are on white: in
   light mode they blend into the stage's ground (multiply); in dark mode
   they sit on a white plate. */
.pkp .stage-art { display: block; margin-bottom: var(--s3); aspect-ratio: 1024 / 688; overflow: hidden; border-radius: 8px; }
.pkp .stage-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.04); transition: transform 600ms var(--ease); }   /* lifts the paper tone to white, so no box shows */
.pkp .stages li:hover .stage-art img { transform: scale(1.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pkp .stage-art { background: #FFFFFF; } :root:not([data-theme="light"]) .pkp .stage-art img { mix-blend-mode: normal; } }
:root[data-theme="dark"] .pkp .stage-art { background: #FFFFFF; }
:root[data-theme="dark"] .pkp .stage-art img { mix-blend-mode: normal; }
@media (prefers-reduced-motion: reduce) { .pkp .stage-art img { transition: none; } }
/* Workshops stand out: a solid outline and a badge with the length. */
.pkp .step.is-workshop { border: 1.5px solid var(--line-strong); }
.pkp .workshop { justify-self: start; }
.pkp .step .when + p, .pkp .step .workshop + p { margin-top: 2px; }
.pkp .step-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.pkp .step h4 { font-size: var(--fs-title); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); line-height: 1.25; }
.pkp .step p { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--muted); }
.pkp .step .when { font-family: var(--mono); font-size: var(--fs-label); font-weight: 600; color: var(--faint); }
.pkp .who { flex: none; }
.pkp .who[data-who="You"] { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }
.pkp .who[data-who="Together"] { border-style: dashed; border-color: var(--faint); }
.pkp .who-key { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--fs-caption); color: var(--muted); }
.pkp .who-key span { display: inline-flex; align-items: center; gap: var(--s2); }
/* ---------- Wireframe with notes ----------
   A three-column grid: the skeleton page, a leader line, the note. Each row
   is one region of the page, so every note sits beside what it points at.
   Rows are display: contents, so the cells line up as one browser frame. */
.pkp .wf { display: grid; grid-template-columns: minmax(0, 1.15fr) clamp(28px, 5vw, 72px) minmax(0, 1fr); }
.pkp .wf-row { display: contents; }
.pkp .wf-cell {
  position: relative;
  padding: var(--s4) var(--s5);
  border-inline: 1.5px solid var(--line-strong);
  background: var(--surface);
  transition: background-color 250ms var(--ease);
}
.pkp .wf-row:first-child .wf-cell { border-top: 1.5px solid var(--line-strong); border-radius: 12px 12px 0 0; }
.pkp .wf-row:last-child .wf-cell { border-bottom: 1.5px solid var(--line-strong); border-radius: 0 0 12px 12px; padding-bottom: var(--s5); }
.pkp .wf-row + .wf-row .wf-cell { border-top: 1px dashed var(--wire-soft); }
.pkp .wf-row:not(.has-note) .wf-cell > * { opacity: 0.45; }
.pkp .wf-name { margin-bottom: var(--s3); font-family: var(--mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.pkp .wf-lead { position: relative; }
.pkp .has-note .wf-lead::before { content: ""; position: absolute; left: 0; right: 14px; top: 34px; border-top: 1.5px dashed var(--faint); }
.pkp .has-note .wf-lead::after { content: ""; position: absolute; left: -5px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); }
.pkp .wf-note { padding: var(--s4) 0 var(--s5); display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--s3); align-content: start; }
.pkp .wf-pin {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-top: 3px;
  border-radius: 50%; background: var(--solid-bg); color: var(--solid-fg);
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 700;
  transition: transform 350ms var(--spring);
}
.pkp .wf-note h4 { font-size: var(--fs-body); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); line-height: 1.3; }
.pkp .wf-note p { margin-top: 2px; font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--muted); }
/* Pointing at a region or its note highlights the pair. */
.pkp .wf-row.has-note:hover .wf-cell, .pkp .wf-row.has-note:focus-within .wf-cell { background: var(--surface-2); }
.pkp .wf-row.has-note:hover .wf-pin { transform: scale(1.18); }
/* Skeleton pieces */
.pkp .sk { display: grid; gap: var(--s2); }
.pkp .sk-row { display: flex; align-items: center; gap: var(--s3); }
.pkp .sk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.pkp .sk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: center; }
.pkp .b { display: block; height: 8px; border-radius: 4px; background: var(--wire); }
.pkp .b.thick { height: 16px; border-radius: 4px; background: var(--faint); }
.pkp .b.dark { background: var(--faint); }
.pkp .pill { display: block; width: 84px; height: 24px; border-radius: 999px; background: var(--text); }
.pkp .pill.out { background: transparent; border: 1.5px solid var(--faint); }
.pkp .box {
  display: block; min-height: 72px; border: 1.5px dashed var(--wire); border-radius: 8px;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.6px), var(--wire-soft) calc(50% - 0.6px), var(--wire-soft) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.6px), var(--wire-soft) calc(50% - 0.6px), var(--wire-soft) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    var(--surface-2);
}
.pkp .box.round { border-radius: 50%; aspect-ratio: 1; min-height: 0; width: 72px; }
.pkp .card { display: grid; gap: 6px; padding: var(--s3); border: 1.5px dashed var(--wire); border-radius: 8px; }
.pkp .dots { display: flex; gap: 5px; }
.pkp .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--wire); }
.pkp .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 220px; }
.pkp .cal i { aspect-ratio: 1; border-radius: 50%; background: var(--wire-soft); }
.pkp .cal i.on { background: var(--faint); }
.pkp .cal i.pick { background: var(--text); }
.pkp .field { display: block; height: 24px; border: 1.5px solid var(--wire); border-radius: 8px; }
.pkp .field.tall { height: 48px; }
.pkp .sw { display: flex; gap: 6px; }
.pkp .sw i { width: 28px; height: 28px; border-radius: 8px; background: var(--wire); }
.pkp .sw i:nth-child(1) { background: var(--text); }
.pkp .sw i:nth-child(2) { background: var(--faint); }
.pkp .sw i:nth-child(4) { background: var(--wire-soft); }
.pkp .sw i:nth-child(5) { background: transparent; border: 1.5px solid var(--wire); }
.pkp .aa { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.pkp .phone { display: grid; gap: 5px; align-content: start; padding: 8px 6px; min-height: 104px; border: 1.5px solid var(--faint); border-radius: 8px; }
.pkp .play { display: grid; place-items: center; }
.pkp .play::after { content: ""; border-left: 16px solid var(--faint); border-block: 10px solid transparent; }
.pkp .tick { display: flex; align-items: center; gap: var(--s2); }
.pkp .tick::before { content: ""; flex: none; width: 12px; height: 7px; margin-bottom: 3px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.pkp .journey { position: relative; display: flex; justify-content: space-between; align-items: center; height: 44px; }
.pkp .journey::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1.5px dashed var(--faint); }
.pkp .journey i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--text); }
.pkp .journey i:nth-child(even) { transform: translateY(-12px); }
.pkp .journey i:nth-child(3n) { transform: translateY(10px); background: var(--text); }
.pkp .result { display: grid; gap: 5px; padding: var(--s3); border: 1.5px solid var(--wire); border-radius: 8px; }
.pkp .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.pkp .tile { display: grid; gap: 6px; justify-items: start; padding: var(--s3); border: 1.5px solid var(--wire); border-radius: 8px; }
/* ---------- This package at a glance ----------
   At the top of each package: the home page's turning card (.tb-card,
   css/styles.css), opened out so both sides show. Every package follows
   the same pattern in its own palette colour (--glance-bg, set per package
   in js/packages-page.js): the front on that colour, the back on white,
   with no outline. In dark mode both sides are Greyscale 90, with a strip
   of the package's colour along the top. */
.pkp .tb-card--open {
  --card-front-bg: var(--glance-bg); --card-front-fg: #262626; --card-label: #11353F; --card-sub: #454A55;
  perspective: none;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(38, 38, 38, 0.04), 0 24px 56px -30px rgba(17, 53, 63, 0.35);
  overflow: hidden;
}
.pkp .tb-card--open .tb-card__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); transform: none; transition: none; }
.pkp .tb-card--open .tb-card__face { grid-area: auto; transform: none; visibility: visible; transition: none; padding: clamp(28px, 3vw, 44px); border-radius: 0; box-shadow: none; }
.pkp .tb-card--open .tb-card__back { background: #FFFFFF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pkp .tb-card--open { --card-front-bg: #3C3C3C; --card-front-fg: #FFFFFF; --card-label: #BDD3DD; --card-sub: #C1C3C6; border-top: 4px solid var(--glance-accent); }
  :root:not([data-theme="light"]) .pkp .tb-card--open .tb-card__back { background: #3C3C3C; border-left: 1px solid rgba(255, 255, 255, 0.1); }
}
:root[data-theme="dark"] .pkp .tb-card--open { --card-front-bg: #3C3C3C; --card-front-fg: #FFFFFF; --card-label: #BDD3DD; --card-sub: #C1C3C6; border-top: 4px solid var(--glance-accent); }
:root[data-theme="dark"] .pkp .tb-card--open .tb-card__back { background: #3C3C3C; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.pkp .tb-card--open .tb-card__front { position: relative; z-index: 1; }
.pkp .tb-card__name { margin: 0; font-size: var(--fs-display-sm); font-weight: var(--heading-weight); letter-spacing: var(--track-head); line-height: 1.02; color: var(--card-front-fg); }
.pkp .tb-card__facts { display: flex; flex-wrap: wrap; gap: var(--s5) var(--s8); margin: 0; }
.pkp .tb-card__facts > div { display: grid; gap: var(--s2); align-content: start; }
.pkp .tb-card__facts dt { color: var(--card-label); }
.pkp .tb-card__facts dd { margin: 0; display: grid; gap: var(--s1); }
.pkp .tb-card .pkg-price--time { font-size: var(--fs-sub); letter-spacing: var(--track-sub); }
.pkp .tb-card .pkg-unit { margin-top: 0; max-width: 30ch; }
.pkp .glance-note { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--muted); }
@media (max-width: 860px) {
  .pkp .tb-card--open .tb-card__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Step by step: Speculum LateralPinIndicator ----------
   Left: the stage's engraving, its name and meaning, and the index of this
   package's stages with a bar on the current one (sticky; pinned under
   ScrollSmoother, js/packages-page.js). Right: the steps, one under
   another; the one in the middle of the screen is marked. */
.pkp .lpin { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pkp .lsteps { padding-block: 25svh 50svh; }   /* room for the first and last steps to reach the middle of the screen with the column still fixed */
/* The index column is a screen tall (less the header) and stays fixed for
   the whole section, its contents centred in it. */
.pkp .lpin__aside { position: sticky; top: 96px; display: grid; gap: var(--s4); align-content: center; height: calc(100vh - 96px); height: calc(100svh - 96px); box-sizing: border-box; padding-block: var(--s5); }
html.has-smoother .pkp .lpin__aside { position: relative; top: auto; }
.pkp .lpin__art { position: relative; width: min(100%, calc(30svh * 1.49)); aspect-ratio: 1024 / 688; border-radius: 12px; overflow: hidden; }   /* smaller on short screens, so the column fits */
.pkp .lpin__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.04); opacity: 0; transition: opacity 500ms var(--ease); }
.pkp .lpin__art img.is-on { opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pkp .lpin__art { background: #FFFFFF; } :root:not([data-theme="light"]) .pkp .lpin__art img { mix-blend-mode: normal; } }
:root[data-theme="dark"] .pkp .lpin__art { background: #FFFFFF; }
:root[data-theme="dark"] .pkp .lpin__art img { mix-blend-mode: normal; }
.pkp .lpin__now { margin: 0; font-size: var(--fs-ui); color: var(--muted); }
.pkp .lpin__now b { display: block; font-size: var(--fs-sub-sm); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); color: var(--text); }
.pkp .lpin__list { position: relative; padding-left: var(--s5); }
.pkp .lpin__list ol { display: grid; }
.pkp .lpin__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.pkp .lpin__bar { position: absolute; left: -1px; top: 0; width: 3px; height: 0; border-radius: 3px; background: var(--label); transform-origin: 50% 50%; }
.pkp .lpin__label { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--s3); padding: 7px 0; color: var(--faint); text-decoration: none; transition: color 240ms var(--ease), transform 450ms var(--spring); }
.pkp .lpin__label:hover { color: var(--text); }
.pkp .lpin__label[aria-current] { color: var(--text); transform: translateX(4px); }
.pkp .lpin__label:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.pkp .lpin__num { font-family: var(--mono); font-size: var(--fs-label); font-weight: 600; }
.pkp .lpin__name { font-size: var(--fs-title); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); }
.pkp .lpin__count { font-size: var(--fs-caption); color: var(--muted); }
.pkp .lsteps { display: grid; gap: var(--s4); counter-reset: step; }
.pkp .lsteps > .step { transition: box-shadow 400ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--spring); }
/* White cards with no outline. A faint shadow at rest separates them from
   the page; the step in the middle of the screen lifts on a soft, deeper
   shadow. Workshops are told apart by their badge. Dark mode: Greyscale 90. */
.pkp .lsteps > .step { border: 0; background: #FFFFFF; box-shadow: 0 1px 2px rgba(38, 38, 38, 0.05), 0 6px 18px -10px rgba(17, 53, 63, 0.18); }
.pkp .lsteps > .step.is-current { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(38, 38, 38, 0.05), 0 28px 56px -26px rgba(17, 53, 63, 0.4); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pkp .lsteps > .step { background: #3C3C3C; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
  :root:not([data-theme="light"]) .pkp .lsteps > .step.is-current { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 28px 56px -26px rgba(0, 0, 0, 0.8); }
}
:root[data-theme="dark"] .pkp .lsteps > .step { background: #3C3C3C; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
:root[data-theme="dark"] .pkp .lsteps > .step.is-current { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 28px 56px -26px rgba(0, 0, 0, 0.8); }
.pkp .lstep__stagehead { display: none; }
@media (max-width: 860px) {
  .pkp .lpin { grid-template-columns: minmax(0, 1fr); }
  .pkp .lpin__aside { display: none; }
  .pkp .lsteps { padding-block: 0; }
  .pkp .lsteps > .step.is-current { transform: none; }
  .pkp .lstep__stagehead { border-bottom: 0 !important; }
  .pkp .lstep__stagehead { order: -1; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); align-items: center; margin: calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s2); padding: var(--s3) var(--s5); border-bottom: 1px solid var(--line); font-size: var(--fs-caption); color: var(--muted); }
  .pkp .lstep__stagehead img { width: 96px; height: auto; mix-blend-mode: multiply; filter: brightness(1.05) contrast(1.04); border-radius: 8px; }
  .pkp .lstep__stagehead b { display: block; font-size: var(--fs-body); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .pkp .lpin__art img, .pkp .lsteps > .step, .pkp .lpin__label { transition: none; } }

/* ---------- What you get (M2) ----------
   Left: a skeleton of the finished work in a browser frame, never taller
   than the screen (it stays in view beside the notes). Each part is sized
   by what it holds; the chosen note's part is tinted. Right: a white card
   per deliverable; the chosen one lifts on a soft shadow. */
.pkp .wyg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pkp .wyg__frame { position: sticky; top: 196px; display: flex; flex-direction: column; height: min(calc(100svh - 224px), 760px); border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 1px 2px rgba(38, 38, 38, 0.05), 0 18px 48px -26px rgba(17, 53, 63, 0.35); }
html.has-smoother .pkp .wyg__frame { position: relative; top: auto; }
.pkp .wyg__chrome { display: flex; align-items: center; gap: var(--s3); flex: none; padding: 10px 14px; background: #EAEBEC; }
.pkp .wyg__dots { display: flex; gap: 5px; }
.pkp .wyg__dots i { width: 9px; height: 9px; border-radius: 50%; background: #BEBEBE; }
.pkp .wyg__url { flex: 1; max-width: 55%; height: 18px; border-radius: 999px; background: #FFFFFF; }
.pkp .wyg__page { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 6px; gap: 6px; }
.pkp .wyg__region { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; flex-basis: 0; min-height: 0; overflow: hidden; padding: 10px 14px; border-radius: 8px; background: #F7F7F7; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.pkp .wyg__region:not(.has-note) > :not(.wyg__name) { opacity: 0.5; }
.pkp .wyg__region.is-on { background: #D3E2E8; }   /* Deep Teal Blue 20, the same as the chosen note */
.pkp .wyg__name { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #676767; }
.pkp .wyg__name i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #BEBEBE; color: #FFFFFF; font-style: normal; font-size: 0.5625rem; }
.pkp .wyg__region.is-on .wyg__name { color: #11353F; }
.pkp .wyg__region.is-on .wyg__name i { background: #11353F; }
/* A finer skeleton inside the frame. */
.pkp .wyg .b { height: 6px; background: #D4D4D4; }
.pkp .wyg .b.thick { height: 11px; background: #BEBEBE; }
.pkp .wyg .b.dark { background: #BEBEBE; }
.pkp .wyg .pill { width: 64px; height: 18px; background: #676767; }
.pkp .wyg .box { min-height: 0; flex: 1; border: 1px solid #D4D4D4; background-color: #FFFFFF; }
.pkp .wyg .sk-split { flex: 1; min-height: 0; }
.pkp .wyg .card, .pkp .wyg .result, .pkp .wyg .tile, .pkp .wyg .phone { border: 1px solid #E9E9E9; border-style: solid; background: #FFFFFF; }
.pkp .wyg .field { height: 18px; border: 1px solid #D4D4D4; border-radius: 6px; }
.pkp .wyg .field.tall { height: 34px; }
.pkp .wyg .cal { gap: 3px; max-width: 150px; }
/* Compact parts, so each fits the space its region gets. */
.pkp .wyg__region > :not(.wyg__name) { flex: 1 1 auto; min-height: 0; }
.pkp .wyg .sk { gap: 5px; }
.pkp .wyg .sk-row { gap: 8px; }
.pkp .wyg .sk-cols { gap: 6px; }
.pkp .wyg .sk-split { gap: 10px; align-items: start; }
.pkp .wyg .card, .pkp .wyg .result, .pkp .wyg .tile { gap: 4px; padding: 6px 8px; }
.pkp .wyg .box.round { width: 34px; min-height: 0; flex: none; }
.pkp .wyg .cal { gap: 2px; max-width: 98px; }
.pkp .wyg .aa { font-size: 1.25rem; }
.pkp .wyg .sw i { width: 18px; height: 18px; }
.pkp .wyg .phone { min-height: 0; padding: 5px; gap: 3px; }
.pkp .wyg .journey { height: 28px; }
.pkp .wyg .journey i { width: 10px; height: 10px; }
.pkp .wyg .tick::before { width: 9px; height: 5px; }
.pkp .wyg .sk-row[style*="padding-block"] { padding-block: 3px !important; }
.pkp .wyg__notes { display: grid; gap: var(--s3); }
.pkp .wyg__note {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s3); align-items: start;
  width: 100%; padding: var(--s4) var(--s5); border: 0; border-radius: 12px;
  background: #FFFFFF; color: var(--text); font: inherit; text-align: left; cursor: pointer;
  box-shadow: none;
  transition: background-color 300ms var(--ease);
}
.pkp .wyg__note.is-on { background: #D3E2E8; }   /* Deep Teal Blue 20, the same as its part of the skeleton; no border, shadow or movement */
.pkp .wyg__note:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pkp .wyg__pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #D4D4D4; color: #262626; font-family: var(--mono); font-size: var(--fs-caption); font-weight: 700; transition: background-color 300ms var(--ease), color 300ms; }
.pkp .wyg__note.is-on .wyg__pin { background: #11353F; color: #FFFFFF; }
.pkp .wyg__text { display: grid; gap: 2px; }
.pkp .wyg__text b { font-size: var(--fs-body); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); line-height: 1.3; }
.pkp .wyg__text span { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pkp .wyg__note { background: #3C3C3C; box-shadow: none; }
  :root:not([data-theme="light"]) .pkp .wyg__note.is-on { background: #D3E2E8; color: #262626; } :root:not([data-theme="light"]) .pkp .wyg__note.is-on .wyg__text span { color: #454A55; }
  :root:not([data-theme="light"]) .pkp .wyg__note.is-on .wyg__pin { background: #11353F; color: #FFFFFF; }
}
:root[data-theme="dark"] .pkp .wyg__note { background: #3C3C3C; box-shadow: none; }
:root[data-theme="dark"] .pkp .wyg__note.is-on { background: #D3E2E8; color: #262626; } :root[data-theme="dark"] .pkp .wyg__note.is-on .wyg__text span { color: #454A55; }
:root[data-theme="dark"] .pkp .wyg__note.is-on .wyg__pin { background: #11353F; color: #FFFFFF; }
@media (max-width: 860px) {
  .pkp .wyg { grid-template-columns: minmax(0, 1fr); }
  .pkp .wyg__frame { position: relative; top: auto; height: min(70svh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .pkp .wyg__note, .pkp .wyg__region { transition: none; } }

/* ---------- Closing ---------- */
.pkp .close-band { margin-top: var(--s4); padding: clamp(32px, 5vw, 64px); display: grid; gap: var(--s4); justify-items: start; }
.pkp .close-band h2 { font-size: var(--fs-display-sm); font-weight: var(--heading-weight); letter-spacing: var(--track-head); }
.pkp .close-band p { max-width: 56ch; color: var(--muted); }
.pkp .close-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
@media (max-width: 860px) {
.pkp .stages { grid-template-columns: minmax(0, 1fr); }
.pkp .stages li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--s4); align-content: center; }
.pkp .stage-art { grid-row: span 2; align-self: center; margin: 0; width: 112px; }
.pkp .pk-head { grid-template-columns: minmax(0, 1fr); align-items: start; padding: var(--s5); }
/* Wireframe: one column. Each note sits under the region it describes. */
.pkp .wf { grid-template-columns: minmax(0, 1fr); }
.pkp .wf-lead { display: none; }
.pkp .wf-note { padding: var(--s3) var(--s5) var(--s4); border-inline: 1.5px solid var(--line-strong); background: var(--surface-2); }
.pkp .wf-row:not(.has-note) .wf-note { display: none; }
.pkp .wf-row:last-child .wf-cell { border-radius: 0; border-bottom: 0; }
.pkp .wf-row:last-child:not(.has-note) .wf-cell, .pkp .wf-row:last-child .wf-note { border-bottom: 1.5px solid var(--line-strong); border-radius: 0 0 12px 12px; }

@media (prefers-reduced-motion: reduce) { .pkp .panel.is-swapping > * { animation: none; } }
}   /* end of max-width: 860px */

/* ---------- Package hero (Hero 1, full bleed) ----------
   A full-screen photo behind the floating navigation bar, washed with
   Dark Slate Teal from the left and the bottom so the white copy reads on
   any picture. The page label and the package tabs sit centred at the top,
   on frosted glass; the package's tier, name, who it's for, its facts and
   the booking button sit at the bottom left. Packages without a photo yet
   show the plain Dark Slate Teal ground. */
.pkp .phero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s7); min-height: max(100svh, 640px); padding: calc(var(--header-h) + var(--s5)) var(--gutter) clamp(40px, 6svh, 72px); background: #11353F; color: #FFFFFF; }
.pkp .phero__media { position: absolute; top: -8%; right: 0; left: 0; height: 120%; z-index: -2; will-change: transform; }   /* taller than the hero, so the parallax never shows an edge */
@media (prefers-reduced-motion: reduce) { .pkp .phero__media { top: 0; height: 100%; } }
.pkp .phero__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.pkp .phero__photo.is-on { opacity: 1; }   /* photos take turns, fading into each other (js/packages-page.js) */
.pkp .phero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(17, 53, 63, 0.84) 0%, rgba(17, 53, 63, 0.56) 38%, rgba(17, 53, 63, 0) 68%), linear-gradient(0deg, rgba(17, 53, 63, 0.72) 0%, rgba(17, 53, 63, 0) 42%), linear-gradient(180deg, rgba(17, 53, 63, 0.35) 0%, rgba(17, 53, 63, 0) 26%); }
.pkp .phero__top { display: grid; justify-items: center; gap: var(--s3); min-width: 0; }
.pkp .phero__label { margin: 0; font-family: var(--sans); color: #FFFFFF; }   /* the label style, as the page's heading */
.pkp .phero .picker.sp-tabs { --tabs-track: rgba(255, 255, 255, 0.74); --tabs-indicator: #FFFFFF; --tabs-fg: #303642; --tabs-fg-active: #11353F; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.pkp .phero__body { display: grid; gap: var(--s4); justify-items: start; max-width: min(46rem, 100%); }
.pkp .phero__tier { margin: 0; color: #CFD7D9; }
.pkp .phero__name { margin: 0; font-size: var(--fs-display); font-weight: var(--heading-weight); letter-spacing: var(--track-head); line-height: 0.98; text-wrap: balance; color: #FFFFFF; }
.pkp .phero__for { margin: 0; max-width: 40ch; font-size: var(--fs-body-lg); line-height: var(--lh-lg); color: #FFFFFF; }
/* Who it's made for: Speculum Badge, a row of quiet outline chips. */
.pkp .phero__suits { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s1); }
.pkp .phero__suits .label { margin: 0; color: #CFD7D9; }
.pkp .phero__suits ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.pkp .phero__suit { padding: 3px 12px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-family: var(--sans); font-size: var(--fs-caption); font-weight: 700; line-height: 1.5; color: #FFFFFF; }
.pkp .phero__suits .phero__others { flex-basis: 100%; }
.pkp .phero__others[hidden] { display: none; }
.pkp .phero__suit--other { border-style: dashed; background: none; }
.pkp .phero__more { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 10px 3px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font: 700 var(--fs-caption)/1.5 var(--sans); color: #FFFFFF; cursor: pointer; transition: background-color 200ms var(--ease); }
.pkp .phero__more:hover { background: rgba(255, 255, 255, 0.28); }
.pkp .phero__more:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.pkp .phero__more .icon { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 300ms var(--ease); }
.pkp .phero__more[aria-expanded="true"] .icon { transform: rotate(45deg); }   /* the plus turns into a close mark */
@media (prefers-reduced-motion: reduce) { .pkp .phero__more .icon { transition: none; } }
.pkp .phero__facts { display: flex; flex-wrap: wrap; gap: var(--s4) clamp(24px, 3vw, 40px); margin: var(--s3) 0 0; }
.pkp .phero__facts dt { margin: 0 0 2px; color: #CFD7D9; }
.pkp .phero__facts dd { margin: 0; }
.pkp .phero__fact { font-size: var(--fs-price); font-weight: var(--heading-weight); letter-spacing: var(--track-sub); line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: #FFFFFF; }
.pkp .phero__dots { display: flex; gap: 6px; padding-block: 7px 4px; }
.pkp .phero__dots i { width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%; border: 2px solid #FFFFFF; }
.pkp .phero__dots i.on { background: #FFFFFF; }
.pkp .phero__btn { margin-top: var(--s2); background: #FFFFFF; color: #11353F; }
.pkp .phero__btn:hover { background: #E7EBEC; color: #11353F; }
.pkp .phero__btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.pkp .phero__note { margin: 0; font-size: var(--fs-caption); line-height: var(--lh-ui); color: #E7EBEC; }
.pkp .phero.is-swapping .phero__body > * { animation: pkp-rise 500ms var(--ease) both; }
.pkp .phero.is-swapping .phero__body > :nth-child(n+3) { animation-delay: 70ms; }
.pkp .phero.is-swapping .phero__media { animation: phero-fade 600ms var(--ease) both; }
@keyframes phero-fade { from { opacity: 0.4; } to { opacity: 1; } }
/* Phones: the shade runs up from the bottom over more of the photo, since the copy spans the screen. */
@media (max-width: 760px) {
  .pkp .phero { padding-inline: var(--gutter); }
  .pkp .phero .picker.sp-tabs { max-width: 100%; }
  .pkp .phero.has-photo::before { background: linear-gradient(0deg, rgba(17, 53, 63, 0.92) 0%, rgba(17, 53, 63, 0.78) 45%, rgba(17, 53, 63, 0.2) 78%, rgba(17, 53, 63, 0.35) 100%); }
}
@media (prefers-reduced-motion: reduce) { .pkp .phero.is-swapping .phero__body > *, .pkp .phero.is-swapping .phero__media { animation: none; } .pkp .phero__photo { transition: none; } }

/* What you get: every part of the skeleton keeps its natural height, so its
   layout can be read; the page's scroll, or choosing a note, moves the
   skeleton inside its frame (js/packages-page.js). */
.pkp .wyg__page { overflow: hidden; }   /* moved by the page's scroll or a chosen note (js/packages-page.js), never scrolled by hand */
/* Phones and tablets: nothing drives the skeleton, so it shows at its full height. */
@media (max-width: 860px) { .pkp .wyg__frame { height: auto; } .pkp .wyg__page { overflow: visible; } }
.pkp .wyg__region { flex: 0 0 auto !important; overflow: visible; padding: 14px 16px; }
.pkp .wyg__region > :not(.wyg__name) { flex: 0 0 auto; }
.pkp .wyg .sk-split { flex: none; }
.pkp .wyg .box { flex: none; min-height: 140px; }
.pkp .wyg .box.round { width: 48px; height: 48px; min-height: 48px; }
.pkp .wyg .card, .pkp .wyg .result, .pkp .wyg .tile { gap: 6px; padding: 10px 12px; }
.pkp .wyg .sk { gap: 7px; }
.pkp .wyg .b { height: 7px; }
.pkp .wyg .b.thick { height: 14px; }
.pkp .wyg .cal { gap: 3px; max-width: 150px; }
.pkp .wyg .phone { min-height: 160px; padding: 8px; gap: 5px; }
.pkp .wyg .journey { height: 36px; }

/* Our process (home page): what each stage leaves you with, and the note
   on the step where the audit ends. */
.pkp .step .step-get { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s2); margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--text); }
.pkp .step .step-get .label { margin: 0; color: var(--label); }
.pkp .step .step-note { margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: 8px; background: var(--surface); font-size: var(--fs-caption); line-height: var(--lh-ui); color: var(--text); }
/* The block holds 196px from the top, 52px below the floating package
   tabs (92-144px). While it is scroll-driven, the note list keeps to the frame's
   height beside it and moves with the scroll (js/packages-page.js). */
.pkp .wyg__notes { position: relative; }
.pkp .wyg.is-scrub .wyg__notes { height: min(calc(100svh - 224px), 760px); overflow: hidden; align-content: start; }
.pkp .wyg.is-scrub.is-long .wyg__notes { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }   /* soft edges when the list is taller than its column */

/* The package tabs, floating under the header once the page scrolls past the
   hero: hidden while scrolling down, back when scrolling up. */
.picker-float { position: fixed; z-index: 40; top: 92px; left: 0; right: 0; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(-16px); transition: transform 450ms var(--ease), opacity 300ms var(--ease), visibility 0s linear 450ms; }
.picker-float.is-on { visibility: visible; opacity: 1; transform: none; transition: transform 450ms var(--ease), opacity 300ms var(--ease), visibility 0s; }
.picker-float.is-on.is-hidden { visibility: hidden; opacity: 0; transform: translateY(calc(-100% - 92px)); transition: transform 450ms var(--ease), opacity 300ms var(--ease), visibility 0s linear 450ms; }
.picker-float > .picker.sp-tabs { --tabs-track: rgba(231, 235, 236, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .picker-float > .picker.sp-tabs { --tabs-track: rgba(60, 60, 60, 0.94); } }
:root[data-theme="dark"] .picker-float > .picker.sp-tabs { --tabs-track: rgba(60, 60, 60, 0.94); }
.picker-float > .picker { pointer-events: auto; box-shadow: 0 1px 2px rgba(38, 38, 38, 0.06), 0 12px 32px -16px rgba(17, 53, 63, 0.35); }
.pkp .picker-slot { display: flex; justify-content: center; width: 100%; min-width: 0; }
.pkp .picker-slot > .picker, .picker-float > .picker { min-width: 0; }   /* the tab row may shrink and scroll sideways on narrow screens */
@media (prefers-reduced-motion: reduce) { .picker-float, .picker-float.is-on, .picker-float.is-on.is-hidden { transition: none; } }
