:root{--ink:#0a0a0a;--gold:#fc0;--paper:#f7f7f5;--muted:#565650;--line:#dcdcd7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:#fff;font-family:'Instrument Sans',Arial,sans-serif;font-size:17px;line-height:1.6}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Bricolage Grotesque',Arial,sans-serif;letter-spacing:-.045em;line-height:1.05}h2{font-size:clamp(2.6rem,5.4vw,5rem)}h3{font-size:clamp(1.6rem,2.5vw,2.25rem)}.wrap{max-width:1320px;padding:0 48px;margin:auto}.section{padding:140px 0}.eyebrow,.mono,.service-label,.tools,.steps span{font:500 .78rem/1.5 'IBM Plex Mono',monospace;letter-spacing:.12em;text-transform:uppercase}.gold{color:var(--gold)}.skip{position:absolute;left:12px;top:-80px;z-index:20;background:var(--gold);padding:10px}.skip:focus{top:10px}.header{height:80px;background:var(--ink);color:#fff;position:sticky;top:0;z-index:10;border-bottom:1px solid #333}.nav{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-family:'Bricolage Grotesque',sans-serif;font-size:1.3rem;font-weight:800;line-height:1}.brand img{width:36px;height:36px}.brand small{display:block;font:500 .58rem/1.5 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.19em;margin-top:4px}.nav nav{display:flex;align-items:center;gap:36px;font-size:.91rem}.nav nav a{text-decoration:none}.nav nav a:hover{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}.nav-cta{border:1px solid #777;padding:10px 16px}.menu-toggle{display:none}.hero{min-height:690px;background:var(--ink);color:#fff;position:relative;overflow:hidden}.hero-grid{position:absolute;inset:0 0 0 62%;border-left:1px solid #333}.hero-grid:before{content:'';position:absolute;top:49%;width:100%;border-top:1px solid #333}.hero-grid span{position:absolute;left:-6px;top:calc(49% - 6px);width:11px;height:11px;background:var(--gold)}.hero-inner{min-height:690px;position:relative;display:flex;flex-direction:column;justify-content:center}.hero-copy{padding:70px 0 90px;max-width:950px}.hero h1{font-size:clamp(4.5rem,9.7vw,9.4rem);line-height:.94;margin:35px 0 34px}.hero h1 span{position:relative;white-space:nowrap;z-index:0}.hero h1 span:after,.underline:after{content:'';position:absolute;z-index:-1;left:0;right:0;bottom:.02em;height:.17em;background:var(--gold)}.hero-lead{font-size:clamp(1.2rem,2vw,1.55rem);max-width:580px;color:#c6c6c2;line-height:1.5}.actions{display:flex;align-items:center;gap:32px;margin-top:40px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:15px 23px;text-decoration:none;font-weight:700;transition:background .2s,color .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button-gold{background:var(--gold);color:var(--ink)}.button-gold:hover{background:#fff}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:#fff;color:var(--ink)}.text-link{text-underline-offset:6px;text-decoration-color:var(--gold);font-weight:600}.hero-note{position:absolute;right:48px;bottom:150px;font-size:.85rem;color:#bbb;display:flex;gap:15px;align-items:flex-start}.note-mark{width:12px;height:12px;border:1px solid var(--gold);margin-top:6px}.hero-bottom{position:absolute;bottom:30px;left:48px;right:48px;display:flex;justify-content:space-between;color:#aaa;font-size:.69rem}.split{display:grid;grid-template-columns:1fr 2fr;gap:60px}.split>div{max-width:830px}.split .eyebrow{padding-top:12px}.underline{position:relative;z-index:0}.large{font-size:clamp(1.35rem,2.2vw,1.75rem);line-height:1.4;margin-top:38px}.split div>p:last-child{max-width:660px;color:var(--muted);margin-top:20px}.services{background:var(--paper)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:70px}.section-head h2{margin-top:24px}.section-head>p{max-width:350px;color:var(--muted)}.service-list{border-top:1px solid var(--ink)}.service{display:grid;grid-template-columns:1fr 2fr;gap:60px;padding:42px 0;border-bottom:1px solid #c5c5c0}.service-label{padding-left:18px;position:relative}.service-label:before{content:'';position:absolute;left:0;top:4px;width:8px;height:8px;background:var(--colour)}.ai{--colour:#6b4fe0}.training{--colour:#1e8a5b}.data{--colour:#d9622b}.microsoft{--colour:#0078d4}.cloud{--colour:#1f6feb}.service h3{margin-bottom:14px}.service p:not(.tools){color:var(--muted);max-width:640px}.tools{margin-top:20px;color:#676761;font-size:.69rem;letter-spacing:.04em;text-transform:none}.approach{background:var(--ink);color:#fff}.approach .section-head>p{color:#bbb}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.steps article{border-top:1px solid #666;padding-top:24px}.steps span{color:var(--gold)}.steps h3{margin:50px 0 16px}.steps p{color:#bdbdb7;max-width:340px}.workshop{background:var(--gold);padding:95px 0}.workshop-inner{display:flex;justify-content:space-between;align-items:end;gap:40px}.workshop h2{margin:22px 0}.workshop p:not(.eyebrow){max-width:600px}.contact{background:#171715;color:#fff}.contact-grid{display:grid;grid-template-columns:2fr 1fr;gap:70px}.contact h2{font-size:clamp(3.5rem,7vw,7rem);margin:28px 0}.contact-grid>div>p:not(.eyebrow){color:#bbb;max-width:490px}.contact .button{margin-top:32px}.contact-details{border-top:1px solid #777;padding-top:22px;align-self:end}.contact-details .eyebrow{color:#aaa;margin-bottom:28px}.contact-details a{display:block;text-decoration:none;font-size:clamp(1rem,1.55vw,1.25rem);margin-bottom:10px;overflow-wrap:anywhere}.contact-details a:hover{text-decoration:underline;text-decoration-color:var(--gold)}.contact-details p:last-child{margin-top:32px;font-size:.9rem}footer{background:var(--ink);color:#fff;border-top:1px solid #393939;padding:50px 0}.footer-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;align-items:start}.footer-brand{display:flex;gap:12px;align-items:center;font-family:'Bricolage Grotesque',sans-serif;line-height:1.1}.footer-brand img{width:37px}.footer-inner>p{color:#999;font-size:.9rem}.footer-end{text-align:right;display:flex;flex-direction:column;gap:20px;color:#aaa;font:500 .7rem/1.5 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.07em}
@media(max-width:850px){.wrap{padding-left:24px;padding-right:24px}.section{padding:90px 0}.nav nav{display:none;position:absolute;top:80px;left:0;right:0;background:#111;flex-direction:column;align-items:stretch;gap:0;padding:10px 24px 24px}.nav nav.open{display:flex}.nav nav a{padding:14px 0}.nav nav .nav-cta{padding:14px;margin-top:10px}.menu-toggle{display:block;background:none;color:#fff;border:1px solid #777;padding:8px 13px;font:inherit}.hero,.hero-inner{min-height:650px}.hero h1{font-size:clamp(4rem,12vw,7rem)}.hero-grid{left:75%}.hero-note{display:none}.hero-bottom{left:24px;right:24px}.hero-bottom span{display:none}.split,.service{grid-template-columns:1fr;gap:25px}.split .eyebrow{padding-top:0}.section-head{display:block}.section-head>p{margin-top:25px}.steps{gap:24px}.contact-grid{grid-template-columns:1fr 1fr}.footer-inner{grid-template-columns:1fr 1fr}.footer-end{grid-column:1/-1;text-align:left;flex-direction:row;justify-content:space-between}}
@media(max-width:560px){body{font-size:16px}.section{padding:72px 0}.hero,.hero-inner{min-height:610px}.hero h1{font-size:clamp(3.6rem,14vw,5rem)}.hero-copy{padding:65px 0 100px}.hero-lead{max-width:330px}.actions{align-items:flex-start;flex-direction:column;gap:22px}.hero-grid{left:84%}.section-head{margin-bottom:40px}.service{padding:32px 0}.steps{grid-template-columns:1fr;gap:35px}.steps h3{margin:22px 0 10px}.workshop-inner{align-items:flex-start;flex-direction:column}.contact-grid{grid-template-columns:1fr;gap:70px}.footer-inner{grid-template-columns:1fr 1fr}.footer-end{flex-direction:column;gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media(max-width:380px){.hero h1{font-size:3rem}}
/* Keep long headings and contact details within narrow layouts. */
.split > *, .service > *, .contact-grid > *, .footer-inner > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
.menu-toggle { min-height: 44px; min-width: 64px; cursor: pointer; }
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.75rem, 11.5vw, 4rem); }
  .hero h1 span { white-space: normal; }
  .contact-details a { line-height: 1.45; }
  .nav nav { max-height: calc(100dvh - 80px); overflow-y: auto; }
}
/* The pinned introduction stays in view while the three steps pass beside it. */
.journey { padding: 0; }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.journey-intro { position: sticky; top: 80px; min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.journey-intro h2 { margin: 24px 0; }
.journey-intro > p:last-child { color: #c5c5bf; max-width: 420px; font-size: 1.15rem; }
.journey-steps { padding: 12vh 0; }
.journey-step { min-height: min(68svh, 580px); border-top: 1px solid #686862; padding: 26px 0 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.journey-step:last-child { border-bottom: 1px solid #686862; }
.journey-number { color: var(--gold); font: 500 .78rem/1.5 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.journey-step h3 { font-size: clamp(2rem, 3.5vw, 3.5rem); margin-bottom: 18px; }
.journey-step p { max-width: 470px; color: #c5c5bf; }
.businesses { background: var(--paper); }
@media (max-width: 850px), (max-height: 620px) {
  .journey { padding: 80px 0; }
  .journey-layout { display: block; }
  .journey-intro { position: static; min-height: 0; padding: 0; }
  .journey-steps { padding: 48px 0 0; }
  .journey-step { min-height: 0; gap: 32px; padding: 24px 0 40px; }
  .journey-step + .journey-step { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-intro { position: static; min-height: 0; padding: 0; }
  .journey { padding: 100px 0; }
  .journey-steps { padding: 0; }
  .journey-step { min-height: 0; gap: 32px; }
}
/* Scroll-driven keyframes enhance the static layout when supported. */
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 50%) {
  @media (prefers-reduced-motion: no-preference) {
    .journey-step > div {
      animation: journey-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .journey-step::before {
      content: '';
      display: block;
      height: 3px;
      width: 100%;
      margin-top: -29px;
      background: var(--gold);
      transform-origin: left;
      animation: journey-rule linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes journey-arrive {
      from { opacity: .55; transform: translateX(22px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes journey-rule {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }
}
@media (max-width: 850px), (max-height: 620px) {
  .journey-step::before { margin-top: -27px; }
}

/* Each short section fills the area below the navigation, but can grow for its content. */
.hero, .hero-inner { min-height: calc(100svh - 80px); }
.intro, .businesses, .about, .workshop, .contact {
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 10vh, 140px);
}
.intro > .wrap, .businesses > .wrap, .about > .wrap,
.workshop > .wrap, .contact > .wrap { width: 100%; }
.services { min-height: calc(100svh - 80px); }

/* Scroll controls the keyframes. Content is visible by default in older browsers. */
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 50%) {
  @media (prefers-reduced-motion: no-preference) {
    .intro .split > div, .businesses .split > div, .about .split > div,
    .workshop-inner > div, .contact-grid > div:first-child,
    .section-head > div {
      animation: scene-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .service > div:last-child {
      animation: row-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes scene-enter {
      from { opacity: .55; transform: translateY(42px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes row-enter {
      from { opacity: .6; transform: translateX(32px); }
      to { opacity: 1; transform: translateX(0); }
    }
  }
}
@media (max-width: 560px) {
  .intro, .businesses, .about, .workshop, .contact { padding-block: 72px; }
  .hero-copy { padding-top: 64px; padding-bottom: 96px; }
  .hero-bottom { bottom: 24px; }
}
@media (max-height: 620px) {
  .hero-copy { padding-top: 55px; padding-bottom: 100px; }
  .hero-inner { min-height: 540px; }
}
/* Settle on section boundaries after a scroll gesture. Oversized sections
   retain native scrolling between their start and end edges. */
html { scroll-snap-type: y mandatory; scroll-padding-top: 80px; }
main > section { scroll-snap-align: start; scroll-snap-stop: always; }
footer { scroll-snap-align: end; }
/* Text zoom and short viewports can make every section taller than the screen;
   native scrolling remains preferable in these constrained layouts. */
@media (max-height: 500px) {
  html { scroll-snap-type: none; }
}
/* Keep slide-in effects inside the viewport on narrow screens. */
.service { overflow-x: clip; }
/* Fine-pointer wheel transitions are handled in site.js. Avoid a second,
   competing browser snap when entering or leaving a long section. */
@media (pointer: fine) {
  html { scroll-snap-type: none; }
}
/* On touch devices, proximity snapping leaves long sections easy to read and
   lets a short swipe stop naturally instead of forcing a section change. */
@media (pointer: coarse) {
  html { scroll-snap-type: y proximity; }
  main > section { scroll-snap-stop: normal; }
}
/* Articles are ordinary documents: no section snapping or wheel interception. */
html:has(.article-page) { scroll-snap-type: none; }
.article-page .nav > a:last-child { color: #fff; text-underline-offset: 4px; }
.article-main { max-width: 900px; padding-top: clamp(72px, 10vw, 140px); padding-bottom: 140px; min-height: 70vh; }
.article-main h1 { font-size: clamp(3rem, 7vw, 6rem); margin: 24px 0; }
.article-intro { font-size: clamp(1.25rem, 2.3vw, 1.65rem); max-width: 700px; }
.article-empty, .article-list { margin-top: 70px; }
.article-list article { border-top: 1px solid var(--line); padding: 32px 0; }
.article-list h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 12px 0; }
.article-list a, .article-body a, .article-contact a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.article-body { max-width: 70ch; margin-top: 60px; }
.article-body > * + * { margin-top: 1.25em; }
.article-body h2, .article-body h3 { margin-top: 1.8em; }
.article-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.article-body img { max-width: 100%; height: auto; }
.article-body pre { overflow-x: auto; padding: 20px; background: var(--paper); }
.article-contact { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); }
/* Shared navigation and footer on reading pages. */
.article-page { min-height: 100vh; display: flex; flex-direction: column; }
.article-page .article-main { flex: 1; width: 100%; }
.article-page footer { width: 100%; }
.process { --colour: #33332f; }
/* Practice cards and navigation follow the supplied Saint Piran kit. */
.nav nav a:not(.nav-cta) { padding-block: 8px; border-bottom: 2px solid transparent; }
.nav nav a:not(.nav-cta):hover, .nav nav a[aria-current="page"] { border-color: var(--gold); text-decoration: none; }
.nav nav .nav-cta { color: var(--ink); background: var(--gold); border: 1px solid var(--gold); padding: 10px 18px; font-weight: 700; }
.nav nav .nav-cta:hover { color: var(--ink); background: #fff; border-color: #fff; text-decoration: none; }
.service-list { border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--ink); border-top: 5px solid var(--colour); padding: 24px; overflow-x: clip; }
.service-label { padding-left: 0; color: var(--ink); font-size: .72rem; letter-spacing: .07em; }
.service-label:before { display: none; }
.service h3 { font-size: clamp(1.55rem, 2.1vw, 2rem); margin-bottom: 12px; }
.service p:not(.tools) { font-size: 1rem; }
.service .tools { margin-top: 20px; line-height: 1.8; }
.service > div:last-child { animation: none; }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-list article { border: 1px solid var(--ink); border-top: 4px solid var(--gold); padding: 0 0 24px; }
.article-list article > :not(.article-card-image) { margin-left: 24px; margin-right: 24px; }
.article-list .eyebrow { margin-top: 20px; }
.article-card-image { display: block; overflow: hidden; background: var(--ink); }
.article-card-image img { display: block; width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.article-hero { margin: 48px 0 0; background: var(--ink); }
.article-hero img { width: 100%; height: auto; display: block; }
@media (max-width: 1000px) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) {
  .nav nav .nav-cta { display: inline-block; padding: 14px; }
}
@media (max-width: 560px) {
  .service-list, .article-list { grid-template-columns: 1fr; }
  .service { padding: 24px; }
}
.article-card-image img { height: auto; }
/* One group of services per screen on desktop. Content can grow naturally
   at high zoom, on smaller screens or when a card needs extra space. */
@media (min-width: 1001px) {
  .services { display: flex; align-items: center; padding-block: clamp(28px, 5vh, 70px); }
  .services > .wrap { width: 100%; }
  .services .section-head { margin-bottom: clamp(24px, 4vh, 48px); }
  .services .section-head h2 { font-size: clamp(2.4rem, 4.2vw, 4.5rem); margin-top: 16px; }
  .services .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services .service { padding: clamp(18px, 2vh, 24px); }
  .services .service h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
}

/* Article discovery */
.article-filters { margin-top: 48px; }
.article-filters label { display: block; font-weight: 700; margin-bottom: 8px; }
.article-filters input { display: block; width: min(100%, 540px); min-height: 52px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); padding: 12px 16px; font: inherit; }
.article-filters input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; box-shadow: 4px 4px 0 var(--gold); }
.article-filter-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.topic-filter { min-height: 44px; border: 1px solid var(--ink); border-radius: 0; padding: 8px 14px; color: var(--ink); background: #fff; font: 600 .9rem/1.3 'Instrument Sans', Arial, sans-serif; cursor: pointer; }
.topic-filter:hover { background: #fff5c2; }
.topic-filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-bottom: 4px solid var(--gold); }
.article-results { color: var(--muted); margin-top: 16px; font-size: .9rem; }
.article-filters + .article-list { margin-top: 24px; }
.article-list .article-card[hidden], .article-filters[hidden], .article-no-results[hidden] { display: none; }
.article-no-results { margin-top: 28px; padding: 24px; border: 1px solid var(--ink); }
.article-no-results button { border: 0; padding: 0; margin-top: 12px; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.article-card-topics { color: #565650; font-size: .85rem; margin-top: 18px; }
.article-back { display: inline-block; margin-bottom: 32px; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.related-articles { margin-top: clamp(80px, 12vw, 140px); padding-top: 48px; border-top: 1px solid var(--ink); }
.related-articles > h2 { margin-top: 12px; font-size: clamp(2.3rem, 5vw, 4rem); }
.related-list { margin: 32px 0; }
.related-list h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }

/* Analytics choice uses the design system's bordered card and gold offset. */
.consent-card { position: fixed; z-index: 1000; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 56px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; color: var(--ink); background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--gold); }
.consent-card[hidden], .analytics-settings[hidden] { display: none; }
.consent-card .eyebrow { color: #65655f; }
.consent-card h2 { margin: 12px 0; font-size: 1.6rem; line-height: 1.1; }
.consent-card p:not(.eyebrow) { margin-top: 12px; color: #4b4b47; font-size: .9rem; line-height: 1.5; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.consent-actions button { flex: 1 1 140px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 0; color: var(--ink); background: #fff; font: 700 .9rem 'Instrument Sans', sans-serif; cursor: pointer; }
.consent-actions button[data-consent="accept"] { color: #fff; background: var(--ink); }
.consent-actions button:focus-visible, .analytics-settings:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.analytics-settings { align-self: end; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-transform: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 850px) { .analytics-settings { align-self: start; } }
@media (max-width: 560px) { .consent-card { left: 16px; bottom: 16px; width: calc(100vw - 40px); max-height: calc(100dvh - 32px); padding: 20px; } }
