/* =========================================================
   FRAMEWORK CLIENT PORTAL — design system
   Same brand as the website: near-monochrome, sharp corners, hairline rules, Switzer (display) + General Sans (body).
   Quiet by design: hierarchy comes from type, space and hairlines, not boxes, shadows or gradients.
   The portal's CSP forbids inline styles and scripts, so every visual state lives here and every interaction is a link or native HTML.
   ========================================================= */

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --slate: #5C5C5C;      /* secondary text (6.9:1 on paper) */
  --stone: #A3A3A3;      /* decoration only, never text */
  --hairline: #E0E0E0;
  --mist: #F5F5F5;
  --field-edge: #767676;  /* form control borders: 4.5:1 on paper (WCAG 1.4.11 asks for 3:1); stone is 2.5:1 and stays decoration */
  --signal: #B3261E;     /* the one functional colour: "this needs you" */

  --font-display: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --bar-h: 64px;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 880px) { html { scroll-padding-top: 130px; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; } /* the skip link moves focus here so the next Tab starts inside the page; main is not interactive, so no ring */

/* ---------- type ---------- */
.eyebrow { display: block; margin: 0 0 var(--space-2); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.eyebrow::before { content: "— "; }
.h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.022em; }
.h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.012em; }
.h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.006em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 34em; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: clamp(32px, 5vw, 64px); padding-bottom: var(--space-6); }
.page-head { margin-bottom: clamp(32px, 5vw, 56px); }
.page-head .lead { margin-top: var(--space-2); color: var(--slate); }
.crumb { margin: 0 0 var(--space-3); font-size: 14px; color: var(--slate); }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }

.section { margin-top: clamp(48px, 6vw, 80px); }
.section:first-child { margin-top: 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); padding-top: 14px; border-top: 1px solid var(--ink); margin-bottom: var(--space-3); }
.section__title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); }
.section__aside { font-size: 14px; color: var(--slate); }
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(48px, 6vw, 80px); align-items: start; }
.cols--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* Sections that are direct grid items are spaced by the grid's row-gap alone. The generic .section margin would push every item except the first down. */
.cols--even > .section { margin-top: 0; }
@media (max-width: 880px) { .cols, .cols--even { grid-template-columns: minmax(0, 1fr); } }

/* ---------- top bar ---------- */
.demo-banner { background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.4; }
.demo-banner .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.demo-banner strong { letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.demo-banner a { color: var(--paper); }
.bar { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.bar__in { display: flex; align-items: center; gap: var(--space-3); min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; min-height: 44px; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word { font-weight: 600; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; }
.primary { margin-left: var(--space-3); min-width: 0; flex: 1 1 auto; }
.primary ul { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.primary a { display: inline-flex; align-items: center; min-height: var(--bar-h); font-size: 15px; font-weight: 500; color: var(--slate); text-decoration: none; border-bottom: 2px solid transparent; padding-top: 2px; white-space: nowrap; }
.primary a:hover { color: var(--ink); }
.primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.who { display: flex; align-items: center; gap: var(--space-2); flex: none; font-size: 14px; }
.who__org { font-weight: 600; } .who__user { color: var(--slate); }
@media (max-width: 880px) {
  .bar__in { flex-wrap: wrap; row-gap: 0; padding-top: 4px; }
  .who { margin-left: auto; }
  .who__user { display: none; }
  .primary { order: 3; flex: 1 1 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--hairline); }
  .primary::-webkit-scrollbar { display: none; }
  .primary a { min-height: 48px; }
}
/* Phones: two rows. Brand with the account control, then navigation. Identity lives on the dashboard and Account pages, not in the header. */
@media (max-width: 640px) {
  .demo-banner { font-size: 12px; }
  .demo-banner .wrap { flex-wrap: nowrap; padding-top: 6px; padding-bottom: 6px; }
  .demo-banner a { display: none; }
  .bar__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand act" "nav nav"; column-gap: var(--space-2); row-gap: 0; padding-top: 0; min-height: 0; align-items: center; }
  .who { display: contents; }
  .who__org, .who__user { display: none; }
  .brand { grid-area: brand; min-height: 52px; }
  .who__act { grid-area: act; display: flex; justify-content: flex-end; align-items: center; }
  .who__act .btn--small, .who__act .signout .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .primary { grid-area: nav; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); border-top: 0; }
  .primary ul { gap: 24px; }
  .primary a { min-height: 44px; }
}

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn:hover { background: var(--ink); color: var(--paper); }
/* A button already has its own 1px border, so its focus ring sits on that border (no gap) and reads as one thicker frame, not a second box; a filled button has no visible border to thicken, so its ring keeps a 2px gap. */
.btn:focus-visible { outline-offset: 0; }
.btn--primary:focus-visible { outline-offset: 2px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--paper); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.signout { margin: 0; } .signout .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- status, stage, progress ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--ink); flex: none; }
.status--done::before, .status--live::before { background: var(--ink); }
.status--active::before { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.status--idle { color: var(--slate); } .status--idle::before { border-color: var(--stone); }
.status--paused { color: var(--slate); } .status--paused::before { border-style: dashed; border-color: var(--slate); }
.status--attention { color: var(--signal); } .status--attention::before { background: var(--signal); border-color: var(--signal); }

.meter-wrap { margin-top: var(--space-3); }
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.stages li { padding-top: 10px; border-top: 3px solid var(--hairline); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.stages .is-done { border-top-color: var(--ink); color: var(--ink); }
.stages .is-current { border-top-color: var(--ink); color: var(--ink); }
.stages .is-current::after { content: " ●"; font-size: 9px; vertical-align: 1px; }
@media (max-width: 560px) { .stages li { font-size: 10px; letter-spacing: .02em; } }

progress.meter { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 3px; border: 0; background: var(--hairline); color: var(--ink); }
progress.meter::-webkit-progress-bar { background: var(--hairline); }
progress.meter::-webkit-progress-value { background: var(--ink); }
progress.meter::-moz-progress-bar { background: var(--ink); }
.meter-row { display: flex; align-items: center; gap: var(--space-2); }
.meter-row progress { flex: 1; } .meter-row .num { font-size: 14px; font-weight: 600; min-width: 3ch; text-align: right; }

/* ---------- lists: rows with hairlines, never cards ---------- */
.rows > li { border-top: 1px solid var(--hairline); }
.rows > li:last-child { border-bottom: 1px solid var(--hairline); }
.row { display: grid; gap: 6px var(--space-3); padding: 20px 0; align-items: baseline; text-decoration: none; }
a.row:hover .row__title, a.row:focus-visible .row__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.row__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.006em; }
.row__meta { font-size: 14px; color: var(--slate); }
.row--project { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); }
.row--project .row__lead { grid-column: 1; }
.row--project .row__stage { grid-column: 2; } .row--project .row__progress { grid-column: 3; }
.row--project .row__summary { grid-column: 1 / -1; max-width: 46em; }
@media (max-width: 640px) { .row--project { grid-template-columns: minmax(0, 1fr); } .row--project .row__stage, .row--project .row__progress { grid-column: 1; } }
.table-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); gap: var(--space-3); padding: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
@media (max-width: 640px) { .table-head { display: none; } }

/* ---------- guided workspace (demonstration) ---------- */
.row__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.006em; }
.row__name + .row__meta { display: block; margin-top: 2px; }
.row--service, .row--step { grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; color: inherit; }
.row--step { grid-template-columns: 36px minmax(0, 1fr) auto 24px; min-height: 64px; padding: 14px 0; align-items: center; } .row--plainstep { grid-template-columns: minmax(0, 1fr) auto 24px; }
.row__st { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 0; }
@media (max-width: 560px) { .row__st:empty { display: none; } .row--step, .row--plainstep { grid-template-columns: 28px minmax(0, 1fr) 24px; row-gap: 2px; } .row--plainstep { grid-template-columns: minmax(0, 1fr) 24px; } .row--step > .row__st { grid-column: 2; grid-row: 2; justify-content: flex-start; } .row--plainstep > .row__st { grid-column: 1; } .row--step > .tile__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; } .row--plainstep > .tile__arrow { grid-column: 2; }  .row--step > .step__n { align-self: start; padding-top: 3px; } } .rowstat { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: var(--slate); white-space: nowrap; } .rowstat--attention { color: var(--signal); font-weight: 600; }
.rows--nav > li:first-child { border-top-color: var(--ink); }
.page-head--compact { margin-bottom: var(--space-3); } .page-head--compact .crumb { margin-bottom: var(--space-2); }
.h1--section { font-size: clamp(30px, 5.4vw, 44px); letter-spacing: -0.02em; line-height: 1.08; }
.progress-line { max-width: 560px; margin: 0 0 var(--space-4); } .progress-line .muted { margin-top: 6px; }
.qgroup + .qgroup { margin-top: var(--space-4); } .qgroup__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 var(--space-2); }
a.row:hover .row__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--slate); }
.tile__arrow { font-size: 18px; justify-self: end; transition: transform .15s ease; } a:hover > .tile__arrow, a:hover .tile__arrow { transform: translateX(3px); }
.rows--plain { list-style: none; padding: 0; }
@media (max-width: 560px) { .row--service { grid-template-columns: minmax(0, 1fr) 24px; } .row--service > .status { grid-column: 1; grid-row: 2; } .row--service > .tile__arrow { grid-column: 2; grid-row: 1; } }

.next { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); align-items: start; }
.next__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 var(--space-1); }
.next .btn { margin-top: var(--space-1); }
@media (max-width: 760px) { .next { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) 0; } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.tiles > li { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.tile { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; height: 100%; min-height: 188px; padding: var(--space-3); color: inherit; text-decoration: none; transition: background-color .15s ease; }
a.tile:hover { background: var(--mist); }
.tile__n { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--slate); }
.tile__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.012em; }
.tile__desc { font-size: 15px; color: var(--slate); max-width: 28em; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 0; padding: 18px 16px; grid-template-columns: 32px minmax(0, 1fr) 24px; grid-template-rows: auto auto; grid-template-areas: "n title arrow" ". desc arrow"; column-gap: 8px; row-gap: 2px; align-items: center; } .tile__n { grid-area: n; } .tile__title { grid-area: title; font-size: 20px; } .tile__desc { grid-area: desc; font-size: 14px; } .tile .tile__arrow { grid-area: arrow; } }
.tile > .tile__arrow { align-self: end; justify-self: end; }
.page-head--home { margin-bottom: clamp(24px, 4vw, 40px); } .page-head--home .lead { margin-top: 8px; font-size: clamp(17px, 2.2vw, 20px); }
.home-action { margin: var(--space-3) 0 0; } .home-action .btn { gap: 8px; }
.home-note { margin: var(--space-3) 0 0; max-width: 34em; font-size: 15px; line-height: 1.55; color: var(--slate); }
@media (max-width: 560px) { .home-action .btn { width: 100%; } .home-action .text-link { display: inline-flex; align-items: center; min-height: 44px; } }
/* The available module is the focus of Home; the unfinished ones are a quiet text list below it. */
.focus-list > li { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); }
.focus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px var(--space-3); align-items: center; padding: var(--space-3) 0; color: inherit; text-decoration: none; }
.focus:hover .focus__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.focus__title { grid-column: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 34px); line-height: 1.12; letter-spacing: -0.015em; }
.focus__desc { grid-column: 1; font-size: 16px; color: var(--slate); }
.focus .tile__status { grid-column: 1; max-width: 560px; margin-top: 12px; }
.soon-list { margin-top: clamp(40px, 6vw, 72px); }
.soon-list__title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 var(--space-2); }
.soon-list ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-2) var(--space-4); }
.soon-list li { display: grid; gap: 2px; color: var(--slate); }
.soon-list__name { font-size: 16px; font-weight: 500; color: var(--slate); }
.soon-list__desc { font-size: 14px; color: var(--slate); }
.h1--home { font-size: clamp(26px, 6.2vw, 44px); letter-spacing: -0.02em; line-height: 1.08; }
.subnav { margin: 0 0 var(--space-4); } .subnav a { min-height: 44px; }

.demo-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: var(--space-3) 0; font-size: 14px; color: var(--slate); }
.notice-line { margin: 0 0 var(--space-2); max-width: 46em; padding-left: 14px; border-left: 2px solid var(--ink); font-size: 15px; }
.bullets { list-style: disc; padding-left: 20px; display: grid; gap: 8px; max-width: 44em; } .bullets--num { list-style: decimal; }

.stepper ol { display: flex; gap: 6px; margin: 0 0 var(--space-3); }
.stepper li { flex: 1 1 0; }
.stepper a { display: grid; place-items: center; min-height: 44px; border-top: 3px solid var(--hairline); font-size: 13px; font-weight: 600; color: var(--slate); text-decoration: none; }
.stepper .is-done a { border-top-color: var(--ink); color: var(--ink); } .stepper .is-current a { border-top-color: var(--ink); color: var(--ink); }
.stepper a[aria-current="step"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.questions { display: grid; gap: var(--space-3); max-width: 40em; margin-bottom: var(--space-3); }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field__hint { font-size: 14px; color: var(--slate); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field-edge); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--font-body); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field ::placeholder { color: var(--slate); opacity: .8; }
.choice { gap: 0; } .choice legend { margin-bottom: 8px; }
.choice__opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--hairline); font-weight: 400 !important; cursor: pointer; }
.choice__opt:last-of-type { border-bottom: 1px solid var(--hairline); }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.step-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; padding-top: var(--space-3); border-top: 1px solid var(--hairline); }
.step-nav .btn[aria-disabled="true"] { margin-left: auto; }
/* Business Profile step actions, in reading and tab order: Save and continue (primary), Save changes (secondary), Previous (a quiet text link). */
.step-nav__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; text-decoration-thickness: 1px; }
.step-nav .btn[data-busy] { opacity: .6; cursor: progress; pointer-events: none; margin-left: 0; }
.progress-next { margin: 0 0 var(--space-4); } .progress-next .btn { gap: 8px; }
@media (max-width: 560px) {
  .step-nav .btn { flex: 1 1 100%; }
  .step-nav .btn[aria-disabled="true"] { margin-left: 0; order: 3; }
  .step-nav .btn[data-busy] { order: 0; }
  .step-nav__back { flex: 1 1 100%; justify-content: center; margin-left: 0; }
  .progress-next .btn { width: 100%; }
}

.choices ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.choices li { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.choices a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px; color: inherit; text-decoration: none; }
.choices a:hover { background: var(--mist); }
.choices a[aria-current="true"] { background: var(--ink); color: var(--paper); } .choices a[aria-current="true"] .choices__d { color: var(--stone); }
.choices__t { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.25; } .choices__d { font-size: 14px; color: var(--slate); }
@media (max-width: 960px) { .choices ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .choices ul { grid-template-columns: minmax(0, 1fr); } }
.uploads > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 18px 0; border-top: 1px dashed var(--stone); }
.uploads > li:last-child { border-bottom: 1px dashed var(--stone); }

.topics { border-bottom: 1px solid var(--hairline); }
.topic { border-top: 1px solid var(--hairline); }
.topic > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: var(--space-2); align-items: center; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; }
.topic > summary::-webkit-details-marker { display: none; }
.topic__t { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.topic__x { width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); justify-self: end; margin-top: -4px; transition: transform .15s ease; }
.topic[open] .topic__x { transform: rotate(225deg); margin-top: 4px; }
.topic__body { padding: 0 0 var(--space-3); display: grid; gap: var(--space-2); }
@media (max-width: 560px) { .topic > summary { grid-template-columns: minmax(0, 1fr) 20px; } .topic__s { grid-column: 1; grid-row: 2; } .topic__x { grid-column: 2; grid-row: 1; } }

.prereq__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 6px; }
.prereq__list { margin: var(--space-2) 0 var(--space-3); }
.prereq__list > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 var(--space-1); padding: 14px 0; border-top: 1px solid var(--hairline); }
.prereq__list > li:last-child { border-bottom: 1px solid var(--hairline); }
.prereq__mark { width: 13px; height: 13px; margin-top: 5px; border: 1.5px solid var(--ink); }
.is-met > .prereq__mark { background: var(--ink); } .is-needed > .prereq__mark { border-color: var(--signal); }
.prereq__body { display: grid; gap: 2px; } .prereq__label { font-weight: 500; } .prereq__state { font-size: 14px; color: var(--slate); }
.is-needed .prereq__state { color: var(--ink); }
.prereq__sub { font-size: 14px; color: var(--slate); display: grid; gap: 4px; margin-top: 4px; }
.step-nav + *, .page-head + .stepper { margin-top: 0; }

/* ---------- facts (definition lists) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3) var(--space-4); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.facts dd { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.kv { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); gap: 0 var(--space-3); }
.kv dt, .kv dd { padding: 14px 0; border-top: 1px solid var(--hairline); }
.kv dt { font-size: 14px; color: var(--slate); }
.kv dd { font-size: 16px; overflow-wrap: anywhere; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 1px solid var(--hairline); }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv dt { padding-bottom: 0; border-bottom: 0 !important; } .kv dd { border-top: 0; padding-top: 4px; } .kv dt { border-top: 1px solid var(--hairline); } }

/* ---------- attention: updates and next actions ---------- */
.notice { padding: 22px 0; border-top: 1px solid var(--hairline); display: grid; gap: 6px; }
.notice:first-child { border-top-color: var(--ink); }
.notice__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.22; letter-spacing: -0.01em; }
.notice a.notice__title { text-decoration: none; } .notice a.notice__title:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.todo { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 4px var(--space-2); padding: 16px 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.todo:last-child { border-bottom: 1px solid var(--hairline); }
.todo__box { width: 14px; height: 14px; border: 1.5px solid var(--ink); margin-top: 4px; }
.todo__box--framework { border-style: dashed; border-color: var(--slate); }
.todo__text { font-weight: 500; } .todo__text a { text-decoration: none; } .todo__text a:hover { text-decoration: underline; text-underline-offset: 4px; }
.todo__due { font-size: 14px; color: var(--slate); white-space: nowrap; }
.todo__who { grid-column: 2 / -1; font-size: 13px; color: var(--slate); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); border: 1px solid var(--hairline); padding: 3px 8px; line-height: 1.3; }
.tag--ink { border-color: var(--ink); color: var(--ink); } .tag--signal { border-color: var(--signal); color: var(--signal); }

/* ---------- milestones and deliverables ---------- */
.miles > li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: var(--space-2); padding: 0 0 28px; position: relative; }
.miles > li::before { content: ""; position: absolute; left: 6px; top: 20px; bottom: -4px; width: 1px; background: var(--hairline); }
.miles > li:last-child { padding-bottom: 0; } .miles > li:last-child::before { display: none; }
.miles__dot { width: 13px; height: 13px; border: 1.5px solid var(--ink); background: var(--paper); margin-top: 6px; position: relative; z-index: 1; }
.miles .is-done .miles__dot { background: var(--ink); }
.miles .is-current .miles__dot { background: linear-gradient(90deg, var(--ink) 50%, var(--paper) 50%); }
.miles .is-next .miles__dot { border-color: var(--stone); }
.miles__name { font-weight: 600; font-size: 17px; } .miles .is-next .miles__name { color: var(--slate); font-weight: 500; }
.miles__note { grid-column: 2; font-size: 14px; color: var(--slate); max-width: 40em; }
.miles__date { font-size: 14px; color: var(--slate); white-space: nowrap; padding-top: 3px; }

.deliv { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px var(--space-3); padding: 16px 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.deliv:last-child { border-bottom: 1px solid var(--hairline); }
.deliv__name { font-weight: 500; } .deliv__due { font-size: 14px; color: var(--slate); white-space: nowrap; }
@media (max-width: 560px) { .deliv { grid-template-columns: minmax(0, 1fr) auto; } .deliv__due { grid-column: 1; } }

.jump { display: flex; flex-wrap: wrap; gap: 6px var(--space-3); margin: var(--space-4) 0 var(--space-3); font-size: 14px; }
.cols--stacks { row-gap: 0; }
.cols--stacks .section { margin-top: clamp(36px, 4vw, 52px); }

.stack { display: flex; flex-direction: column; min-width: 0; }
/* Both columns open on the same line: the first section of each stack has no top margin on wide layouts. */
@media (min-width: 881px) { .cols--stacks > .stack > .section:first-child { margin-top: 0; } }
@media (max-width: 880px) { .cols--stacks { display: flex; flex-direction: column; align-items: stretch; } .stack { display: contents; } #milestones { order: 1; } #deliverables { order: 2; } #documents { order: 3; } #details { order: 4; } .cols--stacks #milestones { margin-top: var(--space-2); } }
.attention { margin-top: var(--space-4); margin-bottom: calc(var(--space-2) * -1); padding-top: 14px; border-top: 1px solid var(--ink); }
.attention ul { margin-top: var(--space-2); }
.attention li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px var(--space-3); padding: 12px 0; border-top: 1px solid var(--hairline); }
.attention li:first-child { border-top: 0; padding-top: 4px; }
.attention a { text-decoration: none; display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-height: 24px; } .attention a:hover .attention__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.attention__name { font-weight: 600; font-size: 17px; } .attention__due { font-size: 14px; color: var(--slate); }
a.deliv--link { color: inherit; text-decoration: none; } a.deliv--link:hover .deliv__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.doc__preview.doc__preview--tall { min-height: 320px; max-width: none; }
.actions-inert { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.miles__when { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; color: var(--stone); } .miles__date.is-done { color: var(--ink); } .miles__date.is-done .miles__when { color: var(--slate); }
.jump a { color: var(--slate); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; } .jump a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- activity feed ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px var(--space-3); margin: 0 0 var(--space-4); font-size: 14px; }
.filters a { display: inline-flex; align-items: center; min-height: 40px; color: var(--slate); text-decoration: none; border-bottom: 2px solid transparent; }
.filters a:hover { color: var(--ink); } .filters a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.feed-day { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: var(--space-4) 0 var(--space-1); } .feed-day:first-child { margin-top: 0; }
.feed > li { display: grid; grid-template-columns: 68px 22px minmax(0, 1fr); column-gap: var(--space-2); padding: 0 0 26px; position: relative; }
.feed > li::before { content: ""; position: absolute; left: calc(68px + var(--space-2) + 5px); top: 22px; bottom: -6px; width: 1px; background: var(--hairline); }
.feed > li:last-child::before { display: none; }
.feed__time { font-size: 13px; color: var(--slate); padding-top: 3px; text-align: right; }
.mark { width: 11px; height: 11px; margin-top: 7px; border: 1.5px solid var(--ink); background: var(--paper); position: relative; z-index: 1; }
.mark--milestone { background: var(--ink); transform: rotate(45deg) scale(.9); }
.mark--update { border-radius: 50%; background: var(--ink); width: 9px; height: 9px; margin-left: 1px; margin-top: 8px; }
.mark--document { width: 9px; height: 12px; margin-left: 1px; margin-top: 6px; }
.mark--review { transform: rotate(45deg) scale(.9); border-color: var(--signal); }
.mark--system { border-color: var(--stone); }
.feed__kind { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.feed__kind--review { color: var(--signal); }
.feed__title { font-weight: 500; font-size: 17px; line-height: 1.4; } .feed__title a { text-decoration: none; } .feed__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feed__detail { font-size: 15px; color: var(--slate); max-width: 40em; margin-top: 2px; }
@media (max-width: 560px) { .feed > li { grid-template-columns: 22px minmax(0, 1fr); } .feed > li::before { left: 5px; } .feed__time { grid-column: 2; grid-row: 2; text-align: left; padding-top: 4px; } }

/* ---------- documents ---------- */
.doc-group { margin-top: var(--space-4); } .doc-group:first-of-type { margin-top: 0; }
.doc-group__title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--space-1); }
.doc { padding: 0; }
.doc > details > summary, .doc__static { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: var(--space-2); padding: 18px 0; align-items: start; cursor: pointer; list-style: none; }
.doc > details > summary::-webkit-details-marker { display: none; }
.doc > details > summary:hover .doc__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.doc__type { display: grid; place-items: center; width: 44px; height: 54px; border: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; position: relative; }
.doc__type::after { content: ""; position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; background: linear-gradient(225deg, var(--paper) 50%, var(--ink) 50%); }
.doc__name, .doc__desc { display: block; } .doc__name { font-weight: 600; font-size: 17px; line-height: 1.3; } .doc__desc { font-size: 15px; color: var(--slate); margin-top: 2px; max-width: 42em; }
.doc__meta { font-size: 13px; color: var(--slate); text-align: right; white-space: nowrap; }
.doc__more { padding: 0 0 22px calc(52px + var(--space-2)); display: grid; gap: var(--space-2); }
.doc__preview { display: grid; place-items: center; min-height: 140px; background: var(--mist); color: var(--slate); font-size: 14px; text-align: center; padding: var(--space-3); max-width: 520px; }
@media (max-width: 640px) { .doc > details > summary, .doc__static { grid-template-columns: 44px minmax(0, 1fr); } .doc__meta { grid-column: 2; text-align: left; } .doc__more { padding-left: 0; } }
.tag-new { margin-left: 8px; vertical-align: 2px; }

/* ---------- forms (preview only) ---------- */
.prefs li { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; padding: 16px 0; border-top: 1px solid var(--hairline); }
.prefs li:last-child { border-bottom: 1px solid var(--hairline); }
.prefs label { font-weight: 500; } .prefs .small { display: block; font-weight: 400; color: var(--slate); }
.switch { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border: 1.5px solid var(--ink); background: var(--paper); position: relative; flex: none; margin: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--ink); }
.switch:checked { background: var(--ink); } .switch:checked::after { background: var(--paper); left: 20px; }
.switch:disabled { opacity: .5; }

/* ---------- empty / not-connected ---------- */
.empty { padding: 28px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); color: var(--slate); max-width: 40em; }
.empty strong { color: var(--ink); display: block; font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.not-connected { margin-top: 10px; }

/* ---------- sign-in and system pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.auth__top { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.auth__main { display: grid; align-items: center; padding: clamp(40px, 8vw, 96px) 0; }
.auth__panel { max-width: 560px; }
.auth__panel .h1 { margin-bottom: var(--space-3); }
.auth__panel .lead { margin-bottom: var(--space-4); }
.auth__alt { margin-top: var(--space-4); font-size: 14px; color: var(--slate); }

.foot { border-top: 1px solid var(--hairline); padding: var(--space-3) 0 var(--space-4); font-size: 13px; color: var(--slate); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px var(--space-3); justify-content: space-between; }
.foot a { color: inherit; }

@media print { .bar, .demo-banner, .foot, .filters, .jump { display: none; } .page { padding-top: 0; padding-bottom: 0; } }
@media (forced-colors: active) { .status::before, .mark, .miles__dot, .todo__box, progress.meter { forced-color-adjust: none; } }

/* ---------- dashboard layout ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "projects updates" "activity actions"; column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(48px, 6vw, 80px); align-items: start; }
.dash .section { margin-top: 0; }
.dash__updates { grid-area: updates; } .dash__projects { grid-area: projects; } .dash__actions { grid-area: actions; } .dash__activity { grid-area: activity; }
@media (max-width: 880px) { .dash { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; } .dash__updates, .dash__projects, .dash__actions, .dash__activity { grid-area: auto; } }
.auth__alt { margin-top: var(--space-3); }

/* ---------- projects inside a service workspace ---------- */
.projs > li { padding: 20px 0; border-top: 1px solid var(--hairline); display: grid; gap: 8px; justify-items: start; }
.projs > li:last-child { border-bottom: 1px solid var(--hairline); }
.proj__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-2); width: 100%; }
.proj__name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.proj__desc { max-width: 40em; } .proj__meter { width: min(100%, 360px); }
.proj__go { display: inline-flex; align-items: center; min-height: 44px; }
.choices__hint { margin-top: var(--space-2); }

/* ---------- service request checklist ---------- */
.reqs { margin: var(--space-2) 0; } .reqs > li { border-top: 1px solid var(--hairline); } .reqs > li:last-child { border-bottom: 1px solid var(--hairline); }
.req { display: grid; grid-template-columns: 22px minmax(0, 1fr) 24px; gap: 0 var(--space-1); align-items: start; padding: 16px 0; color: inherit; text-decoration: none; min-height: 64px; }
li.req { grid-template-columns: 22px minmax(0, 1fr); border-top: 1px solid var(--hairline); } .reqs > li.req:last-child { border-bottom: 1px solid var(--hairline); }
.req__mark { width: 12px; height: 12px; margin-top: 6px; border: 1.5px solid var(--stone); }
.req--missing .req__mark { border-color: var(--signal); background: var(--signal); }
.req__body { display: grid; gap: 2px; min-width: 0; } .req__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; } .req__detail { font-size: 14px; color: var(--slate); }
.req .tile__arrow { align-self: center; } a.req:hover .req__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.req-ok { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: var(--space-3) 0; }
.req-done { margin: var(--space-3) 0; border-top: 1px solid var(--hairline); } .req-done summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-size: 14px; color: var(--slate); }
.req-done li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.req-submit { margin-top: var(--space-4); }
.backlink { margin: 0 0 var(--space-3); }

/* ---------- connected Business Profile ---------- */
.field__error { color: var(--signal); font-size: 14px; font-weight: 500; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--signal); }

/* ---------- error summary: where a refused form tells you what to fix (focus is moved here by /assets/js/portal-profile.js) ---------- */
.error-summary { margin: 0 0 var(--space-3); padding: 0 0 0 16px; border-left: 3px solid var(--signal); max-width: 40em; scroll-margin-top: calc(var(--bar-h) + 24px); }
.error-summary:focus { outline: 2px solid var(--ink); outline-offset: 6px; }
.error-summary__title { font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--signal); margin: 0 0 8px; }
.error-summary ul { display: grid; gap: 2px; }
.error-summary a { display: inline-block; padding: 8px 0; color: var(--signal); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 880px) { .error-summary { scroll-margin-top: 130px; } }

/* ---------- touch targets: a 44px hit area for small links and buttons without changing how they look (the area is an invisible ::after) ---------- */
.foot a, .crumb a, .text-link { position: relative; }
.foot a::after, .crumb a::after, .text-link::after { content: ""; position: absolute; inset: -15px -6px; }
.signout .btn { position: relative; } .signout .btn::after { content: ""; position: absolute; inset: -4px; }
.primary a { min-width: 44px; justify-content: center; }
@media (max-width: 880px), (pointer: coarse) { .signout .btn, .who__act .btn--small, .who__act .signout .btn { min-height: 44px; } }
.field__opt { font-weight: 400; font-size: 13px; color: var(--slate); margin-left: 6px; }
.field [aria-invalid="true"] { border-color: var(--signal) !important; }
.form-banner { margin: 0 0 var(--space-3); padding-left: 14px; border-left: 2px solid var(--ink); font-size: 15px; max-width: 40em; }
.form-banner--error { border-left-color: var(--signal); color: var(--signal); }
.form-status { min-height: 20px; margin: 0 0 var(--space-2); }
.soon { max-width: 36em; display: grid; gap: var(--space-2); justify-items: start; } .soon .lead { margin: 0; }
.btn[type="submit"] { font-family: inherit; }

/* ---------- privacy notice and feedback ---------- */
.privacy { margin-top: var(--space-5); padding-top: 14px; border-top: 1px solid var(--ink); max-width: 44em; }
.privacy__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 6px; }
.privacy__list { margin: var(--space-2) 0; } .privacy__list > div { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); gap: 4px var(--space-3); padding: 10px 0; border-top: 1px solid var(--hairline); }
.privacy__list dt { font-size: 14px; font-weight: 600; } .privacy__list dd { font-size: 15px; color: var(--slate); }
@media (max-width: 640px) { .privacy__list > div { grid-template-columns: minmax(0, 1fr); } }
.privacy__link { margin-top: var(--space-3); max-width: 44em; }

/* ---------- sections that are not available yet: plain, muted, not interactive ---------- */
.tile--soon { cursor: default; }
.tile--soon .tile__n { color: var(--slate); }
.tile--soon .tile__title { color: var(--slate); font-weight: 500; }
.tile--soon .tile__desc { color: var(--slate); opacity: .85; }
.tile__soon { align-self: end; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: var(--slate); }
@media (max-width: 560px) { .tile--soon { grid-template-areas: "n title" ". desc" ". soon"; grid-template-columns: 32px minmax(0, 1fr); row-gap: 2px; } .tile--soon .tile__soon { grid-area: soon; margin-top: 6px; } }

/* Account: the signed-in person's own name */
.name-form { margin-top: 24px; }
.name-form .field { margin-bottom: 12px; }
.name-form .field__hint { display: block; margin: 2px 0 8px; }
.name-form [role="status"] { margin-top: 10px; }

/* ---------- Home: module progress and required-action indicators (one presentation for every module; see worker/portal/module-status.js) ---------- */
.tile__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile__status { flex: 1 1 auto; min-width: 0; display: grid; gap: 6px; }
.tile__status progress.meter { height: 3px; }
.tile__pct { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile__pct--muted { font-weight: 500; color: var(--slate); }
.tile__note { margin: 0; font-size: 13px; color: var(--slate); }
.tile__action { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--attention { background: var(--signal); }
@media (forced-colors: active) { .dot { forced-color-adjust: none; background: Mark; } progress.meter { forced-color-adjust: none; } }
@media (max-width: 560px) {
  .tile--status { grid-template-areas: "n title arrow" ". desc arrow" ". status status"; grid-template-rows: auto auto auto; }
  .tile--status .tile__foot { display: contents; }
  .tile--status .tile__status { grid-area: status; margin-top: 10px; }
  .tile--status .tile__arrow { grid-area: arrow; align-self: center; }
}

/* ---------------------------------------------------------------------------------------------------------------
   Branding (client): logo cards, colour swatches, typefaces, downloadable files, the upload area and the empty state.
   Mobile first: one column on phones, more as the screen allows. Tap targets are at least 44px.
   --------------------------------------------------------------------------------------------------------------- */
.brand-section__intro { max-width: 46em; margin: 0 0 var(--space-3); }

.logo-grid, .swatches, .types, .file-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.logo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logo-card { display: flex; flex-direction: column; border: 1px solid var(--hairline); min-width: 0; max-width: 100%; overflow: hidden; }
/* The picture is laid over the stage and scaled to fit it (object-fit: contain): whatever the logo's own size or shape, it is never cropped, stretched or wider than its card. */
.logo-card__stage { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.logo-card__stage--dark { background: var(--ink); border-bottom-color: var(--ink); }
.logo-card__stage--none { background: var(--mist); display: flex; align-items: center; justify-content: center; }
.logo-card__stage img { position: absolute; top: 20px; right: 20px; bottom: 20px; left: 20px; display: block; width: calc(100% - 40px); height: calc(100% - 40px); max-width: none; object-fit: contain; object-position: center; }
.logo-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.logo-card__body p { margin: 0; }
.logo-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.logo-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.logo-card__actions .btn { min-height: 44px; }

.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-2); }
@media (max-width: 360px) { .swatches { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 600px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* a brand kit has at most six colours: a 3 x 2 grid on tablet and desktop, 2 columns on a phone (1 on the narrowest) */
.swatch { min-width: 0; container-type: inline-size; }
.swatch__chip { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.swatch__chip--edge { outline: 1px solid var(--hairline); outline-offset: -1px; }
.swatch__body { padding-top: 10px; }
.swatch__body p { margin: 0 0 2px; overflow-wrap: anywhere; }
.swatch__name { font-family: var(--font-display); font-weight: 600; }
.swatch__code { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; } /* the Copy button drops under the value rather than splitting it */
@container (max-width: 220px) { .swatch__code { display: block; } .swatch__code .copy:not([hidden]) { display: block; margin-top: 4px; } } /* a narrow column puts every Copy button under its value (the value stays on one line), the same way for every swatch */
.swatch__code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }
.copy { min-height: 44px; min-width: 44px; margin-left: 4px; padding: 0 12px; border: 1px solid var(--field-edge); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.copy:hover { background: var(--ink); color: var(--paper); }
.copy[hidden] { display: none; }

.types { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.type { padding: var(--space-2) 0; border-bottom: 1px solid var(--hairline); }
.type p { margin: 0 0 4px; }
.type__family { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; }

.file-list { border-top: 1px solid var(--ink); }
.file-row { display: flex; flex-direction: column; gap: 12px; padding: var(--space-2) 0; border-bottom: 1px solid var(--hairline); }
.file-row__main { min-width: 0; }
.file-row__main p { margin: 0 0 2px; overflow-wrap: anywhere; }
.file-row__name { font-weight: 600; }
.file-row__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.file-row .btn { min-height: 44px; }
@media (min-width: 700px) { .file-row { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-3); } }
.btn--quiet { border-color: var(--field-edge); color: var(--slate); }

.remove summary { list-style: none; cursor: pointer; }
.remove summary::-webkit-details-marker { display: none; }
.remove[open] { flex-basis: 100%; padding: 12px; border: 1px solid var(--hairline); background: var(--mist); }
.remove form p { margin: 0 0 10px; }

.brand-aside { margin-top: var(--space-5); padding: var(--space-3); border: 1px solid var(--hairline); background: var(--mist); max-width: 46em; }
.brand-aside .h3 { margin: 0 0 6px; }
.brand-aside p { margin: 0 0 12px; }
.brand-aside p:last-child { margin-bottom: 0; }

.brand-empty { max-width: 46em; padding: var(--space-4) 0; border-top: 1px solid var(--ink); }
.brand-empty .h2 { margin: 12px 0 8px; }
.brand-empty__list { margin: var(--space-2) 0 var(--space-3); padding-left: 1.2em; }
.brand-empty__list li { margin-bottom: 8px; }

/* Logo variations: four equal columns (one on a phone, two on a tablet, four on a desktop). The 16:9 image is the visual: a white frame with a thin #E0E0E0 edge, the artwork
   contained (never cropped or stretched); the text sits below it with no box around the card. Example cards use Framework's own logos from static assets. */
.lv-grid { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 20px; }
@media (min-width: 600px) { .lv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lv-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.lv-card__stage { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--hairline); color: var(--ink); overflow: hidden; }
.lv-card__stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lv-card__stage--logo { padding: 14px; }
.lv-card__stage--logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lv-card__stage--dark { background: var(--ink); border-color: var(--ink); }
.lv-card__stage--file { padding: 14px; text-align: center; }
.lv-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 0 0; }
.lv-card__no { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--slate); }
.lv-card__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; }
.lv-card__status { margin: 0; }
.lv-card__status .tag { white-space: nowrap; }
.lv-card__desc { margin: 0; font-size: 15px; }
.lv-card__meta { margin: 0; overflow-wrap: anywhere; }
.lv-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.lv-grid + p { margin: 20px 0 0; }
.lv-more { margin-top: 4px; font-size: 14px; }
.lv-more summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.lv-more__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.lv-more__list p { margin: 0 0 6px; }

/* Branding requests: a status line or a native <details> whose summary is a button; the Full Brand Kit block closes the page. */
.brq { margin-top: var(--space-3); }
.brq > summary { display: inline-flex; align-items: center; justify-content: center; width: auto; list-style: none; cursor: pointer; }
.brq > summary::-webkit-details-marker { display: none; }
.brq form { max-width: 34em; margin-top: var(--space-2); }
.brq .field { margin-bottom: var(--space-2); }
.brq__status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: var(--space-3) 0 0; }
.acc__body > .empty + .brq, .acc__body > .empty + .brq__status { margin-top: var(--space-3); }
.brand-kit { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 2px solid var(--ink); max-width: 46em; }
.brand-kit .h2 { margin: 0 0 8px; }
.brand-kit p { margin: 0 0 var(--space-2); }

.upload { max-width: 40em; margin-bottom: var(--space-5); }
.upload input[type="file"] { display: block; width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--field-edge); background: var(--paper); font: inherit; }
.upload input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper); font: inherit; cursor: pointer; }
@media (max-width: 560px) { .upload .btn--primary { width: 100%; } .logo-card__actions .btn { flex: 1 1 auto; } }

/* Home: one card per built section. The whole card is the link; the arrow and the status sit inside it. */
.hubs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.hubs > li { min-width: 0; }
.hub { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 0; padding: 20px 22px; border: 1px solid var(--hairline); color: inherit; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.hub:hover { border-color: var(--stone); background: var(--mist); }
.hub__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hub__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 26px); line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.hub__desc { font-size: 15px; color: var(--slate); }
.hub__arrow { flex: none; font-size: 18px; line-height: 1; color: var(--slate); transition: transform .15s ease, color .15s ease; }
.hub:hover .hub__arrow { color: var(--ink); transform: translateX(3px); }
.hub__status { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); min-width: 0; }
.hub__status .tile__status { max-width: none; }
.hub:focus-visible { outline-offset: 4px; }
@media (max-width: 560px) { .hub { padding: 18px 18px; } }
.soon-line { margin: var(--space-4) 0 0; font-size: 14px; color: var(--slate); }
.soon-line__label { margin-right: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Branding accordion: native <details>. Closed = a compact row (title, one summary line, chevron); open = the content. */
.acc-list { border-top: 1px solid var(--ink); }
.acc { border-bottom: 1px solid var(--hairline); }
.acc__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 72px; padding: 16px 0; list-style: none; cursor: pointer; }
.acc__head::-webkit-details-marker { display: none; }
.acc__head:hover .acc__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.acc__head:focus-visible { outline-offset: -2px; }
.acc__text { display: grid; gap: 2px; min-width: 0; }
.acc__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.15; letter-spacing: -0.012em; }
.acc__sum { font-size: 15px; color: var(--slate); overflow-wrap: anywhere; }
.acc__chev { flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s ease; }
.acc[open] > .acc__head .acc__chev { transform: rotate(-135deg); }
.acc__body { padding: 4px 0 var(--space-4); }
.acc__body > :first-child { margin-top: 0; }
.acc__group { margin: var(--space-3) 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.acc__group:first-child { margin-top: 0; }
.acc__body .logo-grid, .acc__body .swatches, .acc__body .types, .acc__body .file-list { margin-top: var(--space-2); }

/* Client Services: a card that is not available yet is quiet text, never a link. Contact details are a plain definition list. */
.hub--soon { color: var(--slate); }
.hub--soon .hub__title { color: var(--slate); font-weight: 500; }
.contact { margin: var(--space-4) 0 var(--space-3); display: grid; gap: 12px; max-width: 34em; }
.contact > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.contact dt { color: var(--slate); font-size: 14px; } .contact dd { margin: 0; overflow-wrap: anywhere; }

/* Invoices (client): one row per invoice; stacked on a phone. Status is a word first; the colour only supports it. */
.inv-list { list-style: none; margin: var(--space-3) 0; padding: 0; border-top: 1px solid var(--ink); }
.inv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.inv p { margin: 0; } .inv__main > p + p { margin-top: 2px; }
.inv__no { font-family: var(--font-display); font-weight: 600; font-size: 19px; overflow-wrap: anywhere; }
.inv__side { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.inv__amount { font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 600; }
.inv__status { display: inline-block; padding: 2px 8px; border: 1px solid var(--field-edge); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.inv__status--paid { border-color: var(--ink); color: var(--ink); }
.inv__status--overdue { border-color: var(--signal); color: var(--signal); }
.inv__act .btn { min-height: 44px; }
@media (max-width: 560px) { .inv__act .btn { width: 100%; } }
@media (min-width: 760px) { .inv { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; } .inv__side { flex-direction: column; align-items: flex-end; gap: 6px; } }

/* Support & Change Requests (client): the list, the form, and the conversation. */
.req-notice { margin: var(--space-3) 0; padding: 14px 16px; border: 1px solid var(--field-edge); border-left: 3px solid var(--ink); max-width: 46em; font-size: 15px; }
.req-list { list-style: none; margin: var(--space-3) 0; padding: 0; border-top: 1px solid var(--ink); }
.req-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main arrow" "status status"; gap: 8px 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hairline); color: inherit; text-decoration: none; }
.req-row:hover .req-row__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.req-row__main { grid-area: main; display: grid; gap: 2px; min-width: 0; } .req-row .req-status { grid-area: status; justify-self: start; } .req-row .tile__arrow { grid-area: arrow; }
@media (min-width: 640px) { .req-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main status arrow"; } }
.req-row__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; overflow-wrap: anywhere; }
.req-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid var(--signal); color: var(--signal); font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
.req-status { display: inline-block; padding: 2px 8px; border: 1px solid var(--field-edge); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.req-status--quoted, .req-status--approved, .req-status--in_progress { border-color: var(--ink); color: var(--ink); }
.req-status--completed { background: var(--mist); } .req-status--declined { border-style: dashed; }
.req-meta { margin: 8px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.req-form { max-width: 40em; margin: var(--space-3) 0; } .req-form .choice__opt { align-items: flex-start; } .req-form textarea { min-height: 9em; }
.req-form input[type="file"] { display: block; width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--field-edge); background: var(--paper); font: inherit; }
.thread { list-style: none; margin: var(--space-3) 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.msg { padding: 14px 16px; border: 1px solid var(--hairline); } .msg p { margin: 0; overflow-wrap: anywhere; } .msg__who { margin-bottom: 6px !important; }
.msg--staff { background: var(--mist); border-color: var(--hairline); } .msg--client { background: var(--paper); }
.msg--status { padding: 8px 0 8px 14px; border: 0; border-left: 2px solid var(--ink); }
.msg__body { white-space: pre-wrap; } .msg__files { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
@media (max-width: 560px) { .req-form .btn--primary { width: 100%; } }

/* Branding as a brand-guidelines document: nine numbered sections, always all nine. A large two-digit number beside the title and a short description, then the
   content or an empty state. White paper, ink text, thin #E0E0E0 dividers, sharp corners, no shadows. */
.bk-nav { margin: var(--space-3) 0 0; padding: 4px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.bk-nav ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .bk-nav ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bk-nav a { display: flex; gap: 12px; align-items: baseline; min-height: 44px; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--hairline); }
.bk-nav li:last-child a { border-bottom: 0; }
@media (min-width: 600px) { .bk-nav a { border-bottom: 0; } }
.bk-nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.bk-nav__no { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--slate); }
.bk { margin: 0; }
.bk-sec { padding: var(--space-5) 0; border-bottom: 1px solid var(--hairline); scroll-margin-top: calc(var(--bar-h) + 16px); }
.bk-sec__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px var(--space-3); margin-bottom: var(--space-4); }
@media (min-width: 700px) { .bk-sec__head { grid-template-columns: 120px minmax(0, 1fr); align-items: start; } }
.bk-sec__no { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 8vw, 88px); line-height: .9; letter-spacing: -0.03em; color: var(--ink); }
.bk-sec__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.bk-sec__desc { margin: 0; max-width: 38em; font-size: 17px; }
@media (min-width: 700px) { .bk-sec__body { margin-left: calc(120px + var(--space-3)); } }
.bk-sec__body .lv-grid, .bk-sec__body .swatches, .bk-sec__body .bk-types { margin-top: 0; }
.bk-empty { padding: var(--space-3) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); max-width: 40em; }
.bk-empty__title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.bk-empty p:last-child { margin: 0; }
.bk-sec__body > .bk-empty + .brq, .bk-sec__body > .bk-empty + .brq__status, .bk-more__group > .bk-empty + .brq, .bk-more__group > .bk-empty + .brq__status { margin-top: var(--space-3); }
.bk-sec__body > .brq, .bk-sec__body > .brq__status, .bk-sec__body > p.muted.small:last-child { margin-top: var(--space-3); }

.bk-types { gap: 0; }
.bk-type { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px var(--space-3); padding: var(--space-3) 0; }
@media (min-width: 700px) { .bk-type { grid-template-columns: 140px minmax(0, 1fr); } }
.bk-type__glyphs { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 8vw, 96px); line-height: 1; letter-spacing: -0.02em; }
.bk-weights { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-weights li { border: 1px solid var(--hairline); padding: 4px 10px; font-size: 14px; }
.bk-type__sample { margin: 8px 0; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }

.bk-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 20px; }
@media (min-width: 600px) { .bk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bk-tiles--iconography, .bk-tiles--textures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bk-tile { display: flex; flex-direction: column; min-width: 0; }
.bk-tile__stage { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; }
.bk-tile__stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bk-tile__stage--textures img { object-fit: cover; }
.bk-tile__stage--textures { aspect-ratio: 1 / 1; }
.bk-tile__stage--iconography { aspect-ratio: 1 / 1; padding: 18%; }
.bk-tile__stage--file { color: var(--slate); }
.bk-tile__ext { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .08em; }
.bk-tile__body { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.bk-tile__name { margin: 0; font-family: var(--font-display); font-weight: 600; overflow-wrap: anywhere; }
.bk-tile__body p { margin: 0; }
.bk-more { margin-top: var(--space-5); }
.bk-more__group { scroll-margin-top: calc(var(--bar-h) + 16px); }
.bk-more .h3 { margin: var(--space-4) 0 var(--space-2); }
.bk-more__group > .brq, .bk-more__group > .brq__status { margin-top: var(--space-3); }
.bk-more > .h2 { margin: 0 0 8px; }

/* 02 Typography: three typeface cards in the Logo card style (16:9 frame, thin #E0E0E0 edge, no card outline), then the Typography Hierarchy. A specimen is set in the
   client's real font only when its file is available (the generated fonts.css defines .sp-primary/.sp-secondary/.sp-accent); otherwise it is flagged as a fallback preview. */
.tf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 24px; align-items: start; }
@media (min-width: 900px) { .tf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tf-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.tf-card__stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--hairline); color: var(--ink); overflow: hidden; padding: 12px; container-type: inline-size; }
/* The specimen "Aa Bb Cc 123" is always one line: it is sized from the card's own width (cqw), so it fits whatever the card width or typeface; the stage clips as a last resort. */
.tf-card__aa { margin: 0; max-width: 100%; font-size: clamp(20px, 2.6vw, 34px); font-size: clamp(18px, 13cqw, 46px); line-height: 1.1; text-align: center; white-space: nowrap; }
.tf-card__stage--fallback .tf-card__aa:not([class*="sp-"]) { font-family: var(--font-display); } /* a specimen that carries a loaded font family (.sp-*) is never overridden by this fallback face */
.tf-card__flag { position: absolute; left: 10px; bottom: 10px; background: var(--paper); }
.tf-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; min-width: 0; }
.tf-card__family { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.tf-card__chars { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 10px 0; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.tf-card__chars p { margin: 0; }
.tf-card__weight { margin: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.tf-card__wname { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.tf-card__note { margin: 0; }
.tf-card--empty .tf-card__stage { border-style: solid; }
.tf-card__body p { margin: 0; }
.tf-hier { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--ink); }
.tf-hier__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.015em; }
.tf-hier p { margin: 0 0 8px; max-width: 46em; }
.tf-levels { margin-top: var(--space-3); border-top: 1px solid var(--hairline); }
.tf-level { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px var(--space-3); padding: 20px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 760px) { .tf-level { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; } }
.tf-level__meta p { margin: 0; }
.tf-level__name { font-weight: 600; }
.tf-level__sample { margin: 0; overflow-wrap: anywhere; font-family: var(--font-display); }
.tf-l-h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.tf-l-h2 { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.tf-l-h3 { font-size: clamp(21px, 3vw, 28px); line-height: 1.2; }
.tf-l-body { font-family: var(--font-body); font-size: 17px; line-height: 1.55; max-width: 38em; }
.tf-l-caption { font-family: var(--font-body); font-size: 13px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.fw-w100 { font-weight: 100; } .fw-w200 { font-weight: 200; } .fw-w300 { font-weight: 300; } .fw-w400 { font-weight: 400; } .fw-w500 { font-weight: 500; }
.fw-w600 { font-weight: 600; } .fw-w700 { font-weight: 700; } .fw-w800 { font-weight: 800; } .fw-w900 { font-weight: 900; }

/* Examples: what a section looks like when professionally developed, shown while the client has no approved content. Muted grey panels (never reduced opacity), a small
   "Example: Framework" label, no links, no copy buttons, no downloads. Approved content replaces them. Framework's own typefaces are the portal's Switzer and General Sans. */
.eg-sw { font-family: var(--font-display); }
.eg-gs { font-family: var(--font-body); }
.eg-accent { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.bk-eg { background: var(--mist); padding: var(--space-3); max-width: 100%; }
.bk-eg__label { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bk-eg__tag { font-size: 13px; color: var(--slate); }
.bk-eg__line { margin: 0 0 var(--space-3); max-width: 40em; }
.bk-eg .tag { background: var(--paper); }
.lv-card__stage--example { background: var(--mist); }
.lv-card__stage--example img { mix-blend-mode: multiply; } /* the artwork is unchanged; only its white backdrop takes the panel's grey */
.tf-card__stage--example { background: var(--mist); }
.tf-card--example .tf-card__chars { border-color: var(--hairline); }
.tf-level--example { background: var(--mist); padding-left: 12px; padding-right: 12px; }
.bk-eg--colours .swatches { margin: 0; }
.bk-eg--colours .swatch__chip { outline: 1px solid var(--hairline); outline-offset: -1px; }
.bk-eg__tagline { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.bk-eg p.small { margin: 0; }
.bk-eg__imgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-eg__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.bk-eg__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-eg__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 700px) { .bk-eg__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bk-eg__tiles--icons { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bk-eg__tile svg { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; background: var(--paper); border: 1px solid var(--hairline); }
.bk-eg__tile p { margin: 6px 0 0; }
.bk-eg__tile--icon svg { padding: 24%; }
.eg-layout { position: relative; background: var(--paper); border: 1px solid var(--hairline); padding: 16px 16px 20px; max-width: 640px; }
.eg-layout__cols { position: absolute; inset: 0 16px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; pointer-events: none; }
.eg-layout__cols span { background: var(--mist); }
.eg-layout__page { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.eg-layout__bar { grid-column: 1 / -1; height: 14px; background: var(--ink); }
.eg-layout__media { grid-column: 1 / 8; aspect-ratio: 4 / 3; background: var(--slate); }
.eg-layout__text { grid-column: 8 / -1; display: grid; align-content: start; gap: 8px; }
.eg-layout__text i { display: block; height: 8px; background: var(--ink); }
.eg-layout__text i:nth-child(2) { width: 80%; background: var(--slate); }
.eg-layout__text i:nth-child(3) { width: 60%; background: var(--slate); }
.eg-style { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: stretch; background: var(--paper); border: 1px solid var(--hairline); }
@media (min-width: 700px) { .eg-style { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.eg-style__text { padding: var(--space-3); display: grid; gap: 12px; align-content: center; }
.eg-style__logo { width: 220px; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.eg-style__head { margin: 0; font-weight: 700; font-size: clamp(22px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.015em; }
.eg-style__text p { margin: 0; }
.eg-style__chips { display: flex; gap: 6px; }
.eg-style__chips svg { width: 28px; height: 28px; outline: 1px solid var(--hairline); outline-offset: -1px; }
.eg-style__media { position: relative; min-height: 260px; overflow: hidden; } /* the picture fills the frame and never sets its height */
.eg-style__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* 04 Tagline: the approved primary tagline set large in an editorial layout, alternates and usage guidelines below, a small Copy button beside each tagline. */
.bk-tagline { display: grid; gap: var(--space-4); max-width: 46em; }
.bk-tag__label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.bk-tag__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.bk-tag__primary { margin: 0; flex: 1 1 14em; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (min-width: 600px) { .bk-tag__row { flex-wrap: nowrap; } .bk-tag__row .copy { flex: none; } .bk-tag > .bk-tag__row { align-items: flex-start; } .bk-tag > .bk-tag__row .copy { margin-top: 8px; } } /* beside the tagline, not under it, from tablet width up */
.bk-tag__alts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.bk-tag__alts li { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.bk-tag__alt { margin: 0; flex: 1 1 12em; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.bk-tag__guide p { margin: 0 0 12px; max-width: 40em; }
.bk-tag__guide p:last-child { margin-bottom: 0; }

/* Branding sections: a small Required / Recommended label beside the heading (or a check and "Complete"), then, for an incomplete section, a compact service offer: title and price beside the black
   Request Design button, and one hairline above the free upload. One general starting-price note sits under the page introduction. Monochrome, no boxes. */
.bk-done { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; vertical-align: middle; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--slate); }
.bk-done .bk-nav__tick { color: var(--ink); }
.bk-req__count { margin-left: 8px; vertical-align: middle; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--slate); font-variant-numeric: tabular-nums; }
.bk-pricing-note { margin: var(--space-2) 0 0; font-size: 13px; color: var(--slate); }
.bk-offer { margin: var(--space-2) 0 var(--space-5); max-width: 44em; }
.bk-offer__row { display: grid; gap: 12px 24px; align-items: center; }
@media (min-width: 600px) { .bk-offer__row { grid-template-columns: minmax(0, 1fr) auto; } }
.bk-offer__text { min-width: 0; }
.bk-offer__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.bk-offer__price { margin: 2px 0 0; font-size: 16px; font-weight: 500; color: var(--slate); }
.bk-offer__action .brq { margin-top: 0; }
.bk-offer__action .brq > summary { min-height: 48px; padding: 0 28px; }
.bk-offer__action .brq__status { margin: 0; }
.bk-offer__free { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--hairline); }
.bk-offer__free p { margin: 0; font-size: 15px; color: var(--slate); }
.bk-offer__list { list-style: none; margin: 0; padding: 0; }
.bk-offer__item { padding: var(--space-2) 0; }
.bk-offer__item:first-child { padding-top: 0; }
.bk-offer__item + .bk-offer__item { border-top: 1px solid var(--hairline); }
.bk-kitprice { margin: 0 0 6px; font-size: 16px; }
.bk-kitprice__price { color: var(--slate); font-weight: 500; white-space: nowrap; }

/* Branding progress: a quiet completion mark beside a section in the navigation (a fraction for the Logo slots, a checkmark when done) and a small Required / Recommended label beside each section name. Text only, no colours or bars. */
.bk-nav__mark { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-nav__mark--done { color: var(--ink); }
@media (min-width: 600px) { .bk-nav__mark { margin-left: 10px; } } /* three columns: the mark follows its own section name instead of floating toward the next column */
.bk-nav__tick { display: block; flex: none; }
.bk-req { display: inline-block; margin-left: 12px; vertical-align: middle; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; color: var(--slate); }
.bk-req--required { color: var(--ink); }
.bk-req__why { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--slate); }

/* Website section (client) */
.ws__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: var(--space-2) 0; }
.ws__managed { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.ws__name { margin-top: var(--space-3); }
.ws__lead { margin: var(--space-2) 0 var(--space-3); }
.ws__facts { max-width: 40em; }
.ws__empty { max-width: 40em; margin-top: var(--space-4); }
.ws__list { margin-top: var(--space-3); }
.ws__back { margin-top: var(--space-4); }

/* Website live preview: a desktop-style frame (browser bar, then the page), a screenshot in the same frame, or a plain card */
.ws-frame { margin: var(--space-3) 0 var(--space-2); max-width: 56em; border: 1px solid var(--field-edge); background: var(--paper, #fff); }
.ws-frame__bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--hairline); background: #f3f3f2; min-width: 0; }
.ws-frame__dots { display: inline-flex; gap: 6px; flex: none; } .ws-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone, #c9c9c6); display: block; }
.ws-frame__url { flex: 1; min-width: 0; padding: 3px 10px; border: 1px solid var(--hairline); background: #fff; font-size: 12px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-frame__view { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.ws-frame__page, .ws-frame__img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; object-position: top; }
.ws-frame__note { padding: 8px 12px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--slate); }
.ws-card { margin: var(--space-3) 0 var(--space-2); max-width: 36em; padding: 20px; border: 1px solid var(--field-edge); }
.ws-card__host { margin: 0 0 4px; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.ws__visit { margin: var(--space-2) 0 var(--space-3); }
@media (max-width: 560px) { .ws-frame__view { aspect-ratio: 3 / 4; } .ws-frame__dots { display: none; } }

/* Website management and Additional services */
.ws-sec { margin-top: var(--space-5, 56px); }
.ws-sec__lead { max-width: 40em; margin: var(--space-1, 8px) 0 var(--space-3); color: var(--slate); }
.ws-sec__more { margin: var(--space-3) 0 0; }
.ws-actions { list-style: none; margin: var(--space-3) 0 0; padding: 0; max-width: 56em; border-top: 1px solid var(--hairline); }
.ws-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.ws-action__title, .ws-svc__title { margin: 0; font-size: 17px; font-weight: 600; }
.ws-action__desc, .ws-svc__desc { margin: 4px 0 0; color: var(--slate); font-size: 15px; max-width: 38em; }
.ws-action__cta { justify-self: end; }
.ws-grid { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 56em; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.ws-svc { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); min-width: 0; }
.ws-svc__price { margin: 8px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.ws-svc__cta { margin-top: auto; padding-top: 16px; }
@media (max-width: 640px) { .ws-grid { grid-template-columns: minmax(0, 1fr); } .ws-action { grid-template-columns: minmax(0, 1fr); } .ws-action__cta { justify-self: start; } }

/* Master Client Access (Framework staff only): a quiet strip above the client's own portal, and the client directory. */
.staff-banner { background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.4; }
.staff-banner .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.staff-banner__who span { opacity: .75; margin-inline-start: 8px; }
.staff-banner__tools { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.staff-banner__label { opacity: .75; }
.staff-banner__form { margin: 0; }
.staff-banner__btn { font: inherit; color: var(--paper); background: transparent; border: 1px solid transparent; border-bottom-color: color-mix(in srgb, var(--paper) 35%, transparent); padding: 2px 6px; min-height: 28px; cursor: pointer; }
.staff-banner__btn[aria-pressed="true"] { border-color: var(--paper); }
.staff-banner a { color: var(--paper); }
.staff-search { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--space-3) 0; max-width: 32em; }
.staff-search input { flex: 1 1 14em; min-width: 0; width: auto !important; }
@media (pointer: coarse), (max-width: 820px) { .staff-banner__btn, .staff-banner a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; } .staff-banner .wrap { padding-top: 4px; padding-bottom: 4px; } }

/* Branding requirements set by Framework for this client: a quiet note under the heading (never a button, never a price). */
.bk-req--optional, .bk-req--not-applicable { color: var(--muted, #5c5c5c); }
.bk-rnote { margin: 0 0 var(--space-3); max-width: 46em; font-size: 15px; line-height: 1.5; padding-left: 12px; border-left: 2px solid var(--ink); }
.bk-rnote__act { margin: 0 0 var(--space-3); font-size: 14px; }
.lv-card__status .bk-req { margin-left: 8px; }
.lv-card__body > .bk-rnote { margin: 8px 0 0; font-size: 14px; }

/* Home: Business Profile as a full-width onboarding section above the service cards. */
.onboard { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: 24px 0 28px; margin: 0 0 var(--space-4); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); align-items: start; }
.onboard__title { margin: 4px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.onboard__desc { margin: 0; max-width: 34em; color: var(--slate); font-size: 16px; }
.onboard__status .tile__status { max-width: 28rem; }
.onboard__cta { margin: 0; }
@media (min-width: 900px) { .onboard { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: 32px 0; } }

/* Website: progress of a website being built (from its real milestones), the milestone list, and the SEO subsection. */
.ws-progress .progress-line { max-width: 34rem; margin: var(--space-2) 0 6px; }
.ws-miles, .seo-items, .seo-reports { list-style: none; margin: var(--space-3) 0 0; padding: 0; max-width: 46rem; }
.ws-mile, .seo-item { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--hairline); }
.ws-mile:last-child, .seo-item:last-child { border-bottom: 1px solid var(--hairline); }
.ws-mile__mark, .seo-item__mark { width: 10px; height: 10px; border: 1.5px solid var(--ink); display: inline-block; align-self: center; }
.ws-mile.is-done .ws-mile__mark, .seo-item.is-done .seo-item__mark { background: var(--ink); }
.ws-mile.is-in_progress .ws-mile__mark, .seo-item.is-in_progress .seo-item__mark { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.ws-mile__body, .seo-item__body { display: grid; gap: 2px; min-width: 0; }
.ws-mile__title, .seo-item__title { font-weight: 500; overflow-wrap: anywhere; }
.ws-mile.is-done .ws-mile__title, .seo-item.is-done .seo-item__title { color: var(--slate); }
.ws-mile__meta, .seo-item__meta { color: var(--slate); white-space: nowrap; }
@media (max-width: 560px) { .ws-mile, .seo-item { grid-template-columns: 14px minmax(0, 1fr); } .ws-mile__meta, .seo-item__meta { grid-column: 2; white-space: normal; } }
.seo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0; margin: var(--space-2) 0; max-width: 46rem; border-top: 1px solid var(--hairline); }
.seo-stats > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hairline); }
.seo-stats dt { font-size: 13px; color: var(--slate); }
.seo-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.5vw, 30px); letter-spacing: -0.02em; }
.seo-table { max-width: 46rem; overflow-x: auto; margin: var(--space-3) 0; }
.seo-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seo-table th, .seo-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); white-space: nowrap; font-weight: 400; }
.seo-table thead th { font-size: 12px; color: var(--slate); font-weight: 500; }
.seo-report { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.seo-report:last-child { border-bottom: 1px solid var(--hairline); }
.seo-report__title { font-weight: 500; }

/* Additional Services: expandable, benefit-led cards (native <details>, no script). Monochrome, strong type, generous spacing; one column on a phone, text beside pictures from tablet width. */
.svc-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 12px; max-width: 64rem; }
.svc-card { border: 1px solid var(--hairline); background: var(--paper); transition: border-color .15s ease; }
.svc-card:hover, .svc-card[open] { border-color: var(--stone); }
.svc-card--lead { border-color: var(--ink); }
.svc-card__sum { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 16px; align-items: start; padding: 20px 22px; cursor: pointer; list-style: none; }
.svc-card__sum::-webkit-details-marker { display: none; }
.svc-card__sum:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.svc-card__tags { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-height: 0; }
.svc-card__tags:empty { display: none; }
.svc-tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.svc-reason { margin: 0; }
.svc-card__title { grid-column: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.svc-card__tagline { grid-column: 1; font-size: 16px; color: var(--slate); max-width: 40em; }
.svc-card__more { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; width: 14px; height: 14px; position: relative; }
.svc-card__more::before, .svc-card__more::after { content: ""; position: absolute; background: var(--ink); left: 0; right: 0; top: 6px; height: 2px; }
.svc-card__more::after { transform: rotate(90deg); transition: transform .15s ease; }
.svc-card[open] .svc-card__more::after { transform: rotate(0); }
.svc-card__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3) var(--space-4); padding: 4px 22px 24px; border-top: 1px solid var(--hairline); margin-top: -1px; }
.svc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 12px; align-content: start; padding-top: var(--space-3); }
.svc-gallery--one { grid-template-columns: minmax(0, 1fr); }
.svc-fig { margin: 0; min-width: 0; }
.svc-fig__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mist); border: 1px solid var(--hairline); }
.svc-fig__cap { margin: 6px 0 0; }
.svc-card__text { padding-top: var(--space-3); min-width: 0; max-width: 40em; }
.svc-card__text p { margin: 0 0 var(--space-2); }
.svc-h { margin: var(--space-3) 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.svc-h:first-child { margin-top: 0; }
.svc-benefits { margin: 0 0 var(--space-2); padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-benefits li { position: relative; padding-left: 20px; }
.svc-benefits li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--ink); }
.svc-demo { margin-top: var(--space-2); }
.svc-card__cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-top: var(--space-3); border-top: 1px solid var(--hairline); }
.svc-price { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.svc-card__cta form { margin: 0; }
@media (min-width: 900px) {
  .svc-card__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .svc-card__body > .svc-gallery { grid-column: 1; grid-row: 1; }
  .svc-card__body > .svc-card__text { grid-column: 2; grid-row: 1; }
  .svc-card__body > .svc-card__cta { grid-column: 1 / -1; }
  .svc-card__body:not(:has(.svc-gallery)) { grid-template-columns: minmax(0, 1fr); }
  .svc-card__body:not(:has(.svc-gallery)) > .svc-card__text { grid-column: 1; }
}
@media (max-width: 560px) { .svc-card__sum { padding: 18px 16px; } .svc-card__body { padding: 4px 16px 20px; } .svc-card__cta .btn { width: 100%; justify-content: center; text-align: center; } }
@media print { .svc-card:not([open]) > .svc-card__body { display: grid; } }
.svc-tag--recommended { border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.svc-cat { margin: 0; }
.svc-card__lead { font-size: 17px; color: var(--ink); }

/* Branding: the Brand Discovery card (shown only while Framework has assigned an assessment). */
.bk-discovery { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-3) 0; padding: var(--space-3); border: 1px solid var(--ink); }
.bk-discovery .h3 { margin: 0 0 4px; }
.bk-discovery p { margin: 0; max-width: 38em; }
/* Brand Discovery waiting for the client: the one dark block on the page, so it cannot be missed. */
.bk-discovery--action { background: var(--ink); color: var(--paper); border-color: var(--ink); padding: var(--space-4); gap: var(--space-4); }
.bk-discovery--action .h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 8px 0 8px; color: var(--paper); }
.bk-discovery--action p { color: #E4E4E4; }
.bk-discovery__text { flex: 1 1 22em; min-width: 0; }
.bk-discovery__tag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); }
.bk-discovery--action .dot--attention { box-shadow: 0 0 0 2px var(--paper); }
.btn--on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--on-dark:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--on-dark:focus-visible, .bk-discovery--action a:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
@media (max-width: 560px) { .bk-discovery--action { padding: var(--space-3); } .bk-discovery--action .btn { width: 100%; } }
/* the small red dot beside "Branding" on the portal home when a Brand Discovery needs the client */
.hub__flag { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 10px; }
.hub__flag .dot { width: 10px; height: 10px; }

/* ---------- New support request: four short steps, tiles for choices, one clear button ---------- */
.sp-form { max-width: 46em; margin: var(--space-3) 0 var(--space-5); display: grid; gap: var(--space-4); }
.sp-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.sp-step__l { display: flex; align-items: center; gap: 12px; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.sp-step__n { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--paper); font: 600 14px/1 var(--font-body); flex: none; }
.sp-step textarea { min-height: 9em; }
.sp-cats, .sp-urgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--hairline); }
.sp-urgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-cat, .sp-urg { position: relative; display: flex; }
.sp-cat__in, .sp-urg__in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp-cat__box, .sp-urg__box { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 18px 44px 18px 18px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.sp-cat__icon { width: 26px; height: 26px; margin-bottom: 6px; }
.sp-cat__t { font-size: 16px; }
.sp-cat__h, .sp-urg__box span { font-size: 14px; color: var(--slate); line-height: 1.4; }
.sp-cat__box:hover, .sp-urg__box:hover { background: var(--mist); }
.sp-cat__in:checked + .sp-cat__box, .sp-urg__in:checked + .sp-urg__box { background: var(--ink); color: var(--paper); }
.sp-cat__in:checked + .sp-cat__box .sp-cat__h, .sp-urg__in:checked + .sp-urg__box span { color: var(--stone); }
.sp-cat__in:checked + .sp-cat__box::after, .sp-urg__in:checked + .sp-urg__box::after { content: "✓"; position: absolute; top: 14px; right: 16px; font-weight: 700; }
.sp-cat__in:focus-visible + .sp-cat__box, .sp-urg__in:focus-visible + .sp-urg__box { outline: 3px solid var(--ink); outline-offset: 2px; }
.sp-title summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 6px 0; }
.sp-title input { margin-top: 8px; }
.sp-send { display: flex; align-items: center; gap: var(--space-3); margin: 0; }
.sp-send__btn { min-width: 220px; min-height: 56px; font-size: 17px; }
.sp-fine { margin: 0; font-size: 13px; color: var(--slate); max-width: 40em; }
.sp-done { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--paper); max-width: 46em; }
.sp-done__t { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.sp-done__lead { margin: 4px 0 var(--space-2); color: var(--stone); }
.sp-done__steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
@media (max-width: 640px) {
  .sp-cats, .sp-urgs { grid-template-columns: minmax(0, 1fr); }
  .sp-cat__box, .sp-urg__box { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 14px 44px 14px 14px; min-height: 56px; }
  .sp-cat__icon { margin: 0; flex: none; } .sp-cat__t { flex: 1 1 0; } .sp-cat__h { flex: 1 1 100%; }
  .sp-send { flex-direction: column; align-items: stretch; } .sp-send__btn { width: 100%; } .sp-send .text-link { text-align: center; }
}

/* Additional services: a small picture beside each service name, and the labels that say what a picture is */
.svc-card__sum--thumb { grid-template-columns: 112px minmax(0, 1fr) 24px; }
.svc-card__thumb { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: 112px; height: 70px; object-fit: cover; background: var(--mist); border: 1px solid var(--hairline); }
.svc-card__sum--thumb .svc-card__tags, .svc-card__sum--thumb .svc-card__title, .svc-card__sum--thumb .svc-card__tagline { grid-column: 2; }
.svc-card__sum--thumb .svc-card__more { grid-column: 3; }
@media (max-width: 560px) { .svc-card__sum--thumb { grid-template-columns: 72px minmax(0, 1fr) 24px; } .svc-card__thumb { width: 72px; height: 45px; } }
.svc-concept { display: inline-block; padding: 1px 8px; margin-right: 6px; border: 1px solid var(--stone); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.svc-concept--real { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svc-fig__img[height] { height: auto; } /* width and height attributes reserve the space; the 16:10 ratio sets the shape */

/* Digital business card: Framework's example in one phone-shaped frame (true proportions, never cropped), and the client's own card as a prominent black panel */
.svc-phone { margin: 0 auto; width: 100%; max-width: 300px; display: grid; gap: 12px; justify-items: center; }
.svc-phone__frame { width: 100%; border: 2px solid var(--ink); background: var(--paper); padding: 10px 8px 14px; }
.svc-phone__frame::before { content: ""; display: block; width: 36px; height: 3px; margin: 0 auto 8px; background: var(--ink); }
.svc-phone__img { display: block; width: 100%; height: auto; background: var(--paper); }
.svc-phone__cap { margin: 0; font-size: 13px; color: var(--slate); text-align: center; }
.svc-phone__btn { width: 100%; }
.svc-own { display: grid; gap: 6px; align-content: start; padding: var(--space-3); background: var(--ink); color: var(--paper); }
.svc-own__k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.svc-own__t { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.svc-own__h { margin: 0; font-size: 15px; color: var(--stone); overflow-wrap: anywhere; }
.svc-own__n { margin: 4px 0 var(--space-2); font-size: 15px; }
.svc-own__btn { min-height: 56px; font-size: 16px; background: var(--paper); color: var(--ink); border-color: var(--paper); text-align: center; }
.svc-own__btn:hover, .svc-own__btn:focus-visible { background: transparent; color: var(--paper); }
.svc-own__btn:focus-visible { outline-color: var(--paper); }
.svc-tag--live { background: var(--ink); border-color: var(--ink); color: var(--paper); }
