:root {
      color-scheme: dark;
      --text: #f1f5f9;
      --muted: #a8b5ca;
      --accent: #a5b4fc;
      --accent-hover: #c7d2fe;
      --brand: #4f46e5;
      --brand-hover: #4338ca;
      --line: #29364d;
      --line-2: #394575;
      --line-3: #53628b;
      --radius-control: 8px;
      --radius-panel: 12px;
      --radius-card: 16px;
      --background: #0f172a;
      --surface: #162033;
      --width: 1120px;
      --font-display: "Larsseit", "Segoe UI", Arial, sans-serif;
    }
    @font-face { font-family: "Larsseit"; src: url("fonts/Larsseit.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
    @font-face { font-family: "Larsseit"; src: url("fonts/Larsseit-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
    @font-face { font-family: "Reckless Neue"; src: url("fonts/RecklessNeue-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; color: var(--text); background: var(--background); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
    h1, h2, h3, p { margin: 0; }
    a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
    a:hover { color: var(--accent-hover); }
    :focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
    button { font: inherit; }
    img { display: block; max-width: 100%; height: auto; }
    .link-arrow { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; margin-inline-start: .3em; vertical-align: -.125em; }
    .container { width: min(var(--width), 100% - 64px); margin-inline: auto; }
    [id] { scroll-margin-top: 100px; }
    .skip-link { position: fixed; top: 12px; left: 20px; z-index: 20; padding: 10px 16px; background: var(--background); transform: translateY(-180%); }
    .skip-link:focus { transform: none; }
    /* Blur kernel cost scales with radius and runs every scrolled frame; a smaller
       radius over a more opaque background keeps the glass look much cheaper. */
    .site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgb(255 255 255 / .07); background: rgb(15 23 42 / .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
    .brand img { width: 148px; }
    .brand-mark { display: block; }
    .brand-word { font-size: 26px; letter-spacing: -.035em; line-height: 1; }
    .brand-word strong { font-weight: 600; }
    @keyframes brand-draw { to { stroke-dashoffset: 0; } }
    @keyframes brand-dot { from { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.3); } to { opacity: 1; transform: scale(1); } }
    @media (prefers-reduced-motion: no-preference) {
      .brand-mark-frame { stroke-dasharray: 128; stroke-dashoffset: 128; animation: brand-draw 800ms ease-out 200ms forwards; }
      .brand-mark-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: brand-dot 400ms cubic-bezier(.34, 1.56, .64, 1) 1000ms forwards; }
    }
    .site-nav { display: flex; gap: 32px; align-items: center; }
    .site-nav a { color: var(--muted); font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: 6px; padding-block: 12px; }
    .site-nav a:hover { color: var(--accent); text-decoration-color: rgb(165 180 252 / .6); }
    .site-nav[hidden], .menu-button[hidden] { display: none; }
    .menu-button { background: var(--background); border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--text); padding: 9px 16px; min-height: 44px; cursor: pointer; }
    .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 600; color: var(--accent); }
    .eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: 0 0 auto; }
    .eyebrow-pill { display: inline-flex; width: fit-content; padding: 7px 14px; border: 1px solid rgb(165 180 252 / .25); border-radius: 100px; background: rgb(165 180 252 / .06); letter-spacing: .14em; }
    .eyebrow-pill::before { width: 6px; height: 6px; border-radius: 1px; }
    .hero { padding-block: 86px 42px; }
    .hero-heading-line { display: block; }
    /* The thesis set in type: "Think big." in the house grotesque, "Start tiny."
       answering in the serif italic, growing into place from small. */
    .hero-heading-accent { color: var(--accent); font-family: "Reckless Neue", Georgia, serif; font-style: italic; font-weight: 700; letter-spacing: -.015em; padding-right: .06em; }
    @supports (-webkit-background-clip: text) or (background-clip: text) {
      .hero-heading-accent { background: linear-gradient(100deg, #c7d2fe 10%, #818cf8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    }
    /* Section headings may answer in the same serif accent voice (AccentLines). */
    .heading-accent { font-family: "Reckless Neue", Georgia, serif; font-style: italic; font-weight: 700; letter-spacing: -.015em; padding-right: .06em; color: var(--accent); }
    @supports (-webkit-background-clip: text) or (background-clip: text) {
      .heading-accent { background: linear-gradient(100deg, #c7d2fe 10%, #818cf8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    }
    @keyframes hero-think-in { from { opacity: 0; transform: translateY(16px); } }
    @keyframes hero-tiny-in {
      0% { opacity: 0; transform: scale(.4); }
      55% { opacity: 1; }
      78% { transform: scale(1.045); }
      100% { opacity: 1; transform: scale(1); }
    }
    @media (prefers-reduced-motion: no-preference) {
      .hero-heading-line:not(.hero-heading-accent) { animation: hero-think-in 560ms cubic-bezier(.2, .7, .2, 1) both; }
      .hero-heading-accent { transform-origin: 6% 72%; animation: hero-tiny-in 820ms cubic-bezier(.3, 1, .4, 1) 420ms both; }
      /* A settled hero (the Admin draft preview) shows the finished headline too. */
      [data-motion-settled] .hero-heading-line { animation: none; }
    }
    h1 { margin-top: 24px; font-family: var(--font-display); font-size: clamp(56px, 7vw, 94px); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; }
    .hero-detail { color: var(--muted); max-width: 480px; margin-top: 16px; font-size: 16px; }
    .hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 30px; }
    .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 12px; padding: 11px 22px; border: 1px solid var(--brand); border-radius: var(--radius-control); color: #ffffff; background: var(--brand); font-size: 14px; font-weight: 600; text-decoration: none; }
    .button:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #ffffff; }
    .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgb(241 245 249 / .35); text-underline-offset: 6px; }
    .text-link:hover { text-decoration-color: var(--accent); }
    .section { padding-block: 100px; border-top: 1px solid var(--line); }
    /* clip, not hidden: overflow:hidden makes the section a scroll container and breaks view() timelines inside it */
    .section[data-num] { position: relative; overflow: hidden; overflow: clip; }
    .section[data-num]::before { content: attr(data-num); position: absolute; top: 48px; right: 24px; font-size: 180px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: rgb(165 180 252 / .055); pointer-events: none; }
    .section[data-num] > .container { position: relative; }
    .section-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; }
    .section-heading h2 { margin-top: 14px; font-family: var(--font-display); font-size: 40px; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
    .section-heading p { color: var(--muted); font-size: 14px; margin-top: 18px; }
    .section-heading .eyebrow { color: var(--accent); font-size: 11px; margin-top: 0; }
    .about-copy { font-size: 19px; line-height: 1.7; max-width: 700px; }
    .about-copy p + p { margin-top: 16px; }
    .about-copy p + p { color: var(--muted); font-size: 16px; }
    .skills { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 36px; }
    .skill { border-top: 1px solid var(--line); padding-top: 16px; }
    .skill h3 { font-size: 15px; font-weight: 600; }
    .skill p { margin-top: 6px; font-size: 14px; color: var(--muted); }
    .solutions, .work-section { background: var(--surface); }
    .project { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
    .project:first-child { padding-top: 0; }
    .project:last-child { border: 0; padding-bottom: 0; }
    .project-number { font-size: 12px; color: var(--accent); padding-top: 4px; font-variant-numeric: tabular-nums; }
    .project h3 { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
    .project h3 a { color: var(--text); text-decoration: none; }
    .project h3 a:hover { color: var(--accent); text-decoration: underline; }
    .project p { color: var(--muted); margin-top: 10px; font-size: 15px; }
    .project .project-stack { font-size: 12px; margin-top: 12px; }
    .project-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .project-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; font-size: 13px; }
    .project > div { min-width: 0; }
    .project-figure { margin: 24px 0 0; }
    .work-section .section-grid { row-gap: 32px; }
    .project-figure--wide { grid-column: 1 / -1; margin: 0; min-width: 0; }
    .project-figure figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.6; }
    .project-screenshot { display: block; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; }
    .project-screenshot img { display: block; width: 100%; height: auto; }
    .reporting-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
    .reporting-flow li { position: relative; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius-control); }
    .reporting-flow li + li::before { content: "→"; position: absolute; left: -23px; top: 50%; transform: translateY(-50%); color: var(--accent); }
    .reporting-flow strong { display: block; font-size: 14px; font-weight: 600; }
    .reporting-flow span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
    .experience { display: grid; gap: 32px; }
    .experience-item + .experience-item { border-top: 1px solid var(--line); padding-top: 28px; }
    .experience-meta { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
    .experience h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
    .experience p { color: var(--muted); margin-top: 10px; font-size: 15px; }
    .contact { background: #0b1220; color: var(--text); }
    .contact-copy p { font-size: 19px; max-width: 540px; color: #cbd5e1; }
    .site-footer { background: #0b1220; color: #cbd5e1; border-top: 1px solid var(--line); }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; font-size: 12px; }
    .footer-inner img { width: 124px; }
    .site-nav .nav-contact { color: var(--text); border: 1px solid rgb(255 255 255 / .18); border-radius: var(--radius-control); padding: 9px 16px; background: rgb(255 255 255 / .04); }
    .hero-layout { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 48px; }
    .hero-subtitle { margin-top: 28px; max-width: 480px; font-size: 22px; line-height: 1.45; letter-spacing: -.02em; }
    .hero-footnote { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
    .hero-footnote strong { font-weight: 400; color: var(--text); }
    .section-heading-wide { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
    .section-heading-wide > p { max-width: 360px; }
    .process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
    .process li { padding-top: 16px; border-top: 1px solid var(--line); }
    /* Same chip treatment as the MCP journey steps. */
    .step-number { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgb(165 180 252 / .4); border-radius: var(--radius-control); color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
    .process h3 { font-size: 18px; margin-top: 20px; font-weight: 600; }
    .process p { color: var(--muted); font-size: 14px; margin-top: 10px; }
    .section-note { color: var(--muted); font-size: 13px; margin-top: 28px; }
    /* The tiers sit on one path, not in separate boxes: a dotted rail runs above
       the row (the journey device from the Why section) and draws in with scroll. */
    .solution-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 26px; }
    .solution-grid::before, .solution-grid::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; border-top: 2px dotted rgb(255 255 255 / .14); }
    .solution-grid::after { border-top-color: rgb(165 180 252 / .6); transform: scaleX(0); transform-origin: left; }
    .solution-card { display: flex; flex-direction: column; padding: 30px 26px 22px; background: linear-gradient(180deg, #131e33, var(--background)); border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
    .solution-card:nth-child(2) { border-top-color: var(--accent); }
    .solution-mark { height: 32px; margin-bottom: 26px; color: var(--accent); }
    .solution-mark svg { display: block; width: 32px; height: 32px; }
    .solution-card h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.03em; font-weight: 700; }
    .solution-promise { margin-top: 8px; font-size: 15px; }
    .solution-audience { color: var(--muted); font-size: 14px; margin-top: 12px; }
    .solution-card ul { padding-left: 18px; margin: 22px 0 26px; font-size: 14px; color: var(--muted); }
    .solution-card li { margin-block: 6px; }
    .solution-card li::marker { color: var(--accent); }
    .solution-card .text-link { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; justify-content: space-between; gap: 12px; }
    .care-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; list-style: none; margin: 0; padding: 0; }
    .care-list li { border-top: 1px solid var(--line); padding-top: 16px; }
    .benefits h3, .care-list h3 { font-size: 16px; font-weight: 600; }
    .benefits p, .care-list p { color: var(--muted); font-size: 14px; margin-top: 6px; }
    /* 03: the benefits read as milestones on a journey rail that draws with scroll. */
    .benefits { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; max-width: 560px; }
    .benefits::before, .benefits::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 0; border-left: 2px dotted rgb(255 255 255 / .16); }
    .benefits::after { border-left-color: rgb(165 180 252 / .6); transform: scaleY(0); transform-origin: top; }
    .benefits li { position: relative; padding-left: 38px; }
    .benefits li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #7c8ab4; }
    .benefits li:last-child::before { background: #6ee7b7; }
    .managed { background: #121d32; }
    .managed .text-link { margin-top: 18px; }
    details { border-top: 1px solid var(--line); margin-top: 28px; }
    /* One disclosure indicator only: the native marker is replaced by a chevron
       (the article TOC brings its own svg chevron instead). */
    /* Every disclosure opens with the same smooth height animation; browsers
       without ::details-content support keep the instant toggle. */
    details { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow-y: clip; }
    details[open]::details-content { block-size: auto; }
    @media (prefers-reduced-motion: no-preference) {
      details::details-content { transition: block-size 280ms ease, content-visibility 280ms allow-discrete; }
    }
    summary { cursor: pointer; padding-block: 18px; color: var(--accent); font-size: 14px; list-style: none; }
    summary::-webkit-details-marker { display: none; }
    .section details summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: 2px; }
    .section details[open] summary::after { transform: rotate(-135deg); vertical-align: -2px; }
    details .skills { margin-top: 12px; padding-bottom: 12px; }
    .pricing-options { padding-left: 20px; color: var(--muted); font-size: 15px; }
    .pricing-options li { margin-block: 8px; }
    .contact .section-heading h2 { font-size: 40px; }
    .contact-copy .section-note { color: var(--muted); font-size: 13px; }
    .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
    .contact-links a { overflow-wrap: anywhere; }
    .enquiry-form { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--background); }
    .enquiry-form[hidden], .enquiry-form [hidden] { display: none; }
    .enquiry-steps { display: flex; gap: 24px; padding: 0 0 20px; margin: 0 0 24px; list-style: none; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    .enquiry-steps [aria-current="step"] { color: var(--accent); }
    .enquiry-steps span { margin-right: 8px; font-variant-numeric: tabular-nums; }
    .enquiry-form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
    .enquiry-form legend, .field-label { display: block; margin-bottom: 10px; color: var(--text); font-size: 14px; font-weight: 600; }
    .project-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .project-option { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-control); cursor: pointer; font-size: 14px; }
    .project-option:has(:checked) { border-color: var(--accent); background: #1d2945; }
    .project-option:has(:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
    .project-option input { accent-color: var(--accent); margin: 0; flex: 0 0 auto; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-field { min-width: 0; margin-bottom: 22px; }
    .field-label span { color: var(--muted); font-weight: 400; }
    .enquiry-input { display: block; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #64748b; border-radius: var(--radius-control); background: #0b1220; color: var(--text); font: inherit; line-height: 1.5; }
    .enquiry-input::placeholder { color: #8898b0; opacity: 1; }
    textarea.enquiry-input { min-height: 150px; resize: vertical; }
    .enquiry-input[aria-invalid="true"] { border-color: #fca5a5; }
    .enquiry-input[data-valid] { border-color: #6bbcac; }
    .contact-copy .field-hint, .contact-copy .field-error, .contact-copy .form-note, .contact-copy .field-count { max-width: none; font-size: 12px; line-height: 1.6; }
    .contact-copy .field-hint, .contact-copy .form-note, .contact-copy .field-count { color: var(--muted); }
    .contact-copy .field-error { color: #fca5a5; margin-top: 7px; }
    .field-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
    .field-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
    .enquiry-form .form-error { padding: 14px 16px; margin-bottom: 24px; border: 1px solid #a45a68; border-radius: var(--radius-control); background: #2c1c2a; }
    .contact-copy .form-error p { font-size: 14px; color: #fecaca; }
    .form-error ul { padding-left: 18px; margin: 8px 0 0; font-size: 13px; }
    .form-error a { color: #fecaca; }
    .form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
    .enquiry-form button { cursor: pointer; }
    .enquiry-form button:disabled { cursor: wait; opacity: .65; }
    .button-secondary { background: transparent; border-color: #64748b; color: var(--text); font-weight: 400; }
    .button-secondary:hover { background: var(--surface); border-color: #64748b; }
    .contact-copy .review-title { font-family: var(--font-display); font-size: 23px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
    .enquiry-review dl { margin: 24px 0; }
    .enquiry-review dt { font-size: 12px; color: var(--muted); margin-top: 18px; }
    .enquiry-review dd { margin: 4px 0 0; font-size: 15px; overflow-wrap: anywhere; white-space: pre-wrap; }
    .contact-copy .enquiry-success p { overflow-wrap: anywhere; color: var(--muted); font-size: 15px; margin-top: 12px; }
    .success-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid #6bbcac; border-radius: 50%; color: #9ce0d0; font-size: 22px; }
    .contact-fallback { margin-top: 24px; }
    .contact-copy .contact-fallback p { font-size: 14px; color: var(--muted); }
    .form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
    .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    @keyframes menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
    @media (prefers-reduced-motion: no-preference) {
      html { scroll-behavior: smooth; }
      a, button { transition: color 160ms ease, background-color 160ms ease; }
      .link-arrow { transition: transform 200ms ease; }
      :is(a, button):hover > .link-arrow { transform: translateX(4px); }
      .section details summary::after { transition: transform 200ms ease; }
    }
    /* Scroll-driven reveals: progressive enhancement, browsers without scroll
       timelines (and reduced-motion users) get the static page unchanged.
       Elements with their own hover/JS transforms only fade, never translate. */
    @keyframes line-draw { from { transform: scaleX(0); } }
    @keyframes rail-draw { to { transform: scaleY(1); } }
    @keyframes rail-draw-x { to { transform: scaleX(1); } }
    @keyframes reveal-rise { from { opacity: 0; transform: translateY(26px); } }
    @keyframes reveal-fade { from { opacity: 0; } }
    @keyframes reveal-frame { from { opacity: 0; transform: perspective(1400px) rotateX(6deg) translateY(22px) scale(.975); } }
    @keyframes numeral-drift { from { transform: translateY(70px); } to { transform: translateY(-40px); } }
    @supports (animation-timeline: view()) {
      @media (prefers-reduced-motion: no-preference) {
        .section-heading, .process li, .skill, .benefits li, .care-list li, .experience-item,
        .reporting-flow li, .project, .included-strip, .pricing-options li {
          animation: reveal-rise linear both; animation-timeline: view(); animation-range: entry 10% entry 45%;
        }
        /* Section hairlines draw in from the left over the first ~320px of scroll. */
        .section { position: relative; border-top-color: transparent; }
        .section::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line); transform-origin: left; animation: line-draw linear both; animation-timeline: view(); animation-range: entry 0% entry 320px; }
        .solution-card { animation: reveal-fade linear both; animation-timeline: view(); animation-range: entry 10% entry 45%; }
        .cms-frame { animation: reveal-frame linear both; animation-timeline: view(); animation-range: entry 5% entry 40%; }
        :is(.process li, .solution-card, .reporting-flow li):nth-child(2) { animation-range: entry 20% entry 55%; }
        :is(.process li, .solution-card, .reporting-flow li):nth-child(3) { animation-range: entry 30% entry 65%; }
        :is(.care-list li, .skill):nth-child(even) { animation-range: entry 18% entry 53%; }
        .benefits::after { animation: rail-draw linear both; animation-timeline: view(); animation-range: entry 20% exit 45%; }
        .solution-grid::after { animation: rail-draw-x linear both; animation-timeline: view(); animation-range: entry 10% entry 55%; }
        .section[data-num]::before { animation: numeral-drift linear both; animation-timeline: view(); animation-range: entry exit; }
      }
    }
    /* Pinned stepper (scrollytelling): the how-it-works section grows tall, its content
       sticks, and the steps activate in sequence while the extra height scrolls past.
       Desktop + scroll-timeline support + motion OK only; everyone else gets the
       normal static section. The section already uses overflow: clip, so sticky and
       view() both keep working inside it. */
    @keyframes hiw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes hiw-step1 {
      0%, 26% { opacity: 1; background: rgb(79 70 229 / .18); border-color: rgb(129 140 248 / .55); transform: translateY(-6px); }
      36%, 100% { opacity: .5; }
    }
    @keyframes hiw-step2 {
      0%, 28% { opacity: .4; }
      36%, 62% { opacity: 1; background: rgb(79 70 229 / .18); border-color: rgb(129 140 248 / .55); transform: translateY(-6px); }
      72%, 100% { opacity: .5; }
    }
    @keyframes hiw-step3 {
      0%, 62% { opacity: .4; }
      72%, 100% { opacity: 1; background: rgb(79 70 229 / .18); border-color: rgb(129 140 248 / .55); transform: translateY(-6px); }
    }
    @supports (animation-timeline: view()) {
      @media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
        .hiw { view-timeline-name: --hiw; block-size: 260vh; padding-block: 0; }
        .hiw-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
        /* flex-basis stays auto so the container's own width (with its 32px gutters) governs */
        .hiw-sticky > .container { width: min(var(--width), 100% - 64px); flex: 0 1 auto; }
        .hiw .process { position: relative; padding-top: 30px; }
        .hiw .process::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: rgb(255 255 255 / .08); }
        .hiw .process::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform-origin: left; animation: hiw-progress linear both; animation-timeline: --hiw; animation-range: contain 0% contain 100%; }
        .hiw .process li { position: relative; border-top: 0; padding: 24px 22px; border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius-card); background: rgb(255 255 255 / .02); opacity: .4; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --hiw; animation-range: contain 0% contain 100%; }
        .hiw .process li:nth-child(1) { animation-name: hiw-step1; }
        .hiw .process li:nth-child(2) { animation-name: hiw-step2; }
        .hiw .process li:nth-child(3) { animation-name: hiw-step3; }
        .hiw .process li + li::before { content: "→"; position: absolute; left: -26px; top: 50%; transform: translateY(-50%); color: var(--muted); }
        .hiw .section-note { margin-top: 36px; }
      }
    }
    @media (max-width: 960px) {
      .hero-layout { grid-template-columns: 1.3fr 1fr; gap: 24px; }
      .solution-card { padding: 24px 20px 20px; }
      .section-heading-wide { display: block; }
      .section-heading-wide > p { max-width: 560px; }
      .hero { padding-block: 64px 48px; }
      .section-grid { grid-template-columns: 1fr; gap: 40px; }
      .section-heading p { max-width: none; }
    }
    @media (max-width: 720px) {
      .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 16px; }
      .site-nav.is-enhanced { width: auto; }
      .site-nav .nav-contact { border: 0; padding: 12px 0; background: none; border-radius: 0; }
      .hero-layout { grid-template-columns: 1fr; gap: 36px; }
      .hero-subtitle { font-size: 20px; }
      .hero-footnote { margin-top: 32px; }
      .solution-grid { grid-template-columns: 1fr; gap: 16px; }
      .solution-card { padding: 24px; }
      .solution-mark { margin-bottom: 16px; }
      .solution-card ul { margin-block: 16px; }
      .process { gap: 20px; }
      .process h3 { font-size: 17px; }
      .contact .section-heading h2 { font-size: 34px; }
      .container { width: min(var(--width), 100% - 40px); }
      .header-inner { position: relative; min-height: 72px; flex-wrap: wrap; gap: 0; }
      .brand img { width: 130px; }
      .brand { min-height: 44px; align-items: center; }
      .brand-mark { width: 31px; height: 31px; }
      .brand-word { font-size: 23px; }
      .menu-button { min-width: 78px; }
      .site-nav.is-enhanced { position: absolute; top: 100%; left: -20px; right: -20px; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 20px 16px; max-height: calc(100dvh - 73px); overflow-y: auto; background: var(--background); border-bottom: 1px solid var(--line); }
      .site-nav a { padding: 12px 0; }
      .text-link, .project-links a { display: inline-flex; align-items: center; min-height: 44px; }
      .project-links { gap: 4px 20px; font-size: 14px; }
      .project { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
      .project p, .experience p { font-size: 16px; }
      .skill p { font-size: 15px; }
      .project .project-stack, .experience-meta, .project-figure figcaption, .reporting-flow span { font-size: 13px; }
      .project-figure--wide figcaption a { display: flex; align-items: center; width: fit-content; min-height: 44px; }
      .hero { padding-block: 40px; }
      .section[data-num]::before { font-size: 110px; top: 24px; right: 12px; }
      h1 { font-size: clamp(46px, 9vw, 64px); margin-top: 24px; }
      .hero-detail { font-size: 16px; }
      .section { padding-block: 48px; }
      .section-grid { grid-template-columns: 1fr; gap: 32px; }
      .section-heading p { max-width: none; margin-top: 12px; }
      .section-heading h2 { font-size: 32px; }
      .skills { gap: 24px; }
      .footer-inner { min-height: 96px; gap: 20px; }
      .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 24px; }
      .footer-inner p { max-width: none; text-align: left; }
    }
    @media (max-width: 540px) {
      .enquiry-form { padding: 20px 16px; }
      .field-row, .project-options { grid-template-columns: 1fr; }
      .field-row { gap: 0; }
      .field-meta { flex-wrap: wrap; gap: 4px; }
      .enquiry-form .form-actions .button { width: 100%; }
      .process, .care-list { grid-template-columns: 1fr; }
      .process h3 { margin-top: 8px; font-size: 19px; }
      .process p, .benefits p, .care-list p { font-size: 15px; }
      .hero-links { gap: 8px 20px; }
      .skills { grid-template-columns: 1fr; }
      .reporting-flow { grid-template-columns: 1fr; }
      .reporting-flow li + li::before { content: "↓"; left: 50%; top: -28px; transform: translateX(-50%); }
    }
    @media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
      .site-nav:not([hidden]) { animation: menu-enter 160ms ease-out; }
    }
      .included-strip > .page-rich-copy { font-size: 14px; color: var(--muted); }
    .contact-fallback > .page-rich-copy { font-size: 14px; color: var(--muted); }
    .page-rich-copy > :first-child { margin-top: 0; }
    .page-rich-copy > :last-child { margin-bottom: 0; }
    .section-heading > .page-rich-copy { color: var(--muted); line-height: 1.7; }
