/* Adobe Source Sans 3, release 3.052R; OFL license alongside the font. */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-upright.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #172c45;
  --surface: #203b58;
  --band: #102238;
  --text: #f5f1e9;
  --muted: #bdcddd;
  --accent: #87cfff;
  --accent-strong: #a9deff;
  --ember: #ffc07c;
  --starlight: #f2c878;
  --mark-core: #87cfff;
  --orbit-blue: #8cd2ff;
  --line: #526e8b;
  --field-border: #7897b5;
  --accent-soft: rgba(135, 207, 255, .08);
  --grid: rgba(135, 207, 255, .025);
  --glow: rgba(114, 185, 238, .08);
  --line-soft: color-mix(in srgb, var(--line) 55%, transparent);
  --font-body: "Source Sans 3", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 1160px;
  --gutter: clamp(20px, 3vw, 32px);
  --radius: 8px;
  --reading-width: 66ch;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eaf0f4;
  --surface: #f4f8fa;
  --band: #dfe8ef;
  --text: #172f4a;
  --muted: #425970;
  --accent: #125e98;
  --accent-strong: #0d4675;
  --ember: #93430d;
  --starlight: #855414;
  --mark-core: #172f4a;
  --orbit-blue: #185e94;
  --line: #8fa5bb;
  --field-border: #6f849a;
  --accent-soft: rgba(18, 94, 152, .06);
  --grid: rgba(18, 94, 152, .045);
  --glow: rgba(114, 185, 238, .1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #eaf0f4; --surface: #f4f8fa; --band: #dfe8ef;
    --text: #172f4a; --muted: #425970; --accent: #125e98;
    --accent-strong: #0d4675;
    --ember: #93430d;
  --starlight: #855414;
  --mark-core: #172f4a;
  --orbit-blue: #185e94;
  --line: #8fa5bb; --field-border: #6f849a;
    --accent-soft: rgba(18, 94, 152, .06);
    --grid: rgba(18, 94, 152, .045); --glow: rgba(114, 185, 238, .1);
  }
}
/* Shared foundations: broad canvas, readable groups, restrained surfaces. */
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
html { scroll-padding-top: 104px; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
[hidden] { display: none !important; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1 { margin-bottom: 24px; font-size: clamp(36px, 4.8vw, 64px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.015em; }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
/* One stroke language for every icon: inherited color, one grid, never the sole carrier of meaning. */
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.icon-lead { width: 28px; height: 28px; color: var(--starlight); }
code { overflow-wrap: anywhere; }
ul { padding-left: 24px; color: var(--muted); }
li + li { margin-top: 12px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 16px; background: var(--band); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.container, .header-inner, .footer-inner { width: min(100%, var(--page-width)); margin-inline: auto; padding-inline: var(--gutter); }
.homepage { flex: 1; padding-bottom: var(--space-16); }

/* Visible navigation: utilities remain secondary. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 32px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; color: var(--mark-core); flex-shrink: 0; }
.brand-mark path { fill: currentColor; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 550; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:last-child { color: var(--text); }
.site-nav a[aria-current] { color: var(--text); border-bottom-color: var(--starlight); }
.site-nav a:hover { color: var(--text); border-bottom-color: var(--accent); }
.site-nav .nav-action { min-height: 40px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--band); box-shadow: inset 0 2px var(--starlight); color: var(--text); }
.site-nav .nav-action:hover, .site-nav .nav-action[aria-current] { border-color: var(--accent); background: var(--accent-soft); }
.header-controls, .language-switch { display: flex; gap: 4px; flex-shrink: 0; }
.language-switch a, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 8px; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); background: transparent; text-decoration: none; font-size: 12px; font-weight: 650; }
.language-switch a[aria-current="page"] { color: var(--text); border-color: var(--line); }
.language-switch a:hover, .theme-toggle:hover { color: var(--text); background: var(--accent-soft); }
.theme-toggle { border-color: var(--line); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon-icon { display: none; }
:root[data-theme="light"] .theme-toggle .sun-icon { display: none; }
:root[data-theme="light"] .theme-toggle .moon-icon { display: block; }

/* Home identity and shared page introductions. */
.hero { position: relative; padding: 48px 0 32px; }
.hero > p { max-width: var(--reading-width); }
.hero > p + p { margin-top: 16px; }
#home { padding: 56px 320px 48px 0; }
#home h1 { font-size: clamp(40px, 5.3vw, 72px); letter-spacing: -.03em; }
#home .mark { width: 280px; height: 280px; top: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background-color: var(--band); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.hero-emphasis { color: var(--accent); }
.subtitle { color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }
.intro { color: var(--muted); font-size: 18px; }
.eyebrow, .section-label { margin-bottom: 16px; color: var(--starlight); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mark { width: 230px; height: 230px; color: var(--accent); }
.mark svg { display: block; width: 100%; height: 100%; }
.hero .mark { position: absolute; right: 0; top: 48px; width: 230px; height: 230px; }
.mark-core { color: var(--mark-core); }
.mark-core path { fill: currentColor; }
.mark-orbit-blue { stroke: var(--orbit-blue); }
.mark-orbit-gold, .mark-ticks { stroke: var(--starlight); }
.mark-orbit-dashed, .mark-sight { stroke: var(--line); }
.mark-node-gold { fill: var(--starlight); }
.mark-node-fire { fill: var(--ember); }
.product-page .hero { padding: 24px 0 16px; }
.product-page h1 { font-size: clamp(36px, 4vw, 48px); }
.product-mark { margin-bottom: 10px; }
.product-mark .icon-lead { width: 32px; height: 32px; }
.breadcrumbs { margin-bottom: 24px; font-size: 13px; }
.breadcrumbs li { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: "›"; margin-right: 10px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--text); }

/* A small vocabulary: sections, choice panels, contextual panels, actions. */
.home-section { margin-top: var(--space-16); scroll-margin-top: 104px; }
.home-section > h2 { margin-bottom: 24px; }
.home-section h3 { margin: 24px 0 12px; }
.home-section p { margin-bottom: 16px; color: var(--muted); }
.home-section > p, .home-section > ul { max-width: var(--reading-width); }
.service-body p, .service-details p { max-width: var(--reading-width); }
.hero + .home-section, .hero + .band { margin-top: 32px; }

/* Structure: every block is bounded and labelled, so no text sits loose on the page. */
.band { margin-top: var(--space-16); scroll-margin-top: 104px; }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 40px; margin-bottom: 28px; padding-top: 20px; border-top: 2px solid var(--line-soft); }
.band-head > * { grid-column: 1; }
.band-head .section-label { margin: 0; }
.band-head h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); }
.band-head p:not(.section-label) { margin: 8px 0 0; max-width: var(--reading-width); color: var(--muted); }
.band-head .band-aside { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: right; }

/* The orbit grid, sight lines and star nodes are the visual language, so every page carries them; a language
   that appears on two pages out of seventeen is an accent, not a language. Only the sky is graded (see below). */
body { --sky-star: color-mix(in srgb, var(--starlight) 60%, transparent); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 72px 72px; }
/* Quiet information pages keep their existing section boundaries without the full commercial divider. */
.about-page > .home-section, .site-information-page > .home-section, .workbench-page > .home-section, .contact-guidance .home-section { padding-top: 20px; border-top: 1px solid var(--line); }
/* Expressive light is local to observation fields; the shared grid stays static. */

/* B+1 identity primitives: geometry supports hierarchy; the mark remains the sole identity anchor. */
.identity-hero { isolation: isolate; }
.identity-field { position: absolute; z-index: -1; top: 12px; right: -18px; width: 350px; height: 350px; border: 1px solid color-mix(in srgb, var(--line) 40%, transparent); border-radius: 50%; background-image: linear-gradient(90deg, transparent 49.8%, var(--grid) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, var(--grid) 50%, transparent 50.2%); }
.identity-field::before { content: ""; position: absolute; inset: 20px; border: 1px solid transparent; border-top-color: var(--line); border-left-color: var(--line); border-radius: 50%; transform: rotate(-22deg); }
.identity-field::after { content: ""; position: absolute; top: 50%; left: -18px; width: 40px; border-top: 1px solid var(--line); }
.identity-field, .identity-field::before, .identity-field::after, .identity-divider::before, .identity-divider::after { pointer-events: none; }
.identity-divider { position: relative; border-top: 1px solid var(--line); border-image: none; }
.identity-divider::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; border-top: 1px solid var(--starlight); }
.identity-divider::after { content: ""; position: absolute; top: -4px; left: 56px; width: 6px; height: 6px; border: 1px solid var(--starlight); border-radius: 50%; background: var(--bg); }
.identity-divider--quiet::before { width: 28px; border-color: var(--line); }
.identity-divider--quiet::after { left: 28px; border-color: var(--line); }
.identity-sightline::after { content: ""; flex: 0 0 auto; width: 12px; margin-left: auto; border-top: 1px solid var(--line); transition: width 120ms ease, border-color 120ms ease; }
.identity-sightline:hover::after, .identity-sightline:focus-visible::after { width: 20px; border-color: var(--accent); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); container: panel / inline-size; }
/* Warm labels and B+1 section nodes carry identity without outlining every card in gold. */
.panel-head { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.panel-head .icon-lead { width: 24px; height: 24px; }
.panel-head h3 { min-width: 0; margin: 0; font-size: 20px; }
.parent-label { margin: 0 0 2px; color: var(--starlight); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.panel-body { flex: 1; padding: 20px 24px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; margin-top: auto; padding: 12px 24px; border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--radius) var(--radius); background: var(--band); }
.panel-product .panel-foot { justify-content: space-between; }
.panel-foot .availability { flex-basis: 100%; font-size: 13px; }
.panel-price { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin: 0; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 2px var(--starlight); color: var(--text); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.panel-price .price-icon { width: 18px; height: 18px; color: var(--starlight); }
.purchase-includes-content { display: block; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.purchase-includes-divider { color: var(--starlight); font-weight: 700; }
.family-action { margin-top: 20px; }
.skill-offer { min-width: 0; scroll-margin-top: 112px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); container: offer / inline-size; }
.skill-offer-head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 28px; border-bottom: 1px solid var(--line-soft); }
.skill-offer-head h3 { margin: 0; }
.skill-offer-summary { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.skill-offer-summary .field p:not(.field-label) { color: var(--muted); }
.skill-offer-body, .skill-offer-fit { min-width: 0; padding: 22px 28px; }
.skill-summary { margin: 0 0 24px; }
.skill-offer-fit { border-left: 1px solid var(--line); background: var(--accent-soft); }
.skill-purchase { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 12px 28px; border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--radius) var(--radius); background: var(--band); }
.skill-purchase .availability:first-child { flex-basis: 100%; }
.purchase-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-basis: 100%; margin: 0; color: var(--muted); font-size: 13px; }
.purchase-note-copy { flex: 0 1 auto; }
.purchase-note-tip-wrap { position: relative; display: inline-flex; align-items: center; }
.purchase-note-tip { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent); flex: 0 0 auto; }
.purchase-note-tip:hover, .purchase-note-tip:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.purchase-note-icon { width: 14px; height: 14px; }
.purchase-note-tooltip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 2; width: min(280px, 70vw); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); font-size: 12px; line-height: 1.45; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease; }
.purchase-note-tip-wrap:hover .purchase-note-tooltip, .purchase-note-tip-wrap:focus-within .purchase-note-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-2px); }
.purchase-note-tooltip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transform: translate(-50%, -5px) rotate(45deg); }
.offer-disclosure { padding: 0 28px; border-top: 1px solid var(--line); }
.offer-details { margin: 0; }
.offer-details summary { min-height: 48px; padding: 12px 0; color: var(--accent); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.offer-details[open] { padding-bottom: 16px; }
.offer-details[open] summary { border-bottom: 1px solid var(--line); }
.offer-details h4 { margin: 20px 0 4px; color: var(--starlight); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.offer-details p { max-width: var(--reading-width); color: var(--muted); font-size: 15px; }
.offer-details > :last-child { margin-bottom: 0; }
/* Workbench long-form details need paragraph rhythm as well as section boundaries. */
.skill-details > h4 { margin: 24px 0 8px; }
.skill-details > p + p { margin-top: 12px; }
.skill-details > p, .skill-details > .content-list, .skill-details .skill-workflow-body p { font-size: 16px; }
.method-steps.skill-workflow { grid-template-columns: 1fr; max-width: var(--reading-width); margin: 12px 0 24px; }
.method-steps.skill-workflow li { grid-template-columns: 28px minmax(0, 1fr); justify-items: start; align-items: start; gap: 14px; padding: 6px 0 18px; font-size: 15px; text-align: left; }
.method-steps.skill-workflow li + li::before { content: none; }
.method-steps.skill-workflow li:not(:last-child)::after { content: ""; position: absolute; top: 34px; bottom: -2px; left: 13px; border-left: 1px dashed var(--line); }
.skill-workflow .step-node { position: relative; z-index: 1; }
.skill-workflow-body { min-width: 0; padding-top: 2px; }
.offer-details .skill-workflow-title { margin: 0 0 3px; color: var(--text); font-weight: 650; }
.offer-details .skill-workflow-body > :last-child { margin-bottom: 0; }
.workbench-catalogue { display: grid; gap: 24px; }
.workbench-index { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 28px; padding: 14px 18px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.workbench-index p { margin: 0; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.workbench-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.workbench-index li { min-width: 0; margin: 0; }
.workbench-index a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--band); color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.workbench-index a .icon { flex: 0 0 auto; color: var(--accent); }
.workbench-index a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.field + .field, .panel-body > p + .field { margin-top: 18px; }
.field-label { margin-bottom: 4px; color: var(--starlight); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.panel .field p:not(.field-label), .panel-body > p { margin: 0; color: var(--muted); font-size: 16px; }
.panel .panel-detail-action { margin-top: 8px; }
.availability, .home-section .availability { color: var(--muted); font-size: 14px; line-height: 1.6; }
.availability-note { border-left: 2px solid var(--starlight); padding: 8px 16px; margin-top: 24px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 44px; padding: 10px 0; font-size: 15px; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.action:hover, .action:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.action span { flex-shrink: 0; }
/* The arrow is a replaced element, so the label underline stops at the text instead of running under it. */
.action-arrow { width: 18px; height: 18px; }
.action-primary, .action-secondary { padding: 11px 20px; border-radius: var(--radius); border: 1px solid var(--accent); text-decoration: none; transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease; }
.action-primary { background: var(--accent); color: var(--bg); }
.action-secondary { color: var(--accent); background: transparent; }
.action-primary:hover, .contact-submit:not(:disabled):hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.action-secondary:hover { background: var(--accent-soft); }
/* Hover lift is transform-only: nothing around the control reflows. */
.action-primary:hover, .action-secondary:hover, .contact-submit:not(:disabled):hover { transform: translateY(-1px); }
.action-primary:active, .action-secondary:active, .contact-submit:not(:disabled):active { transform: translateY(0); }
.action span[aria-hidden] { transition: transform 120ms ease; }
.action:hover span[aria-hidden] { transform: translateX(2px); }
.action-primary:hover, .action-secondary:hover, .contact-submit:hover { text-decoration: none; }
.action-arrow { transition: transform 120ms ease; }
.action:hover .action-arrow { transform: translateX(3px); }
.u-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.closing-band { margin-top: var(--space-16); padding-top: 32px; border-top: 2px solid var(--line-soft); }
.note-panel { padding: 24px 28px; border: 1px solid var(--line); border-left: 3px solid var(--starlight); border-radius: var(--radius); background: var(--accent-soft); }
.note-panel :is(h2, h3) { margin-bottom: 12px; font-size: 21px; }
.method-section + .note-panel, .note-panel + .value-list { margin-top: 20px; }
.note-panel p { color: var(--muted); }
.note-panel > :last-child { margin-bottom: 0; }
.principle { color: var(--text); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
/* Services catalogue: a persistent index beside bounded offers, no tab state to reason about. */
.catalogue { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 40px; align-items: start; }
.catalogue-index { position: sticky; top: 104px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.catalogue-index p { margin: 0 0 8px; color: var(--starlight); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-index ol { margin: 0; padding: 0; list-style: none; color: inherit; }
.catalogue-index li { margin: 0; border-top: 1px solid var(--line); }
.catalogue-index li:first-child { border-top: 0; }
.catalogue-index a { display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.catalogue-index a .icon { color: var(--starlight); }
.catalogue-index a:hover { color: var(--text); }
.catalogue-list { display: grid; gap: 24px; min-width: 0; }
.privacy-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.section-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; padding: 20px 0; border-block: 1px solid var(--line); font-size: 15px; }
.section-index a { display: flex; align-items: center; min-height: 44px; }
.method-section { margin-top: 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.method-body { padding: 20px 28px; }
.method-body h3 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--starlight); }
.method-body p { max-width: var(--reading-width); margin: 0; color: var(--muted); font-size: 15px; }
/* The ladder is the argument: options are weighed left to right, so the cheapest answer is considered first. */
.method-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 16px 0; padding: 0; list-style: none; }
.method-steps li { position: relative; display: grid; justify-items: center; gap: 10px; padding-inline: 4px; color: var(--muted); font-size: 13px; line-height: 1.3; text-align: center; }
.method-steps li + li { margin-top: 0; }
/* The rung runs between two nodes and never under one. */
.method-steps li + li::before { content: ""; position: absolute; top: 14px; right: 50%; left: -50%; margin-inline: 18px; border-top: 1px dashed var(--line); }
.step-node { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--starlight); border-radius: 50%; background: var(--surface); color: var(--starlight); font-size: 12px; font-weight: 700; }
.step-label { max-width: 100%; }
.content-list { padding-left: 24px; margin: 12px 0 24px; }
.service-offer { min-width: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 112px; container: offer / inline-size; }
.service-head { display: flex; align-items: center; gap: 12px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.service-title { min-width: 0; margin: 0; font-size: 23px; letter-spacing: -.02em; }
.service-title span { min-width: 0; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.service-layout > * { min-width: 0; }
.service-body { padding: 22px 28px; }
.service-offer h3 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--starlight); }
.service-offer .service-body p, .service-offer .service-fit p { margin: 0; font-size: 16px; }
/* Keep the benefit prominent within the existing semantic paragraph palette. */
.panel .field p.service-benefit, .service-offer .service-body p.service-benefit { color: var(--text); }
.service-body > h3 + p + h3 { margin-top: 18px; }
.service-fit { padding: 22px 28px; border-left: 1px solid var(--line); background: var(--accent-soft); }
.service-disclosure { grid-column: 1 / -1; }
.service-next { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 12px 28px; border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--radius) var(--radius); background: var(--band); }
.service-next .availability { margin: 0; font-size: 13px; }
.service-details h3 { margin-top: 20px; }
.service-details p { max-width: var(--reading-width); font-size: 15px; }
.outcome-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.outcome-layout > * { min-width: 0; }
.workflow-result, .responsibility-note { margin-block: 24px; padding: 24px; background: var(--accent-soft); border-left: 2px solid var(--starlight); }
.outcome-layout .workflow-result { margin-top: 0; }
.workflow-result h3, .responsibility-note h3 { margin-top: 0; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.workflow-result .icon-lead, .responsibility-note .icon-lead { width: 24px; height: 24px; }
.workflow-result p:last-child, .responsibility-note p:last-child { margin-bottom: 0; }
.responsibility-note p { max-width: var(--reading-width); }
.package-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 48px; }
.package-intro > p { margin: 0; }
.home-section .package-name { font-size: 14px; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; max-width: none !important; }
.value-list li { margin: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value-list strong { color: var(--text); }
.workflow-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 24px 0 0; padding: 0; max-width: none !important; }
.workflow-capabilities li { margin: 0; min-width: 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.home-section .capability-term { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--starlight); font-size: 14px; }
.workflow-capabilities h3 { margin: 0 0 12px; }
.example-record { padding: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.example-record dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 32px; margin: 0; }
.example-record dt { font-weight: 650; color: var(--text); }
.example-record dd { margin: 0; color: var(--muted); }
.back-link { margin-top: 20px; }
.about-page > .home-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 48px; }
.about-page > .home-section > h2 { grid-row: span 2; font-size: 26px; margin: 0; }
.about-page > .home-section > p { margin: 0; }
.site-information-page > .home-section { display: block; }
.site-information-page > .home-section > h2 { font-size: 26px; margin: 0 0 12px; }

/* Contact: preparation precedes collection in document and mobile order. */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; margin-top: 24px; }
.contact-guidance .home-section { margin: 0 0 32px; }
.contact-guidance h2 { font-size: 24px; margin-bottom: 16px; }
.contact-form { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 112px; }
.contact-form > h2 { margin: 0 0 10px; font-size: 26px; }
.contact-form-intro { margin: 0 0 16px; color: var(--muted); }
.contact-required-note { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; margin: 0; border: 0; min-width: 0; }
.contact-field { display: grid; gap: 6px; }
.contact-field label { font-weight: 650; }
.field-required { color: var(--starlight); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--field-border); border-radius: 6px; background: var(--bg); color: var(--text); }
.contact-field textarea { min-height: 110px; resize: vertical; }
.contact-field[data-invalid] input, .contact-field[data-invalid] textarea { border-color: var(--ember); }
.contact-field-error { min-height: 1.25em; margin: -2px 0 0; color: var(--ember); font-size: 14px; line-height: 1.4; }
.contact-field-error:empty { display: none; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.contact-submit { width: fit-content; min-height: 44px; padding: 11px 20px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--bg); font-weight: 650; transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease; }
.contact-submit:disabled { background: var(--band); color: var(--muted); border-color: var(--line); }
.contact-form[aria-busy="true"] .contact-submit { cursor: progress; }
.contact-form-next { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.contact-form-privacy { margin: -4px 0 0; color: var(--muted); font-size: 14px; }
.legal-source-links { font-size: 15px; }
.contact-status { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-status:empty { margin: 0; padding: 0; border: 0; }
.contact-status[data-state="success"] { color: var(--accent); }
.contact-status[data-state="error"] { color: var(--ember); }
.contact-fallback { margin-top: 20px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }

.site-footer { background: var(--band); border-top: 1px solid var(--line); }
.footer-inner { padding-block: 36px 20px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; }
.footer-brand { color: var(--text); font-size: 20px; font-weight: 650; text-decoration: none; }
.footer-brand:hover { text-decoration: underline; }
.footer-signature p { max-width: 34ch; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.footer-group { min-width: 0; }
.footer-group-title { margin-bottom: 8px; color: var(--starlight); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { min-width: 0; margin: 0; }
.footer-links a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 40px; color: var(--muted); font-size: 14px; line-height: 1.4; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); overflow-wrap: anywhere; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); text-decoration-color: currentColor; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.utility-page { padding: 48px var(--gutter); justify-content: center; }
.utility-page .container { width: min(100%, 540px); padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.utility-page .mark { width: 148px; height: 148px; margin: 0 auto 24px; }
.utility-page h1 { font-size: clamp(36px, 8vw, 52px); }
.description { margin-top: 18px; color: var(--muted); font-size: 14px; }
.language-choice { justify-content: center; gap: 12px; margin-top: 28px; }
.language-choice a { width: auto; padding-inline: 16px; border-color: var(--line); }

/* Keep the rotated outer arc inside the canvas just above the tablet breakpoint. */
@media (min-width: 1001px) and (max-width: 1100px) {
  .identity-field { right: 0; }
}
@media (max-width: 1000px) {
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-navigation { gap: 24px; }
  .header-inner { flex-wrap: wrap; gap: 8px 20px; }
  .header-controls { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  html { scroll-padding-top: 152px; }
  .home-section { scroll-margin-top: 152px; }
  #home { padding-right: 230px; }
  #home .mark { width: 200px; height: 200px; }
  .identity-field { top: 22px; right: -10px; width: 250px; height: 250px; }
  .hero .mark { width: 180px; height: 180px; }
  .service-layout, .outcome-layout, .contact-layout { gap: 0; }
  .catalogue { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; }
  .catalogue-index { top: 152px; }
  .service-offer { scroll-margin-top: 160px; }
  .workflow-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid > :last-child { grid-column: 1 / -1; }
  .band { scroll-margin-top: 152px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  html { scroll-padding-top: 20px; }
  .site-header { position: relative; }
  .header-inner { gap: 4px 8px; padding-block: 8px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand-mark { width: 26px; height: 26px; }
  .site-nav { gap: 0 16px; }
  .site-nav a { font-size: 13px; }
  #home { padding: 24px 0 16px; }
  .identity-field { display: none; }
  #home h1 { font-size: clamp(34px, 7vw, 44px); }
  #home .mark { width: 80px; height: 80px; padding: 0; margin-bottom: 20px; }
  .hero .mark { position: static; width: 64px; height: 64px; margin-bottom: 16px; }
  h1 { font-size: clamp(34px, 7vw, 42px); }
  .hero h1 { margin-bottom: 20px; }
  .product-page .hero { padding-top: 20px; }
  .product-page h1 { font-size: 36px; }
  .intro { font-size: 17px; }
  .home-section { margin-top: 40px; scroll-margin-top: 20px; }
  .home-section > h2 { margin-bottom: 20px; }
  .band { margin-top: 44px; scroll-margin-top: 20px; }
  .band-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
  .band-head .band-aside { grid-column: 1; grid-row: auto; margin-top: 12px; padding: 0 0 0 12px; border-left: 2px solid var(--line); text-align: left; }
  .grid-2, .value-list, .workflow-capabilities, .service-layout, .outcome-layout, .contact-layout, .package-intro, .about-page > .home-section, .site-information-page > .home-section, .skill-offer-summary { grid-column: auto; grid-template-columns: 1fr; gap: 24px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid > :last-child { grid-column: auto; }
  .skill-offer { scroll-margin-top: 20px; }
  .catalogue { grid-template-columns: 1fr; gap: 20px; }
  .catalogue-index { position: static; }
  .workbench-index { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .workbench-index ol { grid-template-columns: 1fr; }
  .service-offer { scroll-margin-top: 20px; }
  .service-layout { gap: 0; }
  .method-section { grid-template-columns: 1fr; }
  /* Wrapped rows cannot carry a horizontal rung, so the numbers alone hold the order. */
  .method-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 0; }
  .method-steps li + li::before { content: none; }
  .panel-head, .service-head, .skill-offer-head { min-height: 0; padding: 16px 20px; }
  .panel-body, .panel-foot, .service-body, .service-fit, .service-next, .method-body, .skill-offer-body, .skill-offer-fit, .skill-purchase { padding-inline: 20px; }
  .offer-disclosure { padding-inline: 20px; }
  .purchase-note-tooltip { left: auto; right: 0; width: min(280px, calc(100vw - (2 * var(--gutter)))); transform: translateY(0); }
  .purchase-note-tip-wrap:hover .purchase-note-tooltip, .purchase-note-tip-wrap:focus-within .purchase-note-tooltip { transform: translateY(-2px); }
  .purchase-note-tooltip::after { left: auto; right: 6px; transform: translateY(-5px) rotate(45deg); }
  .service-fit { border-left: 0; border-top: 1px solid var(--line); }
  .skill-offer-summary { gap: 0; }
  .skill-offer-fit { border-left: 0; border-top: 1px solid var(--line); }
  .package-intro { gap: 12px; }
  .package-intro > h2, .about-page > .home-section > h2, .site-information-page > .home-section > h2 { grid-row: auto; }
  .workflow-capabilities { gap: 8px; }
  .workflow-capabilities li { padding-top: 20px; }
  .workflow-capabilities h3 { font-size: 21px; }
  .example-record { padding: 20px; }
  .example-record dl { grid-template-columns: 1fr; gap: 8px; }
  .example-record dd + dt { margin-top: 16px; }
  #about, .workflow-result, .responsibility-note, .note-panel { padding: 24px; }
  .contact-layout { margin-top: 24px; }
  .contact-form { padding: 20px; }
  .footer-inner { padding-block: 32px 20px; }
  .footer-navigation { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer-links a { min-height: 44px; }
  .footer-legal { display: grid; gap: 4px; }
  .homepage { padding-bottom: 40px; }
  .utility-page .container { padding: 24px; }
}
@media (max-width: 380px) {
  .site-nav { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .site-nav a { width: fit-content; }
  .header-controls, .header-controls .language-switch { gap: 0; }
  .brand { font-size: 15px; gap: 4px; }
  .brand-mark { width: 22px; height: 22px; }
}
/* Panels sit in columns of different widths at the same viewport, so they size against their own column. */
@container panel (max-width: 340px) {
  .panel-head { min-height: 0; padding: 14px 18px; }
  .panel-head h3 { font-size: 18px; }
  .panel-head .icon-lead { width: 22px; height: 22px; }
  .panel-body, .panel-foot { padding-inline: 18px; }
  .panel-foot { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; }
  /* flex-basis is a height once the foot stacks, so the full-row availability rule has to stand down. */
  .panel-foot .availability { flex-basis: auto; }
  .panel-price { align-self: flex-start; margin-bottom: 6px; }
  .panel-foot .action { width: 100%; }
}
@container offer (max-width: 560px) {
  .service-layout { grid-template-columns: minmax(0, 1fr); }
  .service-fit { border-left: 0; border-top: 1px solid var(--line); }
  .skill-purchase { flex-direction: column; align-items: stretch; }
  .skill-purchase .availability:first-child, .skill-purchase .purchase-note { flex-basis: auto; }
  .skill-purchase .panel-price { align-self: flex-start; }
  .skill-purchase .action { width: 100%; }
}
/* Reduced motion removes the movement outright rather than shortening it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .action-primary:hover, .action-secondary:hover, .contact-submit:not(:disabled):hover, .action:hover span[aria-hidden] { transform: none; }
  .action:hover .action-arrow { transform: none; }
}
/* Multi-page navigation gets a transition only where motion is welcome; unsupporting browsers just navigate. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
  .site-header { view-transition-name: site-header; }
}
@media (forced-colors: active) {
  a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline-color: Highlight; }
  .action-primary, .contact-submit { border-color: ButtonText; }
  /* Atmosphere is decoration: the high-contrast user gets the skeleton without the sky. */
  body, .page-expressive { background-image: none; }
  .identity-field, .identity-divider::before, .identity-divider::after { display: none; }
  .identity-divider, .about-page > .home-section, .site-information-page > .home-section, .workbench-page > .home-section, .contact-guidance .home-section { border-top-color: CanvasText; }
  .panel, .service-offer, .skill-offer, .catalogue-index, .workbench-index, .method-section, .note-panel { border-color: CanvasText; }
  .site-footer, .footer-legal { border-color: CanvasText; }
  .footer-links a { color: LinkText; text-decoration-color: currentColor; }
  .footer-links a:hover, .footer-links a:focus-visible { color: LinkText; }
}

/* One quiet navigation aid; never continuously animated. */
.back-to-top {
  z-index: 9; right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 0; border: 1px solid var(--accent); background: var(--surface); color: var(--accent);
  box-shadow: 0 4px 16px rgb(0 0 0 / .14); opacity: 0; visibility: hidden;
  pointer-events: none; transform: translateY(8px);
}
.back-to-top .icon { width: 22px; height: 22px; }
.back-to-top[data-visible="true"] { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--band); }
@media (prefers-reduced-motion: no-preference) {
  .back-to-top { transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transform: none; } }
@media (forced-colors: active) {
  .back-to-top { border-color: ButtonText; background: ButtonFace; color: ButtonText; box-shadow: none; }
}
