/* ==========================================================================
   Start a project (#/start) — brief §9
   Calm by design: no entrance or decorative motion. Paper page, a deeper-paper
   form panel, ink for decisions, tomato only for progress and selection.
   Desktop: narrow explanatory column (1–4) beside a wide form column (6–12).
   Tablet: the form takes the full width. Mobile: one column, full-bleed panel.
   Scope: .st (all selectors start with .st or .st-)
   ========================================================================== */

.st { padding-block: clamp(28px, 3.6vw, 60px) var(--section); }
.st-grid { grid-template-rows: auto auto 1fr; align-items: start; }

/* ---------- Page head ---------- */
.st-head { grid-column: 1 / span 10; grid-row: 1; display: grid; justify-items: start; gap: clamp(18px, 1.8vw, 26px); padding-bottom: clamp(36px, 4.2vw, 64px); }
.st-title {
  font-size: var(--t-page); line-height: .98; font-weight: 730; letter-spacing: -0.032em;
  font-variation-settings: "wdth" 80; text-wrap: balance; max-width: 14em;
}
.st-lead { grid-column: 1 / span 4; grid-row: 2; font-size: var(--t-lead); line-height: 1.5; max-width: 22em; text-wrap: pretty; }

.st-main { grid-column: 6 / span 7; grid-row: 2 / span 2; min-width: 0; }
.st-aside {
  grid-column: 1 / span 4; grid-row: 3; align-self: start;
  display: grid; gap: 44px; margin-top: clamp(40px, 4.4vw, 72px); padding-right: clamp(0px, 1.4vw, 24px);
}
/* Each block keeps its own height (no row stretching), so the kickers share a top line and the 8/32px rhythm holds. */
.st-aside > * { align-self: start; }
.st-aside__contact, .st-email, .st-privacy { align-content: start; }
/* Sticky only where the whole column fits the viewport, in its tallest state (call booked), plus the 100px top;
   otherwise the privacy note would sit out of reach. Measured: 780px at 1024 wide, 746px at 1100–1279, 697px at 1280. */
@media (min-width: 1024px) and (min-height: 900px), (min-width: 1280px) and (min-height: 820px) {
  .st-aside { position: sticky; top: 100px; }
}

/* small mono kicker used for section labels inside the page */
.st .st-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; line-height: 1.4;
  letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2);
}

/* ---------- Explanatory column ---------- */
.st-next { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.st-next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.st-next__n { font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; color: var(--tomato-deep); padding-top: 3px; letter-spacing: .02em; }
.st-next h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.006em; }
.st-next li.is-done .st-next__n { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; margin-top: -1px; border-radius: 50%; background: var(--tomato); color: var(--ink); }
.st-next li.is-done .st-next__n .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.st-next__tag { font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; line-height: 1; padding: 4px 6px; border-radius: 3px; background: var(--ink); color: var(--paper); }
.st-next p { margin-top: 4px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.st-aside__contact { display: grid; gap: 32px; }
.st-privacy { display: grid; gap: 8px; }
.st-privacy p:not(.st-kicker) { font-size: .9375rem; line-height: 1.55; color: var(--muted); max-width: 30em; }
.st-privacy .text-link { color: var(--ink); font-weight: 560; }

/* Email alternative: selectable text + Copy, with the Provisional marker beside it */
.st-email { display: grid; gap: 8px; }
.st-email__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.st-email__addr { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
/* 36px pill visually, 46px to the finger: the hit area extends past the pill on every side (brief §10.6) */
.st-email .copy-btn { position: relative; min-height: 36px; }
.st-email .copy-btn::after { content: ""; position: absolute; inset: -5px -4px; border-radius: inherit; }
.st-email .copy-btn .icon { width: 14px; height: 14px; }
.st-email__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .875rem; line-height: 1.45; color: var(--fg-2); }

/* ---------- Form panel ---------- */
.st-panel {
  container: st-panel / inline-size;
  --fg-2: var(--muted-2);
  background: var(--paper-2); border-radius: 18px;
  padding: clamp(24px, 4vw, 52px) clamp(22px, 4vw, 52px) clamp(28px, 4.2vw, 56px);
}
.st-panel .field__help, .st-panel .field__opt { color: var(--muted-2); }
.st-form { display: block; }

/* Progress: two segments, always visible */
.st-progress { list-style: none; margin: 0 0 clamp(30px, 3vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-progress__item { min-width: 0; }
.st-progress__vis { display: grid; gap: 12px; }
.st-progress__bar { display: block; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 13%, transparent); }
.is-current .st-progress__bar { background: var(--tomato); }
.is-done .st-progress__bar { background: var(--ink); }
.st-progress__row { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.st-progress__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; padding-top: 3px; }
.st-progress__num {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; line-height: 1;
  border: 1.5px solid var(--field); color: var(--muted-2);
}
.is-current .st-progress__num, .is-done .st-progress__num { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* reached before, answers kept, not current: an outlined number on a half-weight bar */
.is-visited .st-progress__bar { background: color-mix(in srgb, var(--ink) 38%, transparent); }
.is-visited .st-progress__num { border-color: var(--ink); color: var(--ink); }
.st-progress__num .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.st-progress__label { font-size: 1rem; font-weight: 620; line-height: 1.25; letter-spacing: -0.004em; min-width: 0; }
.is-todo .st-progress__label { color: var(--muted-2); font-weight: 520; }
.st-progress__edit {
  font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted-2); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.st-progress__btn {
  display: block; width: 100%; padding: 0 0 6px; margin: 0; border: 0; background: transparent; color: inherit;
  text-align: left; font: inherit; border-radius: 4px; cursor: pointer; min-height: 44px;
}
.st-progress__btn:hover .st-progress__edit { color: var(--ink); }
.st-progress__btn:hover .st-progress__label { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.st-progress__btn[aria-disabled="true"] { cursor: default; }

/* Step head */
.st-step__head { display: grid; gap: 10px; margin-bottom: clamp(28px, 2.8vw, 40px); }
.st-step__title {
  font-size: clamp(1.75rem, 1.3rem + 1.35vw, 2.625rem); line-height: 1.02; font-weight: 720;
  letter-spacing: -0.026em; font-variation-settings: "wdth" 84;
}
/* a new contextual enquiry after a sent brief: one quiet line confirming the earlier one was received */
.st-prev { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 4px; font-size: .9375rem; line-height: 1.45; color: var(--fg-2); }
.st-prev .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--ink); stroke-width: 2.4; }
.st-step__intro { font-size: 1rem; line-height: 1.5; color: var(--muted-2); max-width: 34em; text-wrap: pretty; }

/* Fields */
.st-fields { display: grid; gap: clamp(30px, 2.8vw, 40px); }
/* locked while the brief is sending: nothing typed now could be part of this submission */
.st-fields[inert] { opacity: .62; cursor: progress; }
.st-field { min-width: 0; position: relative; }
.st-group { border: 0; padding: 0; margin: 0; min-width: 0; display: block; }
.st-group > legend { display: block; padding: 0; margin: 0 0 8px; }
.st-group > .field__help, .st-group > .field__error { margin-top: 8px; }
.st-group > legend + .field__help { margin-top: 0; }
.st-field.has-error { padding-left: 16px; margin-left: -19px; border-left: 3px solid var(--error); }
.st-field.has-error .choice__box, .st-field.has-error .st-seg { border-color: var(--error); }
.st .field__error { font-size: .9375rem; }
.st-eg { font-family: var(--mono); font-size: .875rem; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.st-field--short { max-width: 28rem; }
.st .select:hover { border-color: var(--ink); }
.st .select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 5px var(--ink); }
.st .textarea { min-height: 148px; }

/* Choice groups (radio cards from components.css). One anatomy for every non-band card: dot left, text right,
   equal heights per row. Only the budget bands differ, because they carry a scale glyph. */
.st-choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
@container st-panel (min-width: 30rem) { .st-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container st-panel (min-width: 36rem) { .st-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-choices .choice, .st-scale .choice { height: 100%; }
.st-choices .choice__box, .st-scale .choice__box { height: 100%; }
.st-choices--compact .choice__box { align-items: center; min-height: 54px; padding-block: 13px; }
.st-choices--compact .choice__dot { margin-top: 0; }

/* Reference links disclosure */
.st-refs { display: grid; gap: 14px; }
.st-disclose {
  justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--ink); font-size: 1.0625rem; font-weight: 620; text-align: left; border-radius: 4px;
}
.st-disclose__sign { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.st-disclose__sign .icon { width: 14px; height: 14px; stroke-width: 2.2; transition: transform 180ms var(--ease); }
.st-disclose:hover .st-disclose__sign { background: var(--ink); color: var(--paper); }
.st-disclose[aria-expanded="true"] .st-disclose__sign .icon { transform: rotate(45deg); }
.st-disclose .field__opt { margin-left: 0; }
.st-disclose__count { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .03em; padding: 4px 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.st-refs__panel { padding-left: 42px; }
.st .st-refs__area { min-height: 104px; font-family: var(--mono); font-size: .9375rem; line-height: 1.6; }

/* Selected project reference: removable context card */
.st-ref { display: grid; gap: 10px; }
.st-ref__card {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 12px 14px 12px 12px; background: var(--paper); border-radius: 12px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent);
}
.st-ref__thumb { position: relative; width: 64px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.st-ref__thumb img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }
.st-ref__fallback { position: absolute; inset: 0; display: none; place-items: center; color: var(--muted-on-ink); background: repeating-linear-gradient(135deg, rgba(244,240,231,.05) 0 1px, transparent 1px 9px), var(--ink-2); }
.st-ref__fallback .icon { width: 22px; height: 22px; }
.st-ref__thumb.is-missing img { visibility: hidden; }
.st-ref__thumb.is-missing .st-ref__fallback { display: grid; }
.st-ref__body { min-width: 0; display: grid; gap: 3px; }
.st-ref__brand { font-family: var(--mono); font-size: var(--t-meta); letter-spacing: .03em; color: var(--muted); }
.st-ref__title { font-size: 1.125rem; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; font-variation-settings: "wdth" 92; }
.st-ref__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.st-ref__meta .meta { color: var(--muted); text-wrap: balance; }
.st-nw { white-space: nowrap; }
.st-ref__remove, .st-ref__undo {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); background: transparent; color: var(--ink); font-size: .9375rem; font-weight: 600;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}
.st-ref__remove .icon { width: 16px; height: 16px; }
.st-ref__remove:hover, .st-ref__undo:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.st-ref__removed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--field); font-size: .9375rem; }
.st-ref__removed .icon { width: 18px; height: 18px; }
.st-ref__undo { padding: 0 16px; }
@container st-panel (max-width: 29.99rem) {
  .st-ref__card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; }
  .st-ref__thumb { width: 56px; }
  .st-ref__remove { grid-column: 2; justify-self: start; margin-top: -4px; }
}

/* Budget */
.st-budget__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.st-currency { display: inline-flex; align-items: center; gap: 12px; }
.st-currency label { font-weight: 600; font-size: .9375rem; }
.st-select { position: relative; display: inline-block; }
.st .st-select .select {
  -webkit-appearance: none; appearance: none; width: auto; min-width: 7.5rem; min-height: 44px; padding: 8px 40px 8px 14px;
  font-family: var(--mono); font-size: 1rem; font-weight: 500; letter-spacing: .02em; cursor: pointer;
}
.st-select::after {
  content: ""; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 1.75px solid var(--ink); border-bottom: 1.75px solid var(--ink); transform: translateY(-70%) rotate(45deg);
}
.st-budget .placeholder-note { color: var(--muted-2); }
.st-bands { margin-top: 14px; }
.st-scale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@container st-panel (min-width: 40rem) { .st-scale { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-band { min-width: 0; }
.st-band .choice__box { flex-direction: column; align-items: flex-start; gap: 16px; padding: 14px 13px 16px; }
.st-band .choice__dot { position: absolute; top: 15px; right: 14px; margin: 0; }
.st-band .choice__title { font-size: 1.0625rem; }
/* Two lines at every width: the placeholder note, then currency + basis. Sans at 13px fits "Placeholder amount"
   on one line inside the narrowest four-column card (126px); only the currency code stays mono, as data. */
.st-band .choice__desc { display: grid; gap: 2px; font-size: .8125rem; letter-spacing: .01em; line-height: 1.4; }
.st-band__cur { color: var(--ink); }
.st-band__code { font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .03em; }
.st-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.st-bars i { display: block; width: 5px; border-radius: 1.5px; background: color-mix(in srgb, var(--ink) 15%, transparent); }
.st-bars i:nth-child(1) { height: 30%; } .st-bars i:nth-child(2) { height: 53%; } .st-bars i:nth-child(3) { height: 76%; } .st-bars i:nth-child(4) { height: 100%; }
.st-bars i.is-on { background: var(--ink); }
.choice input:checked + .choice__box .st-bars i.is-on { background: var(--tomato); }
.st-or {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 12px;
  font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2);
}
.st-or::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.st-alts { margin-top: 0; }

@container st-panel (max-width: 25.99rem) {
  .st-scale { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .st-band .choice__box { flex-direction: row; align-items: center; gap: 16px; padding: 14px 48px 14px 16px; min-height: 64px; }
  .st-band .choice__dot { top: 50%; right: 16px; transform: translateY(-50%); }
  .st-band .choice__text { min-width: 0; }
  .st-bars { flex: none; }
}

/* Budget basis: segmented control */
.st-seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-top: 14px; padding: 4px;
  border: 1.5px solid var(--field); border-radius: 12px; background: var(--paper); max-width: 100%;
}
.st-seg label { position: relative; display: block; min-width: 0; }
.st-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.st-seg span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px;
  font-size: 1rem; font-weight: 600; line-height: 1.15; text-align: center; transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.st-seg input:hover + span { background: var(--paper-3); }
.st-seg input:checked + span { background: var(--ink); color: var(--paper); }
.st-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Your details */
.st-details { display: grid; gap: 24px; padding-top: clamp(28px, 2.6vw, 36px); border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-details__title { font-size: 1.3125rem; font-weight: 680; letter-spacing: -0.012em; line-height: 1.2; font-variation-settings: "wdth" 92; }

/* Error summary (two or more failing answers) */
.st-summary {
  margin-bottom: clamp(28px, 2.8vw, 36px); padding: 20px 22px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--error) 6%, var(--paper)); box-shadow: inset 0 0 0 1.5px var(--error);
}
.st-summary__title { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.006em; }
.st-summary__title .icon { color: var(--error); width: 22px; height: 22px; }
.st-summary__list { list-style: none; margin: 10px 0 0; padding: 0 0 0 32px; display: grid; gap: 2px; }
.st-summary__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; border: 0; background: none; text-align: left; line-height: 1.4;
  color: var(--error); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.st-summary__link:hover { text-decoration-thickness: 2px; }

/* Submit + actions */
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.st-form > .st-actions, .st-submit { margin-top: clamp(36px, 3.4vw, 48px); padding-top: clamp(24px, 2.4vw, 32px); border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-submit { display: grid; gap: 22px; }
.st-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; color: var(--muted-2); max-width: 46em; }
.st-consent span { text-wrap: balance; }
.st-consent .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.st-consent .text-link { color: var(--ink); font-weight: 560; white-space: nowrap; }
.st .btn.is-loading[aria-disabled="true"] { opacity: 1; cursor: progress; }
.st-back { min-height: 44px; font-size: 1rem; gap: 8px; }
.st-back .icon { width: 16px; height: 16px; }
.st-sending { font-size: .9375rem; color: var(--muted-2); min-height: 0; }
.st-sending:empty { display: none; }

/* ---------- Outcome states ---------- */
.st-out { display: block; }
.st-out__status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.st-out__badge { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.st-out__badge .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.st-out__status--ok .st-out__badge { background: var(--tomato); color: var(--ink); }
.st-out__status--err { color: var(--error); }
.st-out__status--err .st-out__badge { background: var(--error); color: var(--paper); }
.st-out__status--unk .st-out__badge { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.st-out__ref {
  margin-left: auto; padding: 5px 8px; border-radius: 4px; text-transform: none; letter-spacing: .03em; color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);
}
.st-out__title {
  margin-top: clamp(22px, 2.4vw, 34px); font-size: clamp(2.25rem, 1.45rem + 2.7vw, 3.875rem); line-height: .98;
  font-weight: 730; letter-spacing: -0.032em; font-variation-settings: "wdth" 80; text-wrap: balance; max-width: 12em;
}
.st-out__body { margin-top: 16px; font-size: var(--t-lead); line-height: 1.45; max-width: 30em; text-wrap: balance; }
.st-nb { display: inline-block; } /* keeps "Your brief is with us." together when the title breaks */
.st-out__note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 10px;
  background: var(--paper); font-size: .9375rem; line-height: 1.5; max-width: 40em;
}
.st-out__note .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.st-mono { font-family: var(--mono); font-weight: 500; font-size: .9em; letter-spacing: .02em; }
.st-ref-code { white-space: nowrap; color: var(--ink); } /* the reference never breaks at its hyphens */
.st-out__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.st-out__actions + .st-sending { margin-top: 12px; }
.st-out__more { margin-top: 36px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-out--failed .st-out__title { max-width: 11em; }
.st-out__exits { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; }

/* "What you sent" */
.st-sent { margin-top: 32px; border-block: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.st-sent summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; cursor: pointer;
  font-weight: 640; font-size: 1.0625rem; border-radius: 4px;
}
.st-sent summary::-webkit-details-marker { display: none; }
.st-sent__sign { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; }
.st-sent__sign .icon { width: 14px; height: 14px; stroke-width: 2.2; transition: transform 180ms var(--ease); }
.st-sent[open] .st-sent__sign .icon { transform: rotate(45deg); }
.st-sent summary:hover .st-sent__sign { background: var(--ink); color: var(--paper); }
.st-sent__list { display: grid; padding-bottom: 14px; }
.st-sent__list div { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px dashed color-mix(in srgb, var(--ink) 16%, transparent); }
.st-sent__list dt { font-family: var(--mono); font-size: var(--t-meta); letter-spacing: .03em; color: var(--muted-2); padding-top: 3px; }
.st-sent__list dd { font-size: .9375rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
@container st-panel (max-width: 29.99rem) { .st-sent__list div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Scheduler (loaded only after the brief is saved) ---------- */
.st-sched {
  margin-top: clamp(26px, 2.8vw, 36px); padding: clamp(18px, 2.2vw, 28px); border-radius: 14px; background: var(--paper);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent);
}
.st-sched__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.st-sched__title { display: flex; align-items: center; gap: 10px; font-size: 1.3125rem; font-weight: 680; letter-spacing: -0.012em; line-height: 1.2; font-variation-settings: "wdth" 92; }
.st-sched__metas { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; color: var(--muted); }
.st-sched__metas li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.st-sched__metas li > span { min-width: 0; }
.st-sched__metas .provisional { margin-left: 4px; }
.st-sched__metas strong { color: var(--ink); font-weight: 600; }
.st-sched__metas .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--ink); }
.st-sched__legend { display: block; padding: 0; margin-bottom: 12px; font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.st-sched__span { color: var(--muted); }
.st-days { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.st-days__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.st-day, .st-time { position: relative; display: block; min-width: 0; }
.st-day__box { height: 100%; align-content: start; }
.st-day input, .st-time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.st-day__box {
  display: grid; justify-items: center; gap: 4px; padding: 12px 4px 11px; border-radius: 10px; text-align: center;
  border: 1.5px solid var(--field); background: var(--paper); transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.st-day__wd { font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.st-day__num { font-size: 1.75rem; font-weight: 720; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wdth" 84; font-variant-numeric: tabular-nums; }
.st-day__n { font-size: var(--t-meta); line-height: 1.2; color: var(--muted); white-space: nowrap; }
.st-day__short { display: none; }
.st-day input:hover + .st-day__box, .st-time input:hover + span { border-color: var(--ink); }
.st-day input:checked + .st-day__box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.st-day input:checked + .st-day__box .st-day__n { color: var(--muted-on-ink); }
.st-day input:focus-visible + .st-day__box, .st-time input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.st-day.is-empty .st-day__box {
  border-style: dashed; color: var(--muted);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 8px), var(--paper);
}
.st-day.is-empty input { cursor: not-allowed; }
.st-times { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.st-times .field__error { margin-bottom: 12px; }
.st-times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 8px; }
.st-time span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px; border-radius: 8px;
  border: 1.5px solid var(--field); background: var(--paper); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.st-time input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.st-times[aria-invalid="true"] .st-time span { border-color: var(--error); }
.st-sched__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule);
}
.st-pick { display: grid; gap: 2px; font-weight: 620; font-size: 1.0625rem; line-height: 1.35; }
.st-pick__k { font-family: var(--mono); font-size: var(--t-meta); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.st-pick__none { font-weight: 400; color: var(--muted); }
.st-sched__foot .st-sending { flex-basis: 100%; }
/* "None of these times work?": the email route and what happens if the visitor leaves without a time */
.st-sched__alt { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.st-sched__alt .st-email__note { max-width: 40em; }
.st-sched__fine { font-size: .875rem; line-height: 1.5; color: var(--muted); max-width: 44em; text-wrap: pretty; }
.st-sched__loading { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.st-spinner { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); border-top-color: var(--ink); animation: spin 800ms linear infinite; }
.st-sched__skeleton { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.st-sched__skeleton span { height: 84px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.st-sched__skeleton--times { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); margin-top: 26px; }
.st-sched__skeleton--times span { height: 48px; border-radius: 8px; }
.st-sched.is-error { background: color-mix(in srgb, var(--error) 5%, var(--paper)); box-shadow: inset 0 0 0 1.5px var(--error); }
.st-sched__error { display: grid; gap: 14px; justify-items: start; }
.st-sched__error .st-sched__title .icon { color: var(--error); width: 22px; height: 22px; }
.st-sched__error > p { font-size: 1rem; line-height: 1.55; max-width: 36em; }
.st-sched__error .st-email { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--rule); width: 100%; }

/* Booking confirmation: a ticket */
.st-ticket { margin-top: clamp(26px, 2.8vw, 36px); border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); }
.st-ticket__when {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(18px, 2vw, 24px); background: var(--ink); color: var(--paper);
}
.st-ticket__when::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--tomato); }
.st-ticket__date { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.012em; font-variation-settings: "wdth" 92; }
.st-ticket__time { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 730; line-height: .95; letter-spacing: -0.03em; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; }
.st-ticket__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding: 4px clamp(20px, 2.4vw, 28px) 10px; }
.st-ticket__facts div { display: grid; gap: 4px; align-content: start; padding: 14px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.st-ticket__facts div:nth-last-child(-n+2) { border-bottom: 0; }
.st-ticket__facts dt { font-family: var(--mono); font-size: var(--t-meta); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.st-ticket__facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.st-ticket__sub { flex-basis: 100%; font-weight: 400; font-size: .9375rem; color: var(--muted); }
.st-ticket__mono { font-family: var(--mono); font-weight: 500; letter-spacing: .03em; }
@container st-panel (max-width: 29.99rem) {
  .st-ticket__facts { grid-template-columns: minmax(0, 1fr); }
  .st-ticket__facts div:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
}
.st-out__route { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--field); }
.st-out__route > .icon { flex: none; margin-top: 2px; }
.st-out__route p:not(.st-kicker) { margin-top: 6px; font-size: .9375rem; line-height: 1.55; max-width: 38em; overflow-wrap: anywhere; }

/* ---------- Prototype controls: a design-review tool, visibly not part of the site ---------- */
.st-proto {
  margin-top: clamp(64px, 7vw, 112px); border: 1.5px dashed var(--field); border-radius: 14px;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.5;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ink) 3%, transparent) 0 1px, transparent 1px 9px), var(--paper);
}
.st-proto__summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 56px; padding: 10px 14px 10px 18px; cursor: pointer; border-radius: 12px; }
.st-proto__summary::-webkit-details-marker { display: none; }
.st-proto__tag { background: var(--tomato); color: var(--ink); padding: 4px 7px; border-radius: 3px; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.st-proto__hint { color: var(--muted); }
.st-proto__sign { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; }
.st-proto__sign .icon { width: 14px; height: 14px; transition: transform 180ms var(--ease); }
.st-proto[open] .st-proto__sign .icon { transform: rotate(45deg); }
.st-proto__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 48px; padding: 18px 18px 22px; border-top: 1.5px dashed var(--field); }
.st-proto__group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 2px; }
.st-proto__group legend { padding: 0; margin-bottom: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--muted); }
.st-proto__opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; cursor: pointer; }
.st-proto__opt input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.st-proto__opt strong { font-weight: 500; display: block; }
.st-proto__opt span span { display: block; color: var(--muted); font-size: .75rem; }
.st-proto__side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.st-proto__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.st-proto__btn { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 500; }
.st-proto__btn:hover { background: var(--ink); color: var(--paper); }
.st-proto__readout { display: grid; gap: 0; margin: 0; }
.st-proto__readout div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 16px; padding: 7px 0; border-top: 1px dashed var(--rule); }
.st-proto__readout dt { color: var(--muted); }
.st-proto__readout dd { overflow-wrap: anywhere; }
.st-proto__readout code { font-family: inherit; }
.st-proto__readout ul { list-style: none; margin: 0; padding: 0; }
.st-proto__readout li span { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .st-main { grid-column: 5 / span 8; }
  .st-aside { padding-right: 0; }
}
@media (max-width: 1023px) {
  .st-grid { grid-template-rows: none; }
  .st-head { grid-column: 1 / -1; }
  .st-lead { grid-column: 1 / span 6; grid-row: auto; max-width: 30em; margin-bottom: 36px; }
  .st-main { grid-column: 1 / -1; grid-row: auto; }
  .st-aside {
    grid-column: 1 / -1; grid-row: auto; position: static; margin-top: 64px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gutter);
  }
  .st-proto__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .st { padding-top: 24px; }
  .st-head { padding-bottom: 24px; }
  .st-lead { grid-column: 1 / -1; margin-bottom: 28px; }
  .st-main { margin-inline: calc(var(--margin) * -1); }
  .st-panel { border-radius: 0; padding: 26px var(--margin) 36px; }
  .st-aside { grid-template-columns: minmax(0, 1fr); margin-top: 48px; gap: 40px; }
  .st-field.has-error { padding-left: 13px; margin-left: -16px; }
  .st-refs__panel { padding-left: 0; }
  .st-actions .btn--lg, .st-out__actions .btn { width: 100%; }
  .st-actions { gap: 8px; }
  .st-back { margin-inline: auto; }
  .st-seg { display: grid; width: 100%; }
  .st-seg span { padding: 0 8px; }
  .st-out__ref { margin-left: 0; }
  .st-sched__foot .btn { width: 100%; }
  .st-day__box { padding: 10px 0 9px; }
  .st-day__num { font-size: 1.5rem; }
  .st-day__long { display: none; }  /* "None" under a hatched, disabled day; the sr-only line says "no times available" */
  .st-day__short { display: inline; }
  .st-proto__readout div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .st-seg span { padding: 0 4px; font-size: .9375rem; white-space: nowrap; }
  .st-days__row { gap: 5px; }
  .st-progress__label { font-size: .9375rem; }
}
/* 320–345px: a day box is ~38px inside, too narrow for "5 times" at the 12.5px floor. Available days keep the
   line (so every box aligns) but hide the count; the empty day keeps "None". The sr-only line still gives the count. */
@media (max-width: 345px) {
  .st-day:not(.is-empty) .st-day__n { visibility: hidden; }
}

/* Reduced motion: the global rule removes transitions; a loading indicator still needs to read as active */
@media (prefers-reduced-motion: reduce) {
  .st-spinner { animation-duration: 1400ms !important; animation-iteration-count: infinite !important; }
}
